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

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

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

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

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

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

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public xz f11765d = xz.f18621b;

    @Nullable
    public Object zza;

    @Nullable
    public Object zzb;

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

    public final long a(int i10, int i11) {
        a aVarA = this.f11765d.a(i10);
        if (aVarA.f8426a != -1) {
            return aVarA.f8430e[i11];
        }
        return -9223372036854775807L;
    }

    public final void b(int i10) {
        this.f11765d.a(i10).getClass();
    }

    public final boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && gj.class.equals(obj.getClass())) {
            gj gjVar = (gj) obj;
            if (Objects.equals(this.zza, gjVar.zza) && Objects.equals(this.zzb, gjVar.zzb) && this.f11762a == gjVar.f11762a && this.f11763b == gjVar.f11763b && this.f11764c == gjVar.f11764c && Objects.equals(this.f11765d, gjVar.f11765d)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        Object obj = this.zza;
        int iHashCode = obj == null ? 0 : obj.hashCode();
        Object obj2 = this.zzb;
        int iHashCode2 = ((((iHashCode + 217) * 31) + (obj2 != null ? obj2.hashCode() : 0)) * 31) + this.f11762a;
        long j10 = this.f11763b;
        return this.f11765d.hashCode() + (((((iHashCode2 * 31) + ((int) (j10 ^ (j10 >>> 32)))) * 961) + (this.f11764c ? 1 : 0)) * 31);
    }

    public final gj zza(@Nullable Object obj, @Nullable Object obj2, int i10, long j10, long j11, xz xzVar, boolean z10) {
        this.zza = obj;
        this.zzb = obj2;
        this.f11762a = i10;
        this.f11763b = j10;
        this.f11765d = xzVar;
        this.f11764c = z10;
        return this;
    }
}
