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