void visit_type_uint64(Visitor *v, uint64_t *obj, const char *name, Error **errp)

{

    int64_t value;



    if (v->type_uint64) {

        v->type_uint64(v, obj, name, errp);

    } else {

        value = *obj;

        v->type_int64(v, &value, name, errp);

        *obj = value;

    }

}

void visit_type_uint64(Visitor *v, uint64_t *obj, const char *name, Error **errp)

{

    int64_t value;



    if (v->type_uint64) {

        v->type_uint64(v, obj, name, errp);

    } else {

        value = *obj;

        v->type_int64(v, &value, name, errp);

        *obj = value;

    }

}

void FUNC_0(Visitor *VAR_0, uint64_t *VAR_1, const char *VAR_2, Error **VAR_3)

{

    int64_t value;



    if (VAR_0->type_uint64) {

        VAR_0->type_uint64(VAR_0, VAR_1, VAR_2, VAR_3);

    } else {

        value = *VAR_1;

        VAR_0->type_int64(VAR_0, &value, VAR_2, VAR_3);

        *VAR_1 = value;

    }

}

void FUNC_0(Visitor *VAR_0, uint64_t *VAR_1, const char *VAR_2, Error **VAR_3)
{ int64_t value; if (VAR_0->type_uint64) { VAR_0->type_uint64(VAR_0, VAR_1, VAR_2, VAR_3); } else { value = *VAR_1; VAR_0->type_int64(VAR_0, &value, VAR_2, VAR_3); *VAR_1 = value; } }