package o;

import android.os.Build;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.xd, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2917xd extends AbstractC0063Cl {
    public final /* synthetic */ int b;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C2917xd(AbstractC0452Rl abstractC0452Rl, int i) {
        super(abstractC0452Rl);
        this.b = i;
    }

    @Override // o.AbstractC0063Cl
    public final int a() {
        switch (this.b) {
            case 0:
                return 6;
            case 1:
                return 5;
            case 2:
                return 7;
            case 3:
                return 7;
            default:
                return 9;
        }
    }

    @Override // o.AbstractC0063Cl
    public final boolean b(Dm0 dm0) {
        switch (this.b) {
            case 0:
                return dm0.j.b;
            case 1:
                return dm0.j.d;
            case 2:
                return dm0.j.a == 2;
            case 3:
                int i = dm0.j.a;
                return i == 3 || (Build.VERSION.SDK_INT >= 30 && i == 6);
            default:
                return dm0.j.e;
        }
    }

    @Override // o.AbstractC0063Cl
    public final boolean c(Object obj) {
        boolean zBooleanValue;
        switch (this.b) {
            case 0:
                zBooleanValue = ((Boolean) obj).booleanValue();
                break;
            case 1:
                zBooleanValue = ((Boolean) obj).booleanValue();
                break;
            case 2:
                C0905cS c0905cS = (C0905cS) obj;
                boolean z = c0905cS.a;
                return Build.VERSION.SDK_INT < 26 ? !z : !(z && c0905cS.b);
            case 3:
                C0905cS c0905cS2 = (C0905cS) obj;
                return !c0905cS2.a || c0905cS2.c;
            default:
                zBooleanValue = ((Boolean) obj).booleanValue();
                break;
        }
        return !zBooleanValue;
    }
}
