package o;

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

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Ur0 extends AbstractC2665ut0 {
    private static final Ur0 zzf;
    private int zzb;
    private int zzd;
    private Ct0 zze = Nt0.p;

    static {
        Ur0 ur0 = new Ur0();
        zzf = ur0;
        AbstractC2665ut0.m(Ur0.class, ur0);
    }

    public static Tr0 u() {
        return (Tr0) zzf.h();
    }

    @Override // o.AbstractC2665ut0
    public final Object o(int i) {
        int i2 = i - 1;
        if (i2 == 0) {
            return (byte) 1;
        }
        if (i2 == 2) {
            return new C1527iu0(zzf, "\u0004\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0000\u0001င\u0000\u0002\u0014", new Object[]{"zzb", "zzd", "zze"});
        }
        if (i2 == 3) {
            return new Ur0();
        }
        if (i2 == 4) {
            return new Tr0(zzf);
        }
        if (i2 == 5) {
            return zzf;
        }
        throw null;
    }

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

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

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

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

    public final long t(int i) {
        return ((Nt0) this.zze).b(i);
    }

    public final /* synthetic */ void v(int i) {
        this.zzb |= 1;
        this.zzd = i;
    }

    public final void w(List list) {
        RandomAccess randomAccess = this.zze;
        if (!((Ps0) randomAccess).l) {
            Nt0 nt0 = (Nt0) randomAccess;
            int i = nt0.n;
            this.zze = nt0.g(i + i);
        }
        Ns0.c(list, this.zze);
    }
}
