static void emulated_push_error(EmulatedState *card, uint64_t code)

{

    EmulEvent *event = (EmulEvent *)g_malloc(sizeof(EmulEvent));



    assert(event);

    event->p.error.type = EMUL_ERROR;

    event->p.error.code = code;

    emulated_push_event(card, event);

}

static void emulated_push_error(EmulatedState *card, uint64_t code)

{

    EmulEvent *event = (EmulEvent *)g_malloc(sizeof(EmulEvent));



    assert(event);

    event->p.error.type = EMUL_ERROR;

    event->p.error.code = code;

    emulated_push_event(card, event);

}

    EmulEvent *event = (EmulEvent *)g_malloc(sizeof(EmulEvent));     EmulEvent *event = (EmulEvent *)g_malloc(sizeof(EmulEvent));
static void FUNC_0(EmulatedState *VAR_0, uint64_t VAR_1)

{

    EmulEvent *event = (EmulEvent *)g_malloc(sizeof(EmulEvent));



    assert(event);

    event->p.error.type = EMUL_ERROR;

    event->p.error.VAR_1 = VAR_1;

    emulated_push_event(VAR_0, event);

}

static void FUNC_0(EmulatedState *VAR_0, uint64_t VAR_1)
{ EmulEvent *event = (EmulEvent *)g_malloc(sizeof(EmulEvent)); assert(event); event->p.error.type = EMUL_ERROR; event->p.error.VAR_1 = VAR_1; emulated_push_event(VAR_0, event); }