static int vmstate_size(void *opaque, VMStateField *field)

{

    int size = field->size;



    if (field->flags & VMS_VBUFFER) {

        size = *(int32_t *)(opaque+field->size_offset);

        if (field->flags & VMS_MULTIPLY) {

            size *= field->size;

        }

    }



    return size;

}

static int vmstate_size(void *opaque, VMStateField *field)

{

    int size = field->size;



    if (field->flags & VMS_VBUFFER) {

        size = *(int32_t *)(opaque+field->size_offset);

        if (field->flags & VMS_MULTIPLY) {

            size *= field->size;

        }

    }



    return size;

}

static int FUNC_0(void *VAR_0, VMStateField *VAR_1)

{

    int VAR_2 = VAR_1->VAR_2;



    if (VAR_1->flags & VMS_VBUFFER) {

        VAR_2 = *(int32_t *)(VAR_0+VAR_1->size_offset);

        if (VAR_1->flags & VMS_MULTIPLY) {

            VAR_2 *= VAR_1->VAR_2;

        }

    }



    return VAR_2;

}

static int FUNC_0(void *VAR_0, VMStateField *VAR_1)
{ int VAR_2 = VAR_1->VAR_2; if (VAR_1->flags & VMS_VBUFFER) { VAR_2 = *(int32_t *)(VAR_0+VAR_1->size_offset); if (VAR_1->flags & VMS_MULTIPLY) { VAR_2 *= VAR_1->VAR_2; } } return VAR_2; }