

 local analysis of pfe_hif_set_master_up
   scanning: _1 = hif_11(D)->configured_channels_mask;
    Indirect ref read is not const
  scanning: _2 = (long unsigned int) _1;
  scanning: _3 = _2 >> ii_7;
  scanning: _4 = _3 & 1;
  scanning: if (_4 != 0)
  scanning: _5 = hif_11(D)->cbus_base_va;
    Indirect ref read is not const
  scanning: pfe_hif_chnl_cfg_ltc_set (_5, ii_7, 3);
  scanning: _6 = hif_11(D)->cbus_base_va;
    Indirect ref read is not const
  scanning: pfe_hif_chnl_cfg_ltc_set (_6, ii_7, 1);
  scanning: ii_14 = ii_7 + 1;
  scanning: if (ii_7 != 4)
  scanning: return;
;; 2 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1 2 3 4 5 6 7 8
;;
;; Loop 1
;;  header 7, latch 6
;;  depth 1, outer 0
;;  nodes: 7 6 4 5 3
;; 2 succs { 7 }
;; 3 succs { 4 5 }
;; 4 succs { 6 }
;; 5 succs { 6 }
;; 6 succs { 7 }
;; 7 succs { 3 8 }
;; 8 succs { 1 }
Function is locally pure.


 local analysis of pfe_hif_clear_master_up
   scanning: _1 = hif_5(D)->cbus_base_va;
    Indirect ref read is not const
  scanning: pfe_hif_chnl_cfg_ltc_set (_1, ii_2, 0);
  scanning: ii_7 = ii_2 + 1;
  scanning: if (ii_2 != 4)
  scanning: return;
;; 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 3
;;  depth 1, outer 0
;;  nodes: 4 3
;; 2 succs { 4 }
;; 3 succs { 4 }
;; 4 succs { 3 5 }
;; 5 succs { 1 }
Function is locally pure.


 local analysis of pfe_hif_destroy
   scanning: if (hif_15(D) != 0B)
  scanning: pfe_hif_clear_master_up (hif_15(D));
  scanning: _1 = hif_15(D)->configured_channels_mask;
    Indirect ref read is not const
  scanning: _2 = (long unsigned int) _1;
  scanning: _3 = _2 & channels_mask_11;
  scanning: if (_3 != 0)
  scanning: _4 = &hif_15(D)->channels[ii_10];
  scanning: pfe_hif_chnl_rx_disable (_4);
  scanning: pfe_hif_chnl_tx_disable (_4);
  scanning: pfe_hif_chnl_destroy (_4);
  scanning: _5 = hif_15(D)->configured_channels_mask;
    Indirect ref read is not const
  scanning: _6 = (unsigned char) channels_mask_11;
  scanning: _7 = ~_6;
  scanning: _8 = _5 & _7;
  scanning: hif_15(D)->configured_channels_mask = _8;
    Indirect ref write is not const/pure
  scanning: channels_mask_23 = channels_mask_11 << 1;
  scanning: ii_24 = ii_10 + 1;
  scanning: if (ii_10 != 4)
  scanning: _9 = hif_15(D)->cbus_base_va;
    Indirect ref read is not const
  scanning: pfe_hif_cfg_fini (_9);
  scanning: return;


 local analysis of pfe_hif_get_channel
   scanning: _1 = hif_10(D)->configured_channels_mask;
    Indirect ref read is not const
  scanning: _2 = _1 & channel_id_11(D);
  scanning: if (_2 != 0)
  scanning: _3 = (long unsigned int) channel_id_11(D);
  scanning: _4 = 1 << ii_6;
  scanning: _5 = _3 & _4;
  scanning: if (_5 != 0)
  scanning: entry_13 = &hif_10(D)->channels[ii_8];
  scanning: ii_12 = ii_6 + 1;
  scanning: if (ii_6 != 4)
  scanning: return entry_7;
;; 2 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1 2 8 3 4 5 6 7
;;
;; Loop 1
;;  header 6, latch 5
;;  depth 1, outer 0
;;  nodes: 6 5 3
;; 2 succs { 8 7 }
;; 8 succs { 6 }
;; 3 succs { 4 5 }
;; 4 succs { 7 }
;; 5 succs { 6 }
;; 6 succs { 3 7 }
;; 7 succs { 1 }
Function is locally pure.


 local analysis of pfe_hif_create
   scanning: _1 = (long unsigned int) channels_mask_5(D);
  scanning: _2 = _1 & 4294967280;
  scanning: if (_2 != 0)
  scanning: memset (&hif_instance, 0, 896);
  scanning: hif_instance.cbus_base_va = cbus_base_va_8(D);
  scanning: ret_11 = pfe_hif_cfg_init (cbus_base_va_8(D));
  scanning: if (ret_11 != 0)
  scanning: pfe_hif_destroy_chnl (&hif_instance, 0);
  scanning: ret_13 = pfe_hif_create_bind_chnl (&hif_instance, channels_mask_5(D));
  scanning: if (ret_13 != 0)
  scanning: return hif_3;
Function is locally const.


 local analysis of pfe_hif_create_bind_chnl
   scanning: _1 = (long unsigned int) channels_mask_20(D);
  scanning: _2 = 1 << ii_15;
  scanning: _3 = _1 & _2;
  scanning: if (_3 != 0)
  scanning: _4 = &hif_21(D)->channels[ii_15];
  scanning: _5 = hif_21(D)->cbus_base_va;
    Indirect ref read is not const
  scanning: ii.0_6 = (long unsigned int) ii_15;
  scanning: ret_23 = pfe_hif_chnl_create (_4, _5, ii.0_6, 0B, 0);
  scanning: if (ret_23 != 0)
  scanning: pfe_hif_destroy_chnl (hif_21(D), ii_8);
  scanning: _7 = hif_21(D)->configured_channels_mask;
    Indirect ref read is not const
  scanning: _9 = (unsigned char) _2;
  scanning: _10 = _7 | _9;
  scanning: hif_21(D)->configured_channels_mask = _10;
    Indirect ref write is not const/pure
  scanning: pfe_hif_chnl_rx_disable (_4);
  scanning: pfe_hif_chnl_tx_disable (_4);
  scanning: ii_28 = ii_15 + 1;
  scanning: if (ii_15 != 4)
  scanning: return ret_14;


 local analysis of pfe_hif_destroy_chnl
   scanning: channels_mask_15 = 1 << count_14(D);
  scanning: _1 = hif_17(D)->configured_channels_mask;
    Indirect ref read is not const
  scanning: _2 = (long unsigned int) _1;
  scanning: _3 = _2 & channels_mask_11;
  scanning: if (_3 != 0)
  scanning: _4 = &hif_17(D)->channels[ii_10];
  scanning: pfe_hif_chnl_destroy (_4);
  scanning: _5 = hif_17(D)->configured_channels_mask;
    Indirect ref read is not const
  scanning: _6 = (unsigned char) channels_mask_11;
  scanning: _7 = ~_6;
  scanning: _8 = _5 & _7;
  scanning: hif_17(D)->configured_channels_mask = _8;
    Indirect ref write is not const/pure
  scanning: channels_mask_21 = channels_mask_11 >> 1;
  scanning: ii_22 = ii_10 + -1;
  scanning: if (ii_10 >= 0)
  scanning: _9 = hif_17(D)->cbus_base_va;
    Indirect ref read is not const
  scanning: pfe_hif_cfg_fini (_9);
  scanning: return;


 local analysis of pfe_hif_get_master_detect_cfg
   scanning: _1 = hif_4(D)->disable_master_detect;
    Indirect ref read is not const
  scanning: _2 = _1 == 0;
  scanning: _5 = (bool_t) _2;
  scanning: return _5;
Function is locally pure.


 local analysis of pfe_hif_set_master_detect_cfg
   scanning: _1 = on_3(D) == 0;
  scanning: _2 = (unsigned char) _1;
  scanning: hif_5(D)->disable_master_detect = _2;
    Indirect ref write is not const/pure
  scanning: return;


 local analysis of pfe_hif_irq_unmask
   scanning: _1 = hif_3(D)->cbus_base_va;
    Indirect ref read is not const
  scanning: pfe_hif_cfg_irq_unmask (_1);
  scanning: return;
Function is locally pure.


 local analysis of pfe_hif_irq_mask
   scanning: _1 = hif_3(D)->cbus_base_va;
    Indirect ref read is not const
  scanning: pfe_hif_cfg_irq_mask (_1);
  scanning: return;
Function is locally pure.


 local analysis of pfe_hif_isr
   scanning: _1 = hif_3(D)->cbus_base_va;
    Indirect ref read is not const
  scanning: ret_5 = pfe_hif_cfg_isr (_1);
  scanning: return ret_5;
Function is locally pure.
callgraph:

pfe_hif_destroy_chnl.constprop.0/46 (pfe_hif_destroy_chnl.constprop) @06dbdee0
  Type: function definition analyzed
  Visibility:
  Aux: @06e3e2c8
  References: hif_instance/21 (addr)
  Referring: 
  Clone of pfe_hif_destroy_chnl/27
  Availability: local
  Function flags: count:118111600 (estimated locally) local optimize_size
  Called by: pfe_hif_create/29 (170234250 (estimated locally),0.16 per call) pfe_hif_create_bind_chnl.constprop/45 (0 (precise),0.00 per call) 
  Calls: pfe_hif_chnl_destroy/39 (0 (precise),0.00 per call) pfe_hif_cfg_fini/40 (118111601 (estimated locally),1.00 per call) 
pfe_hif_create_bind_chnl.constprop.0/45 (pfe_hif_create_bind_chnl.constprop) @06b260e0
  Type: function definition analyzed
  Visibility:
  Aux: @06e3e0e8
  References: hif_instance/21 (addr)
  Referring: 
  Function pfe_hif_create_bind_chnl.constprop/45 is inline copy in pfe_hif_create/29
  Clone of pfe_hif_create_bind_chnl/28
  Availability: local
  Function flags: count:416780404 (estimated locally) local optimize_size
  Called by: pfe_hif_create/29 (inlined) (416780404 (estimated locally),0.39 per call) 
  Calls: pfe_hif_chnl_create/41 (0 (precise),0.00 per call) pfe_hif_destroy_chnl.constprop/46 (0 (precise),0.00 per call) pfe_hif_chnl_rx_disable/42 (0 (precise),0.00 per call) pfe_hif_chnl_tx_disable/43 (0 (precise),0.00 per call) 
pfe_hif_chnl_cfg_ltc_set/44 (pfe_hif_chnl_cfg_ltc_set) @075bbc40
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_set_master_up/33 (429496729 (estimated locally),2.00 per call) pfe_hif_set_master_up/33 (429496729 (estimated locally),2.00 per call) pfe_hif_clear_master_up/32 (858993459 (estimated locally),4.00 per call) 
  Calls: 
pfe_hif_chnl_tx_disable/43 (pfe_hif_chnl_tx_disable) @075bb8c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_create_bind_chnl.constprop/45 (0 (precise),0.00 per call) pfe_hif_destroy/31 (0 (precise),0.00 per call) 
  Calls: 
pfe_hif_chnl_rx_disable/42 (pfe_hif_chnl_rx_disable) @075bb7e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_create_bind_chnl.constprop/45 (0 (precise),0.00 per call) pfe_hif_destroy/31 (0 (precise),0.00 per call) 
  Calls: 
pfe_hif_chnl_create/41 (pfe_hif_chnl_create) @075bb700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_create_bind_chnl.constprop/45 (0 (precise),0.00 per call) 
  Calls: 
pfe_hif_cfg_fini/40 (pfe_hif_cfg_fini) @075bb540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_destroy_chnl.constprop/46 (118111601 (estimated locally),1.00 per call) pfe_hif_destroy/31 (214748365 (estimated locally),0.53 per call) 
  Calls: 
pfe_hif_chnl_destroy/39 (pfe_hif_chnl_destroy) @075bb460
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_destroy_chnl.constprop/46 (0 (precise),0.00 per call) pfe_hif_destroy/31 (0 (precise),0.00 per call) 
  Calls: 
pfe_hif_cfg_init/38 (pfe_hif_cfg_init) @075bb2a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_create/29 (587014655 (estimated locally),0.55 per call) 
  Calls: 
memset/37 (memset) @075bb1c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_create/29 (587014655 (estimated locally),0.55 per call) 
  Calls: 
pfe_hif_cfg_irq_unmask/36 (pfe_hif_cfg_irq_unmask) @07620540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_irq_unmask/24 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_hif_cfg_irq_mask/35 (pfe_hif_cfg_irq_mask) @07620000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_irq_mask/23 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_hif_cfg_isr/34 (pfe_hif_cfg_isr) @07620e00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_isr/22 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_hif_set_master_up/33 (pfe_hif_set_master_up) @076209a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e288
  References: 
  Referring: 
  Availability: available
  Function flags: count:214748364 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_chnl_cfg_ltc_set/44 (429496729 (estimated locally),2.00 per call) pfe_hif_chnl_cfg_ltc_set/44 (429496729 (estimated locally),2.00 per call) 
pfe_hif_clear_master_up/32 (pfe_hif_clear_master_up) @07620700
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e368
  References: 
  Referring: 
  Availability: available
  Function flags: count:214748364 (estimated locally) body optimize_size
  Called by: pfe_hif_destroy/31 (214748364 (estimated locally),0.53 per call) 
  Calls: pfe_hif_chnl_cfg_ltc_set/44 (858993459 (estimated locally),4.00 per call) 
pfe_hif_destroy/31 (pfe_hif_destroy) @07620460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e128
  References: 
  Referring: 
  Availability: available
  Function flags: count:401624021 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_fini/40 (214748365 (estimated locally),0.53 per call) pfe_hif_chnl_destroy/39 (0 (precise),0.00 per call) pfe_hif_chnl_tx_disable/43 (0 (precise),0.00 per call) pfe_hif_chnl_rx_disable/42 (0 (precise),0.00 per call) pfe_hif_clear_master_up/32 (214748364 (estimated locally),0.53 per call) 
pfe_hif_get_channel/30 (pfe_hif_get_channel) @076201c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e108
  References: 
  Referring: 
  Availability: available
  Function flags: count:369004231 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_create/29 (pfe_hif_create) @07619ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e3a8
  References: hif_instance/21 (addr)hif_instance/21 (write)hif_instance/21 (addr)hif_instance/21 (addr)hif_instance/21 (addr)
  Referring: 
  Availability: available
  Function flags: count:1073741823 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_create_bind_chnl.constprop/45 (inlined) (416780404 (estimated locally),0.39 per call) pfe_hif_destroy_chnl.constprop/46 (170234250 (estimated locally),0.16 per call) pfe_hif_cfg_init/38 (587014655 (estimated locally),0.55 per call) memset/37 (587014655 (estimated locally),0.55 per call) 
pfe_hif_create_bind_chnl/28 (pfe_hif_create_bind_chnl) @076199a0
  Type: function
  Body removed by symtab_remove_unreachable_nodes
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Availability: not_available
  Function flags: count:214748364 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_destroy_chnl/27 (pfe_hif_destroy_chnl) @07619460
  Type: function
  Body removed by symtab_remove_unreachable_nodes
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Availability: not_available
  Function flags: count:118111600 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_get_master_detect_cfg/26 (pfe_hif_get_master_detect_cfg) @07619e00
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e1c8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_set_master_detect_cfg/25 (pfe_hif_set_master_detect_cfg) @07619b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e208
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_irq_unmask/24 (pfe_hif_irq_unmask) @076198c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e268
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_irq_unmask/36 (1073741824 (estimated locally),1.00 per call) 
pfe_hif_irq_mask/23 (pfe_hif_irq_mask) @07619620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e088
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_irq_mask/35 (1073741824 (estimated locally),1.00 per call) 
pfe_hif_isr/22 (pfe_hif_isr) @07619380
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e228
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_isr/34 (1073741824 (estimated locally),1.00 per call) 


 ordered call graph: reduced for nothrow
pfe_hif_destroy_chnl.constprop.0/46 (pfe_hif_destroy_chnl.constprop) @06dbdee0
  Type: function definition analyzed
  Visibility:
  Aux: @06e3e2c8
  References: hif_instance/21 (addr)
  Referring: 
  Clone of pfe_hif_destroy_chnl/27
  Availability: local
  Function flags: count:118111600 (estimated locally) local optimize_size
  Called by: pfe_hif_create/29 (170234250 (estimated locally),0.16 per call) pfe_hif_create_bind_chnl.constprop/45 (0 (precise),0.00 per call) 
  Calls: pfe_hif_chnl_destroy/39 (0 (precise),0.00 per call) pfe_hif_cfg_fini/40 (118111601 (estimated locally),1.00 per call) 
pfe_hif_create_bind_chnl.constprop.0/45 (pfe_hif_create_bind_chnl.constprop) @06b260e0
  Type: function definition analyzed
  Visibility:
  Aux: @06e3e0e8
  References: hif_instance/21 (addr)
  Referring: 
  Function pfe_hif_create_bind_chnl.constprop/45 is inline copy in pfe_hif_create/29
  Clone of pfe_hif_create_bind_chnl/28
  Availability: local
  Function flags: count:416780404 (estimated locally) local optimize_size
  Called by: pfe_hif_create/29 (inlined) (416780404 (estimated locally),0.39 per call) 
  Calls: pfe_hif_chnl_create/41 (0 (precise),0.00 per call) pfe_hif_destroy_chnl.constprop/46 (0 (precise),0.00 per call) pfe_hif_chnl_rx_disable/42 (0 (precise),0.00 per call) pfe_hif_chnl_tx_disable/43 (0 (precise),0.00 per call) 
pfe_hif_set_master_up/33 (pfe_hif_set_master_up) @076209a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e288
  References: 
  Referring: 
  Availability: available
  Function flags: count:214748364 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_chnl_cfg_ltc_set/44 (429496729 (estimated locally),2.00 per call) pfe_hif_chnl_cfg_ltc_set/44 (429496729 (estimated locally),2.00 per call) 
pfe_hif_clear_master_up/32 (pfe_hif_clear_master_up) @07620700
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e368
  References: 
  Referring: 
  Availability: available
  Function flags: count:214748364 (estimated locally) body optimize_size
  Called by: pfe_hif_destroy/31 (214748364 (estimated locally),0.53 per call) 
  Calls: pfe_hif_chnl_cfg_ltc_set/44 (858993459 (estimated locally),4.00 per call) 
pfe_hif_destroy/31 (pfe_hif_destroy) @07620460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e128
  References: 
  Referring: 
  Availability: available
  Function flags: count:401624021 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_fini/40 (214748365 (estimated locally),0.53 per call) pfe_hif_chnl_destroy/39 (0 (precise),0.00 per call) pfe_hif_chnl_tx_disable/43 (0 (precise),0.00 per call) pfe_hif_chnl_rx_disable/42 (0 (precise),0.00 per call) pfe_hif_clear_master_up/32 (214748364 (estimated locally),0.53 per call) 
pfe_hif_get_channel/30 (pfe_hif_get_channel) @076201c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e108
  References: 
  Referring: 
  Availability: available
  Function flags: count:369004231 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_create/29 (pfe_hif_create) @07619ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e3a8
  References: hif_instance/21 (addr)hif_instance/21 (write)hif_instance/21 (addr)hif_instance/21 (addr)hif_instance/21 (addr)
  Referring: 
  Availability: available
  Function flags: count:1073741823 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_create_bind_chnl.constprop/45 (inlined) (416780404 (estimated locally),0.39 per call) pfe_hif_destroy_chnl.constprop/46 (170234250 (estimated locally),0.16 per call) pfe_hif_cfg_init/38 (587014655 (estimated locally),0.55 per call) memset/37 (587014655 (estimated locally),0.55 per call) 
pfe_hif_get_master_detect_cfg/26 (pfe_hif_get_master_detect_cfg) @07619e00
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e1c8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_set_master_detect_cfg/25 (pfe_hif_set_master_detect_cfg) @07619b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e208
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_irq_unmask/24 (pfe_hif_irq_unmask) @076198c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e268
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_irq_unmask/36 (1073741824 (estimated locally),1.00 per call) 
pfe_hif_irq_mask/23 (pfe_hif_irq_mask) @07619620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e088
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_irq_mask/35 (1073741824 (estimated locally),1.00 per call) 
pfe_hif_isr/22 (pfe_hif_isr) @07619380
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e228
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_isr/34 (1073741824 (estimated locally),1.00 per call) 



MALLOC LATTICE Initial:
pfe_hif_destroy_chnl.constprop: malloc_bottom
pfe_hif_create_bind_chnl.constprop: malloc_bottom
pfe_hif_set_master_up: malloc_bottom
pfe_hif_clear_master_up: malloc_bottom
pfe_hif_destroy: malloc_bottom
pfe_hif_get_channel: malloc_bottom
pfe_hif_create: malloc_bottom
pfe_hif_create_bind_chnl: malloc_bottom
pfe_hif_destroy_chnl: malloc_bottom
pfe_hif_get_master_detect_cfg: malloc_bottom
pfe_hif_set_master_detect_cfg: malloc_bottom
pfe_hif_irq_unmask: malloc_bottom
pfe_hif_irq_mask: malloc_bottom
pfe_hif_isr: malloc_bottom


MALLOC LATTICE after propagation:
pfe_hif_destroy_chnl.constprop: malloc_bottom
pfe_hif_create_bind_chnl.constprop: malloc_bottom
pfe_hif_set_master_up: malloc_bottom
pfe_hif_clear_master_up: malloc_bottom
pfe_hif_destroy: malloc_bottom
pfe_hif_get_channel: malloc_bottom
pfe_hif_create: malloc_bottom
pfe_hif_create_bind_chnl: malloc_bottom
pfe_hif_destroy_chnl: malloc_bottom
pfe_hif_get_master_detect_cfg: malloc_bottom
pfe_hif_set_master_detect_cfg: malloc_bottom
pfe_hif_irq_unmask: malloc_bottom
pfe_hif_irq_mask: malloc_bottom
pfe_hif_isr: malloc_bottom
callgraph:

pfe_hif_destroy_chnl.constprop.0/46 (pfe_hif_destroy_chnl.constprop) @06dbdee0
  Type: function definition analyzed
  Visibility:
  Aux: @06e3e2a8
  References: hif_instance/21 (addr)
  Referring: 
  Clone of pfe_hif_destroy_chnl/27
  Availability: local
  Function flags: count:118111600 (estimated locally) local optimize_size
  Called by: pfe_hif_create/29 (170234250 (estimated locally),0.16 per call) pfe_hif_create_bind_chnl.constprop/45 (0 (precise),0.00 per call) 
  Calls: pfe_hif_chnl_destroy/39 (0 (precise),0.00 per call) pfe_hif_cfg_fini/40 (118111601 (estimated locally),1.00 per call) 
pfe_hif_create_bind_chnl.constprop.0/45 (pfe_hif_create_bind_chnl.constprop) @06b260e0
  Type: function definition analyzed
  Visibility:
  Aux: @06e3e048
  References: hif_instance/21 (addr)
  Referring: 
  Function pfe_hif_create_bind_chnl.constprop/45 is inline copy in pfe_hif_create/29
  Clone of pfe_hif_create_bind_chnl/28
  Availability: local
  Function flags: count:416780404 (estimated locally) local optimize_size
  Called by: pfe_hif_create/29 (inlined) (416780404 (estimated locally),0.39 per call) 
  Calls: pfe_hif_chnl_create/41 (0 (precise),0.00 per call) pfe_hif_destroy_chnl.constprop/46 (0 (precise),0.00 per call) pfe_hif_chnl_rx_disable/42 (0 (precise),0.00 per call) pfe_hif_chnl_tx_disable/43 (0 (precise),0.00 per call) 
pfe_hif_chnl_cfg_ltc_set/44 (pfe_hif_chnl_cfg_ltc_set) @075bbc40
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_set_master_up/33 (429496729 (estimated locally),2.00 per call) pfe_hif_set_master_up/33 (429496729 (estimated locally),2.00 per call) pfe_hif_clear_master_up/32 (858993459 (estimated locally),4.00 per call) 
  Calls: 
pfe_hif_chnl_tx_disable/43 (pfe_hif_chnl_tx_disable) @075bb8c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_create_bind_chnl.constprop/45 (0 (precise),0.00 per call) pfe_hif_destroy/31 (0 (precise),0.00 per call) 
  Calls: 
pfe_hif_chnl_rx_disable/42 (pfe_hif_chnl_rx_disable) @075bb7e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_create_bind_chnl.constprop/45 (0 (precise),0.00 per call) pfe_hif_destroy/31 (0 (precise),0.00 per call) 
  Calls: 
pfe_hif_chnl_create/41 (pfe_hif_chnl_create) @075bb700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_create_bind_chnl.constprop/45 (0 (precise),0.00 per call) 
  Calls: 
pfe_hif_cfg_fini/40 (pfe_hif_cfg_fini) @075bb540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_destroy_chnl.constprop/46 (118111601 (estimated locally),1.00 per call) pfe_hif_destroy/31 (214748365 (estimated locally),0.53 per call) 
  Calls: 
pfe_hif_chnl_destroy/39 (pfe_hif_chnl_destroy) @075bb460
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_destroy_chnl.constprop/46 (0 (precise),0.00 per call) pfe_hif_destroy/31 (0 (precise),0.00 per call) 
  Calls: 
pfe_hif_cfg_init/38 (pfe_hif_cfg_init) @075bb2a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_create/29 (587014655 (estimated locally),0.55 per call) 
  Calls: 
memset/37 (memset) @075bb1c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_create/29 (587014655 (estimated locally),0.55 per call) 
  Calls: 
pfe_hif_cfg_irq_unmask/36 (pfe_hif_cfg_irq_unmask) @07620540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_irq_unmask/24 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_hif_cfg_irq_mask/35 (pfe_hif_cfg_irq_mask) @07620000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_irq_mask/23 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_hif_cfg_isr/34 (pfe_hif_cfg_isr) @07620e00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_hif_isr/22 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_hif_set_master_up/33 (pfe_hif_set_master_up) @076209a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e208
  References: 
  Referring: 
  Availability: available
  Function flags: count:214748364 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_chnl_cfg_ltc_set/44 (429496729 (estimated locally),2.00 per call) pfe_hif_chnl_cfg_ltc_set/44 (429496729 (estimated locally),2.00 per call) 
pfe_hif_clear_master_up/32 (pfe_hif_clear_master_up) @07620700
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e088
  References: 
  Referring: 
  Availability: available
  Function flags: count:214748364 (estimated locally) body optimize_size
  Called by: pfe_hif_destroy/31 (214748364 (estimated locally),0.53 per call) 
  Calls: pfe_hif_chnl_cfg_ltc_set/44 (858993459 (estimated locally),4.00 per call) 
pfe_hif_destroy/31 (pfe_hif_destroy) @07620460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e1c8
  References: 
  Referring: 
  Availability: available
  Function flags: count:401624021 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_fini/40 (214748365 (estimated locally),0.53 per call) pfe_hif_chnl_destroy/39 (0 (precise),0.00 per call) pfe_hif_chnl_tx_disable/43 (0 (precise),0.00 per call) pfe_hif_chnl_rx_disable/42 (0 (precise),0.00 per call) pfe_hif_clear_master_up/32 (214748364 (estimated locally),0.53 per call) 
pfe_hif_get_channel/30 (pfe_hif_get_channel) @076201c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e0e8
  References: 
  Referring: 
  Availability: available
  Function flags: count:369004231 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_create/29 (pfe_hif_create) @07619ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e308
  References: hif_instance/21 (addr)hif_instance/21 (write)hif_instance/21 (addr)hif_instance/21 (addr)hif_instance/21 (addr)
  Referring: 
  Availability: available
  Function flags: count:1073741823 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_create_bind_chnl.constprop/45 (inlined) (416780404 (estimated locally),0.39 per call) pfe_hif_destroy_chnl.constprop/46 (170234250 (estimated locally),0.16 per call) pfe_hif_cfg_init/38 (587014655 (estimated locally),0.55 per call) memset/37 (587014655 (estimated locally),0.55 per call) 
pfe_hif_create_bind_chnl/28 (pfe_hif_create_bind_chnl) @076199a0
  Type: function
  Body removed by symtab_remove_unreachable_nodes
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Availability: not_available
  Function flags: count:214748364 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_destroy_chnl/27 (pfe_hif_destroy_chnl) @07619460
  Type: function
  Body removed by symtab_remove_unreachable_nodes
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Availability: not_available
  Function flags: count:118111600 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_get_master_detect_cfg/26 (pfe_hif_get_master_detect_cfg) @07619e00
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e108
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_set_master_detect_cfg/25 (pfe_hif_set_master_detect_cfg) @07619b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e068
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_irq_unmask/24 (pfe_hif_irq_unmask) @076198c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e2c8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_irq_unmask/36 (1073741824 (estimated locally),1.00 per call) 
pfe_hif_irq_mask/23 (pfe_hif_irq_mask) @07619620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e3a8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_irq_mask/35 (1073741824 (estimated locally),1.00 per call) 
pfe_hif_isr/22 (pfe_hif_isr) @07619380
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e128
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_isr/34 (1073741824 (estimated locally),1.00 per call) 


 ordered call graph: reduced
pfe_hif_set_master_up/33 (pfe_hif_set_master_up) @076209a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e208
  References: 
  Referring: 
  Availability: available
  Function flags: count:214748364 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_chnl_cfg_ltc_set/44 (429496729 (estimated locally),2.00 per call) pfe_hif_chnl_cfg_ltc_set/44 (429496729 (estimated locally),2.00 per call) 
pfe_hif_destroy/31 (pfe_hif_destroy) @07620460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e1c8
  References: 
  Referring: 
  Availability: available
  Function flags: count:401624021 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_fini/40 (214748365 (estimated locally),0.53 per call) pfe_hif_chnl_destroy/39 (0 (precise),0.00 per call) pfe_hif_chnl_tx_disable/43 (0 (precise),0.00 per call) pfe_hif_chnl_rx_disable/42 (0 (precise),0.00 per call) pfe_hif_clear_master_up/32 (214748364 (estimated locally),0.53 per call) 
pfe_hif_clear_master_up/32 (pfe_hif_clear_master_up) @07620700
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e088
  References: 
  Referring: 
  Availability: available
  Function flags: count:214748364 (estimated locally) body optimize_size
  Called by: pfe_hif_destroy/31 (214748364 (estimated locally),0.53 per call) 
  Calls: pfe_hif_chnl_cfg_ltc_set/44 (858993459 (estimated locally),4.00 per call) 
pfe_hif_get_channel/30 (pfe_hif_get_channel) @076201c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e0e8
  References: 
  Referring: 
  Availability: available
  Function flags: count:369004231 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_create/29 (pfe_hif_create) @07619ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e308
  References: hif_instance/21 (addr)hif_instance/21 (write)hif_instance/21 (addr)hif_instance/21 (addr)hif_instance/21 (addr)
  Referring: 
  Availability: available
  Function flags: count:1073741823 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_create_bind_chnl.constprop/45 (inlined) (416780404 (estimated locally),0.39 per call) pfe_hif_destroy_chnl.constprop/46 (170234250 (estimated locally),0.16 per call) pfe_hif_cfg_init/38 (587014655 (estimated locally),0.55 per call) memset/37 (587014655 (estimated locally),0.55 per call) 
pfe_hif_create_bind_chnl.constprop.0/45 (pfe_hif_create_bind_chnl.constprop) @06b260e0
  Type: function definition analyzed
  Visibility:
  Aux: @06e3e048
  References: hif_instance/21 (addr)
  Referring: 
  Function pfe_hif_create_bind_chnl.constprop/45 is inline copy in pfe_hif_create/29
  Clone of pfe_hif_create_bind_chnl/28
  Availability: local
  Function flags: count:416780404 (estimated locally) local optimize_size
  Called by: pfe_hif_create/29 (inlined) (416780404 (estimated locally),0.39 per call) 
  Calls: pfe_hif_chnl_create/41 (0 (precise),0.00 per call) pfe_hif_destroy_chnl.constprop/46 (0 (precise),0.00 per call) pfe_hif_chnl_rx_disable/42 (0 (precise),0.00 per call) pfe_hif_chnl_tx_disable/43 (0 (precise),0.00 per call) 
pfe_hif_destroy_chnl.constprop.0/46 (pfe_hif_destroy_chnl.constprop) @06dbdee0
  Type: function definition analyzed
  Visibility:
  Aux: @06e3e2a8
  References: hif_instance/21 (addr)
  Referring: 
  Clone of pfe_hif_destroy_chnl/27
  Availability: local
  Function flags: count:118111600 (estimated locally) local optimize_size
  Called by: pfe_hif_create/29 (170234250 (estimated locally),0.16 per call) pfe_hif_create_bind_chnl.constprop/45 (0 (precise),0.00 per call) 
  Calls: pfe_hif_chnl_destroy/39 (0 (precise),0.00 per call) pfe_hif_cfg_fini/40 (118111601 (estimated locally),1.00 per call) 
pfe_hif_get_master_detect_cfg/26 (pfe_hif_get_master_detect_cfg) @07619e00
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e108
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_set_master_detect_cfg/25 (pfe_hif_set_master_detect_cfg) @07619b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e068
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_hif_irq_unmask/24 (pfe_hif_irq_unmask) @076198c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e2c8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_irq_unmask/36 (1073741824 (estimated locally),1.00 per call) 
pfe_hif_irq_mask/23 (pfe_hif_irq_mask) @07619620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e3a8
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_irq_mask/35 (1073741824 (estimated locally),1.00 per call) 
pfe_hif_isr/22 (pfe_hif_isr) @07619380
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06e3e128
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hif_cfg_isr/34 (1073741824 (estimated locally),1.00 per call) 

Function found not to call free: pfe_hif_set_master_detect_cfg
Function found not to call free: pfe_hif_get_master_detect_cfg
Function found not to call free: pfe_hif_get_channel
pfe_hif_set_master_up (const struct pfe_hif_t * hif)
{
  uint32_t ii;
  <unnamed type> _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  unsigned int _5;
  unsigned int _6;

  <bb 2> [local count: 214748364]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ii => 0
  goto <bb 7>; [100.00%]

  <bb 3> [local count: 858993459]:
  # DEBUG BEGIN_STMT
  _1 = hif_11(D)->configured_channels_mask;
  _2 = (long unsigned int) _1;
  _3 = _2 >> ii_7;
  _4 = _3 & 1;
  if (_4 != 0)
    goto <bb 4>; [50.00%]
  else
    goto <bb 5>; [50.00%]

  <bb 4> [local count: 429496729]:
  # DEBUG BEGIN_STMT
  _5 = hif_11(D)->cbus_base_va;
  pfe_hif_chnl_cfg_ltc_set (_5, ii_7, 3);
  goto <bb 6>; [100.00%]

  <bb 5> [local count: 429496729]:
  # DEBUG BEGIN_STMT
  _6 = hif_11(D)->cbus_base_va;
  pfe_hif_chnl_cfg_ltc_set (_6, ii_7, 1);

  <bb 6> [local count: 858993459]:
  # DEBUG BEGIN_STMT
  ii_14 = ii_7 + 1;
  # DEBUG ii => ii_14

  <bb 7> [local count: 1073741824]:
  # ii_7 = PHI <0(2), ii_14(6)>
  # DEBUG ii => ii_7
  # DEBUG BEGIN_STMT
  if (ii_7 != 4)
    goto <bb 3>; [80.00%]
  else
    goto <bb 8>; [20.00%]

  <bb 8> [local count: 214748365]:
  return;

}


pfe_hif_clear_master_up (const struct pfe_hif_t * hif)
{
  uint32_t ii;
  unsigned int _1;

  <bb 2> [local count: 214748364]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ii => 0
  goto <bb 4>; [100.00%]

  <bb 3> [local count: 858993459]:
  # DEBUG BEGIN_STMT
  _1 = hif_5(D)->cbus_base_va;
  pfe_hif_chnl_cfg_ltc_set (_1, ii_2, 0);
  # DEBUG BEGIN_STMT
  ii_7 = ii_2 + 1;
  # DEBUG ii => ii_7

  <bb 4> [local count: 1073741824]:
  # ii_2 = PHI <0(2), ii_7(3)>
  # DEBUG ii => ii_2
  # DEBUG BEGIN_STMT
  if (ii_2 != 4)
    goto <bb 3>; [80.00%]
  else
    goto <bb 5>; [20.00%]

  <bb 5> [local count: 214748365]:
  return;

}


pfe_hif_destroy (struct pfe_hif_t * hif)
{
  uint32_t channels_mask;
  uint32_t ii;
  <unnamed type> _1;
  long unsigned int _2;
  long unsigned int _3;
  struct pfe_hif_chnl_t * _4;
  <unnamed type> _5;
  unsigned char _6;
  unsigned char _7;
  unsigned char _8;
  unsigned int _9;

  <bb 2> [local count: 401624021]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG channels_mask => 1
  # DEBUG BEGIN_STMT
  if (hif_15(D) != 0B)
    goto <bb 3>; [53.47%]
  else
    goto <bb 9>; [46.53%]

  <bb 3> [local count: 214748364]:
  # DEBUG BEGIN_STMT
  pfe_hif_clear_master_up (hif_15(D));
  # DEBUG BEGIN_STMT
  # DEBUG ii => 0
  goto <bb 7>; [100.00%]

  <bb 4> [local count: 858993460]:
  # DEBUG BEGIN_STMT
  _1 = hif_15(D)->configured_channels_mask;
  _2 = (long unsigned int) _1;
  _3 = _2 & channels_mask_11;
  if (_3 != 0)
    goto <bb 5>; [0.00%]
  else
    goto <bb 6>; [100.00%]

  <bb 5> [count: 0]:
  # DEBUG BEGIN_STMT
  _4 = &hif_15(D)->channels[ii_10];
  pfe_hif_chnl_rx_disable (_4);
  # DEBUG BEGIN_STMT
  pfe_hif_chnl_tx_disable (_4);
  # DEBUG BEGIN_STMT
  pfe_hif_chnl_destroy (_4);
  # DEBUG BEGIN_STMT
  _5 = hif_15(D)->configured_channels_mask;
  _6 = (unsigned char) channels_mask_11;
  _7 = ~_6;
  _8 = _5 & _7;
  hif_15(D)->configured_channels_mask = _8;

  <bb 6> [local count: 858993460]:
  # DEBUG BEGIN_STMT
  channels_mask_23 = channels_mask_11 << 1;
  # DEBUG channels_mask => channels_mask_23
  # DEBUG BEGIN_STMT
  ii_24 = ii_10 + 1;
  # DEBUG ii => ii_24

  <bb 7> [local count: 1073741824]:
  # ii_10 = PHI <0(3), ii_24(6)>
  # channels_mask_11 = PHI <1(3), channels_mask_23(6)>
  # DEBUG channels_mask => channels_mask_11
  # DEBUG ii => ii_10
  # DEBUG BEGIN_STMT
  if (ii_10 != 4)
    goto <bb 4>; [80.00%]
  else
    goto <bb 8>; [20.00%]

  <bb 8> [local count: 214748365]:
  # DEBUG BEGIN_STMT
  _9 = hif_15(D)->cbus_base_va;
  pfe_hif_cfg_fini (_9);

  <bb 9> [local count: 401624022]:
  return;

}


pfe_hif_get_channel (const struct pfe_hif_t * hif, pfe_hif_chnl_id_t channel_id)
{
  struct pfe_hif_chnl_t * entry;
  uint32_t ii;
  <unnamed type> _1;
  unsigned char _2;
  long unsigned int _3;
  unsigned int _4;
  long unsigned int _5;

  <bb 2> [local count: 369004231]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG entry => 0B
  # DEBUG BEGIN_STMT
  _1 = hif_10(D)->configured_channels_mask;
  _2 = _1 & channel_id_11(D);
  if (_2 != 0)
    goto <bb 8>; [71.00%]
  else
    goto <bb 7>; [29.00%]

  <bb 8> [local count: 261993004]:
  goto <bb 6>; [100.00%]

  <bb 3> [local count: 858993460]:
  # DEBUG BEGIN_STMT
  _3 = (long unsigned int) channel_id_11(D);
  _4 = 1 << ii_6;
  _5 = _3 & _4;
  if (_5 != 0)
    goto <bb 4>; [5.50%]
  else
    goto <bb 5>; [94.50%]

  <bb 4> [local count: 47244640]:
  # ii_8 = PHI <ii_6(3)>
  # DEBUG BEGIN_STMT
  entry_13 = &hif_10(D)->channels[ii_8];
  # DEBUG entry => entry_13
  # DEBUG BEGIN_STMT
  goto <bb 7>; [100.00%]

  <bb 5> [local count: 811748819]:
  # DEBUG BEGIN_STMT
  ii_12 = ii_6 + 1;
  # DEBUG ii => ii_12

  <bb 6> [local count: 1073741824]:
  # ii_6 = PHI <ii_12(5), 0(8)>
  # DEBUG ii => ii_6
  # DEBUG BEGIN_STMT
  if (ii_6 != 4)
    goto <bb 3>; [80.00%]
  else
    goto <bb 7>; [20.00%]

  <bb 7> [local count: 369004233]:
  # entry_7 = PHI <0B(2), entry_13(4), 0B(6)>
  # DEBUG entry => entry_7
  # DEBUG BEGIN_STMT
  return entry_7;

}


pfe_hif_create (addr_t cbus_base_va, pfe_hif_chnl_id_t channels_mask)
{
  errno_t ret;
  struct pfe_hif_t * hif;
  long unsigned int _1;
  long unsigned int _2;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => 120
  # DEBUG BEGIN_STMT
  # DEBUG ii => 0
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) channels_mask_5(D);
  _2 = _1 & 4294967280;
  if (_2 != 0)
    goto <bb 7>; [45.33%]
  else
    goto <bb 3>; [54.67%]

  <bb 3> [local count: 587014655]:
  # DEBUG BEGIN_STMT
  # DEBUG hif => &hif_instance
  # DEBUG BEGIN_STMT
  memset (&hif_instance, 0, 896);
  # DEBUG BEGIN_STMT
  hif_instance.cbus_base_va = cbus_base_va_8(D);
  # DEBUG BEGIN_STMT
  ret_11 = pfe_hif_cfg_init (cbus_base_va_8(D));
  # DEBUG ret => ret_11
  # DEBUG BEGIN_STMT
  if (ret_11 != 0)
    goto <bb 4>; [29.00%]
  else
    goto <bb 5>; [71.00%]

  <bb 4> [local count: 170234250]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  pfe_hif_destroy_chnl (&hif_instance, 0);
  # DEBUG BEGIN_STMT
  # DEBUG hif => 0B
  goto <bb 7>; [100.00%]

  <bb 5> [local count: 416780404]:
  # DEBUG BEGIN_STMT
  ret_13 = pfe_hif_create_bind_chnl (&hif_instance, channels_mask_5(D));
  # DEBUG ret => ret_13
  # DEBUG BEGIN_STMT
  if (ret_13 != 0)
    goto <bb 6>; [29.00%]
  else
    goto <bb 7>; [71.00%]

  <bb 6> [local count: 120866317]:
  # DEBUG BEGIN_STMT
  # DEBUG hif => 0B

  <bb 7> [local count: 1073741824]:
  # hif_3 = PHI <0B(2), 0B(4), &hif_instance(5), 0B(6)>
  # DEBUG hif => hif_3
  # DEBUG BEGIN_STMT
  return hif_3;

}


pfe_hif_get_master_detect_cfg (const struct pfe_hif_t * hif)
{
  unsigned char _1;
  _Bool _2;
  bool_t _5;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = hif_4(D)->disable_master_detect;
  _2 = _1 == 0;
  _5 = (bool_t) _2;
  return _5;

}


pfe_hif_set_master_detect_cfg (struct pfe_hif_t * hif, bool_t on)
{
  _Bool _1;
  unsigned char _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = on_3(D) == 0;
  _2 = (unsigned char) _1;
  hif_5(D)->disable_master_detect = _2;
  return;

}


pfe_hif_irq_unmask (struct pfe_hif_t * hif)
{
  unsigned int _1;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = hif_3(D)->cbus_base_va;
  pfe_hif_cfg_irq_unmask (_1);
  return;

}


pfe_hif_irq_mask (struct pfe_hif_t * hif)
{
  unsigned int _1;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = hif_3(D)->cbus_base_va;
  pfe_hif_cfg_irq_mask (_1);
  return;

}


pfe_hif_isr (struct pfe_hif_t * hif)
{
  errno_t ret;
  unsigned int _1;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = hif_3(D)->cbus_base_va;
  ret_5 = pfe_hif_cfg_isr (_1);
  # DEBUG ret => ret_5
  # DEBUG BEGIN_STMT
  return ret_5;

}


