package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.pD, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2129pD implements TC {
    public final /* synthetic */ int l = 1;
    public final /* synthetic */ boolean m;
    public final /* synthetic */ Object n;

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

    public C2129pD(C1113ee0 c1113ee0, boolean z, KQ kq) {
        this.n = c1113ee0;
        this.m = z;
        this.f674o = kq;
    }

    @Override // o.TC
    public final Object d(Object obj, Object obj2, Object obj3) {
        switch (this.l) {
            case 0:
                C0321Mk c0321Mk = (C0321Mk) obj2;
                if ((((Number) obj3).intValue() & 17) == 16 && c0321Mk.z()) {
                    c0321Mk.Q();
                } else {
                    JP jp = JP.a;
                    MP mpB = androidx.compose.foundation.layout.c.b(jp, 1.0f);
                    float f = 2;
                    boolean z = this.m;
                    float f2 = 12;
                    MP mpE = androidx.compose.foundation.layout.b.e(YT.j(mpB, f, z ? AbstractC0752ap.c(4279858898L) : AbstractC2793wD.e, AbstractC2397s30.a(f2)), 16);
                    C0133Fd c0133Fd = C0669Zu.w;
                    CG cg = (CG) this.n;
                    String str = (String) this.f674o;
                    C3062z30 c3062z30A = AbstractC2967y30.a(AbstractC0981d9.a, c0133Fd, c0321Mk, 48);
                    int iHashCode = Long.hashCode(c0321Mk.R);
                    AW awL = c0321Mk.l();
                    MP mpF = AbstractC1692kh0.F(c0321Mk, mpE);
                    InterfaceC0062Ck.b.getClass();
                    C0744al c0744al = C0036Bk.b;
                    c0321Mk.Y();
                    if (c0321Mk.Q) {
                        c0321Mk.k(c0744al);
                    } else {
                        c0321Mk.i0();
                    }
                    AbstractC2378rs0.f0(c3062z30A, 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);
                    AbstractC1942nG.a(cg, null, androidx.compose.foundation.layout.c.h(jp, 24), z ? C0190Hi.c : AbstractC2793wD.f, c0321Mk, 432, 0);
                    C2887xC.e(c0321Mk, androidx.compose.foundation.layout.c.l(jp, f2));
                    Ke0.b(str, null, z ? C0190Hi.c : AbstractC2793wD.f, C1884mi0.C(16), OA.f264o, 0L, null, 0L, 0, false, 0, 0, null, c0321Mk, 1597440, 0, 262058);
                    c0321Mk.q(true);
                }
                return Oh0.a;
            default:
                C0321Mk c0321Mk2 = (C0321Mk) obj2;
                ((Number) obj3).intValue();
                C1113ee0 c1113ee0 = (C1113ee0) this.n;
                MV mv = c1113ee0.f;
                c0321Mk2.V(805428266);
                boolean z2 = ((OU) mv.getValue()) == OU.l || !(c0321Mk2.j(AbstractC0840bl.n) == EnumC1280gK.m);
                boolean zF = c0321Mk2.f(c1113ee0);
                Object objK = c0321Mk2.K();
                J7 j7 = C0140Fk.a;
                if (zF || objK == j7) {
                    objK = new S1(27, c1113ee0);
                    c0321Mk2.f0(objK);
                }
                InterfaceC1191fR interfaceC1191fRZ = AbstractC0752ap.Z((OC) objK, c0321Mk2);
                Object objK2 = c0321Mk2.K();
                if (objK2 == j7) {
                    C2848wq c2848wq = new C2848wq(new D5(interfaceC1191fRZ, 19));
                    c0321Mk2.f0(c2848wq);
                    objK2 = c2848wq;
                }
                InterfaceC1547j50 interfaceC1547j50 = (InterfaceC1547j50) objK2;
                boolean zF2 = c0321Mk2.f(interfaceC1547j50) | c0321Mk2.f(c1113ee0);
                Object objK3 = c0321Mk2.K();
                if (zF2 || objK3 == j7) {
                    objK3 = new C1018de0(interfaceC1547j50, c1113ee0);
                    c0321Mk2.f0(objK3);
                }
                MP mpB2 = androidx.compose.foundation.gestures.a.b((C1018de0) objK3, (OU) mv.getValue(), this.m && c1113ee0.b.g() != 0.0f, z2, (KQ) this.f674o);
                c0321Mk2.q(false);
                return mpB2;
        }
    }

    public C2129pD(boolean z, CG cg, String str) {
        this.m = z;
        this.n = cg;
        this.f674o = str;
    }
}
