void qemu_spice_add_memslot(SimpleSpiceDisplay *ssd, QXLDevMemSlot *memslot,

                            qxl_async_io async)

{

    if (async != QXL_SYNC) {

#if SPICE_INTERFACE_QXL_MINOR >= 1

        spice_qxl_add_memslot_async(&ssd->qxl, memslot, 0);

#else

        abort();

#endif

    } else {

        ssd->worker->add_memslot(ssd->worker, memslot);

    }

}

void qemu_spice_add_memslot(SimpleSpiceDisplay *ssd, QXLDevMemSlot *memslot,

                            qxl_async_io async)

{

    if (async != QXL_SYNC) {

#if SPICE_INTERFACE_QXL_MINOR >= 1

        spice_qxl_add_memslot_async(&ssd->qxl, memslot, 0);

#else

        abort();

#endif

    } else {

        ssd->worker->add_memslot(ssd->worker, memslot);

    }

}

void FUNC_0(SimpleSpiceDisplay *VAR_0, QXLDevMemSlot *VAR_1,

                            qxl_async_io VAR_2)

{

    if (VAR_2 != QXL_SYNC) {

#if SPICE_INTERFACE_QXL_MINOR >= 1

        spice_qxl_add_memslot_async(&VAR_0->qxl, VAR_1, 0);

#else

        abort();

#endif

    } else {

        VAR_0->worker->add_memslot(VAR_0->worker, VAR_1);

    }

}

void FUNC_0(SimpleSpiceDisplay *VAR_0, QXLDevMemSlot *VAR_1,
qxl_async_io VAR_2)
{ if (VAR_2 != QXL_SYNC) { #if SPICE_INTERFACE_QXL_MINOR >= 1
spice_qxl_add_memslot_async(&VAR_0->qxl, VAR_1, 0); #else
abort(); #endif
} else { VAR_0->worker->add_memslot(VAR_0->worker, VAR_1); } }