package FSaI4_7.IMuAHx_6;
/* compiled from: Comparisons.kt */
/* loaded from: classes.dex */
public class KQgRr5e_0 {
    public static final <T extends Comparable<?>> int KQgRr5e_0(T t, T t2) {
        if (t == t2) {
            return 0;
        }
        if (t == null) {
            return -1;
        }
        if (t2 == null) {
            return 1;
        }
        return t.compareTo(t2);
    }
}
