package o;

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

    public QE(int i, int i2, C0733af0 c0733af0) {
        this.l = i;
        this.m = i2;
        this.n = c0733af0;
    }

    @Override // o.TC
    public final Object d(Object obj, Object obj2, Object obj3) {
        C0321Mk c0321Mk = (C0321Mk) obj2;
        ((Number) obj3).intValue();
        c0321Mk.V(408240218);
        int i = this.l;
        int i2 = this.m;
        C1884mi0.P(i, i2);
        JP jp = JP.a;
        if (i == 1 && i2 == Integer.MAX_VALUE) {
            c0321Mk.q(false);
            return jp;
        }
        InterfaceC2281qr interfaceC2281qr = (InterfaceC2281qr) c0321Mk.j(AbstractC0840bl.h);
        InterfaceC2221qA interfaceC2221qA = (InterfaceC2221qA) c0321Mk.j(AbstractC0840bl.k);
        EnumC1280gK enumC1280gK = (EnumC1280gK) c0321Mk.j(AbstractC0840bl.n);
        C0733af0 c0733af0 = this.n;
        boolean zF = c0321Mk.f(c0733af0) | c0321Mk.d(enumC1280gK.ordinal());
        Object objK = c0321Mk.K();
        J7 j7 = C0140Fk.a;
        if (zF || objK == j7) {
            objK = AbstractC2001nt0.E(c0733af0, enumC1280gK);
            c0321Mk.f0(objK);
        }
        C0733af0 c0733af02 = (C0733af0) objK;
        boolean zF2 = c0321Mk.f(interfaceC2221qA) | c0321Mk.f(c0733af02);
        Object objK2 = c0321Mk.K();
        if (zF2 || objK2 == j7) {
            Y90 y90 = c0733af02.a;
            AbstractC1397hc0 abstractC1397hc0 = y90.f;
            OA oa = y90.c;
            if (oa == null) {
                oa = OA.n;
            }
            MA ma = y90.d;
            int i3 = ma != null ? ma.a : 0;
            NA na = y90.e;
            objK2 = ((C2315rA) interfaceC2221qA).b(abstractC1397hc0, oa, i3, na != null ? na.a : 65535);
            c0321Mk.f0(objK2);
        }
        InterfaceC3007ya0 interfaceC3007ya0 = (InterfaceC3007ya0) objK2;
        boolean zF3 = c0321Mk.f(interfaceC3007ya0.getValue()) | c0321Mk.f(interfaceC2281qr) | c0321Mk.f(interfaceC2221qA) | c0321Mk.f(c0733af0) | c0321Mk.d(enumC1280gK.ordinal());
        Object objK3 = c0321Mk.K();
        if (zF3 || objK3 == j7) {
            objK3 = Integer.valueOf((int) (Hd0.a(c0733af02, interfaceC2281qr, interfaceC2221qA, Hd0.a, 1) & 4294967295L));
            c0321Mk.f0(objK3);
        }
        int iIntValue = ((Number) objK3).intValue();
        boolean zF4 = c0321Mk.f(interfaceC3007ya0.getValue()) | c0321Mk.f(interfaceC2281qr) | c0321Mk.f(interfaceC2221qA) | c0321Mk.f(c0733af0) | c0321Mk.d(enumC1280gK.ordinal());
        Object objK4 = c0321Mk.K();
        if (zF4 || objK4 == j7) {
            StringBuilder sb = new StringBuilder();
            String str = Hd0.a;
            sb.append(str);
            sb.append('\n');
            sb.append(str);
            objK4 = Integer.valueOf((int) (Hd0.a(c0733af02, interfaceC2281qr, interfaceC2221qA, sb.toString(), 2) & 4294967295L));
            c0321Mk.f0(objK4);
        }
        int iIntValue2 = ((Number) objK4).intValue() - iIntValue;
        Integer numValueOf = i == 1 ? null : Integer.valueOf(((i - 1) * iIntValue2) + iIntValue);
        Integer numValueOf2 = i2 != Integer.MAX_VALUE ? Integer.valueOf(((i2 - 1) * iIntValue2) + iIntValue) : null;
        MP mpD = androidx.compose.foundation.layout.c.d(jp, numValueOf != null ? interfaceC2281qr.n0(numValueOf.intValue()) : Float.NaN, numValueOf2 != null ? interfaceC2281qr.n0(numValueOf2.intValue()) : Float.NaN);
        c0321Mk.q(false);
        return mpD;
    }
}
