package androidx.recyclerview.widget;

/* JADX INFO: renamed from: androidx.recyclerview.widget.a, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1151a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public int f13019a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public int f13020b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public Object f13021c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public int f13022d;

    public final boolean equals(Object obj) {
        if (this != obj) {
            if (!(obj instanceof C1151a)) {
                return false;
            }
            C1151a c1151a = (C1151a) obj;
            int i6 = this.f13019a;
            if (i6 != c1151a.f13019a) {
                return false;
            }
            if (i6 != 8 || Math.abs(this.f13022d - this.f13020b) != 1 || this.f13022d != c1151a.f13020b || this.f13020b != c1151a.f13022d) {
                if (this.f13022d != c1151a.f13022d || this.f13020b != c1151a.f13020b) {
                    return false;
                }
                Object obj2 = this.f13021c;
                if (obj2 != null) {
                    if (!obj2.equals(c1151a.f13021c)) {
                        return false;
                    }
                } else if (c1151a.f13021c != null) {
                    return false;
                }
            }
        }
        return true;
    }

    public final int hashCode() {
        return (((this.f13019a * 31) + this.f13020b) * 31) + this.f13022d;
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(Integer.toHexString(System.identityHashCode(this)));
        sb.append("[");
        int i6 = this.f13019a;
        sb.append(i6 != 1 ? i6 != 2 ? i6 != 4 ? i6 != 8 ? "??" : "mv" : "up" : "rm" : "add");
        sb.append(",s:");
        sb.append(this.f13020b);
        sb.append("c:");
        sb.append(this.f13022d);
        sb.append(",p:");
        sb.append(this.f13021c);
        sb.append("]");
        return sb.toString();
    }
}
