static void qmp_input_push(QmpInputVisitor *qiv, const QObject *obj, Error **errp)

{

    qiv->stack[qiv->nb_stack].obj = obj;

    if (qobject_type(obj) == QTYPE_QLIST) {

        qiv->stack[qiv->nb_stack].entry = qlist_first(qobject_to_qlist(obj));

    }

    qiv->nb_stack++;



    if (qiv->nb_stack >= QIV_STACK_SIZE) {

        error_set(errp, QERR_BUFFER_OVERRUN);

        return;

    }

}

static void qmp_input_push(QmpInputVisitor *qiv, const QObject *obj, Error **errp)

{

    qiv->stack[qiv->nb_stack].obj = obj;

    if (qobject_type(obj) == QTYPE_QLIST) {

        qiv->stack[qiv->nb_stack].entry = qlist_first(qobject_to_qlist(obj));

    }

    qiv->nb_stack++;



    if (qiv->nb_stack >= QIV_STACK_SIZE) {

        error_set(errp, QERR_BUFFER_OVERRUN);

        return;

    }

}

static void FUNC_0(QmpInputVisitor *VAR_0, const QObject *VAR_1, Error **VAR_2)

{

    VAR_0->stack[VAR_0->nb_stack].VAR_1 = VAR_1;

    if (qobject_type(VAR_1) == QTYPE_QLIST) {

        VAR_0->stack[VAR_0->nb_stack].entry = qlist_first(qobject_to_qlist(VAR_1));

    }

    VAR_0->nb_stack++;



    if (VAR_0->nb_stack >= QIV_STACK_SIZE) {

        error_set(VAR_2, QERR_BUFFER_OVERRUN);

        return;

    }

}

static void FUNC_0(QmpInputVisitor *VAR_0, const QObject *VAR_1, Error **VAR_2)
{ VAR_0->stack[VAR_0->nb_stack].VAR_1 = VAR_1; if (qobject_type(VAR_1) == QTYPE_QLIST) { VAR_0->stack[VAR_0->nb_stack].entry = qlist_first(qobject_to_qlist(VAR_1)); } VAR_0->nb_stack++; if (VAR_0->nb_stack >= QIV_STACK_SIZE) { error_set(VAR_2, QERR_BUFFER_OVERRUN); return; } }