package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class WU {
    public static final WU a = new WU();
    public static final float b = 56;
    public static final float c = 280;
    public static final float d = 1;
    public static final float e = 2;

    public static Ed0 c(long j, long j2, long j3, long j4, long j5, long j6, long j7, long j8, long j9, C0321Mk c0321Mk, int i) {
        long j10;
        long j11;
        boolean z;
        long j12 = C0190Hi.g;
        long j13 = (i & 4) != 0 ? j12 : j;
        long j14 = (i & 16) != 0 ? j12 : j2;
        long j15 = (i & 32) != 0 ? j12 : j3;
        long j16 = (i & 64) != 0 ? j12 : j4;
        long j17 = (i & 256) != 0 ? j12 : j5;
        long j18 = (i & 8192) != 0 ? j12 : j8;
        long j19 = (i & 16384) != 0 ? j12 : j9;
        C0294Li c0294Li = (C0294Li) c0321Mk.j(AbstractC0319Mi.a);
        Ed0 ed0A = c0294Li.d0;
        if (ed0A == null) {
            c0321Mk.V(390452338);
            c0321Mk.q(false);
            ed0A = null;
            j11 = j12;
            j10 = j13;
        } else {
            c0321Mk.V(390452339);
            Ve0 ve0 = (Ve0) c0321Mk.j(We0.a);
            if (F3.c(ed0A.k, ve0)) {
                j11 = j12;
                z = false;
                j10 = j13;
            } else {
                j10 = j13;
                j11 = j12;
                ed0A = ed0A.a(ed0A.a, ed0A.b, ed0A.c, ed0A.d, ed0A.e, ed0A.f, ed0A.g, ed0A.h, ed0A.i, ed0A.j, ve0, ed0A.l, ed0A.m, ed0A.n, ed0A.f105o, ed0A.p, ed0A.q, ed0A.r, ed0A.s, ed0A.t, ed0A.u, ed0A.v, ed0A.w, ed0A.x, ed0A.y, ed0A.z, ed0A.A, ed0A.B, ed0A.C, ed0A.D, ed0A.E, ed0A.F, ed0A.G, ed0A.H, ed0A.I, ed0A.J, ed0A.K, ed0A.L, ed0A.M, ed0A.N, ed0A.O, ed0A.P, ed0A.Q);
                c0294Li.d0 = ed0A;
                z = false;
            }
            c0321Mk.q(z);
        }
        if (ed0A == null) {
            c0321Mk.V(-1788321191);
            long jC = AbstractC0319Mi.c(c0294Li, 18);
            long jC2 = AbstractC0319Mi.c(c0294Li, 18);
            long jB = C0190Hi.b(0.38f, AbstractC0319Mi.c(c0294Li, 18));
            long jC3 = AbstractC0319Mi.c(c0294Li, 18);
            long j20 = C0190Hi.f;
            ed0A = new Ed0(jC, jC2, jB, jC3, j20, j20, j20, j20, AbstractC0319Mi.c(c0294Li, 26), AbstractC0319Mi.c(c0294Li, 2), (Ve0) c0321Mk.j(We0.a), AbstractC0319Mi.c(c0294Li, 26), AbstractC0319Mi.c(c0294Li, 24), C0190Hi.b(0.12f, AbstractC0319Mi.c(c0294Li, 18)), AbstractC0319Mi.c(c0294Li, 2), AbstractC0319Mi.c(c0294Li, 19), AbstractC0319Mi.c(c0294Li, 19), C0190Hi.b(0.38f, AbstractC0319Mi.c(c0294Li, 18)), AbstractC0319Mi.c(c0294Li, 19), AbstractC0319Mi.c(c0294Li, 19), AbstractC0319Mi.c(c0294Li, 19), C0190Hi.b(0.38f, AbstractC0319Mi.c(c0294Li, 18)), AbstractC0319Mi.c(c0294Li, 2), AbstractC0319Mi.c(c0294Li, 26), AbstractC0319Mi.c(c0294Li, 19), C0190Hi.b(0.38f, AbstractC0319Mi.c(c0294Li, 18)), AbstractC0319Mi.c(c0294Li, 2), AbstractC0319Mi.c(c0294Li, 19), AbstractC0319Mi.c(c0294Li, 19), C0190Hi.b(0.38f, AbstractC0319Mi.c(c0294Li, 18)), AbstractC0319Mi.c(c0294Li, 19), AbstractC0319Mi.c(c0294Li, 19), AbstractC0319Mi.c(c0294Li, 19), C0190Hi.b(0.38f, AbstractC0319Mi.c(c0294Li, 18)), AbstractC0319Mi.c(c0294Li, 2), AbstractC0319Mi.c(c0294Li, 19), AbstractC0319Mi.c(c0294Li, 19), C0190Hi.b(0.38f, AbstractC0319Mi.c(c0294Li, 19)), AbstractC0319Mi.c(c0294Li, 19), AbstractC0319Mi.c(c0294Li, 19), AbstractC0319Mi.c(c0294Li, 19), C0190Hi.b(0.38f, AbstractC0319Mi.c(c0294Li, 19)), AbstractC0319Mi.c(c0294Li, 19));
            c0294Li.d0 = ed0A;
            c0321Mk.q(false);
        } else {
            c0321Mk.V(-1788515437);
            c0321Mk.q(false);
        }
        long j21 = j11;
        return ed0A.a(j21, j11, j10, j11, j14, j15, j16, j11, j17, j21, null, j6, j7, j18, j19, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21, j21);
    }

    /* JADX WARN: Removed duplicated region for block: B:114:0x0205  */
    /* JADX WARN: Removed duplicated region for block: B:117:0x0212  */
    /* JADX WARN: Removed duplicated region for block: B:119:? A[RETURN, SYNTHETIC] */
    /* JADX WARN: Removed duplicated region for block: B:27:0x005a  */
    /* JADX WARN: Removed duplicated region for block: B:28:0x005d  */
    /* JADX WARN: Removed duplicated region for block: B:31:0x0066  */
    /* JADX WARN: Removed duplicated region for block: B:32:0x0069  */
    /* JADX WARN: Removed duplicated region for block: B:35:0x0071  */
    /* JADX WARN: Removed duplicated region for block: B:43:0x0086  */
    /* JADX WARN: Removed duplicated region for block: B:46:0x008d  */
    /* JADX WARN: Removed duplicated region for block: B:54:0x00a2  */
    /* JADX WARN: Removed duplicated region for block: B:57:0x00ae  */
    /* JADX WARN: Removed duplicated region for block: B:58:0x00b0  */
    /* JADX WARN: Removed duplicated region for block: B:61:0x00b9  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final void a(final boolean r25, final boolean r26, final o.KQ r27, o.MP r28, final o.Ed0 r29, final o.L70 r30, float r31, float r32, o.C0321Mk r33, final int r34, final int r35) {
        /*
            Method dump skipped, instructions count: 546
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.WU.a(boolean, boolean, o.KQ, o.MP, o.Ed0, o.L70, float, float, o.Mk, int, int):void");
    }

    public final void b(final String str, final SC sc, final boolean z, final Hk0 hk0, final KQ kq, final boolean z2, final SC sc2, final SC sc3, final Ed0 ed0, C2147pV c2147pV, final C0554Vj c0554Vj, C0321Mk c0321Mk, final int i) {
        int i2;
        SC sc4;
        boolean z3;
        KQ kq2;
        final C2147pV c2147pV2;
        C2147pV c2147pV3;
        int i3;
        c0321Mk.X(-1732281618);
        if ((i & 6) == 0) {
            i2 = (c0321Mk.f(str) ? 4 : 2) | i;
        } else {
            i2 = i;
        }
        if ((i & 48) == 0) {
            sc4 = sc;
            i2 |= c0321Mk.h(sc4) ? 32 : 16;
        } else {
            sc4 = sc;
        }
        if ((i & 384) == 0) {
            z3 = z;
            i2 |= c0321Mk.g(z3) ? 256 : 128;
        } else {
            z3 = z;
        }
        if ((i & 3072) == 0) {
            i2 |= c0321Mk.g(false) ? 2048 : 1024;
        }
        if ((i & 24576) == 0) {
            i2 |= c0321Mk.f(hk0) ? 16384 : 8192;
        }
        if ((196608 & i) == 0) {
            kq2 = kq;
            i2 |= c0321Mk.f(kq2) ? 131072 : 65536;
        } else {
            kq2 = kq;
        }
        if ((i & 1572864) == 0) {
            i2 |= c0321Mk.g(z2) ? 1048576 : 524288;
        }
        if ((i & 12582912) == 0) {
            i2 |= c0321Mk.h(null) ? 8388608 : 4194304;
        }
        if ((i & 100663296) == 0) {
            i2 |= c0321Mk.h(sc2) ? 67108864 : 33554432;
        }
        if ((i & 805306368) == 0) {
            i2 |= c0321Mk.h(null) ? 536870912 : 268435456;
        }
        int i4 = 14155776 | (c0321Mk.h(sc3) ? 4 : 2) | (c0321Mk.h(null) ? 32 : 16) | (c0321Mk.h(null) ? 256 : 128) | (c0321Mk.h(null) ? 2048 : 1024) | (c0321Mk.f(ed0) ? 16384 : 8192) | 65536;
        if (c0321Mk.N(i2 & 1, ((306783379 & i2) == 306783378 && (4793491 & i4) == 4793490) ? false : true)) {
            c0321Mk.S();
            if ((i & 1) == 0 || c0321Mk.x()) {
                float f = Qd0.a;
                c2147pV3 = new C2147pV(f, f, f, f);
                i3 = i4 & (-458753);
            } else {
                c0321Mk.Q();
                i3 = i4 & (-458753);
                c2147pV3 = c2147pV;
            }
            c0321Mk.r();
            boolean z4 = ((i2 & 14) == 4) | ((i2 & 57344) == 16384);
            Object objK = c0321Mk.K();
            if (z4 || objK == C0140Fk.a) {
                objK = hk0.a(new C0977d7(str));
                c0321Mk.f0(objK);
            }
            String str2 = ((C1785lg0) objK).a.m;
            Vd0 vd0 = new Vd0();
            c0321Mk.V(1927058812);
            c0321Mk.q(false);
            int i5 = i2 >> 9;
            int i6 = i3 << 21;
            Qd0.a(str2, sc4, vd0, null, sc2, sc3, z3, z2, kq2, c2147pV3, ed0, c0554Vj, c0321Mk, ((i2 << 3) & 896) | 6 | (i5 & 458752) | (i5 & 3670016) | (i6 & 29360128) | (i6 & 234881024) | (i6 & 1879048192), (i2 & 896) | ((i3 >> 9) & 14) | ((i2 >> 6) & 112) | (i5 & 7168) | ((i2 >> 3) & 57344) | ((i3 << 6) & 3670016) | 12582912);
            c2147pV2 = c2147pV3;
        } else {
            c0321Mk.Q();
            c2147pV2 = c2147pV;
        }
        L00 l00S = c0321Mk.s();
        if (l00S != null) {
            l00S.d = new SC() { // from class: o.VU
                @Override // o.SC
                public final Object f(Object obj, Object obj2) {
                    ((Integer) obj2).getClass();
                    this.l.b(str, sc, z, hk0, kq, z2, sc2, sc3, ed0, c2147pV2, c0554Vj, (C0321Mk) obj, AbstractC1904ms0.D(i | 1));
                    return Oh0.a;
                }
            };
        }
    }
}
