static void clr_msg_flags(IPMIBmcSim *ibs,

                          uint8_t *cmd, unsigned int cmd_len,

                          uint8_t *rsp, unsigned int *rsp_len,

                          unsigned int max_rsp_len)

{

    IPMIInterface *s = ibs->parent.intf;

    IPMIInterfaceClass *k = IPMI_INTERFACE_GET_CLASS(s);



    IPMI_CHECK_CMD_LEN(3);

    ibs->msg_flags &= ~cmd[2];

    k->set_atn(s, attn_set(ibs), attn_irq_enabled(ibs));

}

static void clr_msg_flags(IPMIBmcSim *ibs,

                          uint8_t *cmd, unsigned int cmd_len,

                          uint8_t *rsp, unsigned int *rsp_len,

                          unsigned int max_rsp_len)

{

    IPMIInterface *s = ibs->parent.intf;

    IPMIInterfaceClass *k = IPMI_INTERFACE_GET_CLASS(s);



    IPMI_CHECK_CMD_LEN(3);

    ibs->msg_flags &= ~cmd[2];

    k->set_atn(s, attn_set(ibs), attn_irq_enabled(ibs));

}

    IPMI_CHECK_CMD_LEN(3);     IPMI_CHECK_CMD_LEN(3);     IPMI_CHECK_CMD_LEN(3);     IPMI_CHECK_CMD_LEN(3);     IPMI_CHECK_CMD_LEN(3);     IPMI_CHECK_CMD_LEN(3);     IPMI_CHECK_CMD_LEN(3);     IPMI_CHECK_CMD_LEN(3);
static void FUNC_0(IPMIBmcSim *VAR_0,

                          uint8_t *VAR_1, unsigned int VAR_2,

                          uint8_t *VAR_3, unsigned int *VAR_4,

                          unsigned int VAR_5)

{

    IPMIInterface *s = VAR_0->parent.intf;

    IPMIInterfaceClass *k = IPMI_INTERFACE_GET_CLASS(s);



    IPMI_CHECK_CMD_LEN(3);

    VAR_0->msg_flags &= ~VAR_1[2];

    k->set_atn(s, attn_set(VAR_0), attn_irq_enabled(VAR_0));

}

static void FUNC_0(IPMIBmcSim *VAR_0,
uint8_t *VAR_1, unsigned int VAR_2,
uint8_t *VAR_3, unsigned int *VAR_4,
unsigned int VAR_5)
{ IPMIInterface *s = VAR_0->parent.intf; IPMIInterfaceClass *k = IPMI_INTERFACE_GET_CLASS(s); IPMI_CHECK_CMD_LEN(3); VAR_0->msg_flags &= ~VAR_1[2]; k->set_atn(s, attn_set(VAR_0), attn_irq_enabled(VAR_0)); }