static void qmp_input_start_struct(Visitor *v, void **obj, const char *kind,

                                   const char *name, size_t size, Error **errp)

{

    QmpInputVisitor *qiv = to_qiv(v);

    const QObject *qobj = qmp_input_get_object(qiv, name);



    if (!qobj || qobject_type(qobj) != QTYPE_QDICT) {

        error_set(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",

                  "QDict");

        return;

    }



    qmp_input_push(qiv, qobj, errp);

    if (error_is_set(errp)) {

        return;

    }



    if (obj) {

        *obj = g_malloc0(size);

    }

}

static void qmp_input_start_struct(Visitor *v, void **obj, const char *kind,

                                   const char *name, size_t size, Error **errp)

{

    QmpInputVisitor *qiv = to_qiv(v);

    const QObject *qobj = qmp_input_get_object(qiv, name);



    if (!qobj || qobject_type(qobj) != QTYPE_QDICT) {

        error_set(errp, QERR_INVALID_PARAMETER_TYPE, name ? name : "null",

                  "QDict");

        return;

    }



    qmp_input_push(qiv, qobj, errp);

    if (error_is_set(errp)) {

        return;

    }



    if (obj) {

        *obj = g_malloc0(size);

    }

}

    qmp_input_push(qiv, qobj, errp);     if (error_is_set(errp)) {
static void FUNC_0(Visitor *VAR_0, void **VAR_1, const char *VAR_2,

                                   const char *VAR_3, size_t VAR_4, Error **VAR_5)

{

    QmpInputVisitor *qiv = to_qiv(VAR_0);

    const QObject *VAR_6 = qmp_input_get_object(qiv, VAR_3);



    if (!VAR_6 || qobject_type(VAR_6) != QTYPE_QDICT) {

        error_set(VAR_5, QERR_INVALID_PARAMETER_TYPE, VAR_3 ? VAR_3 : "null",

                  "QDict");

        return;

    }



    qmp_input_push(qiv, VAR_6, VAR_5);

    if (error_is_set(VAR_5)) {

        return;

    }



    if (VAR_1) {

        *VAR_1 = g_malloc0(VAR_4);

    }

}

static void FUNC_0(Visitor *VAR_0, void **VAR_1, const char *VAR_2,
const char *VAR_3, size_t VAR_4, Error **VAR_5)
{ QmpInputVisitor *qiv = to_qiv(VAR_0); const QObject *VAR_6 = qmp_input_get_object(qiv, VAR_3); if (!VAR_6 || qobject_type(VAR_6) != QTYPE_QDICT) { error_set(VAR_5, QERR_INVALID_PARAMETER_TYPE, VAR_3 ? VAR_3 : "null",
"QDict"); return; } qmp_input_push(qiv, VAR_6, VAR_5); if (error_is_set(VAR_5)) { return; } if (VAR_1) { *VAR_1 = g_malloc0(VAR_4); } }