static void monitor_control_read(void *opaque, const uint8_t *buf, int size)

{

    Monitor *old_mon = cur_mon;



    cur_mon = opaque;



    // TODO: read QMP input



    cur_mon = old_mon;

}

static void monitor_control_read(void *opaque, const uint8_t *buf, int size)

{

    Monitor *old_mon = cur_mon;



    cur_mon = opaque;



    



    cur_mon = old_mon;

}

static void FUNC_0(void *VAR_0, const uint8_t *VAR_1, int VAR_2)

{

    Monitor *old_mon = cur_mon;



    cur_mon = VAR_0;



    



    cur_mon = old_mon;

}

static void FUNC_0(void *VAR_0, const uint8_t *VAR_1, int VAR_2)
{ Monitor *old_mon = cur_mon; cur_mon = VAR_0; cur_mon = old_mon; }