MCL_FLEXIO_ISR ()
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  Flexio_Mcl_Ip_CommonIrq ();
  # DEBUG BEGIN_STMT
  __asm__ __volatile__(" DSB");
  return;

}


Flexio_Mcl_Ip_CommonIrq ()
{
  uint8 u8TimerEnabledIrq;
  uint8 u8TimerMaskFlag;
  uint8 u8ShifterErrMaskFlag;
  uint8 u8ShifterErrEnabledIrq;
  uint8 u8ShifterEnabledIrq;
  uint8 u8ShifterMaskFlag;
  struct FLEXIO_Type * baseAddr;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  _Bool _7;
  long unsigned int _8;
  unsigned char _9;
  long unsigned int _10;
  long unsigned int _11;
  long unsigned int _12;
  unsigned char _13;
  long unsigned int _14;
  long unsigned int _15;
  unsigned char _16;
  int _17;
  int _18;
  unsigned char _19;
  int _20;
  int _21;
  unsigned char _22;
  int _23;
  int _24;
  unsigned char _25;
  int _26;
  int _27;
  unsigned char _28;
  int _29;
  int _30;
  unsigned char _31;
  int _32;
  int _33;
  long unsigned int _34;
  long unsigned int _35;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  baseAddr_39 = flexioBase[0];
  # DEBUG baseAddr => baseAddr_39
  # DEBUG BEGIN_STMT
  _1 = Flexio_Mcl_Ip_GetAllShifterStatus (baseAddr_39);
  u8ShifterMaskFlag_41 = (uint8) _1;
  # DEBUG u8ShifterMaskFlag => u8ShifterMaskFlag_41
  # DEBUG BEGIN_STMT
  _2 = Flexio_Mcl_Ip_GetAllShifterInterrupt (baseAddr_39);
  u8ShifterEnabledIrq_43 = (uint8) _2;
  # DEBUG u8ShifterEnabledIrq => u8ShifterEnabledIrq_43
  # DEBUG BEGIN_STMT
  _3 = Flexio_Mcl_Ip_GetAllShifterErrorInterrupt (baseAddr_39);
  u8ShifterErrEnabledIrq_45 = (uint8) _3;
  # DEBUG u8ShifterErrEnabledIrq => u8ShifterErrEnabledIrq_45
  # DEBUG BEGIN_STMT
  _4 = Flexio_Mcl_Ip_GetAllShifterErrorStatus (baseAddr_39);
  u8ShifterErrMaskFlag_47 = (uint8) _4;
  # DEBUG u8ShifterErrMaskFlag => u8ShifterErrMaskFlag_47
  # DEBUG BEGIN_STMT
  _5 = Flexio_Mcl_Ip_GetAllTimerStatus (baseAddr_39);
  u8TimerMaskFlag_49 = (uint8) _5;
  # DEBUG u8TimerMaskFlag => u8TimerMaskFlag_49
  # DEBUG BEGIN_STMT
  _6 = Flexio_Mcl_Ip_GetAllTimerInterrupt (baseAddr_39);
  u8TimerEnabledIrq_51 = (uint8) _6;
  # DEBUG u8TimerEnabledIrq => u8TimerEnabledIrq_51
  # DEBUG BEGIN_STMT
  _7 = Flexio_Ip_IpIsInitialized[0];
  if (_7 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _8 ={v} baseAddr_39->SHIFTERR;
  _9 = u8ShifterErrMaskFlag_47 & u8ShifterErrEnabledIrq_45;
  _10 = (long unsigned int) _9;
  _11 = _8 | _10;
  baseAddr_39->SHIFTERR ={v} _11;
  # DEBUG BEGIN_STMT
  _12 ={v} baseAddr_39->TIMSTAT;
  _13 = u8TimerMaskFlag_49 & u8TimerEnabledIrq_51;
  _14 = (long unsigned int) _13;
  _15 = _12 | _14;
  baseAddr_39->TIMSTAT ={v} _15;
  # DEBUG BEGIN_STMT
  _16 = u8ShifterMaskFlag_41 & u8ShifterEnabledIrq_43;
  _17 = (int) _16;
  _18 = _17 & 1;
  if (_18 != 0)
    goto <bb 6>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 4> :
  _19 = u8ShifterErrMaskFlag_47 & u8ShifterErrEnabledIrq_45;
  _20 = (int) _19;
  _21 = _20 & 1;
  if (_21 != 0)
    goto <bb 6>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  _22 = u8TimerMaskFlag_49 & u8TimerEnabledIrq_51;
  _23 = (int) _22;
  _24 = _23 & 1;
  if (_24 != 0)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  Flexio_Uart_Ip_IrqHandler (0, u8ShifterMaskFlag_41, u8ShifterErrMaskFlag_47, u8TimerMaskFlag_49);

  <bb 7> :
  # DEBUG BEGIN_STMT
  _25 = u8ShifterMaskFlag_41 & u8ShifterEnabledIrq_43;
  _26 = (int) _25;
  _27 = _26 & 2;
  if (_27 != 0)
    goto <bb 10>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 8> :
  _28 = u8ShifterErrMaskFlag_47 & u8ShifterErrEnabledIrq_45;
  _29 = (int) _28;
  _30 = _29 & 2;
  if (_30 != 0)
    goto <bb 10>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 9> :
  _31 = u8TimerMaskFlag_49 & u8TimerEnabledIrq_51;
  _32 = (int) _31;
  _33 = _32 & 2;
  if (_33 != 0)
    goto <bb 10>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  Flexio_Uart_Ip_IrqHandler (1, u8ShifterMaskFlag_41, u8ShifterErrMaskFlag_47, u8TimerMaskFlag_49);
  goto <bb 12>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  _34 = (long unsigned int) u8ShifterErrMaskFlag_47;
  baseAddr_39->SHIFTERR ={v} _34;
  # DEBUG BEGIN_STMT
  _35 = (long unsigned int) u8TimerMaskFlag_49;
  baseAddr_39->TIMSTAT ={v} _35;

  <bb 12> :
  return;

}


