You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

202 lines
6.0 KiB

package p049q;
import java.util.ArrayList;
import p049q.C1550e;
/* renamed from: q.c */
/* loaded from: classes.dex */
public class C1546c {
/* renamed from: a */
public C1550e f3436a;
/* renamed from: b */
public C1550e f3437b;
/* renamed from: c */
public C1550e f3438c;
/* renamed from: d */
public C1550e f3439d;
/* renamed from: e */
public C1550e f3440e;
/* renamed from: f */
public C1550e f3441f;
/* renamed from: g */
public C1550e f3442g;
/* renamed from: h */
public ArrayList<C1550e> f3443h;
/* renamed from: i */
public int f3444i;
/* renamed from: j */
public int f3445j;
/* renamed from: k */
public float f3446k = 0.0f;
/* renamed from: l */
public int f3447l;
/* renamed from: m */
public int f3448m;
/* renamed from: n */
public int f3449n;
/* renamed from: o */
public boolean f3450o;
/* renamed from: p */
public int f3451p;
/* renamed from: q */
public boolean f3452q;
/* renamed from: r */
public boolean f3453r;
/* renamed from: s */
public boolean f3454s;
/* renamed from: t */
public boolean f3455t;
/* renamed from: u */
public boolean f3456u;
/* renamed from: v */
public boolean f3457v;
public C1546c(C1550e c1550e, int i, boolean z) {
this.f3436a = c1550e;
this.f3451p = i;
this.f3452q = z;
}
/* renamed from: c */
public static boolean m1074c(C1550e c1550e, int i) {
int i2;
return c1550e.m1017T() != 8 && c1550e.f3514Z[i] == C1550e.EnumC1552b.MATCH_CONSTRAINT && ((i2 = c1550e.f3563y[i]) == 0 || i2 == 3);
}
/* renamed from: a */
public void m1076a() {
if (!this.f3457v) {
m1075b();
}
this.f3457v = true;
}
/* renamed from: b */
public final void m1075b() {
int i = this.f3451p * 2;
C1550e c1550e = this.f3436a;
boolean z = true;
this.f3450o = true;
C1550e c1550e2 = c1550e;
boolean z2 = false;
while (!z2) {
this.f3444i++;
C1550e[] c1550eArr = c1550e.f3490F0;
int i2 = this.f3451p;
C1550e c1550e3 = null;
c1550eArr[i2] = null;
c1550e.f3488E0[i2] = null;
if (c1550e.m1017T() != 8) {
this.f3447l++;
C1550e.EnumC1552b m964s = c1550e.m964s(this.f3451p);
C1550e.EnumC1552b enumC1552b = C1550e.EnumC1552b.MATCH_CONSTRAINT;
if (m964s != enumC1552b) {
this.f3448m += c1550e.m1050C(this.f3451p);
}
int m1069e = this.f3448m + c1550e.f3511W[i].m1069e();
this.f3448m = m1069e;
int i3 = i + 1;
this.f3448m = m1069e + c1550e.f3511W[i3].m1069e();
int m1069e2 = this.f3449n + c1550e.f3511W[i].m1069e();
this.f3449n = m1069e2;
this.f3449n = m1069e2 + c1550e.f3511W[i3].m1069e();
if (this.f3437b == null) {
this.f3437b = c1550e;
}
this.f3439d = c1550e;
C1550e.EnumC1552b[] enumC1552bArr = c1550e.f3514Z;
int i4 = this.f3451p;
if (enumC1552bArr[i4] == enumC1552b) {
int i5 = c1550e.f3563y[i4];
if (i5 == 0 || i5 == 3 || i5 == 2) {
this.f3445j++;
float f = c1550e.f3486D0[i4];
if (f > 0.0f) {
this.f3446k += f;
}
if (m1074c(c1550e, i4)) {
if (f < 0.0f) {
this.f3453r = true;
} else {
this.f3454s = true;
}
if (this.f3443h == null) {
this.f3443h = new ArrayList<>();
}
this.f3443h.add(c1550e);
}
if (this.f3441f == null) {
this.f3441f = c1550e;
}
C1550e c1550e4 = this.f3442g;
if (c1550e4 != null) {
c1550e4.f3488E0[this.f3451p] = c1550e;
}
this.f3442g = c1550e;
}
if (this.f3451p != 0 ? !(c1550e.f3561x == 0 && c1550e.f3483C == 0 && c1550e.f3485D == 0) : !(c1550e.f3559w == 0 && c1550e.f3565z == 0 && c1550e.f3479A == 0)) {
this.f3450o = false;
}
if (c1550e.f3522d0 != 0.0f) {
this.f3450o = false;
this.f3456u = true;
}
}
}
if (c1550e2 != c1550e) {
c1550e2.f3490F0[this.f3451p] = c1550e;
}
C1547d c1547d = c1550e.f3511W[i + 1].f3463f;
if (c1547d != null) {
C1550e c1550e5 = c1547d.f3461d;
C1547d c1547d2 = c1550e5.f3511W[i].f3463f;
if (c1547d2 != null && c1547d2.f3461d == c1550e) {
c1550e3 = c1550e5;
}
}
if (c1550e3 == null) {
c1550e3 = c1550e;
z2 = true;
}
c1550e2 = c1550e;
c1550e = c1550e3;
}
C1550e c1550e6 = this.f3437b;
if (c1550e6 != null) {
this.f3448m -= c1550e6.f3511W[i].m1069e();
}
C1550e c1550e7 = this.f3439d;
if (c1550e7 != null) {
this.f3448m -= c1550e7.f3511W[i + 1].m1069e();
}
this.f3438c = c1550e;
if (this.f3451p == 0 && this.f3452q) {
this.f3440e = c1550e;
} else {
this.f3440e = this.f3436a;
}
this.f3455t = (this.f3454s && this.f3453r) ? false : false;
}
}