package androidx.constraintlayout.widget;

import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.ViewGroup;

/* JADX INFO: loaded from: classes.dex */
public class c extends ViewGroup.MarginLayoutParams {
    public int A;
    public int B;
    public final int C;
    public final int D;
    public float E;
    public float F;
    public String G;
    public float H;
    public float I;
    public int J;
    public int K;
    public int L;
    public int M;
    public int N;
    public int O;
    public int P;
    public int Q;
    public float R;
    public float S;
    public int T;
    public int U;
    public int V;
    public boolean W;
    public boolean X;
    public String Y;
    public int Z;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public int f1309a;

    /* JADX INFO: renamed from: a0, reason: collision with root package name */
    public boolean f1310a0;

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

    /* JADX INFO: renamed from: b0, reason: collision with root package name */
    public boolean f1312b0;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public float f1313c;

    /* JADX INFO: renamed from: c0, reason: collision with root package name */
    public boolean f1314c0;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final boolean f1315d;

    /* JADX INFO: renamed from: d0, reason: collision with root package name */
    public boolean f1316d0;

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

    /* JADX INFO: renamed from: e0, reason: collision with root package name */
    public boolean f1318e0;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public int f1319f;

    /* JADX INFO: renamed from: f0, reason: collision with root package name */
    public boolean f1320f0;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public int f1321g;

    /* JADX INFO: renamed from: g0, reason: collision with root package name */
    public int f1322g0;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public int f1323h;

    /* JADX INFO: renamed from: h0, reason: collision with root package name */
    public int f1324h0;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public int f1325i;

    /* JADX INFO: renamed from: i0, reason: collision with root package name */
    public int f1326i0;

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

    /* JADX INFO: renamed from: j0, reason: collision with root package name */
    public int f1328j0;

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

    /* JADX INFO: renamed from: k0, reason: collision with root package name */
    public int f1330k0;

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

    /* JADX INFO: renamed from: l0, reason: collision with root package name */
    public int f1332l0;

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

    /* JADX INFO: renamed from: m0, reason: collision with root package name */
    public float f1334m0;

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

    /* JADX INFO: renamed from: n0, reason: collision with root package name */
    public int f1336n0;

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

    /* JADX INFO: renamed from: o0, reason: collision with root package name */
    public int f1338o0;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public int f1339p;

    /* JADX INFO: renamed from: p0, reason: collision with root package name */
    public float f1340p0;

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

    /* JADX INFO: renamed from: q0, reason: collision with root package name */
    public w.d f1342q0;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public float f1343r;

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

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

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

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

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public final int f1348w;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public int f1349x;

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    public final int f1350y;

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

    public c(ViewGroup.LayoutParams layoutParams) {
        super(layoutParams);
        this.f1309a = -1;
        this.f1311b = -1;
        this.f1313c = -1.0f;
        this.f1315d = true;
        this.f1317e = -1;
        this.f1319f = -1;
        this.f1321g = -1;
        this.f1323h = -1;
        this.f1325i = -1;
        this.f1327j = -1;
        this.f1329k = -1;
        this.f1331l = -1;
        this.f1333m = -1;
        this.f1335n = -1;
        this.f1337o = -1;
        this.f1339p = -1;
        this.f1341q = 0;
        this.f1343r = 0.0f;
        this.f1344s = -1;
        this.f1345t = -1;
        this.f1346u = -1;
        this.f1347v = -1;
        this.f1348w = Integer.MIN_VALUE;
        this.f1349x = Integer.MIN_VALUE;
        this.f1350y = Integer.MIN_VALUE;
        this.f1351z = Integer.MIN_VALUE;
        this.A = Integer.MIN_VALUE;
        this.B = Integer.MIN_VALUE;
        this.C = Integer.MIN_VALUE;
        this.D = 0;
        this.E = 0.5f;
        this.F = 0.5f;
        this.G = null;
        this.H = -1.0f;
        this.I = -1.0f;
        this.J = 0;
        this.K = 0;
        this.L = 0;
        this.M = 0;
        this.N = 0;
        this.O = 0;
        this.P = 0;
        this.Q = 0;
        this.R = 1.0f;
        this.S = 1.0f;
        this.T = -1;
        this.U = -1;
        this.V = -1;
        this.W = false;
        this.X = false;
        this.Y = null;
        this.Z = 0;
        this.f1310a0 = true;
        this.f1312b0 = true;
        this.f1314c0 = false;
        this.f1316d0 = false;
        this.f1318e0 = false;
        this.f1320f0 = false;
        this.f1322g0 = -1;
        this.f1324h0 = -1;
        this.f1326i0 = -1;
        this.f1328j0 = -1;
        this.f1330k0 = Integer.MIN_VALUE;
        this.f1332l0 = Integer.MIN_VALUE;
        this.f1334m0 = 0.5f;
        this.f1342q0 = new w.d();
        if (layoutParams instanceof ViewGroup.MarginLayoutParams) {
            ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) layoutParams;
            ((ViewGroup.MarginLayoutParams) this).leftMargin = marginLayoutParams.leftMargin;
            ((ViewGroup.MarginLayoutParams) this).rightMargin = marginLayoutParams.rightMargin;
            ((ViewGroup.MarginLayoutParams) this).topMargin = marginLayoutParams.topMargin;
            ((ViewGroup.MarginLayoutParams) this).bottomMargin = marginLayoutParams.bottomMargin;
            setMarginStart(marginLayoutParams.getMarginStart());
            setMarginEnd(marginLayoutParams.getMarginEnd());
        }
        if (layoutParams instanceof c) {
            c cVar = (c) layoutParams;
            this.f1309a = cVar.f1309a;
            this.f1311b = cVar.f1311b;
            this.f1313c = cVar.f1313c;
            this.f1315d = cVar.f1315d;
            this.f1317e = cVar.f1317e;
            this.f1319f = cVar.f1319f;
            this.f1321g = cVar.f1321g;
            this.f1323h = cVar.f1323h;
            this.f1325i = cVar.f1325i;
            this.f1327j = cVar.f1327j;
            this.f1329k = cVar.f1329k;
            this.f1331l = cVar.f1331l;
            this.f1333m = cVar.f1333m;
            this.f1335n = cVar.f1335n;
            this.f1337o = cVar.f1337o;
            this.f1339p = cVar.f1339p;
            this.f1341q = cVar.f1341q;
            this.f1343r = cVar.f1343r;
            this.f1344s = cVar.f1344s;
            this.f1345t = cVar.f1345t;
            this.f1346u = cVar.f1346u;
            this.f1347v = cVar.f1347v;
            this.f1348w = cVar.f1348w;
            this.f1349x = cVar.f1349x;
            this.f1350y = cVar.f1350y;
            this.f1351z = cVar.f1351z;
            this.A = cVar.A;
            this.B = cVar.B;
            this.C = cVar.C;
            this.D = cVar.D;
            this.E = cVar.E;
            this.F = cVar.F;
            this.G = cVar.G;
            this.H = cVar.H;
            this.I = cVar.I;
            this.J = cVar.J;
            this.K = cVar.K;
            this.W = cVar.W;
            this.X = cVar.X;
            this.L = cVar.L;
            this.M = cVar.M;
            this.N = cVar.N;
            this.P = cVar.P;
            this.O = cVar.O;
            this.Q = cVar.Q;
            this.R = cVar.R;
            this.S = cVar.S;
            this.T = cVar.T;
            this.U = cVar.U;
            this.V = cVar.V;
            this.f1310a0 = cVar.f1310a0;
            this.f1312b0 = cVar.f1312b0;
            this.f1314c0 = cVar.f1314c0;
            this.f1316d0 = cVar.f1316d0;
            this.f1322g0 = cVar.f1322g0;
            this.f1324h0 = cVar.f1324h0;
            this.f1326i0 = cVar.f1326i0;
            this.f1328j0 = cVar.f1328j0;
            this.f1330k0 = cVar.f1330k0;
            this.f1332l0 = cVar.f1332l0;
            this.f1334m0 = cVar.f1334m0;
            this.Y = cVar.Y;
            this.Z = cVar.Z;
            this.f1342q0 = cVar.f1342q0;
        }
    }

    public final void a() {
        this.f1316d0 = false;
        this.f1310a0 = true;
        this.f1312b0 = true;
        int i10 = ((ViewGroup.MarginLayoutParams) this).width;
        if (i10 == -2 && this.W) {
            this.f1310a0 = false;
            if (this.L == 0) {
                this.L = 1;
            }
        }
        int i11 = ((ViewGroup.MarginLayoutParams) this).height;
        if (i11 == -2 && this.X) {
            this.f1312b0 = false;
            if (this.M == 0) {
                this.M = 1;
            }
        }
        if (i10 == 0 || i10 == -1) {
            this.f1310a0 = false;
            if (i10 == 0 && this.L == 1) {
                ((ViewGroup.MarginLayoutParams) this).width = -2;
                this.W = true;
            }
        }
        if (i11 == 0 || i11 == -1) {
            this.f1312b0 = false;
            if (i11 == 0 && this.M == 1) {
                ((ViewGroup.MarginLayoutParams) this).height = -2;
                this.X = true;
            }
        }
        if (this.f1313c == -1.0f && this.f1309a == -1 && this.f1311b == -1) {
            return;
        }
        this.f1316d0 = true;
        this.f1310a0 = true;
        this.f1312b0 = true;
        if (!(this.f1342q0 instanceof w.h)) {
            this.f1342q0 = new w.h();
        }
        ((w.h) this.f1342q0).U(this.V);
    }

    /* JADX WARN: Removed duplicated region for block: B:17:0x004a  */
    /* JADX WARN: Removed duplicated region for block: B:20:0x0051  */
    /* JADX WARN: Removed duplicated region for block: B:23:0x0058  */
    /* JADX WARN: Removed duplicated region for block: B:26:0x005e  */
    /* JADX WARN: Removed duplicated region for block: B:29:0x0064  */
    /* JADX WARN: Removed duplicated region for block: B:38:0x007a  */
    /* JADX WARN: Removed duplicated region for block: B:39:0x0082  */
    @Override // android.view.ViewGroup.MarginLayoutParams, android.view.ViewGroup.LayoutParams
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final void resolveLayoutDirection(int i10) {
        int i11;
        int i12;
        int i13;
        int i14;
        int i15 = ((ViewGroup.MarginLayoutParams) this).leftMargin;
        int i16 = ((ViewGroup.MarginLayoutParams) this).rightMargin;
        super.resolveLayoutDirection(i10);
        boolean z10 = false;
        boolean z11 = 1 == getLayoutDirection();
        this.f1326i0 = -1;
        this.f1328j0 = -1;
        this.f1322g0 = -1;
        this.f1324h0 = -1;
        this.f1330k0 = this.f1348w;
        this.f1332l0 = this.f1350y;
        float f10 = this.E;
        this.f1334m0 = f10;
        int i17 = this.f1309a;
        this.f1336n0 = i17;
        int i18 = this.f1311b;
        this.f1338o0 = i18;
        float f11 = this.f1313c;
        this.f1340p0 = f11;
        if (z11) {
            int i19 = this.f1344s;
            if (i19 != -1) {
                this.f1326i0 = i19;
            } else {
                int i20 = this.f1345t;
                if (i20 != -1) {
                    this.f1328j0 = i20;
                }
                i11 = this.f1346u;
                if (i11 != -1) {
                    this.f1324h0 = i11;
                    z10 = true;
                }
                i12 = this.f1347v;
                if (i12 != -1) {
                    this.f1322g0 = i12;
                    z10 = true;
                }
                i13 = this.A;
                if (i13 != Integer.MIN_VALUE) {
                    this.f1332l0 = i13;
                }
                i14 = this.B;
                if (i14 != Integer.MIN_VALUE) {
                    this.f1330k0 = i14;
                }
                if (z10) {
                    this.f1334m0 = 1.0f - f10;
                }
                if (this.f1316d0 && this.V == 1 && this.f1315d) {
                    if (f11 == -1.0f) {
                        this.f1340p0 = 1.0f - f11;
                        this.f1336n0 = -1;
                        this.f1338o0 = -1;
                    } else if (i17 != -1) {
                        this.f1338o0 = i17;
                        this.f1336n0 = -1;
                        this.f1340p0 = -1.0f;
                    } else if (i18 != -1) {
                        this.f1336n0 = i18;
                        this.f1338o0 = -1;
                        this.f1340p0 = -1.0f;
                    }
                }
            }
            z10 = true;
            i11 = this.f1346u;
            if (i11 != -1) {
            }
            i12 = this.f1347v;
            if (i12 != -1) {
            }
            i13 = this.A;
            if (i13 != Integer.MIN_VALUE) {
            }
            i14 = this.B;
            if (i14 != Integer.MIN_VALUE) {
            }
            if (z10) {
            }
            if (this.f1316d0) {
                if (f11 == -1.0f) {
                }
            }
        } else {
            int i21 = this.f1344s;
            if (i21 != -1) {
                this.f1324h0 = i21;
            }
            int i22 = this.f1345t;
            if (i22 != -1) {
                this.f1322g0 = i22;
            }
            int i23 = this.f1346u;
            if (i23 != -1) {
                this.f1326i0 = i23;
            }
            int i24 = this.f1347v;
            if (i24 != -1) {
                this.f1328j0 = i24;
            }
            int i25 = this.A;
            if (i25 != Integer.MIN_VALUE) {
                this.f1330k0 = i25;
            }
            int i26 = this.B;
            if (i26 != Integer.MIN_VALUE) {
                this.f1332l0 = i26;
            }
        }
        if (this.f1346u == -1 && this.f1347v == -1 && this.f1345t == -1 && this.f1344s == -1) {
            int i27 = this.f1321g;
            if (i27 != -1) {
                this.f1326i0 = i27;
                if (((ViewGroup.MarginLayoutParams) this).rightMargin <= 0 && i16 > 0) {
                    ((ViewGroup.MarginLayoutParams) this).rightMargin = i16;
                }
            } else {
                int i28 = this.f1323h;
                if (i28 != -1) {
                    this.f1328j0 = i28;
                    if (((ViewGroup.MarginLayoutParams) this).rightMargin <= 0 && i16 > 0) {
                        ((ViewGroup.MarginLayoutParams) this).rightMargin = i16;
                    }
                }
            }
            int i29 = this.f1317e;
            if (i29 != -1) {
                this.f1322g0 = i29;
                if (((ViewGroup.MarginLayoutParams) this).leftMargin > 0 || i15 <= 0) {
                    return;
                }
                ((ViewGroup.MarginLayoutParams) this).leftMargin = i15;
                return;
            }
            int i30 = this.f1319f;
            if (i30 != -1) {
                this.f1324h0 = i30;
                if (((ViewGroup.MarginLayoutParams) this).leftMargin > 0 || i15 <= 0) {
                    return;
                }
                ((ViewGroup.MarginLayoutParams) this).leftMargin = i15;
            }
        }
    }

    public c(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
        this.f1309a = -1;
        this.f1311b = -1;
        this.f1313c = -1.0f;
        this.f1315d = true;
        this.f1317e = -1;
        this.f1319f = -1;
        this.f1321g = -1;
        this.f1323h = -1;
        this.f1325i = -1;
        this.f1327j = -1;
        this.f1329k = -1;
        this.f1331l = -1;
        this.f1333m = -1;
        this.f1335n = -1;
        this.f1337o = -1;
        this.f1339p = -1;
        this.f1341q = 0;
        this.f1343r = 0.0f;
        this.f1344s = -1;
        this.f1345t = -1;
        this.f1346u = -1;
        this.f1347v = -1;
        this.f1348w = Integer.MIN_VALUE;
        this.f1349x = Integer.MIN_VALUE;
        this.f1350y = Integer.MIN_VALUE;
        this.f1351z = Integer.MIN_VALUE;
        this.A = Integer.MIN_VALUE;
        this.B = Integer.MIN_VALUE;
        this.C = Integer.MIN_VALUE;
        this.D = 0;
        this.E = 0.5f;
        this.F = 0.5f;
        this.G = null;
        this.H = -1.0f;
        this.I = -1.0f;
        this.J = 0;
        this.K = 0;
        this.L = 0;
        this.M = 0;
        this.N = 0;
        this.O = 0;
        this.P = 0;
        this.Q = 0;
        this.R = 1.0f;
        this.S = 1.0f;
        this.T = -1;
        this.U = -1;
        this.V = -1;
        this.W = false;
        this.X = false;
        this.Y = null;
        this.Z = 0;
        this.f1310a0 = true;
        this.f1312b0 = true;
        this.f1314c0 = false;
        this.f1316d0 = false;
        this.f1318e0 = false;
        this.f1320f0 = false;
        this.f1322g0 = -1;
        this.f1324h0 = -1;
        this.f1326i0 = -1;
        this.f1328j0 = -1;
        this.f1330k0 = Integer.MIN_VALUE;
        this.f1332l0 = Integer.MIN_VALUE;
        this.f1334m0 = 0.5f;
        this.f1342q0 = new w.d();
        TypedArray typedArrayObtainStyledAttributes = context.obtainStyledAttributes(attributeSet, s.ConstraintLayout_Layout);
        int indexCount = typedArrayObtainStyledAttributes.getIndexCount();
        for (int i10 = 0; i10 < indexCount; i10++) {
            int index = typedArrayObtainStyledAttributes.getIndex(i10);
            int i11 = b.f1308a.get(index);
            switch (i11) {
                case 1:
                    this.V = typedArrayObtainStyledAttributes.getInt(index, this.V);
                    break;
                case 2:
                    int resourceId = typedArrayObtainStyledAttributes.getResourceId(index, this.f1339p);
                    this.f1339p = resourceId;
                    if (resourceId == -1) {
                        this.f1339p = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 3:
                    this.f1341q = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.f1341q);
                    break;
                case 4:
                    float f10 = typedArrayObtainStyledAttributes.getFloat(index, this.f1343r) % 360.0f;
                    this.f1343r = f10;
                    if (f10 < 0.0f) {
                        this.f1343r = (360.0f - f10) % 360.0f;
                    }
                    break;
                case 5:
                    this.f1309a = typedArrayObtainStyledAttributes.getDimensionPixelOffset(index, this.f1309a);
                    break;
                case 6:
                    this.f1311b = typedArrayObtainStyledAttributes.getDimensionPixelOffset(index, this.f1311b);
                    break;
                case 7:
                    this.f1313c = typedArrayObtainStyledAttributes.getFloat(index, this.f1313c);
                    break;
                case 8:
                    int resourceId2 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1317e);
                    this.f1317e = resourceId2;
                    if (resourceId2 == -1) {
                        this.f1317e = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 9:
                    int resourceId3 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1319f);
                    this.f1319f = resourceId3;
                    if (resourceId3 == -1) {
                        this.f1319f = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 10:
                    int resourceId4 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1321g);
                    this.f1321g = resourceId4;
                    if (resourceId4 == -1) {
                        this.f1321g = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 11:
                    int resourceId5 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1323h);
                    this.f1323h = resourceId5;
                    if (resourceId5 == -1) {
                        this.f1323h = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 12:
                    int resourceId6 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1325i);
                    this.f1325i = resourceId6;
                    if (resourceId6 == -1) {
                        this.f1325i = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 13:
                    int resourceId7 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1327j);
                    this.f1327j = resourceId7;
                    if (resourceId7 == -1) {
                        this.f1327j = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 14:
                    int resourceId8 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1329k);
                    this.f1329k = resourceId8;
                    if (resourceId8 == -1) {
                        this.f1329k = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 15:
                    int resourceId9 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1331l);
                    this.f1331l = resourceId9;
                    if (resourceId9 == -1) {
                        this.f1331l = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 16:
                    int resourceId10 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1333m);
                    this.f1333m = resourceId10;
                    if (resourceId10 == -1) {
                        this.f1333m = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 17:
                    int resourceId11 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1344s);
                    this.f1344s = resourceId11;
                    if (resourceId11 == -1) {
                        this.f1344s = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 18:
                    int resourceId12 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1345t);
                    this.f1345t = resourceId12;
                    if (resourceId12 == -1) {
                        this.f1345t = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 19:
                    int resourceId13 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1346u);
                    this.f1346u = resourceId13;
                    if (resourceId13 == -1) {
                        this.f1346u = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 20:
                    int resourceId14 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1347v);
                    this.f1347v = resourceId14;
                    if (resourceId14 == -1) {
                        this.f1347v = typedArrayObtainStyledAttributes.getInt(index, -1);
                    }
                    break;
                case 21:
                    this.f1348w = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.f1348w);
                    break;
                case 22:
                    this.f1349x = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.f1349x);
                    break;
                case 23:
                    this.f1350y = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.f1350y);
                    break;
                case 24:
                    this.f1351z = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.f1351z);
                    break;
                case 25:
                    this.A = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.A);
                    break;
                case 26:
                    this.B = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.B);
                    break;
                case 27:
                    this.W = typedArrayObtainStyledAttributes.getBoolean(index, this.W);
                    break;
                case 28:
                    this.X = typedArrayObtainStyledAttributes.getBoolean(index, this.X);
                    break;
                case 29:
                    this.E = typedArrayObtainStyledAttributes.getFloat(index, this.E);
                    break;
                case 30:
                    this.F = typedArrayObtainStyledAttributes.getFloat(index, this.F);
                    break;
                case 31:
                    this.L = typedArrayObtainStyledAttributes.getInt(index, 0);
                    break;
                case 32:
                    this.M = typedArrayObtainStyledAttributes.getInt(index, 0);
                    break;
                case 33:
                    try {
                        this.N = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.N);
                    } catch (Exception unused) {
                        if (typedArrayObtainStyledAttributes.getInt(index, this.N) == -2) {
                            this.N = -2;
                        }
                    }
                    break;
                case 34:
                    try {
                        this.P = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.P);
                    } catch (Exception unused2) {
                        if (typedArrayObtainStyledAttributes.getInt(index, this.P) == -2) {
                            this.P = -2;
                        }
                    }
                    break;
                case 35:
                    this.R = Math.max(0.0f, typedArrayObtainStyledAttributes.getFloat(index, this.R));
                    this.L = 2;
                    break;
                case 36:
                    try {
                        this.O = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.O);
                    } catch (Exception unused3) {
                        if (typedArrayObtainStyledAttributes.getInt(index, this.O) == -2) {
                            this.O = -2;
                        }
                    }
                    break;
                case 37:
                    try {
                        this.Q = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.Q);
                    } catch (Exception unused4) {
                        if (typedArrayObtainStyledAttributes.getInt(index, this.Q) == -2) {
                            this.Q = -2;
                        }
                    }
                    break;
                case 38:
                    this.S = Math.max(0.0f, typedArrayObtainStyledAttributes.getFloat(index, this.S));
                    this.M = 2;
                    break;
                default:
                    switch (i11) {
                        case 44:
                            o.n(this, typedArrayObtainStyledAttributes.getString(index));
                            break;
                        case 45:
                            this.H = typedArrayObtainStyledAttributes.getFloat(index, this.H);
                            break;
                        case 46:
                            this.I = typedArrayObtainStyledAttributes.getFloat(index, this.I);
                            break;
                        case 47:
                            this.J = typedArrayObtainStyledAttributes.getInt(index, 0);
                            break;
                        case 48:
                            this.K = typedArrayObtainStyledAttributes.getInt(index, 0);
                            break;
                        case 49:
                            this.T = typedArrayObtainStyledAttributes.getDimensionPixelOffset(index, this.T);
                            break;
                        case 50:
                            this.U = typedArrayObtainStyledAttributes.getDimensionPixelOffset(index, this.U);
                            break;
                        case 51:
                            this.Y = typedArrayObtainStyledAttributes.getString(index);
                            break;
                        case 52:
                            int resourceId15 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1335n);
                            this.f1335n = resourceId15;
                            if (resourceId15 == -1) {
                                this.f1335n = typedArrayObtainStyledAttributes.getInt(index, -1);
                            }
                            break;
                        case 53:
                            int resourceId16 = typedArrayObtainStyledAttributes.getResourceId(index, this.f1337o);
                            this.f1337o = resourceId16;
                            if (resourceId16 == -1) {
                                this.f1337o = typedArrayObtainStyledAttributes.getInt(index, -1);
                            }
                            break;
                        case 54:
                            this.D = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.D);
                            break;
                        case 55:
                            this.C = typedArrayObtainStyledAttributes.getDimensionPixelSize(index, this.C);
                            break;
                        default:
                            switch (i11) {
                                case 64:
                                    o.m(this, typedArrayObtainStyledAttributes, index, 0);
                                    break;
                                case 65:
                                    o.m(this, typedArrayObtainStyledAttributes, index, 1);
                                    break;
                                case 66:
                                    this.Z = typedArrayObtainStyledAttributes.getInt(index, this.Z);
                                    break;
                                case 67:
                                    this.f1315d = typedArrayObtainStyledAttributes.getBoolean(index, this.f1315d);
                                    break;
                            }
                            break;
                    }
                    break;
            }
        }
        typedArrayObtainStyledAttributes.recycle();
        a();
    }

    public c(int i10, int i11) {
        super(i10, i11);
        this.f1309a = -1;
        this.f1311b = -1;
        this.f1313c = -1.0f;
        this.f1315d = true;
        this.f1317e = -1;
        this.f1319f = -1;
        this.f1321g = -1;
        this.f1323h = -1;
        this.f1325i = -1;
        this.f1327j = -1;
        this.f1329k = -1;
        this.f1331l = -1;
        this.f1333m = -1;
        this.f1335n = -1;
        this.f1337o = -1;
        this.f1339p = -1;
        this.f1341q = 0;
        this.f1343r = 0.0f;
        this.f1344s = -1;
        this.f1345t = -1;
        this.f1346u = -1;
        this.f1347v = -1;
        this.f1348w = Integer.MIN_VALUE;
        this.f1349x = Integer.MIN_VALUE;
        this.f1350y = Integer.MIN_VALUE;
        this.f1351z = Integer.MIN_VALUE;
        this.A = Integer.MIN_VALUE;
        this.B = Integer.MIN_VALUE;
        this.C = Integer.MIN_VALUE;
        this.D = 0;
        this.E = 0.5f;
        this.F = 0.5f;
        this.G = null;
        this.H = -1.0f;
        this.I = -1.0f;
        this.J = 0;
        this.K = 0;
        this.L = 0;
        this.M = 0;
        this.N = 0;
        this.O = 0;
        this.P = 0;
        this.Q = 0;
        this.R = 1.0f;
        this.S = 1.0f;
        this.T = -1;
        this.U = -1;
        this.V = -1;
        this.W = false;
        this.X = false;
        this.Y = null;
        this.Z = 0;
        this.f1310a0 = true;
        this.f1312b0 = true;
        this.f1314c0 = false;
        this.f1316d0 = false;
        this.f1318e0 = false;
        this.f1320f0 = false;
        this.f1322g0 = -1;
        this.f1324h0 = -1;
        this.f1326i0 = -1;
        this.f1328j0 = -1;
        this.f1330k0 = Integer.MIN_VALUE;
        this.f1332l0 = Integer.MIN_VALUE;
        this.f1334m0 = 0.5f;
        this.f1342q0 = new w.d();
    }
}
