package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.pd, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2158pd implements SC {
    public final /* synthetic */ int l;
    public final /* synthetic */ Object m;
    public final /* synthetic */ Object n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ Object f677o;
    public final /* synthetic */ Object p;

    public /* synthetic */ C2158pd(Object obj, Object obj2, Object obj3, Object obj4, int i) {
        this.l = i;
        this.m = obj;
        this.n = obj2;
        this.f677o = obj3;
        this.p = obj4;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        int i = this.l;
        J7 j7 = C0140Fk.a;
        int i2 = 6;
        Oh0 oh0 = Oh0.a;
        Object obj3 = this.f677o;
        Object obj4 = this.p;
        Object obj5 = this.n;
        Object obj6 = this.m;
        int i3 = 1;
        int i4 = 2;
        switch (i) {
            case 0:
                C0321Mk c0321Mk = (C0321Mk) obj;
                int iIntValue = ((Number) obj2).intValue();
                InterfaceC1191fR interfaceC1191fR = (InterfaceC1191fR) obj5;
                if (!c0321Mk.N(iIntValue & 1, (iIntValue & 3) != 2)) {
                    c0321Mk.Q();
                    break;
                } else {
                    MP mp = (MP) obj6;
                    Object objK = c0321Mk.K();
                    if (objK == j7) {
                        objK = new D5(interfaceC1191fR, i3);
                        c0321Mk.f0(objK);
                    }
                    MP mpD = androidx.compose.ui.layout.a.d(mp, (OC) objK);
                    C0554Vj c0554Vj = (C0554Vj) obj3;
                    C2063od c2063od = (C2063od) obj4;
                    InterfaceC2235qO interfaceC2235qOD = AbstractC3109ze.d(C0669Zu.m, true);
                    int iHashCode = Long.hashCode(c0321Mk.R);
                    AW awL = c0321Mk.l();
                    MP mpF = AbstractC1692kh0.F(c0321Mk, mpD);
                    InterfaceC0062Ck.b.getClass();
                    C0744al c0744al = C0036Bk.b;
                    c0321Mk.Y();
                    if (c0321Mk.Q) {
                        c0321Mk.k(c0744al);
                    } else {
                        c0321Mk.i0();
                    }
                    AbstractC2378rs0.f0(interfaceC2235qOD, c0321Mk, C0036Bk.f);
                    AbstractC2378rs0.f0(awL, c0321Mk, C0036Bk.e);
                    C0975d6 c0975d6 = C0036Bk.i;
                    if (c0321Mk.Q || !F3.c(c0321Mk.K(), Integer.valueOf(iHashCode))) {
                        AbstractC2462sn.r(iHashCode, c0321Mk, iHashCode, c0975d6);
                    }
                    AbstractC2378rs0.f0(mpF, c0321Mk, C0036Bk.c);
                    c0554Vj.f(c0321Mk, 0);
                    Object objK2 = c0321Mk.K();
                    if (objK2 == j7) {
                        objK2 = new C5(interfaceC1191fR, i3);
                        c0321Mk.f0(objK2);
                    }
                    c2063od.b((NC) objK2, c0321Mk, 6);
                    c0321Mk.q(true);
                    break;
                }
                break;
            case 1:
                C0321Mk c0321Mk2 = (C0321Mk) obj;
                OC oc = (OC) obj5;
                if ((((Number) obj2).intValue() & 3) != 2 || !c0321Mk2.z()) {
                    MP mpG = androidx.compose.foundation.layout.b.g(androidx.compose.foundation.layout.c.b, 12, 0.0f, 2);
                    C0733af0 c0733af0 = new C0733af0(C60.g, C1884mi0.C(15), null, 0L, null, 3, 0L, 16678908);
                    String str = (String) obj6;
                    c0321Mk2.V(2074158342);
                    boolean zF = c0321Mk2.f(oc);
                    Object objK3 = c0321Mk2.K();
                    if (zF || objK3 == j7) {
                        objK3 = new C1929n60(oc, 2);
                        c0321Mk2.f0(objK3);
                    }
                    c0321Mk2.q(false);
                    AbstractC2347rd.a(str, (OC) objK3, mpG, false, false, c0733af0, null, null, true, 0, 0, (Hk0) obj3, null, null, null, C2887xC.y(776968565, new C0116Em(i4, (String) obj6, (String) obj4), c0321Mk2), c0321Mk2, 100663680, 196608, 30424);
                    break;
                } else {
                    c0321Mk2.Q();
                    break;
                }
                break;
            default:
                C0321Mk c0321Mk3 = (C0321Mk) obj;
                int iIntValue2 = ((Number) obj2).intValue();
                if (!c0321Mk3.N(iIntValue2 & 1, (iIntValue2 & 3) != 2)) {
                    c0321Mk3.Q();
                    break;
                } else {
                    MP mpC = androidx.compose.ui.layout.a.c(JP.a, "Container");
                    Kd0 kd0 = new Kd0((InterfaceC1191fR) obj5, InterfaceC1191fR.class, "value", "getValue()Ljava/lang/Object;", 0);
                    InterfaceC2489t2 interfaceC2489t2D = Qd0.d((Vd0) obj6);
                    float f = AbstractC0908cV.a;
                    MP mpC2 = androidx.compose.ui.draw.a.c(mpC, new C1358h6(kd0, (C2147pV) obj4, interfaceC2489t2D, i2));
                    C0554Vj c0554Vj2 = (C0554Vj) obj3;
                    InterfaceC2235qO interfaceC2235qOD2 = AbstractC3109ze.d(C0669Zu.m, true);
                    int iHashCode2 = Long.hashCode(c0321Mk3.R);
                    AW awL2 = c0321Mk3.l();
                    MP mpF2 = AbstractC1692kh0.F(c0321Mk3, mpC2);
                    InterfaceC0062Ck.b.getClass();
                    C0744al c0744al2 = C0036Bk.b;
                    c0321Mk3.Y();
                    if (c0321Mk3.Q) {
                        c0321Mk3.k(c0744al2);
                    } else {
                        c0321Mk3.i0();
                    }
                    AbstractC2378rs0.f0(interfaceC2235qOD2, c0321Mk3, C0036Bk.f);
                    AbstractC2378rs0.f0(awL2, c0321Mk3, C0036Bk.e);
                    C0975d6 c0975d62 = C0036Bk.i;
                    if (c0321Mk3.Q || !F3.c(c0321Mk3.K(), Integer.valueOf(iHashCode2))) {
                        AbstractC2462sn.r(iHashCode2, c0321Mk3, iHashCode2, c0975d62);
                    }
                    AbstractC2378rs0.f0(mpF2, c0321Mk3, C0036Bk.c);
                    c0554Vj2.f(c0321Mk3, 0);
                    c0321Mk3.q(true);
                    break;
                }
                break;
        }
        return oh0;
    }

    public C2158pd(InterfaceC1191fR interfaceC1191fR, Vd0 vd0, C2147pV c2147pV, C0554Vj c0554Vj) {
        this.l = 2;
        this.n = interfaceC1191fR;
        this.m = vd0;
        this.p = c2147pV;
        this.f677o = c0554Vj;
    }
}
