package com.google.android.gms.internal.p002firebaseauthapi; import a4.n; import android.app.Activity; import com.google.android.gms.common.api.Status; import com.google.android.gms.common.internal.Preconditions; import com.google.firebase.auth.h0; import com.google.firebase.auth.t; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Executor; import w3.f; /* loaded from: classes.dex */ abstract class zzabs implements zzabu { Object zzA; Status zzB; private boolean zza; protected final int zze; protected f zzg; protected t zzh; protected Object zzi; protected n zzj; protected zzabi zzk; protected Executor zzm; protected zzadu zzn; protected zzadl zzo; protected zzacv zzp; protected zzaed zzq; protected String zzr; protected String zzs; protected com.google.firebase.auth.f zzt; protected String zzu; protected String zzv; protected zzwy zzw; protected zzadt zzx; protected zzadq zzy; protected zzael zzz; protected final zzabp zzf = new zzabp(this); protected final List zzl = new ArrayList(); public zzabs(int i10) { this.zze = i10; } static /* bridge */ /* synthetic */ void zzj(zzabs zzabsVar) { zzabsVar.zzb(); Preconditions.checkState(zzabsVar.zza, "no success or failure set on method implementation"); } static /* bridge */ /* synthetic */ void zzk(zzabs zzabsVar, Status status) { n nVar = zzabsVar.zzj; if (nVar != null) { nVar.zzb(status); } } public abstract void zzb(); public final zzabs zzd(Object obj) { this.zzi = Preconditions.checkNotNull(obj, "external callback cannot be null"); return this; } public final zzabs zze(n nVar) { this.zzj = (n) Preconditions.checkNotNull(nVar, "external failure callback cannot be null"); return this; } public final zzabs zzf(f fVar) { this.zzg = (f) Preconditions.checkNotNull(fVar, "firebaseApp cannot be null"); return this; } public final zzabs zzg(t tVar) { this.zzh = (t) Preconditions.checkNotNull(tVar, "firebaseUser cannot be null"); return this; } public final zzabs zzh(h0 h0Var, Activity activity, Executor executor, String str) { h0 zza = zzacg.zza(str, h0Var, this); synchronized (this.zzl) { this.zzl.add((h0) Preconditions.checkNotNull(zza)); } if (activity != null) { zzabj.zza(activity, this.zzl); } this.zzm = (Executor) Preconditions.checkNotNull(executor); return this; } public final void zzl(Status status) { this.zza = true; this.zzB = status; this.zzk.zza(null, status); } public final void zzm(Object obj) { this.zza = true; this.zzA = obj; this.zzk.zza(obj, null); } }