package o; import android.os.Parcel; import android.os.Parcelable; import java.util.LinkedHashMap; import java.util.Map; /* renamed from: o.hk, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C15685hk implements Parcelable { public static final Parcelable.Creator CREATOR = new HBt(); public final boolean b; public final Map c; @Override // android.os.Parcelable public final int describeContents() { return 0; } public C15685hk(Map map, boolean z) { C14957gcv.e(map, ""); this.c = map; this.b = z; } /* renamed from: o.hk$HBt */ /* loaded from: classes3.dex */ public static final class HBt implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ C15685hk createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); int readInt = parcel.readInt(); LinkedHashMap linkedHashMap = new LinkedHashMap(readInt); for (int i = 0; i != readInt; i++) { linkedHashMap.put(parcel.readString(), parcel.readValue(C15685hk.class.getClassLoader())); } return new C15685hk(linkedHashMap, parcel.readInt() != 0); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ C15685hk[] newArray(int i) { return new C15685hk[i]; } } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); Map map = this.c; parcel.writeInt(map.size()); for (Map.Entry entry : map.entrySet()) { parcel.writeString(entry.getKey()); parcel.writeValue(entry.getValue()); } parcel.writeInt(this.b ? 1 : 0); } }