package p052r; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import p049q.C1547d; import p049q.C1550e; import p049q.C1553f; import p049q.C1554g; import p049q.C1557i; import p052r.C1571b; /* renamed from: r.e */ /* loaded from: classes.dex */ public class C1576e { /* renamed from: a */ public C1553f f3653a; /* renamed from: d */ public C1553f f3656d; /* renamed from: b */ public boolean f3654b = true; /* renamed from: c */ public boolean f3655c = true; /* renamed from: e */ public ArrayList f3657e = new ArrayList<>(); /* renamed from: f */ public ArrayList f3658f = new ArrayList<>(); /* renamed from: g */ public C1571b.InterfaceC1573b f3659g = null; /* renamed from: h */ public C1571b.C1572a f3660h = new C1571b.C1572a(); /* renamed from: i */ public ArrayList f3661i = new ArrayList<>(); public C1576e(C1553f c1553f) { this.f3653a = c1553f; this.f3656d = c1553f; } /* renamed from: a */ public final void m873a(C1577f c1577f, int i, int i2, C1577f c1577f2, ArrayList arrayList, C1586m c1586m) { AbstractC1591p abstractC1591p = c1577f.f3665d; if (abstractC1591p.f3717c == null) { C1553f c1553f = this.f3653a; if (abstractC1591p == c1553f.f3523e || abstractC1591p == c1553f.f3525f) { return; } if (c1586m == null) { c1586m = new C1586m(abstractC1591p, i2); arrayList.add(c1586m); } abstractC1591p.f3717c = c1586m; c1586m.m839a(abstractC1591p); for (InterfaceC1575d interfaceC1575d : abstractC1591p.f3722h.f3672k) { if (interfaceC1575d instanceof C1577f) { m873a((C1577f) interfaceC1575d, i, 0, c1577f2, arrayList, c1586m); } } for (InterfaceC1575d interfaceC1575d2 : abstractC1591p.f3723i.f3672k) { if (interfaceC1575d2 instanceof C1577f) { m873a((C1577f) interfaceC1575d2, i, 1, c1577f2, arrayList, c1586m); } } if (i == 1 && (abstractC1591p instanceof C1587n)) { for (InterfaceC1575d interfaceC1575d3 : ((C1587n) abstractC1591p).f3697k.f3672k) { if (interfaceC1575d3 instanceof C1577f) { m873a((C1577f) interfaceC1575d3, i, 2, c1577f2, arrayList, c1586m); } } } for (C1577f c1577f3 : abstractC1591p.f3722h.f3673l) { if (c1577f3 == c1577f2) { c1586m.f3691b = true; } m873a(c1577f3, i, 0, c1577f2, arrayList, c1586m); } for (C1577f c1577f4 : abstractC1591p.f3723i.f3673l) { if (c1577f4 == c1577f2) { c1586m.f3691b = true; } m873a(c1577f4, i, 1, c1577f2, arrayList, c1586m); } if (i == 1 && (abstractC1591p instanceof C1587n)) { for (C1577f c1577f5 : ((C1587n) abstractC1591p).f3697k.f3673l) { m873a(c1577f5, i, 2, c1577f2, arrayList, c1586m); } } } } /* JADX WARN: Code restructure failed: missing block: B:39:0x0074, code lost: if (r2.f3561x == 0) goto L30; */ /* renamed from: b */ /* Code decompiled incorrectly, please refer to instructions dump. */ public final boolean m872b(C1553f c1553f) { int i; C1550e.EnumC1552b enumC1552b; int i2; C1550e.EnumC1552b enumC1552b2; C1576e c1576e; C1550e c1550e; C1579g c1579g; int m959v; C1550e.EnumC1552b enumC1552b3; C1550e.EnumC1552b enumC1552b4; Iterator it = c1553f.f3629L0.iterator(); while (it.hasNext()) { C1550e next = it.next(); C1550e.EnumC1552b[] enumC1552bArr = next.f3514Z; C1550e.EnumC1552b enumC1552b5 = enumC1552bArr[0]; C1550e.EnumC1552b enumC1552b6 = enumC1552bArr[1]; if (next.m1017T() != 8) { if (next.f3481B < 1.0f && enumC1552b5 == C1550e.EnumC1552b.MATCH_CONSTRAINT) { next.f3559w = 2; } if (next.f3487E < 1.0f && enumC1552b6 == C1550e.EnumC1552b.MATCH_CONSTRAINT) { next.f3561x = 2; } if (next.m962t() > 0.0f) { C1550e.EnumC1552b enumC1552b7 = C1550e.EnumC1552b.MATCH_CONSTRAINT; if (enumC1552b5 == enumC1552b7 && (enumC1552b6 == C1550e.EnumC1552b.WRAP_CONTENT || enumC1552b6 == C1550e.EnumC1552b.FIXED)) { next.f3559w = 3; } else { if (enumC1552b6 != enumC1552b7 || (enumC1552b5 != C1550e.EnumC1552b.WRAP_CONTENT && enumC1552b5 != C1550e.EnumC1552b.FIXED)) { if (enumC1552b5 == enumC1552b7 && enumC1552b6 == enumC1552b7) { if (next.f3559w == 0) { next.f3559w = 3; } } } next.f3561x = 3; } } C1550e.EnumC1552b enumC1552b8 = C1550e.EnumC1552b.MATCH_CONSTRAINT; if (enumC1552b5 == enumC1552b8 && next.f3559w == 1 && (next.f3503O.f3463f == null || next.f3505Q.f3463f == null)) { enumC1552b5 = C1550e.EnumC1552b.WRAP_CONTENT; } C1550e.EnumC1552b enumC1552b9 = enumC1552b5; if (enumC1552b6 == enumC1552b8 && next.f3561x == 1 && (next.f3504P.f3463f == null || next.f3506R.f3463f == null)) { enumC1552b6 = C1550e.EnumC1552b.WRAP_CONTENT; } C1550e.EnumC1552b enumC1552b10 = enumC1552b6; C1584l c1584l = next.f3523e; c1584l.f3718d = enumC1552b9; int i3 = next.f3559w; c1584l.f3715a = i3; C1587n c1587n = next.f3525f; c1587n.f3718d = enumC1552b10; int i4 = next.f3561x; c1587n.f3715a = i4; C1550e.EnumC1552b enumC1552b11 = C1550e.EnumC1552b.MATCH_PARENT; if ((enumC1552b9 == enumC1552b11 || enumC1552b9 == C1550e.EnumC1552b.FIXED || enumC1552b9 == C1550e.EnumC1552b.WRAP_CONTENT) && (enumC1552b10 == enumC1552b11 || enumC1552b10 == C1550e.EnumC1552b.FIXED || enumC1552b10 == C1550e.EnumC1552b.WRAP_CONTENT)) { int m1015U = next.m1015U(); if (enumC1552b9 == enumC1552b11) { i = (c1553f.m1015U() - next.f3503O.f3464g) - next.f3505Q.f3464g; enumC1552b = C1550e.EnumC1552b.FIXED; } else { i = m1015U; enumC1552b = enumC1552b9; } int m959v2 = next.m959v(); if (enumC1552b10 == enumC1552b11) { i2 = (c1553f.m959v() - next.f3504P.f3464g) - next.f3506R.f3464g; enumC1552b2 = C1550e.EnumC1552b.FIXED; } else { i2 = m959v2; enumC1552b2 = enumC1552b10; } c1576e = this; c1550e = next; } else { if (enumC1552b9 == enumC1552b8 && (enumC1552b10 == (enumC1552b4 = C1550e.EnumC1552b.WRAP_CONTENT) || enumC1552b10 == C1550e.EnumC1552b.FIXED)) { if (i3 == 3) { if (enumC1552b10 == enumC1552b4) { m862l(next, enumC1552b4, 0, enumC1552b4, 0); } i2 = next.m959v(); i = (int) ((i2 * next.f3522d0) + 0.5f); enumC1552b2 = C1550e.EnumC1552b.FIXED; c1576e = this; c1550e = next; enumC1552b = enumC1552b2; } else if (i3 == 1) { m862l(next, enumC1552b4, 0, enumC1552b10, 0); c1579g = next.f3523e.f3719e; m959v = next.m1015U(); c1579g.f3683m = m959v; } else if (i3 == 2) { C1550e.EnumC1552b enumC1552b12 = c1553f.f3514Z[0]; enumC1552b4 = C1550e.EnumC1552b.FIXED; if (enumC1552b12 == enumC1552b4 || enumC1552b12 == enumC1552b11) { i = (int) ((next.f3481B * c1553f.m1015U()) + 0.5f); i2 = next.m959v(); c1576e = this; c1550e = next; enumC1552b = enumC1552b4; enumC1552b2 = enumC1552b10; } } else { C1547d[] c1547dArr = next.f3511W; if (c1547dArr[0].f3463f == null || c1547dArr[1].f3463f == null) { i = 0; i2 = 0; c1576e = this; c1550e = next; enumC1552b = enumC1552b4; enumC1552b2 = enumC1552b10; } } } if (enumC1552b10 == enumC1552b8 && (enumC1552b9 == (enumC1552b3 = C1550e.EnumC1552b.WRAP_CONTENT) || enumC1552b9 == C1550e.EnumC1552b.FIXED)) { if (i4 == 3) { if (enumC1552b9 == enumC1552b3) { m862l(next, enumC1552b3, 0, enumC1552b3, 0); } i = next.m1015U(); float f = next.f3522d0; if (next.m961u() == -1) { f = 1.0f / f; } i2 = (int) ((i * f) + 0.5f); enumC1552b2 = C1550e.EnumC1552b.FIXED; c1576e = this; c1550e = next; enumC1552b = enumC1552b2; } else if (i4 == 1) { m862l(next, enumC1552b9, 0, enumC1552b3, 0); c1579g = next.f3525f.f3719e; m959v = next.m959v(); c1579g.f3683m = m959v; } else if (i4 == 2) { C1550e.EnumC1552b enumC1552b13 = c1553f.f3514Z[1]; C1550e.EnumC1552b enumC1552b14 = C1550e.EnumC1552b.FIXED; if (enumC1552b13 == enumC1552b14 || enumC1552b13 == enumC1552b11) { float f2 = next.f3487E; i = next.m1015U(); c1576e = this; c1550e = next; enumC1552b = enumC1552b9; enumC1552b2 = enumC1552b14; i2 = (int) ((f2 * c1553f.m959v()) + 0.5f); } } else { C1547d[] c1547dArr2 = next.f3511W; if (c1547dArr2[2].f3463f == null || c1547dArr2[3].f3463f == null) { i = 0; i2 = 0; c1576e = this; c1550e = next; enumC1552b = enumC1552b3; enumC1552b2 = enumC1552b10; } } } if (enumC1552b9 == enumC1552b8 && enumC1552b10 == enumC1552b8) { if (i3 == 1 || i4 == 1) { C1550e.EnumC1552b enumC1552b15 = C1550e.EnumC1552b.WRAP_CONTENT; m862l(next, enumC1552b15, 0, enumC1552b15, 0); next.f3523e.f3719e.f3683m = next.m1015U(); c1579g = next.f3525f.f3719e; m959v = next.m959v(); c1579g.f3683m = m959v; } else if (i4 == 2 && i3 == 2) { C1550e.EnumC1552b[] enumC1552bArr2 = c1553f.f3514Z; C1550e.EnumC1552b enumC1552b16 = enumC1552bArr2[0]; enumC1552b2 = C1550e.EnumC1552b.FIXED; if (enumC1552b16 == enumC1552b2 && enumC1552bArr2[1] == enumC1552b2) { float f3 = next.f3481B; float f4 = next.f3487E; i = (int) ((f3 * c1553f.m1015U()) + 0.5f); i2 = (int) ((f4 * c1553f.m959v()) + 0.5f); c1576e = this; c1550e = next; enumC1552b = enumC1552b2; } } } } c1576e.m862l(c1550e, enumC1552b, i, enumC1552b2, i2); next.f3523e.f3719e.mo857d(next.m1015U()); next.f3525f.f3719e.mo857d(next.m959v()); } next.f3515a = true; } return false; } /* renamed from: c */ public void m871c() { m870d(this.f3657e); this.f3661i.clear(); C1586m.f3689h = 0; m865i(this.f3653a.f3523e, 0, this.f3661i); m865i(this.f3653a.f3525f, 1, this.f3661i); this.f3654b = false; } /* renamed from: d */ public void m870d(ArrayList arrayList) { AbstractC1591p c1582j; arrayList.clear(); this.f3656d.f3523e.mo819f(); this.f3656d.f3525f.mo819f(); arrayList.add(this.f3656d.f3523e); arrayList.add(this.f3656d.f3525f); Iterator it = this.f3656d.f3629L0.iterator(); HashSet hashSet = null; while (it.hasNext()) { C1550e next = it.next(); if (next instanceof C1554g) { c1582j = new C1582j(next); } else { if (next.m988g0()) { if (next.f3519c == null) { next.f3519c = new C1574c(next, 0); } if (hashSet == null) { hashSet = new HashSet(); } hashSet.add(next.f3519c); } else { arrayList.add(next.f3523e); } if (next.m983i0()) { if (next.f3521d == null) { next.f3521d = new C1574c(next, 1); } if (hashSet == null) { hashSet = new HashSet(); } hashSet.add(next.f3521d); } else { arrayList.add(next.f3525f); } if (next instanceof C1557i) { c1582j = new C1583k(next); } } arrayList.add(c1582j); } if (hashSet != null) { arrayList.addAll(hashSet); } Iterator it2 = arrayList.iterator(); while (it2.hasNext()) { it2.next().mo819f(); } Iterator it3 = arrayList.iterator(); while (it3.hasNext()) { AbstractC1591p next2 = it3.next(); if (next2.f3716b != this.f3656d) { next2.mo821d(); } } } /* renamed from: e */ public final int m869e(C1553f c1553f, int i) { int size = this.f3661i.size(); long j = 0; for (int i2 = 0; i2 < size; i2++) { j = Math.max(j, this.f3661i.get(i2).m838b(c1553f, i)); } return (int) j; } /* renamed from: f */ public boolean m868f(boolean z) { boolean z2; boolean z3 = true; boolean z4 = z & true; if (this.f3654b || this.f3655c) { Iterator it = this.f3653a.f3629L0.iterator(); while (it.hasNext()) { C1550e next = it.next(); next.m975l(); next.f3515a = false; next.f3523e.m840r(); next.f3525f.m835q(); } this.f3653a.m975l(); C1553f c1553f = this.f3653a; c1553f.f3515a = false; c1553f.f3523e.m840r(); this.f3653a.f3525f.m835q(); this.f3655c = false; } if (m872b(this.f3656d)) { return false; } this.f3653a.m979j1(0); this.f3653a.m976k1(0); C1550e.EnumC1552b m964s = this.f3653a.m964s(0); C1550e.EnumC1552b m964s2 = this.f3653a.m964s(1); if (this.f3654b) { m871c(); } int m1013V = this.f3653a.m1013V(); int m1011W = this.f3653a.m1011W(); this.f3653a.f3523e.f3722h.mo857d(m1013V); this.f3653a.f3525f.f3722h.mo857d(m1011W); m861m(); C1550e.EnumC1552b enumC1552b = C1550e.EnumC1552b.WRAP_CONTENT; if (m964s == enumC1552b || m964s2 == enumC1552b) { if (z4) { Iterator it2 = this.f3657e.iterator(); while (true) { if (!it2.hasNext()) { break; } else if (!it2.next().mo812m()) { z4 = false; break; } } } if (z4 && m964s == C1550e.EnumC1552b.WRAP_CONTENT) { this.f3653a.m1030M0(C1550e.EnumC1552b.FIXED); C1553f c1553f2 = this.f3653a; c1553f2.m985h1(m869e(c1553f2, 0)); C1553f c1553f3 = this.f3653a; c1553f3.f3523e.f3719e.mo857d(c1553f3.m1015U()); } if (z4 && m964s2 == C1550e.EnumC1552b.WRAP_CONTENT) { this.f3653a.m995d1(C1550e.EnumC1552b.FIXED); C1553f c1553f4 = this.f3653a; c1553f4.m1037I0(m869e(c1553f4, 1)); C1553f c1553f5 = this.f3653a; c1553f5.f3525f.f3719e.mo857d(c1553f5.m959v()); } } C1553f c1553f6 = this.f3653a; C1550e.EnumC1552b enumC1552b2 = c1553f6.f3514Z[0]; C1550e.EnumC1552b enumC1552b3 = C1550e.EnumC1552b.FIXED; if (enumC1552b2 == enumC1552b3 || enumC1552b2 == C1550e.EnumC1552b.MATCH_PARENT) { int m1015U = c1553f6.m1015U() + m1013V; this.f3653a.f3523e.f3723i.mo857d(m1015U); this.f3653a.f3523e.f3719e.mo857d(m1015U - m1013V); m861m(); C1553f c1553f7 = this.f3653a; C1550e.EnumC1552b enumC1552b4 = c1553f7.f3514Z[1]; if (enumC1552b4 == enumC1552b3 || enumC1552b4 == C1550e.EnumC1552b.MATCH_PARENT) { int m959v = c1553f7.m959v() + m1011W; this.f3653a.f3525f.f3723i.mo857d(m959v); this.f3653a.f3525f.f3719e.mo857d(m959v - m1011W); } m861m(); z2 = true; } else { z2 = false; } Iterator it3 = this.f3657e.iterator(); while (it3.hasNext()) { AbstractC1591p next2 = it3.next(); if (next2.f3716b != this.f3653a || next2.f3721g) { next2.mo820e(); } } Iterator it4 = this.f3657e.iterator(); while (it4.hasNext()) { AbstractC1591p next3 = it4.next(); if (z2 || next3.f3716b != this.f3653a) { if (!next3.f3722h.f3671j || ((!next3.f3723i.f3671j && !(next3 instanceof C1582j)) || (!next3.f3719e.f3671j && !(next3 instanceof C1574c) && !(next3 instanceof C1582j)))) { z3 = false; break; } } } this.f3653a.m1030M0(m964s); this.f3653a.m995d1(m964s2); return z3; } /* renamed from: g */ public boolean m867g(boolean z) { if (this.f3654b) { Iterator it = this.f3653a.f3629L0.iterator(); while (it.hasNext()) { C1550e next = it.next(); next.m975l(); next.f3515a = false; C1584l c1584l = next.f3523e; c1584l.f3719e.f3671j = false; c1584l.f3721g = false; c1584l.m840r(); C1587n c1587n = next.f3525f; c1587n.f3719e.f3671j = false; c1587n.f3721g = false; c1587n.m835q(); } this.f3653a.m975l(); C1553f c1553f = this.f3653a; c1553f.f3515a = false; C1584l c1584l2 = c1553f.f3523e; c1584l2.f3719e.f3671j = false; c1584l2.f3721g = false; c1584l2.m840r(); C1587n c1587n2 = this.f3653a.f3525f; c1587n2.f3719e.f3671j = false; c1587n2.f3721g = false; c1587n2.m835q(); m871c(); } if (m872b(this.f3656d)) { return false; } this.f3653a.m979j1(0); this.f3653a.m976k1(0); this.f3653a.f3523e.f3722h.mo857d(0); this.f3653a.f3525f.f3722h.mo857d(0); return true; } /* renamed from: h */ public boolean m866h(boolean z, int i) { boolean z2; C1550e.EnumC1552b enumC1552b; C1579g c1579g; int m959v; boolean z3 = true; boolean z4 = z & true; C1550e.EnumC1552b m964s = this.f3653a.m964s(0); C1550e.EnumC1552b m964s2 = this.f3653a.m964s(1); int m1013V = this.f3653a.m1013V(); int m1011W = this.f3653a.m1011W(); if (z4 && (m964s == (enumC1552b = C1550e.EnumC1552b.WRAP_CONTENT) || m964s2 == enumC1552b)) { Iterator it = this.f3657e.iterator(); while (true) { if (!it.hasNext()) { break; } AbstractC1591p next = it.next(); if (next.f3720f == i && !next.mo812m()) { z4 = false; break; } } if (i == 0) { if (z4 && m964s == C1550e.EnumC1552b.WRAP_CONTENT) { this.f3653a.m1030M0(C1550e.EnumC1552b.FIXED); C1553f c1553f = this.f3653a; c1553f.m985h1(m869e(c1553f, 0)); C1553f c1553f2 = this.f3653a; c1579g = c1553f2.f3523e.f3719e; m959v = c1553f2.m1015U(); c1579g.mo857d(m959v); } } else if (z4 && m964s2 == C1550e.EnumC1552b.WRAP_CONTENT) { this.f3653a.m995d1(C1550e.EnumC1552b.FIXED); C1553f c1553f3 = this.f3653a; c1553f3.m1037I0(m869e(c1553f3, 1)); C1553f c1553f4 = this.f3653a; c1579g = c1553f4.f3525f.f3719e; m959v = c1553f4.m959v(); c1579g.mo857d(m959v); } } C1553f c1553f5 = this.f3653a; if (i == 0) { C1550e.EnumC1552b enumC1552b2 = c1553f5.f3514Z[0]; if (enumC1552b2 == C1550e.EnumC1552b.FIXED || enumC1552b2 == C1550e.EnumC1552b.MATCH_PARENT) { int m1015U = c1553f5.m1015U() + m1013V; this.f3653a.f3523e.f3723i.mo857d(m1015U); this.f3653a.f3523e.f3719e.mo857d(m1015U - m1013V); z2 = true; } z2 = false; } else { C1550e.EnumC1552b enumC1552b3 = c1553f5.f3514Z[1]; if (enumC1552b3 == C1550e.EnumC1552b.FIXED || enumC1552b3 == C1550e.EnumC1552b.MATCH_PARENT) { int m959v2 = c1553f5.m959v() + m1011W; this.f3653a.f3525f.f3723i.mo857d(m959v2); this.f3653a.f3525f.f3719e.mo857d(m959v2 - m1011W); z2 = true; } z2 = false; } m861m(); Iterator it2 = this.f3657e.iterator(); while (it2.hasNext()) { AbstractC1591p next2 = it2.next(); if (next2.f3720f == i && (next2.f3716b != this.f3653a || next2.f3721g)) { next2.mo820e(); } } Iterator it3 = this.f3657e.iterator(); while (it3.hasNext()) { AbstractC1591p next3 = it3.next(); if (next3.f3720f == i && (z2 || next3.f3716b != this.f3653a)) { if (!next3.f3722h.f3671j || !next3.f3723i.f3671j || (!(next3 instanceof C1574c) && !next3.f3719e.f3671j)) { z3 = false; break; } } } this.f3653a.m1030M0(m964s); this.f3653a.m995d1(m964s2); return z3; } /* renamed from: i */ public final void m865i(AbstractC1591p abstractC1591p, int i, ArrayList arrayList) { for (InterfaceC1575d interfaceC1575d : abstractC1591p.f3722h.f3672k) { if (interfaceC1575d instanceof C1577f) { m873a((C1577f) interfaceC1575d, i, 0, abstractC1591p.f3723i, arrayList, null); } else if (interfaceC1575d instanceof AbstractC1591p) { m873a(((AbstractC1591p) interfaceC1575d).f3722h, i, 0, abstractC1591p.f3723i, arrayList, null); } } for (InterfaceC1575d interfaceC1575d2 : abstractC1591p.f3723i.f3672k) { if (interfaceC1575d2 instanceof C1577f) { m873a((C1577f) interfaceC1575d2, i, 1, abstractC1591p.f3722h, arrayList, null); } else if (interfaceC1575d2 instanceof AbstractC1591p) { m873a(((AbstractC1591p) interfaceC1575d2).f3723i, i, 1, abstractC1591p.f3722h, arrayList, null); } } if (i == 1) { for (InterfaceC1575d interfaceC1575d3 : ((C1587n) abstractC1591p).f3697k.f3672k) { if (interfaceC1575d3 instanceof C1577f) { m873a((C1577f) interfaceC1575d3, i, 2, null, arrayList, null); } } } } /* renamed from: j */ public void m864j() { this.f3654b = true; } /* renamed from: k */ public void m863k() { this.f3655c = true; } /* renamed from: l */ public final void m862l(C1550e c1550e, C1550e.EnumC1552b enumC1552b, int i, C1550e.EnumC1552b enumC1552b2, int i2) { C1571b.C1572a c1572a = this.f3660h; c1572a.f3641a = enumC1552b; c1572a.f3642b = enumC1552b2; c1572a.f3643c = i; c1572a.f3644d = i2; this.f3659g.mo878a(c1550e, c1572a); c1550e.m985h1(this.f3660h.f3645e); c1550e.m1037I0(this.f3660h.f3646f); c1550e.m1039H0(this.f3660h.f3648h); c1550e.m954x0(this.f3660h.f3647g); } /* JADX WARN: Removed duplicated region for block: B:48:0x00b2 A[SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:52:0x0008 A[ADDED_TO_REGION, SYNTHETIC] */ /* renamed from: m */ /* Code decompiled incorrectly, please refer to instructions dump. */ public void m861m() { C1579g c1579g; int m1015U; C1579g c1579g2; int m1015U2; C1579g c1579g3; Iterator it = this.f3653a.f3629L0.iterator(); while (it.hasNext()) { C1550e next = it.next(); if (!next.f3515a) { C1550e.EnumC1552b[] enumC1552bArr = next.f3514Z; boolean z = false; C1550e.EnumC1552b enumC1552b = enumC1552bArr[0]; C1550e.EnumC1552b enumC1552b2 = enumC1552bArr[1]; int i = next.f3559w; int i2 = next.f3561x; C1550e.EnumC1552b enumC1552b3 = C1550e.EnumC1552b.WRAP_CONTENT; boolean z2 = enumC1552b == enumC1552b3 || (enumC1552b == C1550e.EnumC1552b.MATCH_CONSTRAINT && i == 1); if (enumC1552b2 == enumC1552b3 || (enumC1552b2 == C1550e.EnumC1552b.MATCH_CONSTRAINT && i2 == 1)) { z = true; } C1579g c1579g4 = next.f3523e.f3719e; boolean z3 = c1579g4.f3671j; C1579g c1579g5 = next.f3525f.f3719e; boolean z4 = c1579g5.f3671j; if (z3 && z4) { C1550e.EnumC1552b enumC1552b4 = C1550e.EnumC1552b.FIXED; m862l(next, enumC1552b4, c1579g4.f3668g, enumC1552b4, c1579g5.f3668g); } else if (z3 && z) { m862l(next, C1550e.EnumC1552b.FIXED, c1579g4.f3668g, enumC1552b3, c1579g5.f3668g); if (enumC1552b2 == C1550e.EnumC1552b.MATCH_CONSTRAINT) { c1579g2 = next.f3525f.f3719e; m1015U2 = next.m959v(); c1579g2.f3683m = m1015U2; if (!next.f3515a) { c1579g3.mo857d(next.m973n()); } } else { c1579g = next.f3525f.f3719e; m1015U = next.m959v(); c1579g.mo857d(m1015U); } } else { if (z4 && z2) { m862l(next, enumC1552b3, c1579g4.f3668g, C1550e.EnumC1552b.FIXED, c1579g5.f3668g); if (enumC1552b == C1550e.EnumC1552b.MATCH_CONSTRAINT) { c1579g2 = next.f3523e.f3719e; m1015U2 = next.m1015U(); c1579g2.f3683m = m1015U2; } else { c1579g = next.f3523e.f3719e; m1015U = next.m1015U(); c1579g.mo857d(m1015U); } } if (!next.f3515a && (c1579g3 = next.f3525f.f3698l) != null) { c1579g3.mo857d(next.m973n()); } } next.f3515a = true; if (!next.f3515a) { } } } } /* renamed from: n */ public void m860n(C1571b.InterfaceC1573b interfaceC1573b) { this.f3659g = interfaceC1573b; } }