package com.google.android.gms.internal.ads; import android.net.Uri; import androidx.annotation.Nullable; import com.ironsource.v8; import java.util.Collections; import java.util.HashMap; import java.util.Map; /* loaded from: classes3.dex */ public final class zzgd { public static final /* synthetic */ int zzh = 0; public final Uri zza; public final int zzb; @Nullable public final byte[] zzc; public final Map zzd; public final long zze; public final long zzf; public final int zzg; static { zzas.zzb("media3.datasource"); } private zzgd(Uri uri, long j, int i, @Nullable byte[] bArr, Map map, long j2, long j3, @Nullable String str, int i2, @Nullable Object obj) { boolean z = false; boolean z2 = j2 >= 0; zzcw.zzd(z2); zzcw.zzd(z2); if (j3 <= 0) { j3 = j3 == -1 ? -1L : j3; zzcw.zzd(z); uri.getClass(); this.zza = uri; this.zzb = 1; this.zzc = null; this.zzd = Collections.unmodifiableMap(new HashMap(map)); this.zze = j2; this.zzf = j3; this.zzg = i2; } z = true; zzcw.zzd(z); uri.getClass(); this.zza = uri; this.zzb = 1; this.zzc = null; this.zzd = Collections.unmodifiableMap(new HashMap(map)); this.zze = j2; this.zzf = j3; this.zzg = i2; } @Deprecated public zzgd(Uri uri, long j, long j2, @Nullable String str) { this(uri, 0L, 1, null, Collections.emptyMap(), j, j2, null, 0, null); } public final String toString() { return "DataSpec[GET " + this.zza.toString() + ", " + this.zze + ", " + this.zzf + ", null, " + this.zzg + v8.i.e; } public final zzgb zza() { return new zzgb(this, null); } public final boolean zzb(int i) { return (this.zzg & i) == i; } }