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

/* JADX INFO: loaded from: classes2.dex */
public final class th1 extends cb2 {
    private static final th1 zzf;
    private static volatile bc2 zzg;
    private int zza;
    private int zzb;
    private String zzc = "";
    private String zzd = "";
    private qh1 zze;

    static {
        th1 th1Var = new th1();
        zzf = th1Var;
        cb2.v(th1.class, th1Var);
    }

    public static rh1 B() {
        return (rh1) zzf.r();
    }

    public final /* synthetic */ void C(String str) {
        str.getClass();
        this.zza |= 2;
        this.zzc = str;
    }

    public final /* synthetic */ void D(qh1 qh1Var) {
        this.zze = qh1Var;
        this.zza |= 8;
    }

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

    @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(zzf, "\u0001\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001᠌\u0000\u0002ဈ\u0001\u0003ဈ\u0002\u0004ဉ\u0003", new Object[]{"zza", "zzb", sh1.f16451a, "zzc", "zzd", "zze"});
        }
        if (iOrdinal == 3) {
            return new th1();
        }
        if (iOrdinal == 4) {
            return new rh1(zzf);
        }
        if (iOrdinal == 5) {
            return zzf;
        }
        if (iOrdinal != 6) {
            throw null;
        }
        bc2 bb2Var = zzg;
        if (bb2Var == null) {
            synchronized (th1.class) {
                try {
                    bb2Var = zzg;
                    if (bb2Var == null) {
                        bb2Var = new bb2(zzf);
                        zzg = bb2Var;
                    }
                } finally {
                }
            }
        }
        return bb2Var;
    }
}
