package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public abstract class Qd0 {
    public static final float a;
    public static final float b = 4;
    public static final float c = 2;
    public static final float d = 24;
    public static final float e;
    public static final float f;

    static {
        float f2 = 16;
        a = f2;
        e = f2;
        f = f2;
    }

    /* JADX WARN: Removed duplicated region for block: B:187:0x0292  */
    /* JADX WARN: Removed duplicated region for block: B:191:0x0298  */
    /* JADX WARN: Removed duplicated region for block: B:200:0x02e8  */
    /* JADX WARN: Removed duplicated region for block: B:209:0x02fa  */
    /* JADX WARN: Removed duplicated region for block: B:212:0x0313  */
    /* JADX WARN: Removed duplicated region for block: B:221:0x0325  */
    /* JADX WARN: Removed duplicated region for block: B:224:0x033f  */
    /* JADX WARN: Removed duplicated region for block: B:226:0x0343  */
    /* JADX WARN: Removed duplicated region for block: B:233:0x036d  */
    /* JADX WARN: Removed duplicated region for block: B:237:0x0373  */
    /* JADX WARN: Removed duplicated region for block: B:245:0x0398  */
    /* JADX WARN: Removed duplicated region for block: B:249:0x039e  */
    /* JADX WARN: Removed duplicated region for block: B:257:0x03e0  */
    /* JADX WARN: Removed duplicated region for block: B:259:0x03e4  */
    /* JADX WARN: Removed duplicated region for block: B:262:0x03fe A[ADDED_TO_REGION] */
    /* JADX WARN: Removed duplicated region for block: B:263:0x0400  */
    /* JADX WARN: Removed duplicated region for block: B:266:0x0427  */
    /* JADX WARN: Removed duplicated region for block: B:268:0x042c  */
    /* JADX WARN: Removed duplicated region for block: B:272:0x044e  */
    /* JADX WARN: Removed duplicated region for block: B:276:0x0487  */
    /* JADX WARN: Removed duplicated region for block: B:279:0x04d6  */
    /* JADX WARN: Removed duplicated region for block: B:282:0x04e6  */
    /* JADX WARN: Removed duplicated region for block: B:283:0x04f7  */
    /* JADX WARN: Removed duplicated region for block: B:285:0x051e  */
    /* JADX WARN: Removed duplicated region for block: B:286:0x0521  */
    /* JADX WARN: Removed duplicated region for block: B:293:0x0533  */
    /* JADX WARN: Removed duplicated region for block: B:301:0x057d  */
    /* JADX WARN: Removed duplicated region for block: B:304:0x0597  */
    /* JADX WARN: Removed duplicated region for block: B:307:0x05cb  */
    /* JADX WARN: Removed duplicated region for block: B:308:0x05ce  */
    /* JADX WARN: Removed duplicated region for block: B:314:0x05dc  */
    /* JADX WARN: Removed duplicated region for block: B:315:0x05ec  */
    /* JADX WARN: Removed duplicated region for block: B:318:0x0615  */
    /* JADX WARN: Removed duplicated region for block: B:335:0x06cf  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public static final void a(final java.lang.CharSequence r40, final o.SC r41, final o.Vd0 r42, final o.TC r43, final o.SC r44, final o.SC r45, final boolean r46, final boolean r47, final o.KQ r48, final o.C2147pV r49, final o.Ed0 r50, final o.C0554Vj r51, o.C0321Mk r52, final int r53, final int r54) {
        /*
            Method dump skipped, instructions count: 1890
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.Qd0.a(java.lang.CharSequence, o.SC, o.Vd0, o.TC, o.SC, o.SC, boolean, boolean, o.KQ, o.pV, o.Ed0, o.Vj, o.Mk, int, int):void");
    }

    public static final void b(long j, C0733af0 c0733af0, SC sc, C0321Mk c0321Mk, int i) {
        long j2;
        C0733af0 c0733af02;
        SC sc2;
        C0321Mk c0321Mk2;
        c0321Mk.X(396611577);
        int i2 = (c0321Mk.e(j) ? 4 : 2) | i | (c0321Mk.f(c0733af0) ? 32 : 16);
        if ((i & 384) == 0) {
            i2 |= c0321Mk.h(sc) ? 256 : 128;
        }
        if (c0321Mk.N(i2 & 1, (i2 & 147) != 146)) {
            c0321Mk2 = c0321Mk;
            C80.f(j, c0733af0, sc, c0321Mk2, i2 & 1022);
            j2 = j;
            c0733af02 = c0733af0;
            sc2 = sc;
        } else {
            j2 = j;
            c0733af02 = c0733af0;
            sc2 = sc;
            c0321Mk2 = c0321Mk;
            c0321Mk2.Q();
        }
        L00 l00S = c0321Mk2.s();
        if (l00S != null) {
            l00S.d = new AZ(j2, c0733af02, sc2, i, 1);
        }
    }

    public static final void c(final long j, final SC sc, C0321Mk c0321Mk, final int i) {
        c0321Mk.X(590397809);
        int i2 = (c0321Mk.e(j) ? 4 : 2) | i | (c0321Mk.h(sc) ? 32 : 16);
        if (c0321Mk.N(i2 & 1, (i2 & 19) != 18)) {
            AbstractC2841wm0.b(AbstractC1606jm.a.a(new C0190Hi(j)), sc, c0321Mk, (i2 & 112) | 8);
        } else {
            c0321Mk.Q();
        }
        L00 l00S = c0321Mk.s();
        if (l00S != null) {
            l00S.d = new SC(j, sc, i) { // from class: o.Id0
                public final /* synthetic */ long l;
                public final /* synthetic */ SC m;

                @Override // o.SC
                public final Object f(Object obj, Object obj2) {
                    ((Integer) obj2).getClass();
                    int iD = AbstractC1904ms0.D(1);
                    Qd0.c(this.l, this.m, (C0321Mk) obj, iD);
                    return Oh0.a;
                }
            };
        }
    }

    public static final InterfaceC2489t2 d(Vd0 vd0) {
        if (vd0 instanceof Vd0) {
            return vd0.a;
        }
        throw new IllegalArgumentException("Unknown position: " + vd0);
    }

    public static final float e(C0321Mk c0321Mk) {
        long j = ((C3116zh0) c0321Mk.j(Ah0.a)).l.b.c;
        long j2 = AbstractC1787lh0.l;
        if ((1095216660480L & j) != 4294967296L) {
            j = j2;
        }
        return ((InterfaceC2281qr) c0321Mk.j(AbstractC0840bl.h)).J(j) / 2;
    }

    public static final float f(C0321Mk c0321Mk) {
        float f2 = ((C0148Fs) c0321Mk.j(AbstractC2134pI.c)).l;
        if (Float.isNaN(f2)) {
            f2 = 0;
        }
        float f3 = (f2 - AbstractC1461i90.c) / 2;
        float f4 = 0;
        return f3 < f4 ? f4 : f3;
    }
}
