void *vnc_zlib_zalloc(void *x, unsigned items, unsigned size)

{

    void *p;



    size *= items;

    size = (size + ZALLOC_ALIGNMENT - 1) & ~(ZALLOC_ALIGNMENT - 1);



    p = qemu_mallocz(size);



    return (p);

}

void *vnc_zlib_zalloc(void *x, unsigned items, unsigned size)

{

    void *p;



    size *= items;

    size = (size + ZALLOC_ALIGNMENT - 1) & ~(ZALLOC_ALIGNMENT - 1);



    p = qemu_mallocz(size);



    return (p);

}

void *FUNC_0(void *VAR_0, unsigned VAR_1, unsigned VAR_2)

{

    void *VAR_3;



    VAR_2 *= VAR_1;

    VAR_2 = (VAR_2 + ZALLOC_ALIGNMENT - 1) & ~(ZALLOC_ALIGNMENT - 1);



    VAR_3 = qemu_mallocz(VAR_2);



    return (VAR_3);

}

void *FUNC_0(void *VAR_0, unsigned VAR_1, unsigned VAR_2)
{ void *VAR_3; VAR_2 *= VAR_1; VAR_2 = (VAR_2 + ZALLOC_ALIGNMENT - 1) & ~(ZALLOC_ALIGNMENT - 1); VAR_3 = qemu_mallocz(VAR_2); return (VAR_3); }