package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Md0 implements TC {
    public final /* synthetic */ InterfaceC3007ya0 l;
    public final /* synthetic */ long m;
    public final /* synthetic */ C0733af0 n;

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

    public Md0(C2734vg0 c2734vg0, long j, C0733af0 c0733af0, SC sc) {
        this.l = c2734vg0;
        this.m = j;
        this.n = c0733af0;
        this.f238o = sc;
    }

    @Override // o.TC
    public final Object d(Object obj, Object obj2, Object obj3) {
        MP mp = (MP) obj;
        C0321Mk c0321Mk = (C0321Mk) obj2;
        int iIntValue = ((Number) obj3).intValue();
        if ((iIntValue & 6) == 0) {
            iIntValue |= c0321Mk.f(mp) ? 4 : 2;
        }
        if (c0321Mk.N(iIntValue & 1, (iIntValue & 19) != 18)) {
            InterfaceC3007ya0 interfaceC3007ya0 = this.l;
            boolean zF = c0321Mk.f(interfaceC3007ya0);
            Object objK = c0321Mk.K();
            if (zF || objK == C0140Fk.a) {
                objK = new S1(26, interfaceC3007ya0);
                c0321Mk.f0(objK);
            }
            MP mpA = androidx.compose.ui.graphics.a.a(mp, (OC) objK);
            InterfaceC2235qO interfaceC2235qOD = AbstractC3109ze.d(C0669Zu.m, false);
            int iHashCode = Long.hashCode(c0321Mk.R);
            AW awL = c0321Mk.l();
            MP mpF = AbstractC1692kh0.F(c0321Mk, mpA);
            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);
            Qd0.b(this.m, this.n, this.f238o, c0321Mk, 0);
            c0321Mk.q(true);
        } else {
            c0321Mk.Q();
        }
        return Oh0.a;
    }
}
