package o;

import java.util.Arrays;
import java.util.Comparator;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Ao0 implements Comparator {
    public final /* synthetic */ Yn0 a;
    public final /* synthetic */ C2062oc0 b;

    public Ao0(Yn0 yn0, C2062oc0 c2062oc0) {
        this.a = yn0;
        this.b = c2062oc0;
    }

    @Override // java.util.Comparator
    public final /* bridge */ /* synthetic */ int compare(Object obj, Object obj2) {
        InterfaceC1991no0 interfaceC1991no0 = (InterfaceC1991no0) obj;
        InterfaceC1991no0 interfaceC1991no02 = (InterfaceC1991no0) obj2;
        if (interfaceC1991no0 instanceof C2655uo0) {
            return !(interfaceC1991no02 instanceof C2655uo0) ? 1 : 0;
        }
        if (interfaceC1991no02 instanceof C2655uo0) {
            return -1;
        }
        Yn0 yn0 = this.a;
        return yn0 == null ? interfaceC1991no0.zzc().compareTo(interfaceC1991no02.zzc()) : (int) AbstractC2378rs0.v0(yn0.g(this.b, Arrays.asList(interfaceC1991no0, interfaceC1991no02)).zzd().doubleValue());
    }
}
