package com.google.firebase.auth.internal; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable; import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter; import com.google.firebase.auth.PhoneMultiFactorInfo; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /* loaded from: classes2.dex */ public final class zzbb extends AbstractSafeParcelable { public static final Parcelable.Creator CREATOR = new zzbc(); private final List zza; /* JADX INFO: Access modifiers changed from: package-private */ public zzbb(List list) { this.zza = list == null ? new ArrayList() : list; } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel); SafeParcelWriter.writeTypedList(parcel, 1, this.zza, false); SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader); } public final List zza() { ArrayList arrayList = new ArrayList(); Iterator it = this.zza.iterator(); while (it.hasNext()) { arrayList.add((PhoneMultiFactorInfo) it.next()); } return arrayList; } }