static void vnc_write_u16(VncState *vs, uint16_t value)

{

    uint8_t buf[2];



    buf[0] = (value >> 8) & 0xFF;

    buf[1] = value & 0xFF;



    vnc_write(vs, buf, 2);

}

static void vnc_write_u16(VncState *vs, uint16_t value)

{

    uint8_t buf[2];



    buf[0] = (value >> 8) & 0xFF;

    buf[1] = value & 0xFF;



    vnc_write(vs, buf, 2);

}

static void FUNC_0(VncState *VAR_0, uint16_t VAR_1)

{

    uint8_t buf[2];



    buf[0] = (VAR_1 >> 8) & 0xFF;

    buf[1] = VAR_1 & 0xFF;



    vnc_write(VAR_0, buf, 2);

}

static void FUNC_0(VncState *VAR_0, uint16_t VAR_1)
{ uint8_t buf[2]; buf[0] = (VAR_1 >> 8) & 0xFF; buf[1] = VAR_1 & 0xFF; vnc_write(VAR_0, buf, 2); }