static void *do_data_decompress(void *opaque)

{

    DecompressParam *param = opaque;

    unsigned long pagesize;



    while (!quit_decomp_thread) {

        qemu_mutex_lock(&param->mutex);

        while (!param->start && !quit_decomp_thread) {

            qemu_cond_wait(&param->cond, &param->mutex);

            pagesize = TARGET_PAGE_SIZE;

            if (!quit_decomp_thread) {

                /* uncompress() will return failed in some case, especially

                 * when the page is dirted when doing the compression, it's

                 * not a problem because the dirty page will be retransferred

                 * and uncompress() won't break the data in other pages.

                 */

                uncompress((Bytef *)param->des, &pagesize,

                           (const Bytef *)param->compbuf, param->len);

            }

            param->start = false;

        }

        qemu_mutex_unlock(&param->mutex);

    }



    return NULL;

}

static void *do_data_decompress(void *opaque)

{

    DecompressParam *param = opaque;

    unsigned long pagesize;



    while (!quit_decomp_thread) {

        qemu_mutex_lock(&param->mutex);

        while (!param->start && !quit_decomp_thread) {

            qemu_cond_wait(&param->cond, &param->mutex);

            pagesize = TARGET_PAGE_SIZE;

            if (!quit_decomp_thread) {

                









                uncompress((Bytef *)param->des, &pagesize,

                           (const Bytef *)param->compbuf, param->len);

            }

            param->start = false;

        }

        qemu_mutex_unlock(&param->mutex);

    }



    return NULL;

}

            if (!quit_decomp_thread) {                 uncompress((Bytef *)param->des, &pagesize,                            (const Bytef *)param->compbuf, param->len);             param->start = false;
static void *FUNC_0(void *VAR_0)

{

    DecompressParam *param = VAR_0;

    unsigned long VAR_1;



    while (!quit_decomp_thread) {

        qemu_mutex_lock(&param->mutex);

        while (!param->start && !quit_decomp_thread) {

            qemu_cond_wait(&param->cond, &param->mutex);

            VAR_1 = TARGET_PAGE_SIZE;

            if (!quit_decomp_thread) {

                









                uncompress((Bytef *)param->des, &VAR_1,

                           (const Bytef *)param->compbuf, param->len);

            }

            param->start = false;

        }

        qemu_mutex_unlock(&param->mutex);

    }



    return NULL;

}

static void *FUNC_0(void *VAR_0)
{ DecompressParam *param = VAR_0; unsigned long VAR_1; while (!quit_decomp_thread) { qemu_mutex_lock(&param->mutex); while (!param->start && !quit_decomp_thread) { qemu_cond_wait(&param->cond, &param->mutex); VAR_1 = TARGET_PAGE_SIZE; if (!quit_decomp_thread) { uncompress((Bytef *)param->des, &VAR_1,
(const Bytef *)param->compbuf, param->len); } param->start = false; } qemu_mutex_unlock(&param->mutex); } return NULL; }