IPA function summary for OsIf_Timer_System_MicrosToTicks/11 inlinable
  global time:     10.900004
  self size:       25
  global size:     25
  min size:       0
  self stack:      0
  global stack:    0
    size:22.000000, time:9.900004
    size:3.000000, time:1.000000,  executed if:(not inlined)
  calls:

IPA function summary for OsIf_Timer_System_SetTimerFrequency/10 inlinable
  global time:     8.799998
  self size:       18
  global size:     18
  min size:       0
  self stack:      0
  global stack:    0
    size:15.000000, time:7.449997
    size:3.000000, time:1.350001,  executed if:(not inlined)
  calls:

IPA function summary for OsIf_Timer_System_GetElapsed/9 inlinable
  global time:     11.906155
  self size:       20
  global size:     20
  min size:       6
  self stack:      0
  global stack:    0
    size:14.000000, time:7.430598
    size:3.000000, time:1.267351,  executed if:(not inlined)
  calls:
    OsIf_Timer_System_Internal_GetElapsed/3 function not considered for inlining
      loop depth: 0 freq:0.27 size: 3 time: 12callee size: 6 stack: 0

IPA function summary for OsIf_Timer_System_GetCounter/8 inlinable
  global time:     9.149999
  self size:       19
  global size:     19
  min size:       0
  self stack:      0
  global stack:    0
    size:16.000000, time:7.799998
    size:3.000000, time:1.350001,  executed if:(not inlined)
  calls:

IPA function summary for OsIf_Timer_System_Init/7 inlinable
  global time:     17.138800
  self size:       15
  global size:     15
  min size:       2
  self stack:      0
  global stack:    0
    size:11.000000, time:7.930600
    size:3.000000, time:1.534700,  executed if:(not inlined)
  calls:
    OsIf_Timer_System_Internal_Init/1 function not considered for inlining
      loop depth: 0 freq:0.77 size: 1 time: 10callee size: 3 stack: 0

IPA function summary for OsIf_Timer_System_Internal_GetElapsed/3 inlinable
  global time:     10.000000
  self size:       13
  global size:     13
  min size:       0
  self stack:      0
  global stack:    0
    size:8.500000, time:6.500000
    size:3.500000, time:2.500000,  executed if:(not inlined)
    size:0.500000, time:0.500000,  executed if:(not inlined),  nonconst if:(op0[ref offset: 0] changed) && (not inlined)
    size:0.500000, time:0.500000,  nonconst if:(op0[ref offset: 0] changed)
  calls:

IPA function summary for OsIf_Timer_System_Internal_Init/1 inlinable
  global time:     6.000000
  self size:       7
  global size:     7
  min size:       0
  self stack:      0
  global stack:    0
    size:4.000000, time:4.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
  calls:


Flattening functions:
Overall time estimate: 73.894957 weighted by profile: 0.000000

Deciding on inlining of small functions.  Starting with size 0.
Enqueueing calls in OsIf_Timer_System_MicrosToTicks/11.
Enqueueing calls in OsIf_Timer_System_SetTimerFrequency/10.
Enqueueing calls in OsIf_Timer_System_GetElapsed/9.
Enqueueing calls in OsIf_Timer_System_GetCounter/8.
Enqueueing calls in OsIf_Timer_System_Init/7.
Enqueueing calls in OsIf_Timer_System_Internal_GetElapsed/3.
Enqueueing calls in OsIf_Timer_System_Internal_Init/1.

Considering OsIf_Timer_System_Internal_Init/1 with 7 size
 to be inlined into OsIf_Timer_System_Init/7 in ../RTD/src/OsIf_Timer_System.c:284
 Estimated badness is -5.456711, frequency 0.77.

Considering OsIf_Timer_System_Internal_GetElapsed/3 with 13 size
 to be inlined into OsIf_Timer_System_GetElapsed/9 in ../RTD/src/OsIf_Timer_System.c:370
 Estimated badness is -0.822617, frequency 0.27.

Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:

Deciding on functions to be inlined into all callers and removing useless speculations:
Overall time estimate: 51.954103 weighted by profile: 0.000000

Why inlining failed?
IPA function summary for OsIf_Timer_System_MicrosToTicks/11 inlinable
  global time:     10.900004
  self size:       25
  global size:     25
  min size:       0
  self stack:      0
  global stack:    0
    size:22.000000, time:9.900004
    size:3.000000, time:1.000000,  executed if:(not inlined)
  calls:

IPA function summary for OsIf_Timer_System_SetTimerFrequency/10 inlinable
  global time:     8.799998
  self size:       18
  global size:     18
  min size:       0
  self stack:      0
  global stack:    0
    size:15.000000, time:7.449997
    size:3.000000, time:1.350001,  executed if:(not inlined)
  calls:

IPA function summary for OsIf_Timer_System_GetElapsed/9 inlinable
  global time:     10.569402
  self size:       20
  global size:     26
  min size:       6
  self stack:      0
  global stack:    0
    size:22.500000, time:9.168376
    size:3.000000, time:1.267351,  executed if:(not inlined)
    size:0.500000, time:0.133675,  nonconst if:(op0[ref offset: 0] changed)
  calls:
    OsIf_Timer_System_Internal_GetElapsed/3 inlined
      loop depth: 0 freq:0.27 size: 3 time: 12callee size: 6 stack: 0
      Stack frame offset 0, callee self size 0, callee size 0

IPA function summary for OsIf_Timer_System_GetCounter/8 inlinable
  global time:     9.149999
  self size:       19
  global size:     19
  min size:       0
  self stack:      0
  global stack:    0
    size:16.000000, time:7.799998
    size:3.000000, time:1.350001,  executed if:(not inlined)
  calls:

IPA function summary for OsIf_Timer_System_Init/7 inlinable
  global time:     12.534700
  self size:       15
  global size:     18
  min size:       2
  self stack:      0
  global stack:    0
    size:15.000000, time:11.000000
    size:3.000000, time:1.534700,  executed if:(not inlined)
  calls:
    OsIf_Timer_System_Internal_Init/1 inlined
      loop depth: 0 freq:0.77 size: 1 time: 10callee size: 3 stack: 0
      Stack frame offset 0, callee self size 0, callee size 0

Symbol table:

OsIf_apxPredefinedConfig/12 (OsIf_apxPredefinedConfig) @06ac33f0
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: OsIf_Timer_System_Init/7 (read)
  Availability: not_available
  Varpool flags: read-only
OsIf_Timer_System_MicrosToTicks/11 (OsIf_Timer_System_MicrosToTicks) @06ac1460
  Type: function definition analyzed
  Visibility: externally_visible public
  References: OsIf_abMdlInit/4 (read)OsIf_apxInternalCfg/5 (read)OsIf_au32InternalFrequencies/6 (read)
  Referring: 
  Availability: available
  Function flags: count:429496 (estimated locally) body optimize_size
  Called by: 
  Calls: 
OsIf_Timer_System_SetTimerFrequency/10 (OsIf_Timer_System_SetTimerFrequency) @06ac11c0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: OsIf_abMdlInit/4 (read)OsIf_apxInternalCfg/5 (read)OsIf_au32InternalFrequencies/6 (write)
  Referring: 
  Availability: available
  Function flags: count:429496 (estimated locally) body optimize_size
  Called by: 
  Calls: 
OsIf_Timer_System_GetElapsed/9 (OsIf_Timer_System_GetElapsed) @06abee00
  Type: function definition analyzed
  Visibility: externally_visible public
  References: OsIf_abMdlInit/4 (read)OsIf_apxInternalCfg/5 (read)
  Referring: 
  Availability: available
  Function flags: count:429496 (estimated locally) body optimize_size
  Called by: 
  Calls: OsIf_Timer_System_Internal_GetElapsed/3 (inlined) (114826 (estimated locally),0.27 per call) 
OsIf_Timer_System_GetCounter/8 (OsIf_Timer_System_GetCounter) @06abe9a0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: OsIf_abMdlInit/4 (read)OsIf_apxInternalCfg/5 (read)
  Referring: 
  Availability: available
  Function flags: count:429496 (estimated locally) body optimize_size
  Called by: 
  Calls: 
OsIf_Timer_System_Init/7 (OsIf_Timer_System_Init) @06abed20
  Type: function definition analyzed
  Visibility: externally_visible public
  References: OsIf_apxPredefinedConfig/12 (read)OsIf_abMdlInit/4 (write)OsIf_apxInternalCfg/5 (write)OsIf_au32InternalFrequencies/6 (write)
  Referring: 
  Availability: available
  Function flags: count:461526 (estimated locally) body optimize_size
  Called by: 
  Calls: OsIf_Timer_System_Internal_Init/1 (inlined) (354152 (estimated locally),0.77 per call) 
OsIf_au32InternalFrequencies/6 (OsIf_au32InternalFrequencies) @06a5fab0
  Type: variable definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: OsIf_Timer_System_Init/7 (write)OsIf_Timer_System_SetTimerFrequency/10 (write)OsIf_Timer_System_MicrosToTicks/11 (read)
  Availability: available
  Varpool flags:
OsIf_apxInternalCfg/5 (OsIf_apxInternalCfg) @06a5fa20
  Type: variable definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: OsIf_Timer_System_GetCounter/8 (read)OsIf_Timer_System_GetElapsed/9 (read)OsIf_Timer_System_SetTimerFrequency/10 (read)OsIf_Timer_System_Init/7 (write)OsIf_Timer_System_MicrosToTicks/11 (read)
  Availability: available
  Varpool flags:
OsIf_abMdlInit/4 (OsIf_abMdlInit) @06a5f990
  Type: variable definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: OsIf_Timer_System_GetElapsed/9 (read)OsIf_Timer_System_SetTimerFrequency/10 (read)OsIf_Timer_System_Init/7 (write)OsIf_Timer_System_GetCounter/8 (read)OsIf_Timer_System_MicrosToTicks/11 (read)
  Availability: available
  Varpool flags:
OsIf_Timer_System_Internal_GetElapsed/3 (OsIf_Timer_System_Internal_GetElapsed) @06a61ee0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Function OsIf_Timer_System_Internal_GetElapsed/3 is inline copy in OsIf_Timer_System_GetElapsed/9
  Availability: local
  Function flags: count:114826 (estimated locally) body local optimize_size
  Called by: OsIf_Timer_System_GetElapsed/9 (inlined) (114826 (estimated locally),0.27 per call) 
  Calls: 
OsIf_Timer_System_Internal_Init/1 (OsIf_Timer_System_Internal_Init) @06a619a0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Function OsIf_Timer_System_Internal_Init/1 is inline copy in OsIf_Timer_System_Init/7
  Availability: local
  Function flags: count:354152 (estimated locally) body local optimize_size
  Called by: OsIf_Timer_System_Init/7 (inlined) (354152 (estimated locally),0.77 per call) 
  Calls: 

;; Function OsIf_Timer_System_Init (OsIf_Timer_System_Init, funcdef_no=4, decl_uid=4080, cgraph_uid=5, symbol_order=7)


Symbols to be put in SSA form
{ D.4361 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 10
Number of blocks to update: 9 ( 90%)


Merging blocks 4 and 7
Merging blocks 5 and 9
Removing basic block 6
Merging blocks 5 and 8
;; 2 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1 2 3 4 5
;;
;; Loop 1
;;  header 4, latch 4
;;  depth 1, outer 0
;;  nodes: 4
;; 2 succs { 3 5 }
;; 3 succs { 5 4 }
;; 4 succs { 4 }
;; 5 succs { 1 }
OsIf_Timer_System_Init ()
{
  volatile boolean x;
  const struct OsIf_ConfigType * _1;
  long unsigned int _2;
  _Bool x.0_9;

  <bb 2> [local count: 461526]:
  # DEBUG BEGIN_STMT
  # DEBUG CoreId => 0
  # DEBUG BEGIN_STMT
  _1 = OsIf_apxPredefinedConfig[0];
  if (_1 == 0B)
    goto <bb 3>; [46.53%]
  else
    goto <bb 5>; [53.47%]

  <bb 3> [local count: 214748]:
  # DEBUG BEGIN_STMT
  x ={v} 0;
  # DEBUG x => x
  # DEBUG INLINE_ENTRY DevAssert
  # DEBUG BEGIN_STMT
  x.0_9 ={v} x;
  if (x.0_9 != 0)
    goto <bb 5>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 4> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  goto <bb 4>; [100.00%]

  <bb 5> [local count: 354152]:
  # DEBUG x => NULL
  # DEBUG BEGIN_STMT
  OsIf_abMdlInit[0] = 1;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  OsIf_apxInternalCfg[0] = _1;
  # DEBUG BEGIN_STMT
  _2 = _1->counterFrequency;
  OsIf_au32InternalFrequencies[0] = _2;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG INLINE_ENTRY OsIf_Timer_System_Internal_Init
  # DEBUG BEGIN_STMT
  MEM[(struct S32_SysTick_Type *)3758153744B].CSRr ={v} 0;
  # DEBUG BEGIN_STMT
  MEM[(struct S32_SysTick_Type *)3758153744B].RVR ={v} 16777215;
  # DEBUG BEGIN_STMT
  MEM[(struct S32_SysTick_Type *)3758153744B].CVR ={v} 0;
  # DEBUG BEGIN_STMT
  MEM[(struct S32_SysTick_Type *)3758153744B].CSRr ={v} 5;
  return;

}



;; Function OsIf_Timer_System_GetCounter (OsIf_Timer_System_GetCounter, funcdef_no=5, decl_uid=4082, cgraph_uid=6, symbol_order=8)

OsIf_Timer_System_GetCounter ()
{
  volatile boolean x;
  volatile boolean x;
  uint32 Counter;
  _Bool _1;
  const struct OsIf_ConfigType * _2;
  _Bool x.0_6;
  _Bool x.0_7;
  long unsigned int _8;
  long unsigned int _9;

  <bb 2> [local count: 429496]:
  # DEBUG BEGIN_STMT
  # DEBUG Counter => 0
  # DEBUG BEGIN_STMT
  # DEBUG CoreId => 0
  # DEBUG BEGIN_STMT
  _1 = OsIf_abMdlInit[0];
  if (_1 != 0)
    goto <bb 5>; [50.00%]
  else
    goto <bb 3>; [50.00%]

  <bb 3> [local count: 214748]:
  # DEBUG BEGIN_STMT
  x ={v} 0;
  # DEBUG x => x
  # DEBUG INLINE_ENTRY DevAssert
  # DEBUG BEGIN_STMT
  x.0_6 ={v} x;
  if (x.0_6 != 0)
    goto <bb 9>; [50.00%]
  else
    goto <bb 10>; [50.00%]

  <bb 10> [local count: 107374]:

  <bb 4> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT

  <bb 12> [local count: 1073741824]:
  goto <bb 4>; [100.00%]

  <bb 5> [local count: 214748]:
  # DEBUG BEGIN_STMT
  _2 = OsIf_apxInternalCfg[0];
  if (_2 == 0B)
    goto <bb 6>; [30.00%]
  else
    goto <bb 8>; [70.00%]

  <bb 6> [local count: 64424]:
  # DEBUG BEGIN_STMT
  x ={v} 0;
  # DEBUG x => x
  # DEBUG INLINE_ENTRY DevAssert
  # DEBUG BEGIN_STMT
  x.0_7 ={v} x;
  if (x.0_7 != 0)
    goto <bb 9>; [50.00%]
  else
    goto <bb 11>; [50.00%]

  <bb 11> [local count: 32212]:

  <bb 7> [local count: 322122547]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT

  <bb 13> [local count: 322122547]:
  goto <bb 7>; [100.00%]

  <bb 8> [local count: 150324]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG INLINE_ENTRY OsIf_Timer_System_Internal_GetCounter
  # DEBUG BEGIN_STMT
  _8 ={v} MEM[(struct S32_SysTick_Type *)3758153744B].CVR;
  _9 = _8 & 16777215;
  # DEBUG Counter => _9

  <bb 9> [local count: 289910]:
  # Counter_3 = PHI <0(3), 0(6), _9(8)>
  # DEBUG x => NULL
  # DEBUG x => NULL
  # DEBUG Counter => Counter_3
  # DEBUG BEGIN_STMT
  return Counter_3;

}



;; Function OsIf_Timer_System_GetElapsed (OsIf_Timer_System_GetElapsed, funcdef_no=6, decl_uid=4084, cgraph_uid=7, symbol_order=9)


Symbols to be put in SSA form
{ D.4363 D.4393 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 19
Number of blocks to update: 18 ( 95%)


Merging blocks 4 and 12
Merging blocks 7 and 13
Removing basic block 8
Removing basic block 10
Removing basic block 11
Merging blocks 18 and 14
;; 3 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1 2 3 4 5 6 7 8 9 10 11 12
;;
;; Loop 1
;;  header 4, latch 4
;;  depth 1, outer 0
;;  nodes: 4
;;
;; Loop 2
;;  header 7, latch 7
;;  depth 1, outer 0
;;  nodes: 7
;; 2 succs { 3 5 }
;; 3 succs { 12 4 }
;; 4 succs { 4 }
;; 5 succs { 6 8 }
;; 6 succs { 12 7 }
;; 7 succs { 7 }
;; 8 succs { 9 10 }
;; 9 succs { 11 }
;; 10 succs { 11 }
;; 11 succs { 12 }
;; 12 succs { 1 }
OsIf_Timer_System_GetElapsed (uint32 * const CurrentRef)
{
  uint32 CurrentVal;
  uint32 dif;
  uint32 D.4393;
  volatile boolean x;
  volatile boolean x;
  uint32 Elapsed;
  _Bool _1;
  const struct OsIf_ConfigType * _2;
  _Bool x.0_9;
  _Bool x.0_10;
  long unsigned int _13;
  long unsigned int _15;
  long unsigned int _16;
  long unsigned int _17;

  <bb 2> [local count: 429496]:
  # DEBUG BEGIN_STMT
  # DEBUG Elapsed => 0
  # DEBUG BEGIN_STMT
  # DEBUG CoreId => 0
  # DEBUG BEGIN_STMT
  _1 = OsIf_abMdlInit[0];
  if (_1 != 0)
    goto <bb 5>; [50.00%]
  else
    goto <bb 3>; [50.00%]

  <bb 3> [local count: 214748]:
  # DEBUG BEGIN_STMT
  x ={v} 0;
  # DEBUG x => x
  # DEBUG INLINE_ENTRY DevAssert
  # DEBUG BEGIN_STMT
  x.0_9 ={v} x;
  if (x.0_9 != 0)
    goto <bb 12>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 4> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  goto <bb 4>; [100.00%]

  <bb 5> [local count: 214748]:
  # DEBUG BEGIN_STMT
  _2 = OsIf_apxInternalCfg[0];
  if (_2 == 0B)
    goto <bb 6>; [46.53%]
  else
    goto <bb 8>; [53.47%]

  <bb 6> [local count: 99922]:
  # DEBUG BEGIN_STMT
  x ={v} 0;
  # DEBUG x => x
  # DEBUG INLINE_ENTRY DevAssert
  # DEBUG BEGIN_STMT
  x.0_10 ={v} x;
  if (x.0_10 != 0)
    goto <bb 12>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 7> [local count: 499612071]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  goto <bb 7>; [100.00%]

  <bb 8> [local count: 114826]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG CurrentRef => CurrentRef_6(D)
  # DEBUG INLINE_ENTRY OsIf_Timer_System_Internal_GetElapsed
  # DEBUG BEGIN_STMT
  _13 ={v} MEM[(struct S32_SysTick_Type *)3758153744B].CVR;
  CurrentVal_14 = _13 & 16777215;
  # DEBUG CurrentVal => CurrentVal_14
  # DEBUG BEGIN_STMT
  # DEBUG dif => 0
  # DEBUG BEGIN_STMT
  _15 = *CurrentRef_6(D);
  if (CurrentVal_14 > _15)
    goto <bb 9>; [50.00%]
  else
    goto <bb 10>; [50.00%]

  <bb 9> [local count: 57413]:
  # DEBUG BEGIN_STMT
  _16 ={v} MEM[(struct S32_SysTick_Type *)3758153744B].RVR;
  _17 = _15 - CurrentVal_14;
  dif_18 = _16 + _17;
  # DEBUG dif => dif_18
  goto <bb 11>; [100.00%]

  <bb 10> [local count: 57413]:
  # DEBUG BEGIN_STMT
  dif_19 = _15 - CurrentVal_14;
  # DEBUG dif => dif_19

  <bb 11> [local count: 114826]:
  # dif_20 = PHI <dif_18(9), dif_19(10)>
  # DEBUG dif => dif_20
  # DEBUG BEGIN_STMT
  *CurrentRef_6(D) = CurrentVal_14;
  # DEBUG BEGIN_STMT
  _22 = dif_20;
  # DEBUG CurrentRef => NULL
  # DEBUG dif => NULL
  # DEBUG CurrentVal => NULL
  Elapsed_8 = _22;
  # DEBUG Elapsed => Elapsed_8

  <bb 12> [local count: 272161]:
  # Elapsed_3 = PHI <0(3), 0(6), Elapsed_8(11)>
  # DEBUG x => NULL
  # DEBUG x => NULL
  # DEBUG Elapsed => Elapsed_3
  # DEBUG BEGIN_STMT
  return Elapsed_3;

}



;; Function OsIf_Timer_System_SetTimerFrequency (OsIf_Timer_System_SetTimerFrequency, funcdef_no=7, decl_uid=4086, cgraph_uid=8, symbol_order=10)

OsIf_Timer_System_SetTimerFrequency (uint32 Freq)
{
  volatile boolean x;
  volatile boolean x;
  _Bool _1;
  const struct OsIf_ConfigType * _2;
  _Bool x.0_7;
  _Bool x.0_8;

  <bb 2> [local count: 429496]:
  # DEBUG BEGIN_STMT
  # DEBUG CoreId => 0
  # DEBUG BEGIN_STMT
  _1 = OsIf_abMdlInit[0];
  if (_1 != 0)
    goto <bb 5>; [50.00%]
  else
    goto <bb 3>; [50.00%]

  <bb 3> [local count: 214748]:
  # DEBUG BEGIN_STMT
  x ={v} 0;
  # DEBUG x => x
  # DEBUG INLINE_ENTRY DevAssert
  # DEBUG BEGIN_STMT
  x.0_7 ={v} x;
  if (x.0_7 != 0)
    goto <bb 9>; [50.00%]
  else
    goto <bb 10>; [50.00%]

  <bb 10> [local count: 107374]:

  <bb 4> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT

  <bb 12> [local count: 1073741824]:
  goto <bb 4>; [100.00%]

  <bb 5> [local count: 214748]:
  # DEBUG BEGIN_STMT
  _2 = OsIf_apxInternalCfg[0];
  if (_2 == 0B)
    goto <bb 6>; [30.00%]
  else
    goto <bb 8>; [70.00%]

  <bb 6> [local count: 64424]:
  # DEBUG BEGIN_STMT
  x ={v} 0;
  # DEBUG x => x
  # DEBUG INLINE_ENTRY DevAssert
  # DEBUG BEGIN_STMT
  x.0_8 ={v} x;
  if (x.0_8 != 0)
    goto <bb 9>; [50.00%]
  else
    goto <bb 11>; [50.00%]

  <bb 11> [local count: 32212]:

  <bb 7> [local count: 322122547]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT

  <bb 13> [local count: 322122547]:
  goto <bb 7>; [100.00%]

  <bb 8> [local count: 150324]:
  # DEBUG BEGIN_STMT
  OsIf_au32InternalFrequencies[0] = Freq_5(D);

  <bb 9> [local count: 289910]:
  # DEBUG x => NULL
  # DEBUG x => NULL
  return;

}



;; Function OsIf_Timer_System_MicrosToTicks (OsIf_Timer_System_MicrosToTicks, funcdef_no=8, decl_uid=4088, cgraph_uid=9, symbol_order=11)

OsIf_Timer_System_MicrosToTicks (uint32 Micros)
{
  volatile boolean x;
  volatile boolean x;
  volatile boolean x;
  uint32 ticks;
  uint64 interim;
  _Bool _1;
  const struct OsIf_ConfigType * _2;
  long long unsigned int _3;
  long unsigned int _4;
  long long unsigned int _5;
  _Bool _6;
  _Bool x.0_14;
  _Bool x.0_15;
  _Bool x.0_16;

  <bb 2> [local count: 429496]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ticks => 0
  # DEBUG BEGIN_STMT
  # DEBUG CoreId => 0
  # DEBUG BEGIN_STMT
  _1 = OsIf_abMdlInit[0];
  if (_1 != 0)
    goto <bb 5>; [50.00%]
  else
    goto <bb 3>; [50.00%]

  <bb 3> [local count: 214748]:
  # DEBUG BEGIN_STMT
  x ={v} 0;
  # DEBUG x => x
  # DEBUG INLINE_ENTRY DevAssert
  # DEBUG BEGIN_STMT
  x.0_14 ={v} x;
  if (x.0_14 != 0)
    goto <bb 11>; [50.00%]
  else
    goto <bb 12>; [50.00%]

  <bb 12> [local count: 107374]:

  <bb 4> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT

  <bb 15> [local count: 1073741824]:
  goto <bb 4>; [100.00%]

  <bb 5> [local count: 214748]:
  # DEBUG BEGIN_STMT
  _2 = OsIf_apxInternalCfg[0];
  if (_2 == 0B)
    goto <bb 6>; [30.00%]
  else
    goto <bb 8>; [70.00%]

  <bb 6> [local count: 64424]:
  # DEBUG BEGIN_STMT
  x ={v} 0;
  # DEBUG x => x
  # DEBUG INLINE_ENTRY DevAssert
  # DEBUG BEGIN_STMT
  x.0_15 ={v} x;
  if (x.0_15 != 0)
    goto <bb 11>; [50.00%]
  else
    goto <bb 13>; [50.00%]

  <bb 13> [local count: 32212]:

  <bb 7> [local count: 322122547]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT

  <bb 16> [local count: 322122547]:
  goto <bb 7>; [100.00%]

  <bb 8> [local count: 150324]:
  # DEBUG BEGIN_STMT
  _3 = (long long unsigned int) Micros_10(D);
  _4 = OsIf_au32InternalFrequencies[0];
  _5 = (long long unsigned int) _4;
  interim_11 = _3 * _5;
  # DEBUG interim => interim_11
  # DEBUG BEGIN_STMT
  interim_12 = interim_11 / 1000000;
  # DEBUG interim => interim_12
  # DEBUG BEGIN_STMT
  _6 = interim_11 <= 4294967295999999;
  x ={v} _6;
  # DEBUG x => x
  # DEBUG INLINE_ENTRY DevAssert
  # DEBUG BEGIN_STMT
  x.0_16 ={v} x;
  if (x.0_16 != 0)
    goto <bb 10>; [50.00%]
  else
    goto <bb 14>; [50.00%]

  <bb 14> [local count: 75162]:

  <bb 9> [local count: 751619278]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT

  <bb 17> [local count: 751619279]:
  goto <bb 9>; [100.00%]

  <bb 10> [local count: 75162]:
  # DEBUG BEGIN_STMT
  # DEBUG x => NULL
  # DEBUG BEGIN_STMT
  ticks_13 = (uint32) interim_12;
  # DEBUG ticks => ticks_13

  <bb 11> [local count: 214748]:
  # ticks_7 = PHI <0(3), 0(6), ticks_13(10)>
  # DEBUG x => NULL
  # DEBUG x => NULL
  # DEBUG ticks => ticks_7
  # DEBUG BEGIN_STMT
  return ticks_7;

}


