package com.google.android.gms.common.internal; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.common.internal.safeparcel.SafeParcelReader; /* loaded from: classes.dex */ public final class zan implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ MethodInvocation createFromParcel(Parcel parcel) { int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel); int i = 0; int i2 = 0; int i3 = 0; int i4 = 0; long j = 0; long j2 = 0; String str = null; String str2 = null; int i5 = -1; while (parcel.dataPosition() < validateObjectHeader) { int readHeader = SafeParcelReader.readHeader(parcel); switch (SafeParcelReader.getFieldId(readHeader)) { case 1: i = SafeParcelReader.readInt(parcel, readHeader); break; case 2: i2 = SafeParcelReader.readInt(parcel, readHeader); break; case 3: i3 = SafeParcelReader.readInt(parcel, readHeader); break; case 4: j = SafeParcelReader.readLong(parcel, readHeader); break; case 5: j2 = SafeParcelReader.readLong(parcel, readHeader); break; case 6: str = SafeParcelReader.createString(parcel, readHeader); break; case 7: str2 = SafeParcelReader.createString(parcel, readHeader); break; case 8: i4 = SafeParcelReader.readInt(parcel, readHeader); break; case 9: i5 = SafeParcelReader.readInt(parcel, readHeader); break; default: SafeParcelReader.skipUnknownField(parcel, readHeader); break; } } SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader); return new MethodInvocation(i, i2, i3, j, j2, str, str2, i4, i5); } @Override // android.os.Parcelable.Creator public final /* synthetic */ MethodInvocation[] newArray(int i) { return new MethodInvocation[i]; } }