package o;

import java.util.Comparator;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.jj, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C1600jj implements Comparator {
    public final /* synthetic */ int a;
    public final /* synthetic */ Object b;

    public /* synthetic */ C1600jj(int i, Object obj) {
        this.a = i;
        this.b = obj;
    }

    @Override // java.util.Comparator
    public final int compare(Object obj, Object obj2) {
        switch (this.a) {
            case 0:
                for (OC oc : (OC[]) this.b) {
                    int iK = AbstractC2798wI.k((Comparable) oc.g(obj), (Comparable) oc.g(obj2));
                    if (iK != 0) {
                        return iK;
                    }
                }
                return 0;
            default:
                return ((Number) ((SC) this.b).f(obj, obj2)).intValue();
        }
    }
}
