static int save_zero_page(RAMState *rs, RAMBlock *block, ram_addr_t offset,

                          uint8_t *p)

{

    int pages = -1;



    if (is_zero_range(p, TARGET_PAGE_SIZE)) {

        rs->zero_pages++;

        rs->bytes_transferred +=

            save_page_header(rs, block, offset | RAM_SAVE_FLAG_COMPRESS);

        qemu_put_byte(rs->f, 0);

        rs->bytes_transferred += 1;

        pages = 1;

    }



    return pages;

}

static int save_zero_page(RAMState *rs, RAMBlock *block, ram_addr_t offset,

                          uint8_t *p)

{

    int pages = -1;



    if (is_zero_range(p, TARGET_PAGE_SIZE)) {

        rs->zero_pages++;

        rs->bytes_transferred +=

            save_page_header(rs, block, offset | RAM_SAVE_FLAG_COMPRESS);

        qemu_put_byte(rs->f, 0);

        rs->bytes_transferred += 1;

        pages = 1;

    }



    return pages;

}

            save_page_header(rs, block, offset | RAM_SAVE_FLAG_COMPRESS);
static int FUNC_0(RAMState *VAR_0, RAMBlock *VAR_1, ram_addr_t VAR_2,

                          uint8_t *VAR_3)

{

    int VAR_4 = -1;



    if (is_zero_range(VAR_3, TARGET_PAGE_SIZE)) {

        VAR_0->zero_pages++;

        VAR_0->bytes_transferred +=

            save_page_header(VAR_0, VAR_1, VAR_2 | RAM_SAVE_FLAG_COMPRESS);

        qemu_put_byte(VAR_0->f, 0);

        VAR_0->bytes_transferred += 1;

        VAR_4 = 1;

    }



    return VAR_4;

}

static int FUNC_0(RAMState *VAR_0, RAMBlock *VAR_1, ram_addr_t VAR_2,
uint8_t *VAR_3)
{ int VAR_4 = -1; if (is_zero_range(VAR_3, TARGET_PAGE_SIZE)) { VAR_0->zero_pages++; VAR_0->bytes_transferred +=
save_page_header(VAR_0, VAR_1, VAR_2 | RAM_SAVE_FLAG_COMPRESS); qemu_put_byte(VAR_0->f, 0); VAR_0->bytes_transferred += 1; VAR_4 = 1; } return VAR_4; }