package com.google.android.gms.internal.p002firebaseauthapi; import com.google.common.primitives.UnsignedBytes; import java.util.Comparator; /* loaded from: classes2.dex */ final class zzabu implements Comparator { @Override // java.util.Comparator public final /* synthetic */ int compare(Object obj, Object obj2) { zzacc zzaccVar = (zzacc) obj; zzacc zzaccVar2 = (zzacc) obj2; zzabt zzabtVar = new zzabt(zzaccVar); zzabt zzabtVar2 = new zzabt(zzaccVar2); while (zzabtVar.hasNext() && zzabtVar2.hasNext()) { int compareTo = Integer.valueOf(zzabtVar.zza() & UnsignedBytes.MAX_VALUE).compareTo(Integer.valueOf(zzabtVar2.zza() & UnsignedBytes.MAX_VALUE)); if (compareTo != 0) { return compareTo; } } return Integer.valueOf(zzaccVar.zzd()).compareTo(Integer.valueOf(zzaccVar2.zzd())); } }