package F2;

import com.google.crypto.tink.shaded.protobuf.AbstractC0479h;
import com.google.crypto.tink.shaded.protobuf.AbstractC0492v;
import com.google.crypto.tink.shaded.protobuf.C0485n;
import com.google.crypto.tink.shaded.protobuf.C0491u;

/* JADX INFO: loaded from: classes.dex */
public final class m0 extends AbstractC0492v {
    private static final m0 DEFAULT_INSTANCE;
    public static final int PARAMS_FIELD_NUMBER = 2;
    private static volatile com.google.crypto.tink.shaded.protobuf.W PARSER = null;
    public static final int VERSION_FIELD_NUMBER = 1;
    private n0 params_;
    private int version_;

    static {
        m0 m0Var = new m0();
        DEFAULT_INSTANCE = m0Var;
        AbstractC0492v.t(m0.class, m0Var);
    }

    public static l0 A() {
        return (l0) DEFAULT_INSTANCE.h();
    }

    public static m0 B(AbstractC0479h abstractC0479h, C0485n c0485n) {
        return (m0) AbstractC0492v.r(DEFAULT_INSTANCE, abstractC0479h, c0485n);
    }

    public static void w(m0 m0Var) {
        m0Var.version_ = 0;
    }

    public static void x(m0 m0Var, n0 n0Var) {
        m0Var.getClass();
        n0Var.getClass();
        m0Var.params_ = n0Var;
    }

    @Override // com.google.crypto.tink.shaded.protobuf.AbstractC0492v
    public final Object i(int i) {
        com.google.crypto.tink.shaded.protobuf.W c0491u;
        switch (u.e.c(i)) {
            case 0:
                return (byte) 1;
            case 1:
                return null;
            case 2:
                return new com.google.crypto.tink.shaded.protobuf.a0(DEFAULT_INSTANCE, "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u000b\u0002\t", new Object[]{"version_", "params_"});
            case 3:
                return new m0();
            case 4:
                return new l0(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.crypto.tink.shaded.protobuf.W w5 = PARSER;
                if (w5 != null) {
                    return w5;
                }
                synchronized (m0.class) {
                    try {
                        c0491u = PARSER;
                        if (c0491u == null) {
                            c0491u = new C0491u();
                            PARSER = c0491u;
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return c0491u;
            default:
                throw new UnsupportedOperationException();
        }
    }

    public final n0 y() {
        n0 n0Var = this.params_;
        return n0Var == null ? n0.w() : n0Var;
    }

    public final int z() {
        return this.version_;
    }
}
