package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.ck, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0933ck implements VC {
    public static final C0933ck m = new C0933ck(0);
    public static final C0933ck n = new C0933ck(1);
    public final /* synthetic */ int l;

    public /* synthetic */ C0933ck(int i) {
        this.l = i;
    }

    @Override // o.VC
    public final Object i(Object obj, Object obj2, Object obj3, Object obj4, Object obj5) {
        int i;
        int i2;
        switch (this.l) {
            case 0:
                InterfaceC2538td0 interfaceC2538td0 = (InterfaceC2538td0) obj;
                InterfaceC1589jd0 interfaceC1589jd0 = (InterfaceC1589jd0) obj2;
                NC nc = (NC) obj3;
                C0321Mk c0321Mk = (C0321Mk) obj4;
                int iIntValue = ((Number) obj5).intValue();
                if ((iIntValue & 6) == 0) {
                    i = ((iIntValue & 8) == 0 ? c0321Mk.f(interfaceC2538td0) : c0321Mk.h(interfaceC2538td0) ? 4 : 2) | iIntValue;
                } else {
                    i = iIntValue;
                }
                if ((iIntValue & 48) == 0) {
                    i |= (iIntValue & 64) == 0 ? c0321Mk.f(interfaceC1589jd0) : c0321Mk.h(interfaceC1589jd0) ? 32 : 16;
                }
                if ((iIntValue & 384) == 0) {
                    i |= c0321Mk.h(nc) ? 256 : 128;
                }
                if (c0321Mk.N(i & 1, (i & 1171) != 1170)) {
                    AbstractC0198Hq.c((C1968nd) interfaceC2538td0, interfaceC1589jd0, nc, c0321Mk, i & 1022);
                } else {
                    c0321Mk.Q();
                }
                break;
            default:
                InterfaceC2538td0 interfaceC2538td02 = (InterfaceC2538td0) obj;
                InterfaceC1589jd0 interfaceC1589jd02 = (InterfaceC1589jd0) obj2;
                NC nc2 = (NC) obj3;
                C0321Mk c0321Mk2 = (C0321Mk) obj4;
                int iIntValue2 = ((Number) obj5).intValue();
                if ((iIntValue2 & 6) == 0) {
                    i2 = ((iIntValue2 & 8) == 0 ? c0321Mk2.f(interfaceC2538td02) : c0321Mk2.h(interfaceC2538td02) ? 4 : 2) | iIntValue2;
                } else {
                    i2 = iIntValue2;
                }
                if ((iIntValue2 & 48) == 0) {
                    i2 |= (iIntValue2 & 64) == 0 ? c0321Mk2.f(interfaceC1589jd02) : c0321Mk2.h(interfaceC1589jd02) ? 32 : 16;
                }
                if ((iIntValue2 & 384) == 0) {
                    i2 |= c0321Mk2.h(nc2) ? 256 : 128;
                }
                if (c0321Mk2.N(i2 & 1, (i2 & 1171) != 1170)) {
                    AbstractC0198Hq.c((C1968nd) interfaceC2538td02, interfaceC1589jd02, nc2, c0321Mk2, i2 & 1022);
                } else {
                    c0321Mk2.Q();
                }
                break;
        }
        return Oh0.a;
    }
}
