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

/* JADX INFO: loaded from: classes2.dex */
public final class wc extends d0 implements a1 {
    private static final wc zzb;
    private int zze;
    private sc zzf;
    private zzaby zzg = zzaby.f21409a;

    static {
        wc wcVar = new wc();
        zzb = wcVar;
        d0.f(wc.class, wcVar);
    }

    public static vc p() {
        return (vc) zzb.i();
    }

    public static wc q() {
        return zzb;
    }

    public static wc r(zzaby zzabyVar, w wVar) {
        return (wc) d0.k(zzb, zzabyVar, wVar);
    }

    public static /* synthetic */ void u(wc wcVar, sc scVar) {
        scVar.getClass();
        wcVar.zzf = scVar;
    }

    @Override // com.google.android.gms.internal.pal.d0
    public final Object m(int i10) {
        int i11 = i10 - 1;
        if (i11 == 0) {
            return (byte) 1;
        }
        if (i11 == 2) {
            return new i1(zzb, "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u000b\u0002\t\u0003\n", new Object[]{"zze", "zzf", "zzg"});
        }
        if (i11 == 3) {
            return new wc();
        }
        if (i11 == 4) {
            return new vc(zzb);
        }
        if (i11 != 5) {
            return null;
        }
        return zzb;
    }

    public final int n() {
        return this.zze;
    }

    public final sc o() {
        sc scVar = this.zzf;
        return scVar == null ? sc.o() : scVar;
    }

    public final zzaby s() {
        return this.zzg;
    }

    public final boolean w() {
        return this.zzf != null;
    }
}
