Clock_Ip_SetRtcRtccClksel_TrustedCall (const struct Clock_Ip_SelectorConfigType * Config)
{
  uint32 SelectorValue;
  uint32 RegValue;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = Config->Value;
  _2 = (int) _1;
  _3 = Clock_Ip_au16SelectorEntryRtcHardwareValue[_2];
  SelectorValue = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = 1074135040B;
  RegValue = _4->RTCC;
  # DEBUG BEGIN_STMT
  RegValue = RegValue & 4294955007;
  # DEBUG BEGIN_STMT
  _5 = SelectorValue << 12;
  _6 = _5 & 12288;
  RegValue = RegValue | _6;
  # DEBUG BEGIN_STMT
  _7 = 1074135040B;
  _7->RTCC = RegValue;
  return;

}


Clock_Ip_ConfigureSetGenCtrl1 (const struct Clock_Ip_SelectorConfigType * Config)
{
  uint32 SelectorValue;
  uint32 SelectorIndex;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = Config->Name;
  _2 = (int) _1;
  _3 = Clock_Ip_au8ClockFeatures[_2][4];
  SelectorIndex = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = Config->Value;
  _5 = (int) _4;
  _6 = Clock_Ip_au16SelectorEntryHardwareValue[_5];
  SelectorValue = (uint32) _6;
  # DEBUG BEGIN_STMT
  if (SelectorValue != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _7 = 1074252288B;
  _8 = _7->GENCTRL1;
  _9 = 1 << SelectorIndex;
  _10 = 1074252288B;
  _11 = _8 | _9;
  _10->GENCTRL1 = _11;
  goto <bb 5>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _12 = 1074252288B;
  _13 = _12->GENCTRL1;
  _14 = 1 << SelectorIndex;
  _15 = ~_14;
  _16 = 1074252288B;
  _17 = _13 & _15;
  _16->GENCTRL1 = _17;

  <bb 5> :
  return;

}


Clock_Ip_ConfigureResetGenCtrl1 (const struct Clock_Ip_SelectorConfigType * Config)
{
  uint32 SelectorIndex;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = Config->Name;
  _2 = (int) _1;
  _3 = Clock_Ip_au8ClockFeatures[_2][4];
  SelectorIndex = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = 1074252288B;
  _5 = _4->GENCTRL1;
  _6 = 1 << SelectorIndex;
  _7 = ~_6;
  _8 = 1074252288B;
  _9 = _5 & _7;
  _8->GENCTRL1 = _9;
  return;

}


Clock_Ip_SetRtcRtccClksel (const struct Clock_Ip_SelectorConfigType * Config)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Clock_Ip_SetRtcRtccClksel_TrustedCall (Config);
  return;

}


Clock_Ip_SetGenctrl1Ctrl (const struct Clock_Ip_SelectorConfigType * Config)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  Clock_Ip_ConfigureSetGenCtrl1 (Config);
  return;

}


Clock_Ip_ResetGenctrl1Ctrl (const struct Clock_Ip_SelectorConfigType * Config)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  Clock_Ip_ConfigureResetGenCtrl1 (Config);
  return;

}


Clock_Ip_SetCgmXCscCssCsGrip (const struct Clock_Ip_SelectorConfigType * Config)
{
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 RegValue;
  uint32 SelectorShift;
  uint32 SelectorMask;
  uint32 SelectorValue;
  uint32 SelectorIndex;
  uint32 Instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = Config->Name;
  _2 = (int) _1;
  _3 = Clock_Ip_au8ClockFeatures[_2][0];
  Instance = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = Config->Name;
  _5 = (int) _4;
  _6 = Clock_Ip_au8ClockFeatures[_5][4];
  SelectorIndex = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = Config->Value;
  _8 = (int) _7;
  _9 = Clock_Ip_au16SelectorEntryHardwareValue[_8];
  SelectorValue = (uint32) _9;
  # DEBUG BEGIN_STMT
  _10 = Config->Name;
  _11 = (int) _10;
  _12 = Clock_Ip_au8ClockFeatures[_11][2];
  _13 = (int) _12;
  SelectorMask = Clock_Ip_axFeatureExtensions[_13].SelectorValueMask;
  # DEBUG BEGIN_STMT
  _14 = Config->Name;
  _15 = (int) _14;
  _16 = Clock_Ip_au8ClockFeatures[_15][2];
  _17 = (int) _16;
  SelectorShift = Clock_Ip_axFeatureExtensions[_17].SelectorValueShift;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutOccurred = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _18 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _19 = _18->CSS;
  _20 = SelectorMask & _19;
  _21 = _20 >> SelectorShift;
  if (SelectorValue != _21)
    goto <bb 3>; [INV]
  else
    goto <bb 13>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _22 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _23 = _22->CSC;
  _24 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _25 = _23 | 12;
  _24->CSC = _25;
  # DEBUG BEGIN_STMT
  Clock_Ip_StartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);

  <bb 4> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.0_26 = TimeoutTicks;
  TimeoutOccurred = Clock_Ip_TimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_26);
  # DEBUG BEGIN_STMT
  _27 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _28 = _27->CSS;
  _29 = _28 & 131072;
  if (_29 == 131072)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  if (TimeoutOccurred == 0)
    goto <bb 4>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred == 0)
    goto <bb 7>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _30 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  RegValue = _30->CSC;
  # DEBUG BEGIN_STMT
  _31 = ~SelectorMask;
  RegValue = RegValue & _31;
  # DEBUG BEGIN_STMT
  _32 = SelectorValue << SelectorShift;
  _33 = SelectorMask & _32;
  RegValue = RegValue | _33;
  # DEBUG BEGIN_STMT
  _34 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _34->CSC = RegValue;
  # DEBUG BEGIN_STMT
  _35 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _36 = _35->CSC;
  _37 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _38 = _36 & 4294967283;
  _37->CSC = _38;
  # DEBUG BEGIN_STMT
  Clock_Ip_StartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);

  <bb 8> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.1_39 = TimeoutTicks;
  TimeoutOccurred = Clock_Ip_TimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.1_39);
  # DEBUG BEGIN_STMT
  _40 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _41 = _40->CSS;
  _42 = _41 & 131072;
  if (_42 != 131072)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  if (TimeoutOccurred == 0)
    goto <bb 8>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred == 1)
    goto <bb 11>; [INV]
  else
    goto <bb 13>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  _43 = Config->Name;
  Clock_Ip_ReportClockErrors (3, _43);
  goto <bb 13>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  _44 = Config->Name;
  Clock_Ip_ReportClockErrors (1, _44);

  <bb 13> :
  StartTime = {CLOBBER};
  ElapsedTime = {CLOBBER};
  TimeoutTicks = {CLOBBER};
  return;

}


Clock_Ip_ResetCgmXCscCssCsGrip (const struct Clock_Ip_SelectorConfigType * Config)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  return;

}


Clock_Ip_SetCgmXCscCssClkswRampupRampdownSwip (const struct Clock_Ip_SelectorConfigType * Config)
{
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 RegValue;
  uint32 SelectorShift;
  uint32 SelectorMask;
  uint32 SelectorValue;
  uint32 SelectorIndex;
  uint32 Instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = Config->Name;
  _2 = (int) _1;
  _3 = Clock_Ip_au8ClockFeatures[_2][0];
  Instance = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = Config->Name;
  _5 = (int) _4;
  _6 = Clock_Ip_au8ClockFeatures[_5][4];
  SelectorIndex = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = Config->Value;
  _8 = (int) _7;
  _9 = Clock_Ip_au16SelectorEntryHardwareValue[_8];
  SelectorValue = (uint32) _9;
  # DEBUG BEGIN_STMT
  _10 = Config->Name;
  _11 = (int) _10;
  _12 = Clock_Ip_au8ClockFeatures[_11][2];
  _13 = (int) _12;
  SelectorMask = Clock_Ip_axFeatureExtensions[_13].SelectorValueMask;
  # DEBUG BEGIN_STMT
  _14 = Config->Name;
  _15 = (int) _14;
  _16 = Clock_Ip_au8ClockFeatures[_15][2];
  _17 = (int) _16;
  SelectorShift = Clock_Ip_axFeatureExtensions[_17].SelectorValueShift;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutOccurred = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _18 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _19 = _18->CSS;
  _20 = SelectorMask & _19;
  _21 = _20 >> SelectorShift;
  if (SelectorValue != _21)
    goto <bb 3>; [INV]
  else
    goto <bb 20>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Clock_Ip_StartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);

  <bb 4> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.2_22 = TimeoutTicks;
  TimeoutOccurred = Clock_Ip_TimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.2_22);
  # DEBUG BEGIN_STMT
  _23 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _24 = _23->CSS;
  _25 = _24 & 65536;
  if (_25 == 65536)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  if (TimeoutOccurred == 0)
    goto <bb 4>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred == 0)
    goto <bb 7>; [INV]
  else
    goto <bb 19>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _26 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  RegValue = _26->CSC;
  # DEBUG BEGIN_STMT
  _27 = ~SelectorMask;
  RegValue = RegValue & _27;
  # DEBUG BEGIN_STMT
  _28 = SelectorValue << SelectorShift;
  _29 = SelectorMask & _28;
  RegValue = RegValue | _29;
  # DEBUG BEGIN_STMT
  RegValue = RegValue | 7;
  # DEBUG BEGIN_STMT
  _30 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _30->CSC = RegValue;
  # DEBUG BEGIN_STMT
  Clock_Ip_StartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);

  <bb 8> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.3_31 = TimeoutTicks;
  TimeoutOccurred = Clock_Ip_TimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.3_31);
  # DEBUG BEGIN_STMT
  _32 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _33 = _32->CSS;
  _34 = _33 & 4;
  if (_34 == 0)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  if (TimeoutOccurred == 0)
    goto <bb 8>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred == 0)
    goto <bb 11>; [INV]
  else
    goto <bb 18>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  Clock_Ip_StartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);

  <bb 12> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.4_35 = TimeoutTicks;
  TimeoutOccurred = Clock_Ip_TimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.4_35);
  # DEBUG BEGIN_STMT
  _36 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _37 = _36->CSS;
  _38 = _37 & 65536;
  if (_38 == 65536)
    goto <bb 13>; [INV]
  else
    goto <bb 14>; [INV]

  <bb 13> :
  if (TimeoutOccurred == 0)
    goto <bb 12>; [INV]
  else
    goto <bb 14>; [INV]

  <bb 14> :
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred == 0)
    goto <bb 15>; [INV]
  else
    goto <bb 17>; [INV]

  <bb 15> :
  # DEBUG BEGIN_STMT
  _39 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _40 = _39->CSS;
  _41 = _40 >> 17;
  _42 = _41 & 7;
  if (_42 != 1)
    goto <bb 16>; [INV]
  else
    goto <bb 20>; [INV]

  <bb 16> :
  # DEBUG BEGIN_STMT
  _43 = Config->Name;
  Clock_Ip_ReportClockErrors (3, _43);
  goto <bb 20>; [INV]

  <bb 17> :
  # DEBUG BEGIN_STMT
  _44 = Config->Name;
  Clock_Ip_ReportClockErrors (1, _44);
  goto <bb 20>; [INV]

  <bb 18> :
  # DEBUG BEGIN_STMT
  _45 = Config->Name;
  Clock_Ip_ReportClockErrors (1, _45);
  goto <bb 20>; [INV]

  <bb 19> :
  # DEBUG BEGIN_STMT
  _46 = Config->Name;
  Clock_Ip_ReportClockErrors (1, _46);

  <bb 20> :
  StartTime = {CLOBBER};
  ElapsedTime = {CLOBBER};
  TimeoutTicks = {CLOBBER};
  return;

}


Clock_Ip_ResetCgmXCscCssClkswRampupRampdownSwip (const struct Clock_Ip_SelectorConfigType * Config)
{
  uint32 SelectorMask;
  uint32 SelectorIndex;
  uint32 Instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = Config->Name;
  _2 = (int) _1;
  _3 = Clock_Ip_au8ClockFeatures[_2][0];
  Instance = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = Config->Name;
  _5 = (int) _4;
  _6 = Clock_Ip_au8ClockFeatures[_5][4];
  SelectorIndex = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = Config->Name;
  _8 = (int) _7;
  _9 = Clock_Ip_au8ClockFeatures[_8][2];
  _10 = (int) _9;
  SelectorMask = Clock_Ip_axFeatureExtensions[_10].SelectorValueMask;
  # DEBUG BEGIN_STMT
  _11 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _12 = _11->CSC;
  _13 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _14 = _12 | 8;
  _13->CSC = _14;
  # DEBUG BEGIN_STMT
  _15 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _16 = _15->CSC;
  _17 = ~SelectorMask;
  _18 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _19 = _16 & _17;
  _18->CSC = _19;
  return;

}


Clock_Ip_SetCgmXCscCssClkswSwip (const struct Clock_Ip_SelectorConfigType * Config)
{
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 RegValue;
  uint32 SelectorShift;
  uint32 SelectorMask;
  uint32 SelectorValue;
  uint32 SelectorIndex;
  uint32 Instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = Config->Name;
  _2 = (int) _1;
  _3 = Clock_Ip_au8ClockFeatures[_2][0];
  Instance = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = Config->Name;
  _5 = (int) _4;
  _6 = Clock_Ip_au8ClockFeatures[_5][4];
  SelectorIndex = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = Config->Value;
  _8 = (int) _7;
  _9 = Clock_Ip_au16SelectorEntryHardwareValue[_8];
  SelectorValue = (uint32) _9;
  # DEBUG BEGIN_STMT
  _10 = Config->Name;
  _11 = (int) _10;
  _12 = Clock_Ip_au8ClockFeatures[_11][2];
  _13 = (int) _12;
  SelectorMask = Clock_Ip_axFeatureExtensions[_13].SelectorValueMask;
  # DEBUG BEGIN_STMT
  _14 = Config->Name;
  _15 = (int) _14;
  _16 = Clock_Ip_au8ClockFeatures[_15][2];
  _17 = (int) _16;
  SelectorShift = Clock_Ip_axFeatureExtensions[_17].SelectorValueShift;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutOccurred = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _18 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _19 = _18->CSS;
  _20 = SelectorMask & _19;
  _21 = _20 >> SelectorShift;
  if (SelectorValue != _21)
    goto <bb 3>; [INV]
  else
    goto <bb 20>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Clock_Ip_StartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);

  <bb 4> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.5_22 = TimeoutTicks;
  TimeoutOccurred = Clock_Ip_TimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.5_22);
  # DEBUG BEGIN_STMT
  _23 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _24 = _23->CSS;
  _25 = _24 & 65536;
  if (_25 == 65536)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  if (TimeoutOccurred == 0)
    goto <bb 4>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred == 0)
    goto <bb 7>; [INV]
  else
    goto <bb 19>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _26 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  RegValue = _26->CSC;
  # DEBUG BEGIN_STMT
  _27 = ~SelectorMask;
  RegValue = RegValue & _27;
  # DEBUG BEGIN_STMT
  _28 = SelectorValue << SelectorShift;
  _29 = SelectorMask & _28;
  RegValue = RegValue | _29;
  # DEBUG BEGIN_STMT
  RegValue = RegValue | 4;
  # DEBUG BEGIN_STMT
  _30 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _30->CSC = RegValue;
  # DEBUG BEGIN_STMT
  Clock_Ip_StartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);

  <bb 8> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.6_31 = TimeoutTicks;
  TimeoutOccurred = Clock_Ip_TimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.6_31);
  # DEBUG BEGIN_STMT
  _32 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _33 = _32->CSS;
  _34 = _33 & 4;
  if (_34 == 0)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  if (TimeoutOccurred == 0)
    goto <bb 8>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred == 0)
    goto <bb 11>; [INV]
  else
    goto <bb 18>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  Clock_Ip_StartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 50000);

  <bb 12> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.7_35 = TimeoutTicks;
  TimeoutOccurred = Clock_Ip_TimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.7_35);
  # DEBUG BEGIN_STMT
  _36 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _37 = _36->CSS;
  _38 = _37 & 65536;
  if (_38 == 65536)
    goto <bb 13>; [INV]
  else
    goto <bb 14>; [INV]

  <bb 13> :
  if (TimeoutOccurred == 0)
    goto <bb 12>; [INV]
  else
    goto <bb 14>; [INV]

  <bb 14> :
  # DEBUG BEGIN_STMT
  if (TimeoutOccurred == 0)
    goto <bb 15>; [INV]
  else
    goto <bb 17>; [INV]

  <bb 15> :
  # DEBUG BEGIN_STMT
  _39 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _40 = _39->CSS;
  _41 = _40 >> 17;
  _42 = _41 & 7;
  if (_42 != 1)
    goto <bb 16>; [INV]
  else
    goto <bb 20>; [INV]

  <bb 16> :
  # DEBUG BEGIN_STMT
  _43 = Config->Name;
  Clock_Ip_ReportClockErrors (3, _43);
  goto <bb 20>; [INV]

  <bb 17> :
  # DEBUG BEGIN_STMT
  _44 = Config->Name;
  Clock_Ip_ReportClockErrors (1, _44);
  goto <bb 20>; [INV]

  <bb 18> :
  # DEBUG BEGIN_STMT
  _45 = Config->Name;
  Clock_Ip_ReportClockErrors (1, _45);
  goto <bb 20>; [INV]

  <bb 19> :
  # DEBUG BEGIN_STMT
  _46 = Config->Name;
  Clock_Ip_ReportClockErrors (1, _46);

  <bb 20> :
  StartTime = {CLOBBER};
  ElapsedTime = {CLOBBER};
  TimeoutTicks = {CLOBBER};
  return;

}


Clock_Ip_ResetCgmXCscCssClkswSwip (const struct Clock_Ip_SelectorConfigType * Config)
{
  uint32 SelectorMask;
  uint32 SelectorIndex;
  uint32 Instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = Config->Name;
  _2 = (int) _1;
  _3 = Clock_Ip_au8ClockFeatures[_2][0];
  Instance = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = Config->Name;
  _5 = (int) _4;
  _6 = Clock_Ip_au8ClockFeatures[_5][4];
  SelectorIndex = (uint32) _6;
  # DEBUG BEGIN_STMT
  _7 = Config->Name;
  _8 = (int) _7;
  _9 = Clock_Ip_au8ClockFeatures[_8][2];
  _10 = (int) _9;
  SelectorMask = Clock_Ip_axFeatureExtensions[_10].SelectorValueMask;
  # DEBUG BEGIN_STMT
  _11 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _12 = _11->CSC;
  _13 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _14 = _12 | 8;
  _13->CSC = _14;
  # DEBUG BEGIN_STMT
  _15 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _16 = _15->CSC;
  _17 = ~SelectorMask;
  _18 = Clock_Ip_apxCgm[Instance][SelectorIndex];
  _19 = _16 & _17;
  _18->CSC = _19;
  return;

}


Clock_Ip_CallbackSelectorEmpty (const struct Clock_Ip_SelectorConfigType * Config)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  return;

}


