package u0;

import d5.AbstractC0844a;
import java.util.Arrays;
import java.util.Objects;

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

    /* JADX INFO: renamed from: B, reason: collision with root package name */
    public static final B f17123B;

    /* JADX INFO: renamed from: A, reason: collision with root package name */
    public final C3.G f17124A;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final CharSequence f17125a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final CharSequence f17126b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final CharSequence f17127c;

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final CharSequence f17129e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final byte[] f17130f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final Integer f17131g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final Integer f17132h;
    public final Integer i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final Integer f17133j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final Boolean f17134k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final Integer f17135l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final Integer f17136m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final Integer f17137n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public final Integer f17138o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public final Integer f17139p;

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final Integer f17140q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final Integer f17141r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final CharSequence f17142s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final CharSequence f17143t;

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public final CharSequence f17144u;

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public final Integer f17145v;

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

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public final CharSequence f17147x;

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

    /* JADX INFO: renamed from: z, reason: collision with root package name */
    public final Integer f17149z;

    static {
        C1564A c1564a = new C1564A();
        C3.E e8 = C3.G.f1197r;
        c1564a.f17122z = C3.W.f1225u;
        f17123B = new B(c1564a);
        AbstractC0844a.r(0, 1, 2, 3, 4);
        AbstractC0844a.r(5, 6, 8, 9, 10);
        AbstractC0844a.r(11, 12, 13, 14, 15);
        AbstractC0844a.r(16, 17, 18, 19, 20);
        AbstractC0844a.r(21, 22, 23, 24, 25);
        AbstractC0844a.r(26, 27, 28, 29, 30);
        AbstractC0844a.r(31, 32, 33, 34, 1000);
    }

    public B(C1564A c1564a) {
        Boolean boolValueOf = c1564a.f17107k;
        Integer numValueOf = c1564a.f17106j;
        Integer numValueOf2 = c1564a.f17121y;
        int i = 1;
        int i5 = 0;
        int i8 = 0;
        if (boolValueOf != null) {
            if (!boolValueOf.booleanValue()) {
                numValueOf = -1;
            } else if (numValueOf == null || numValueOf.intValue() == -1) {
                if (numValueOf2 != null) {
                    switch (numValueOf2.intValue()) {
                        case 1:
                        case 2:
                        case 3:
                        case 4:
                        case 5:
                        case Z.g.STRING_SET_FIELD_NUMBER /* 6 */:
                        case Z.g.DOUBLE_FIELD_NUMBER /* 7 */:
                        case Z.g.BYTES_FIELD_NUMBER /* 8 */:
                        case 9:
                        case 10:
                        case 11:
                        case 12:
                        case 13:
                        case 14:
                        case 15:
                        case 16:
                        case 17:
                        case 18:
                        case 19:
                        case 31:
                        case 32:
                        case 33:
                        case 34:
                        case 35:
                            break;
                        case 20:
                        case 26:
                        case 27:
                        case 28:
                        case 29:
                        case 30:
                        default:
                            i = 0;
                            break;
                        case 21:
                            i = 2;
                            break;
                        case 22:
                            i = 3;
                            break;
                        case 23:
                            i = 4;
                            break;
                        case 24:
                            i = 5;
                            break;
                        case 25:
                            i = 6;
                            break;
                    }
                    i8 = i;
                }
                numValueOf = Integer.valueOf(i8);
            }
        } else if (numValueOf != null) {
            boolean z8 = numValueOf.intValue() != -1;
            boolValueOf = Boolean.valueOf(z8);
            if (z8 && numValueOf2 == null) {
                switch (numValueOf.intValue()) {
                    case 1:
                        break;
                    case 2:
                        i5 = 21;
                        break;
                    case 3:
                        i5 = 22;
                        break;
                    case 4:
                        i5 = 23;
                        break;
                    case 5:
                        i5 = 24;
                        break;
                    case Z.g.STRING_SET_FIELD_NUMBER /* 6 */:
                        i5 = 25;
                        break;
                    default:
                        i5 = 20;
                        break;
                }
                numValueOf2 = Integer.valueOf(i5);
            }
        }
        this.f17125a = c1564a.f17098a;
        this.f17126b = c1564a.f17099b;
        this.f17127c = c1564a.f17100c;
        this.f17128d = c1564a.f17101d;
        this.f17129e = c1564a.f17102e;
        this.f17130f = c1564a.f17103f;
        this.f17131g = c1564a.f17104g;
        this.f17132h = c1564a.f17105h;
        this.i = c1564a.i;
        this.f17133j = numValueOf;
        this.f17134k = boolValueOf;
        Integer num = c1564a.f17108l;
        this.f17135l = num;
        this.f17136m = num;
        this.f17137n = c1564a.f17109m;
        this.f17138o = c1564a.f17110n;
        this.f17139p = c1564a.f17111o;
        this.f17140q = c1564a.f17112p;
        this.f17141r = c1564a.f17113q;
        this.f17142s = c1564a.f17114r;
        this.f17143t = c1564a.f17115s;
        this.f17144u = c1564a.f17116t;
        this.f17145v = c1564a.f17117u;
        this.f17146w = c1564a.f17118v;
        this.f17147x = c1564a.f17119w;
        this.f17148y = c1564a.f17120x;
        this.f17149z = numValueOf2;
        this.f17124A = c1564a.f17122z;
    }

    public final C1564A a() {
        C1564A c1564a = new C1564A();
        c1564a.f17098a = this.f17125a;
        c1564a.f17099b = this.f17126b;
        c1564a.f17100c = this.f17127c;
        c1564a.f17101d = this.f17128d;
        c1564a.f17102e = this.f17129e;
        c1564a.f17103f = this.f17130f;
        c1564a.f17104g = this.f17131g;
        c1564a.f17105h = this.f17132h;
        c1564a.i = this.i;
        c1564a.f17106j = this.f17133j;
        c1564a.f17107k = this.f17134k;
        c1564a.f17108l = this.f17136m;
        c1564a.f17109m = this.f17137n;
        c1564a.f17110n = this.f17138o;
        c1564a.f17111o = this.f17139p;
        c1564a.f17112p = this.f17140q;
        c1564a.f17113q = this.f17141r;
        c1564a.f17114r = this.f17142s;
        c1564a.f17115s = this.f17143t;
        c1564a.f17116t = this.f17144u;
        c1564a.f17117u = this.f17145v;
        c1564a.f17118v = this.f17146w;
        c1564a.f17119w = this.f17147x;
        c1564a.f17120x = this.f17148y;
        c1564a.f17121y = this.f17149z;
        c1564a.f17122z = this.f17124A;
        return c1564a;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || B.class != obj.getClass()) {
            return false;
        }
        B b8 = (B) obj;
        return Objects.equals(this.f17125a, b8.f17125a) && Objects.equals(this.f17126b, b8.f17126b) && Objects.equals(this.f17127c, b8.f17127c) && Objects.equals(this.f17128d, b8.f17128d) && Objects.equals(this.f17129e, b8.f17129e) && Arrays.equals(this.f17130f, b8.f17130f) && Objects.equals(this.f17131g, b8.f17131g) && Objects.equals(this.f17132h, b8.f17132h) && Objects.equals(this.i, b8.i) && Objects.equals(this.f17133j, b8.f17133j) && Objects.equals(this.f17134k, b8.f17134k) && Objects.equals(this.f17136m, b8.f17136m) && Objects.equals(this.f17137n, b8.f17137n) && Objects.equals(this.f17138o, b8.f17138o) && Objects.equals(this.f17139p, b8.f17139p) && Objects.equals(this.f17140q, b8.f17140q) && Objects.equals(this.f17141r, b8.f17141r) && Objects.equals(this.f17142s, b8.f17142s) && Objects.equals(this.f17143t, b8.f17143t) && Objects.equals(this.f17144u, b8.f17144u) && Objects.equals(this.f17145v, b8.f17145v) && Objects.equals(this.f17146w, b8.f17146w) && Objects.equals(this.f17147x, b8.f17147x) && Objects.equals(this.f17148y, b8.f17148y) && Objects.equals(this.f17149z, b8.f17149z) && Objects.equals(this.f17124A, b8.f17124A);
    }

    public final int hashCode() {
        return Objects.hash(this.f17125a, this.f17126b, this.f17127c, this.f17128d, null, null, this.f17129e, null, null, null, Integer.valueOf(Arrays.hashCode(this.f17130f)), this.f17131g, null, this.f17132h, this.i, this.f17133j, this.f17134k, null, this.f17136m, this.f17137n, this.f17138o, this.f17139p, this.f17140q, this.f17141r, this.f17142s, this.f17143t, this.f17144u, this.f17145v, this.f17146w, this.f17147x, null, this.f17148y, this.f17149z, true, this.f17124A);
    }
}
