package androidx.constraintlayout.widget;

import android.content.Context;
import android.content.res.TypedArray;
import android.content.res.XmlResourceParser;
import android.os.Build;
import android.util.AttributeSet;
import android.util.Log;
import android.util.SparseIntArray;
import android.util.Xml;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.constraintlayout.widget.C0199e;
import androidx.constraintlayout.widget.ConstraintLayout;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Locale;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import p043o.C1505b;
import p058t.C1632a;
import p058t.C1641j;
import p061u.C1742g;
import p061u.C1743h;

/* renamed from: androidx.constraintlayout.widget.d */
/* loaded from: classes.dex */
public class C0192d {

    /* renamed from: f */
    public static final int[] f857f = {0, 4, 8};

    /* renamed from: g */
    public static SparseIntArray f858g = new SparseIntArray();

    /* renamed from: h */
    public static SparseIntArray f859h = new SparseIntArray();

    /* renamed from: a */
    public String f860a = "";

    /* renamed from: b */
    public int f861b = 0;

    /* renamed from: c */
    public HashMap<String, C0188b> f862c = new HashMap<>();

    /* renamed from: d */
    public boolean f863d = true;

    /* renamed from: e */
    public HashMap<Integer, C0193a> f864e = new HashMap<>();

    /* renamed from: androidx.constraintlayout.widget.d$a */
    /* loaded from: classes.dex */
    public static class C0193a {

        /* renamed from: a */
        public int f865a;

        /* renamed from: b */
        public String f866b;

        /* renamed from: c */
        public final C0197d f867c = new C0197d();

        /* renamed from: d */
        public final C0196c f868d = new C0196c();

        /* renamed from: e */
        public final C0195b f869e = new C0195b();

        /* renamed from: f */
        public final C0198e f870f = new C0198e();

        /* renamed from: g */
        public HashMap<String, C0188b> f871g = new HashMap<>();

        /* renamed from: h */
        public C0194a f872h;

        /* renamed from: androidx.constraintlayout.widget.d$a$a */
        /* loaded from: classes.dex */
        public static class C0194a {

            /* renamed from: a */
            public int[] f873a = new int[10];

            /* renamed from: b */
            public int[] f874b = new int[10];

            /* renamed from: c */
            public int f875c = 0;

            /* renamed from: d */
            public int[] f876d = new int[10];

            /* renamed from: e */
            public float[] f877e = new float[10];

            /* renamed from: f */
            public int f878f = 0;

            /* renamed from: g */
            public int[] f879g = new int[5];

            /* renamed from: h */
            public String[] f880h = new String[5];

            /* renamed from: i */
            public int f881i = 0;

            /* renamed from: j */
            public int[] f882j = new int[4];

            /* renamed from: k */
            public boolean[] f883k = new boolean[4];

            /* renamed from: l */
            public int f884l = 0;

            /* renamed from: a */
            public void m4515a(int i, float f) {
                int i2 = this.f878f;
                int[] iArr = this.f876d;
                if (i2 >= iArr.length) {
                    this.f876d = Arrays.copyOf(iArr, iArr.length * 2);
                    float[] fArr = this.f877e;
                    this.f877e = Arrays.copyOf(fArr, fArr.length * 2);
                }
                int[] iArr2 = this.f876d;
                int i3 = this.f878f;
                iArr2[i3] = i;
                float[] fArr2 = this.f877e;
                this.f878f = i3 + 1;
                fArr2[i3] = f;
            }

            /* renamed from: b */
            public void m4514b(int i, int i2) {
                int i3 = this.f875c;
                int[] iArr = this.f873a;
                if (i3 >= iArr.length) {
                    this.f873a = Arrays.copyOf(iArr, iArr.length * 2);
                    int[] iArr2 = this.f874b;
                    this.f874b = Arrays.copyOf(iArr2, iArr2.length * 2);
                }
                int[] iArr3 = this.f873a;
                int i4 = this.f875c;
                iArr3[i4] = i;
                int[] iArr4 = this.f874b;
                this.f875c = i4 + 1;
                iArr4[i4] = i2;
            }

            /* renamed from: c */
            public void m4513c(int i, String str) {
                int i2 = this.f881i;
                int[] iArr = this.f879g;
                if (i2 >= iArr.length) {
                    this.f879g = Arrays.copyOf(iArr, iArr.length * 2);
                    String[] strArr = this.f880h;
                    this.f880h = (String[]) Arrays.copyOf(strArr, strArr.length * 2);
                }
                int[] iArr2 = this.f879g;
                int i3 = this.f881i;
                iArr2[i3] = i;
                String[] strArr2 = this.f880h;
                this.f881i = i3 + 1;
                strArr2[i3] = str;
            }

            /* renamed from: d */
            public void m4512d(int i, boolean z) {
                int i2 = this.f884l;
                int[] iArr = this.f882j;
                if (i2 >= iArr.length) {
                    this.f882j = Arrays.copyOf(iArr, iArr.length * 2);
                    boolean[] zArr = this.f883k;
                    this.f883k = Arrays.copyOf(zArr, zArr.length * 2);
                }
                int[] iArr2 = this.f882j;
                int i3 = this.f884l;
                iArr2[i3] = i;
                boolean[] zArr2 = this.f883k;
                this.f884l = i3 + 1;
                zArr2[i3] = z;
            }
        }

        /* renamed from: d */
        public void m4520d(ConstraintLayout.C0184b c0184b) {
            C0195b c0195b = this.f869e;
            c0184b.f777e = c0195b.f930j;
            c0184b.f779f = c0195b.f932k;
            c0184b.f781g = c0195b.f934l;
            c0184b.f783h = c0195b.f936m;
            c0184b.f785i = c0195b.f938n;
            c0184b.f787j = c0195b.f940o;
            c0184b.f789k = c0195b.f942p;
            c0184b.f791l = c0195b.f944q;
            c0184b.f793m = c0195b.f946r;
            c0184b.f795n = c0195b.f947s;
            c0184b.f797o = c0195b.f948t;
            c0184b.f805s = c0195b.f949u;
            c0184b.f807t = c0195b.f950v;
            c0184b.f809u = c0195b.f951w;
            c0184b.f811v = c0195b.f952x;
            ((ViewGroup.MarginLayoutParams) c0184b).leftMargin = c0195b.f893H;
            ((ViewGroup.MarginLayoutParams) c0184b).rightMargin = c0195b.f894I;
            ((ViewGroup.MarginLayoutParams) c0184b).topMargin = c0195b.f895J;
            ((ViewGroup.MarginLayoutParams) c0184b).bottomMargin = c0195b.f896K;
            c0184b.f743A = c0195b.f905T;
            c0184b.f744B = c0195b.f904S;
            c0184b.f815x = c0195b.f901P;
            c0184b.f817z = c0195b.f903R;
            c0184b.f749G = c0195b.f953y;
            c0184b.f750H = c0195b.f954z;
            c0184b.f799p = c0195b.f887B;
            c0184b.f801q = c0195b.f888C;
            c0184b.f803r = c0195b.f889D;
            c0184b.f751I = c0195b.f886A;
            c0184b.f766X = c0195b.f890E;
            c0184b.f767Y = c0195b.f891F;
            c0184b.f755M = c0195b.f907V;
            c0184b.f754L = c0195b.f908W;
            c0184b.f757O = c0195b.f910Y;
            c0184b.f756N = c0195b.f909X;
            c0184b.f770a0 = c0195b.f939n0;
            c0184b.f772b0 = c0195b.f941o0;
            c0184b.f758P = c0195b.f911Z;
            c0184b.f759Q = c0195b.f913a0;
            c0184b.f762T = c0195b.f915b0;
            c0184b.f763U = c0195b.f917c0;
            c0184b.f760R = c0195b.f919d0;
            c0184b.f761S = c0195b.f921e0;
            c0184b.f764V = c0195b.f923f0;
            c0184b.f765W = c0195b.f925g0;
            c0184b.f768Z = c0195b.f892G;
            c0184b.f773c = c0195b.f926h;
            c0184b.f769a = c0195b.f922f;
            c0184b.f771b = c0195b.f924g;
            ((ViewGroup.MarginLayoutParams) c0184b).width = c0195b.f918d;
            ((ViewGroup.MarginLayoutParams) c0184b).height = c0195b.f920e;
            String str = c0195b.f937m0;
            if (str != null) {
                c0184b.f774c0 = str;
            }
            c0184b.f776d0 = c0195b.f945q0;
            if (Build.VERSION.SDK_INT >= 17) {
                c0184b.setMarginStart(c0195b.f898M);
                c0184b.setMarginEnd(this.f869e.f897L);
            }
            c0184b.m4565a();
        }

        /* renamed from: e */
        public C0193a clone() {
            C0193a c0193a = new C0193a();
            c0193a.f869e.m4511a(this.f869e);
            c0193a.f868d.m4509a(this.f868d);
            c0193a.f867c.m4507a(this.f867c);
            c0193a.f870f.m4505a(this.f870f);
            c0193a.f865a = this.f865a;
            c0193a.f872h = this.f872h;
            return c0193a;
        }

        /* renamed from: f */
        public final void m4518f(int i, ConstraintLayout.C0184b c0184b) {
            this.f865a = i;
            C0195b c0195b = this.f869e;
            c0195b.f930j = c0184b.f777e;
            c0195b.f932k = c0184b.f779f;
            c0195b.f934l = c0184b.f781g;
            c0195b.f936m = c0184b.f783h;
            c0195b.f938n = c0184b.f785i;
            c0195b.f940o = c0184b.f787j;
            c0195b.f942p = c0184b.f789k;
            c0195b.f944q = c0184b.f791l;
            c0195b.f946r = c0184b.f793m;
            c0195b.f947s = c0184b.f795n;
            c0195b.f948t = c0184b.f797o;
            c0195b.f949u = c0184b.f805s;
            c0195b.f950v = c0184b.f807t;
            c0195b.f951w = c0184b.f809u;
            c0195b.f952x = c0184b.f811v;
            c0195b.f953y = c0184b.f749G;
            c0195b.f954z = c0184b.f750H;
            c0195b.f886A = c0184b.f751I;
            c0195b.f887B = c0184b.f799p;
            c0195b.f888C = c0184b.f801q;
            c0195b.f889D = c0184b.f803r;
            c0195b.f890E = c0184b.f766X;
            c0195b.f891F = c0184b.f767Y;
            c0195b.f892G = c0184b.f768Z;
            c0195b.f926h = c0184b.f773c;
            c0195b.f922f = c0184b.f769a;
            c0195b.f924g = c0184b.f771b;
            c0195b.f918d = ((ViewGroup.MarginLayoutParams) c0184b).width;
            c0195b.f920e = ((ViewGroup.MarginLayoutParams) c0184b).height;
            c0195b.f893H = ((ViewGroup.MarginLayoutParams) c0184b).leftMargin;
            c0195b.f894I = ((ViewGroup.MarginLayoutParams) c0184b).rightMargin;
            c0195b.f895J = ((ViewGroup.MarginLayoutParams) c0184b).topMargin;
            c0195b.f896K = ((ViewGroup.MarginLayoutParams) c0184b).bottomMargin;
            c0195b.f899N = c0184b.f746D;
            c0195b.f907V = c0184b.f755M;
            c0195b.f908W = c0184b.f754L;
            c0195b.f910Y = c0184b.f757O;
            c0195b.f909X = c0184b.f756N;
            c0195b.f939n0 = c0184b.f770a0;
            c0195b.f941o0 = c0184b.f772b0;
            c0195b.f911Z = c0184b.f758P;
            c0195b.f913a0 = c0184b.f759Q;
            c0195b.f915b0 = c0184b.f762T;
            c0195b.f917c0 = c0184b.f763U;
            c0195b.f919d0 = c0184b.f760R;
            c0195b.f921e0 = c0184b.f761S;
            c0195b.f923f0 = c0184b.f764V;
            c0195b.f925g0 = c0184b.f765W;
            c0195b.f937m0 = c0184b.f774c0;
            c0195b.f901P = c0184b.f815x;
            c0195b.f903R = c0184b.f817z;
            c0195b.f900O = c0184b.f813w;
            c0195b.f902Q = c0184b.f816y;
            c0195b.f905T = c0184b.f743A;
            c0195b.f904S = c0184b.f744B;
            c0195b.f906U = c0184b.f745C;
            c0195b.f945q0 = c0184b.f776d0;
            if (Build.VERSION.SDK_INT >= 17) {
                c0195b.f897L = c0184b.getMarginEnd();
                this.f869e.f898M = c0184b.getMarginStart();
            }
        }

        /* renamed from: g */
        public final void m4517g(int i, C0199e.C0200a c0200a) {
            m4518f(i, c0200a);
            this.f867c.f973d = c0200a.f1001x0;
            C0198e c0198e = this.f870f;
            c0198e.f977b = c0200a.f991A0;
            c0198e.f978c = c0200a.f992B0;
            c0198e.f979d = c0200a.f993C0;
            c0198e.f980e = c0200a.f994D0;
            c0198e.f981f = c0200a.f995E0;
            c0198e.f982g = c0200a.f996F0;
            c0198e.f983h = c0200a.f997G0;
            c0198e.f985j = c0200a.f998H0;
            c0198e.f986k = c0200a.f999I0;
            c0198e.f987l = c0200a.f1000J0;
            c0198e.f989n = c0200a.f1003z0;
            c0198e.f988m = c0200a.f1002y0;
        }

        /* renamed from: h */
        public final void m4516h(AbstractC0191c abstractC0191c, int i, C0199e.C0200a c0200a) {
            m4517g(i, c0200a);
            if (abstractC0191c instanceof C0187a) {
                C0195b c0195b = this.f869e;
                c0195b.f931j0 = 1;
                C0187a c0187a = (C0187a) abstractC0191c;
                c0195b.f927h0 = c0187a.getType();
                this.f869e.f933k0 = c0187a.getReferencedIds();
                this.f869e.f929i0 = c0187a.getMargin();
            }
        }
    }

    /* renamed from: androidx.constraintlayout.widget.d$b */
    /* loaded from: classes.dex */
    public static class C0195b {

        /* renamed from: r0 */
        public static SparseIntArray f885r0;

        /* renamed from: d */
        public int f918d;

        /* renamed from: e */
        public int f920e;

        /* renamed from: k0 */
        public int[] f933k0;

        /* renamed from: l0 */
        public String f935l0;

        /* renamed from: m0 */
        public String f937m0;

        /* renamed from: a */
        public boolean f912a = false;

        /* renamed from: b */
        public boolean f914b = false;

        /* renamed from: c */
        public boolean f916c = false;

        /* renamed from: f */
        public int f922f = -1;

        /* renamed from: g */
        public int f924g = -1;

        /* renamed from: h */
        public float f926h = -1.0f;

        /* renamed from: i */
        public boolean f928i = true;

        /* renamed from: j */
        public int f930j = -1;

        /* renamed from: k */
        public int f932k = -1;

        /* renamed from: l */
        public int f934l = -1;

        /* renamed from: m */
        public int f936m = -1;

        /* renamed from: n */
        public int f938n = -1;

        /* renamed from: o */
        public int f940o = -1;

        /* renamed from: p */
        public int f942p = -1;

        /* renamed from: q */
        public int f944q = -1;

        /* renamed from: r */
        public int f946r = -1;

        /* renamed from: s */
        public int f947s = -1;

        /* renamed from: t */
        public int f948t = -1;

        /* renamed from: u */
        public int f949u = -1;

        /* renamed from: v */
        public int f950v = -1;

        /* renamed from: w */
        public int f951w = -1;

        /* renamed from: x */
        public int f952x = -1;

        /* renamed from: y */
        public float f953y = 0.5f;

        /* renamed from: z */
        public float f954z = 0.5f;

        /* renamed from: A */
        public String f886A = null;

        /* renamed from: B */
        public int f887B = -1;

        /* renamed from: C */
        public int f888C = 0;

        /* renamed from: D */
        public float f889D = 0.0f;

        /* renamed from: E */
        public int f890E = -1;

        /* renamed from: F */
        public int f891F = -1;

        /* renamed from: G */
        public int f892G = -1;

        /* renamed from: H */
        public int f893H = 0;

        /* renamed from: I */
        public int f894I = 0;

        /* renamed from: J */
        public int f895J = 0;

        /* renamed from: K */
        public int f896K = 0;

        /* renamed from: L */
        public int f897L = 0;

        /* renamed from: M */
        public int f898M = 0;

        /* renamed from: N */
        public int f899N = 0;

        /* renamed from: O */
        public int f900O = Integer.MIN_VALUE;

        /* renamed from: P */
        public int f901P = Integer.MIN_VALUE;

        /* renamed from: Q */
        public int f902Q = Integer.MIN_VALUE;

        /* renamed from: R */
        public int f903R = Integer.MIN_VALUE;

        /* renamed from: S */
        public int f904S = Integer.MIN_VALUE;

        /* renamed from: T */
        public int f905T = Integer.MIN_VALUE;

        /* renamed from: U */
        public int f906U = Integer.MIN_VALUE;

        /* renamed from: V */
        public float f907V = -1.0f;

        /* renamed from: W */
        public float f908W = -1.0f;

        /* renamed from: X */
        public int f909X = 0;

        /* renamed from: Y */
        public int f910Y = 0;

        /* renamed from: Z */
        public int f911Z = 0;

        /* renamed from: a0 */
        public int f913a0 = 0;

        /* renamed from: b0 */
        public int f915b0 = 0;

        /* renamed from: c0 */
        public int f917c0 = 0;

        /* renamed from: d0 */
        public int f919d0 = 0;

        /* renamed from: e0 */
        public int f921e0 = 0;

        /* renamed from: f0 */
        public float f923f0 = 1.0f;

        /* renamed from: g0 */
        public float f925g0 = 1.0f;

        /* renamed from: h0 */
        public int f927h0 = -1;

        /* renamed from: i0 */
        public int f929i0 = 0;

        /* renamed from: j0 */
        public int f931j0 = -1;

        /* renamed from: n0 */
        public boolean f939n0 = false;

        /* renamed from: o0 */
        public boolean f941o0 = false;

        /* renamed from: p0 */
        public boolean f943p0 = true;

        /* renamed from: q0 */
        public int f945q0 = 0;

        static {
            SparseIntArray sparseIntArray = new SparseIntArray();
            f885r0 = sparseIntArray;
            sparseIntArray.append(C1743h.f4062K5, 24);
            f885r0.append(C1743h.f4070L5, 25);
            f885r0.append(C1743h.f4086N5, 28);
            f885r0.append(C1743h.f4094O5, 29);
            f885r0.append(C1743h.f4134T5, 35);
            f885r0.append(C1743h.f4126S5, 34);
            f885r0.append(C1743h.f4370u5, 4);
            f885r0.append(C1743h.f4361t5, 3);
            f885r0.append(C1743h.f4343r5, 1);
            f885r0.append(C1743h.f4182Z5, 6);
            f885r0.append(C1743h.f4191a6, 7);
            f885r0.append(C1743h.f3988B5, 17);
            f885r0.append(C1743h.f3997C5, 18);
            f885r0.append(C1743h.f4006D5, 19);
            f885r0.append(C1743h.f4307n5, 90);
            f885r0.append(C1743h.f4181Z4, 26);
            f885r0.append(C1743h.f4102P5, 31);
            f885r0.append(C1743h.f4110Q5, 32);
            f885r0.append(C1743h.f3979A5, 10);
            f885r0.append(C1743h.f4415z5, 9);
            f885r0.append(C1743h.f4218d6, 13);
            f885r0.append(C1743h.f4245g6, 16);
            f885r0.append(C1743h.f4227e6, 14);
            f885r0.append(C1743h.f4200b6, 11);
            f885r0.append(C1743h.f4236f6, 15);
            f885r0.append(C1743h.f4209c6, 12);
            f885r0.append(C1743h.f4158W5, 38);
            f885r0.append(C1743h.f4046I5, 37);
            f885r0.append(C1743h.f4038H5, 39);
            f885r0.append(C1743h.f4150V5, 40);
            f885r0.append(C1743h.f4030G5, 20);
            f885r0.append(C1743h.f4142U5, 36);
            f885r0.append(C1743h.f4406y5, 5);
            f885r0.append(C1743h.f4054J5, 91);
            f885r0.append(C1743h.f4118R5, 91);
            f885r0.append(C1743h.f4078M5, 91);
            f885r0.append(C1743h.f4352s5, 91);
            f885r0.append(C1743h.f4334q5, 91);
            f885r0.append(C1743h.f4208c5, 23);
            f885r0.append(C1743h.f4226e5, 27);
            f885r0.append(C1743h.f4244g5, 30);
            f885r0.append(C1743h.f4253h5, 8);
            f885r0.append(C1743h.f4217d5, 33);
            f885r0.append(C1743h.f4235f5, 2);
            f885r0.append(C1743h.f4190a5, 22);
            f885r0.append(C1743h.f4199b5, 21);
            f885r0.append(C1743h.f4166X5, 41);
            f885r0.append(C1743h.f4014E5, 42);
            f885r0.append(C1743h.f4325p5, 41);
            f885r0.append(C1743h.f4316o5, 42);
            f885r0.append(C1743h.f4254h6, 76);
            f885r0.append(C1743h.f4379v5, 61);
            f885r0.append(C1743h.f4397x5, 62);
            f885r0.append(C1743h.f4388w5, 63);
            f885r0.append(C1743h.f4174Y5, 69);
            f885r0.append(C1743h.f4022F5, 70);
            f885r0.append(C1743h.f4289l5, 71);
            f885r0.append(C1743h.f4271j5, 72);
            f885r0.append(C1743h.f4280k5, 73);
            f885r0.append(C1743h.f4298m5, 74);
            f885r0.append(C1743h.f4262i5, 75);
        }

        /* renamed from: a */
        public void m4511a(C0195b c0195b) {
            this.f912a = c0195b.f912a;
            this.f918d = c0195b.f918d;
            this.f914b = c0195b.f914b;
            this.f920e = c0195b.f920e;
            this.f922f = c0195b.f922f;
            this.f924g = c0195b.f924g;
            this.f926h = c0195b.f926h;
            this.f928i = c0195b.f928i;
            this.f930j = c0195b.f930j;
            this.f932k = c0195b.f932k;
            this.f934l = c0195b.f934l;
            this.f936m = c0195b.f936m;
            this.f938n = c0195b.f938n;
            this.f940o = c0195b.f940o;
            this.f942p = c0195b.f942p;
            this.f944q = c0195b.f944q;
            this.f946r = c0195b.f946r;
            this.f947s = c0195b.f947s;
            this.f948t = c0195b.f948t;
            this.f949u = c0195b.f949u;
            this.f950v = c0195b.f950v;
            this.f951w = c0195b.f951w;
            this.f952x = c0195b.f952x;
            this.f953y = c0195b.f953y;
            this.f954z = c0195b.f954z;
            this.f886A = c0195b.f886A;
            this.f887B = c0195b.f887B;
            this.f888C = c0195b.f888C;
            this.f889D = c0195b.f889D;
            this.f890E = c0195b.f890E;
            this.f891F = c0195b.f891F;
            this.f892G = c0195b.f892G;
            this.f893H = c0195b.f893H;
            this.f894I = c0195b.f894I;
            this.f895J = c0195b.f895J;
            this.f896K = c0195b.f896K;
            this.f897L = c0195b.f897L;
            this.f898M = c0195b.f898M;
            this.f899N = c0195b.f899N;
            this.f900O = c0195b.f900O;
            this.f901P = c0195b.f901P;
            this.f902Q = c0195b.f902Q;
            this.f903R = c0195b.f903R;
            this.f904S = c0195b.f904S;
            this.f905T = c0195b.f905T;
            this.f906U = c0195b.f906U;
            this.f907V = c0195b.f907V;
            this.f908W = c0195b.f908W;
            this.f909X = c0195b.f909X;
            this.f910Y = c0195b.f910Y;
            this.f911Z = c0195b.f911Z;
            this.f913a0 = c0195b.f913a0;
            this.f915b0 = c0195b.f915b0;
            this.f917c0 = c0195b.f917c0;
            this.f919d0 = c0195b.f919d0;
            this.f921e0 = c0195b.f921e0;
            this.f923f0 = c0195b.f923f0;
            this.f925g0 = c0195b.f925g0;
            this.f927h0 = c0195b.f927h0;
            this.f929i0 = c0195b.f929i0;
            this.f931j0 = c0195b.f931j0;
            this.f937m0 = c0195b.f937m0;
            int[] iArr = c0195b.f933k0;
            if (iArr == null || c0195b.f935l0 != null) {
                this.f933k0 = null;
            } else {
                this.f933k0 = Arrays.copyOf(iArr, iArr.length);
            }
            this.f935l0 = c0195b.f935l0;
            this.f939n0 = c0195b.f939n0;
            this.f941o0 = c0195b.f941o0;
            this.f943p0 = c0195b.f943p0;
            this.f945q0 = c0195b.f945q0;
        }

        /* renamed from: b */
        public void m4510b(Context context, AttributeSet attributeSet) {
            StringBuilder sb;
            String str;
            TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C1743h.f4173Y4);
            this.f914b = true;
            int indexCount = obtainStyledAttributes.getIndexCount();
            for (int i = 0; i < indexCount; i++) {
                int index = obtainStyledAttributes.getIndex(i);
                int i2 = f885r0.get(index);
                switch (i2) {
                    case 1:
                        this.f946r = C0192d.m4529l(obtainStyledAttributes, index, this.f946r);
                        break;
                    case 2:
                        this.f896K = obtainStyledAttributes.getDimensionPixelSize(index, this.f896K);
                        break;
                    case 3:
                        this.f944q = C0192d.m4529l(obtainStyledAttributes, index, this.f944q);
                        break;
                    case 4:
                        this.f942p = C0192d.m4529l(obtainStyledAttributes, index, this.f942p);
                        break;
                    case 5:
                        this.f886A = obtainStyledAttributes.getString(index);
                        break;
                    case 6:
                        this.f890E = obtainStyledAttributes.getDimensionPixelOffset(index, this.f890E);
                        break;
                    case 7:
                        this.f891F = obtainStyledAttributes.getDimensionPixelOffset(index, this.f891F);
                        break;
                    case 8:
                        if (Build.VERSION.SDK_INT >= 17) {
                            this.f897L = obtainStyledAttributes.getDimensionPixelSize(index, this.f897L);
                            break;
                        } else {
                            break;
                        }
                    case 9:
                        this.f952x = C0192d.m4529l(obtainStyledAttributes, index, this.f952x);
                        break;
                    case 10:
                        this.f951w = C0192d.m4529l(obtainStyledAttributes, index, this.f951w);
                        break;
                    case 11:
                        this.f903R = obtainStyledAttributes.getDimensionPixelSize(index, this.f903R);
                        break;
                    case 12:
                        this.f904S = obtainStyledAttributes.getDimensionPixelSize(index, this.f904S);
                        break;
                    case 13:
                        this.f900O = obtainStyledAttributes.getDimensionPixelSize(index, this.f900O);
                        break;
                    case 14:
                        this.f902Q = obtainStyledAttributes.getDimensionPixelSize(index, this.f902Q);
                        break;
                    case 15:
                        this.f905T = obtainStyledAttributes.getDimensionPixelSize(index, this.f905T);
                        break;
                    case 16:
                        this.f901P = obtainStyledAttributes.getDimensionPixelSize(index, this.f901P);
                        break;
                    case 17:
                        this.f922f = obtainStyledAttributes.getDimensionPixelOffset(index, this.f922f);
                        break;
                    case 18:
                        this.f924g = obtainStyledAttributes.getDimensionPixelOffset(index, this.f924g);
                        break;
                    case 19:
                        this.f926h = obtainStyledAttributes.getFloat(index, this.f926h);
                        break;
                    case 20:
                        this.f953y = obtainStyledAttributes.getFloat(index, this.f953y);
                        break;
                    case 21:
                        this.f920e = obtainStyledAttributes.getLayoutDimension(index, this.f920e);
                        break;
                    case 22:
                        this.f918d = obtainStyledAttributes.getLayoutDimension(index, this.f918d);
                        break;
                    case 23:
                        this.f893H = obtainStyledAttributes.getDimensionPixelSize(index, this.f893H);
                        break;
                    case 24:
                        this.f930j = C0192d.m4529l(obtainStyledAttributes, index, this.f930j);
                        break;
                    case 25:
                        this.f932k = C0192d.m4529l(obtainStyledAttributes, index, this.f932k);
                        break;
                    case 26:
                        this.f892G = obtainStyledAttributes.getInt(index, this.f892G);
                        break;
                    case 27:
                        this.f894I = obtainStyledAttributes.getDimensionPixelSize(index, this.f894I);
                        break;
                    case 28:
                        this.f934l = C0192d.m4529l(obtainStyledAttributes, index, this.f934l);
                        break;
                    case 29:
                        this.f936m = C0192d.m4529l(obtainStyledAttributes, index, this.f936m);
                        break;
                    case 30:
                        if (Build.VERSION.SDK_INT >= 17) {
                            this.f898M = obtainStyledAttributes.getDimensionPixelSize(index, this.f898M);
                            break;
                        } else {
                            break;
                        }
                    case 31:
                        this.f949u = C0192d.m4529l(obtainStyledAttributes, index, this.f949u);
                        break;
                    case 32:
                        this.f950v = C0192d.m4529l(obtainStyledAttributes, index, this.f950v);
                        break;
                    case 33:
                        this.f895J = obtainStyledAttributes.getDimensionPixelSize(index, this.f895J);
                        break;
                    case 34:
                        this.f940o = C0192d.m4529l(obtainStyledAttributes, index, this.f940o);
                        break;
                    case 35:
                        this.f938n = C0192d.m4529l(obtainStyledAttributes, index, this.f938n);
                        break;
                    case C1743h.f3975A1 /* 36 */:
                        this.f954z = obtainStyledAttributes.getFloat(index, this.f954z);
                        break;
                    case 37:
                        this.f908W = obtainStyledAttributes.getFloat(index, this.f908W);
                        break;
                    case C1743h.f4022F5 /* 38 */:
                        this.f907V = obtainStyledAttributes.getFloat(index, this.f907V);
                        break;
                    case C1743h.f4030G5 /* 39 */:
                        this.f909X = obtainStyledAttributes.getInt(index, this.f909X);
                        break;
                    case C1743h.f4038H5 /* 40 */:
                        this.f910Y = obtainStyledAttributes.getInt(index, this.f910Y);
                        break;
                    case C1743h.f4046I5 /* 41 */:
                        C0192d.m4528m(this, obtainStyledAttributes, index, 0);
                        break;
                    case C1743h.f4054J5 /* 42 */:
                        C0192d.m4528m(this, obtainStyledAttributes, index, 1);
                        break;
                    default:
                        switch (i2) {
                            case 61:
                                this.f887B = C0192d.m4529l(obtainStyledAttributes, index, this.f887B);
                                continue;
                            case 62:
                                this.f888C = obtainStyledAttributes.getDimensionPixelSize(index, this.f888C);
                                continue;
                            case 63:
                                this.f889D = obtainStyledAttributes.getFloat(index, this.f889D);
                                continue;
                            default:
                                switch (i2) {
                                    case 69:
                                        this.f923f0 = obtainStyledAttributes.getFloat(index, 1.0f);
                                        break;
                                    case 70:
                                        this.f925g0 = obtainStyledAttributes.getFloat(index, 1.0f);
                                        break;
                                    case 71:
                                        Log.e("ConstraintSet", "CURRENTLY UNSUPPORTED");
                                        break;
                                    case 72:
                                        this.f927h0 = obtainStyledAttributes.getInt(index, this.f927h0);
                                        break;
                                    case 73:
                                        this.f929i0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f929i0);
                                        break;
                                    case 74:
                                        this.f935l0 = obtainStyledAttributes.getString(index);
                                        break;
                                    case 75:
                                        this.f943p0 = obtainStyledAttributes.getBoolean(index, this.f943p0);
                                        break;
                                    case 76:
                                        this.f945q0 = obtainStyledAttributes.getInt(index, this.f945q0);
                                        break;
                                    case 77:
                                        this.f947s = C0192d.m4529l(obtainStyledAttributes, index, this.f947s);
                                        break;
                                    case 78:
                                        this.f948t = C0192d.m4529l(obtainStyledAttributes, index, this.f948t);
                                        break;
                                    case 79:
                                        this.f906U = obtainStyledAttributes.getDimensionPixelSize(index, this.f906U);
                                        break;
                                    case 80:
                                        this.f899N = obtainStyledAttributes.getDimensionPixelSize(index, this.f899N);
                                        break;
                                    case 81:
                                        this.f911Z = obtainStyledAttributes.getInt(index, this.f911Z);
                                        break;
                                    case 82:
                                        this.f913a0 = obtainStyledAttributes.getInt(index, this.f913a0);
                                        break;
                                    case 83:
                                        this.f917c0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f917c0);
                                        break;
                                    case 84:
                                        this.f915b0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f915b0);
                                        break;
                                    case 85:
                                        this.f921e0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f921e0);
                                        break;
                                    case 86:
                                        this.f919d0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f919d0);
                                        break;
                                    case 87:
                                        this.f939n0 = obtainStyledAttributes.getBoolean(index, this.f939n0);
                                        break;
                                    case 88:
                                        this.f941o0 = obtainStyledAttributes.getBoolean(index, this.f941o0);
                                        break;
                                    case 89:
                                        this.f937m0 = obtainStyledAttributes.getString(index);
                                        break;
                                    case 90:
                                        this.f928i = obtainStyledAttributes.getBoolean(index, this.f928i);
                                        break;
                                    case 91:
                                        sb = new StringBuilder();
                                        str = "unused attribute 0x";
                                        sb.append(str);
                                        sb.append(Integer.toHexString(index));
                                        sb.append("   ");
                                        sb.append(f885r0.get(index));
                                        Log.w("ConstraintSet", sb.toString());
                                        continue;
                                    default:
                                        sb = new StringBuilder();
                                        str = "Unknown attribute 0x";
                                        sb.append(str);
                                        sb.append(Integer.toHexString(index));
                                        sb.append("   ");
                                        sb.append(f885r0.get(index));
                                        Log.w("ConstraintSet", sb.toString());
                                        continue;
                                }
                        }
                }
            }
            obtainStyledAttributes.recycle();
        }
    }

    /* renamed from: androidx.constraintlayout.widget.d$c */
    /* loaded from: classes.dex */
    public static class C0196c {

        /* renamed from: o */
        public static SparseIntArray f955o;

        /* renamed from: a */
        public boolean f956a = false;

        /* renamed from: b */
        public int f957b = -1;

        /* renamed from: c */
        public int f958c = 0;

        /* renamed from: d */
        public String f959d = null;

        /* renamed from: e */
        public int f960e = -1;

        /* renamed from: f */
        public int f961f = 0;

        /* renamed from: g */
        public float f962g = Float.NaN;

        /* renamed from: h */
        public int f963h = -1;

        /* renamed from: i */
        public float f964i = Float.NaN;

        /* renamed from: j */
        public float f965j = Float.NaN;

        /* renamed from: k */
        public int f966k = -1;

        /* renamed from: l */
        public String f967l = null;

        /* renamed from: m */
        public int f968m = -3;

        /* renamed from: n */
        public int f969n = -1;

        static {
            SparseIntArray sparseIntArray = new SparseIntArray();
            f955o = sparseIntArray;
            sparseIntArray.append(C1743h.f4362t6, 1);
            f955o.append(C1743h.f4380v6, 2);
            f955o.append(C1743h.f4416z6, 3);
            f955o.append(C1743h.f4353s6, 4);
            f955o.append(C1743h.f4344r6, 5);
            f955o.append(C1743h.f4335q6, 6);
            f955o.append(C1743h.f4371u6, 7);
            f955o.append(C1743h.f4407y6, 8);
            f955o.append(C1743h.f4398x6, 9);
            f955o.append(C1743h.f4389w6, 10);
        }

        /* renamed from: a */
        public void m4509a(C0196c c0196c) {
            this.f956a = c0196c.f956a;
            this.f957b = c0196c.f957b;
            this.f959d = c0196c.f959d;
            this.f960e = c0196c.f960e;
            this.f961f = c0196c.f961f;
            this.f964i = c0196c.f964i;
            this.f962g = c0196c.f962g;
            this.f963h = c0196c.f963h;
        }

        /* renamed from: b */
        public void m4508b(Context context, AttributeSet attributeSet) {
            TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C1743h.f4326p6);
            this.f956a = true;
            int indexCount = obtainStyledAttributes.getIndexCount();
            for (int i = 0; i < indexCount; i++) {
                int index = obtainStyledAttributes.getIndex(i);
                switch (f955o.get(index)) {
                    case 1:
                        this.f964i = obtainStyledAttributes.getFloat(index, this.f964i);
                        break;
                    case 2:
                        this.f960e = obtainStyledAttributes.getInt(index, this.f960e);
                        break;
                    case 3:
                        this.f959d = obtainStyledAttributes.peekValue(index).type == 3 ? obtainStyledAttributes.getString(index) : C1505b.f3336c[obtainStyledAttributes.getInteger(index, 0)];
                        break;
                    case 4:
                        this.f961f = obtainStyledAttributes.getInt(index, 0);
                        break;
                    case 5:
                        this.f957b = C0192d.m4529l(obtainStyledAttributes, index, this.f957b);
                        break;
                    case 6:
                        this.f958c = obtainStyledAttributes.getInteger(index, this.f958c);
                        break;
                    case 7:
                        this.f962g = obtainStyledAttributes.getFloat(index, this.f962g);
                        break;
                    case 8:
                        this.f966k = obtainStyledAttributes.getInteger(index, this.f966k);
                        break;
                    case 9:
                        this.f965j = obtainStyledAttributes.getFloat(index, this.f965j);
                        break;
                    case 10:
                        int i2 = obtainStyledAttributes.peekValue(index).type;
                        if (i2 == 1) {
                            int resourceId = obtainStyledAttributes.getResourceId(index, -1);
                            this.f969n = resourceId;
                            if (resourceId == -1) {
                                break;
                            }
                            this.f968m = -2;
                            break;
                        } else if (i2 != 3) {
                            this.f968m = obtainStyledAttributes.getInteger(index, this.f969n);
                            break;
                        } else {
                            String string = obtainStyledAttributes.getString(index);
                            this.f967l = string;
                            if (string.indexOf("/") <= 0) {
                                this.f968m = -1;
                                break;
                            } else {
                                this.f969n = obtainStyledAttributes.getResourceId(index, -1);
                                this.f968m = -2;
                            }
                        }
                }
            }
            obtainStyledAttributes.recycle();
        }
    }

    /* renamed from: androidx.constraintlayout.widget.d$d */
    /* loaded from: classes.dex */
    public static class C0197d {

        /* renamed from: a */
        public boolean f970a = false;

        /* renamed from: b */
        public int f971b = 0;

        /* renamed from: c */
        public int f972c = 0;

        /* renamed from: d */
        public float f973d = 1.0f;

        /* renamed from: e */
        public float f974e = Float.NaN;

        /* renamed from: a */
        public void m4507a(C0197d c0197d) {
            this.f970a = c0197d.f970a;
            this.f971b = c0197d.f971b;
            this.f973d = c0197d.f973d;
            this.f974e = c0197d.f974e;
            this.f972c = c0197d.f972c;
        }

        /* renamed from: b */
        public void m4506b(Context context, AttributeSet attributeSet) {
            TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C1743h.f4079M6);
            this.f970a = true;
            int indexCount = obtainStyledAttributes.getIndexCount();
            for (int i = 0; i < indexCount; i++) {
                int index = obtainStyledAttributes.getIndex(i);
                if (index == C1743h.f4095O6) {
                    this.f973d = obtainStyledAttributes.getFloat(index, this.f973d);
                } else if (index == C1743h.f4087N6) {
                    this.f971b = obtainStyledAttributes.getInt(index, this.f971b);
                    this.f971b = C0192d.f857f[this.f971b];
                } else if (index == C1743h.f4111Q6) {
                    this.f972c = obtainStyledAttributes.getInt(index, this.f972c);
                } else if (index == C1743h.f4103P6) {
                    this.f974e = obtainStyledAttributes.getFloat(index, this.f974e);
                }
            }
            obtainStyledAttributes.recycle();
        }
    }

    /* renamed from: androidx.constraintlayout.widget.d$e */
    /* loaded from: classes.dex */
    public static class C0198e {

        /* renamed from: o */
        public static SparseIntArray f975o;

        /* renamed from: a */
        public boolean f976a = false;

        /* renamed from: b */
        public float f977b = 0.0f;

        /* renamed from: c */
        public float f978c = 0.0f;

        /* renamed from: d */
        public float f979d = 0.0f;

        /* renamed from: e */
        public float f980e = 1.0f;

        /* renamed from: f */
        public float f981f = 1.0f;

        /* renamed from: g */
        public float f982g = Float.NaN;

        /* renamed from: h */
        public float f983h = Float.NaN;

        /* renamed from: i */
        public int f984i = -1;

        /* renamed from: j */
        public float f985j = 0.0f;

        /* renamed from: k */
        public float f986k = 0.0f;

        /* renamed from: l */
        public float f987l = 0.0f;

        /* renamed from: m */
        public boolean f988m = false;

        /* renamed from: n */
        public float f989n = 0.0f;

        static {
            SparseIntArray sparseIntArray = new SparseIntArray();
            f975o = sparseIntArray;
            sparseIntArray.append(C1743h.f4291l7, 1);
            f975o.append(C1743h.f4300m7, 2);
            f975o.append(C1743h.f4309n7, 3);
            f975o.append(C1743h.f4273j7, 4);
            f975o.append(C1743h.f4282k7, 5);
            f975o.append(C1743h.f4237f7, 6);
            f975o.append(C1743h.f4246g7, 7);
            f975o.append(C1743h.f4255h7, 8);
            f975o.append(C1743h.f4264i7, 9);
            f975o.append(C1743h.f4318o7, 10);
            f975o.append(C1743h.f4327p7, 11);
            f975o.append(C1743h.f4336q7, 12);
        }

        /* renamed from: a */
        public void m4505a(C0198e c0198e) {
            this.f976a = c0198e.f976a;
            this.f977b = c0198e.f977b;
            this.f978c = c0198e.f978c;
            this.f979d = c0198e.f979d;
            this.f980e = c0198e.f980e;
            this.f981f = c0198e.f981f;
            this.f982g = c0198e.f982g;
            this.f983h = c0198e.f983h;
            this.f984i = c0198e.f984i;
            this.f985j = c0198e.f985j;
            this.f986k = c0198e.f986k;
            this.f987l = c0198e.f987l;
            this.f988m = c0198e.f988m;
            this.f989n = c0198e.f989n;
        }

        /* renamed from: b */
        public void m4504b(Context context, AttributeSet attributeSet) {
            TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C1743h.f4228e7);
            this.f976a = true;
            int indexCount = obtainStyledAttributes.getIndexCount();
            for (int i = 0; i < indexCount; i++) {
                int index = obtainStyledAttributes.getIndex(i);
                switch (f975o.get(index)) {
                    case 1:
                        this.f977b = obtainStyledAttributes.getFloat(index, this.f977b);
                        break;
                    case 2:
                        this.f978c = obtainStyledAttributes.getFloat(index, this.f978c);
                        break;
                    case 3:
                        this.f979d = obtainStyledAttributes.getFloat(index, this.f979d);
                        break;
                    case 4:
                        this.f980e = obtainStyledAttributes.getFloat(index, this.f980e);
                        break;
                    case 5:
                        this.f981f = obtainStyledAttributes.getFloat(index, this.f981f);
                        break;
                    case 6:
                        this.f982g = obtainStyledAttributes.getDimension(index, this.f982g);
                        break;
                    case 7:
                        this.f983h = obtainStyledAttributes.getDimension(index, this.f983h);
                        break;
                    case 8:
                        this.f985j = obtainStyledAttributes.getDimension(index, this.f985j);
                        break;
                    case 9:
                        this.f986k = obtainStyledAttributes.getDimension(index, this.f986k);
                        break;
                    case 10:
                        if (Build.VERSION.SDK_INT >= 21) {
                            this.f987l = obtainStyledAttributes.getDimension(index, this.f987l);
                            break;
                        } else {
                            break;
                        }
                    case 11:
                        if (Build.VERSION.SDK_INT >= 21) {
                            this.f988m = true;
                            this.f989n = obtainStyledAttributes.getDimension(index, this.f989n);
                            break;
                        } else {
                            break;
                        }
                    case 12:
                        this.f984i = C0192d.m4529l(obtainStyledAttributes, index, this.f984i);
                        break;
                }
            }
            obtainStyledAttributes.recycle();
        }
    }

    static {
        f858g.append(C1743h.f3974A0, 25);
        f858g.append(C1743h.f3983B0, 26);
        f858g.append(C1743h.f4001D0, 29);
        f858g.append(C1743h.f4009E0, 30);
        f858g.append(C1743h.f4057K0, 36);
        f858g.append(C1743h.f4049J0, 35);
        f858g.append(C1743h.f4248h0, 4);
        f858g.append(C1743h.f4239g0, 3);
        f858g.append(C1743h.f4203c0, 1);
        f858g.append(C1743h.f4221e0, 91);
        f858g.append(C1743h.f4212d0, 92);
        f858g.append(C1743h.f4129T0, 6);
        f858g.append(C1743h.f4137U0, 7);
        f858g.append(C1743h.f4311o0, 17);
        f858g.append(C1743h.f4320p0, 18);
        f858g.append(C1743h.f4329q0, 19);
        f858g.append(C1743h.f4168Y, 99);
        f858g.append(C1743h.f4364u, 27);
        f858g.append(C1743h.f4017F0, 32);
        f858g.append(C1743h.f4025G0, 33);
        f858g.append(C1743h.f4302n0, 10);
        f858g.append(C1743h.f4293m0, 9);
        f858g.append(C1743h.f4161X0, 13);
        f858g.append(C1743h.f4186a1, 16);
        f858g.append(C1743h.f4169Y0, 14);
        f858g.append(C1743h.f4145V0, 11);
        f858g.append(C1743h.f4177Z0, 15);
        f858g.append(C1743h.f4153W0, 12);
        f858g.append(C1743h.f4081N0, 40);
        f858g.append(C1743h.f4401y0, 39);
        f858g.append(C1743h.f4392x0, 41);
        f858g.append(C1743h.f4073M0, 42);
        f858g.append(C1743h.f4383w0, 20);
        f858g.append(C1743h.f4065L0, 37);
        f858g.append(C1743h.f4284l0, 5);
        f858g.append(C1743h.f4410z0, 87);
        f858g.append(C1743h.f4041I0, 87);
        f858g.append(C1743h.f3992C0, 87);
        f858g.append(C1743h.f4230f0, 87);
        f858g.append(C1743h.f4194b0, 87);
        f858g.append(C1743h.f4409z, 24);
        f858g.append(C1743h.f3982B, 28);
        f858g.append(C1743h.f4080N, 31);
        f858g.append(C1743h.f4088O, 8);
        f858g.append(C1743h.f3973A, 34);
        f858g.append(C1743h.f3991C, 2);
        f858g.append(C1743h.f4391x, 23);
        f858g.append(C1743h.f4400y, 21);
        f858g.append(C1743h.f4089O0, 95);
        f858g.append(C1743h.f4338r0, 96);
        f858g.append(C1743h.f4382w, 22);
        f858g.append(C1743h.f4000D, 43);
        f858g.append(C1743h.f4104Q, 44);
        f858g.append(C1743h.f4064L, 45);
        f858g.append(C1743h.f4072M, 46);
        f858g.append(C1743h.f4056K, 60);
        f858g.append(C1743h.f4040I, 47);
        f858g.append(C1743h.f4048J, 48);
        f858g.append(C1743h.f4008E, 49);
        f858g.append(C1743h.f4016F, 50);
        f858g.append(C1743h.f4024G, 51);
        f858g.append(C1743h.f4032H, 52);
        f858g.append(C1743h.f4096P, 53);
        f858g.append(C1743h.f4097P0, 54);
        f858g.append(C1743h.f4347s0, 55);
        f858g.append(C1743h.f4105Q0, 56);
        f858g.append(C1743h.f4356t0, 57);
        f858g.append(C1743h.f4113R0, 58);
        f858g.append(C1743h.f4365u0, 59);
        f858g.append(C1743h.f4257i0, 61);
        f858g.append(C1743h.f4275k0, 62);
        f858g.append(C1743h.f4266j0, 63);
        f858g.append(C1743h.f4112R, 64);
        f858g.append(C1743h.f4276k1, 65);
        f858g.append(C1743h.f4160X, 66);
        f858g.append(C1743h.f4285l1, 67);
        f858g.append(C1743h.f4213d1, 79);
        f858g.append(C1743h.f4373v, 38);
        f858g.append(C1743h.f4204c1, 68);
        f858g.append(C1743h.f4121S0, 69);
        f858g.append(C1743h.f4374v0, 70);
        f858g.append(C1743h.f4195b1, 97);
        f858g.append(C1743h.f4144V, 71);
        f858g.append(C1743h.f4128T, 72);
        f858g.append(C1743h.f4136U, 73);
        f858g.append(C1743h.f4152W, 74);
        f858g.append(C1743h.f4120S, 75);
        f858g.append(C1743h.f4222e1, 76);
        f858g.append(C1743h.f4033H0, 77);
        f858g.append(C1743h.f4294m1, 78);
        f858g.append(C1743h.f4185a0, 80);
        f858g.append(C1743h.f4176Z, 81);
        f858g.append(C1743h.f4231f1, 82);
        f858g.append(C1743h.f4267j1, 83);
        f858g.append(C1743h.f4258i1, 84);
        f858g.append(C1743h.f4249h1, 85);
        f858g.append(C1743h.f4240g1, 86);
        SparseIntArray sparseIntArray = f859h;
        int i = C1743h.f4116R3;
        sparseIntArray.append(i, 6);
        f859h.append(i, 7);
        f859h.append(C1743h.f4075M2, 27);
        f859h.append(C1743h.f4140U3, 13);
        f859h.append(C1743h.f4164X3, 16);
        f859h.append(C1743h.f4148V3, 14);
        f859h.append(C1743h.f4124S3, 11);
        f859h.append(C1743h.f4156W3, 15);
        f859h.append(C1743h.f4132T3, 12);
        f859h.append(C1743h.f4068L3, 40);
        f859h.append(C1743h.f4012E3, 39);
        f859h.append(C1743h.f4004D3, 41);
        f859h.append(C1743h.f4060K3, 42);
        f859h.append(C1743h.f3995C3, 20);
        f859h.append(C1743h.f4052J3, 37);
        f859h.append(C1743h.f4386w3, 5);
        f859h.append(C1743h.f4020F3, 87);
        f859h.append(C1743h.f4044I3, 87);
        f859h.append(C1743h.f4028G3, 87);
        f859h.append(C1743h.f4359t3, 87);
        f859h.append(C1743h.f4350s3, 87);
        f859h.append(C1743h.f4115R2, 24);
        f859h.append(C1743h.f4131T2, 28);
        f859h.append(C1743h.f4233f3, 31);
        f859h.append(C1743h.f4242g3, 8);
        f859h.append(C1743h.f4123S2, 34);
        f859h.append(C1743h.f4139U2, 2);
        f859h.append(C1743h.f4099P2, 23);
        f859h.append(C1743h.f4107Q2, 21);
        f859h.append(C1743h.f4076M3, 95);
        f859h.append(C1743h.f4395x3, 96);
        f859h.append(C1743h.f4091O2, 22);
        f859h.append(C1743h.f4147V2, 43);
        f859h.append(C1743h.f4260i3, 44);
        f859h.append(C1743h.f4215d3, 45);
        f859h.append(C1743h.f4224e3, 46);
        f859h.append(C1743h.f4206c3, 60);
        f859h.append(C1743h.f4188a3, 47);
        f859h.append(C1743h.f4197b3, 48);
        f859h.append(C1743h.f4155W2, 49);
        f859h.append(C1743h.f4163X2, 50);
        f859h.append(C1743h.f4171Y2, 51);
        f859h.append(C1743h.f4179Z2, 52);
        f859h.append(C1743h.f4251h3, 53);
        f859h.append(C1743h.f4084N3, 54);
        f859h.append(C1743h.f4404y3, 55);
        f859h.append(C1743h.f4092O3, 56);
        f859h.append(C1743h.f4413z3, 57);
        f859h.append(C1743h.f4100P3, 58);
        f859h.append(C1743h.f3977A3, 59);
        f859h.append(C1743h.f4377v3, 62);
        f859h.append(C1743h.f4368u3, 63);
        f859h.append(C1743h.f4269j3, 64);
        f859h.append(C1743h.f4261i4, 65);
        f859h.append(C1743h.f4323p3, 66);
        f859h.append(C1743h.f4270j4, 67);
        f859h.append(C1743h.f4189a4, 79);
        f859h.append(C1743h.f4083N2, 38);
        f859h.append(C1743h.f4198b4, 98);
        f859h.append(C1743h.f4180Z3, 68);
        f859h.append(C1743h.f4108Q3, 69);
        f859h.append(C1743h.f3986B3, 70);
        f859h.append(C1743h.f4305n3, 71);
        f859h.append(C1743h.f4287l3, 72);
        f859h.append(C1743h.f4296m3, 73);
        f859h.append(C1743h.f4314o3, 74);
        f859h.append(C1743h.f4278k3, 75);
        f859h.append(C1743h.f4207c4, 76);
        f859h.append(C1743h.f4036H3, 77);
        f859h.append(C1743h.f4279k4, 78);
        f859h.append(C1743h.f4341r3, 80);
        f859h.append(C1743h.f4332q3, 81);
        f859h.append(C1743h.f4216d4, 82);
        f859h.append(C1743h.f4252h4, 83);
        f859h.append(C1743h.f4243g4, 84);
        f859h.append(C1743h.f4234f4, 85);
        f859h.append(C1743h.f4225e4, 86);
        f859h.append(C1743h.f4172Y3, 97);
    }

    /* renamed from: l */
    public static int m4529l(TypedArray typedArray, int i, int i2) {
        int resourceId = typedArray.getResourceId(i, i2);
        return resourceId == -1 ? typedArray.getInt(i, -1) : resourceId;
    }

    /* JADX WARN: Code restructure failed: missing block: B:14:0x001e, code lost:
        if (r4 == (-1)) goto L15;
     */
    /* JADX WARN: Removed duplicated region for block: B:22:0x002f  */
    /* JADX WARN: Removed duplicated region for block: B:26:0x003d  */
    /* renamed from: m */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static void m4528m(Object obj, TypedArray typedArray, int i, int i2) {
        int dimensionPixelSize;
        boolean z;
        int i3;
        if (obj == null) {
            return;
        }
        int i4 = typedArray.peekValue(i).type;
        if (i4 == 3) {
            m4527n(obj, typedArray.getString(i), i2);
            return;
        }
        int i5 = 0;
        if (i4 != 5) {
            dimensionPixelSize = typedArray.getInt(i, 0);
            if (dimensionPixelSize != -4) {
                if (dimensionPixelSize != -3) {
                    if (dimensionPixelSize != -2) {
                    }
                }
                z = false;
                if (obj instanceof ConstraintLayout.C0184b) {
                    ConstraintLayout.C0184b c0184b = (ConstraintLayout.C0184b) obj;
                    if (i2 == 0) {
                        ((ViewGroup.MarginLayoutParams) c0184b).width = i5;
                        c0184b.f770a0 = z;
                        return;
                    }
                    ((ViewGroup.MarginLayoutParams) c0184b).height = i5;
                    c0184b.f772b0 = z;
                    return;
                } else if (obj instanceof C0195b) {
                    C0195b c0195b = (C0195b) obj;
                    if (i2 == 0) {
                        c0195b.f918d = i5;
                        c0195b.f939n0 = z;
                        return;
                    }
                    c0195b.f920e = i5;
                    c0195b.f941o0 = z;
                    return;
                } else if (obj instanceof C0193a.C0194a) {
                    C0193a.C0194a c0194a = (C0193a.C0194a) obj;
                    if (i2 == 0) {
                        c0194a.m4514b(23, i5);
                        i3 = 80;
                    } else {
                        c0194a.m4514b(21, i5);
                        i3 = 81;
                    }
                    c0194a.m4512d(i3, z);
                    return;
                } else {
                    return;
                }
            }
            z = true;
            i5 = -2;
            if (obj instanceof ConstraintLayout.C0184b) {
            }
        } else {
            dimensionPixelSize = typedArray.getDimensionPixelSize(i, 0);
        }
        i5 = dimensionPixelSize;
        z = false;
        if (obj instanceof ConstraintLayout.C0184b) {
        }
    }

    /* renamed from: n */
    public static void m4527n(Object obj, String str, int i) {
        int i2;
        int i3;
        if (str == null) {
            return;
        }
        int indexOf = str.indexOf(61);
        int length = str.length();
        if (indexOf <= 0 || indexOf >= length - 1) {
            return;
        }
        String substring = str.substring(0, indexOf);
        String substring2 = str.substring(indexOf + 1);
        if (substring2.length() > 0) {
            String trim = substring.trim();
            String trim2 = substring2.trim();
            if ("ratio".equalsIgnoreCase(trim)) {
                if (obj instanceof ConstraintLayout.C0184b) {
                    ConstraintLayout.C0184b c0184b = (ConstraintLayout.C0184b) obj;
                    if (i == 0) {
                        ((ViewGroup.MarginLayoutParams) c0184b).width = 0;
                    } else {
                        ((ViewGroup.MarginLayoutParams) c0184b).height = 0;
                    }
                    m4526o(c0184b, trim2);
                    return;
                } else if (obj instanceof C0195b) {
                    ((C0195b) obj).f886A = trim2;
                    return;
                } else if (obj instanceof C0193a.C0194a) {
                    ((C0193a.C0194a) obj).m4513c(5, trim2);
                    return;
                } else {
                    return;
                }
            }
            try {
                if ("weight".equalsIgnoreCase(trim)) {
                    float parseFloat = Float.parseFloat(trim2);
                    if (obj instanceof ConstraintLayout.C0184b) {
                        ConstraintLayout.C0184b c0184b2 = (ConstraintLayout.C0184b) obj;
                        if (i == 0) {
                            ((ViewGroup.MarginLayoutParams) c0184b2).width = 0;
                            c0184b2.f754L = parseFloat;
                            return;
                        }
                        ((ViewGroup.MarginLayoutParams) c0184b2).height = 0;
                        c0184b2.f755M = parseFloat;
                    } else if (obj instanceof C0195b) {
                        C0195b c0195b = (C0195b) obj;
                        if (i == 0) {
                            c0195b.f918d = 0;
                            c0195b.f908W = parseFloat;
                            return;
                        }
                        c0195b.f920e = 0;
                        c0195b.f907V = parseFloat;
                    } else if (obj instanceof C0193a.C0194a) {
                        C0193a.C0194a c0194a = (C0193a.C0194a) obj;
                        if (i == 0) {
                            c0194a.m4514b(23, 0);
                            i3 = 39;
                        } else {
                            c0194a.m4514b(21, 0);
                            i3 = 40;
                        }
                        c0194a.m4515a(i3, parseFloat);
                    }
                } else if ("parent".equalsIgnoreCase(trim)) {
                    float max = Math.max(0.0f, Math.min(1.0f, Float.parseFloat(trim2)));
                    if (obj instanceof ConstraintLayout.C0184b) {
                        ConstraintLayout.C0184b c0184b3 = (ConstraintLayout.C0184b) obj;
                        if (i == 0) {
                            ((ViewGroup.MarginLayoutParams) c0184b3).width = 0;
                            c0184b3.f764V = max;
                            c0184b3.f758P = 2;
                            return;
                        }
                        ((ViewGroup.MarginLayoutParams) c0184b3).height = 0;
                        c0184b3.f765W = max;
                        c0184b3.f759Q = 2;
                    } else if (obj instanceof C0195b) {
                        C0195b c0195b2 = (C0195b) obj;
                        if (i == 0) {
                            c0195b2.f918d = 0;
                            c0195b2.f923f0 = max;
                            c0195b2.f911Z = 2;
                            return;
                        }
                        c0195b2.f920e = 0;
                        c0195b2.f925g0 = max;
                        c0195b2.f913a0 = 2;
                    } else if (obj instanceof C0193a.C0194a) {
                        C0193a.C0194a c0194a2 = (C0193a.C0194a) obj;
                        if (i == 0) {
                            c0194a2.m4514b(23, 0);
                            i2 = 54;
                        } else {
                            c0194a2.m4514b(21, 0);
                            i2 = 55;
                        }
                        c0194a2.m4514b(i2, 2);
                    }
                }
            } catch (NumberFormatException unused) {
            }
        }
    }

    /* renamed from: o */
    public static void m4526o(ConstraintLayout.C0184b c0184b, String str) {
        float f = Float.NaN;
        int i = -1;
        if (str != null) {
            int length = str.length();
            int indexOf = str.indexOf(44);
            int i2 = 0;
            if (indexOf > 0 && indexOf < length - 1) {
                String substring = str.substring(0, indexOf);
                if (substring.equalsIgnoreCase("W")) {
                    i = 0;
                } else if (substring.equalsIgnoreCase("H")) {
                    i = 1;
                }
                i2 = indexOf + 1;
            }
            int indexOf2 = str.indexOf(58);
            try {
                if (indexOf2 < 0 || indexOf2 >= length - 1) {
                    String substring2 = str.substring(i2);
                    if (substring2.length() > 0) {
                        f = Float.parseFloat(substring2);
                    }
                } else {
                    String substring3 = str.substring(i2, indexOf2);
                    String substring4 = str.substring(indexOf2 + 1);
                    if (substring3.length() > 0 && substring4.length() > 0) {
                        float parseFloat = Float.parseFloat(substring3);
                        float parseFloat2 = Float.parseFloat(substring4);
                        if (parseFloat > 0.0f && parseFloat2 > 0.0f) {
                            f = i == 1 ? Math.abs(parseFloat2 / parseFloat) : Math.abs(parseFloat / parseFloat2);
                        }
                    }
                }
            } catch (NumberFormatException unused) {
            }
        }
        c0184b.f751I = str;
        c0184b.f752J = f;
        c0184b.f753K = i;
    }

    /* renamed from: q */
    public static void m4524q(Context context, C0193a c0193a, TypedArray typedArray) {
        int dimensionPixelSize;
        int i;
        int i2;
        float f;
        int i3;
        int layoutDimension;
        boolean z;
        int i4;
        C0196c c0196c;
        StringBuilder sb;
        String str;
        int indexCount = typedArray.getIndexCount();
        C0193a.C0194a c0194a = new C0193a.C0194a();
        c0193a.f872h = c0194a;
        c0193a.f868d.f956a = false;
        c0193a.f869e.f914b = false;
        c0193a.f867c.f970a = false;
        c0193a.f870f.f976a = false;
        for (int i5 = 0; i5 < indexCount; i5++) {
            int index = typedArray.getIndex(i5);
            int i6 = 21;
            switch (f859h.get(index)) {
                case 2:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f896K);
                    i = 2;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 3:
                case 4:
                case 9:
                case 10:
                case 25:
                case 26:
                case 29:
                case 30:
                case 32:
                case 33:
                case 35:
                case C1743h.f3975A1 /* 36 */:
                case 61:
                case 88:
                case 89:
                case 90:
                case 91:
                case 92:
                default:
                    sb = new StringBuilder();
                    str = "Unknown attribute 0x";
                    sb.append(str);
                    sb.append(Integer.toHexString(index));
                    sb.append("   ");
                    sb.append(f858g.get(index));
                    Log.w("ConstraintSet", sb.toString());
                    break;
                case 5:
                    i2 = 5;
                    c0194a.m4513c(i2, typedArray.getString(index));
                    break;
                case 6:
                    dimensionPixelSize = typedArray.getDimensionPixelOffset(index, c0193a.f869e.f890E);
                    i = 6;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 7:
                    dimensionPixelSize = typedArray.getDimensionPixelOffset(index, c0193a.f869e.f891F);
                    i = 7;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 8:
                    if (Build.VERSION.SDK_INT >= 17) {
                        dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f897L);
                        i = 8;
                        c0194a.m4514b(i, dimensionPixelSize);
                        break;
                    } else {
                        break;
                    }
                case 11:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f903R);
                    i = 11;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 12:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f904S);
                    i = 12;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 13:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f900O);
                    i = 13;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 14:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f902Q);
                    i = 14;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 15:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f905T);
                    i = 15;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 16:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f901P);
                    i = 16;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 17:
                    c0194a.m4514b(17, typedArray.getDimensionPixelOffset(index, c0193a.f869e.f922f));
                    break;
                case 18:
                    dimensionPixelSize = typedArray.getDimensionPixelOffset(index, c0193a.f869e.f924g);
                    i = 18;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 19:
                    f = typedArray.getFloat(index, c0193a.f869e.f926h);
                    i3 = 19;
                    c0194a.m4515a(i3, f);
                    break;
                case 20:
                    f = typedArray.getFloat(index, c0193a.f869e.f953y);
                    i3 = 20;
                    c0194a.m4515a(i3, f);
                    break;
                case 21:
                    layoutDimension = typedArray.getLayoutDimension(index, c0193a.f869e.f920e);
                    c0194a.m4514b(i6, layoutDimension);
                    break;
                case 22:
                    dimensionPixelSize = f857f[typedArray.getInt(index, c0193a.f867c.f971b)];
                    i = 22;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 23:
                    dimensionPixelSize = typedArray.getLayoutDimension(index, c0193a.f869e.f918d);
                    i = 23;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 24:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f893H);
                    i = 24;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 27:
                    dimensionPixelSize = typedArray.getInt(index, c0193a.f869e.f892G);
                    i = 27;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 28:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f894I);
                    i = 28;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 31:
                    if (Build.VERSION.SDK_INT >= 17) {
                        dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f898M);
                        i = 31;
                        c0194a.m4514b(i, dimensionPixelSize);
                        break;
                    } else {
                        break;
                    }
                case 34:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f895J);
                    i = 34;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 37:
                    f = typedArray.getFloat(index, c0193a.f869e.f954z);
                    i3 = 37;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4022F5 /* 38 */:
                    dimensionPixelSize = typedArray.getResourceId(index, c0193a.f865a);
                    c0193a.f865a = dimensionPixelSize;
                    i = 38;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case C1743h.f4030G5 /* 39 */:
                    f = typedArray.getFloat(index, c0193a.f869e.f908W);
                    i3 = 39;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4038H5 /* 40 */:
                    f = typedArray.getFloat(index, c0193a.f869e.f907V);
                    i3 = 40;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4046I5 /* 41 */:
                    dimensionPixelSize = typedArray.getInt(index, c0193a.f869e.f909X);
                    i = 41;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case C1743h.f4054J5 /* 42 */:
                    dimensionPixelSize = typedArray.getInt(index, c0193a.f869e.f910Y);
                    i = 42;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case C1743h.f4062K5 /* 43 */:
                    f = typedArray.getFloat(index, c0193a.f867c.f973d);
                    i3 = 43;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4070L5 /* 44 */:
                    if (Build.VERSION.SDK_INT >= 21) {
                        i3 = 44;
                        c0194a.m4512d(44, true);
                        f = typedArray.getDimension(index, c0193a.f870f.f989n);
                        c0194a.m4515a(i3, f);
                        break;
                    } else {
                        break;
                    }
                case C1743h.f4078M5 /* 45 */:
                    f = typedArray.getFloat(index, c0193a.f870f.f978c);
                    i3 = 45;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4086N5 /* 46 */:
                    f = typedArray.getFloat(index, c0193a.f870f.f979d);
                    i3 = 46;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4094O5 /* 47 */:
                    f = typedArray.getFloat(index, c0193a.f870f.f980e);
                    i3 = 47;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4102P5 /* 48 */:
                    f = typedArray.getFloat(index, c0193a.f870f.f981f);
                    i3 = 48;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4110Q5 /* 49 */:
                    f = typedArray.getDimension(index, c0193a.f870f.f982g);
                    i3 = 49;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4118R5 /* 50 */:
                    f = typedArray.getDimension(index, c0193a.f870f.f983h);
                    i3 = 50;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4126S5 /* 51 */:
                    f = typedArray.getDimension(index, c0193a.f870f.f985j);
                    i3 = 51;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4134T5 /* 52 */:
                    f = typedArray.getDimension(index, c0193a.f870f.f986k);
                    i3 = 52;
                    c0194a.m4515a(i3, f);
                    break;
                case C1743h.f4142U5 /* 53 */:
                    if (Build.VERSION.SDK_INT >= 21) {
                        f = typedArray.getDimension(index, c0193a.f870f.f987l);
                        i3 = 53;
                        c0194a.m4515a(i3, f);
                        break;
                    } else {
                        break;
                    }
                case 54:
                    dimensionPixelSize = typedArray.getInt(index, c0193a.f869e.f911Z);
                    i = 54;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 55:
                    dimensionPixelSize = typedArray.getInt(index, c0193a.f869e.f913a0);
                    i = 55;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 56:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f915b0);
                    i = 56;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 57:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f917c0);
                    i = 57;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 58:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f919d0);
                    i = 58;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 59:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f921e0);
                    i = 59;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 60:
                    f = typedArray.getFloat(index, c0193a.f870f.f977b);
                    i3 = 60;
                    c0194a.m4515a(i3, f);
                    break;
                case 62:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f888C);
                    i = 62;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 63:
                    f = typedArray.getFloat(index, c0193a.f869e.f889D);
                    i3 = 63;
                    c0194a.m4515a(i3, f);
                    break;
                case 64:
                    dimensionPixelSize = m4529l(typedArray, index, c0193a.f868d.f957b);
                    i = 64;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 65:
                    c0194a.m4513c(65, typedArray.peekValue(index).type == 3 ? typedArray.getString(index) : C1505b.f3336c[typedArray.getInteger(index, 0)]);
                    break;
                case 66:
                    i = 66;
                    dimensionPixelSize = typedArray.getInt(index, 0);
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 67:
                    f = typedArray.getFloat(index, c0193a.f868d.f964i);
                    i3 = 67;
                    c0194a.m4515a(i3, f);
                    break;
                case 68:
                    f = typedArray.getFloat(index, c0193a.f867c.f974e);
                    i3 = 68;
                    c0194a.m4515a(i3, f);
                    break;
                case 69:
                    i3 = 69;
                    f = typedArray.getFloat(index, 1.0f);
                    c0194a.m4515a(i3, f);
                    break;
                case 70:
                    i3 = 70;
                    f = typedArray.getFloat(index, 1.0f);
                    c0194a.m4515a(i3, f);
                    break;
                case 71:
                    Log.e("ConstraintSet", "CURRENTLY UNSUPPORTED");
                    break;
                case 72:
                    dimensionPixelSize = typedArray.getInt(index, c0193a.f869e.f927h0);
                    i = 72;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 73:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f929i0);
                    i = 73;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 74:
                    i2 = 74;
                    c0194a.m4513c(i2, typedArray.getString(index));
                    break;
                case 75:
                    z = typedArray.getBoolean(index, c0193a.f869e.f943p0);
                    i4 = 75;
                    c0194a.m4512d(i4, z);
                    break;
                case 76:
                    dimensionPixelSize = typedArray.getInt(index, c0193a.f868d.f960e);
                    i = 76;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 77:
                    i2 = 77;
                    c0194a.m4513c(i2, typedArray.getString(index));
                    break;
                case 78:
                    dimensionPixelSize = typedArray.getInt(index, c0193a.f867c.f972c);
                    i = 78;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 79:
                    f = typedArray.getFloat(index, c0193a.f868d.f962g);
                    i3 = 79;
                    c0194a.m4515a(i3, f);
                    break;
                case 80:
                    z = typedArray.getBoolean(index, c0193a.f869e.f939n0);
                    i4 = 80;
                    c0194a.m4512d(i4, z);
                    break;
                case 81:
                    z = typedArray.getBoolean(index, c0193a.f869e.f941o0);
                    i4 = 81;
                    c0194a.m4512d(i4, z);
                    break;
                case 82:
                    dimensionPixelSize = typedArray.getInteger(index, c0193a.f868d.f958c);
                    i = 82;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 83:
                    dimensionPixelSize = m4529l(typedArray, index, c0193a.f870f.f984i);
                    i = 83;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 84:
                    dimensionPixelSize = typedArray.getInteger(index, c0193a.f868d.f966k);
                    i = 84;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 85:
                    f = typedArray.getFloat(index, c0193a.f868d.f965j);
                    i3 = 85;
                    c0194a.m4515a(i3, f);
                    break;
                case 86:
                    int i7 = typedArray.peekValue(index).type;
                    i6 = 88;
                    if (i7 == 1) {
                        c0193a.f868d.f969n = typedArray.getResourceId(index, -1);
                        c0194a.m4514b(89, c0193a.f868d.f969n);
                        c0196c = c0193a.f868d;
                        if (c0196c.f969n == -1) {
                            break;
                        }
                        c0196c.f968m = -2;
                        c0194a.m4514b(88, -2);
                        break;
                    } else if (i7 != 3) {
                        C0196c c0196c2 = c0193a.f868d;
                        c0196c2.f968m = typedArray.getInteger(index, c0196c2.f969n);
                        layoutDimension = c0193a.f868d.f968m;
                        c0194a.m4514b(i6, layoutDimension);
                        break;
                    } else {
                        c0193a.f868d.f967l = typedArray.getString(index);
                        c0194a.m4513c(90, c0193a.f868d.f967l);
                        if (c0193a.f868d.f967l.indexOf("/") <= 0) {
                            c0193a.f868d.f968m = -1;
                            c0194a.m4514b(88, -1);
                            break;
                        } else {
                            c0193a.f868d.f969n = typedArray.getResourceId(index, -1);
                            c0194a.m4514b(89, c0193a.f868d.f969n);
                            c0196c = c0193a.f868d;
                            c0196c.f968m = -2;
                            c0194a.m4514b(88, -2);
                        }
                    }
                case 87:
                    sb = new StringBuilder();
                    str = "unused attribute 0x";
                    sb.append(str);
                    sb.append(Integer.toHexString(index));
                    sb.append("   ");
                    sb.append(f858g.get(index));
                    Log.w("ConstraintSet", sb.toString());
                    break;
                case 93:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f899N);
                    i = 93;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 94:
                    dimensionPixelSize = typedArray.getDimensionPixelSize(index, c0193a.f869e.f906U);
                    i = 94;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 95:
                    m4528m(c0194a, typedArray, index, 0);
                    break;
                case 96:
                    m4528m(c0194a, typedArray, index, 1);
                    break;
                case 97:
                    dimensionPixelSize = typedArray.getInt(index, c0193a.f869e.f945q0);
                    i = 97;
                    c0194a.m4514b(i, dimensionPixelSize);
                    break;
                case 98:
                    if (C1641j.f3786x0) {
                        int resourceId = typedArray.getResourceId(index, c0193a.f865a);
                        c0193a.f865a = resourceId;
                        if (resourceId != -1) {
                            break;
                        }
                        c0193a.f866b = typedArray.getString(index);
                        break;
                    } else {
                        if (typedArray.peekValue(index).type != 3) {
                            c0193a.f865a = typedArray.getResourceId(index, c0193a.f865a);
                            break;
                        }
                        c0193a.f866b = typedArray.getString(index);
                    }
                case 99:
                    z = typedArray.getBoolean(index, c0193a.f869e.f928i);
                    i4 = 99;
                    c0194a.m4512d(i4, z);
                    break;
            }
        }
    }

    /* renamed from: c */
    public void m4538c(ConstraintLayout constraintLayout) {
        m4537d(constraintLayout, true);
        constraintLayout.setConstraintSet(null);
        constraintLayout.requestLayout();
    }

    /* renamed from: d */
    public void m4537d(ConstraintLayout constraintLayout, boolean z) {
        int childCount = constraintLayout.getChildCount();
        HashSet hashSet = new HashSet(this.f864e.keySet());
        for (int i = 0; i < childCount; i++) {
            View childAt = constraintLayout.getChildAt(i);
            int id = childAt.getId();
            if (!this.f864e.containsKey(Integer.valueOf(id))) {
                Log.w("ConstraintSet", "id unknown " + C1632a.m757b(childAt));
            } else if (this.f863d && id == -1) {
                throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
            } else {
                if (id != -1) {
                    if (this.f864e.containsKey(Integer.valueOf(id))) {
                        hashSet.remove(Integer.valueOf(id));
                        C0193a c0193a = this.f864e.get(Integer.valueOf(id));
                        if (c0193a != null) {
                            if (childAt instanceof C0187a) {
                                c0193a.f869e.f931j0 = 1;
                                C0187a c0187a = (C0187a) childAt;
                                c0187a.setId(id);
                                c0187a.setType(c0193a.f869e.f927h0);
                                c0187a.setMargin(c0193a.f869e.f929i0);
                                c0187a.setAllowsGoneWidget(c0193a.f869e.f943p0);
                                C0195b c0195b = c0193a.f869e;
                                int[] iArr = c0195b.f933k0;
                                if (iArr != null) {
                                    c0187a.setReferencedIds(iArr);
                                } else {
                                    String str = c0195b.f935l0;
                                    if (str != null) {
                                        c0195b.f933k0 = m4533h(c0187a, str);
                                        c0187a.setReferencedIds(c0193a.f869e.f933k0);
                                    }
                                }
                            }
                            ConstraintLayout.C0184b c0184b = (ConstraintLayout.C0184b) childAt.getLayoutParams();
                            c0184b.m4565a();
                            c0193a.m4520d(c0184b);
                            if (z) {
                                C0188b.m4557e(childAt, c0193a.f871g);
                            }
                            childAt.setLayoutParams(c0184b);
                            C0197d c0197d = c0193a.f867c;
                            if (c0197d.f972c == 0) {
                                childAt.setVisibility(c0197d.f971b);
                            }
                            int i2 = Build.VERSION.SDK_INT;
                            if (i2 >= 17) {
                                childAt.setAlpha(c0193a.f867c.f973d);
                                childAt.setRotation(c0193a.f870f.f977b);
                                childAt.setRotationX(c0193a.f870f.f978c);
                                childAt.setRotationY(c0193a.f870f.f979d);
                                childAt.setScaleX(c0193a.f870f.f980e);
                                childAt.setScaleY(c0193a.f870f.f981f);
                                C0198e c0198e = c0193a.f870f;
                                if (c0198e.f984i != -1) {
                                    View findViewById = ((View) childAt.getParent()).findViewById(c0193a.f870f.f984i);
                                    if (findViewById != null) {
                                        float top = (findViewById.getTop() + findViewById.getBottom()) / 2.0f;
                                        float left = (findViewById.getLeft() + findViewById.getRight()) / 2.0f;
                                        if (childAt.getRight() - childAt.getLeft() > 0 && childAt.getBottom() - childAt.getTop() > 0) {
                                            childAt.setPivotX(left - childAt.getLeft());
                                            childAt.setPivotY(top - childAt.getTop());
                                        }
                                    }
                                } else {
                                    if (!Float.isNaN(c0198e.f982g)) {
                                        childAt.setPivotX(c0193a.f870f.f982g);
                                    }
                                    if (!Float.isNaN(c0193a.f870f.f983h)) {
                                        childAt.setPivotY(c0193a.f870f.f983h);
                                    }
                                }
                                childAt.setTranslationX(c0193a.f870f.f985j);
                                childAt.setTranslationY(c0193a.f870f.f986k);
                                if (i2 >= 21) {
                                    childAt.setTranslationZ(c0193a.f870f.f987l);
                                    C0198e c0198e2 = c0193a.f870f;
                                    if (c0198e2.f988m) {
                                        childAt.setElevation(c0198e2.f989n);
                                    }
                                }
                            }
                        }
                    } else {
                        Log.v("ConstraintSet", "WARNING NO CONSTRAINTS for view " + id);
                    }
                }
            }
        }
        Iterator it = hashSet.iterator();
        while (it.hasNext()) {
            Integer num = (Integer) it.next();
            C0193a c0193a2 = this.f864e.get(num);
            if (c0193a2 != null) {
                if (c0193a2.f869e.f931j0 == 1) {
                    C0187a c0187a2 = new C0187a(constraintLayout.getContext());
                    c0187a2.setId(num.intValue());
                    C0195b c0195b2 = c0193a2.f869e;
                    int[] iArr2 = c0195b2.f933k0;
                    if (iArr2 != null) {
                        c0187a2.setReferencedIds(iArr2);
                    } else {
                        String str2 = c0195b2.f935l0;
                        if (str2 != null) {
                            c0195b2.f933k0 = m4533h(c0187a2, str2);
                            c0187a2.setReferencedIds(c0193a2.f869e.f933k0);
                        }
                    }
                    c0187a2.setType(c0193a2.f869e.f927h0);
                    c0187a2.setMargin(c0193a2.f869e.f929i0);
                    ConstraintLayout.C0184b generateDefaultLayoutParams = constraintLayout.generateDefaultLayoutParams();
                    c0187a2.m4541s();
                    c0193a2.m4520d(generateDefaultLayoutParams);
                    constraintLayout.addView(c0187a2, generateDefaultLayoutParams);
                }
                if (c0193a2.f869e.f912a) {
                    View c0201f = new C0201f(constraintLayout.getContext());
                    c0201f.setId(num.intValue());
                    ConstraintLayout.C0184b generateDefaultLayoutParams2 = constraintLayout.generateDefaultLayoutParams();
                    c0193a2.m4520d(generateDefaultLayoutParams2);
                    constraintLayout.addView(c0201f, generateDefaultLayoutParams2);
                }
            }
        }
        for (int i3 = 0; i3 < childCount; i3++) {
            View childAt2 = constraintLayout.getChildAt(i3);
            if (childAt2 instanceof AbstractC0191c) {
                ((AbstractC0191c) childAt2).mo481i(constraintLayout);
            }
        }
    }

    /* renamed from: e */
    public void m4536e(Context context, int i) {
        m4535f((ConstraintLayout) LayoutInflater.from(context).inflate(i, (ViewGroup) null));
    }

    /* renamed from: f */
    public void m4535f(ConstraintLayout constraintLayout) {
        float translationZ;
        float elevation;
        int childCount = constraintLayout.getChildCount();
        this.f864e.clear();
        for (int i = 0; i < childCount; i++) {
            View childAt = constraintLayout.getChildAt(i);
            ConstraintLayout.C0184b c0184b = (ConstraintLayout.C0184b) childAt.getLayoutParams();
            int id = childAt.getId();
            if (this.f863d && id == -1) {
                throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
            }
            if (!this.f864e.containsKey(Integer.valueOf(id))) {
                this.f864e.put(Integer.valueOf(id), new C0193a());
            }
            C0193a c0193a = this.f864e.get(Integer.valueOf(id));
            if (c0193a != null) {
                c0193a.f871g = C0188b.m4561a(this.f862c, childAt);
                c0193a.m4518f(id, c0184b);
                c0193a.f867c.f971b = childAt.getVisibility();
                int i2 = Build.VERSION.SDK_INT;
                if (i2 >= 17) {
                    c0193a.f867c.f973d = childAt.getAlpha();
                    c0193a.f870f.f977b = childAt.getRotation();
                    c0193a.f870f.f978c = childAt.getRotationX();
                    c0193a.f870f.f979d = childAt.getRotationY();
                    c0193a.f870f.f980e = childAt.getScaleX();
                    c0193a.f870f.f981f = childAt.getScaleY();
                    float pivotX = childAt.getPivotX();
                    float pivotY = childAt.getPivotY();
                    if (pivotX != 0.0d || pivotY != 0.0d) {
                        C0198e c0198e = c0193a.f870f;
                        c0198e.f982g = pivotX;
                        c0198e.f983h = pivotY;
                    }
                    c0193a.f870f.f985j = childAt.getTranslationX();
                    c0193a.f870f.f986k = childAt.getTranslationY();
                    if (i2 >= 21) {
                        C0198e c0198e2 = c0193a.f870f;
                        translationZ = childAt.getTranslationZ();
                        c0198e2.f987l = translationZ;
                        C0198e c0198e3 = c0193a.f870f;
                        if (c0198e3.f988m) {
                            elevation = childAt.getElevation();
                            c0198e3.f989n = elevation;
                        }
                    }
                }
                if (childAt instanceof C0187a) {
                    C0187a c0187a = (C0187a) childAt;
                    c0193a.f869e.f943p0 = c0187a.getAllowsGoneWidget();
                    c0193a.f869e.f933k0 = c0187a.getReferencedIds();
                    c0193a.f869e.f927h0 = c0187a.getType();
                    c0193a.f869e.f929i0 = c0187a.getMargin();
                }
            }
        }
    }

    /* renamed from: g */
    public void m4534g(C0199e c0199e) {
        int childCount = c0199e.getChildCount();
        this.f864e.clear();
        for (int i = 0; i < childCount; i++) {
            View childAt = c0199e.getChildAt(i);
            C0199e.C0200a c0200a = (C0199e.C0200a) childAt.getLayoutParams();
            int id = childAt.getId();
            if (this.f863d && id == -1) {
                throw new RuntimeException("All children of ConstraintLayout must have ids to use ConstraintSet");
            }
            if (!this.f864e.containsKey(Integer.valueOf(id))) {
                this.f864e.put(Integer.valueOf(id), new C0193a());
            }
            C0193a c0193a = this.f864e.get(Integer.valueOf(id));
            if (c0193a != null) {
                if (childAt instanceof AbstractC0191c) {
                    c0193a.m4516h((AbstractC0191c) childAt, id, c0200a);
                }
                c0193a.m4517g(id, c0200a);
            }
        }
    }

    /* renamed from: h */
    public final int[] m4533h(View view, String str) {
        int i;
        Object m4579g;
        String[] split = str.split(",");
        Context context = view.getContext();
        int[] iArr = new int[split.length];
        int i2 = 0;
        int i3 = 0;
        while (i2 < split.length) {
            String trim = split[i2].trim();
            try {
                i = C1742g.class.getField(trim).getInt(null);
            } catch (Exception unused) {
                i = 0;
            }
            if (i == 0) {
                i = context.getResources().getIdentifier(trim, "id", context.getPackageName());
            }
            if (i == 0 && view.isInEditMode() && (view.getParent() instanceof ConstraintLayout) && (m4579g = ((ConstraintLayout) view.getParent()).m4579g(0, trim)) != null && (m4579g instanceof Integer)) {
                i = ((Integer) m4579g).intValue();
            }
            iArr[i3] = i;
            i2++;
            i3++;
        }
        return i3 != split.length ? Arrays.copyOf(iArr, i3) : iArr;
    }

    /* renamed from: i */
    public final C0193a m4532i(Context context, AttributeSet attributeSet, boolean z) {
        C0193a c0193a = new C0193a();
        TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, z ? C1743h.f4067L2 : C1743h.f4355t);
        m4525p(context, c0193a, obtainStyledAttributes, z);
        obtainStyledAttributes.recycle();
        return c0193a;
    }

    /* renamed from: j */
    public void m4531j(Context context, int i) {
        XmlResourceParser xml = context.getResources().getXml(i);
        try {
            for (int eventType = xml.getEventType(); eventType != 1; eventType = xml.next()) {
                if (eventType == 0) {
                    xml.getName();
                    continue;
                } else if (eventType != 2) {
                    continue;
                } else {
                    String name = xml.getName();
                    C0193a m4532i = m4532i(context, Xml.asAttributeSet(xml), false);
                    if (name.equalsIgnoreCase("Guideline")) {
                        m4532i.f869e.f912a = true;
                    }
                    this.f864e.put(Integer.valueOf(m4532i.f865a), m4532i);
                    continue;
                }
            }
        } catch (IOException e) {
            e.printStackTrace();
        } catch (XmlPullParserException e2) {
            e2.printStackTrace();
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:119:0x01cb, code lost:
        continue;
     */
    /* renamed from: k */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public void m4530k(Context context, XmlPullParser xmlPullParser) {
        C0193a m4532i;
        try {
            int eventType = xmlPullParser.getEventType();
            C0193a c0193a = null;
            while (eventType != 1) {
                if (eventType != 0) {
                    char c = '\uffff';
                    if (eventType == 2) {
                        String name = xmlPullParser.getName();
                        switch (name.hashCode()) {
                            case -2025855158:
                                if (name.equals("Layout")) {
                                    c = 6;
                                    break;
                                }
                                break;
                            case -1984451626:
                                if (name.equals("Motion")) {
                                    c = 7;
                                    break;
                                }
                                break;
                            case -1962203927:
                                if (name.equals("ConstraintOverride")) {
                                    c = 1;
                                    break;
                                }
                                break;
                            case -1269513683:
                                if (name.equals("PropertySet")) {
                                    c = 4;
                                    break;
                                }
                                break;
                            case -1238332596:
                                if (name.equals("Transform")) {
                                    c = 5;
                                    break;
                                }
                                break;
                            case -71750448:
                                if (name.equals("Guideline")) {
                                    c = 2;
                                    break;
                                }
                                break;
                            case 366511058:
                                if (name.equals("CustomMethod")) {
                                    c = '\t';
                                    break;
                                }
                                break;
                            case 1331510167:
                                if (name.equals("Barrier")) {
                                    c = 3;
                                    break;
                                }
                                break;
                            case 1791837707:
                                if (name.equals("CustomAttribute")) {
                                    c = '\b';
                                    break;
                                }
                                break;
                            case 1803088381:
                                if (name.equals("Constraint")) {
                                    c = 0;
                                    break;
                                }
                                break;
                        }
                        switch (c) {
                            case 0:
                                m4532i = m4532i(context, Xml.asAttributeSet(xmlPullParser), false);
                                c0193a = m4532i;
                                break;
                            case 1:
                                m4532i = m4532i(context, Xml.asAttributeSet(xmlPullParser), true);
                                c0193a = m4532i;
                                break;
                            case 2:
                                m4532i = m4532i(context, Xml.asAttributeSet(xmlPullParser), false);
                                C0195b c0195b = m4532i.f869e;
                                c0195b.f912a = true;
                                c0195b.f914b = true;
                                c0193a = m4532i;
                                break;
                            case 3:
                                m4532i = m4532i(context, Xml.asAttributeSet(xmlPullParser), false);
                                m4532i.f869e.f931j0 = 1;
                                c0193a = m4532i;
                                break;
                            case 4:
                                if (c0193a == null) {
                                    throw new RuntimeException("XML parser error must be within a Constraint " + xmlPullParser.getLineNumber());
                                }
                                c0193a.f867c.m4506b(context, Xml.asAttributeSet(xmlPullParser));
                                break;
                            case 5:
                                if (c0193a == null) {
                                    throw new RuntimeException("XML parser error must be within a Constraint " + xmlPullParser.getLineNumber());
                                }
                                c0193a.f870f.m4504b(context, Xml.asAttributeSet(xmlPullParser));
                                break;
                            case 6:
                                if (c0193a == null) {
                                    throw new RuntimeException("XML parser error must be within a Constraint " + xmlPullParser.getLineNumber());
                                }
                                c0193a.f869e.m4510b(context, Xml.asAttributeSet(xmlPullParser));
                                break;
                            case 7:
                                if (c0193a == null) {
                                    throw new RuntimeException("XML parser error must be within a Constraint " + xmlPullParser.getLineNumber());
                                }
                                c0193a.f868d.m4508b(context, Xml.asAttributeSet(xmlPullParser));
                                break;
                            case '\b':
                            case '\t':
                                if (c0193a == null) {
                                    throw new RuntimeException("XML parser error must be within a Constraint " + xmlPullParser.getLineNumber());
                                }
                                C0188b.m4558d(context, xmlPullParser, c0193a.f871g);
                                break;
                        }
                    } else if (eventType == 3) {
                        String lowerCase = xmlPullParser.getName().toLowerCase(Locale.ROOT);
                        switch (lowerCase.hashCode()) {
                            case -2075718416:
                                if (lowerCase.equals("guideline")) {
                                    c = 3;
                                    break;
                                }
                                break;
                            case -190376483:
                                if (lowerCase.equals("constraint")) {
                                    c = 1;
                                    break;
                                }
                                break;
                            case 426575017:
                                if (lowerCase.equals("constraintoverride")) {
                                    c = 2;
                                    break;
                                }
                                break;
                            case 2146106725:
                                if (lowerCase.equals("constraintset")) {
                                    c = 0;
                                    break;
                                }
                                break;
                        }
                        if (c == 0) {
                            return;
                        }
                        if (c == 1 || c == 2 || c == 3) {
                            this.f864e.put(Integer.valueOf(c0193a.f865a), c0193a);
                            c0193a = null;
                        }
                    }
                } else {
                    xmlPullParser.getName();
                }
                eventType = xmlPullParser.next();
            }
        } catch (IOException e) {
            e.printStackTrace();
        } catch (XmlPullParserException e2) {
            e2.printStackTrace();
        }
    }

    /* renamed from: p */
    public final void m4525p(Context context, C0193a c0193a, TypedArray typedArray, boolean z) {
        C0196c c0196c;
        String str;
        C0196c c0196c2;
        StringBuilder sb;
        String str2;
        if (z) {
            m4524q(context, c0193a, typedArray);
            return;
        }
        int indexCount = typedArray.getIndexCount();
        for (int i = 0; i < indexCount; i++) {
            int index = typedArray.getIndex(i);
            if (index != C1743h.f4373v && C1743h.f4080N != index && C1743h.f4088O != index) {
                c0193a.f868d.f956a = true;
                c0193a.f869e.f914b = true;
                c0193a.f867c.f970a = true;
                c0193a.f870f.f976a = true;
            }
            switch (f858g.get(index)) {
                case 1:
                    C0195b c0195b = c0193a.f869e;
                    c0195b.f946r = m4529l(typedArray, index, c0195b.f946r);
                    continue;
                case 2:
                    C0195b c0195b2 = c0193a.f869e;
                    c0195b2.f896K = typedArray.getDimensionPixelSize(index, c0195b2.f896K);
                    continue;
                case 3:
                    C0195b c0195b3 = c0193a.f869e;
                    c0195b3.f944q = m4529l(typedArray, index, c0195b3.f944q);
                    continue;
                case 4:
                    C0195b c0195b4 = c0193a.f869e;
                    c0195b4.f942p = m4529l(typedArray, index, c0195b4.f942p);
                    continue;
                case 5:
                    c0193a.f869e.f886A = typedArray.getString(index);
                    continue;
                case 6:
                    C0195b c0195b5 = c0193a.f869e;
                    c0195b5.f890E = typedArray.getDimensionPixelOffset(index, c0195b5.f890E);
                    continue;
                case 7:
                    C0195b c0195b6 = c0193a.f869e;
                    c0195b6.f891F = typedArray.getDimensionPixelOffset(index, c0195b6.f891F);
                    continue;
                case 8:
                    if (Build.VERSION.SDK_INT >= 17) {
                        C0195b c0195b7 = c0193a.f869e;
                        c0195b7.f897L = typedArray.getDimensionPixelSize(index, c0195b7.f897L);
                    } else {
                        continue;
                    }
                case 9:
                    C0195b c0195b8 = c0193a.f869e;
                    c0195b8.f952x = m4529l(typedArray, index, c0195b8.f952x);
                    continue;
                case 10:
                    C0195b c0195b9 = c0193a.f869e;
                    c0195b9.f951w = m4529l(typedArray, index, c0195b9.f951w);
                    continue;
                case 11:
                    C0195b c0195b10 = c0193a.f869e;
                    c0195b10.f903R = typedArray.getDimensionPixelSize(index, c0195b10.f903R);
                    continue;
                case 12:
                    C0195b c0195b11 = c0193a.f869e;
                    c0195b11.f904S = typedArray.getDimensionPixelSize(index, c0195b11.f904S);
                    continue;
                case 13:
                    C0195b c0195b12 = c0193a.f869e;
                    c0195b12.f900O = typedArray.getDimensionPixelSize(index, c0195b12.f900O);
                    continue;
                case 14:
                    C0195b c0195b13 = c0193a.f869e;
                    c0195b13.f902Q = typedArray.getDimensionPixelSize(index, c0195b13.f902Q);
                    continue;
                case 15:
                    C0195b c0195b14 = c0193a.f869e;
                    c0195b14.f905T = typedArray.getDimensionPixelSize(index, c0195b14.f905T);
                    continue;
                case 16:
                    C0195b c0195b15 = c0193a.f869e;
                    c0195b15.f901P = typedArray.getDimensionPixelSize(index, c0195b15.f901P);
                    continue;
                case 17:
                    C0195b c0195b16 = c0193a.f869e;
                    c0195b16.f922f = typedArray.getDimensionPixelOffset(index, c0195b16.f922f);
                    continue;
                case 18:
                    C0195b c0195b17 = c0193a.f869e;
                    c0195b17.f924g = typedArray.getDimensionPixelOffset(index, c0195b17.f924g);
                    continue;
                case 19:
                    C0195b c0195b18 = c0193a.f869e;
                    c0195b18.f926h = typedArray.getFloat(index, c0195b18.f926h);
                    continue;
                case 20:
                    C0195b c0195b19 = c0193a.f869e;
                    c0195b19.f953y = typedArray.getFloat(index, c0195b19.f953y);
                    continue;
                case 21:
                    C0195b c0195b20 = c0193a.f869e;
                    c0195b20.f920e = typedArray.getLayoutDimension(index, c0195b20.f920e);
                    continue;
                case 22:
                    C0197d c0197d = c0193a.f867c;
                    c0197d.f971b = typedArray.getInt(index, c0197d.f971b);
                    C0197d c0197d2 = c0193a.f867c;
                    c0197d2.f971b = f857f[c0197d2.f971b];
                    continue;
                case 23:
                    C0195b c0195b21 = c0193a.f869e;
                    c0195b21.f918d = typedArray.getLayoutDimension(index, c0195b21.f918d);
                    continue;
                case 24:
                    C0195b c0195b22 = c0193a.f869e;
                    c0195b22.f893H = typedArray.getDimensionPixelSize(index, c0195b22.f893H);
                    continue;
                case 25:
                    C0195b c0195b23 = c0193a.f869e;
                    c0195b23.f930j = m4529l(typedArray, index, c0195b23.f930j);
                    continue;
                case 26:
                    C0195b c0195b24 = c0193a.f869e;
                    c0195b24.f932k = m4529l(typedArray, index, c0195b24.f932k);
                    continue;
                case 27:
                    C0195b c0195b25 = c0193a.f869e;
                    c0195b25.f892G = typedArray.getInt(index, c0195b25.f892G);
                    continue;
                case 28:
                    C0195b c0195b26 = c0193a.f869e;
                    c0195b26.f894I = typedArray.getDimensionPixelSize(index, c0195b26.f894I);
                    continue;
                case 29:
                    C0195b c0195b27 = c0193a.f869e;
                    c0195b27.f934l = m4529l(typedArray, index, c0195b27.f934l);
                    continue;
                case 30:
                    C0195b c0195b28 = c0193a.f869e;
                    c0195b28.f936m = m4529l(typedArray, index, c0195b28.f936m);
                    continue;
                case 31:
                    if (Build.VERSION.SDK_INT >= 17) {
                        C0195b c0195b29 = c0193a.f869e;
                        c0195b29.f898M = typedArray.getDimensionPixelSize(index, c0195b29.f898M);
                    } else {
                        continue;
                    }
                case 32:
                    C0195b c0195b30 = c0193a.f869e;
                    c0195b30.f949u = m4529l(typedArray, index, c0195b30.f949u);
                    continue;
                case 33:
                    C0195b c0195b31 = c0193a.f869e;
                    c0195b31.f950v = m4529l(typedArray, index, c0195b31.f950v);
                    continue;
                case 34:
                    C0195b c0195b32 = c0193a.f869e;
                    c0195b32.f895J = typedArray.getDimensionPixelSize(index, c0195b32.f895J);
                    continue;
                case 35:
                    C0195b c0195b33 = c0193a.f869e;
                    c0195b33.f940o = m4529l(typedArray, index, c0195b33.f940o);
                    continue;
                case C1743h.f3975A1 /* 36 */:
                    C0195b c0195b34 = c0193a.f869e;
                    c0195b34.f938n = m4529l(typedArray, index, c0195b34.f938n);
                    continue;
                case 37:
                    C0195b c0195b35 = c0193a.f869e;
                    c0195b35.f954z = typedArray.getFloat(index, c0195b35.f954z);
                    continue;
                case C1743h.f4022F5 /* 38 */:
                    c0193a.f865a = typedArray.getResourceId(index, c0193a.f865a);
                    continue;
                case C1743h.f4030G5 /* 39 */:
                    C0195b c0195b36 = c0193a.f869e;
                    c0195b36.f908W = typedArray.getFloat(index, c0195b36.f908W);
                    continue;
                case C1743h.f4038H5 /* 40 */:
                    C0195b c0195b37 = c0193a.f869e;
                    c0195b37.f907V = typedArray.getFloat(index, c0195b37.f907V);
                    continue;
                case C1743h.f4046I5 /* 41 */:
                    C0195b c0195b38 = c0193a.f869e;
                    c0195b38.f909X = typedArray.getInt(index, c0195b38.f909X);
                    continue;
                case C1743h.f4054J5 /* 42 */:
                    C0195b c0195b39 = c0193a.f869e;
                    c0195b39.f910Y = typedArray.getInt(index, c0195b39.f910Y);
                    continue;
                case C1743h.f4062K5 /* 43 */:
                    C0197d c0197d3 = c0193a.f867c;
                    c0197d3.f973d = typedArray.getFloat(index, c0197d3.f973d);
                    continue;
                case C1743h.f4070L5 /* 44 */:
                    if (Build.VERSION.SDK_INT >= 21) {
                        C0198e c0198e = c0193a.f870f;
                        c0198e.f988m = true;
                        c0198e.f989n = typedArray.getDimension(index, c0198e.f989n);
                    } else {
                        continue;
                    }
                case C1743h.f4078M5 /* 45 */:
                    C0198e c0198e2 = c0193a.f870f;
                    c0198e2.f978c = typedArray.getFloat(index, c0198e2.f978c);
                    continue;
                case C1743h.f4086N5 /* 46 */:
                    C0198e c0198e3 = c0193a.f870f;
                    c0198e3.f979d = typedArray.getFloat(index, c0198e3.f979d);
                    continue;
                case C1743h.f4094O5 /* 47 */:
                    C0198e c0198e4 = c0193a.f870f;
                    c0198e4.f980e = typedArray.getFloat(index, c0198e4.f980e);
                    continue;
                case C1743h.f4102P5 /* 48 */:
                    C0198e c0198e5 = c0193a.f870f;
                    c0198e5.f981f = typedArray.getFloat(index, c0198e5.f981f);
                    continue;
                case C1743h.f4110Q5 /* 49 */:
                    C0198e c0198e6 = c0193a.f870f;
                    c0198e6.f982g = typedArray.getDimension(index, c0198e6.f982g);
                    continue;
                case C1743h.f4118R5 /* 50 */:
                    C0198e c0198e7 = c0193a.f870f;
                    c0198e7.f983h = typedArray.getDimension(index, c0198e7.f983h);
                    continue;
                case C1743h.f4126S5 /* 51 */:
                    C0198e c0198e8 = c0193a.f870f;
                    c0198e8.f985j = typedArray.getDimension(index, c0198e8.f985j);
                    continue;
                case C1743h.f4134T5 /* 52 */:
                    C0198e c0198e9 = c0193a.f870f;
                    c0198e9.f986k = typedArray.getDimension(index, c0198e9.f986k);
                    continue;
                case C1743h.f4142U5 /* 53 */:
                    if (Build.VERSION.SDK_INT >= 21) {
                        C0198e c0198e10 = c0193a.f870f;
                        c0198e10.f987l = typedArray.getDimension(index, c0198e10.f987l);
                    } else {
                        continue;
                    }
                case 54:
                    C0195b c0195b40 = c0193a.f869e;
                    c0195b40.f911Z = typedArray.getInt(index, c0195b40.f911Z);
                    continue;
                case 55:
                    C0195b c0195b41 = c0193a.f869e;
                    c0195b41.f913a0 = typedArray.getInt(index, c0195b41.f913a0);
                    continue;
                case 56:
                    C0195b c0195b42 = c0193a.f869e;
                    c0195b42.f915b0 = typedArray.getDimensionPixelSize(index, c0195b42.f915b0);
                    continue;
                case 57:
                    C0195b c0195b43 = c0193a.f869e;
                    c0195b43.f917c0 = typedArray.getDimensionPixelSize(index, c0195b43.f917c0);
                    continue;
                case 58:
                    C0195b c0195b44 = c0193a.f869e;
                    c0195b44.f919d0 = typedArray.getDimensionPixelSize(index, c0195b44.f919d0);
                    continue;
                case 59:
                    C0195b c0195b45 = c0193a.f869e;
                    c0195b45.f921e0 = typedArray.getDimensionPixelSize(index, c0195b45.f921e0);
                    continue;
                case 60:
                    C0198e c0198e11 = c0193a.f870f;
                    c0198e11.f977b = typedArray.getFloat(index, c0198e11.f977b);
                    continue;
                case 61:
                    C0195b c0195b46 = c0193a.f869e;
                    c0195b46.f887B = m4529l(typedArray, index, c0195b46.f887B);
                    continue;
                case 62:
                    C0195b c0195b47 = c0193a.f869e;
                    c0195b47.f888C = typedArray.getDimensionPixelSize(index, c0195b47.f888C);
                    continue;
                case 63:
                    C0195b c0195b48 = c0193a.f869e;
                    c0195b48.f889D = typedArray.getFloat(index, c0195b48.f889D);
                    continue;
                case 64:
                    C0196c c0196c3 = c0193a.f868d;
                    c0196c3.f957b = m4529l(typedArray, index, c0196c3.f957b);
                    continue;
                case 65:
                    if (typedArray.peekValue(index).type == 3) {
                        c0196c = c0193a.f868d;
                        str = typedArray.getString(index);
                    } else {
                        c0196c = c0193a.f868d;
                        str = C1505b.f3336c[typedArray.getInteger(index, 0)];
                    }
                    c0196c.f959d = str;
                    continue;
                case 66:
                    c0193a.f868d.f961f = typedArray.getInt(index, 0);
                    continue;
                case 67:
                    C0196c c0196c4 = c0193a.f868d;
                    c0196c4.f964i = typedArray.getFloat(index, c0196c4.f964i);
                    continue;
                case 68:
                    C0197d c0197d4 = c0193a.f867c;
                    c0197d4.f974e = typedArray.getFloat(index, c0197d4.f974e);
                    continue;
                case 69:
                    c0193a.f869e.f923f0 = typedArray.getFloat(index, 1.0f);
                    continue;
                case 70:
                    c0193a.f869e.f925g0 = typedArray.getFloat(index, 1.0f);
                    continue;
                case 71:
                    Log.e("ConstraintSet", "CURRENTLY UNSUPPORTED");
                    continue;
                case 72:
                    C0195b c0195b49 = c0193a.f869e;
                    c0195b49.f927h0 = typedArray.getInt(index, c0195b49.f927h0);
                    continue;
                case 73:
                    C0195b c0195b50 = c0193a.f869e;
                    c0195b50.f929i0 = typedArray.getDimensionPixelSize(index, c0195b50.f929i0);
                    continue;
                case 74:
                    c0193a.f869e.f935l0 = typedArray.getString(index);
                    continue;
                case 75:
                    C0195b c0195b51 = c0193a.f869e;
                    c0195b51.f943p0 = typedArray.getBoolean(index, c0195b51.f943p0);
                    continue;
                case 76:
                    C0196c c0196c5 = c0193a.f868d;
                    c0196c5.f960e = typedArray.getInt(index, c0196c5.f960e);
                    continue;
                case 77:
                    c0193a.f869e.f937m0 = typedArray.getString(index);
                    continue;
                case 78:
                    C0197d c0197d5 = c0193a.f867c;
                    c0197d5.f972c = typedArray.getInt(index, c0197d5.f972c);
                    continue;
                case 79:
                    C0196c c0196c6 = c0193a.f868d;
                    c0196c6.f962g = typedArray.getFloat(index, c0196c6.f962g);
                    continue;
                case 80:
                    C0195b c0195b52 = c0193a.f869e;
                    c0195b52.f939n0 = typedArray.getBoolean(index, c0195b52.f939n0);
                    continue;
                case 81:
                    C0195b c0195b53 = c0193a.f869e;
                    c0195b53.f941o0 = typedArray.getBoolean(index, c0195b53.f941o0);
                    continue;
                case 82:
                    C0196c c0196c7 = c0193a.f868d;
                    c0196c7.f958c = typedArray.getInteger(index, c0196c7.f958c);
                    continue;
                case 83:
                    C0198e c0198e12 = c0193a.f870f;
                    c0198e12.f984i = m4529l(typedArray, index, c0198e12.f984i);
                    continue;
                case 84:
                    C0196c c0196c8 = c0193a.f868d;
                    c0196c8.f966k = typedArray.getInteger(index, c0196c8.f966k);
                    continue;
                case 85:
                    C0196c c0196c9 = c0193a.f868d;
                    c0196c9.f965j = typedArray.getFloat(index, c0196c9.f965j);
                    continue;
                case 86:
                    int i2 = typedArray.peekValue(index).type;
                    if (i2 == 1) {
                        c0193a.f868d.f969n = typedArray.getResourceId(index, -1);
                        c0196c2 = c0193a.f868d;
                        if (c0196c2.f969n == -1) {
                            continue;
                        }
                        c0196c2.f968m = -2;
                    } else if (i2 == 3) {
                        c0193a.f868d.f967l = typedArray.getString(index);
                        if (c0193a.f868d.f967l.indexOf("/") > 0) {
                            c0193a.f868d.f969n = typedArray.getResourceId(index, -1);
                            c0196c2 = c0193a.f868d;
                            c0196c2.f968m = -2;
                        } else {
                            c0193a.f868d.f968m = -1;
                        }
                    } else {
                        C0196c c0196c10 = c0193a.f868d;
                        c0196c10.f968m = typedArray.getInteger(index, c0196c10.f969n);
                    }
                case 87:
                    sb = new StringBuilder();
                    str2 = "unused attribute 0x";
                    break;
                case 88:
                case 89:
                case 90:
                default:
                    sb = new StringBuilder();
                    str2 = "Unknown attribute 0x";
                    break;
                case 91:
                    C0195b c0195b54 = c0193a.f869e;
                    c0195b54.f947s = m4529l(typedArray, index, c0195b54.f947s);
                    continue;
                case 92:
                    C0195b c0195b55 = c0193a.f869e;
                    c0195b55.f948t = m4529l(typedArray, index, c0195b55.f948t);
                    continue;
                case 93:
                    C0195b c0195b56 = c0193a.f869e;
                    c0195b56.f899N = typedArray.getDimensionPixelSize(index, c0195b56.f899N);
                    continue;
                case 94:
                    C0195b c0195b57 = c0193a.f869e;
                    c0195b57.f906U = typedArray.getDimensionPixelSize(index, c0195b57.f906U);
                    continue;
                case 95:
                    m4528m(c0193a.f869e, typedArray, index, 0);
                    continue;
                case 96:
                    m4528m(c0193a.f869e, typedArray, index, 1);
                    continue;
                case 97:
                    C0195b c0195b58 = c0193a.f869e;
                    c0195b58.f945q0 = typedArray.getInt(index, c0195b58.f945q0);
                    continue;
            }
            sb.append(str2);
            sb.append(Integer.toHexString(index));
            sb.append("   ");
            sb.append(f858g.get(index));
            Log.w("ConstraintSet", sb.toString());
        }
        C0195b c0195b59 = c0193a.f869e;
        if (c0195b59.f935l0 != null) {
            c0195b59.f933k0 = null;
        }
    }
}