package com.google.firebase.auth; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.common.internal.safeparcel.SafeParcelReader; /* loaded from: classes2.dex */ public final class zzc implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ Object createFromParcel(Parcel parcel) { int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel); String str = null; String str2 = null; String str3 = null; String str4 = null; String str5 = null; String str6 = null; String str7 = null; boolean z = false; boolean z2 = false; int i = 0; while (parcel.dataPosition() < validateObjectHeader) { int readHeader = SafeParcelReader.readHeader(parcel); switch (SafeParcelReader.getFieldId(readHeader)) { case 1: str = SafeParcelReader.createString(parcel, readHeader); break; case 2: str2 = SafeParcelReader.createString(parcel, readHeader); break; case 3: str3 = SafeParcelReader.createString(parcel, readHeader); break; case 4: str4 = SafeParcelReader.createString(parcel, readHeader); break; case 5: z = SafeParcelReader.readBoolean(parcel, readHeader); break; case 6: str5 = SafeParcelReader.createString(parcel, readHeader); break; case 7: z2 = SafeParcelReader.readBoolean(parcel, readHeader); break; case 8: str6 = SafeParcelReader.createString(parcel, readHeader); break; case 9: i = SafeParcelReader.readInt(parcel, readHeader); break; case 10: str7 = SafeParcelReader.createString(parcel, readHeader); break; default: SafeParcelReader.skipUnknownField(parcel, readHeader); break; } } SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader); return new ActionCodeSettings(str, str2, str3, str4, z, str5, z2, str6, i, str7); } @Override // android.os.Parcelable.Creator public final /* synthetic */ Object[] newArray(int i) { return new ActionCodeSettings[i]; } }