int qemu_input_key_value_to_number(const KeyValue *value)

{

    if (value->kind == KEY_VALUE_KIND_QCODE) {

        return qcode_to_number[value->qcode];

    } else {

        assert(value->kind == KEY_VALUE_KIND_NUMBER);

        return value->number;

    }

}

int qemu_input_key_value_to_number(const KeyValue *value)

{

    if (value->kind == KEY_VALUE_KIND_QCODE) {

        return qcode_to_number[value->qcode];

    } else {

        assert(value->kind == KEY_VALUE_KIND_NUMBER);

        return value->number;

    }

}

int FUNC_0(const KeyValue *VAR_0)

{

    if (VAR_0->kind == KEY_VALUE_KIND_QCODE) {

        return qcode_to_number[VAR_0->qcode];

    } else {

        assert(VAR_0->kind == KEY_VALUE_KIND_NUMBER);

        return VAR_0->number;

    }

}

int FUNC_0(const KeyValue *VAR_0)
{ if (VAR_0->kind == KEY_VALUE_KIND_QCODE) { return qcode_to_number[VAR_0->qcode]; } else { assert(VAR_0->kind == KEY_VALUE_KIND_NUMBER); return VAR_0->number; } }