
Marking local functions:


Marking externally visible functions: Mcu_CMU_ClockFailInt


Marking externally visible variables: cmuCallbacks


Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:

clockConfig/20 (clockConfig) @06ef1ee8
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: Mcu_CMU_ClockFailInt/10 (read)
  Availability: not_available
  Varpool flags:
cmuEntries/19 (cmuEntries) @06ef1708
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)Mcu_CMU_ClockFailInt/10 (read)
  Availability: not_available
  Varpool flags:
SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01/18 (SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01) @06ed9460
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: DisableCmuFcFceRefCntLfrefHfref/5 
  Calls: 
SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01/17 (SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01) @06ed92a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: DisableCmuFcFceRefCntLfrefHfref/5 
  Calls: 
cmu/16 (cmu) @06ed84c8
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: GetStatusCmuFcFceRefCntLfrefHfref/9 (read)GetStatusCmuFcFceRefCntLfrefHfref/9 (read)GetStatusCmuFcFceRefCntLfrefHfref/9 (read)ClearStatusCmuFcFceRefCntLfrefHfref/8 (read)ClearStatusCmuFcFceRefCntLfrefHfref/8 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)Mcu_CMU_ClockFailInt/10 (read)Mcu_CMU_ClockFailInt/10 (read)Mcu_CMU_ClockFailInt/10 (read)
  Availability: not_available
  Varpool flags: read-only
ReportClockErrors/15 (ReportClockErrors) @06ed9000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Mcu_CMU_ClockFailInt/10 SetCmuFcFceRefCntLfrefHfref/7 DisableCmuFcFceRefCntLfrefHfref/5 DisableCmuFcFceRefCntLfrefHfref/5 ClearStatusCmuFcFceRefCntLfrefHfref/8 GetStatusCmuFcFceRefCntLfrefHfref/9 
  Calls: 
ClockTimeoutExpired/14 (ClockTimeoutExpired) @06dc0d20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetCmuFcFceRefCntLfrefHfref/7 DisableCmuFcFceRefCntLfrefHfref/5 DisableCmuFcFceRefCntLfrefHfref/5 ClearStatusCmuFcFceRefCntLfrefHfref/8 GetStatusCmuFcFceRefCntLfrefHfref/9 
  Calls: 
ClockStartTimeout/13 (ClockStartTimeout) @06dc0a80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetCmuFcFceRefCntLfrefHfref/7 DisableCmuFcFceRefCntLfrefHfref/5 DisableCmuFcFceRefCntLfrefHfref/5 ClearStatusCmuFcFceRefCntLfrefHfref/8 GetStatusCmuFcFceRefCntLfrefHfref/9 
  Calls: 
McMeEnterKey/12 (McMeEnterKey) @06dc0700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: SetCmuFcFceRefCntLfrefHfref/7 DisableCmuFcFceRefCntLfrefHfref/5 ClearStatusCmuFcFceRefCntLfrefHfref/8 GetStatusCmuFcFceRefCntLfrefHfref/9 
  Calls: 
clockFeatures/11 (clockFeatures) @06ed8360
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: GetStatusCmuFcFceRefCntLfrefHfref/9 (read)ClearStatusCmuFcFceRefCntLfrefHfref/8 (read)DisableCmuFcFceRefCntLfrefHfref/5 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)SetCmuFcFceRefCntLfrefHfref/7 (read)Mcu_CMU_ClockFailInt/10 (read)
  Availability: not_available
  Varpool flags: read-only
Mcu_CMU_ClockFailInt/10 (Mcu_CMU_ClockFailInt) @06dc0c40
  Type: function definition analyzed
  Visibility: externally_visible public
  References: cmuEntries/19 (read)clockFeatures/11 (read)cmu/16 (read)cmu/16 (read)clockConfig/20 (read)cmu/16 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: ReportClockErrors/15 
GetStatusCmuFcFceRefCntLfrefHfref/9 (GetStatusCmuFcFceRefCntLfrefHfref) @06dc09a0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/11 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)
  Referring: cmuCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: ReportClockErrors/15 ClockTimeoutExpired/14 ClockStartTimeout/13 McMeEnterKey/12 
ClearStatusCmuFcFceRefCntLfrefHfref/8 (ClearStatusCmuFcFceRefCntLfrefHfref) @06dc0620
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/11 (read)cmu/16 (read)cmu/16 (read)
  Referring: cmuCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: ReportClockErrors/15 ClockTimeoutExpired/14 ClockStartTimeout/13 McMeEnterKey/12 
SetCmuFcFceRefCntLfrefHfref/7 (SetCmuFcFceRefCntLfrefHfref) @06dc02a0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/11 (read)clockFeatures/11 (read)cmu/16 (read)cmuEntries/19 (read)cmu/16 (read)cmuEntries/19 (read)cmu/16 (read)cmuEntries/19 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)
  Referring: cmuCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: ReportClockErrors/15 ClockTimeoutExpired/14 ClockStartTimeout/13 McMeEnterKey/12 
ResetCmuFcFceRefCntLfrefHfref/6 (ResetCmuFcFceRefCntLfrefHfref) @06dbbee0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: 
  Referring: cmuCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: DisableCmuFcFceRefCntLfrefHfref/5 
DisableCmuFcFceRefCntLfrefHfref/5 (DisableCmuFcFceRefCntLfrefHfref) @06dbb9a0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: clockFeatures/11 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)cmu/16 (read)
  Referring: cmuCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: ResetCmuFcFceRefCntLfrefHfref/6 
  Calls: SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01/18 ReportClockErrors/15 ClockTimeoutExpired/14 ClockStartTimeout/13 SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01/17 ReportClockErrors/15 ClockTimeoutExpired/14 ClockStartTimeout/13 McMeEnterKey/12 
ClockMonitorEmpty_GetStatus/4 (ClockMonitorEmpty_GetStatus) @06dbbe00
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: 
  Referring: cmuCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: 
ClockMonitorEmpty_ClearStatus/3 (ClockMonitorEmpty_ClearStatus) @06dbbb60
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: 
  Referring: cmuCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: 
ClockMonitorEmpty_Disable/2 (ClockMonitorEmpty_Disable) @06dbb8c0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: 
  Referring: cmuCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: 
ClockMonitorEmpty/1 (ClockMonitorEmpty) @06dbb620
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Address is taken.
  References: 
  Referring: cmuCallbacks/0 (addr)cmuCallbacks/0 (addr)
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: 
cmuCallbacks/0 (cmuCallbacks) @06db95a0
  Type: variable definition analyzed
  Visibility: externally_visible public
  References: ClockMonitorEmpty/1 (addr)ClockMonitorEmpty/1 (addr)ClockMonitorEmpty_Disable/2 (addr)ClockMonitorEmpty_ClearStatus/3 (addr)ClockMonitorEmpty_GetStatus/4 (addr)ResetCmuFcFceRefCntLfrefHfref/6 (addr)SetCmuFcFceRefCntLfrefHfref/7 (addr)DisableCmuFcFceRefCntLfrefHfref/5 (addr)ClearStatusCmuFcFceRefCntLfrefHfref/8 (addr)GetStatusCmuFcFceRefCntLfrefHfref/9 (addr)
  Referring: 
  Availability: available
  Varpool flags: initialized read-only const-value-known
Mcu_CMU_ClockFailInt ()
{
  Clock_Ip_NameType name;
  uint32 indexCmuEntry;
  uint32 instance;
  uint32 cmuIsrValue;
  uint32 cmuIerValue;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  indexCmuEntry = 0;
  goto <bb 7>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  name = cmuEntries[indexCmuEntry].name;
  # DEBUG BEGIN_STMT
  _1 = (int) name;
  _2 = clockFeatures[_1][6];
  instance = (uint32) _2;
  # DEBUG BEGIN_STMT
  _3 = cmu[instance];
  _4 = _3->SR;
  cmuIsrValue = _4 & 3;
  # DEBUG BEGIN_STMT
  _5 = cmu[instance];
  _5->SR = cmuIsrValue;
  # DEBUG BEGIN_STMT
  clockConfig.5_6 = clockConfig;
  if (clockConfig.5_6 != 0B)
    goto <bb 4>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _7 = cmu[instance];
  _8 = _7->IER;
  cmuIerValue = _8 & 3;
  # DEBUG BEGIN_STMT
  cmuIsrValue = cmuIsrValue & cmuIerValue;
  # DEBUG BEGIN_STMT
  if (cmuIsrValue != 0)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  ReportClockErrors (0, name);

  <bb 6> :
  # DEBUG BEGIN_STMT
  indexCmuEntry = indexCmuEntry + 1;

  <bb 7> :
  # DEBUG BEGIN_STMT
  if (indexCmuEntry <= 3)
    goto <bb 3>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 8> :
  return;

}


GetStatusCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
{
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 instance;
  Clock_Ip_CmuStatusType status;
  uint32 cmuIsrValue;
  uint32 cmuIerValue;
  Clock_Ip_CmuStatusType D.5175;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  status = 3;
  # DEBUG BEGIN_STMT
  _1 = (int) name;
  _2 = clockFeatures[_1][6];
  instance = (uint32) _2;
  # DEBUG BEGIN_STMT
  TimeoutOccurred = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _3 = 1076740096B;
  _4 = _3->PRTN1_COFB1_STAT;
  _5 = _4 & 32768;
  if (_5 == 0)
    goto <bb 3>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _6 = 1076740096B;
  _7 = _6->PRTN1_COFB1_CLKEN;
  _8 = 1076740096B;
  _9 = _7 | 32768;
  _8->PRTN1_COFB1_CLKEN = _9;
  # DEBUG BEGIN_STMT
  _10 = 1076740096B;
  _11 = _10->PRTN1_PCONF;
  _12 = 1076740096B;
  _13 = _11 | 1;
  _12->PRTN1_PCONF = _13;
  # DEBUG BEGIN_STMT
  _14 = 1076740096B;
  _15 = _14->PRTN1_PUPD;
  _16 = 1076740096B;
  _17 = _15 | 1;
  _16->PRTN1_PUPD = _17;
  # DEBUG BEGIN_STMT
  McMeEnterKey ();
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 4> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.0_18 = TimeoutTicks;
  TimeoutOccurred = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.0_18);
  # DEBUG BEGIN_STMT
  _19 = 1076740096B;
  _20 = _19->PRTN1_COFB1_STAT;
  _21 = _20 & 32768;
  if (_21 == 0)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  _22 = ~TimeoutOccurred;
  if (_22 != 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 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  ReportClockErrors (1, 145);

  <bb 8> :
  # DEBUG BEGIN_STMT
  _23 = cmu[instance];
  _24 = _23->SR;
  cmuIsrValue = _24 & 3;
  # DEBUG BEGIN_STMT
  _25 = cmu[instance];
  _26 = _25->IER;
  cmuIerValue = _26 & 3;
  # DEBUG BEGIN_STMT
  cmuIsrValue = cmuIsrValue & cmuIerValue;
  # DEBUG BEGIN_STMT
  _27 = cmu[instance];
  _28 = _27->GCR;
  _29 = _28 & 1;
  if (_29 == 1)
    goto <bb 9>; [INV]
  else
    goto <bb 14>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  _30 = cmuIsrValue & 2;
  if (_30 != 0)
    goto <bb 10>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  status = 1;
  goto <bb 14>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  _31 = cmuIsrValue & 1;
  if (_31 != 0)
    goto <bb 12>; [INV]
  else
    goto <bb 13>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  status = 2;
  goto <bb 14>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  status = 0;

  <bb 14> :
  # DEBUG BEGIN_STMT
  D.5175 = status;
  StartTime = {CLOBBER};
  ElapsedTime = {CLOBBER};
  TimeoutTicks = {CLOBBER};
  return D.5175;

}


ClearStatusCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
{
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 cmuIsrValue;
  uint32 instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = (int) name;
  _2 = clockFeatures[_1][6];
  instance = (uint32) _2;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutOccurred = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _3 = 1076740096B;
  _4 = _3->PRTN1_COFB1_STAT;
  _5 = _4 & 32768;
  if (_5 == 0)
    goto <bb 3>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _6 = 1076740096B;
  _7 = _6->PRTN1_COFB1_CLKEN;
  _8 = 1076740096B;
  _9 = _7 | 32768;
  _8->PRTN1_COFB1_CLKEN = _9;
  # DEBUG BEGIN_STMT
  _10 = 1076740096B;
  _11 = _10->PRTN1_PCONF;
  _12 = 1076740096B;
  _13 = _11 | 1;
  _12->PRTN1_PCONF = _13;
  # DEBUG BEGIN_STMT
  _14 = 1076740096B;
  _15 = _14->PRTN1_PUPD;
  _16 = 1076740096B;
  _17 = _15 | 1;
  _16->PRTN1_PUPD = _17;
  # DEBUG BEGIN_STMT
  McMeEnterKey ();
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 4> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.1_18 = TimeoutTicks;
  TimeoutOccurred = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.1_18);
  # DEBUG BEGIN_STMT
  _19 = 1076740096B;
  _20 = _19->PRTN1_COFB1_STAT;
  _21 = _20 & 32768;
  if (_21 == 0)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  _22 = ~TimeoutOccurred;
  if (_22 != 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 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  ReportClockErrors (1, 145);

  <bb 8> :
  # DEBUG BEGIN_STMT
  _23 = cmu[instance];
  _24 = _23->SR;
  cmuIsrValue = _24 & 3;
  # DEBUG BEGIN_STMT
  _25 = cmu[instance];
  _25->SR = cmuIsrValue;
  StartTime = {CLOBBER};
  ElapsedTime = {CLOBBER};
  TimeoutTicks = {CLOBBER};
  return;

}


SetCmuFcFceRefCntLfrefHfref (const struct Clock_Ip_CmuConfigType * config)
{
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 swIndex;
  uint32 instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = config->name;
  _2 = (int) _1;
  _3 = clockFeatures[_2][6];
  instance = (uint32) _3;
  # DEBUG BEGIN_STMT
  _4 = config->name;
  _5 = (int) _4;
  _6 = clockFeatures[_5][7];
  swIndex = (uint32) _6;
  # DEBUG BEGIN_STMT
  TimeoutOccurred = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _7 = 1076740096B;
  _8 = _7->PRTN1_COFB1_STAT;
  _9 = _8 & 32768;
  if (_9 == 0)
    goto <bb 3>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _10 = 1076740096B;
  _11 = _10->PRTN1_COFB1_CLKEN;
  _12 = 1076740096B;
  _13 = _11 | 32768;
  _12->PRTN1_COFB1_CLKEN = _13;
  # DEBUG BEGIN_STMT
  _14 = 1076740096B;
  _15 = _14->PRTN1_PCONF;
  _16 = 1076740096B;
  _17 = _15 | 1;
  _16->PRTN1_PCONF = _17;
  # DEBUG BEGIN_STMT
  _18 = 1076740096B;
  _19 = _18->PRTN1_PUPD;
  _20 = 1076740096B;
  _21 = _19 | 1;
  _20->PRTN1_PUPD = _21;
  # DEBUG BEGIN_STMT
  McMeEnterKey ();
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 4> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.4_22 = TimeoutTicks;
  TimeoutOccurred = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.4_22);
  # DEBUG BEGIN_STMT
  _23 = 1076740096B;
  _24 = _23->PRTN1_COFB1_STAT;
  _25 = _24 & 32768;
  if (_25 == 0)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  _26 = ~TimeoutOccurred;
  if (_26 != 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 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  ReportClockErrors (1, 145);

  <bb 8> :
  # DEBUG BEGIN_STMT
  _27 = cmu[instance];
  _28 = cmuEntries[swIndex].refCount;
  _27->RCCR = _28;
  # DEBUG BEGIN_STMT
  _29 = cmu[instance];
  _30 = cmuEntries[swIndex].hfRef;
  _29->HTCR = _30;
  # DEBUG BEGIN_STMT
  _31 = cmu[instance];
  _32 = cmuEntries[swIndex].lfRef;
  _31->LTCR = _32;
  # DEBUG BEGIN_STMT
  _33 = cmu[instance];
  _34 = config->interrupt;
  _33->IER = _34;
  # DEBUG BEGIN_STMT
  _35 = config->enable;
  if (_35 != 0)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  _36 = cmu[instance];
  _37 = _36->GCR;
  _38 = cmu[instance];
  _39 = _37 | 1;
  _38->GCR = _39;
  goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  _40 = cmu[instance];
  _41 = _40->GCR;
  _42 = cmu[instance];
  _43 = _41 & 4294967294;
  _42->GCR = _43;

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

}


ResetCmuFcFceRefCntLfrefHfref (const struct Clock_Ip_CmuConfigType * config)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = config->name;
  DisableCmuFcFceRefCntLfrefHfref (_1);
  return;

}


DisableCmuFcFceRefCntLfrefHfref (Clock_Ip_NameType name)
{
  uint32 FrequencyCheckStatus;
  uint32 TimeoutTicks;
  uint32 ElapsedTime;
  uint32 StartTime;
  boolean TimeoutOccurred;
  uint32 instance;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _1 = (int) name;
  _2 = clockFeatures[_1][6];
  instance = (uint32) _2;
  # DEBUG BEGIN_STMT
  TimeoutOccurred = 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _3 = 1076740096B;
  _4 = _3->PRTN1_COFB1_STAT;
  _5 = _4 & 32768;
  if (_5 == 0)
    goto <bb 3>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _6 = 1076740096B;
  _7 = _6->PRTN1_COFB1_CLKEN;
  _8 = 1076740096B;
  _9 = _7 | 32768;
  _8->PRTN1_COFB1_CLKEN = _9;
  # DEBUG BEGIN_STMT
  _10 = 1076740096B;
  _11 = _10->PRTN1_PCONF;
  _12 = 1076740096B;
  _13 = _11 | 1;
  _12->PRTN1_PCONF = _13;
  # DEBUG BEGIN_STMT
  _14 = 1076740096B;
  _15 = _14->PRTN1_PUPD;
  _16 = 1076740096B;
  _17 = _15 | 1;
  _16->PRTN1_PUPD = _17;
  # DEBUG BEGIN_STMT
  McMeEnterKey ();
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 4> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  TimeoutTicks.2_18 = TimeoutTicks;
  TimeoutOccurred = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.2_18);
  # DEBUG BEGIN_STMT
  _19 = 1076740096B;
  _20 = _19->PRTN1_COFB1_STAT;
  _21 = _20 & 32768;
  if (_21 == 0)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  _22 = ~TimeoutOccurred;
  if (_22 != 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 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  ReportClockErrors (1, 145);

  <bb 8> :
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcu_MCU_EXCLUSIVE_AREA_01 ();
  # DEBUG BEGIN_STMT
  _23 = cmu[instance];
  _24 = _23->GCR;
  _25 = _24 & 1;
  if (_25 == 1)
    goto <bb 9>; [INV]
  else
    goto <bb 15>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  ClockStartTimeout (&StartTime, &ElapsedTime, &TimeoutTicks, 10000);

  <bb 10> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _26 = cmu[instance];
  _27 = _26->SR;
  FrequencyCheckStatus = _27 & 16;
  # DEBUG BEGIN_STMT
  TimeoutTicks.3_28 = TimeoutTicks;
  TimeoutOccurred = ClockTimeoutExpired (&StartTime, &ElapsedTime, TimeoutTicks.3_28);
  # DEBUG BEGIN_STMT
  if (FrequencyCheckStatus == 0)
    goto <bb 11>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 11> :
  _29 = ~TimeoutOccurred;
  if (_29 != 0)
    goto <bb 10>; [INV]
  else
    goto <bb 12>; [INV]

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

  <bb 13> :
  # DEBUG BEGIN_STMT
  ReportClockErrors (1, name);
  goto <bb 15>; [INV]

  <bb 14> :
  # DEBUG BEGIN_STMT
  _30 = cmu[instance];
  _31 = _30->GCR;
  _32 = cmu[instance];
  _33 = _31 & 4294967294;
  _32->GCR = _33;

  <bb 15> :
  # DEBUG BEGIN_STMT
  _34 = cmu[instance];
  _35 = _34->IER;
  _36 = cmu[instance];
  _37 = _35 & 4294967280;
  _36->IER = _37;
  # DEBUG BEGIN_STMT
  _38 = cmu[instance];
  _38->RCCR = 0;
  # DEBUG BEGIN_STMT
  _39 = cmu[instance];
  _39->HTCR = 16777215;
  # DEBUG BEGIN_STMT
  _40 = cmu[instance];
  _40->LTCR = 0;
  # DEBUG BEGIN_STMT
  _41 = cmu[instance];
  _42 = _41->SR;
  _43 = cmu[instance];
  _44 = _42 | 19;
  _43->SR = _44;
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcu_MCU_EXCLUSIVE_AREA_01 ();
  StartTime = {CLOBBER};
  ElapsedTime = {CLOBBER};
  TimeoutTicks = {CLOBBER};
  return;

}


ClockMonitorEmpty_GetStatus (Clock_Ip_NameType name)
{
  Clock_Ip_CmuStatusType D.5202;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  D.5202 = 3;
  return D.5202;

}


ClockMonitorEmpty_ClearStatus (Clock_Ip_NameType name)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  return;

}


ClockMonitorEmpty_Disable (Clock_Ip_NameType name)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  return;

}


ClockMonitorEmpty (const struct Clock_Ip_CmuConfigType * config)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  return;

}


