package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class E5 implements SC {
    public final /* synthetic */ int l;
    public final /* synthetic */ MP m;
    public final /* synthetic */ C0554Vj n;

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

    public /* synthetic */ E5(MP mp, Object obj, C0554Vj c0554Vj, int i) {
        this.l = i;
        this.m = mp;
        this.f95o = obj;
        this.n = c0554Vj;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        switch (this.l) {
            case 0:
                C0321Mk c0321Mk = (C0321Mk) obj;
                int iIntValue = ((Number) obj2).intValue();
                if (c0321Mk.N(iIntValue & 1, (iIntValue & 3) != 2)) {
                    InterfaceC1191fR interfaceC1191fR = (InterfaceC1191fR) this.f95o;
                    Object objK = c0321Mk.K();
                    if (objK == C0140Fk.a) {
                        objK = new D5(interfaceC1191fR, 0);
                        c0321Mk.f0(objK);
                    }
                    MP mpD = androidx.compose.ui.layout.a.d(this.m, (OC) objK);
                    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);
                    this.n.f(c0321Mk, 0);
                    c0321Mk.q(true);
                } else {
                    c0321Mk.Q();
                }
                break;
            default:
                C0321Mk c0321Mk2 = (C0321Mk) obj;
                int iIntValue2 = ((Number) obj2).intValue();
                if (c0321Mk2.N(iIntValue2 & 1, (iIntValue2 & 3) != 2)) {
                    MP mpH = androidx.compose.foundation.a.h(androidx.compose.foundation.layout.b.j(androidx.compose.foundation.layout.b.g(this.m, 0.0f, TO.d, 1)), (Z40) this.f95o);
                    C0579Wi c0579WiA = AbstractC0527Ui.a(AbstractC0981d9.c, C0669Zu.y, c0321Mk2, 0);
                    int iHashCode2 = Long.hashCode(c0321Mk2.R);
                    AW awL2 = c0321Mk2.l();
                    MP mpF2 = AbstractC1692kh0.F(c0321Mk2, mpH);
                    InterfaceC0062Ck.b.getClass();
                    C0744al c0744al2 = C0036Bk.b;
                    c0321Mk2.Y();
                    if (c0321Mk2.Q) {
                        c0321Mk2.k(c0744al2);
                    } else {
                        c0321Mk2.i0();
                    }
                    AbstractC2378rs0.f0(c0579WiA, c0321Mk2, C0036Bk.f);
                    AbstractC2378rs0.f0(awL2, c0321Mk2, C0036Bk.e);
                    C0975d6 c0975d62 = C0036Bk.i;
                    if (c0321Mk2.Q || !F3.c(c0321Mk2.K(), Integer.valueOf(iHashCode2))) {
                        AbstractC2462sn.r(iHashCode2, c0321Mk2, iHashCode2, c0975d62);
                    }
                    AbstractC2378rs0.f0(mpF2, c0321Mk2, C0036Bk.c);
                    this.n.d(C0605Xi.a, c0321Mk2, 6);
                    c0321Mk2.q(true);
                } else {
                    c0321Mk2.Q();
                }
                break;
        }
        return Oh0.a;
    }
}
