package com.google.android.gms.internal.p002firebaseauthapi; import android.text.TextUtils; import com.google.firebase.auth.g1; import java.util.List; /* loaded from: classes.dex */ final class zzxf implements zzabx { final /* synthetic */ zzabw zza; final /* synthetic */ String zzb; final /* synthetic */ String zzc; final /* synthetic */ Boolean zzd; final /* synthetic */ g1 zze; final /* synthetic */ zzaaq zzf; final /* synthetic */ zzadu zzg; zzxf(zzys zzysVar, zzabw zzabwVar, String str, String str2, Boolean bool, g1 g1Var, zzaaq zzaaqVar, zzadu zzaduVar) { this.zza = zzabwVar; this.zzb = str; this.zzc = str2; this.zzd = bool; this.zze = g1Var; this.zzf = zzaaqVar; this.zzg = zzaduVar; } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzabw public final void zza(String str) { this.zza.zza(str); } @Override // com.google.android.gms.internal.p002firebaseauthapi.zzabx public final /* bridge */ /* synthetic */ void zzb(Object obj) { List zzb = ((zzadk) obj).zzb(); if (zzb == null || zzb.isEmpty()) { this.zza.zza("No users."); return; } int i10 = 0; zzadl zzadlVar = (zzadl) zzb.get(0); zzaea zzl = zzadlVar.zzl(); List zzc = zzl != null ? zzl.zzc() : null; if (zzc != null && !zzc.isEmpty()) { if (TextUtils.isEmpty(this.zzb)) { ((zzadz) zzc.get(0)).zzh(this.zzc); } else { while (true) { if (i10 >= zzc.size()) { break; } if (((zzadz) zzc.get(i10)).zzf().equals(this.zzb)) { ((zzadz) zzc.get(i10)).zzh(this.zzc); break; } i10++; } } } zzadlVar.zzh(this.zzd.booleanValue()); zzadlVar.zze(this.zze); this.zzf.zzk(this.zzg, zzadlVar); } }