package androidx.constraintlayout.widget;

import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.util.Log;
import android.util.SparseIntArray;

/* loaded from: classes.dex */
public final class l {

    /* renamed from: p0, reason: collision with root package name */
    public static final SparseIntArray f2655p0;

    /* renamed from: A, reason: collision with root package name */
    public int f2656A;

    /* renamed from: B, reason: collision with root package name */
    public float f2657B;

    /* renamed from: C, reason: collision with root package name */
    public int f2658C;

    /* renamed from: D, reason: collision with root package name */
    public int f2659D;

    /* renamed from: E, reason: collision with root package name */
    public int f2660E;

    /* renamed from: F, reason: collision with root package name */
    public int f2661F;

    /* renamed from: G, reason: collision with root package name */
    public int f2662G;

    /* renamed from: H, reason: collision with root package name */
    public int f2663H;

    /* renamed from: I, reason: collision with root package name */
    public int f2664I;
    public int J;

    /* renamed from: K, reason: collision with root package name */
    public int f2665K;

    /* renamed from: L, reason: collision with root package name */
    public int f2666L;

    /* renamed from: M, reason: collision with root package name */
    public int f2667M;

    /* renamed from: N, reason: collision with root package name */
    public int f2668N;

    /* renamed from: O, reason: collision with root package name */
    public int f2669O;

    /* renamed from: P, reason: collision with root package name */
    public int f2670P;

    /* renamed from: Q, reason: collision with root package name */
    public int f2671Q;

    /* renamed from: R, reason: collision with root package name */
    public int f2672R;

    /* renamed from: S, reason: collision with root package name */
    public int f2673S;

    /* renamed from: T, reason: collision with root package name */
    public float f2674T;

    /* renamed from: U, reason: collision with root package name */
    public float f2675U;

    /* renamed from: V, reason: collision with root package name */
    public int f2676V;

    /* renamed from: W, reason: collision with root package name */
    public int f2677W;

    /* renamed from: X, reason: collision with root package name */
    public int f2678X;

    /* renamed from: Y, reason: collision with root package name */
    public int f2679Y;
    public int Z;

    /* renamed from: a, reason: collision with root package name */
    public boolean f2680a;

    /* renamed from: a0, reason: collision with root package name */
    public int f2681a0;

    /* renamed from: b, reason: collision with root package name */
    public int f2682b;

    /* renamed from: b0, reason: collision with root package name */
    public int f2683b0;

    /* renamed from: c, reason: collision with root package name */
    public int f2684c;

    /* renamed from: c0, reason: collision with root package name */
    public int f2685c0;

    /* renamed from: d, reason: collision with root package name */
    public int f2686d;

    /* renamed from: d0, reason: collision with root package name */
    public float f2687d0;

    /* renamed from: e, reason: collision with root package name */
    public int f2688e;

    /* renamed from: e0, reason: collision with root package name */
    public float f2689e0;

    /* renamed from: f, reason: collision with root package name */
    public float f2690f;

    /* renamed from: f0, reason: collision with root package name */
    public int f2691f0;

    /* renamed from: g, reason: collision with root package name */
    public boolean f2692g;

    /* renamed from: g0, reason: collision with root package name */
    public int f2693g0;
    public int h;

    /* renamed from: h0, reason: collision with root package name */
    public int f2694h0;
    public int i;

    /* renamed from: i0, reason: collision with root package name */
    public int[] f2695i0;

    /* renamed from: j, reason: collision with root package name */
    public int f2696j;

    /* renamed from: j0, reason: collision with root package name */
    public String f2697j0;

    /* renamed from: k, reason: collision with root package name */
    public int f2698k;

    /* renamed from: k0, reason: collision with root package name */
    public String f2699k0;

    /* renamed from: l, reason: collision with root package name */
    public int f2700l;

    /* renamed from: l0, reason: collision with root package name */
    public boolean f2701l0;

    /* renamed from: m, reason: collision with root package name */
    public int f2702m;

    /* renamed from: m0, reason: collision with root package name */
    public boolean f2703m0;

    /* renamed from: n, reason: collision with root package name */
    public int f2704n;

    /* renamed from: n0, reason: collision with root package name */
    public boolean f2705n0;

    /* renamed from: o, reason: collision with root package name */
    public int f2706o;

    /* renamed from: o0, reason: collision with root package name */
    public int f2707o0;
    public int p;

    /* renamed from: q, reason: collision with root package name */
    public int f2708q;

    /* renamed from: r, reason: collision with root package name */
    public int f2709r;

    /* renamed from: s, reason: collision with root package name */
    public int f2710s;

    /* renamed from: t, reason: collision with root package name */
    public int f2711t;

    /* renamed from: u, reason: collision with root package name */
    public int f2712u;

    /* renamed from: v, reason: collision with root package name */
    public int f2713v;

    /* renamed from: w, reason: collision with root package name */
    public float f2714w;

    /* renamed from: x, reason: collision with root package name */
    public float f2715x;

    /* renamed from: y, reason: collision with root package name */
    public String f2716y;

    /* renamed from: z, reason: collision with root package name */
    public int f2717z;

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        f2655p0 = sparseIntArray;
        sparseIntArray.append(43, 24);
        sparseIntArray.append(44, 25);
        sparseIntArray.append(46, 28);
        sparseIntArray.append(47, 29);
        sparseIntArray.append(52, 35);
        sparseIntArray.append(51, 34);
        sparseIntArray.append(24, 4);
        sparseIntArray.append(23, 3);
        sparseIntArray.append(19, 1);
        sparseIntArray.append(61, 6);
        sparseIntArray.append(62, 7);
        sparseIntArray.append(31, 17);
        sparseIntArray.append(32, 18);
        sparseIntArray.append(33, 19);
        sparseIntArray.append(15, 90);
        sparseIntArray.append(0, 26);
        sparseIntArray.append(48, 31);
        sparseIntArray.append(49, 32);
        sparseIntArray.append(30, 10);
        sparseIntArray.append(29, 9);
        sparseIntArray.append(66, 13);
        sparseIntArray.append(69, 16);
        sparseIntArray.append(67, 14);
        sparseIntArray.append(64, 11);
        sparseIntArray.append(68, 15);
        sparseIntArray.append(65, 12);
        sparseIntArray.append(55, 38);
        sparseIntArray.append(41, 37);
        sparseIntArray.append(40, 39);
        sparseIntArray.append(54, 40);
        sparseIntArray.append(39, 20);
        sparseIntArray.append(53, 36);
        sparseIntArray.append(28, 5);
        sparseIntArray.append(42, 91);
        sparseIntArray.append(50, 91);
        sparseIntArray.append(45, 91);
        sparseIntArray.append(22, 91);
        sparseIntArray.append(18, 91);
        sparseIntArray.append(3, 23);
        sparseIntArray.append(5, 27);
        sparseIntArray.append(7, 30);
        sparseIntArray.append(8, 8);
        sparseIntArray.append(4, 33);
        sparseIntArray.append(6, 2);
        sparseIntArray.append(1, 22);
        sparseIntArray.append(2, 21);
        sparseIntArray.append(56, 41);
        sparseIntArray.append(34, 42);
        sparseIntArray.append(17, 41);
        sparseIntArray.append(16, 42);
        sparseIntArray.append(71, 76);
        sparseIntArray.append(25, 61);
        sparseIntArray.append(27, 62);
        sparseIntArray.append(26, 63);
        sparseIntArray.append(60, 69);
        sparseIntArray.append(38, 70);
        sparseIntArray.append(12, 71);
        sparseIntArray.append(10, 72);
        sparseIntArray.append(11, 73);
        sparseIntArray.append(13, 74);
        sparseIntArray.append(9, 75);
    }

    public final void a(Context context, AttributeSet attributeSet) {
        TypedArray obtainStyledAttributes = context.obtainStyledAttributes(attributeSet, s.f2752e);
        int indexCount = obtainStyledAttributes.getIndexCount();
        for (int i = 0; i < indexCount; i++) {
            int index = obtainStyledAttributes.getIndex(i);
            SparseIntArray sparseIntArray = f2655p0;
            int i4 = sparseIntArray.get(index);
            switch (i4) {
                case 1:
                    this.p = p.f(obtainStyledAttributes, index, this.p);
                    break;
                case 2:
                    this.f2664I = obtainStyledAttributes.getDimensionPixelSize(index, this.f2664I);
                    break;
                case 3:
                    this.f2706o = p.f(obtainStyledAttributes, index, this.f2706o);
                    break;
                case 4:
                    this.f2704n = p.f(obtainStyledAttributes, index, this.f2704n);
                    break;
                case 5:
                    this.f2716y = obtainStyledAttributes.getString(index);
                    break;
                case 6:
                    this.f2658C = obtainStyledAttributes.getDimensionPixelOffset(index, this.f2658C);
                    break;
                case 7:
                    this.f2659D = obtainStyledAttributes.getDimensionPixelOffset(index, this.f2659D);
                    break;
                case 8:
                    this.J = obtainStyledAttributes.getDimensionPixelSize(index, this.J);
                    break;
                case 9:
                    this.f2713v = p.f(obtainStyledAttributes, index, this.f2713v);
                    break;
                case 10:
                    this.f2712u = p.f(obtainStyledAttributes, index, this.f2712u);
                    break;
                case 11:
                    this.f2670P = obtainStyledAttributes.getDimensionPixelSize(index, this.f2670P);
                    break;
                case 12:
                    this.f2671Q = obtainStyledAttributes.getDimensionPixelSize(index, this.f2671Q);
                    break;
                case 13:
                    this.f2667M = obtainStyledAttributes.getDimensionPixelSize(index, this.f2667M);
                    break;
                case 14:
                    this.f2669O = obtainStyledAttributes.getDimensionPixelSize(index, this.f2669O);
                    break;
                case 15:
                    this.f2672R = obtainStyledAttributes.getDimensionPixelSize(index, this.f2672R);
                    break;
                case 16:
                    this.f2668N = obtainStyledAttributes.getDimensionPixelSize(index, this.f2668N);
                    break;
                case 17:
                    this.f2686d = obtainStyledAttributes.getDimensionPixelOffset(index, this.f2686d);
                    break;
                case 18:
                    this.f2688e = obtainStyledAttributes.getDimensionPixelOffset(index, this.f2688e);
                    break;
                case 19:
                    this.f2690f = obtainStyledAttributes.getFloat(index, this.f2690f);
                    break;
                case 20:
                    this.f2714w = obtainStyledAttributes.getFloat(index, this.f2714w);
                    break;
                case 21:
                    this.f2684c = obtainStyledAttributes.getLayoutDimension(index, this.f2684c);
                    break;
                case 22:
                    this.f2682b = obtainStyledAttributes.getLayoutDimension(index, this.f2682b);
                    break;
                case 23:
                    this.f2661F = obtainStyledAttributes.getDimensionPixelSize(index, this.f2661F);
                    break;
                case 24:
                    this.h = p.f(obtainStyledAttributes, index, this.h);
                    break;
                case 25:
                    this.i = p.f(obtainStyledAttributes, index, this.i);
                    break;
                case 26:
                    this.f2660E = obtainStyledAttributes.getInt(index, this.f2660E);
                    break;
                case 27:
                    this.f2662G = obtainStyledAttributes.getDimensionPixelSize(index, this.f2662G);
                    break;
                case 28:
                    this.f2696j = p.f(obtainStyledAttributes, index, this.f2696j);
                    break;
                case 29:
                    this.f2698k = p.f(obtainStyledAttributes, index, this.f2698k);
                    break;
                case 30:
                    this.f2665K = obtainStyledAttributes.getDimensionPixelSize(index, this.f2665K);
                    break;
                case 31:
                    this.f2710s = p.f(obtainStyledAttributes, index, this.f2710s);
                    break;
                case 32:
                    this.f2711t = p.f(obtainStyledAttributes, index, this.f2711t);
                    break;
                case 33:
                    this.f2663H = obtainStyledAttributes.getDimensionPixelSize(index, this.f2663H);
                    break;
                case 34:
                    this.f2702m = p.f(obtainStyledAttributes, index, this.f2702m);
                    break;
                case 35:
                    this.f2700l = p.f(obtainStyledAttributes, index, this.f2700l);
                    break;
                case 36:
                    this.f2715x = obtainStyledAttributes.getFloat(index, this.f2715x);
                    break;
                case 37:
                    this.f2675U = obtainStyledAttributes.getFloat(index, this.f2675U);
                    break;
                case 38:
                    this.f2674T = obtainStyledAttributes.getFloat(index, this.f2674T);
                    break;
                case 39:
                    this.f2676V = obtainStyledAttributes.getInt(index, this.f2676V);
                    break;
                case 40:
                    this.f2677W = obtainStyledAttributes.getInt(index, this.f2677W);
                    break;
                case 41:
                    p.g(this, obtainStyledAttributes, index, 0);
                    break;
                case 42:
                    p.g(this, obtainStyledAttributes, index, 1);
                    break;
                default:
                    switch (i4) {
                        case 61:
                            this.f2717z = p.f(obtainStyledAttributes, index, this.f2717z);
                            break;
                        case 62:
                            this.f2656A = obtainStyledAttributes.getDimensionPixelSize(index, this.f2656A);
                            break;
                        case 63:
                            this.f2657B = obtainStyledAttributes.getFloat(index, this.f2657B);
                            break;
                        default:
                            switch (i4) {
                                case 69:
                                    this.f2687d0 = obtainStyledAttributes.getFloat(index, 1.0f);
                                    break;
                                case 70:
                                    this.f2689e0 = obtainStyledAttributes.getFloat(index, 1.0f);
                                    break;
                                case 71:
                                    Log.e("ConstraintSet", "CURRENTLY UNSUPPORTED");
                                    break;
                                case 72:
                                    this.f2691f0 = obtainStyledAttributes.getInt(index, this.f2691f0);
                                    break;
                                case 73:
                                    this.f2693g0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f2693g0);
                                    break;
                                case 74:
                                    this.f2697j0 = obtainStyledAttributes.getString(index);
                                    break;
                                case 75:
                                    this.f2705n0 = obtainStyledAttributes.getBoolean(index, this.f2705n0);
                                    break;
                                case 76:
                                    this.f2707o0 = obtainStyledAttributes.getInt(index, this.f2707o0);
                                    break;
                                case 77:
                                    this.f2708q = p.f(obtainStyledAttributes, index, this.f2708q);
                                    break;
                                case 78:
                                    this.f2709r = p.f(obtainStyledAttributes, index, this.f2709r);
                                    break;
                                case 79:
                                    this.f2673S = obtainStyledAttributes.getDimensionPixelSize(index, this.f2673S);
                                    break;
                                case 80:
                                    this.f2666L = obtainStyledAttributes.getDimensionPixelSize(index, this.f2666L);
                                    break;
                                case 81:
                                    this.f2678X = obtainStyledAttributes.getInt(index, this.f2678X);
                                    break;
                                case 82:
                                    this.f2679Y = obtainStyledAttributes.getInt(index, this.f2679Y);
                                    break;
                                case 83:
                                    this.f2681a0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f2681a0);
                                    break;
                                case 84:
                                    this.Z = obtainStyledAttributes.getDimensionPixelSize(index, this.Z);
                                    break;
                                case 85:
                                    this.f2685c0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f2685c0);
                                    break;
                                case 86:
                                    this.f2683b0 = obtainStyledAttributes.getDimensionPixelSize(index, this.f2683b0);
                                    break;
                                case 87:
                                    this.f2701l0 = obtainStyledAttributes.getBoolean(index, this.f2701l0);
                                    break;
                                case 88:
                                    this.f2703m0 = obtainStyledAttributes.getBoolean(index, this.f2703m0);
                                    break;
                                case 89:
                                    this.f2699k0 = obtainStyledAttributes.getString(index);
                                    break;
                                case 90:
                                    this.f2692g = obtainStyledAttributes.getBoolean(index, this.f2692g);
                                    break;
                                case 91:
                                    Log.w("ConstraintSet", "unused attribute 0x" + Integer.toHexString(index) + "   " + sparseIntArray.get(index));
                                    break;
                                default:
                                    Log.w("ConstraintSet", "Unknown attribute 0x" + Integer.toHexString(index) + "   " + sparseIntArray.get(index));
                                    break;
                            }
                    }
            }
        }
        obtainStyledAttributes.recycle();
    }
}
