package o; import java.util.ArrayList; import java.util.List; import o.InterfaceC9586dmY; /* renamed from: o.cHw */ /* loaded from: classes4.dex */ public final class C6079cHw extends ZI { private final C16059ko a; public final C16077kw b; public ArrayList c; public int e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C6079cHw(C16059ko c16059ko, C16077kw c16077kw, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c16059ko, ""); C14957gcv.e(c16077kw, ""); C14957gcv.e(c16903sI, ""); this.a = c16059ko; this.b = c16077kw; } public final void a(List list) { C14957gcv.e(list, ""); List list2 = list; C14957gcv.e(list2, ""); this.c = new ArrayList<>(list2); if (!r1.isEmpty()) { if (!this.b.e()) { ArrayList arrayList = this.c; ArrayList arrayList2 = null; if (arrayList == null) { C14957gcv.a(""); arrayList = null; } if (arrayList.size() > 2) { ArrayList arrayList3 = this.c; if (arrayList3 == null) { C14957gcv.a(""); } else { arrayList2 = arrayList3; } arrayList2.remove(2); } } this.e = 0; C6082cHz c6082cHz = new C6082cHz(this, 0, true); if (this.f != 0) { c6082cHz.e(this.f); } } } @Override // o.ZI public final void w_() { this.a.b.c.e(); super.w_(); } /* renamed from: o.cHw$Sts */ /* loaded from: classes4.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } public static /* synthetic */ void d(C6079cHw c6079cHw, InterfaceC9586dmY.IeS ieS) { C14957gcv.e(c6079cHw, ""); if (c6079cHw.b.e()) { ieS.e(); } else { ieS.d(); } } public static /* synthetic */ void c(C6079cHw c6079cHw, InterfaceC9586dmY.IeS ieS) { C14957gcv.e(c6079cHw, ""); if (c6079cHw.b.e()) { ieS.b(); } else { ieS.c(); } } public static /* synthetic */ void a(C6079cHw c6079cHw, int i, boolean z, InterfaceC9586dmY.IeS ieS) { C14957gcv.e(c6079cHw, ""); ArrayList arrayList = c6079cHw.c; if (arrayList == null) { C14957gcv.a(""); arrayList = null; } C1160Wz c1160Wz = arrayList.get(i); C14957gcv.c(c1160Wz, ""); ieS.d(c1160Wz, z); } static { new Sts((byte) 0); } }