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

import java.util.List;

/* JADX INFO: loaded from: classes2.dex */
public final class b4 extends b6 {
    private static final b4 zzc;
    private static volatile y6 zzd;
    private int zze;
    private int zzf;
    private h6 zzg = m6.f20313e;

    static {
        b4 b4Var = new b4();
        zzc = b4Var;
        b6.h(b4.class, b4Var);
    }

    public static /* synthetic */ void r(b4 b4Var, int i10) {
        b4Var.zze |= 1;
        b4Var.zzf = i10;
    }

    public static void s(b4 b4Var, List list) {
        List list2 = b4Var.zzg;
        if (!((o5) list2).f20352a) {
            b4Var.zzg = ((m6) list2).zza(list2.size() << 1);
        }
        m5.b(list, b4Var.zzg);
    }

    public static a4 u() {
        return (a4) zzc.k();
    }

    @Override // com.google.android.gms.internal.measurement.b6
    public final Object e(int i10) {
        switch (c3.f20139a[i10 - 1]) {
            case 1:
                return new b4();
            case 2:
                return new a4(zzc);
            case 3:
                return new c7(zzc, "\u0004\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0000\u0001င\u0000\u0002\u0014", new Object[]{"zze", "zzf", "zzg"});
            case 4:
                return zzc;
            case 5:
                y6 c6Var = zzd;
                if (c6Var == null) {
                    synchronized (b4.class) {
                        try {
                            c6Var = zzd;
                            if (c6Var == null) {
                                c6Var = new c6();
                                zzd = c6Var;
                            }
                        } finally {
                        }
                        break;
                    }
                }
                return c6Var;
            case 6:
                return (byte) 1;
            case 7:
                return null;
            default:
                throw new UnsupportedOperationException();
        }
    }

    public final int p() {
        return this.zzg.size();
    }

    public final long q(int i10) {
        return ((m6) this.zzg).f(i10);
    }

    public final int t() {
        return this.zzf;
    }

    public final List v() {
        return this.zzg;
    }

    public final boolean w() {
        return (this.zze & 1) != 0;
    }
}
