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

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

/* JADX INFO: renamed from: com.google.android.gms.internal.measurement.h1, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0643h1 extends AbstractC0609a2 {
    private static final C0643h1 zzb;
    private InterfaceC0634f2 zzd;
    private InterfaceC0634f2 zze;
    private InterfaceC0639g2 zzf;
    private InterfaceC0639g2 zzg;

    static {
        C0643h1 c0643h1 = new C0643h1();
        zzb = c0643h1;
        AbstractC0609a2.j(C0643h1.class, c0643h1);
    }

    public C0643h1() {
        C0669m2 c0669m2 = C0669m2.f9915u;
        this.zzd = c0669m2;
        this.zze = c0669m2;
        C0728y2 c0728y2 = C0728y2.f10079u;
        this.zzf = c0728y2;
        this.zzg = c0728y2;
    }

    public static void A(C0643h1 c0643h1, List list) {
        RandomAccess randomAccess = c0643h1.zzd;
        if (!((N1) randomAccess).f9653q) {
            C0669m2 c0669m2 = (C0669m2) randomAccess;
            int i = c0669m2.f9917s;
            c0643h1.zzd = c0669m2.e(i + i);
        }
        M1.b(list, c0643h1.zzd);
    }

    public static void B(C0643h1 c0643h1) {
        c0643h1.zzf = C0728y2.f10079u;
    }

    public static void C(C0643h1 c0643h1) {
        c0643h1.zze = C0669m2.f9915u;
    }

    public static void D(C0643h1 c0643h1) {
        c0643h1.zzg = C0728y2.f10079u;
    }

    public static void E(C0643h1 c0643h1) {
        c0643h1.zzd = C0669m2.f9915u;
    }

    public static C0638g1 r() {
        return (C0638g1) zzb.e();
    }

    public static C0643h1 s() {
        return zzb;
    }

    public static void x(C0643h1 c0643h1, ArrayList arrayList) {
        InterfaceC0639g2 interfaceC0639g2 = c0643h1.zzf;
        if (!((N1) interfaceC0639g2).f9653q) {
            int size = interfaceC0639g2.size();
            c0643h1.zzf = interfaceC0639g2.e(size + size);
        }
        M1.b(arrayList, c0643h1.zzf);
    }

    public static void y(C0643h1 c0643h1, List list) {
        RandomAccess randomAccess = c0643h1.zze;
        if (!((N1) randomAccess).f9653q) {
            C0669m2 c0669m2 = (C0669m2) randomAccess;
            int i = c0669m2.f9917s;
            c0643h1.zze = c0669m2.e(i + i);
        }
        M1.b(list, c0643h1.zze);
    }

    public static void z(C0643h1 c0643h1, List list) {
        InterfaceC0639g2 interfaceC0639g2 = c0643h1.zzg;
        if (!((N1) interfaceC0639g2).f9653q) {
            int size = interfaceC0639g2.size();
            c0643h1.zzg = interfaceC0639g2.e(size + size);
        }
        M1.b(list, c0643h1.zzg);
    }

    @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\u0000\u0001\u0004\u0004\u0000\u0004\u0000\u0001\u0015\u0002\u0015\u0003\u001b\u0004\u001b", new Object[]{"zzd", "zze", "zzf", U0.class, "zzg", C0653j1.class});
        }
        if (i5 == 3) {
            return new C0643h1();
        }
        if (i5 == 4) {
            return new C0638g1(zzb);
        }
        if (i5 == 5) {
            return zzb;
        }
        throw null;
    }

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

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

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

    public final int q() {
        return ((C0669m2) this.zzd).size();
    }

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

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

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

    public final InterfaceC0634f2 w() {
        return this.zzd;
    }
}
