package o; import java.util.ArrayList; import java.util.List; import o.C16736qoQ; /* loaded from: classes3.dex */ public final class QPR { public final List a; private final boolean b; public boolean c; public final EKc d; private final boolean e; private final String f; private final boolean g; private final String h; private final boolean i; private final boolean j; private final boolean k; private final WVG l; private final boolean m; private final boolean n; /* renamed from: o, reason: collision with root package name */ private final boolean f8326o; private final iKd p; private final boolean r; private final boolean s; private final boolean t; public QPR(EKc eKc, iKd ikd, boolean z, WVG wvg, boolean z2, boolean z3, boolean z4, boolean z5, boolean z6, boolean z7, boolean z8, boolean z9, boolean z10, boolean z11, boolean z12) { WVG wvg2; C14957gcv.e(ikd, ""); this.d = eKc; this.p = ikd; this.e = z; this.l = wvg; this.r = z2; this.s = z3; this.n = z4; this.m = z5; this.j = z6; this.i = z7; this.t = z8; this.b = z9; this.g = z10; this.f8326o = z11; this.k = z12; this.h = ikd.j; this.f = ikd.i; ArrayList arrayList = new ArrayList(); C16736qoQ.Sts sts = C16736qoQ.a; for (int i : z4 ? new int[]{0, 1, 2, 3, 4, 7, 8, 9, 10, 12, 16, 17, 18, 19} : new int[]{0, 26, 29, 30, 1, 2, 25, 3, 4, 5, 27, 23, 6, 7, 8, 21, 20, 22, 9, 10, 11, 28, 12, 14, 15, 16, 17, 18, 19, 24}) { C16736qoQ c16736qoQ = new C16736qoQ(i); if ((c16736qoQ.c() != 11 || (wvg2 = this.l) == null || wvg2.e) && ((c16736qoQ.c() != 6 || this.s) && (c16736qoQ.c() != 25 || this.m))) { boolean z13 = this.n; if (i == 0) { c16736qoQ.b(this.f); C16736qoQ.d(new Object[]{c16736qoQ, this.p.h}, 740309823, -740309822, System.identityHashCode(c16736qoQ)); } else if (i == 8) { c16736qoQ.e(this.e); } else if (i != 20) { if (i == 28) { c16736qoQ.e(this.g); } else if (i == 10) { c16736qoQ.e(this.r); } else if (i == 11 && !z13) { WVG wvg3 = this.l; c16736qoQ.e(wvg3 != null ? wvg3.d : false); } } else if (!z13) { C16736qoQ.d(new Object[]{c16736qoQ, this.h}, 634912158, -634912158, System.identityHashCode(c16736qoQ)); this.c = c16736qoQ.a(); } int c = c16736qoQ.c(); if (c != 23) { switch (c) { case 26: if (this.i) { arrayList.add(c16736qoQ); break; } else { break; } case 27: if (this.t) { arrayList.add(c16736qoQ); break; } else { break; } case 28: if (this.b) { arrayList.add(c16736qoQ); break; } else { break; } case 29: if (this.f8326o) { arrayList.add(c16736qoQ); break; } else { break; } case 30: if (this.k) { arrayList.add(c16736qoQ); break; } else { break; } default: arrayList.add(c16736qoQ); break; } } else if (this.j) { arrayList.add(c16736qoQ); } } } this.a = arrayList; } }