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 LX extends EQ { public static final Parcelable.Creator CREATOR = new HBt(); public final boolean a; public final C0680Mb b; public final List d; public LX(boolean z, C0680Mb c0680Mb, List list) { this.a = z; this.b = c0680Mb; this.d = list; } /* loaded from: classes3.dex */ public static final class HBt implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ LX createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); boolean z = parcel.readInt() != 0; ArrayList arrayList = null; C0680Mb createFromParcel = parcel.readInt() == 0 ? null : C0680Mb.CREATOR.createFromParcel(parcel); if (parcel.readInt() != 0) { int readInt = parcel.readInt(); ArrayList arrayList2 = new ArrayList(readInt); for (int i = 0; i != readInt; i++) { arrayList2.add(LZ.CREATOR.createFromParcel(parcel)); } arrayList = arrayList2; } return new LX(z, createFromParcel, arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ LX[] newArray(int i) { return new LX[i]; } } @Override // o.EQ, android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeInt(this.a ? 1 : 0); C0680Mb c0680Mb = this.b; if (c0680Mb == null) { parcel.writeInt(0); } else { parcel.writeInt(1); c0680Mb.writeToParcel(parcel, i); } List list = this.d; 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 final String toString() { boolean z = this.a; C0680Mb c0680Mb = this.b; List list = this.d; StringBuilder sb = new StringBuilder("EasycashSalesheetListDisplay(isEmpty="); sb.append(z); sb.append(", easycashSalesheetEmptyDisplay="); sb.append(c0680Mb); sb.append(", easycashSalesheetHeaderDisplayList="); sb.append(list); sb.append(")"); return sb.toString(); } /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Type inference failed for: r0v1, types: [int] */ /* JADX WARN: Type inference failed for: r0v6 */ /* JADX WARN: Type inference failed for: r0v7 */ public final int hashCode() { boolean z = this.a; ?? r0 = z; if (z) { r0 = 1; } C0680Mb c0680Mb = this.b; int hashCode = c0680Mb == null ? 0 : c0680Mb.hashCode(); List list = this.d; return (((r0 * 31) + hashCode) * 31) + (list != null ? list.hashCode() : 0); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof LX)) { return false; } LX lx = (LX) obj; return this.a == lx.a && C14957gcv.b(this.b, lx.b) && C14957gcv.b(this.d, lx.d); } }