static void qmp_input_optional(Visitor *v, const char *name, bool *present)

{

    QmpInputVisitor *qiv = to_qiv(v);

    QObject *qobj = qmp_input_get_object(qiv, name, false, NULL);



    if (!qobj) {

        *present = false;

        return;

    }



    *present = true;

}

static void qmp_input_optional(Visitor *v, const char *name, bool *present)

{

    QmpInputVisitor *qiv = to_qiv(v);

    QObject *qobj = qmp_input_get_object(qiv, name, false, NULL);



    if (!qobj) {

        *present = false;

        return;

    }



    *present = true;

}

static void FUNC_0(Visitor *VAR_0, const char *VAR_1, bool *VAR_2)

{

    QmpInputVisitor *qiv = to_qiv(VAR_0);

    QObject *qobj = qmp_input_get_object(qiv, VAR_1, false, NULL);



    if (!qobj) {

        *VAR_2 = false;

        return;

    }



    *VAR_2 = true;

}

static void FUNC_0(Visitor *VAR_0, const char *VAR_1, bool *VAR_2)
{ QmpInputVisitor *qiv = to_qiv(VAR_0); QObject *qobj = qmp_input_get_object(qiv, VAR_1, false, NULL); if (!qobj) { *VAR_2 = false; return; } *VAR_2 = true; }