package com.google.android.gms.internal.clearcut; import com.google.android.gms.internal.clearcut.zzcg; /* loaded from: classes2.dex */ public final class zzgc extends zzcg.zzd implements zzdq { private static volatile zzdz zzbg; private static final zzgc zzsg; private byte zzsf = 2; /* JADX INFO: Access modifiers changed from: protected */ /* JADX WARN: Type inference failed for: r2v13, types: [com.google.android.gms.internal.clearcut.zzdz, com.google.android.gms.internal.clearcut.zzcg$zzb] */ @Override // com.google.android.gms.internal.clearcut.zzcg public final Object zza(int i, Object obj, Object obj2) { zzdz zzdzVar; zzgd zzgdVar = null; switch (zzgd.zzba[i - 1]) { case 1: return new zzgc(); case 2: return new zza(zzgdVar); case 3: return zza(zzsg, "\u0003\u0000", (Object[]) null); case 4: return zzsg; case 5: zzdz zzdzVar2 = zzbg; zzdz zzdzVar3 = zzdzVar2; if (zzdzVar2 == null) { synchronized (zzgc.class) { zzdz zzdzVar4 = zzbg; zzdzVar = zzdzVar4; if (zzdzVar4 == null) { ?? zzbVar = new zzcg.zzb(zzsg); zzbg = zzbVar; zzdzVar = zzbVar; } } zzdzVar3 = zzdzVar; } return zzdzVar3; case 6: return Byte.valueOf(this.zzsf); case 7: this.zzsf = (byte) (obj == null ? 0 : 1); return null; default: throw new UnsupportedOperationException(); } } /* loaded from: classes2.dex */ public static final class zza extends zzcg.zzc implements zzdq { /* synthetic */ zza(zzgd zzgdVar) { this(); } private zza() { super(zzgc.zzsg); } } public static zzgc zzer() { return zzsg; } private zzgc() { } static { zzgc zzgcVar = new zzgc(); zzsg = zzgcVar; zzcg.zza((Class) zzgc.class, zzgcVar); } }