package o; import android.os.Parcel; import android.os.Parcelable; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /* loaded from: classes3.dex */ public final class PE extends EQ implements Parcelable { public static final Parcelable.Creator CREATOR = new IeS(); public final List b; private /* synthetic */ PE(byte b) { this((List) null); } public PE(List list) { this.b = list; } /* loaded from: classes3.dex */ public static final class IeS implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ PE createFromParcel(Parcel parcel) { ArrayList arrayList; C14957gcv.e(parcel, ""); if (parcel.readInt() == 0) { arrayList = null; } else { int readInt = parcel.readInt(); ArrayList arrayList2 = new ArrayList(readInt); for (int i = 0; i != readInt; i++) { arrayList2.add(PB.CREATOR.createFromParcel(parcel)); } arrayList = arrayList2; } return new PE(arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ PE[] newArray(int i) { return new PE[i]; } } @Override // o.EQ, android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); List list = this.b; if (list == null) { parcel.writeInt(0); return; } parcel.writeInt(1); parcel.writeInt(list.size()); Iterator it = list.iterator(); while (it.hasNext()) { it.next().writeToParcel(parcel, i); } } public PE() { this((byte) 0); } }