package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.nG, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC1942nG {
    public static final MP a = androidx.compose.foundation.layout.c.h(JP.a, AbstractC1461i90.c);

    public static final void a(final CG cg, String str, MP mp, long j, C0321Mk c0321Mk, final int i, final int i2) {
        int i3;
        String str2;
        C0321Mk c0321Mk2;
        final long j2;
        final MP mp2;
        c0321Mk.X(-126890956);
        if ((i & 6) == 0) {
            i3 = (c0321Mk.f(cg) ? 4 : 2) | i;
        } else {
            i3 = i;
        }
        if ((i & 48) == 0) {
            i3 |= c0321Mk.f(str) ? 32 : 16;
        }
        int i4 = i2 & 4;
        if (i4 != 0) {
            i3 |= 384;
        } else if ((i & 384) == 0) {
            i3 |= c0321Mk.f(mp) ? 256 : 128;
        }
        if ((i & 3072) == 0) {
            i3 |= ((i2 & 8) == 0 && c0321Mk.e(j)) ? 2048 : 1024;
        }
        if (c0321Mk.N(i3 & 1, (i3 & 1171) != 1170)) {
            c0321Mk.S();
            if ((i & 1) == 0 || c0321Mk.x()) {
                if (i4 != 0) {
                    mp = JP.a;
                }
                if ((i2 & 8) != 0) {
                    j = ((C0190Hi) c0321Mk.j(AbstractC1606jm.a)).a;
                    i3 &= -7169;
                }
                MP mp3 = mp;
                long j3 = j;
                c0321Mk.r();
                str2 = str;
                c0321Mk2 = c0321Mk;
                b(AbstractC0662Zn.E(cg, c0321Mk), str2, mp3, j3, c0321Mk2, (i3 & 112) | 8 | (i3 & 896) | (i3 & 7168));
                mp2 = mp3;
                j2 = j3;
            } else {
                c0321Mk.Q();
                if ((i2 & 8) != 0) {
                    i3 &= -7169;
                }
                MP mp32 = mp;
                long j32 = j;
                c0321Mk.r();
                str2 = str;
                c0321Mk2 = c0321Mk;
                b(AbstractC0662Zn.E(cg, c0321Mk), str2, mp32, j32, c0321Mk2, (i3 & 112) | 8 | (i3 & 896) | (i3 & 7168));
                mp2 = mp32;
                j2 = j32;
            }
        } else {
            str2 = str;
            c0321Mk2 = c0321Mk;
            c0321Mk2.Q();
            j2 = j;
            mp2 = mp;
        }
        L00 l00S = c0321Mk2.s();
        if (l00S != null) {
            final String str3 = str2;
            l00S.d = new SC() { // from class: o.lG
                @Override // o.SC
                public final Object f(Object obj, Object obj2) {
                    ((Integer) obj2).getClass();
                    AbstractC1942nG.a(cg, str3, mp2, j2, (C0321Mk) obj, AbstractC1904ms0.D(i | 1), i2);
                    return Oh0.a;
                }
            };
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:78:0x011a  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public static final void b(final o.AbstractC2811wV r16, final java.lang.String r17, final o.MP r18, final long r19, o.C0321Mk r21, final int r22) {
        /*
            Method dump skipped, instructions count: 326
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.AbstractC1942nG.b(o.wV, java.lang.String, o.MP, long, o.Mk, int):void");
    }
}
