package androidx.constraintlayout.widget;

import java.util.Arrays;

/* JADX INFO: loaded from: classes.dex */
public final class i {

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

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

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

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public int[] f1378d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public float[] f1379e;

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

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

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public String[] f1382h;

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

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

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public boolean[] f1385k;

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

    public final void a(float f10, int i10) {
        int i11 = this.f1380f;
        int[] iArr = this.f1378d;
        if (i11 >= iArr.length) {
            this.f1378d = Arrays.copyOf(iArr, iArr.length * 2);
            float[] fArr = this.f1379e;
            this.f1379e = Arrays.copyOf(fArr, fArr.length * 2);
        }
        int[] iArr2 = this.f1378d;
        int i12 = this.f1380f;
        iArr2[i12] = i10;
        float[] fArr2 = this.f1379e;
        this.f1380f = i12 + 1;
        fArr2[i12] = f10;
    }

    public final void b(int i10, int i11) {
        int i12 = this.f1377c;
        int[] iArr = this.f1375a;
        if (i12 >= iArr.length) {
            this.f1375a = Arrays.copyOf(iArr, iArr.length * 2);
            int[] iArr2 = this.f1376b;
            this.f1376b = Arrays.copyOf(iArr2, iArr2.length * 2);
        }
        int[] iArr3 = this.f1375a;
        int i13 = this.f1377c;
        iArr3[i13] = i10;
        int[] iArr4 = this.f1376b;
        this.f1377c = i13 + 1;
        iArr4[i13] = i11;
    }

    public final void c(int i10, String str) {
        int i11 = this.f1383i;
        int[] iArr = this.f1381g;
        if (i11 >= iArr.length) {
            this.f1381g = Arrays.copyOf(iArr, iArr.length * 2);
            String[] strArr = this.f1382h;
            this.f1382h = (String[]) Arrays.copyOf(strArr, strArr.length * 2);
        }
        int[] iArr2 = this.f1381g;
        int i12 = this.f1383i;
        iArr2[i12] = i10;
        String[] strArr2 = this.f1382h;
        this.f1383i = i12 + 1;
        strArr2[i12] = str;
    }

    public final void d(int i10, boolean z10) {
        int i11 = this.f1386l;
        int[] iArr = this.f1384j;
        if (i11 >= iArr.length) {
            this.f1384j = Arrays.copyOf(iArr, iArr.length * 2);
            boolean[] zArr = this.f1385k;
            this.f1385k = Arrays.copyOf(zArr, zArr.length * 2);
        }
        int[] iArr2 = this.f1384j;
        int i12 = this.f1386l;
        iArr2[i12] = i10;
        boolean[] zArr2 = this.f1385k;
        this.f1386l = i12 + 1;
        zArr2[i12] = z10;
    }

    public final void e(j jVar) {
        for (int i10 = 0; i10 < this.f1377c; i10++) {
            int i11 = this.f1375a[i10];
            int i12 = this.f1376b[i10];
            if (i11 == 6) {
                jVar.f1391e.D = i12;
            } else if (i11 == 7) {
                jVar.f1391e.E = i12;
            } else if (i11 == 8) {
                jVar.f1391e.K = i12;
            } else if (i11 == 27) {
                jVar.f1391e.F = i12;
            } else if (i11 == 28) {
                jVar.f1391e.H = i12;
            } else if (i11 == 41) {
                jVar.f1391e.W = i12;
            } else if (i11 == 42) {
                jVar.f1391e.X = i12;
            } else if (i11 == 61) {
                jVar.f1391e.A = i12;
            } else if (i11 == 62) {
                jVar.f1391e.B = i12;
            } else if (i11 == 72) {
                jVar.f1391e.f1409g0 = i12;
            } else if (i11 == 73) {
                jVar.f1391e.f1411h0 = i12;
            } else if (i11 == 88) {
                jVar.f1390d.f1450l = i12;
            } else if (i11 == 89) {
                jVar.f1390d.f1451m = i12;
            } else if (i11 == 2) {
                jVar.f1391e.J = i12;
            } else if (i11 == 31) {
                jVar.f1391e.L = i12;
            } else if (i11 == 34) {
                jVar.f1391e.I = i12;
            } else if (i11 == 38) {
                jVar.f1387a = i12;
            } else if (i11 == 64) {
                jVar.f1390d.f1440b = i12;
            } else if (i11 == 66) {
                jVar.f1390d.f1444f = i12;
            } else if (i11 == 76) {
                jVar.f1390d.f1443e = i12;
            } else if (i11 == 78) {
                jVar.f1389c.f1454c = i12;
            } else if (i11 == 97) {
                jVar.f1391e.f1427p0 = i12;
            } else if (i11 == 93) {
                jVar.f1391e.M = i12;
            } else if (i11 != 94) {
                switch (i11) {
                    case 11:
                        jVar.f1391e.Q = i12;
                        break;
                    case 12:
                        jVar.f1391e.R = i12;
                        break;
                    case 13:
                        jVar.f1391e.N = i12;
                        break;
                    case 14:
                        jVar.f1391e.P = i12;
                        break;
                    case 15:
                        jVar.f1391e.S = i12;
                        break;
                    case 16:
                        jVar.f1391e.O = i12;
                        break;
                    case 17:
                        jVar.f1391e.f1404e = i12;
                        break;
                    case 18:
                        jVar.f1391e.f1406f = i12;
                        break;
                    default:
                        switch (i11) {
                            case 21:
                                jVar.f1391e.f1402d = i12;
                                break;
                            case 22:
                                jVar.f1389c.f1453b = i12;
                                break;
                            case 23:
                                jVar.f1391e.f1400c = i12;
                                break;
                            case 24:
                                jVar.f1391e.G = i12;
                                break;
                            default:
                                switch (i11) {
                                    case 54:
                                        jVar.f1391e.Y = i12;
                                        break;
                                    case 55:
                                        jVar.f1391e.Z = i12;
                                        break;
                                    case 56:
                                        jVar.f1391e.f1397a0 = i12;
                                        break;
                                    case 57:
                                        jVar.f1391e.f1399b0 = i12;
                                        break;
                                    case 58:
                                        jVar.f1391e.f1401c0 = i12;
                                        break;
                                    case 59:
                                        jVar.f1391e.f1403d0 = i12;
                                        break;
                                    default:
                                        switch (i11) {
                                            case 82:
                                                jVar.f1390d.f1441c = i12;
                                                break;
                                            case 83:
                                                jVar.f1392f.f1466i = i12;
                                                break;
                                            case 84:
                                                jVar.f1390d.f1448j = i12;
                                                break;
                                        }
                                        break;
                                }
                                break;
                        }
                        break;
                }
            } else {
                jVar.f1391e.T = i12;
            }
        }
        for (int i13 = 0; i13 < this.f1380f; i13++) {
            int i14 = this.f1378d[i13];
            float f10 = this.f1379e[i13];
            if (i14 == 19) {
                jVar.f1391e.f1408g = f10;
            } else if (i14 == 20) {
                jVar.f1391e.f1435x = f10;
            } else if (i14 == 37) {
                jVar.f1391e.f1436y = f10;
            } else if (i14 == 60) {
                jVar.f1392f.f1459b = f10;
            } else if (i14 == 63) {
                jVar.f1391e.C = f10;
            } else if (i14 == 79) {
                jVar.f1390d.f1445g = f10;
            } else if (i14 == 85) {
                jVar.f1390d.f1447i = f10;
            } else if (i14 == 39) {
                jVar.f1391e.V = f10;
            } else if (i14 != 40) {
                switch (i14) {
                    case 43:
                        jVar.f1389c.f1455d = f10;
                        break;
                    case 44:
                        n nVar = jVar.f1392f;
                        nVar.f1471n = f10;
                        nVar.f1470m = true;
                        break;
                    case 45:
                        jVar.f1392f.f1460c = f10;
                        break;
                    case 46:
                        jVar.f1392f.f1461d = f10;
                        break;
                    case 47:
                        jVar.f1392f.f1462e = f10;
                        break;
                    case 48:
                        jVar.f1392f.f1463f = f10;
                        break;
                    case 49:
                        jVar.f1392f.f1464g = f10;
                        break;
                    case 50:
                        jVar.f1392f.f1465h = f10;
                        break;
                    case 51:
                        jVar.f1392f.f1467j = f10;
                        break;
                    case 52:
                        jVar.f1392f.f1468k = f10;
                        break;
                    case 53:
                        jVar.f1392f.f1469l = f10;
                        break;
                    default:
                        switch (i14) {
                            case 67:
                                jVar.f1390d.f1446h = f10;
                                break;
                            case 68:
                                jVar.f1389c.f1456e = f10;
                                break;
                            case 69:
                                jVar.f1391e.f1405e0 = f10;
                                break;
                            case 70:
                                jVar.f1391e.f1407f0 = f10;
                                break;
                        }
                        break;
                }
            } else {
                jVar.f1391e.U = f10;
            }
        }
        for (int i15 = 0; i15 < this.f1383i; i15++) {
            int i16 = this.f1381g[i15];
            String str = this.f1382h[i15];
            if (i16 == 5) {
                jVar.f1391e.f1437z = str;
            } else if (i16 == 65) {
                jVar.f1390d.f1442d = str;
            } else if (i16 == 74) {
                k kVar = jVar.f1391e;
                kVar.f1417k0 = str;
                kVar.f1415j0 = null;
            } else if (i16 == 77) {
                jVar.f1391e.f1419l0 = str;
            } else if (i16 == 90) {
                jVar.f1390d.f1449k = str;
            }
        }
        for (int i17 = 0; i17 < this.f1386l; i17++) {
            int i18 = this.f1384j[i17];
            boolean z10 = this.f1385k[i17];
            if (i18 == 44) {
                jVar.f1392f.f1470m = z10;
            } else if (i18 == 75) {
                jVar.f1391e.f1425o0 = z10;
            } else if (i18 == 80) {
                jVar.f1391e.f1421m0 = z10;
            } else if (i18 == 81) {
                jVar.f1391e.f1423n0 = z10;
            }
        }
    }
}
