package t;

import androidx.compose.runtime.Composer;
import androidx.compose.runtime.ComposerKt;
import java.util.ArrayList;
import q.InterfaceC2752C;
import q.N;
import q.O;
import q.Y;
import q.w0;

/* JADX INFO: renamed from: t.l, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class C2929l implements J4.f {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ AbstractC2930m f24236a;

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

    public /* synthetic */ C2929l(AbstractC2930m abstractC2930m, int i6) {
        this.f24236a = abstractC2930m;
        this.f24237b = i6;
    }

    @Override // J4.f
    public final Object invoke(Object obj, Object obj2, Object obj3) {
        w0 w0Var;
        Composer composer;
        O o6;
        byte b5;
        Object y6;
        w0 w0Var2 = (w0) obj;
        Composer composer2 = (Composer) obj2;
        int iIntValue = ((Integer) obj3).intValue();
        composer2.startReplaceGroup(431650961);
        if (ComposerKt.isTraceInProgress()) {
            ComposerKt.traceEventStart(431650961, iIntValue, -1, "androidx.compose.animation.graphics.vector.PropertyValues.createAnimationSpec.<anonymous> (Animator.kt:154)");
        }
        ArrayList arrayList = this.f24236a.f24238a;
        ArrayList arrayList2 = new ArrayList(arrayList.size());
        int size = arrayList.size();
        int i6 = 0;
        while (i6 < size) {
            C2940w c2940w = (C2940w) arrayList.get(i6);
            Integer numValueOf = Integer.valueOf(c2940w.f24264a);
            AbstractC2931n abstractC2931n = c2940w.f24268e;
            boolean z6 = abstractC2931n instanceof C2935r;
            int i7 = c2940w.f24265b;
            if (z6) {
                C2935r c2935r = (C2935r) abstractC2931n;
                c2935r.getClass();
                N n6 = new N();
                n6.f23201a = i7;
                ArrayList arrayList3 = c2935r.f24245b;
                int size2 = arrayList3.size();
                int i8 = 0;
                while (i8 < size2) {
                    C2925h c2925h = (C2925h) arrayList3.get(i8);
                    n6.a((int) (c2925h.f24224a * i7), c2925h.f24225b).f23196b = c2925h.f24226c;
                    i8++;
                    w0Var2 = w0Var2;
                    composer2 = composer2;
                }
                w0Var = w0Var2;
                composer = composer2;
                o6 = new O(n6);
            } else {
                w0Var = w0Var2;
                composer = composer2;
                if (!(abstractC2931n instanceof C2934q)) {
                    throw new RuntimeException("Unexpected value type: " + abstractC2931n);
                }
                C2934q c2934q = (C2934q) abstractC2931n;
                c2934q.getClass();
                N n7 = new N();
                n7.f23201a = i7;
                ArrayList arrayList4 = c2934q.f24244b;
                int size3 = arrayList4.size();
                int i9 = 0;
                while (i9 < size3) {
                    C2925h c2925h2 = (C2925h) arrayList4.get(i9);
                    n7.a((int) (i7 * c2925h2.f24224a), c2925h2.f24225b).f23196b = c2925h2.f24226c;
                    i9++;
                    arrayList4 = arrayList4;
                }
                o6 = new O(n7);
            }
            O o7 = o6;
            int i10 = c2940w.f24266c;
            if (i10 == 0) {
                y6 = o7;
                b5 = -1;
            } else {
                b5 = -1;
                y6 = new Y(i10 == -1 ? Integer.MAX_VALUE : i10 + 1, o7, c2940w.f24267d, 0);
            }
            arrayList2.add(new w4.k(numValueOf, y6));
            i6++;
            w0Var2 = w0Var;
            composer2 = composer;
        }
        w0 w0Var3 = w0Var2;
        Composer composer3 = composer2;
        InterfaceC2752C c2923f = new C2923f(arrayList2);
        if (!((Boolean) w0Var3.c()).booleanValue()) {
            c2923f = new C2938u(c2923f, this.f24237b);
        }
        if (ComposerKt.isTraceInProgress()) {
            ComposerKt.traceEventEnd();
        }
        composer3.endReplaceGroup();
        return c2923f;
    }
}
