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

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

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

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

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

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

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

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

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

    @Nullable
    public final Object zza;

    @Nullable
    public final t6 zzc;

    @Nullable
    public final Object zzd;

    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);
        Integer.toString(5, 36);
        Integer.toString(6, 36);
    }

    public fh(@Nullable Object obj, int i10, @Nullable t6 t6Var, @Nullable Object obj2, int i11, long j10, long j11, int i12, int i13) {
        ih1.x(i10 >= 0);
        ih1.x(i11 >= 0);
        this.zza = obj;
        this.f11217a = i10;
        this.zzc = t6Var;
        this.zzd = obj2;
        this.f11218b = i11;
        this.f11219c = j10;
        this.f11220d = j11;
        this.f11221e = i12;
        this.f11222f = i13;
    }

    public final boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && fh.class == obj.getClass()) {
            fh fhVar = (fh) obj;
            if (this.f11217a == fhVar.f11217a && this.f11218b == fhVar.f11218b && this.f11219c == fhVar.f11219c && this.f11220d == fhVar.f11220d && this.f11221e == fhVar.f11221e && this.f11222f == fhVar.f11222f && Objects.equals(this.zzc, fhVar.zzc) && Objects.equals(this.zza, fhVar.zza) && Objects.equals(this.zzd, fhVar.zzd)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        return Objects.hash(this.zza, Integer.valueOf(this.f11217a), this.zzc, this.zzd, Integer.valueOf(this.f11218b), Long.valueOf(this.f11219c), Long.valueOf(this.f11220d), Integer.valueOf(this.f11221e), Integer.valueOf(this.f11222f));
    }

    public final String toString() {
        int i10 = this.f11217a;
        int length = String.valueOf(i10).length();
        int i11 = this.f11218b;
        int length2 = String.valueOf(i11).length();
        long j10 = this.f11219c;
        StringBuilder sb = new StringBuilder(length + 19 + length2 + 6 + String.valueOf(j10).length());
        com.google.android.gms.measurement.internal.u1.y(sb, "mediaItem=", i10, ", period=", i11);
        sb.append(", pos=");
        sb.append(j10);
        String string = sb.toString();
        int i12 = this.f11221e;
        if (i12 == -1) {
            return string;
        }
        int length3 = string.length();
        long j11 = this.f11220d;
        int length4 = String.valueOf(i12).length() + length3 + 13 + String.valueOf(j11).length() + 10;
        int i13 = this.f11222f;
        StringBuilder sb2 = new StringBuilder(length4 + 5 + String.valueOf(i13).length());
        sb2.append(string);
        sb2.append(", contentPos=");
        sb2.append(j11);
        return com.google.android.gms.measurement.internal.u1.m(sb2, ", adGroup=", i12, ", ad=", i13);
    }
}
