package t;

import java.util.ArrayList;
import n.N;
import q.AbstractC2761L;
import q.X;

/* JADX INFO: renamed from: t.i, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2926i extends AbstractC2920c {

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

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final int f24229c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final X f24230d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final ArrayList f24231e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f24232f;

    public C2926i(int i6, int i7, int i8, X x6, ArrayList arrayList) {
        this.f24227a = i6;
        this.f24228b = i7;
        this.f24229c = i8;
        this.f24230d = x6;
        this.f24231e = arrayList;
        this.f24232f = i8 == -1 ? Integer.MAX_VALUE : ((i8 + 1) * i6) + i7;
    }

    @Override // t.AbstractC2920c
    public final void b(N n6, int i6, int i7) {
        ArrayList arrayList = this.f24231e;
        int size = arrayList.size();
        for (int i8 = 0; i8 < size; i8++) {
            AbstractC2933p abstractC2933p = (AbstractC2933p) arrayList.get(i8);
            if (!(abstractC2933p instanceof C2932o)) {
                boolean z6 = abstractC2933p instanceof C2935r;
                X x6 = this.f24230d;
                int i9 = this.f24228b;
                if (z6) {
                    C2935r c2935r = (C2935r) abstractC2933p;
                    C2924g c2924g = (C2924g) n6.d(c2935r.f24239a);
                    if (c2924g == null) {
                        c2924g = new C2924g();
                    }
                    C2924g c2924g2 = c2924g;
                    c2924g2.f24238a.add(new C2940w(i9 + i7, this.f24227a, this.f24229c, x6, (AbstractC2931n) abstractC2933p));
                    n6.l(c2935r.f24239a, c2924g2);
                } else if (abstractC2933p instanceof C2934q) {
                    C2934q c2934q = (C2934q) abstractC2933p;
                    C2922e c2922e = (C2922e) n6.d(c2934q.f24239a);
                    if (c2922e == null) {
                        c2922e = new C2922e();
                    }
                    C2922e c2922e2 = c2922e;
                    c2922e2.f24238a.add(new C2940w(i9 + i7, this.f24227a, this.f24229c, x6, (AbstractC2931n) abstractC2933p));
                    n6.l(c2934q.f24239a, c2922e2);
                } else if (abstractC2933p instanceof C2937t) {
                    C2937t c2937t = (C2937t) abstractC2933p;
                    C2928k c2928k = (C2928k) n6.d(c2937t.f24239a);
                    if (c2928k == null) {
                        c2928k = new C2928k();
                    }
                    C2928k c2928k2 = c2928k;
                    c2928k2.f24238a.add(new C2940w(i9 + i7, this.f24227a, this.f24229c, x6, (AbstractC2931n) abstractC2933p));
                    n6.l(c2937t.f24239a, c2928k2);
                } else if (!(abstractC2933p instanceof C2936s)) {
                    throw new E3.v();
                }
            }
        }
    }

    @Override // t.AbstractC2920c
    public final int c() {
        return this.f24232f;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C2926i)) {
            return false;
        }
        C2926i c2926i = (C2926i) obj;
        return this.f24227a == c2926i.f24227a && this.f24228b == c2926i.f24228b && this.f24229c == c2926i.f24229c && this.f24230d == c2926i.f24230d && this.f24231e.equals(c2926i.f24231e);
    }

    public final int hashCode() {
        return this.f24231e.hashCode() + ((this.f24230d.hashCode() + AbstractC2761L.a(this.f24229c, AbstractC2761L.a(this.f24228b, Integer.hashCode(this.f24227a) * 31, 31), 31)) * 31);
    }

    public final String toString() {
        return "ObjectAnimator(duration=" + this.f24227a + ", startDelay=" + this.f24228b + ", repeatCount=" + this.f24229c + ", repeatMode=" + this.f24230d + ", holders=" + this.f24231e + ')';
    }
}
