package K;

import F.C0168w;
import G0.InterfaceC0279y;
import o0.C2632c;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class E implements J4.c {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f3595a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ V.i0 f3596b;

    public /* synthetic */ E(V.i0 i0Var, int i6) {
        this.f3595a = i6;
        this.f3596b = i0Var;
    }

    /* JADX WARN: Removed duplicated region for block: B:42:0x0127  */
    @Override // J4.c
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object invoke(Object obj) {
        C2632c c2632c;
        InterfaceC0279y interfaceC0279yC;
        char c6;
        long j4;
        float fIntBitsToFloat;
        InterfaceC0279y interfaceC0279yC2;
        InterfaceC0279y interfaceC0279yC3;
        InterfaceC0279y interfaceC0279yC4;
        InterfaceC0279y interfaceC0279yC5;
        V.i0 i0Var = this.f3596b;
        switch (this.f3595a) {
            case 0:
                return new C0168w(i0Var, 4);
            case 1:
                i0Var.t();
                return C3137A.f25453a;
            default:
                InterfaceC0279y interfaceC0279y = (InterfaceC0279y) obj;
                C0464l0 c0464l0 = i0Var.f7084d;
                C2632c c2632c2 = C2632c.f21786e;
                if (c0464l0 == null) {
                    c2632c = c2632c2;
                } else {
                    if (c0464l0.f3903p) {
                        c0464l0 = null;
                    }
                    if (c0464l0 != null) {
                        Z0.r rVar = i0Var.f7082b;
                        long j6 = i0Var.p().f9137b;
                        int i6 = T0.N.f6482c;
                        int iB = rVar.b((int) (j6 >> 32));
                        int iB2 = i0Var.f7082b.b((int) (i0Var.p().f9137b & 4294967295L));
                        C0464l0 c0464l02 = i0Var.f7084d;
                        long jE0 = 0;
                        long jE02 = (c0464l02 == null || (interfaceC0279yC5 = c0464l02.c()) == null) ? 0L : interfaceC0279yC5.e0(i0Var.n(true));
                        C0464l0 c0464l03 = i0Var.f7084d;
                        if (c0464l03 != null && (interfaceC0279yC4 = c0464l03.c()) != null) {
                            jE0 = interfaceC0279yC4.e0(i0Var.n(false));
                        }
                        C0464l0 c0464l04 = i0Var.f7084d;
                        float fIntBitsToFloat2 = 0.0f;
                        if (c0464l04 == null || (interfaceC0279yC3 = c0464l04.c()) == null) {
                            c6 = ' ';
                            j4 = jE0;
                            fIntBitsToFloat = 0.0f;
                        } else {
                            S0 s0D = c0464l0.d();
                            c6 = ' ';
                            j4 = jE0;
                            fIntBitsToFloat = Float.intBitsToFloat((int) (interfaceC0279yC3.e0((((long) Float.floatToRawIntBits(s0D != null ? s0D.f3742a.c(iB).f21788b : 0.0f)) & 4294967295L) | (((long) Float.floatToRawIntBits(0.0f)) << 32)) & 4294967295L));
                        }
                        C0464l0 c0464l05 = i0Var.f7084d;
                        if (c0464l05 != null && (interfaceC0279yC2 = c0464l05.c()) != null) {
                            S0 s0D2 = c0464l0.d();
                            fIntBitsToFloat2 = Float.intBitsToFloat((int) (interfaceC0279yC2.e0((((long) Float.floatToRawIntBits(0.0f)) << c6) | (((long) Float.floatToRawIntBits(s0D2 != null ? s0D2.f3742a.c(iB2).f21788b : 0.0f)) & 4294967295L)) & 4294967295L));
                        }
                        int i7 = (int) (jE02 >> c6);
                        int i8 = (int) (j4 >> c6);
                        c2632c = new C2632c(Math.min(Float.intBitsToFloat(i7), Float.intBitsToFloat(i8)), Math.min(fIntBitsToFloat, fIntBitsToFloat2), Math.max(Float.intBitsToFloat(i7), Float.intBitsToFloat(i8)), (c0464l0.f3889a.f4024g.a() * 25) + Math.max(Float.intBitsToFloat((int) (jE02 & 4294967295L)), Float.intBitsToFloat((int) (j4 & 4294967295L))));
                    }
                }
                C0464l0 c0464l06 = i0Var.f7084d;
                if (c0464l06 == null || (interfaceC0279yC = c0464l06.c()) == null) {
                    return null;
                }
                return (interfaceC0279yC.w() && interfaceC0279y.w()) ? m1.g.b(interfaceC0279y.f0(G0.B.i(interfaceC0279yC), c2632c.d()), c2632c.c()) : c2632c2;
        }
    }
}
