package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.m5, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1831m5 implements SC {
    public final /* synthetic */ long l;
    public final /* synthetic */ boolean m;
    public final /* synthetic */ MP n;

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

    public C1831m5(long j, boolean z, MP mp, InterfaceC2145pT interfaceC2145pT) {
        this.l = j;
        this.m = z;
        this.n = mp;
        this.f629o = interfaceC2145pT;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        C0321Mk c0321Mk = (C0321Mk) obj;
        int iIntValue = ((Number) obj2).intValue();
        if (c0321Mk.N(iIntValue & 1, (iIntValue & 3) != 2)) {
            long j = this.l;
            J7 j7 = C0140Fk.a;
            final InterfaceC2145pT interfaceC2145pT = this.f629o;
            boolean z = this.m;
            if (j != 9205357640488583168L) {
                c0321Mk.V(3458246);
                Z8 z8 = z ? YT.b : YT.a;
                MP mpG = androidx.compose.foundation.layout.c.g(this.n, C0226Is.b(j), C0226Is.a(j), 0.0f, 0.0f, 12);
                C3062z30 c3062z30A = AbstractC2967y30.a(z8, C0669Zu.v, c0321Mk, 0);
                int iHashCode = Long.hashCode(c0321Mk.R);
                AW awL = c0321Mk.l();
                MP mpF = AbstractC1692kh0.F(c0321Mk, mpG);
                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);
                boolean zH = c0321Mk.h(interfaceC2145pT);
                Object objK = c0321Mk.K();
                if (zH || objK == j7) {
                    final int i = 0;
                    objK = new NC() { // from class: o.l5
                        @Override // o.NC
                        public final Object a() {
                            switch (i) {
                                case 0:
                                    return Boolean.valueOf((interfaceC2145pT.a() & 9223372034707292159L) != 9205357640488583168L);
                                default:
                                    return Boolean.valueOf((interfaceC2145pT.a() & 9223372034707292159L) != 9205357640488583168L);
                            }
                        }
                    };
                    c0321Mk.f0(objK);
                }
                AbstractC0752ap.j(JP.a, (NC) objK, z, c0321Mk, 6);
                c0321Mk.q(true);
                c0321Mk.q(false);
            } else {
                c0321Mk.V(4389176);
                boolean zH2 = c0321Mk.h(interfaceC2145pT);
                Object objK2 = c0321Mk.K();
                if (zH2 || objK2 == j7) {
                    final int i2 = 1;
                    objK2 = new NC() { // from class: o.l5
                        @Override // o.NC
                        public final Object a() {
                            switch (i2) {
                                case 0:
                                    return Boolean.valueOf((interfaceC2145pT.a() & 9223372034707292159L) != 9205357640488583168L);
                                default:
                                    return Boolean.valueOf((interfaceC2145pT.a() & 9223372034707292159L) != 9205357640488583168L);
                            }
                        }
                    };
                    c0321Mk.f0(objK2);
                }
                AbstractC0752ap.j(this.n, (NC) objK2, z, c0321Mk, 0);
                c0321Mk.q(false);
            }
        } else {
            c0321Mk.Q();
        }
        return Oh0.a;
    }
}
