package o;

import java.util.Comparator;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.uR, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2617uR implements Comparator {
    public static final C2617uR b = new C2617uR(0);
    public static final C2617uR c = new C2617uR(1);
    public final /* synthetic */ int a;

    public /* synthetic */ C2617uR(int i) {
        this.a = i;
    }

    @Override // java.util.Comparator
    public final int compare(Object obj, Object obj2) {
        switch (this.a) {
            case 0:
                return ((Comparable) obj).compareTo((Comparable) obj2);
            default:
                return ((Comparable) obj2).compareTo((Comparable) obj);
        }
    }

    @Override // java.util.Comparator
    public final Comparator reversed() {
        switch (this.a) {
            case 0:
                return c;
            default:
                return b;
        }
    }
}
