static int get_uint16_equal(QEMUFile *f, void *pv, size_t size,

                            VMStateField *field)

{

    uint16_t *v = pv;

    uint16_t v2;

    qemu_get_be16s(f, &v2);



    if (*v == v2) {

        return 0;


    error_report("%x != %x", *v, v2);




    return -EINVAL;

static int get_uint16_equal(QEMUFile *f, void *pv, size_t size,

                            VMStateField *field)

{

    uint16_t *v = pv;

    uint16_t v2;

    qemu_get_be16s(f, &v2);



    if (*v == v2) {

        return 0;


    error_report("%x != %x", *v, v2);




    return -EINVAL;

static int FUNC_0(QEMUFile *VAR_0, void *VAR_1, size_t VAR_2,

                            VMStateField *VAR_3)

{

    uint16_t *v = VAR_1;

    uint16_t v2;

    qemu_get_be16s(VAR_0, &v2);



    if (*v == v2) {

        return 0;


    error_report("%x != %x", *v, v2);




    return -EINVAL;

static int FUNC_0(QEMUFile *VAR_0, void *VAR_1, size_t VAR_2,
VMStateField *VAR_3)
{ uint16_t *v = VAR_1; uint16_t v2; qemu_get_be16s(VAR_0, &v2); if (*v == v2) { return 0; error_report("%x != %x", *v, v2); return -EINVAL;