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

import java.util.ArrayList;
import java.util.List;

/* JADX INFO: renamed from: com.google.android.gms.internal.measurement.c1, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0618c1 extends AbstractC0609a2 {
    private static final C0618c1 zzb;
    private int zzd;
    private InterfaceC0639g2 zze = C0728y2.f10079u;
    private String zzf = "";
    private String zzg = "";
    private int zzh;

    static {
        C0618c1 c0618c1 = new C0618c1();
        zzb = c0618c1;
        AbstractC0609a2.j(C0618c1.class, c0618c1);
    }

    public static C0613b1 o() {
        return (C0613b1) zzb.e();
    }

    public static C0613b1 p(C0618c1 c0618c1) {
        Z1 z1E = zzb.e();
        z1E.e(c0618c1);
        return (C0613b1) z1E;
    }

    public static /* synthetic */ void u(C0618c1 c0618c1, ArrayList arrayList) {
        c0618c1.C();
        M1.b(arrayList, c0618c1.zze);
    }

    public static /* synthetic */ void v(C0618c1 c0618c1, C0628e1 c0628e1) {
        c0618c1.C();
        c0618c1.zze.add(c0628e1);
    }

    public static void w(C0618c1 c0618c1) {
        c0618c1.zze = C0728y2.f10079u;
    }

    public static /* synthetic */ void x(C0618c1 c0618c1, int i, C0628e1 c0628e1) {
        c0618c1.C();
        c0618c1.zze.set(i, c0628e1);
    }

    public static /* synthetic */ void y(C0618c1 c0618c1, String str) {
        str.getClass();
        c0618c1.zzd |= 1;
        c0618c1.zzf = str;
    }

    public static /* synthetic */ void z(C0618c1 c0618c1, String str) {
        str.getClass();
        c0618c1.zzd |= 2;
        c0618c1.zzg = str;
    }

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

    public final boolean B() {
        return (this.zzd & 2) != 0;
    }

    public final void C() {
        InterfaceC0639g2 interfaceC0639g2 = this.zze;
        if (((N1) interfaceC0639g2).f9653q) {
            return;
        }
        int size = interfaceC0639g2.size();
        this.zze = interfaceC0639g2.e(size + size);
    }

    @Override // com.google.android.gms.internal.measurement.AbstractC0609a2
    public final Object m(int i) {
        int i5 = i - 1;
        if (i5 == 0) {
            return (byte) 1;
        }
        if (i5 == 2) {
            return new C0733z2(zzb, "\u0004\u0004\u0000\u0001\u0001\t\u0004\u0000\u0001\u0000\u0001\u001b\u0007ဈ\u0000\bဈ\u0001\t᠌\u0002", new Object[]{"zzd", "zze", C0628e1.class, "zzf", "zzg", "zzh", C0701t0.f9960g});
        }
        if (i5 == 3) {
            return new C0618c1();
        }
        if (i5 == 4) {
            return new C0613b1(zzb);
        }
        if (i5 == 5) {
            return zzb;
        }
        throw null;
    }

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

    public final C0628e1 q(int i) {
        return (C0628e1) this.zze.get(i);
    }

    public final String r() {
        return this.zzf;
    }

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

    public final List t() {
        return this.zze;
    }
}
