package o;

import java.util.List;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Yp0 extends AbstractC2665ut0 {
    private static final Yp0 zzi;
    private int zzb;
    private int zzd;
    private Dt0 zze;
    private Dt0 zzf;
    private boolean zzg;
    private boolean zzh;

    static {
        Yp0 yp0 = new Yp0();
        zzi = yp0;
        AbstractC2665ut0.m(Yp0.class, yp0);
    }

    public Yp0() {
        C1337gu0 c1337gu0 = C1337gu0.p;
        this.zze = c1337gu0;
        this.zzf = c1337gu0;
    }

    @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(zzi, "\u0004\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0002\u0000\u0001င\u0000\u0002\u001b\u0003\u001b\u0004ဇ\u0001\u0005ဇ\u0002", new Object[]{"zzb", "zzd", "zze", C1425hq0.class, "zzf", C0755aq0.class, "zzg", "zzh"});
        }
        if (i2 == 3) {
            return new Yp0();
        }
        if (i2 == 4) {
            return new Xp0(zzi);
        }
        if (i2 == 5) {
            return zzi;
        }
        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 this.zze.size();
    }

    public final C1425hq0 t(int i) {
        return (C1425hq0) this.zze.get(i);
    }

    public final Dt0 u() {
        return this.zzf;
    }

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

    public final C0755aq0 w(int i) {
        return (C0755aq0) this.zzf.get(i);
    }

    public final void x(int i, C1425hq0 c1425hq0) {
        Dt0 dt0 = this.zze;
        if (!((Ps0) dt0).l) {
            int size = dt0.size();
            this.zze = dt0.g(size + size);
        }
        this.zze.set(i, c1425hq0);
    }

    public final void y(int i, C0755aq0 c0755aq0) {
        Dt0 dt0 = this.zzf;
        if (!((Ps0) dt0).l) {
            int size = dt0.size();
            this.zzf = dt0.g(size + size);
        }
        this.zzf.set(i, c0755aq0);
    }
}
