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

import androidx.media3.common.C;
import androidx.media3.exoplayer.ExoPlayer;

/* JADX INFO: loaded from: classes2.dex */
public final class bk1 extends cb2 {
    private static volatile bc2 zzA;
    private static final bk1 zzz;
    private int zza;
    private int zzb;
    private mk1 zzf;
    private boolean zzg;
    private ok1 zzj;
    private boolean zzy;
    private boolean zzc = true;
    private String zzd = "unknown_host";
    private boolean zze = true;
    private long zzh = 100;
    private long zzi = ExoPlayer.DEFAULT_DETACH_SURFACE_TIMEOUT_MS;
    private long zzk = 10;
    private long zzl = 100;
    private long zzm = 20000;
    private String zzn = "";
    private String zzo = "";
    private long zzp = 500;
    private long zzu = C.DEFAULT_MAX_SEEK_TO_PREVIOUS_POSITION_MS;
    private boolean zzv = true;
    private boolean zzw = true;
    private boolean zzx = true;

    static {
        bk1 bk1Var = new bk1();
        zzz = bk1Var;
        cb2.v(bk1.class, bk1Var);
    }

    public static ak1 Z() {
        return (ak1) zzz.r();
    }

    public final /* synthetic */ void B(ok1 ok1Var) {
        this.zzj = ok1Var;
        this.zza |= 256;
    }

    public final /* synthetic */ void C(long j10) {
        this.zza |= 32768;
        this.zzu = j10;
    }

    public final /* synthetic */ void D(boolean z10) {
        this.zza |= C.DEFAULT_BUFFER_SEGMENT_SIZE;
        this.zzv = z10;
    }

    public final int E() {
        int i10;
        int i11 = this.zzb;
        if (i11 != 0) {
            i10 = 2;
            if (i11 != 1) {
                i10 = i11 != 2 ? i11 != 3 ? 0 : 4 : 3;
            }
        } else {
            i10 = 1;
        }
        if (i10 == 0) {
            return 1;
        }
        return i10;
    }

    public final /* synthetic */ void F(int i10) {
        this.zzb = i10 - 1;
        this.zza |= 1;
    }

    public final boolean G() {
        return this.zzc;
    }

    public final String H() {
        return this.zzd;
    }

    public final boolean I() {
        return this.zze;
    }

    public final mk1 J() {
        mk1 mk1Var = this.zzf;
        return mk1Var == null ? mk1.G() : mk1Var;
    }

    public final boolean K() {
        return this.zzg;
    }

    public final long L() {
        return this.zzh;
    }

    public final long M() {
        return this.zzi;
    }

    public final ok1 N() {
        ok1 ok1Var = this.zzj;
        return ok1Var == null ? ok1.J() : ok1Var;
    }

    public final long O() {
        return this.zzk;
    }

    public final long P() {
        return this.zzl;
    }

    public final long Q() {
        return this.zzm;
    }

    public final String R() {
        return this.zzn;
    }

    public final String S() {
        return this.zzo;
    }

    public final long T() {
        return this.zzp;
    }

    public final long U() {
        return this.zzu;
    }

    public final boolean V() {
        return this.zzv;
    }

    public final boolean W() {
        return this.zzw;
    }

    public final boolean X() {
        return this.zzx;
    }

    public final boolean Y() {
        return this.zzy;
    }

    public final /* synthetic */ void a0(boolean z10) {
        this.zza |= 2;
        this.zzc = z10;
    }

    public final /* synthetic */ void b0(String str) {
        str.getClass();
        this.zza |= 4;
        this.zzd = str;
    }

    public final /* synthetic */ void c0(mk1 mk1Var) {
        this.zzf = mk1Var;
        this.zza |= 16;
    }

    public final /* synthetic */ void d0(long j10) {
        this.zza |= 64;
        this.zzh = j10;
    }

    public final /* synthetic */ void e0(long j10) {
        this.zza |= 128;
        this.zzi = j10;
    }

    @Override // com.google.android.gms.internal.ads.cb2
    public final Object x(zzibq zzibqVar, cb2 cb2Var) {
        int iOrdinal = zzibqVar.ordinal();
        if (iOrdinal == 0) {
            return (byte) 1;
        }
        if (iOrdinal == 2) {
            return new fc2(zzz, "\u0004\u0014\u0000\u0001\u0001\u0015\u0014\u0000\u0000\u0000\u0001᠌\u0000\u0003ဈ\u0002\u0004ဇ\u0003\u0005ဉ\u0004\u0006ဇ\u0005\u0007ဂ\u0007\bဉ\b\tဇ\u0001\nဂ\t\u000bဂ\n\fဂ\u000b\rဈ\f\u000eဈ\r\u000fဂ\u000e\u0010ဂ\u000f\u0011ဇ\u0010\u0012ဂ\u0006\u0013ဇ\u0011\u0014ဇ\u0012\u0015ဇ\u0013", new Object[]{"zza", "zzb", ck1.f9978a, "zzd", "zze", "zzf", "zzg", "zzi", "zzj", "zzc", "zzk", "zzl", "zzm", "zzn", "zzo", "zzp", "zzu", "zzv", "zzh", "zzw", "zzx", "zzy"});
        }
        if (iOrdinal == 3) {
            return new bk1();
        }
        if (iOrdinal == 4) {
            return new ak1(zzz);
        }
        if (iOrdinal == 5) {
            return zzz;
        }
        if (iOrdinal != 6) {
            throw null;
        }
        bc2 bb2Var = zzA;
        if (bb2Var == null) {
            synchronized (bk1.class) {
                try {
                    bb2Var = zzA;
                    if (bb2Var == null) {
                        bb2Var = new bb2(zzz);
                        zzA = bb2Var;
                    }
                } finally {
                }
            }
        }
        return bb2Var;
    }
}
