package o; import android.os.Parcel; import android.os.Parcelable; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /* renamed from: o.Pp, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C0838Pp implements Parcelable { public static final Parcelable.Creator CREATOR = new HBt(); public String a; public List c; public String d; @Override // android.os.Parcelable public final int describeContents() { return 0; } public C0838Pp(String str, String str2, List list) { C14957gcv.e(str, ""); C14957gcv.e(str2, ""); this.a = str; this.d = str2; this.c = list; } /* renamed from: o.Pp$HBt */ /* loaded from: classes3.dex */ public static final class HBt implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ C0838Pp createFromParcel(Parcel parcel) { ArrayList arrayList; C14957gcv.e(parcel, ""); String readString = parcel.readString(); String readString2 = parcel.readString(); 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(C0844Pu.CREATOR.createFromParcel(parcel)); } arrayList = arrayList2; } return new C0838Pp(readString, readString2, arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ C0838Pp[] newArray(int i) { return new C0838Pp[i]; } } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeString(this.a); parcel.writeString(this.d); List list = this.c; 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); } } }