package com.google.android.gms.internal.ads;

import androidx.annotation.Nullable;
import java.util.Arrays;

/* JADX INFO: loaded from: classes2.dex */
public final class sr {

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

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

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

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final boolean[] f16558e;

    static {
        String str = bb1.f9474a;
        Integer.toString(0, 36);
        Integer.toString(1, 36);
        Integer.toString(3, 36);
        Integer.toString(4, 36);
    }

    public sr(fl flVar, boolean z10, int[] iArr, boolean[] zArr) {
        int i10 = flVar.f11273a;
        this.f16554a = i10;
        ih1.x(i10 == iArr.length && i10 == zArr.length);
        this.f16555b = flVar;
        this.f16556c = z10 && i10 > 1;
        this.f16557d = (int[]) iArr.clone();
        this.f16558e = (boolean[]) zArr.clone();
    }

    public final boolean a() {
        for (boolean z10 : this.f16558e) {
            if (z10) {
                return true;
            }
        }
        return false;
    }

    public final int b() {
        return this.f16555b.f11275c;
    }

    public final boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && sr.class == obj.getClass()) {
            sr srVar = (sr) obj;
            if (this.f16556c == srVar.f16556c && this.f16555b.equals(srVar.f16555b) && Arrays.equals(this.f16557d, srVar.f16557d) && Arrays.equals(this.f16558e, srVar.f16558e)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        return Arrays.hashCode(this.f16558e) + ((Arrays.hashCode(this.f16557d) + (((this.f16555b.hashCode() * 31) + (this.f16556c ? 1 : 0)) * 31)) * 31);
    }
}
