

 local analysis of pfe_tmu_q_mode_set_tail_drop.part.0
   scanning: _2 = phy_1(D) + 250;
  scanning: if (_2 <= 3)
  scanning: queue_temp_5 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_3(D), phy_1(D), queue_4(D));
  scanning: if (queue_temp_5 == 255)
  scanning: _7 = (long unsigned int) max_6(D);
  scanning: _8 = _7 << 11;
  scanning: reg_9 = _8 | 1;
  scanning: _11 = queue_temp_10 * 8;
  scanning: _12 = _11 + 4;
  scanning: ret_13 = pfe_tmu_cntx_mem_write (cbus_base_va_3(D), phy_1(D), _12, reg_9);
  scanning: return ret_14;
Function is locally const.


 local analysis of pfe_tmu_hif_q_to_tmu_q.part.0
   scanning: _2 = cbus_base_va_1(D) + 622796;
  scanning: _3 = (volatile uint32_t *) _2;
  scanning: reg_4 ={v} *_3;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _6 = (long unsigned int) phy_5(D);
  scanning: _7 = _6 + 4294967290;
  scanning: _9 = ii_8 * 4;
  scanning: _10 = reg_4 >> _9;
  scanning: _11 = _10 & 15;
  scanning: if (_7 == _11)
  scanning: hif_queue.9_13 = (unsigned char) hif_queue_12;
  scanning: _14 = hif_queue.9_13 + 1;
  scanning: hif_queue_15 = (int8_t) _14;
  scanning: if (_14 == queue_16(D))
  scanning: tmu_queue_18 = (uint8_t) ii_17;
  scanning: ii_19 = ii_8 + 1;
  scanning: if (ii_8 != 8)
  scanning: return tmu_queue_20;


 local analysis of pfe_tmu_sch_cfg_get_bound_sched_output
   scanning: _1 = (long unsigned int) phy_9(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 4096;
  scanning: sch_base_va_11 = _3 + cbus_base_va_10(D);
  scanning: _4 = sch_base_va_11 + 84;
  scanning: _5 = (volatile uint32_t *) _4;
  scanning: _6 ={v} *_5;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: reg_14 = _6 & 255;
  scanning: _7 = (long unsigned int) input_15(D);
  scanning: if (_7 == reg_14)
  scanning: return sched_id_8;


 local analysis of pfe_tmu_sch_cfg_bind_sched_output
   scanning: _1 = (long unsigned int) phy_13(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) src_sch_14(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 * 256;
  scanning: sch_base_va_16 = _6 + cbus_base_va_15(D);
  scanning: if (src_sch_14(D) != 0)
  scanning: if (dst_sch_17(D) != 1)
  scanning: _7 = pfe_tmu_sch_cfg_bind_queue (cbus_base_va_15(D), phy_13(D), 1, input_19(D), 255);
  scanning: if (_7 != 0)
  scanning: _8 = sch_base_va_16 + 84;
  scanning: _9 = (volatile uint32_t *) _8;
  scanning: _22 = input_19(D) & 15;
  scanning: _10 = (long unsigned int) _22;
  scanning: *_9 ={v} _10;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return ret_11;


 local analysis of pfe_tmu_sch_cfg_get_bound_queue
   scanning: _1 = (long unsigned int) phy_17(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) sch_18(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 * 256;
  scanning: sch_base_va_20 = _6 + cbus_base_va_19(D);
  scanning: if (input_21(D) > 7)
  scanning: _7 = input_21(D) >> 2;
  scanning: _8 = (long unsigned int) _7;
  scanning: _9 = _8 + 16;
  scanning: _10 = _9 * 4;
  scanning: _11 = _10 + sch_base_va_20;
  scanning: _12 = (volatile uint32_t *) _11;
  scanning: reg_23 ={v} *_12;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _25 = input_21(D) & 3;
  scanning: _13 = (unsigned int) _25;
  scanning: _14 = _13 * 8;
  scanning: _15 = reg_23 >> _14;
  scanning: queue_24 = (uint8_t) _15;
  scanning: if (queue_24 > 7)
  scanning: return queue_16;


 local analysis of pfe_tmu_sch_cfg_bind_queue
   scanning: _1 = (long unsigned int) phy_22(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) sch_23(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 * 256;
  scanning: sch_base_va_25 = _6 + cbus_base_va_24(D);
  scanning: _7 = queue_26(D) + 248;
  scanning: if (_7 <= 246)
  scanning: if (input_27(D) > 7)
  scanning: _8 = input_27(D) >> 2;
  scanning: _9 = (long unsigned int) _8;
  scanning: _10 = _9 + 16;
  scanning: _11 = _10 * 4;
  scanning: _12 = _11 + sch_base_va_25;
  scanning: _13 = (volatile uint32_t *) _12;
  scanning: reg_29 ={v} *_13;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _33 = input_27(D) & 3;
  scanning: _14 = (unsigned int) _33;
  scanning: _15 = _14 * 8;
  scanning: _16 = 255 << _15;
  scanning: _17 = ~_16;
  scanning: reg_30 = _17 & reg_29;
  scanning: _34 = queue_26(D) & 31;
  scanning: _18 = (long unsigned int) _34;
  scanning: _19 = _18 << _15;
  scanning: reg_31 = _19 | reg_30;
  scanning: *_13 ={v} reg_31;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return ret_20;


 local analysis of pfe_tmu_sch_cfg_get_input_weight
   scanning: _1 = (long unsigned int) phy_13(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) sch_14(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 * 256;
  scanning: sch_base_va_16 = _6 + cbus_base_va_15(D);
  scanning: if (input_17(D) > 7)
  scanning: _7 = (long unsigned int) input_17(D);
  scanning: _8 = _7 + 8;
  scanning: _9 = _8 * 4;
  scanning: _10 = _9 + sch_base_va_16;
  scanning: _11 = (volatile uint32_t *) _10;
  scanning: input_weight_19 ={v} *_11;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return input_weight_12;


 local analysis of pfe_tmu_sch_cfg_set_input_weight
   scanning: _1 = (long unsigned int) phy_14(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) sch_15(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 * 256;
  scanning: sch_base_va_17 = _6 + cbus_base_va_16(D);
  scanning: if (input_18(D) > 7)
  scanning: _7 = (long unsigned int) input_18(D);
  scanning: _8 = _7 + 8;
  scanning: _9 = _8 * 4;
  scanning: _10 = _9 + sch_base_va_17;
  scanning: _11 = (volatile uint32_t *) _10;
  scanning: *_11 ={v} weight_20(D);
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return ret_12;


 local analysis of pfe_tmu_sch_cfg_get_algo
   scanning: _1 = (long unsigned int) phy_10(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) sch_11(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 * 256;
  scanning: sch_base_va_13 = _6 + cbus_base_va_12(D);
  scanning: sch_base_va.33_7 = (volatile uint32_t *) sch_base_va_13;
  scanning: reg_16 ={v} *sch_base_va.33_7;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _8 = reg_16 & 15;
  scanning: _19 = _8;
  scanning: if (_19 <= 4)
  scanning: <L8>:
  scanning: algo_18 = 4;
  scanning: <L9>:
  scanning: _17 = CSWTCH.70[_19];
  scanning: algo_14 = _17;
  scanning: <L10>:
  scanning: <L7>:
  scanning: return algo_9;


 local analysis of pfe_tmu_sch_cfg_set_algo
   scanning: _1 = (long unsigned int) phy_10(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) sch_11(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 * 256;
  scanning: sch_base_va_13 = _6 + cbus_base_va_12(D);
  scanning: if (algo_14(D) == 0)
  scanning: if (algo_14(D) == 1)
  scanning: if (algo_14(D) == 2)
  scanning: if (algo_14(D) == 3)
  scanning: _7 = pfe_tmu_sch_cfg_get_rate_mode (cbus_base_va_12(D), phy_10(D), sch_11(D));
  scanning: if (_7 != 1)
  scanning: sch_base_va.32_8 = (volatile uint32_t *) sch_base_va_13;
  scanning: *sch_base_va.32_8 ={v} reg_19;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return ret_20;


 local analysis of pfe_tmu_sch_cfg_get_rate_mode
   scanning: _1 = (long unsigned int) phy_10(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) sch_11(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 * 256;
  scanning: sch_base_va_13 = _6 + cbus_base_va_12(D);
  scanning: _7 = sch_base_va_13 + 72;
  scanning: _8 = (volatile uint32_t *) _7;
  scanning: reg_15 ={v} *_8;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: if (reg_15 == 0)
  scanning: if (reg_15 == 1)
  scanning: return rmode_9;


 local analysis of pfe_tmu_sch_cfg_set_rate_mode
   scanning: _1 = (long unsigned int) phy_10(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) sch_11(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 * 256;
  scanning: sch_base_va_13 = _6 + cbus_base_va_12(D);
  scanning: if (mode_14(D) == 0)
  scanning: if (mode_14(D) == 1)
  scanning: _7 = sch_base_va_13 + 72;
  scanning: _8 = (volatile uint32_t *) _7;
  scanning: *_8 ={v} reg_18;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return ret_19;


 local analysis of pfe_tmu_sch_cfg_init
   scanning: _1 = (long unsigned int) phy_14(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) sch_15(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 * 256;
  scanning: sch_base_va_17 = _6 + cbus_base_va_16(D);
  scanning: _7 = sch_base_va_17 + 64;
  scanning: _8 = (volatile uint32_t *) _7;
  scanning: *_8 ={v} 4294967295;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _9 = sch_base_va_17 + 68;
  scanning: _10 = (volatile uint32_t *) _9;
  scanning: *_10 ={v} 4294967295;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: if (sch_15(D) == 0)
  scanning: _11 = sch_base_va_17 + 84;
  scanning: _12 = (volatile uint32_t *) _11;
  scanning: *_12 ={v} 15;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return;


 local analysis of pfe_tmu_shp_cfg_init
   scanning: _1 = (long unsigned int) phy_14(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_15(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_17 = _7 + cbus_base_va_16(D);
  scanning: pfe_tmu_shp_cfg_disable (cbus_base_va_16(D), phy_14(D), shp_15(D));
  scanning: _8 = shp_base_va_17 + 12;
  scanning: _9 = (volatile uint32_t *) _8;
  scanning: *_9 ={v} 62;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _10 = shp_base_va_17 + 8;
  scanning: _11 = (volatile uint32_t *) _10;
  scanning: *_11 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _12 = shp_base_va_17 + 16;
  scanning: _13 = (volatile uint32_t *) _12;
  scanning: *_13 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return;


 local analysis of pfe_tmu_shp_cfg_disable
   scanning: _1 = (long unsigned int) phy_10(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_11(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_13 = _7 + cbus_base_va_12(D);
  scanning: shp_base_va.30_8 = (volatile uint32_t *) shp_base_va_13;
  scanning: _9 ={v} *shp_base_va.30_8;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: reg_15 = _9 & 4294967294;
  scanning: *shp_base_va.30_8 ={v} reg_15;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return;


 local analysis of pfe_tmu_shp_cfg_get_idle_slope
   scanning: _1 = (long unsigned int) phy_21(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_22(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_24 = _7 + cbus_base_va_23(D);
  scanning: _8 = cbus_base_va_23(D) + 606272;
  scanning: _9 = (volatile uint32_t *) _8;
  scanning: reg_26 ={v} *_9;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _32 = reg_26 & 65535;
  scanning: _10 = (long long unsigned int) _32;
  scanning: sys_clk_hz_27 = _10 * 1000000;
  scanning: _11 = shp_base_va_24 + 4;
  scanning: _12 = (volatile uint32_t *) _11;
  scanning: _13 ={v} *_12;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: wgt_28 = _13 & 1048575;
  scanning: _14 = pfe_tmu_shp_cfg_get_rate_mode (cbus_base_va_23(D), phy_21(D), shp_22(D));
  scanning: switch (_14) <default: <L5> [33.33%], case 0: <L0> [33.33%], case 1: <L1> [33.33%]>
  scanning: <L0>:
  scanning: _15 = (long long unsigned int) wgt_28;
  scanning: _16 = _15 * sys_clk_hz_27;
  scanning: _17 = _16 * 8;
  scanning: isl_31 = _17 >> 20;
  scanning: <L1>:
  scanning: _18 = (long long unsigned int) wgt_28;
  scanning: _19 = _18 * sys_clk_hz_27;
  scanning: isl_30 = _19 >> 20;
  scanning: <L5>:
  scanning: _33 = (uint32_t) isl_20;
  scanning: return _33;


 local analysis of pfe_tmu_shp_cfg_set_idle_slope
   scanning: _1 = (long unsigned int) phy_27(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_28(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_30 = _7 + cbus_base_va_29(D);
  scanning: _8 = cbus_base_va_29(D) + 606272;
  scanning: _9 = (volatile uint32_t *) _8;
  scanning: reg_32 ={v} *_9;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _26 = reg_32 & 65535;
  scanning: _10 = (long long unsigned int) _26;
  scanning: sys_clk_hz_33 = _10 * 1000000;
  scanning: _11 = pfe_tmu_shp_cfg_get_rate_mode (cbus_base_va_29(D), phy_27(D), shp_28(D));
  scanning: switch (_11) <default: <L11> [33.33%], case 0: <L0> [33.33%], case 1: <L1> [33.33%]>
  scanning: <L0>:
  scanning: _12 = (long long unsigned int) isl_35(D);
  scanning: _13 = _12 + 1;
  scanning: _14 = _13 * 1048576;
  scanning: _15 = _10 * 8000000;
  scanning: wgt_37 = _14 / _15;
  scanning: <L1>:
  scanning: _16 = (long long unsigned int) isl_35(D);
  scanning: _17 = _16 + 1;
  scanning: _18 = _17 * 1048576;
  scanning: wgt_36 = _18 / sys_clk_hz_33;
  scanning: _19 = (long unsigned int) wgt_44;
  scanning: _20 = shp_base_va_30 + 4;
  scanning: _21 = (volatile uint32_t *) _20;
  scanning: _22 = _19 & 1048575;
  scanning: *_21 ={v} _22;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: shp_base_va.28_23 = (volatile uint32_t *) shp_base_va_30;
  scanning: reg_40 ={v} *shp_base_va.28_23;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: reg_41 = reg_40 & 1;
  scanning: _24 = reg_41 | 14;
  scanning: *shp_base_va.28_23 ={v} _24;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: <L11>:
  scanning: return ret_43;


 local analysis of pfe_tmu_shp_cfg_get_rate_mode
   scanning: _1 = (long unsigned int) phy_14(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_15(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_17 = _7 + cbus_base_va_16(D);
  scanning: shp_base_va.27_8 = (volatile uint32_t *) shp_base_va_17;
  scanning: reg_19 ={v} *shp_base_va.27_8;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _9 = reg_19 & 1;
  scanning: if (_9 == 0)
  scanning: _10 = shp_base_va_17 + 12;
  scanning: _11 = (volatile uint32_t *) _10;
  scanning: reg_20 ={v} *_11;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _12 = reg_20 & 1;
  scanning: _21 = (<unnamed type>) _12;
  scanning: return rate_mode_13;


 local analysis of pfe_tmu_shp_cfg_set_rate_mode
   scanning: _1 = (long unsigned int) phy_11(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_12(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_14 = _7 + cbus_base_va_13(D);
  scanning: _8 = shp_base_va_14 + 12;
  scanning: _9 = (volatile uint32_t *) _8;
  scanning: reg_16 ={v} *_9;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: if (mode_17(D) == 0)
  scanning: reg_19 = reg_16 & 4294967294;
  scanning: if (mode_17(D) == 1)
  scanning: reg_18 = reg_16 | 1;
  scanning: *_9 ={v} reg_21;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return ret_22;


 local analysis of pfe_tmu_shp_cfg_enable
   scanning: _1 = (long unsigned int) phy_10(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_11(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_13 = _7 + cbus_base_va_12(D);
  scanning: shp_base_va.25_8 = (volatile uint32_t *) shp_base_va_13;
  scanning: _9 ={v} *shp_base_va.25_8;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: reg_15 = _9 | 1;
  scanning: *shp_base_va.25_8 ={v} reg_15;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return 0;


 local analysis of pfe_tmu_shp_cfg_get_position
   scanning: _1 = (long unsigned int) phy_13(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_14(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_16 = _7 + cbus_base_va_15(D);
  scanning: _8 = shp_base_va_16 + 12;
  scanning: _9 = (volatile uint32_t *) _8;
  scanning: _10 ={v} *_9;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _11 = _10 >> 1;
  scanning: _12 = (unsigned char) _11;
  scanning: _18 = _12 & 31;
  scanning: return _18;


 local analysis of pfe_tmu_shp_cfg_set_position
   scanning: _1 = (long unsigned int) phy_16(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_17(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_19 = _7 + cbus_base_va_18(D);
  scanning: _8 = pos_20(D) + 239;
  scanning: if (_8 <= 237)
  scanning: _9 = shp_base_va_19 + 12;
  scanning: _10 = (volatile uint32_t *) _9;
  scanning: reg_22 ={v} *_10;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: reg_23 = reg_22 & 4294967233;
  scanning: _11 = (long unsigned int) pos_20(D);
  scanning: _12 = _11 << 1;
  scanning: _13 = _12 & 62;
  scanning: reg_24 = _13 | reg_23;
  scanning: *_10 ={v} reg_24;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return ret_14;


 local analysis of pfe_tmu_shp_cfg_get_limits
   scanning: _1 = (long unsigned int) phy_18(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_19(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_21 = _7 + cbus_base_va_20(D);
  scanning: _8 = shp_base_va_21 + 8;
  scanning: _9 = (volatile uint32_t *) _8;
  scanning: _10 ={v} *_9;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _11 = (long int) _10;
  scanning: _12 = _11 >> 10;
  scanning: *max_credit_23(D) = _12;
    Indirect ref write is not const/pure
  scanning: _13 = shp_base_va_21 + 16;
  scanning: _14 = (volatile uint32_t *) _13;
  scanning: _15 ={v} *_14;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _16 = (long int) _15;
  scanning: _17 = -_16;
  scanning: *min_credit_25(D) = _17;
    Indirect ref write is not const/pure
  scanning: return 0;


 local analysis of pfe_tmu_shp_cfg_set_limits
   scanning: _1 = (long unsigned int) phy_20(D);
  scanning: _2 = _1 + 129;
  scanning: _3 = _2 * 16;
  scanning: _4 = (long unsigned int) shp_21(D);
  scanning: _5 = _3 + _4;
  scanning: _6 = _5 + 2;
  scanning: _7 = _6 * 256;
  scanning: shp_base_va_23 = _7 + cbus_base_va_22(D);
  scanning: max_credit.22_8 = (unsigned int) max_credit_24(D);
  scanning: if (max_credit.22_8 > 4194303)
  scanning: min_credit.23_9 = (unsigned int) min_credit_25(D);
  scanning: _10 = min_credit.23_9 + 4194303;
  scanning: if (_10 > 4194303)
  scanning: _11 = shp_base_va_23 + 8;
  scanning: _12 = (volatile uint32_t *) _11;
  scanning: _13 = max_credit.22_8 << 10;
  scanning: *_12 ={v} _13;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _14 = -min_credit_25(D);
  scanning: _15 = shp_base_va_23 + 16;
  scanning: _16 = (volatile uint32_t *) _15;
  scanning: _17 = (long unsigned int) _14;
  scanning: *_16 ={v} _17;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return ret_18;


 local analysis of pfe_tmu_q_get_wred_zones
   scanning: return 8;
Function is locally const.


 local analysis of pfe_tmu_q_get_wred_probability
   scanning: if (zone_17(D) > 7)
  scanning: _1 = phy_18(D) + 250;
  scanning: if (_1 <= 3)
  scanning: queue_temp_22 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_20(D), phy_18(D), queue_16(D));
  scanning: if (queue_temp_22 == 255)
  scanning: _2 = zone_17(D) / 6;
  scanning: pos_23 = _2 + 5;
  scanning: _3 = queue_temp_29 * 8;
  scanning: _4 = _3 + pos_23;
  scanning: ret_25 = pfe_tmu_cntx_mem_read (cbus_base_va_20(D), phy_18(D), _4, &reg);
  scanning: if (ret_25 == 0)
  scanning: reg.20_5 = reg;
  scanning: _6 = zone_17(D) % 6;
  scanning: _7 = (unsigned int) _6;
  scanning: _8 = _7 * 5;
  scanning: _9 = reg.20_5 >> _8;
  scanning: _10 = _9 & 31;
  scanning: _11 = _10 * 100;
  scanning: _12 = _11 / 31;
  scanning: _13 = (unsigned char) _12;
  scanning: *prob_26(D) = _13;
    Indirect ref write is not const/pure
  scanning: return ret_14;


 local analysis of pfe_tmu_q_set_wred_probability
   scanning: if (prob_21(D) > 100)
  scanning: if (zone_22(D) > 7)
  scanning: _1 = phy_23(D) + 250;
  scanning: if (_1 <= 3)
  scanning: queue_temp_27 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_25(D), phy_23(D), queue_20(D));
  scanning: if (queue_temp_27 == 255)
  scanning: _2 = zone_22(D) / 6;
  scanning: pos_28 = _2 + 5;
  scanning: _3 = queue_temp_35 * 8;
  scanning: _4 = _3 + pos_28;
  scanning: ret_30 = pfe_tmu_cntx_mem_read (cbus_base_va_25(D), phy_23(D), _4, &reg);
  scanning: if (ret_30 == 0)
  scanning: _5 = zone_22(D) % 6;
  scanning: _6 = (unsigned int) _5;
  scanning: _7 = _6 * 5;
  scanning: _8 = 31 << _7;
  scanning: _9 = ~_8;
  scanning: reg.17_10 = reg;
  scanning: _11 = _9 & reg.17_10;
  scanning: _12 = (long unsigned int) prob_21(D);
  scanning: _13 = _12 * 31;
  scanning: _14 = _13 / 100;
  scanning: _15 = _14;
  scanning: _16 = _15 << _7;
  scanning: _17 = _11 | _16;
  scanning: reg = _17;
  scanning: ret_33 = pfe_tmu_cntx_mem_write (cbus_base_va_25(D), phy_23(D), _4, _17);
  scanning: return ret_18;
Function is locally const.


 local analysis of pfe_tmu_q_mode_set_wred
   scanning: if (max_5(D) > 511)
  scanning: if (min_6(D) > 511)
  scanning: _1 = phy_7(D) + 250;
  scanning: if (_1 <= 3)
  scanning: queue_temp_11 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_9(D), phy_7(D), queue_4(D));
  scanning: if (queue_temp_11 == 255)
  scanning: ret_13 = pfe_tmu_context_memory (cbus_base_va_9(D), phy_7(D), queue_temp_14, min_6(D), max_5(D));
  scanning: return ret_2;
Function is locally const.


 local analysis of pfe_tmu_q_mode_set_tail_drop
   scanning: if (max_3(D) > 255)
  scanning: ret_7 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_6(D), phy_4(D), queue_2(D), max_3(D));
  scanning: return ret_1;
Function is locally const.


 local analysis of pfe_tmu_q_mode_set_default
   scanning: _1 = phy_9(D) + 250;
  scanning: if (_1 <= 3)
  scanning: temp_13 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_11(D), phy_9(D), queue_8(D));
  scanning: if (temp_13 == 255)
  scanning: _2 = cbus_base_va_11(D) + 524364;
  scanning: _3 = (volatile uint32_t *) _2;
  scanning: *_3 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _4 = temp_17 * 8;
  scanning: _5 = _4 + 4;
  scanning: ret_16 = pfe_tmu_cntx_mem_write (cbus_base_va_11(D), phy_9(D), _5, 0);
  scanning: return ret_6;


 local analysis of pfe_tmu_q_get_mode
   scanning: _1 = phy_15(D) + 250;
  scanning: if (_1 <= 3)
  scanning: temp_19 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_17(D), phy_15(D), queue_14(D));
  scanning: if (temp_19 == 255)
  scanning: _2 = temp_31 * 8;
  scanning: _3 = _2 + 4;
  scanning: ret_21 = pfe_tmu_cntx_mem_read (cbus_base_va_17(D), phy_15(D), _3, &reg);
  scanning: if (ret_21 != 0)
  scanning: reg.13_4 = reg;
  scanning: _5 = reg.13_4 & 3;
  scanning: switch (_5) <default: <L9> [33.33%], case 1: <L7> [33.33%], case 2: <L8> [33.33%]>
  scanning: <L7>:
  scanning: _6 = reg.13_4 >> 11;
  scanning: _7 = _6 & 511;
  scanning: *max_22(D) = _7;
    Indirect ref write is not const/pure
  scanning: *min_24(D) = 0;
    Indirect ref write is not const/pure
  scanning: <L8>:
  scanning: _8 = reg.13_4 >> 11;
  scanning: _9 = _8 & 511;
  scanning: *max_22(D) = _9;
    Indirect ref write is not const/pure
  scanning: _10 = reg.13_4 >> 2;
  scanning: _11 = _10 & 511;
  scanning: *min_24(D) = _11;
    Indirect ref write is not const/pure
  scanning: <L9>:
  scanning: *max_22(D) = 0;
    Indirect ref write is not const/pure
  scanning: *min_24(D) = 0;
    Indirect ref write is not const/pure
  scanning: return mode_12;


 local analysis of pfe_tmu_q_cfg_get_tx_count
   scanning: _1 = phy_7(D) + 250;
  scanning: if (_1 <= 3)
  scanning: temp_11 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_9(D), phy_7(D), queue_6(D));
  scanning: if (temp_11 == 255)
  scanning: _2 = temp_15 * 8;
  scanning: _3 = _2 + 3;
  scanning: ret_14 = pfe_tmu_cntx_mem_read (cbus_base_va_9(D), phy_7(D), _3, cnt_12(D));
  scanning: return ret_4;
Function is locally const.


 local analysis of pfe_tmu_q_cfg_get_drop_count
   scanning: _1 = phy_12(D) + 250;
  scanning: if (_1 <= 3)
  scanning: temp_16 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_14(D), phy_12(D), queue_11(D));
  scanning: if (temp_16 == 255)
  scanning: _2 = temp_24 * 8;
  scanning: _3 = _2 + 2;
  scanning: ret_18 = pfe_tmu_cntx_mem_read (cbus_base_va_14(D), phy_12(D), _3, &drops);
  scanning: if (ret_18 == 0)
  scanning: if (phy_12(D) == 0)
  scanning: if (queue_11(D) == 0)
  scanning: _4 = pfe_feature_mgr_is_available ("drv_run_on_g3");
  scanning: if (_4 == 0)
  scanning: drops.11_5 = drops;
  scanning: _6 = drops.11_5 + 4294967040;
  scanning: *cnt_20(D) = _6;
    Indirect ref write is not const/pure
  scanning: drops.12_7 = drops;
  scanning: *cnt_20(D) = drops.12_7;
    Indirect ref write is not const/pure
  scanning: return ret_8;


 local analysis of pfe_tmu_q_cfg_get_fill_level
   scanning: _1 = phy_7(D) + 250;
  scanning: if (_1 <= 3)
  scanning: queue_temp_11 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_9(D), phy_7(D), queue_6(D));
  scanning: if (queue_temp_11 == 255)
  scanning: _2 = queue_temp_15 * 8;
  scanning: _3 = _2 + 1;
  scanning: ret_14 = pfe_tmu_cntx_mem_read (cbus_base_va_9(D), phy_7(D), _3, level_12(D));
  scanning: return ret_4;
Function is locally const.


 local analysis of pfe_tmu_context_memory
   scanning: _1 = queue_temp_12(D) * 8;
  scanning: _2 = _1 + 5;
  scanning: ret_17 = pfe_tmu_cntx_mem_write (cbus_base_va_14(D), phy_15(D), _2, 0);
  scanning: if (ret_17 == 0)
  scanning: _3 = _1 + 6;
  scanning: ret_19 = pfe_tmu_cntx_mem_write (cbus_base_va_14(D), phy_15(D), _3, 0);
  scanning: if (ret_19 == 0)
  scanning: _4 = (long unsigned int) max_20(D);
  scanning: _5 = _4 << 11;
  scanning: _6 = (long unsigned int) min_21(D);
  scanning: _7 = _6 << 2;
  scanning: _8 = _5 | _7;
  scanning: reg_22 = _8 | 2;
  scanning: _9 = _1 + 4;
  scanning: ret_24 = pfe_tmu_cntx_mem_write (cbus_base_va_14(D), phy_15(D), _9, reg_22);
  scanning: return ret_10;
Function is locally const.


 local analysis of pfe_tmu_hif_q_to_tmu_q
   scanning: _1 = phy_6(D) + 250;
  scanning: if (_1 <= 3)
  scanning: tmu_queue_2 = pfe_tmu_hif_q_to_tmu_q.part.0 (cbus_base_va_7(D), phy_6(D), queue_9(D));
  scanning: return tmu_queue_3;
Function is locally const.


 local analysis of pfe_tmu_cntx_mem_read
   scanning: _1 = cbus_base_va_21(D) + 524596;
  scanning: _2 = (volatile uint32_t *) _1;
  scanning: *_2 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: switch (phy_20(D)) <default: <L26> [33.33%], case 0 ... 2: <L25> [33.33%], case 3: <L23> [33.33%], case 4 ... 5: <L25> [33.33%], case 6 ... 9: <L23> [33.33%]>
  scanning: <L23>:
  scanning: <L25>:
  scanning: _3 = (long unsigned int) phy_temp_33;
  scanning: _4 = _3 << 16;
  scanning: _5 = _4 & 2031616;
  scanning: _6 = (long unsigned int) loc_25(D);
  scanning: _7 = cbus_base_va_21(D) + 524600;
  scanning: _8 = (volatile uint32_t *) _7;
  scanning: _9 = _5 | _6;
  scanning: *_8 ={v} _9;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _10 = cbus_base_va_21(D) + 524608;
  scanning: _11 = (volatile uint32_t *) _10;
  scanning: *_11 ={v} 2;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: oal_time_usleep (10);
  scanning: timeout_29 = timeout_16 + 4294967295;
  scanning: reg_30 ={v} *_11;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _12 = reg_30 & 4;
  scanning: if (_12 == 0)
  scanning: if (timeout_29 != 0)
  scanning: if (timeout_24 == 0)
  scanning: _13 = cbus_base_va_21(D) + 524604;
  scanning: _14 = (volatile uint32_t *) _13;
  scanning: _15 ={v} *_14;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: *data_31(D) = _15;
    Indirect ref write is not const/pure
  scanning: <L26>:
  scanning: return ret_17;


 local analysis of pfe_tmu_cntx_mem_write
   scanning: _1 = cbus_base_va_20(D) + 524596;
  scanning: _2 = (volatile uint32_t *) _1;
  scanning: *_2 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: switch (phy_19(D)) <default: <L25> [33.33%], case 0 ... 2: <L24> [33.33%], case 3: <L22> [33.33%], case 4 ... 5: <L24> [33.33%], case 6 ... 9: <L22> [33.33%]>
  scanning: <L22>:
  scanning: <L24>:
  scanning: _3 = (long unsigned int) phy_temp_32;
  scanning: _4 = _3 << 16;
  scanning: _5 = _4 & 2031616;
  scanning: _6 = (long unsigned int) loc_24(D);
  scanning: _7 = cbus_base_va_20(D) + 524600;
  scanning: _8 = (volatile uint32_t *) _7;
  scanning: _9 = _5 | _6;
  scanning: *_8 ={v} _9;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _10 = cbus_base_va_20(D) + 524604;
  scanning: _11 = (volatile uint32_t *) _10;
  scanning: *_11 ={v} data_26(D);
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _12 = cbus_base_va_20(D) + 524608;
  scanning: _13 = (volatile uint32_t *) _12;
  scanning: *_13 ={v} 3;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: oal_time_usleep (1);
  scanning: timeout_30 = timeout_15 + 4294967295;
  scanning: reg_31 ={v} *_13;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _14 = reg_31 & 4;
  scanning: if (_14 == 0)
  scanning: if (timeout_30 != 0)
  scanning: if (timeout_23 == 0)
  scanning: <L25>:
  scanning: return ret_16;


 local analysis of pfe_tmu_cfg_disable
   scanning: return;
Function is locally const.


 local analysis of pfe_tmu_cfg_enable
   scanning: return;
Function is locally const.


 local analysis of pfe_tmu_cfg_reset
   scanning: _1 = cbus_base_va_6(D) + 524344;
  scanning: _2 = (volatile uint32_t *) _1;
  scanning: *_2 ={v} 1;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: oal_time_usleep (10);
  scanning: timeout_10 = timeout_4 + 4294967295;
  scanning: reg_11 ={v} *_2;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _3 = reg_11 & 1;
  scanning: if (_3 != 0)
  scanning: if (timeout_10 != 0)
  scanning: return;


 local analysis of pfe_tmu_cfg_init
   scanning: _1 = pfe_feature_mgr_is_available ("drv_run_on_g3");
  scanning: if (_1 == 1)
  scanning: _2 = cbus_base_va_58(D) + 524364;
  scanning: _3 = (volatile uint32_t *) _2;
  scanning: regval_59 ={v} *_3;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: regval_60 = regval_59 | 4;
  scanning: *_3 ={v} regval_60;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _4 = cbus_base_va_58(D) + 524528;
  scanning: _5 = (volatile uint32_t *) _4;
  scanning: *_5 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _6 = cbus_base_va_58(D) + 524532;
  scanning: _7 = (volatile uint32_t *) _6;
  scanning: *_7 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _8 = cbus_base_va_58(D) + 524536;
  scanning: _9 = (volatile uint32_t *) _8;
  scanning: *_9 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _10 = cbus_base_va_58(D) + 524540;
  scanning: _11 = (volatile uint32_t *) _10;
  scanning: *_11 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _12 = cbus_base_va_58(D) + 524548;
  scanning: _13 = (volatile uint32_t *) _12;
  scanning: *_13 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: pfe_tmu_cfg_reset (cbus_base_va_58(D));
  scanning: _14 = cbus_base_va_58(D) + 524388;
  scanning: _15 = (volatile uint32_t *) _14;
  scanning: *_15 ={v} 3221930032;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _16 = cbus_base_va_58(D) + 524392;
  scanning: _17 = (volatile uint32_t *) _16;
  scanning: *_17 ={v} 3221946416;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _18 = cbus_base_va_58(D) + 524396;
  scanning: _19 = (volatile uint32_t *) _18;
  scanning: *_19 ={v} 3221962800;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _20 = cbus_base_va_58(D) + 524452;
  scanning: _21 = (volatile uint32_t *) _20;
  scanning: *_21 ={v} 3221864496;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _22 = cbus_base_va_58(D) + 524400;
  scanning: _23 = (volatile uint32_t *) _22;
  scanning: *_23 ={v} 3221864496;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _24 = cbus_base_va_58(D) + 524408;
  scanning: _25 = (volatile uint32_t *) _24;
  scanning: *_25 ={v} 3222061072;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _26 = phy_if_id_temp[ii_39];
  scanning: pfe_tmu_sch_cfg_init (cbus_base_va_58(D), _26, 0);
  scanning: pfe_tmu_sch_cfg_init (cbus_base_va_58(D), _26, 1);
  scanning: pfe_tmu_shp_cfg_init (cbus_base_va_58(D), _26, 0);
  scanning: pfe_tmu_shp_cfg_init (cbus_base_va_58(D), _26, 1);
  scanning: pfe_tmu_shp_cfg_init (cbus_base_va_58(D), _26, 2);
  scanning: pfe_tmu_shp_cfg_init (cbus_base_va_58(D), _26, 3);
  scanning: ret_81 = pfe_tmu_sch_cfg_bind_queue (cbus_base_va_58(D), _26, 1, queue_37, queue_37);
  scanning: if (ret_81 != 0)
  scanning: queue_82 = queue_37 + 1;
  scanning: if (queue_37 != 8)
  scanning: if (ret_41 == 0)
  scanning: ret_84 = pfe_tmu_sch_cfg_set_rate_mode (cbus_base_va_58(D), _26, 1, 0);
  scanning: if (ret_84 != 0)
  scanning: _97 = (long unsigned int) _26;
  scanning: _98 = _97 + 129;
  scanning: _99 = _98 * 16;
  scanning: _100 = _99 + 1;
  scanning: _101 = _100 * 256;
  scanning: sch_base_va_102 = cbus_base_va_58(D) + _101;
  scanning: sch_base_va.32_103 = (volatile uint32_t *) sch_base_va_102;
  scanning: *sch_base_va.32_103 ={v} 3;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: if (ii_39 == 3)
  scanning: ret_104 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_58(D), _26, queue_38, 16);
  scanning: ret_105 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_58(D), _26, queue_38, 31);
  scanning: if (ret_42 != 0)
  scanning: queue_85 = queue_38 + 1;
  scanning: if (queue_38 != 8)
  scanning: if (ret_44 != 0)
  scanning: ii_86 = ii_39 + 1;
  scanning: if (ii_39 != 6)
  scanning: if (ret_46 == 0)
  scanning: _27 = cbus_base_va_58(D) + 524348;
  scanning: _28 = (volatile uint32_t *) _27;
  scanning: *_28 ={v} 3221782580;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _29 = cbus_base_va_58(D) + 524368;
  scanning: _30 = (volatile uint32_t *) _29;
  scanning: *_30 ={v} 3221798964;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _31 = cbus_base_va_58(D) + 524352;
  scanning: _32 = (volatile uint32_t *) _31;
  scanning: *_32 ={v} 256;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _33 = cbus_base_va_58(D) + 524292;
  scanning: _34 = (volatile uint32_t *) _33;
  scanning: *_34 ={v} 252;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: *_5 ={v} 15;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: *_7 ={v} 15;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: *_9 ={v} 15;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _35 = cbus_base_va_58(D) + 524592;
  scanning: _36 = (volatile uint32_t *) _35;
  scanning: *_36 ={v} 15;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: *_11 ={v} 15;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: *_13 ={v} 15;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: return ret_46;


 local analysis of pfe_tmu_q_reset_tail_drop_policy
   scanning: if (ii_8 <= 2)
  scanning: _1 = phy_if_id_temp[ii_8];
  scanning: ret_28 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_23(D), _1, 0, 150);
  scanning: if (ret_28 != 0)
  scanning: ret_29 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_23(D), _1, queue_5, 15);
  scanning: if (ret_29 != 0)
  scanning: queue_26 = queue_5 + 1;
  scanning: if (queue_5 != 8)
  scanning: if (ii_8 == 3)
  scanning: _2 = 3;
  scanning: ret_30 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_23(D), _2, queue_6, 16);
  scanning: if (ret_30 != 0)
  scanning: queue_25 = queue_6 + 1;
  scanning: if (queue_6 != 8)
  scanning: _3 = phy_if_id_temp[ii_8];
  scanning: ret_31 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_23(D), _3, queue_7, 31);
  scanning: if (ret_31 != 0)
  scanning: queue_24 = queue_7 + 1;
  scanning: if (queue_7 != 8)
  scanning: if (ret_12 != 0)
  scanning: ii_27 = ii_8 + 1;
  scanning: if (ii_8 != 6)
  scanning: return _14;
;; 5 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1 2 3 4 20 5 6 7 8 22 21 9 10 11 12 13 14 15 16 17 18 19
;;
;; Loop 1
;;  header 18, latch 17
;;  depth 1, outer 0
;;  nodes: 18 17 15 7 11 12 14 5 9 13 22 8 3 10 21 6 20 4
;;
;; Loop 4
;;  header 7, latch 6
;;  depth 2, outer 1
;;  nodes: 7 6 5
;;
;; Loop 3
;;  header 11, latch 10
;;  depth 2, outer 1
;;  nodes: 11 10 9
;;
;; Loop 2
;;  header 14, latch 13
;;  depth 2, outer 1
;;  nodes: 14 13 12
;; 2 succs { 18 }
;; 3 succs { 4 8 }
;; 4 succs { 19 20 }
;; 20 succs { 7 }
;; 5 succs { 15 6 }
;; 6 succs { 7 }
;; 7 succs { 5 15 }
;; 8 succs { 21 22 }
;; 22 succs { 14 }
;; 21 succs { 11 }
;; 9 succs { 15 10 }
;; 10 succs { 11 }
;; 11 succs { 9 15 }
;; 12 succs { 15 13 }
;; 13 succs { 14 }
;; 14 succs { 12 15 }
;; 15 succs { 16 17 }
;; 16 succs { 19 }
;; 17 succs { 18 }
;; 18 succs { 3 19 }
;; 19 succs { 1 }
Function is locally const.


 local analysis of pfe_tmu_reclaim_init
   scanning: dropped_packets = 0;
  scanning: _1 = cbus_base_va_42(D) + 524596;
  scanning: _2 = (volatile uint32_t *) _1;
  scanning: *_2 ={v} 1;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _3 = ii_31 << 8;
  scanning: _4 = _3;
  scanning: _41 = queue_30;
  scanning: _5 = (long unsigned int) _41;
  scanning: _6 = cbus_base_va_42(D) + 524308;
  scanning: _7 = (volatile uint32_t *) _6;
  scanning: _8 = _4 | _5;
  scanning: *_7 ={v} _8;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: __asm__ __volatile__("nop" :  :  : "memory");
    memory asm clobber is not const/pure
    volatile is not const/pure
  scanning: _9 = cbus_base_va_42(D) + 524312;
  scanning: _10 = (volatile uint32_t *) _9;
  scanning: *_10 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _11 = cbus_base_va_42(D) + 524316;
  scanning: _12 = (volatile uint32_t *) _11;
  scanning: *_12 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _13 = cbus_base_va_42(D) + 524320;
  scanning: _14 = (volatile uint32_t *) _13;
  scanning: *_14 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _15 = cbus_base_va_42(D) + 524324;
  scanning: _16 = (volatile uint32_t *) _15;
  scanning: *_16 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _17 = cbus_base_va_42(D) + 524328;
  scanning: _18 = (volatile uint32_t *) _17;
  scanning: *_18 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _19 = cbus_base_va_42(D) + 524332;
  scanning: _20 = (volatile uint32_t *) _19;
  scanning: *_20 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _21 = cbus_base_va_42(D) + 524336;
  scanning: _22 = (volatile uint32_t *) _21;
  scanning: *_22 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: _23 = cbus_base_va_42(D) + 524340;
  scanning: _24 = (volatile uint32_t *) _23;
  scanning: *_24 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: queue_64 = queue_30 + 1;
  scanning: if (queue_30 != 8)
  scanning: ii_53 = ii_31 + 1;
  scanning: if (ii_31 != 6)
  scanning: _25 = pfe_feature_mgr_is_available ("drv_run_on_g3");
  scanning: if (_25 == 0)
  scanning: _26 = pfe_tmu_context_memory (cbus_base_va_42(D), 0, 0, 0, 0);
  scanning: if (_26 == 0)
  scanning: _27 = cbus_base_va_42(D) + 524300;
  scanning: _28 = (volatile uint32_t *) _27;
  scanning: *_28 ={v} 0;
    Volatile stmt is not const/pure
    Volatile indirect ref is not const/pure
  scanning: ii_51 = ii_32 + 1;
  scanning: if (ii_32 != 256)
  scanning: oal_time_usleep (10);
  scanning: pfe_tmu_cntx_mem_read (cbus_base_va_42(D), 0, 2, &dropped_packets);
  scanning: retries_48 = retries_33 + 1;
  scanning: dropped_packets.1_29 = dropped_packets;
  scanning: if (dropped_packets.1_29 != 256)
  scanning: if (retries_48 != 10)
  scanning: pfe_tmu_q_mode_set_default (cbus_base_va_42(D), 0, 0);
  scanning: return;
Function is locally looping.
Function can locally free.


 local analysis of pfe_tmu_cfg_get_phy_config
   scanning: if (_2 == phy_6(D))
  scanning: phy_config_8 = &tmu_phys[ii_1];
  scanning: ii_7 = ii_3 + 1;
  scanning: _2 = tmu_phys[ii_3].id;
  scanning: if (_2 != 10)
  scanning: return phy_config_4;
;; 2 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1 2 3 4 5 6 7
;;
;; Loop 1
;;  header 6, latch 5
;;  depth 1, outer 0
;;  nodes: 6 5 3
;; 2 succs { 6 }
;; 3 succs { 4 5 }
;; 4 succs { 7 }
;; 5 succs { 6 }
;; 6 succs { 3 7 }
;; 7 succs { 1 }
Function is locally const.
callgraph:

pfe_tmu_cfg_enable/79 (pfe_tmu_cfg_enable) @06dc4700
  Type: function definition analyzed
  Visibility: public
  next sharing asm name: 28
  Aux: @06d18340
  References: 
  Referring: 
  Function pfe_tmu_cfg_enable/79 is inline copy in pfe_tmu_cfg_disable/29
  Clone of pfe_tmu_cfg_enable/28
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local icf_merged optimize_size
  Called by: pfe_tmu_cfg_disable/29 (inlined) (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_q_mode_set_tail_drop.part.0/69 (pfe_tmu_q_mode_set_tail_drop.part.0) @06d9bee0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly artificial
  Aux: @06d18360
  References: 
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
  Called by: pfe_tmu_cfg_init/26 (109858038 (estimated locally),3.06 per call) pfe_tmu_cfg_init/26 (31839419 (estimated locally),0.89 per call) pfe_tmu_q_reset_tail_drop_policy/25 (831159216 (estimated locally),9.75 per call) pfe_tmu_q_reset_tail_drop_policy/25 (240889301 (estimated locally),2.83 per call) pfe_tmu_q_reset_tail_drop_policy/25 (939524096 (estimated locally),11.02 per call) pfe_tmu_q_reset_tail_drop_policy/25 (192953658 (estimated locally),2.26 per call) pfe_tmu_q_mode_set_tail_drop/39 (697932184 (estimated locally),0.65 per call) 
  Calls: pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) pfe_tmu_cntx_mem_write/30 (957133463 (estimated locally),0.89 per call) 
pfe_tmu_hif_q_to_tmu_q.part.0/68 (pfe_tmu_hif_q_to_tmu_q.part.0) @06b510e0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly artificial
  Aux: @06d18420
  References: 
  Referring: 
  Function pfe_tmu_hif_q_to_tmu_q.part.0/68 is inline copy in pfe_tmu_hif_q_to_tmu_q/32
  Availability: local
  Function flags: count:137140916 (estimated locally) first_run:1 body local split_part optimize_size
  Called by: pfe_tmu_hif_q_to_tmu_q/32 (inlined) (137140916 (estimated locally),0.65 per call) 
  Calls: 
oal_time_usleep/67 (oal_time_usleep) @076f91c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_tmu_reclaim_init/24 (21951157 (estimated locally),1.10 per call) pfe_tmu_cfg_reset/27 (1073741824 (estimated locally),15.52 per call) pfe_tmu_cntx_mem_read/31 (1073741824 (estimated locally),6.52 per call) pfe_tmu_cntx_mem_write/30 (1073741824 (estimated locally),10.34 per call) 
  Calls: 
pfe_feature_mgr_is_available/66 (pfe_feature_mgr_is_available) @076f90e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_tmu_cfg_init/26 (35862108 (estimated locally),1.00 per call) pfe_tmu_reclaim_init/24 (19889078 (estimated locally),1.00 per call) pfe_tmu_q_cfg_get_drop_count/35 (78963511 (estimated locally),0.07 per call) 
  Calls: 
pfe_tmu_sch_cfg_get_bound_sched_output/65 (pfe_tmu_sch_cfg_get_bound_sched_output) @076eae00
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18460
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_bind_sched_output/64 (pfe_tmu_sch_cfg_bind_sched_output) @076ea9a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18220
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_sch_cfg_bind_queue/62 (223547679 (estimated locally),0.21 per call) 
pfe_tmu_sch_cfg_get_bound_queue/63 (pfe_tmu_sch_cfg_get_bound_queue) @076ea620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18280
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_bind_queue/62 (pfe_tmu_sch_cfg_bind_queue) @076ea1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d183c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_sch_cfg_bind_sched_output/64 (223547679 (estimated locally),0.21 per call) pfe_tmu_cfg_init/26 (954449108 (estimated locally),26.61 per call) 
  Calls: 
pfe_tmu_sch_cfg_get_input_weight/61 (pfe_tmu_sch_cfg_get_input_weight) @076e4460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18400
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_set_input_weight/60 (pfe_tmu_sch_cfg_set_input_weight) @076e4c40
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d180a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_get_algo/59 (pfe_tmu_sch_cfg_get_algo) @076e47e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d181c0
  References: CSWTCH.70/74 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_set_algo/58 (pfe_tmu_sch_cfg_set_algo) @076e4380
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d181e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_sch_cfg_get_rate_mode/57 (74905668 (estimated locally),0.07 per call) 
pfe_tmu_sch_cfg_get_rate_mode/57 (pfe_tmu_sch_cfg_get_rate_mode) @076e4000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d180c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_sch_cfg_set_algo/58 (74905668 (estimated locally),0.07 per call) 
  Calls: 
pfe_tmu_sch_cfg_set_rate_mode/56 (pfe_tmu_sch_cfg_set_rate_mode) @06e511c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18140
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (26472441 (estimated locally),0.74 per call) 
  Calls: 
pfe_tmu_sch_cfg_init/55 (pfe_tmu_sch_cfg_init) @06e51c40
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d180e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) 
  Calls: 
pfe_tmu_shp_cfg_init/54 (pfe_tmu_shp_cfg_init) @06e518c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d181a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) 
  Calls: pfe_tmu_shp_cfg_disable/53 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_disable/53 (pfe_tmu_shp_cfg_disable) @06e51540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18240
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_shp_cfg_init/54 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_shp_cfg_get_idle_slope/52 (pfe_tmu_shp_cfg_get_idle_slope) @06e510e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18380
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_shp_cfg_get_rate_mode/50 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_set_idle_slope/51 (pfe_tmu_shp_cfg_set_idle_slope) @06e4bee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18100
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_shp_cfg_get_rate_mode/50 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_get_rate_mode/50 (pfe_tmu_shp_cfg_get_rate_mode) @06e4b9a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18200
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_shp_cfg_get_idle_slope/52 (1073741824 (estimated locally),1.00 per call) pfe_tmu_shp_cfg_set_idle_slope/51 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_shp_cfg_set_rate_mode/49 (pfe_tmu_shp_cfg_set_rate_mode) @06e4b460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18120
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_enable/48 (pfe_tmu_shp_cfg_enable) @06e4b000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d182a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_get_position/47 (pfe_tmu_shp_cfg_get_position) @075f7ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18160
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_set_position/46 (pfe_tmu_shp_cfg_set_position) @075f7a80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18180
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_get_limits/45 (pfe_tmu_shp_cfg_get_limits) @075f7620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d182c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_set_limits/44 (pfe_tmu_shp_cfg_set_limits) @075f70e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18740
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_q_get_wred_zones/43 (pfe_tmu_q_get_wred_zones) @075e8b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_q_get_wred_probability/42 (pfe_tmu_q_get_wred_probability) @075e8620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d187a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (622136751 (estimated locally),0.58 per call) pfe_tmu_hif_q_to_tmu_q/32 (348966093 (estimated locally),0.33 per call) 
pfe_tmu_q_set_wred_probability/41 (pfe_tmu_q_set_wred_probability) @075e80e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18520
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_write/30 (133448333 (estimated locally),0.12 per call) pfe_tmu_cntx_mem_read/31 (404388888 (estimated locally),0.38 per call) pfe_tmu_hif_q_to_tmu_q/32 (226827960 (estimated locally),0.21 per call) 
pfe_tmu_q_mode_set_wred/40 (pfe_tmu_q_mode_set_wred) @075e8d20
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18720
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_context_memory/33 (404388888 (estimated locally),0.38 per call) pfe_tmu_hif_q_to_tmu_q/32 (226827960 (estimated locally),0.21 per call) 
pfe_tmu_q_mode_set_tail_drop/39 (pfe_tmu_q_mode_set_tail_drop) @075e8a80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d186c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (697932184 (estimated locally),0.65 per call) 
pfe_tmu_q_mode_set_default/38 (pfe_tmu_q_mode_set_default) @075e87e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18640
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_reclaim_init/24 (3281698 (estimated locally),0.17 per call) 
  Calls: pfe_tmu_cntx_mem_write/30 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_get_mode/37 (pfe_tmu_q_get_mode) @075e8540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18560
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_tx_count/36 (pfe_tmu_q_cfg_get_tx_count) @075e82a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18540
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_drop_count/35 (pfe_tmu_q_cfg_get_drop_count) @075e8000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18580
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_feature_mgr_is_available/66 (78963511 (estimated locally),0.07 per call) pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_fill_level/34 (pfe_tmu_q_cfg_get_fill_level) @075b9b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_context_memory/33 (pfe_tmu_context_memory) @075b9380
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d18760
  References: 
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_mode_set_wred/40 (404388888 (estimated locally),0.38 per call) pfe_tmu_reclaim_init/24 (6563396 (estimated locally),0.33 per call) 
  Calls: pfe_tmu_cntx_mem_write/30 (116930485 (estimated locally),0.11 per call) pfe_tmu_cntx_mem_write/30 (354334802 (estimated locally),0.33 per call) pfe_tmu_cntx_mem_write/30 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_hif_q_to_tmu_q/32 (pfe_tmu_hif_q_to_tmu_q) @075b9e00
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d18780
  References: 
  Referring: 
  Availability: local
  Function flags: count:210986025 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_get_wred_probability/42 (348966093 (estimated locally),0.33 per call) pfe_tmu_q_set_wred_probability/41 (226827960 (estimated locally),0.21 per call) pfe_tmu_q_mode_set_wred/40 (226827960 (estimated locally),0.21 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_mode_set_default/38 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_get_mode/37 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_tx_count/36 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_drop_count/35 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_fill_level/34 (536870913 (estimated locally),0.50 per call) 
  Calls: pfe_tmu_hif_q_to_tmu_q.part.0/68 (inlined) (137140916 (estimated locally),0.65 per call) 
pfe_tmu_cntx_mem_read/31 (pfe_tmu_cntx_mem_read) @075b9a80
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d187c0
  References: 
  Referring: 
  Availability: local
  Function flags: count:164701623 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_get_wred_probability/42 (622136751 (estimated locally),0.58 per call) pfe_tmu_q_set_wred_probability/41 (404388888 (estimated locally),0.38 per call) pfe_tmu_reclaim_init/24 (21951157 (estimated locally),1.10 per call) pfe_tmu_q_get_mode/37 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_tx_count/36 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_drop_count/35 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_fill_level/34 (957133463 (estimated locally),0.89 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),6.52 per call) 
pfe_tmu_cntx_mem_write/30 (pfe_tmu_cntx_mem_write) @075b9620
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d18660
  References: 
  Referring: 
  Availability: local
  Function flags: count:103814371 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_set_wred_probability/41 (133448333 (estimated locally),0.12 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_mode_set_default/38 (957133463 (estimated locally),0.89 per call) pfe_tmu_context_memory/33 (116930485 (estimated locally),0.11 per call) pfe_tmu_context_memory/33 (354334802 (estimated locally),0.33 per call) pfe_tmu_context_memory/33 (1073741824 (estimated locally),1.00 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),10.34 per call) 
pfe_tmu_cfg_disable/29 (pfe_tmu_cfg_disable) @075b92a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d187e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: pfe_tmu_cfg_enable/79 (inlined) (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_cfg_enable/28 (pfe_tmu_cfg_enable) @075b9000
  Type: function definition analyzed
  Visibility: externally_visible public
  previous sharing asm name: 79
  Aux: @06d184a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: 
pfe_tmu_cfg_reset/27 (pfe_tmu_cfg_reset) @075439a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18680
  References: 
  Referring: 
  Availability: available
  Function flags: count:69202660 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (35862108 (estimated locally),1.00 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),15.52 per call) 
pfe_tmu_cfg_init/26 (pfe_tmu_cfg_init) @07543ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18600
  References: phy_if_id_temp/22 (read)
  Referring: 
  Availability: available
  Function flags: count:35862108 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (109858038 (estimated locally),3.06 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (31839419 (estimated locally),0.89 per call) pfe_tmu_sch_cfg_set_rate_mode/56 (26472441 (estimated locally),0.74 per call) pfe_tmu_sch_cfg_bind_queue/62 (954449108 (estimated locally),26.61 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_sch_cfg_init/55 (171787418 (estimated locally),4.79 per call) pfe_tmu_sch_cfg_init/55 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_reset/27 (35862108 (estimated locally),1.00 per call) pfe_feature_mgr_is_available/66 (35862108 (estimated locally),1.00 per call) 
pfe_tmu_q_reset_tail_drop_policy/25 (pfe_tmu_q_reset_tail_drop_policy) @07543b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185a0
  References: phy_if_id_temp/22 (read)phy_if_id_temp/22 (read)
  Referring: 
  Availability: available
  Function flags: count:85268238 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (831159216 (estimated locally),9.75 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (240889301 (estimated locally),2.83 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (939524096 (estimated locally),11.02 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (192953658 (estimated locally),2.26 per call) 
pfe_tmu_reclaim_init/24 (pfe_tmu_reclaim_init) @075438c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d184c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:19889078 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_default/38 (3281698 (estimated locally),0.17 per call) pfe_tmu_cntx_mem_read/31 (21951157 (estimated locally),1.10 per call) oal_time_usleep/67 (21951157 (estimated locally),1.10 per call) pfe_tmu_context_memory/33 (6563396 (estimated locally),0.33 per call) pfe_feature_mgr_is_available/66 (19889078 (estimated locally),1.00 per call) 
pfe_tmu_cfg_get_phy_config/23 (pfe_tmu_cfg_get_phy_config) @07543620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18840
  References: tmu_phys/21 (addr)tmu_phys/21 (read)
  Referring: 
  Availability: available
  Function flags: count:114863532 (estimated locally) body optimize_size
  Called by: 
  Calls: 


 ordered call graph: reduced for nothrow
pfe_tmu_cfg_enable/79 (pfe_tmu_cfg_enable) @06dc4700
  Type: function definition analyzed
  Visibility: public
  next sharing asm name: 28
  Aux: @06d18340
  References: 
  Referring: 
  Function pfe_tmu_cfg_enable/79 is inline copy in pfe_tmu_cfg_disable/29
  Clone of pfe_tmu_cfg_enable/28
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local icf_merged optimize_size
  Called by: pfe_tmu_cfg_disable/29 (inlined) (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_q_mode_set_tail_drop.part.0/69 (pfe_tmu_q_mode_set_tail_drop.part.0) @06d9bee0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly artificial
  Aux: @06d18360
  References: 
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
  Called by: pfe_tmu_cfg_init/26 (109858038 (estimated locally),3.06 per call) pfe_tmu_cfg_init/26 (31839419 (estimated locally),0.89 per call) pfe_tmu_q_reset_tail_drop_policy/25 (831159216 (estimated locally),9.75 per call) pfe_tmu_q_reset_tail_drop_policy/25 (240889301 (estimated locally),2.83 per call) pfe_tmu_q_reset_tail_drop_policy/25 (939524096 (estimated locally),11.02 per call) pfe_tmu_q_reset_tail_drop_policy/25 (192953658 (estimated locally),2.26 per call) pfe_tmu_q_mode_set_tail_drop/39 (697932184 (estimated locally),0.65 per call) 
  Calls: pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) pfe_tmu_cntx_mem_write/30 (957133463 (estimated locally),0.89 per call) 
pfe_tmu_hif_q_to_tmu_q.part.0/68 (pfe_tmu_hif_q_to_tmu_q.part.0) @06b510e0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly artificial
  Aux: @06d18420
  References: 
  Referring: 
  Function pfe_tmu_hif_q_to_tmu_q.part.0/68 is inline copy in pfe_tmu_hif_q_to_tmu_q/32
  Availability: local
  Function flags: count:137140916 (estimated locally) first_run:1 body local split_part optimize_size
  Called by: pfe_tmu_hif_q_to_tmu_q/32 (inlined) (137140916 (estimated locally),0.65 per call) 
  Calls: 
pfe_tmu_sch_cfg_get_bound_sched_output/65 (pfe_tmu_sch_cfg_get_bound_sched_output) @076eae00
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18460
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_bind_sched_output/64 (pfe_tmu_sch_cfg_bind_sched_output) @076ea9a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18220
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_sch_cfg_bind_queue/62 (223547679 (estimated locally),0.21 per call) 
pfe_tmu_sch_cfg_get_bound_queue/63 (pfe_tmu_sch_cfg_get_bound_queue) @076ea620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18280
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_bind_queue/62 (pfe_tmu_sch_cfg_bind_queue) @076ea1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d183c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_sch_cfg_bind_sched_output/64 (223547679 (estimated locally),0.21 per call) pfe_tmu_cfg_init/26 (954449108 (estimated locally),26.61 per call) 
  Calls: 
pfe_tmu_sch_cfg_get_input_weight/61 (pfe_tmu_sch_cfg_get_input_weight) @076e4460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18400
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_set_input_weight/60 (pfe_tmu_sch_cfg_set_input_weight) @076e4c40
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d180a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_get_algo/59 (pfe_tmu_sch_cfg_get_algo) @076e47e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d181c0
  References: CSWTCH.70/74 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_set_algo/58 (pfe_tmu_sch_cfg_set_algo) @076e4380
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d181e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_sch_cfg_get_rate_mode/57 (74905668 (estimated locally),0.07 per call) 
pfe_tmu_sch_cfg_get_rate_mode/57 (pfe_tmu_sch_cfg_get_rate_mode) @076e4000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d180c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_sch_cfg_set_algo/58 (74905668 (estimated locally),0.07 per call) 
  Calls: 
pfe_tmu_sch_cfg_set_rate_mode/56 (pfe_tmu_sch_cfg_set_rate_mode) @06e511c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18140
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (26472441 (estimated locally),0.74 per call) 
  Calls: 
pfe_tmu_sch_cfg_init/55 (pfe_tmu_sch_cfg_init) @06e51c40
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d180e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) 
  Calls: 
pfe_tmu_shp_cfg_init/54 (pfe_tmu_shp_cfg_init) @06e518c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d181a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) 
  Calls: pfe_tmu_shp_cfg_disable/53 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_disable/53 (pfe_tmu_shp_cfg_disable) @06e51540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18240
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_shp_cfg_init/54 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_shp_cfg_get_idle_slope/52 (pfe_tmu_shp_cfg_get_idle_slope) @06e510e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18380
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_shp_cfg_get_rate_mode/50 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_set_idle_slope/51 (pfe_tmu_shp_cfg_set_idle_slope) @06e4bee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18100
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_shp_cfg_get_rate_mode/50 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_get_rate_mode/50 (pfe_tmu_shp_cfg_get_rate_mode) @06e4b9a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18200
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_shp_cfg_get_idle_slope/52 (1073741824 (estimated locally),1.00 per call) pfe_tmu_shp_cfg_set_idle_slope/51 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_shp_cfg_set_rate_mode/49 (pfe_tmu_shp_cfg_set_rate_mode) @06e4b460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18120
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_enable/48 (pfe_tmu_shp_cfg_enable) @06e4b000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d182a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_get_position/47 (pfe_tmu_shp_cfg_get_position) @075f7ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18160
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_set_position/46 (pfe_tmu_shp_cfg_set_position) @075f7a80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18180
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_get_limits/45 (pfe_tmu_shp_cfg_get_limits) @075f7620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d182c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_set_limits/44 (pfe_tmu_shp_cfg_set_limits) @075f70e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18740
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_q_get_wred_zones/43 (pfe_tmu_q_get_wred_zones) @075e8b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_q_get_wred_probability/42 (pfe_tmu_q_get_wred_probability) @075e8620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d187a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (622136751 (estimated locally),0.58 per call) pfe_tmu_hif_q_to_tmu_q/32 (348966093 (estimated locally),0.33 per call) 
pfe_tmu_q_set_wred_probability/41 (pfe_tmu_q_set_wred_probability) @075e80e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18520
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_write/30 (133448333 (estimated locally),0.12 per call) pfe_tmu_cntx_mem_read/31 (404388888 (estimated locally),0.38 per call) pfe_tmu_hif_q_to_tmu_q/32 (226827960 (estimated locally),0.21 per call) 
pfe_tmu_q_mode_set_wred/40 (pfe_tmu_q_mode_set_wred) @075e8d20
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18720
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_context_memory/33 (404388888 (estimated locally),0.38 per call) pfe_tmu_hif_q_to_tmu_q/32 (226827960 (estimated locally),0.21 per call) 
pfe_tmu_q_mode_set_tail_drop/39 (pfe_tmu_q_mode_set_tail_drop) @075e8a80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d186c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (697932184 (estimated locally),0.65 per call) 
pfe_tmu_q_mode_set_default/38 (pfe_tmu_q_mode_set_default) @075e87e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18640
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_reclaim_init/24 (3281698 (estimated locally),0.17 per call) 
  Calls: pfe_tmu_cntx_mem_write/30 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_get_mode/37 (pfe_tmu_q_get_mode) @075e8540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18560
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_tx_count/36 (pfe_tmu_q_cfg_get_tx_count) @075e82a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18540
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_drop_count/35 (pfe_tmu_q_cfg_get_drop_count) @075e8000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18580
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_feature_mgr_is_available/66 (78963511 (estimated locally),0.07 per call) pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_fill_level/34 (pfe_tmu_q_cfg_get_fill_level) @075b9b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_context_memory/33 (pfe_tmu_context_memory) @075b9380
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d18760
  References: 
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_mode_set_wred/40 (404388888 (estimated locally),0.38 per call) pfe_tmu_reclaim_init/24 (6563396 (estimated locally),0.33 per call) 
  Calls: pfe_tmu_cntx_mem_write/30 (116930485 (estimated locally),0.11 per call) pfe_tmu_cntx_mem_write/30 (354334802 (estimated locally),0.33 per call) pfe_tmu_cntx_mem_write/30 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_hif_q_to_tmu_q/32 (pfe_tmu_hif_q_to_tmu_q) @075b9e00
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d18780
  References: 
  Referring: 
  Availability: local
  Function flags: count:210986025 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_get_wred_probability/42 (348966093 (estimated locally),0.33 per call) pfe_tmu_q_set_wred_probability/41 (226827960 (estimated locally),0.21 per call) pfe_tmu_q_mode_set_wred/40 (226827960 (estimated locally),0.21 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_mode_set_default/38 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_get_mode/37 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_tx_count/36 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_drop_count/35 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_fill_level/34 (536870913 (estimated locally),0.50 per call) 
  Calls: pfe_tmu_hif_q_to_tmu_q.part.0/68 (inlined) (137140916 (estimated locally),0.65 per call) 
pfe_tmu_cntx_mem_read/31 (pfe_tmu_cntx_mem_read) @075b9a80
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d187c0
  References: 
  Referring: 
  Availability: local
  Function flags: count:164701623 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_get_wred_probability/42 (622136751 (estimated locally),0.58 per call) pfe_tmu_q_set_wred_probability/41 (404388888 (estimated locally),0.38 per call) pfe_tmu_reclaim_init/24 (21951157 (estimated locally),1.10 per call) pfe_tmu_q_get_mode/37 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_tx_count/36 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_drop_count/35 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_fill_level/34 (957133463 (estimated locally),0.89 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),6.52 per call) 
pfe_tmu_cntx_mem_write/30 (pfe_tmu_cntx_mem_write) @075b9620
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d18660
  References: 
  Referring: 
  Availability: local
  Function flags: count:103814371 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_set_wred_probability/41 (133448333 (estimated locally),0.12 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_mode_set_default/38 (957133463 (estimated locally),0.89 per call) pfe_tmu_context_memory/33 (116930485 (estimated locally),0.11 per call) pfe_tmu_context_memory/33 (354334802 (estimated locally),0.33 per call) pfe_tmu_context_memory/33 (1073741824 (estimated locally),1.00 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),10.34 per call) 
pfe_tmu_cfg_disable/29 (pfe_tmu_cfg_disable) @075b92a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d187e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: pfe_tmu_cfg_enable/79 (inlined) (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_cfg_enable/28 (pfe_tmu_cfg_enable) @075b9000
  Type: function definition analyzed
  Visibility: externally_visible public
  previous sharing asm name: 79
  Aux: @06d184a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: 
pfe_tmu_cfg_reset/27 (pfe_tmu_cfg_reset) @075439a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18680
  References: 
  Referring: 
  Availability: available
  Function flags: count:69202660 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (35862108 (estimated locally),1.00 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),15.52 per call) 
pfe_tmu_cfg_init/26 (pfe_tmu_cfg_init) @07543ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18600
  References: phy_if_id_temp/22 (read)
  Referring: 
  Availability: available
  Function flags: count:35862108 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (109858038 (estimated locally),3.06 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (31839419 (estimated locally),0.89 per call) pfe_tmu_sch_cfg_set_rate_mode/56 (26472441 (estimated locally),0.74 per call) pfe_tmu_sch_cfg_bind_queue/62 (954449108 (estimated locally),26.61 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_sch_cfg_init/55 (171787418 (estimated locally),4.79 per call) pfe_tmu_sch_cfg_init/55 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_reset/27 (35862108 (estimated locally),1.00 per call) pfe_feature_mgr_is_available/66 (35862108 (estimated locally),1.00 per call) 
pfe_tmu_q_reset_tail_drop_policy/25 (pfe_tmu_q_reset_tail_drop_policy) @07543b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185a0
  References: phy_if_id_temp/22 (read)phy_if_id_temp/22 (read)
  Referring: 
  Availability: available
  Function flags: count:85268238 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (831159216 (estimated locally),9.75 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (240889301 (estimated locally),2.83 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (939524096 (estimated locally),11.02 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (192953658 (estimated locally),2.26 per call) 
pfe_tmu_reclaim_init/24 (pfe_tmu_reclaim_init) @075438c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d184c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:19889078 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_default/38 (3281698 (estimated locally),0.17 per call) pfe_tmu_cntx_mem_read/31 (21951157 (estimated locally),1.10 per call) oal_time_usleep/67 (21951157 (estimated locally),1.10 per call) pfe_tmu_context_memory/33 (6563396 (estimated locally),0.33 per call) pfe_feature_mgr_is_available/66 (19889078 (estimated locally),1.00 per call) 
pfe_tmu_cfg_get_phy_config/23 (pfe_tmu_cfg_get_phy_config) @07543620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18840
  References: tmu_phys/21 (addr)tmu_phys/21 (read)
  Referring: 
  Availability: available
  Function flags: count:114863532 (estimated locally) body optimize_size
  Called by: 
  Calls: 



MALLOC LATTICE Initial:
pfe_tmu_cfg_enable: malloc_bottom
pfe_tmu_q_mode_set_tail_drop.part.0: malloc_bottom
pfe_tmu_hif_q_to_tmu_q.part.0: malloc_bottom
pfe_tmu_sch_cfg_get_bound_sched_output: malloc_bottom
pfe_tmu_sch_cfg_bind_sched_output: malloc_bottom
pfe_tmu_sch_cfg_get_bound_queue: malloc_bottom
pfe_tmu_sch_cfg_bind_queue: malloc_bottom
pfe_tmu_sch_cfg_get_input_weight: malloc_bottom
pfe_tmu_sch_cfg_set_input_weight: malloc_bottom
pfe_tmu_sch_cfg_get_algo: malloc_bottom
pfe_tmu_sch_cfg_set_algo: malloc_bottom
pfe_tmu_sch_cfg_get_rate_mode: malloc_bottom
pfe_tmu_sch_cfg_set_rate_mode: malloc_bottom
pfe_tmu_sch_cfg_init: malloc_bottom
pfe_tmu_shp_cfg_init: malloc_bottom
pfe_tmu_shp_cfg_disable: malloc_bottom
pfe_tmu_shp_cfg_get_idle_slope: malloc_bottom
pfe_tmu_shp_cfg_set_idle_slope: malloc_bottom
pfe_tmu_shp_cfg_get_rate_mode: malloc_bottom
pfe_tmu_shp_cfg_set_rate_mode: malloc_bottom
pfe_tmu_shp_cfg_enable: malloc_bottom
pfe_tmu_shp_cfg_get_position: malloc_bottom
pfe_tmu_shp_cfg_set_position: malloc_bottom
pfe_tmu_shp_cfg_get_limits: malloc_bottom
pfe_tmu_shp_cfg_set_limits: malloc_bottom
pfe_tmu_q_get_wred_zones: malloc_bottom
pfe_tmu_q_get_wred_probability: malloc_bottom
pfe_tmu_q_set_wred_probability: malloc_bottom
pfe_tmu_q_mode_set_wred: malloc_bottom
pfe_tmu_q_mode_set_tail_drop: malloc_bottom
pfe_tmu_q_mode_set_default: malloc_bottom
pfe_tmu_q_get_mode: malloc_bottom
pfe_tmu_q_cfg_get_tx_count: malloc_bottom
pfe_tmu_q_cfg_get_drop_count: malloc_bottom
pfe_tmu_q_cfg_get_fill_level: malloc_bottom
pfe_tmu_context_memory: malloc_bottom
pfe_tmu_hif_q_to_tmu_q: malloc_bottom
pfe_tmu_cntx_mem_read: malloc_bottom
pfe_tmu_cntx_mem_write: malloc_bottom
pfe_tmu_cfg_disable: malloc_bottom
pfe_tmu_cfg_enable: malloc_bottom
pfe_tmu_cfg_reset: malloc_bottom
pfe_tmu_cfg_init: malloc_bottom
pfe_tmu_q_reset_tail_drop_policy: malloc_bottom
pfe_tmu_reclaim_init: malloc_bottom
pfe_tmu_cfg_get_phy_config: malloc_bottom


MALLOC LATTICE after propagation:
pfe_tmu_cfg_enable: malloc_bottom
pfe_tmu_q_mode_set_tail_drop.part.0: malloc_bottom
pfe_tmu_hif_q_to_tmu_q.part.0: malloc_bottom
pfe_tmu_sch_cfg_get_bound_sched_output: malloc_bottom
pfe_tmu_sch_cfg_bind_sched_output: malloc_bottom
pfe_tmu_sch_cfg_get_bound_queue: malloc_bottom
pfe_tmu_sch_cfg_bind_queue: malloc_bottom
pfe_tmu_sch_cfg_get_input_weight: malloc_bottom
pfe_tmu_sch_cfg_set_input_weight: malloc_bottom
pfe_tmu_sch_cfg_get_algo: malloc_bottom
pfe_tmu_sch_cfg_set_algo: malloc_bottom
pfe_tmu_sch_cfg_get_rate_mode: malloc_bottom
pfe_tmu_sch_cfg_set_rate_mode: malloc_bottom
pfe_tmu_sch_cfg_init: malloc_bottom
pfe_tmu_shp_cfg_init: malloc_bottom
pfe_tmu_shp_cfg_disable: malloc_bottom
pfe_tmu_shp_cfg_get_idle_slope: malloc_bottom
pfe_tmu_shp_cfg_set_idle_slope: malloc_bottom
pfe_tmu_shp_cfg_get_rate_mode: malloc_bottom
pfe_tmu_shp_cfg_set_rate_mode: malloc_bottom
pfe_tmu_shp_cfg_enable: malloc_bottom
pfe_tmu_shp_cfg_get_position: malloc_bottom
pfe_tmu_shp_cfg_set_position: malloc_bottom
pfe_tmu_shp_cfg_get_limits: malloc_bottom
pfe_tmu_shp_cfg_set_limits: malloc_bottom
pfe_tmu_q_get_wred_zones: malloc_bottom
pfe_tmu_q_get_wred_probability: malloc_bottom
pfe_tmu_q_set_wred_probability: malloc_bottom
pfe_tmu_q_mode_set_wred: malloc_bottom
pfe_tmu_q_mode_set_tail_drop: malloc_bottom
pfe_tmu_q_mode_set_default: malloc_bottom
pfe_tmu_q_get_mode: malloc_bottom
pfe_tmu_q_cfg_get_tx_count: malloc_bottom
pfe_tmu_q_cfg_get_drop_count: malloc_bottom
pfe_tmu_q_cfg_get_fill_level: malloc_bottom
pfe_tmu_context_memory: malloc_bottom
pfe_tmu_hif_q_to_tmu_q: malloc_bottom
pfe_tmu_cntx_mem_read: malloc_bottom
pfe_tmu_cntx_mem_write: malloc_bottom
pfe_tmu_cfg_disable: malloc_bottom
pfe_tmu_cfg_enable: malloc_bottom
pfe_tmu_cfg_reset: malloc_bottom
pfe_tmu_cfg_init: malloc_bottom
pfe_tmu_q_reset_tail_drop_policy: malloc_bottom
pfe_tmu_reclaim_init: malloc_bottom
pfe_tmu_cfg_get_phy_config: malloc_bottom
callgraph:

pfe_tmu_cfg_enable/79 (pfe_tmu_cfg_enable) @06dc4700
  Type: function definition analyzed
  Visibility: public
  next sharing asm name: 28
  Aux: @06d18520
  References: 
  Referring: 
  Function pfe_tmu_cfg_enable/79 is inline copy in pfe_tmu_cfg_disable/29
  Clone of pfe_tmu_cfg_enable/28
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local icf_merged optimize_size
  Called by: pfe_tmu_cfg_disable/29 (inlined) (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_q_mode_set_tail_drop.part.0/69 (pfe_tmu_q_mode_set_tail_drop.part.0) @06d9bee0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly artificial
  Aux: @06d18500
  References: 
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
  Called by: pfe_tmu_cfg_init/26 (109858038 (estimated locally),3.06 per call) pfe_tmu_cfg_init/26 (31839419 (estimated locally),0.89 per call) pfe_tmu_q_reset_tail_drop_policy/25 (831159216 (estimated locally),9.75 per call) pfe_tmu_q_reset_tail_drop_policy/25 (240889301 (estimated locally),2.83 per call) pfe_tmu_q_reset_tail_drop_policy/25 (939524096 (estimated locally),11.02 per call) pfe_tmu_q_reset_tail_drop_policy/25 (192953658 (estimated locally),2.26 per call) pfe_tmu_q_mode_set_tail_drop/39 (697932184 (estimated locally),0.65 per call) 
  Calls: pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) pfe_tmu_cntx_mem_write/30 (957133463 (estimated locally),0.89 per call) 
pfe_tmu_hif_q_to_tmu_q.part.0/68 (pfe_tmu_hif_q_to_tmu_q.part.0) @06b510e0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly artificial
  Aux: @06d18740
  References: 
  Referring: 
  Function pfe_tmu_hif_q_to_tmu_q.part.0/68 is inline copy in pfe_tmu_hif_q_to_tmu_q/32
  Availability: local
  Function flags: count:137140916 (estimated locally) first_run:1 body local split_part optimize_size
  Called by: pfe_tmu_hif_q_to_tmu_q/32 (inlined) (137140916 (estimated locally),0.65 per call) 
  Calls: 
oal_time_usleep/67 (oal_time_usleep) @076f91c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_tmu_reclaim_init/24 (21951157 (estimated locally),1.10 per call) pfe_tmu_cfg_reset/27 (1073741824 (estimated locally),15.52 per call) pfe_tmu_cntx_mem_read/31 (1073741824 (estimated locally),6.52 per call) pfe_tmu_cntx_mem_write/30 (1073741824 (estimated locally),10.34 per call) 
  Calls: 
pfe_feature_mgr_is_available/66 (pfe_feature_mgr_is_available) @076f90e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_tmu_cfg_init/26 (35862108 (estimated locally),1.00 per call) pfe_tmu_reclaim_init/24 (19889078 (estimated locally),1.00 per call) pfe_tmu_q_cfg_get_drop_count/35 (78963511 (estimated locally),0.07 per call) 
  Calls: 
pfe_tmu_sch_cfg_get_bound_sched_output/65 (pfe_tmu_sch_cfg_get_bound_sched_output) @076eae00
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18680
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_bind_sched_output/64 (pfe_tmu_sch_cfg_bind_sched_output) @076ea9a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18660
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_sch_cfg_bind_queue/62 (223547679 (estimated locally),0.21 per call) 
pfe_tmu_sch_cfg_get_bound_queue/63 (pfe_tmu_sch_cfg_get_bound_queue) @076ea620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18700
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_bind_queue/62 (pfe_tmu_sch_cfg_bind_queue) @076ea1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d186a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_sch_cfg_bind_sched_output/64 (223547679 (estimated locally),0.21 per call) pfe_tmu_cfg_init/26 (954449108 (estimated locally),26.61 per call) 
  Calls: 
pfe_tmu_sch_cfg_get_input_weight/61 (pfe_tmu_sch_cfg_get_input_weight) @076e4460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18600
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_set_input_weight/60 (pfe_tmu_sch_cfg_set_input_weight) @076e4c40
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_get_algo/59 (pfe_tmu_sch_cfg_get_algo) @076e47e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d186e0
  References: CSWTCH.70/74 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_set_algo/58 (pfe_tmu_sch_cfg_set_algo) @076e4380
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18840
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_sch_cfg_get_rate_mode/57 (74905668 (estimated locally),0.07 per call) 
pfe_tmu_sch_cfg_get_rate_mode/57 (pfe_tmu_sch_cfg_get_rate_mode) @076e4000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18560
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_sch_cfg_set_algo/58 (74905668 (estimated locally),0.07 per call) 
  Calls: 
pfe_tmu_sch_cfg_set_rate_mode/56 (pfe_tmu_sch_cfg_set_rate_mode) @06e511c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18760
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (26472441 (estimated locally),0.74 per call) 
  Calls: 
pfe_tmu_sch_cfg_init/55 (pfe_tmu_sch_cfg_init) @06e51c40
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) 
  Calls: 
pfe_tmu_shp_cfg_init/54 (pfe_tmu_shp_cfg_init) @06e518c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18620
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) 
  Calls: pfe_tmu_shp_cfg_disable/53 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_disable/53 (pfe_tmu_shp_cfg_disable) @06e51540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d186c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_shp_cfg_init/54 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_shp_cfg_get_idle_slope/52 (pfe_tmu_shp_cfg_get_idle_slope) @06e510e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18640
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_shp_cfg_get_rate_mode/50 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_set_idle_slope/51 (pfe_tmu_shp_cfg_set_idle_slope) @06e4bee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d187e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_shp_cfg_get_rate_mode/50 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_get_rate_mode/50 (pfe_tmu_shp_cfg_get_rate_mode) @06e4b9a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18580
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_shp_cfg_get_idle_slope/52 (1073741824 (estimated locally),1.00 per call) pfe_tmu_shp_cfg_set_idle_slope/51 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_shp_cfg_set_rate_mode/49 (pfe_tmu_shp_cfg_set_rate_mode) @06e4b460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18720
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_enable/48 (pfe_tmu_shp_cfg_enable) @06e4b000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18780
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_get_position/47 (pfe_tmu_shp_cfg_get_position) @075f7ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d187a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_set_position/46 (pfe_tmu_shp_cfg_set_position) @075f7a80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d187c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_get_limits/45 (pfe_tmu_shp_cfg_get_limits) @075f7620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18800
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_set_limits/44 (pfe_tmu_shp_cfg_set_limits) @075f70e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18820
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_q_get_wred_zones/43 (pfe_tmu_q_get_wred_zones) @075e8b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_q_get_wred_probability/42 (pfe_tmu_q_get_wred_probability) @075e8620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18540
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (622136751 (estimated locally),0.58 per call) pfe_tmu_hif_q_to_tmu_q/32 (348966093 (estimated locally),0.33 per call) 
pfe_tmu_q_set_wred_probability/41 (pfe_tmu_q_set_wred_probability) @075e80e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d184a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_write/30 (133448333 (estimated locally),0.12 per call) pfe_tmu_cntx_mem_read/31 (404388888 (estimated locally),0.38 per call) pfe_tmu_hif_q_to_tmu_q/32 (226827960 (estimated locally),0.21 per call) 
pfe_tmu_q_mode_set_wred/40 (pfe_tmu_q_mode_set_wred) @075e8d20
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d184c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_context_memory/33 (404388888 (estimated locally),0.38 per call) pfe_tmu_hif_q_to_tmu_q/32 (226827960 (estimated locally),0.21 per call) 
pfe_tmu_q_mode_set_tail_drop/39 (pfe_tmu_q_mode_set_tail_drop) @075e8a80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18460
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (697932184 (estimated locally),0.65 per call) 
pfe_tmu_q_mode_set_default/38 (pfe_tmu_q_mode_set_default) @075e87e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d180a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_reclaim_init/24 (3281698 (estimated locally),0.17 per call) 
  Calls: pfe_tmu_cntx_mem_write/30 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_get_mode/37 (pfe_tmu_q_get_mode) @075e8540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18340
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_tx_count/36 (pfe_tmu_q_cfg_get_tx_count) @075e82a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d183c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_drop_count/35 (pfe_tmu_q_cfg_get_drop_count) @075e8000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18400
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_feature_mgr_is_available/66 (78963511 (estimated locally),0.07 per call) pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_fill_level/34 (pfe_tmu_q_cfg_get_fill_level) @075b9b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18280
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_context_memory/33 (pfe_tmu_context_memory) @075b9380
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d180c0
  References: 
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_mode_set_wred/40 (404388888 (estimated locally),0.38 per call) pfe_tmu_reclaim_init/24 (6563396 (estimated locally),0.33 per call) 
  Calls: pfe_tmu_cntx_mem_write/30 (116930485 (estimated locally),0.11 per call) pfe_tmu_cntx_mem_write/30 (354334802 (estimated locally),0.33 per call) pfe_tmu_cntx_mem_write/30 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_hif_q_to_tmu_q/32 (pfe_tmu_hif_q_to_tmu_q) @075b9e00
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d18420
  References: 
  Referring: 
  Availability: local
  Function flags: count:210986025 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_get_wred_probability/42 (348966093 (estimated locally),0.33 per call) pfe_tmu_q_set_wred_probability/41 (226827960 (estimated locally),0.21 per call) pfe_tmu_q_mode_set_wred/40 (226827960 (estimated locally),0.21 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_mode_set_default/38 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_get_mode/37 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_tx_count/36 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_drop_count/35 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_fill_level/34 (536870913 (estimated locally),0.50 per call) 
  Calls: pfe_tmu_hif_q_to_tmu_q.part.0/68 (inlined) (137140916 (estimated locally),0.65 per call) 
pfe_tmu_cntx_mem_read/31 (pfe_tmu_cntx_mem_read) @075b9a80
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d180e0
  References: 
  Referring: 
  Availability: local
  Function flags: count:164701623 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_get_wred_probability/42 (622136751 (estimated locally),0.58 per call) pfe_tmu_q_set_wred_probability/41 (404388888 (estimated locally),0.38 per call) pfe_tmu_reclaim_init/24 (21951157 (estimated locally),1.10 per call) pfe_tmu_q_get_mode/37 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_tx_count/36 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_drop_count/35 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_fill_level/34 (957133463 (estimated locally),0.89 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),6.52 per call) 
pfe_tmu_cntx_mem_write/30 (pfe_tmu_cntx_mem_write) @075b9620
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d18160
  References: 
  Referring: 
  Availability: local
  Function flags: count:103814371 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_set_wred_probability/41 (133448333 (estimated locally),0.12 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_mode_set_default/38 (957133463 (estimated locally),0.89 per call) pfe_tmu_context_memory/33 (116930485 (estimated locally),0.11 per call) pfe_tmu_context_memory/33 (354334802 (estimated locally),0.33 per call) pfe_tmu_context_memory/33 (1073741824 (estimated locally),1.00 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),10.34 per call) 
pfe_tmu_cfg_disable/29 (pfe_tmu_cfg_disable) @075b92a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d181c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: pfe_tmu_cfg_enable/79 (inlined) (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_cfg_enable/28 (pfe_tmu_cfg_enable) @075b9000
  Type: function definition analyzed
  Visibility: externally_visible public
  previous sharing asm name: 79
  Aux: @06d182a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: 
pfe_tmu_cfg_reset/27 (pfe_tmu_cfg_reset) @075439a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18360
  References: 
  Referring: 
  Availability: available
  Function flags: count:69202660 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (35862108 (estimated locally),1.00 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),15.52 per call) 
pfe_tmu_cfg_init/26 (pfe_tmu_cfg_init) @07543ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18380
  References: phy_if_id_temp/22 (read)
  Referring: 
  Availability: available
  Function flags: count:35862108 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (109858038 (estimated locally),3.06 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (31839419 (estimated locally),0.89 per call) pfe_tmu_sch_cfg_set_rate_mode/56 (26472441 (estimated locally),0.74 per call) pfe_tmu_sch_cfg_bind_queue/62 (954449108 (estimated locally),26.61 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_sch_cfg_init/55 (171787418 (estimated locally),4.79 per call) pfe_tmu_sch_cfg_init/55 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_reset/27 (35862108 (estimated locally),1.00 per call) pfe_feature_mgr_is_available/66 (35862108 (estimated locally),1.00 per call) 
pfe_tmu_q_reset_tail_drop_policy/25 (pfe_tmu_q_reset_tail_drop_policy) @07543b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18100
  References: phy_if_id_temp/22 (read)phy_if_id_temp/22 (read)
  Referring: 
  Availability: available
  Function flags: count:85268238 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (831159216 (estimated locally),9.75 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (240889301 (estimated locally),2.83 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (939524096 (estimated locally),11.02 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (192953658 (estimated locally),2.26 per call) 
pfe_tmu_reclaim_init/24 (pfe_tmu_reclaim_init) @075438c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18120
  References: 
  Referring: 
  Availability: available
  Function flags: count:19889078 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_default/38 (3281698 (estimated locally),0.17 per call) pfe_tmu_cntx_mem_read/31 (21951157 (estimated locally),1.10 per call) oal_time_usleep/67 (21951157 (estimated locally),1.10 per call) pfe_tmu_context_memory/33 (6563396 (estimated locally),0.33 per call) pfe_feature_mgr_is_available/66 (19889078 (estimated locally),1.00 per call) 
pfe_tmu_cfg_get_phy_config/23 (pfe_tmu_cfg_get_phy_config) @07543620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18220
  References: tmu_phys/21 (addr)tmu_phys/21 (read)
  Referring: 
  Availability: available
  Function flags: count:114863532 (estimated locally) body optimize_size
  Called by: 
  Calls: 


 ordered call graph: reduced
pfe_tmu_sch_cfg_get_bound_sched_output/65 (pfe_tmu_sch_cfg_get_bound_sched_output) @076eae00
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18680
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_bind_sched_output/64 (pfe_tmu_sch_cfg_bind_sched_output) @076ea9a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18660
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_sch_cfg_bind_queue/62 (223547679 (estimated locally),0.21 per call) 
pfe_tmu_sch_cfg_get_bound_queue/63 (pfe_tmu_sch_cfg_get_bound_queue) @076ea620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18700
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_get_input_weight/61 (pfe_tmu_sch_cfg_get_input_weight) @076e4460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18600
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_set_input_weight/60 (pfe_tmu_sch_cfg_set_input_weight) @076e4c40
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_get_algo/59 (pfe_tmu_sch_cfg_get_algo) @076e47e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d186e0
  References: CSWTCH.70/74 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_sch_cfg_set_algo/58 (pfe_tmu_sch_cfg_set_algo) @076e4380
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18840
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_sch_cfg_get_rate_mode/57 (74905668 (estimated locally),0.07 per call) 
pfe_tmu_sch_cfg_get_rate_mode/57 (pfe_tmu_sch_cfg_get_rate_mode) @076e4000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18560
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_sch_cfg_set_algo/58 (74905668 (estimated locally),0.07 per call) 
  Calls: 
pfe_tmu_shp_cfg_get_idle_slope/52 (pfe_tmu_shp_cfg_get_idle_slope) @06e510e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18640
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_shp_cfg_get_rate_mode/50 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_set_idle_slope/51 (pfe_tmu_shp_cfg_set_idle_slope) @06e4bee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d187e0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_shp_cfg_get_rate_mode/50 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_get_rate_mode/50 (pfe_tmu_shp_cfg_get_rate_mode) @06e4b9a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18580
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_shp_cfg_get_idle_slope/52 (1073741824 (estimated locally),1.00 per call) pfe_tmu_shp_cfg_set_idle_slope/51 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_shp_cfg_set_rate_mode/49 (pfe_tmu_shp_cfg_set_rate_mode) @06e4b460
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18720
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_enable/48 (pfe_tmu_shp_cfg_enable) @06e4b000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18780
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_get_position/47 (pfe_tmu_shp_cfg_get_position) @075f7ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d187a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_set_position/46 (pfe_tmu_shp_cfg_set_position) @075f7a80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d187c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_get_limits/45 (pfe_tmu_shp_cfg_get_limits) @075f7620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18800
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_shp_cfg_set_limits/44 (pfe_tmu_shp_cfg_set_limits) @075f70e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18820
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_q_get_wred_zones/43 (pfe_tmu_q_get_wred_zones) @075e8b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_tmu_q_get_wred_probability/42 (pfe_tmu_q_get_wred_probability) @075e8620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18540
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (622136751 (estimated locally),0.58 per call) pfe_tmu_hif_q_to_tmu_q/32 (348966093 (estimated locally),0.33 per call) 
pfe_tmu_q_set_wred_probability/41 (pfe_tmu_q_set_wred_probability) @075e80e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d184a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_write/30 (133448333 (estimated locally),0.12 per call) pfe_tmu_cntx_mem_read/31 (404388888 (estimated locally),0.38 per call) pfe_tmu_hif_q_to_tmu_q/32 (226827960 (estimated locally),0.21 per call) 
pfe_tmu_q_mode_set_wred/40 (pfe_tmu_q_mode_set_wred) @075e8d20
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d184c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_context_memory/33 (404388888 (estimated locally),0.38 per call) pfe_tmu_hif_q_to_tmu_q/32 (226827960 (estimated locally),0.21 per call) 
pfe_tmu_q_mode_set_tail_drop/39 (pfe_tmu_q_mode_set_tail_drop) @075e8a80
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18460
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (697932184 (estimated locally),0.65 per call) 
pfe_tmu_q_get_mode/37 (pfe_tmu_q_get_mode) @075e8540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18340
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_tx_count/36 (pfe_tmu_q_cfg_get_tx_count) @075e82a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d183c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_drop_count/35 (pfe_tmu_q_cfg_get_drop_count) @075e8000
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18400
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_feature_mgr_is_available/66 (78963511 (estimated locally),0.07 per call) pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_q_cfg_get_fill_level/34 (pfe_tmu_q_cfg_get_fill_level) @075b9b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18280
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_cntx_mem_read/31 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_cfg_disable/29 (pfe_tmu_cfg_disable) @075b92a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d181c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: pfe_tmu_cfg_enable/79 (inlined) (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_cfg_enable/79 (pfe_tmu_cfg_enable) @06dc4700
  Type: function definition analyzed
  Visibility: public
  next sharing asm name: 28
  Aux: @06d18520
  References: 
  Referring: 
  Function pfe_tmu_cfg_enable/79 is inline copy in pfe_tmu_cfg_disable/29
  Clone of pfe_tmu_cfg_enable/28
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local icf_merged optimize_size
  Called by: pfe_tmu_cfg_disable/29 (inlined) (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_cfg_enable/28 (pfe_tmu_cfg_enable) @075b9000
  Type: function definition analyzed
  Visibility: externally_visible public
  previous sharing asm name: 79
  Aux: @06d182a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size
  Called by: 
  Calls: 
pfe_tmu_cfg_init/26 (pfe_tmu_cfg_init) @07543ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18380
  References: phy_if_id_temp/22 (read)
  Referring: 
  Availability: available
  Function flags: count:35862108 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (109858038 (estimated locally),3.06 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (31839419 (estimated locally),0.89 per call) pfe_tmu_sch_cfg_set_rate_mode/56 (26472441 (estimated locally),0.74 per call) pfe_tmu_sch_cfg_bind_queue/62 (954449108 (estimated locally),26.61 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_shp_cfg_init/54 (171787418 (estimated locally),4.79 per call) pfe_tmu_sch_cfg_init/55 (171787418 (estimated locally),4.79 per call) pfe_tmu_sch_cfg_init/55 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_reset/27 (35862108 (estimated locally),1.00 per call) pfe_feature_mgr_is_available/66 (35862108 (estimated locally),1.00 per call) 
pfe_tmu_cfg_reset/27 (pfe_tmu_cfg_reset) @075439a0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18360
  References: 
  Referring: 
  Availability: available
  Function flags: count:69202660 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (35862108 (estimated locally),1.00 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),15.52 per call) 
pfe_tmu_sch_cfg_init/55 (pfe_tmu_sch_cfg_init) @06e51c40
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d185c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) 
  Calls: 
pfe_tmu_shp_cfg_init/54 (pfe_tmu_shp_cfg_init) @06e518c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18620
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) pfe_tmu_cfg_init/26 (171787418 (estimated locally),4.79 per call) 
  Calls: pfe_tmu_shp_cfg_disable/53 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_shp_cfg_disable/53 (pfe_tmu_shp_cfg_disable) @06e51540
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d186c0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_shp_cfg_init/54 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
pfe_tmu_sch_cfg_bind_queue/62 (pfe_tmu_sch_cfg_bind_queue) @076ea1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d186a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_sch_cfg_bind_sched_output/64 (223547679 (estimated locally),0.21 per call) pfe_tmu_cfg_init/26 (954449108 (estimated locally),26.61 per call) 
  Calls: 
pfe_tmu_sch_cfg_set_rate_mode/56 (pfe_tmu_sch_cfg_set_rate_mode) @06e511c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18760
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_cfg_init/26 (26472441 (estimated locally),0.74 per call) 
  Calls: 
pfe_tmu_q_reset_tail_drop_policy/25 (pfe_tmu_q_reset_tail_drop_policy) @07543b60
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18100
  References: phy_if_id_temp/22 (read)phy_if_id_temp/22 (read)
  Referring: 
  Availability: available
  Function flags: count:85268238 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_tail_drop.part.0/69 (831159216 (estimated locally),9.75 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (240889301 (estimated locally),2.83 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (939524096 (estimated locally),11.02 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (192953658 (estimated locally),2.26 per call) 
pfe_tmu_q_mode_set_tail_drop.part.0/69 (pfe_tmu_q_mode_set_tail_drop.part.0) @06d9bee0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly artificial
  Aux: @06d18500
  References: 
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
  Called by: pfe_tmu_cfg_init/26 (109858038 (estimated locally),3.06 per call) pfe_tmu_cfg_init/26 (31839419 (estimated locally),0.89 per call) pfe_tmu_q_reset_tail_drop_policy/25 (831159216 (estimated locally),9.75 per call) pfe_tmu_q_reset_tail_drop_policy/25 (240889301 (estimated locally),2.83 per call) pfe_tmu_q_reset_tail_drop_policy/25 (939524096 (estimated locally),11.02 per call) pfe_tmu_q_reset_tail_drop_policy/25 (192953658 (estimated locally),2.26 per call) pfe_tmu_q_mode_set_tail_drop/39 (697932184 (estimated locally),0.65 per call) 
  Calls: pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) pfe_tmu_cntx_mem_write/30 (957133463 (estimated locally),0.89 per call) 
pfe_tmu_reclaim_init/24 (pfe_tmu_reclaim_init) @075438c0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18120
  References: 
  Referring: 
  Availability: available
  Function flags: count:19889078 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_tmu_q_mode_set_default/38 (3281698 (estimated locally),0.17 per call) pfe_tmu_cntx_mem_read/31 (21951157 (estimated locally),1.10 per call) oal_time_usleep/67 (21951157 (estimated locally),1.10 per call) pfe_tmu_context_memory/33 (6563396 (estimated locally),0.33 per call) pfe_feature_mgr_is_available/66 (19889078 (estimated locally),1.00 per call) 
pfe_tmu_context_memory/33 (pfe_tmu_context_memory) @075b9380
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d180c0
  References: 
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_mode_set_wred/40 (404388888 (estimated locally),0.38 per call) pfe_tmu_reclaim_init/24 (6563396 (estimated locally),0.33 per call) 
  Calls: pfe_tmu_cntx_mem_write/30 (116930485 (estimated locally),0.11 per call) pfe_tmu_cntx_mem_write/30 (354334802 (estimated locally),0.33 per call) pfe_tmu_cntx_mem_write/30 (1073741824 (estimated locally),1.00 per call) 
pfe_tmu_cntx_mem_read/31 (pfe_tmu_cntx_mem_read) @075b9a80
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d180e0
  References: 
  Referring: 
  Availability: local
  Function flags: count:164701623 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_get_wred_probability/42 (622136751 (estimated locally),0.58 per call) pfe_tmu_q_set_wred_probability/41 (404388888 (estimated locally),0.38 per call) pfe_tmu_reclaim_init/24 (21951157 (estimated locally),1.10 per call) pfe_tmu_q_get_mode/37 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_tx_count/36 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_drop_count/35 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_cfg_get_fill_level/34 (957133463 (estimated locally),0.89 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),6.52 per call) 
pfe_tmu_q_mode_set_default/38 (pfe_tmu_q_mode_set_default) @075e87e0
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d180a0
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: pfe_tmu_reclaim_init/24 (3281698 (estimated locally),0.17 per call) 
  Calls: pfe_tmu_cntx_mem_write/30 (957133463 (estimated locally),0.89 per call) pfe_tmu_hif_q_to_tmu_q/32 (536870913 (estimated locally),0.50 per call) 
pfe_tmu_hif_q_to_tmu_q/32 (pfe_tmu_hif_q_to_tmu_q) @075b9e00
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d18420
  References: 
  Referring: 
  Availability: local
  Function flags: count:210986025 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_get_wred_probability/42 (348966093 (estimated locally),0.33 per call) pfe_tmu_q_set_wred_probability/41 (226827960 (estimated locally),0.21 per call) pfe_tmu_q_mode_set_wred/40 (226827960 (estimated locally),0.21 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_mode_set_default/38 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_get_mode/37 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_tx_count/36 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_drop_count/35 (536870913 (estimated locally),0.50 per call) pfe_tmu_q_cfg_get_fill_level/34 (536870913 (estimated locally),0.50 per call) 
  Calls: pfe_tmu_hif_q_to_tmu_q.part.0/68 (inlined) (137140916 (estimated locally),0.65 per call) 
pfe_tmu_hif_q_to_tmu_q.part.0/68 (pfe_tmu_hif_q_to_tmu_q.part.0) @06b510e0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly artificial
  Aux: @06d18740
  References: 
  Referring: 
  Function pfe_tmu_hif_q_to_tmu_q.part.0/68 is inline copy in pfe_tmu_hif_q_to_tmu_q/32
  Availability: local
  Function flags: count:137140916 (estimated locally) first_run:1 body local split_part optimize_size
  Called by: pfe_tmu_hif_q_to_tmu_q/32 (inlined) (137140916 (estimated locally),0.65 per call) 
  Calls: 
pfe_tmu_cntx_mem_write/30 (pfe_tmu_cntx_mem_write) @075b9620
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  Aux: @06d18160
  References: 
  Referring: 
  Availability: local
  Function flags: count:103814371 (estimated locally) body local optimize_size
  Called by: pfe_tmu_q_set_wred_probability/41 (133448333 (estimated locally),0.12 per call) pfe_tmu_q_mode_set_tail_drop.part.0/69 (957133463 (estimated locally),0.89 per call) pfe_tmu_q_mode_set_default/38 (957133463 (estimated locally),0.89 per call) pfe_tmu_context_memory/33 (116930485 (estimated locally),0.11 per call) pfe_tmu_context_memory/33 (354334802 (estimated locally),0.33 per call) pfe_tmu_context_memory/33 (1073741824 (estimated locally),1.00 per call) 
  Calls: oal_time_usleep/67 (1073741824 (estimated locally),10.34 per call) 
pfe_tmu_cfg_get_phy_config/23 (pfe_tmu_cfg_get_phy_config) @07543620
  Type: function definition analyzed
  Visibility: externally_visible public
  Aux: @06d18220
  References: tmu_phys/21 (addr)tmu_phys/21 (read)
  Referring: 
  Availability: available
  Function flags: count:114863532 (estimated locally) body optimize_size
  Called by: 
  Calls: 

Function found not to call free: pfe_tmu_cfg_get_phy_config
Function found not to call free: pfe_tmu_hif_q_to_tmu_q.part.0
Function found not to call free: pfe_tmu_hif_q_to_tmu_q
Function found not to call free: pfe_tmu_sch_cfg_set_rate_mode
Function found not to call free: pfe_tmu_sch_cfg_bind_queue
Function found not to call free: pfe_tmu_shp_cfg_disable
Function found not to call free: pfe_tmu_shp_cfg_init
Function found not to call free: pfe_tmu_sch_cfg_init
Function found not to call free: pfe_tmu_cfg_enable
Function found not to call free: pfe_tmu_cfg_enable
Function found not to call free: pfe_tmu_cfg_disable
Function found not to call free: pfe_tmu_q_get_wred_zones
Function found not to call free: pfe_tmu_shp_cfg_set_limits
Function found not to call free: pfe_tmu_shp_cfg_get_limits
Function found not to call free: pfe_tmu_shp_cfg_set_position
Function found not to call free: pfe_tmu_shp_cfg_get_position
Function found not to call free: pfe_tmu_shp_cfg_enable
Function found not to call free: pfe_tmu_shp_cfg_set_rate_mode
Function found not to call free: pfe_tmu_shp_cfg_get_rate_mode
Function found not to call free: pfe_tmu_shp_cfg_set_idle_slope
Function found not to call free: pfe_tmu_shp_cfg_get_idle_slope
Function found not to call free: pfe_tmu_sch_cfg_get_rate_mode
Function found not to call free: pfe_tmu_sch_cfg_set_algo
Function found not to call free: pfe_tmu_sch_cfg_get_algo
Function found not to call free: pfe_tmu_sch_cfg_set_input_weight
Function found not to call free: pfe_tmu_sch_cfg_get_input_weight
Function found not to call free: pfe_tmu_sch_cfg_get_bound_queue
Function found not to call free: pfe_tmu_sch_cfg_bind_sched_output
Function found not to call free: pfe_tmu_sch_cfg_get_bound_sched_output
pfe_tmu_q_mode_set_tail_drop.part.0 (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue, uint16_t max)
{
  uint32_t reg;
  uint8_t queue_temp;
  errno_t ret;
  unsigned char _2;
  long unsigned int _7;
  long unsigned int _8;
  unsigned char _11;
  unsigned char _12;

  <bb 6> [local count: 1073741824]:

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _2 = phy_1(D) + 250;
  if (_2 <= 3)
    goto <bb 3>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 3> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  queue_temp_5 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_3(D), phy_1(D), queue_4(D));
  # DEBUG queue_temp => queue_temp_5
  # DEBUG BEGIN_STMT
  if (queue_temp_5 == 255)
    goto <bb 5>; [21.72%]
  else
    goto <bb 4>; [78.28%]

  <bb 4> [local count: 957133463]:
  # queue_temp_10 = PHI <queue_4(D)(2), queue_temp_5(3)>
  # DEBUG ret => NULL
  # DEBUG queue_temp => NULL
  # DEBUG BEGIN_STMT
  _7 = (long unsigned int) max_6(D);
  _8 = _7 << 11;
  reg_9 = _8 | 1;
  # DEBUG reg => reg_9
  # DEBUG BEGIN_STMT
  _11 = queue_temp_10 * 8;
  _12 = _11 + 4;
  ret_13 = pfe_tmu_cntx_mem_write (cbus_base_va_3(D), phy_1(D), _12, reg_9);
  # DEBUG ret => ret_13

  <bb 5> [local count: 1073741824]:
  # ret_14 = PHI <22(3), ret_13(4)>
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_14
  # DEBUG BEGIN_STMT
  return ret_14;

}


pfe_tmu_hif_q_to_tmu_q.part.0 (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue)
{
  uint32_t reg;
  uint32_t ii;
  int8_t hif_queue;
  uint8_t tmu_queue;
  unsigned int _2;
  volatile uint32_t * _3;
  long unsigned int _6;
  long unsigned int _7;
  long unsigned int _9;
  long unsigned int _10;
  long unsigned int _11;
  unsigned char hif_queue.9_13;
  unsigned char _14;

  <bb 9> [local count: 137140916]:

  <bb 2> [local count: 137140916]:
  # DEBUG BEGIN_STMT
  _2 = cbus_base_va_1(D) + 622796;
  _3 = (volatile uint32_t *) _2;
  reg_4 ={v} *_3;
  # DEBUG reg => reg_4
  # DEBUG BEGIN_STMT
  # DEBUG ii => 0
  goto <bb 7>; [100.00%]

  <bb 3> [local count: 954449109]:
  # DEBUG BEGIN_STMT
  _6 = (long unsigned int) phy_5(D);
  _7 = _6 + 4294967290;
  _9 = ii_8 * 4;
  _10 = reg_4 >> _9;
  _11 = _10 & 15;
  if (_7 == _11)
    goto <bb 4>; [34.00%]
  else
    goto <bb 6>; [66.00%]

  <bb 4> [local count: 324512697]:
  # DEBUG BEGIN_STMT
  hif_queue.9_13 = (unsigned char) hif_queue_12;
  _14 = hif_queue.9_13 + 1;
  hif_queue_15 = (int8_t) _14;
  # DEBUG hif_queue => hif_queue_15
  # DEBUG BEGIN_STMT
  if (_14 == queue_16(D))
    goto <bb 5>; [5.50%]
  else
    goto <bb 6>; [94.50%]

  <bb 5> [local count: 17848198]:
  # ii_17 = PHI <ii_8(4)>
  # DEBUG BEGIN_STMT
  tmu_queue_18 = (uint8_t) ii_17;
  # DEBUG tmu_queue => tmu_queue_18
  # DEBUG BEGIN_STMT
  goto <bb 8>; [100.00%]

  <bb 6> [local count: 936600911]:
  # hif_queue_21 = PHI <hif_queue_12(3), hif_queue_15(4)>
  # DEBUG hif_queue => hif_queue_21
  # DEBUG BEGIN_STMT
  ii_19 = ii_8 + 1;
  # DEBUG ii => ii_19

  <bb 7> [local count: 1073741824]:
  # ii_8 = PHI <0(2), ii_19(6)>
  # hif_queue_12 = PHI <-1(2), hif_queue_21(6)>
  # DEBUG hif_queue => hif_queue_12
  # DEBUG ii => ii_8
  # DEBUG BEGIN_STMT
  if (ii_8 != 8)
    goto <bb 3>; [88.89%]
  else
    goto <bb 8>; [11.11%]

  <bb 8> [local count: 137140915]:
  # tmu_queue_20 = PHI <tmu_queue_18(5), 255(7)>
  # DEBUG tmu_queue => tmu_queue_20
  # DEBUG BEGIN_STMT
  return tmu_queue_20;

}


pfe_tmu_sch_cfg_get_bound_sched_output (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t sch, uint8_t input)
{
  uint8_t sched_id;
  uint32_t reg;
  addr_t sch_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  unsigned int _4;
  volatile uint32_t * _5;
  long unsigned int _6;
  long unsigned int _7;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_9(D);
  _2 = _1 + 129;
  _3 = _2 * 4096;
  sch_base_va_11 = _3 + cbus_base_va_10(D);
  # DEBUG sch_base_va => sch_base_va_11
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG sched_id => NULL
  # DEBUG BEGIN_STMT
  _4 = sch_base_va_11 + 84;
  _5 = (volatile uint32_t *) _4;
  _6 ={v} *_5;
  reg_14 = _6 & 255;
  # DEBUG reg => reg_14
  # DEBUG BEGIN_STMT
  _7 = (long unsigned int) input_15(D);
  if (_7 == reg_14)
    goto <bb 4>; [48.89%]
  else
    goto <bb 3>; [51.11%]

  <bb 3> [local count: 548789447]:
  # DEBUG BEGIN_STMT
  # DEBUG sched_id => 255

  <bb 4> [local count: 1073741824]:
  # sched_id_8 = PHI <0(2), 255(3)>
  # DEBUG sched_id => sched_id_8
  # DEBUG BEGIN_STMT
  return sched_id_8;

}


pfe_tmu_sch_cfg_bind_sched_output (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t src_sch, uint8_t dst_sch, uint8_t input)
{
  errno_t ret;
  addr_t sch_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  int _7;
  unsigned int _8;
  volatile uint32_t * _9;
  long unsigned int _10;
  unsigned char _22;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_13(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) src_sch_14(D);
  _5 = _3 + _4;
  _6 = _5 * 256;
  sch_base_va_16 = _6 + cbus_base_va_15(D);
  # DEBUG sch_base_va => sch_base_va_16
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (src_sch_14(D) != 0)
    goto <bb 6>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932186]:
  if (dst_sch_17(D) != 1)
    goto <bb 6>; [67.97%]
  else
    goto <bb 4>; [32.03%]

  <bb 4> [local count: 223547679]:
  # DEBUG BEGIN_STMT
  _7 = pfe_tmu_sch_cfg_bind_queue (cbus_base_va_15(D), phy_13(D), 1, input_19(D), 255);
  if (_7 != 0)
    goto <bb 6>; [35.00%]
  else
    goto <bb 5>; [65.00%]

  <bb 5> [local count: 145305991]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _8 = sch_base_va_16 + 84;
  _9 = (volatile uint32_t *) _8;
  _22 = input_19(D) & 15;
  _10 = (long unsigned int) _22;
  *_9 ={v} _10;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0

  <bb 6> [local count: 1073741824]:
  # ret_11 = PHI <22(3), 22(4), 0(5), 22(2)>
  # DEBUG ret => ret_11
  # DEBUG BEGIN_STMT
  return ret_11;

}


pfe_tmu_sch_cfg_get_bound_queue (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t sch, uint8_t input)
{
  uint8_t queue;
  addr_t sch_base_va;
  uint32_t reg;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  unsigned char _7;
  long unsigned int _8;
  long unsigned int _9;
  long unsigned int _10;
  long unsigned int _11;
  volatile uint32_t * _12;
  unsigned int _13;
  unsigned int _14;
  long unsigned int _15;
  unsigned char _25;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_17(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) sch_18(D);
  _5 = _3 + _4;
  _6 = _5 * 256;
  sch_base_va_20 = _6 + cbus_base_va_19(D);
  # DEBUG sch_base_va => sch_base_va_20
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (input_21(D) > 7)
    goto <bb 5>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932186]:
  # DEBUG BEGIN_STMT
  _7 = input_21(D) >> 2;
  _8 = (long unsigned int) _7;
  _9 = _8 + 16;
  _10 = _9 * 4;
  _11 = _10 + sch_base_va_20;
  _12 = (volatile uint32_t *) _11;
  reg_23 ={v} *_12;
  # DEBUG reg => reg_23
  # DEBUG BEGIN_STMT
  _25 = input_21(D) & 3;
  _13 = (unsigned int) _25;
  _14 = _13 * 8;
  _15 = reg_23 >> _14;
  queue_24 = (uint8_t) _15;
  # DEBUG queue => queue_24
  # DEBUG BEGIN_STMT
  if (queue_24 > 7)
    goto <bb 4>; [35.00%]
  else
    goto <bb 5>; [65.00%]

  <bb 4> [local count: 244276265]:
  # DEBUG BEGIN_STMT
  # DEBUG queue => 255

  <bb 5> [local count: 1073741824]:
  # queue_16 = PHI <255(2), queue_24(3), 255(4)>
  # DEBUG queue => queue_16
  # DEBUG BEGIN_STMT
  return queue_16;

}


pfe_tmu_sch_cfg_bind_queue (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t sch, uint8_t input, uint8_t queue)
{
  errno_t ret;
  addr_t sch_base_va;
  uint32_t reg;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  unsigned char _7;
  unsigned char _8;
  long unsigned int _9;
  long unsigned int _10;
  long unsigned int _11;
  long unsigned int _12;
  volatile uint32_t * _13;
  unsigned int _14;
  unsigned int _15;
  long unsigned int _16;
  long unsigned int _17;
  long unsigned int _18;
  long unsigned int _19;
  unsigned char _33;
  unsigned char _34;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_22(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) sch_23(D);
  _5 = _3 + _4;
  _6 = _5 * 256;
  sch_base_va_25 = _6 + cbus_base_va_24(D);
  # DEBUG sch_base_va => sch_base_va_25
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _7 = queue_26(D) + 248;
  if (_7 <= 246)
    goto <bb 5>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932186]:
  # DEBUG BEGIN_STMT
  if (input_27(D) > 7)
    goto <bb 5>; [35.00%]
  else
    goto <bb 4>; [65.00%]

  <bb 4> [local count: 453655921]:
  # DEBUG BEGIN_STMT
  _8 = input_27(D) >> 2;
  _9 = (long unsigned int) _8;
  _10 = _9 + 16;
  _11 = _10 * 4;
  _12 = _11 + sch_base_va_25;
  _13 = (volatile uint32_t *) _12;
  reg_29 ={v} *_13;
  # DEBUG reg => reg_29
  # DEBUG BEGIN_STMT
  _33 = input_27(D) & 3;
  _14 = (unsigned int) _33;
  _15 = _14 * 8;
  _16 = 255 << _15;
  _17 = ~_16;
  reg_30 = _17 & reg_29;
  # DEBUG reg => reg_30
  # DEBUG BEGIN_STMT
  _34 = queue_26(D) & 31;
  _18 = (long unsigned int) _34;
  _19 = _18 << _15;
  reg_31 = _19 | reg_30;
  # DEBUG reg => reg_31
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_13 ={v} reg_31;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0

  <bb 5> [local count: 1073741824]:
  # ret_20 = PHI <22(2), 22(3), 0(4)>
  # DEBUG ret => ret_20
  # DEBUG BEGIN_STMT
  return ret_20;

}


pfe_tmu_sch_cfg_get_input_weight (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t sch, uint8_t input)
{
  uint32_t input_weight;
  addr_t sch_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  long unsigned int _8;
  long unsigned int _9;
  long unsigned int _10;
  volatile uint32_t * _11;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_13(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) sch_14(D);
  _5 = _3 + _4;
  _6 = _5 * 256;
  sch_base_va_16 = _6 + cbus_base_va_15(D);
  # DEBUG sch_base_va => sch_base_va_16
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (input_17(D) > 7)
    goto <bb 4>; [50.00%]
  else
    goto <bb 3>; [50.00%]

  <bb 3> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  _7 = (long unsigned int) input_17(D);
  _8 = _7 + 8;
  _9 = _8 * 4;
  _10 = _9 + sch_base_va_16;
  _11 = (volatile uint32_t *) _10;
  input_weight_19 ={v} *_11;
  # DEBUG input_weight => input_weight_19

  <bb 4> [local count: 1073741824]:
  # input_weight_12 = PHI <0(2), input_weight_19(3)>
  # DEBUG input_weight => input_weight_12
  # DEBUG BEGIN_STMT
  return input_weight_12;

}


pfe_tmu_sch_cfg_set_input_weight (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t sch, uint8_t input, uint32_t weight)
{
  errno_t ret;
  addr_t sch_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  long unsigned int _8;
  long unsigned int _9;
  long unsigned int _10;
  volatile uint32_t * _11;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_14(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) sch_15(D);
  _5 = _3 + _4;
  _6 = _5 * 256;
  sch_base_va_17 = _6 + cbus_base_va_16(D);
  # DEBUG sch_base_va => sch_base_va_17
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (input_18(D) > 7)
    goto <bb 4>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932186]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _7 = (long unsigned int) input_18(D);
  _8 = _7 + 8;
  _9 = _8 * 4;
  _10 = _9 + sch_base_va_17;
  _11 = (volatile uint32_t *) _10;
  *_11 ={v} weight_20(D);
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0

  <bb 4> [local count: 1073741824]:
  # ret_12 = PHI <22(2), 0(3)>
  # DEBUG ret => ret_12
  # DEBUG BEGIN_STMT
  return ret_12;

}


pfe_tmu_sch_cfg_get_algo (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t sch)
{
  pfe_tmu_sched_algo_t algo;
  addr_t sch_base_va;
  uint32_t reg;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  volatile uint32_t * sch_base_va.33_7;
  long unsigned int _8;
  <unnamed type> _17;
  unsigned int _19;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_10(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) sch_11(D);
  _5 = _3 + _4;
  _6 = _5 * 256;
  sch_base_va_13 = _6 + cbus_base_va_12(D);
  # DEBUG sch_base_va => sch_base_va_13
  # DEBUG BEGIN_STMT
  # DEBUG algo => 4
  # DEBUG BEGIN_STMT
  sch_base_va.33_7 = (volatile uint32_t *) sch_base_va_13;
  reg_16 ={v} *sch_base_va.33_7;
  # DEBUG reg => reg_16
  # DEBUG BEGIN_STMT
  _8 = reg_16 & 15;
  _19 = _8;
  if (_19 <= 4)
    goto <bb 4>; [50.00%]
  else
    goto <bb 3>; [50.00%]

  <bb 3> [local count: 536870913]:
<L8>:
  algo_18 = 4;
  goto <bb 5>; [100.00%]

  <bb 4> [local count: 536870913]:
<L9>:
  _17 = CSWTCH.70[_19];
  algo_14 = _17;

  <bb 5> [local count: 1073741824]:
  # algo_9 = PHI <algo_18(3), algo_14(4)>
<L10>:
<L7>:
  # DEBUG algo => algo_9
  # DEBUG BEGIN_STMT
  return algo_9;

}


pfe_tmu_sch_cfg_set_algo (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t sch, pfe_tmu_sched_algo_t algo)
{
  errno_t ret;
  addr_t sch_base_va;
  uint32_t reg;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  <unnamed type> _7;
  volatile uint32_t * sch_base_va.32_8;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_10(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) sch_11(D);
  _5 = _3 + _4;
  _6 = _5 * 256;
  sch_base_va_13 = _6 + cbus_base_va_12(D);
  # DEBUG sch_base_va => sch_base_va_13
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  if (algo_14(D) == 0)
    goto <bb 13>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 4> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  if (algo_14(D) == 1)
    goto <bb 13>; [34.00%]
  else
    goto <bb 5>; [66.00%]

  <bb 5> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  if (algo_14(D) == 2)
    goto <bb 13>; [34.00%]
  else
    goto <bb 6>; [66.00%]

  <bb 6> [local count: 233860969]:
  # DEBUG BEGIN_STMT
  if (algo_14(D) == 3)
    goto <bb 8>; [32.03%]
  else
    goto <bb 14>; [67.97%]

  <bb 8> [local count: 74905668]:
  # DEBUG BEGIN_STMT
  _7 = pfe_tmu_sch_cfg_get_rate_mode (cbus_base_va_12(D), phy_10(D), sch_11(D));
  if (_7 != 1)
    goto <bb 14>; [51.11%]
  else
    goto <bb 13>; [48.89%]

  <bb 13> [local count: 876502237]:
  # reg_19 = PHI <2(4), 0(2), 4(8), 3(5)>
  # DEBUG ret => NULL
  # DEBUG reg => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  sch_base_va.32_8 = (volatile uint32_t *) sch_base_va_13;
  *sch_base_va.32_8 ={v} reg_19;

  <bb 14> [local count: 1073741824]:
  # ret_20 = PHI <22(6), 0(13), 22(8)>
  # DEBUG ret => NULL
  # DEBUG reg => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return ret_20;

}


pfe_tmu_sch_cfg_get_rate_mode (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t sch)
{
  pfe_tmu_rate_mode_t rmode;
  addr_t sch_base_va;
  uint32_t reg;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  unsigned int _7;
  volatile uint32_t * _8;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_10(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) sch_11(D);
  _5 = _3 + _4;
  _6 = _5 * 256;
  sch_base_va_13 = _6 + cbus_base_va_12(D);
  # DEBUG sch_base_va => sch_base_va_13
  # DEBUG BEGIN_STMT
  # DEBUG rmode => 2
  # DEBUG BEGIN_STMT
  _7 = sch_base_va_13 + 72;
  _8 = (volatile uint32_t *) _7;
  reg_15 ={v} *_8;
  # DEBUG reg => reg_15
  # DEBUG BEGIN_STMT
  if (reg_15 == 0)
    goto <bb 5>; [50.00%]
  else
    goto <bb 3>; [50.00%]

  <bb 3> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  if (reg_15 == 1)
    goto <bb 5>; [48.89%]
  else
    goto <bb 4>; [51.11%]

  <bb 4> [local count: 274394723]:
  # DEBUG BEGIN_STMT
  # DEBUG rmode => 2

  <bb 5> [local count: 1073741824]:
  # rmode_9 = PHI <0(2), 1(3), 2(4)>
  # DEBUG rmode => rmode_9
  # DEBUG BEGIN_STMT
  return rmode_9;

}


pfe_tmu_sch_cfg_set_rate_mode (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t sch, pfe_tmu_rate_mode_t mode)
{
  errno_t ret;
  addr_t sch_base_va;
  uint32_t reg;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  unsigned int _7;
  volatile uint32_t * _8;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_10(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) sch_11(D);
  _5 = _3 + _4;
  _6 = _5 * 256;
  sch_base_va_13 = _6 + cbus_base_va_12(D);
  # DEBUG sch_base_va => sch_base_va_13
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  if (mode_14(D) == 0)
    goto <bb 4>; [50.00%]
  else
    goto <bb 3>; [50.00%]

  <bb 3> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  if (mode_14(D) == 1)
    goto <bb 4>; [48.89%]
  else
    goto <bb 5>; [51.11%]

  <bb 4> [local count: 799347102]:
  # reg_18 = PHI <1(3), 0(2)>
  # DEBUG ret => NULL
  # DEBUG reg => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _7 = sch_base_va_13 + 72;
  _8 = (volatile uint32_t *) _7;
  *_8 ={v} reg_18;

  <bb 5> [local count: 1073741824]:
  # ret_19 = PHI <22(3), 0(4)>
  # DEBUG ret => NULL
  # DEBUG reg => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return ret_19;

}


pfe_tmu_sch_cfg_init (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t sch)
{
  addr_t sch_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  unsigned int _7;
  volatile uint32_t * _8;
  unsigned int _9;
  volatile uint32_t * _10;
  unsigned int _11;
  volatile uint32_t * _12;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_14(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) sch_15(D);
  _5 = _3 + _4;
  _6 = _5 * 256;
  sch_base_va_17 = _6 + cbus_base_va_16(D);
  # DEBUG sch_base_va => sch_base_va_17
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _7 = sch_base_va_17 + 64;
  _8 = (volatile uint32_t *) _7;
  *_8 ={v} 4294967295;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _9 = sch_base_va_17 + 68;
  _10 = (volatile uint32_t *) _9;
  *_10 ={v} 4294967295;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (sch_15(D) == 0)
    goto <bb 3>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 3> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _11 = sch_base_va_17 + 84;
  _12 = (volatile uint32_t *) _11;
  *_12 ={v} 15;

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

}


pfe_tmu_shp_cfg_init (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp)
{
  addr_t shp_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  unsigned int _8;
  volatile uint32_t * _9;
  unsigned int _10;
  volatile uint32_t * _11;
  unsigned int _12;
  volatile uint32_t * _13;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_14(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_15(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_17 = _7 + cbus_base_va_16(D);
  # DEBUG shp_base_va => shp_base_va_17
  # DEBUG BEGIN_STMT
  pfe_tmu_shp_cfg_disable (cbus_base_va_16(D), phy_14(D), shp_15(D));
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _8 = shp_base_va_17 + 12;
  _9 = (volatile uint32_t *) _8;
  *_9 ={v} 62;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _10 = shp_base_va_17 + 8;
  _11 = (volatile uint32_t *) _10;
  *_11 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _12 = shp_base_va_17 + 16;
  _13 = (volatile uint32_t *) _12;
  *_13 ={v} 0;
  # DEBUG BEGIN_STMT
  return;

}


pfe_tmu_shp_cfg_disable (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp)
{
  uint32_t reg;
  addr_t shp_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  volatile uint32_t * shp_base_va.30_8;
  long unsigned int _9;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_10(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_11(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_13 = _7 + cbus_base_va_12(D);
  # DEBUG shp_base_va => shp_base_va_13
  # DEBUG BEGIN_STMT
  shp_base_va.30_8 = (volatile uint32_t *) shp_base_va_13;
  _9 ={v} *shp_base_va.30_8;
  reg_15 = _9 & 4294967294;
  # DEBUG reg => reg_15
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *shp_base_va.30_8 ={v} reg_15;
  # DEBUG BEGIN_STMT
  return;

}


pfe_tmu_shp_cfg_get_idle_slope (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp)
{
  addr_t shp_base_va;
  uint64_t isl;
  uint32_t reg;
  uint32_t wgt;
  uint64_t sys_clk_hz;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  unsigned int _8;
  volatile uint32_t * _9;
  long long unsigned int _10;
  unsigned int _11;
  volatile uint32_t * _12;
  long unsigned int _13;
  <unnamed type> _14;
  long long unsigned int _15;
  long long unsigned int _16;
  long long unsigned int _17;
  long long unsigned int _18;
  long long unsigned int _19;
  long unsigned int _32;
  uint32_t _33;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_21(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_22(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_24 = _7 + cbus_base_va_23(D);
  # DEBUG shp_base_va => shp_base_va_24
  # DEBUG BEGIN_STMT
  _8 = cbus_base_va_23(D) + 606272;
  _9 = (volatile uint32_t *) _8;
  reg_26 ={v} *_9;
  # DEBUG reg => reg_26
  # DEBUG BEGIN_STMT
  _32 = reg_26 & 65535;
  _10 = (long long unsigned int) _32;
  sys_clk_hz_27 = _10 * 1000000;
  # DEBUG sys_clk_hz => sys_clk_hz_27
  # DEBUG BEGIN_STMT
  _11 = shp_base_va_24 + 4;
  _12 = (volatile uint32_t *) _11;
  _13 ={v} *_12;
  wgt_28 = _13 & 1048575;
  # DEBUG wgt => wgt_28
  # DEBUG BEGIN_STMT
  _14 = pfe_tmu_shp_cfg_get_rate_mode (cbus_base_va_23(D), phy_21(D), shp_22(D));
  switch (_14) <default: <L5> [33.33%], case 0: <L0> [33.33%], case 1: <L1> [33.33%]>

  <bb 3> [local count: 357878150]:
<L0>:
  # DEBUG BEGIN_STMT
  _15 = (long long unsigned int) wgt_28;
  _16 = _15 * sys_clk_hz_27;
  _17 = _16 * 8;
  isl_31 = _17 >> 20;
  # DEBUG isl => isl_31
  # DEBUG BEGIN_STMT
  goto <bb 5>; [100.00%]

  <bb 4> [local count: 357878150]:
<L1>:
  # DEBUG BEGIN_STMT
  _18 = (long long unsigned int) wgt_28;
  _19 = _18 * sys_clk_hz_27;
  isl_30 = _19 >> 20;
  # DEBUG isl => isl_30
  # DEBUG BEGIN_STMT

  <bb 5> [local count: 1073634451]:
  # isl_20 = PHI <isl_31(3), isl_30(4), 0(2)>
<L5>:
  # DEBUG isl => isl_20
  # DEBUG BEGIN_STMT
  _33 = (uint32_t) isl_20;
  return _33;

}


pfe_tmu_shp_cfg_set_idle_slope (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp, uint32_t isl)
{
  addr_t shp_base_va;
  uint64_t sys_clk_hz;
  uint64_t wgt;
  errno_t ret;
  uint32_t reg;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  unsigned int _8;
  volatile uint32_t * _9;
  long long unsigned int _10;
  <unnamed type> _11;
  long long unsigned int _12;
  long long unsigned int _13;
  long long unsigned int _14;
  long long unsigned int _15;
  long long unsigned int _16;
  long long unsigned int _17;
  long long unsigned int _18;
  long unsigned int _19;
  unsigned int _20;
  volatile uint32_t * _21;
  long unsigned int _22;
  volatile uint32_t * shp_base_va.28_23;
  long unsigned int _24;
  long unsigned int _26;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_27(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_28(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_30 = _7 + cbus_base_va_29(D);
  # DEBUG shp_base_va => shp_base_va_30
  # DEBUG BEGIN_STMT
  _8 = cbus_base_va_29(D) + 606272;
  _9 = (volatile uint32_t *) _8;
  reg_32 ={v} *_9;
  # DEBUG reg => reg_32
  # DEBUG BEGIN_STMT
  _26 = reg_32 & 65535;
  _10 = (long long unsigned int) _26;
  sys_clk_hz_33 = _10 * 1000000;
  # DEBUG sys_clk_hz => sys_clk_hz_33
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _11 = pfe_tmu_shp_cfg_get_rate_mode (cbus_base_va_29(D), phy_27(D), shp_28(D));
  switch (_11) <default: <L11> [33.33%], case 0: <L0> [33.33%], case 1: <L1> [33.33%]>

  <bb 3> [local count: 357878150]:
<L0>:
  # DEBUG BEGIN_STMT
  _12 = (long long unsigned int) isl_35(D);
  _13 = _12 + 1;
  _14 = _13 * 1048576;
  _15 = _10 * 8000000;
  wgt_37 = _14 / _15;
  # DEBUG wgt => wgt_37
  # DEBUG BEGIN_STMT
  # DEBUG wgt => wgt_37
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  goto <bb 5>; [100.00%]

  <bb 4> [local count: 357878150]:
<L1>:
  # DEBUG BEGIN_STMT
  _16 = (long long unsigned int) isl_35(D);
  _17 = _16 + 1;
  _18 = _17 * 1048576;
  wgt_36 = _18 / sys_clk_hz_33;
  # DEBUG wgt => wgt_36
  # DEBUG BEGIN_STMT
  # DEBUG wgt => wgt_36
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT

  <bb 5> [local count: 715756301]:
  # wgt_44 = PHI <wgt_36(4), wgt_37(3)>
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _19 = (long unsigned int) wgt_44;
  _20 = shp_base_va_30 + 4;
  _21 = (volatile uint32_t *) _20;
  _22 = _19 & 1048575;
  *_21 ={v} _22;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  shp_base_va.28_23 = (volatile uint32_t *) shp_base_va_30;
  reg_40 ={v} *shp_base_va.28_23;
  # DEBUG reg => reg_40
  # DEBUG BEGIN_STMT
  reg_41 = reg_40 & 1;
  # DEBUG reg => reg_41
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _24 = reg_41 | 14;
  *shp_base_va.28_23 ={v} _24;

  <bb 6> [local count: 1073634451]:
  # ret_43 = PHI <22(2), 0(5)>
<L11>:
  # DEBUG wgt => NULL
  # DEBUG ret => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return ret_43;

}


pfe_tmu_shp_cfg_get_rate_mode (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp)
{
  pfe_tmu_rate_mode_t rate_mode;
  addr_t shp_base_va;
  uint32_t reg;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  volatile uint32_t * shp_base_va.27_8;
  long unsigned int _9;
  unsigned int _10;
  volatile uint32_t * _11;
  long unsigned int _12;
  <unnamed type> _21;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_14(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_15(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_17 = _7 + cbus_base_va_16(D);
  # DEBUG shp_base_va => shp_base_va_17
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  shp_base_va.27_8 = (volatile uint32_t *) shp_base_va_17;
  reg_19 ={v} *shp_base_va.27_8;
  # DEBUG reg => reg_19
  # DEBUG BEGIN_STMT
  _9 = reg_19 & 1;
  if (_9 == 0)
    goto <bb 4>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932186]:
  # DEBUG BEGIN_STMT
  _10 = shp_base_va_17 + 12;
  _11 = (volatile uint32_t *) _10;
  reg_20 ={v} *_11;
  # DEBUG reg => reg_20
  # DEBUG BEGIN_STMT
  _12 = reg_20 & 1;
  _21 = (<unnamed type>) _12;

  <bb 4> [local count: 1073741824]:
  # rate_mode_13 = PHI <2(2), _21(3)>
  # DEBUG rate_mode => rate_mode_13
  # DEBUG BEGIN_STMT
  return rate_mode_13;

}


pfe_tmu_shp_cfg_set_rate_mode (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp, pfe_tmu_rate_mode_t mode)
{
  errno_t ret;
  addr_t shp_base_va;
  uint32_t reg;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  unsigned int _8;
  volatile uint32_t * _9;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_11(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_12(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_14 = _7 + cbus_base_va_13(D);
  # DEBUG shp_base_va => shp_base_va_14
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  _8 = shp_base_va_14 + 12;
  _9 = (volatile uint32_t *) _8;
  reg_16 ={v} *_9;
  # DEBUG reg => reg_16
  # DEBUG BEGIN_STMT
  if (mode_17(D) == 0)
    goto <bb 3>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 3> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  reg_19 = reg_16 & 4294967294;
  # DEBUG ret => 0
  # DEBUG reg => reg_19
  # DEBUG BEGIN_STMT
  goto <bb 6>; [100.00%]

  <bb 4> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  if (mode_17(D) == 1)
    goto <bb 5>; [48.89%]
  else
    goto <bb 7>; [51.11%]

  <bb 5> [local count: 262476189]:
  # DEBUG BEGIN_STMT
  reg_18 = reg_16 | 1;
  # DEBUG ret => 0
  # DEBUG reg => reg_18
  # DEBUG BEGIN_STMT

  <bb 6> [local count: 799347102]:
  # reg_21 = PHI <reg_18(5), reg_19(3)>
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_9 ={v} reg_21;

  <bb 7> [local count: 1073741824]:
  # ret_22 = PHI <22(4), 0(6)>
  # DEBUG ret => NULL
  # DEBUG reg => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return ret_22;

}


pfe_tmu_shp_cfg_enable (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp)
{
  addr_t shp_base_va;
  uint32_t reg;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  volatile uint32_t * shp_base_va.25_8;
  long unsigned int _9;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_10(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_11(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_13 = _7 + cbus_base_va_12(D);
  # DEBUG shp_base_va => shp_base_va_13
  # DEBUG BEGIN_STMT
  shp_base_va.25_8 = (volatile uint32_t *) shp_base_va_13;
  _9 ={v} *shp_base_va.25_8;
  reg_15 = _9 | 1;
  # DEBUG reg => reg_15
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *shp_base_va.25_8 ={v} reg_15;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return 0;

}


pfe_tmu_shp_cfg_get_position (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp)
{
  addr_t shp_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  unsigned int _8;
  volatile uint32_t * _9;
  long unsigned int _10;
  long unsigned int _11;
  unsigned char _12;
  uint8_t _18;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_13(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_14(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_16 = _7 + cbus_base_va_15(D);
  # DEBUG shp_base_va => shp_base_va_16
  # DEBUG BEGIN_STMT
  _8 = shp_base_va_16 + 12;
  _9 = (volatile uint32_t *) _8;
  _10 ={v} *_9;
  _11 = _10 >> 1;
  _12 = (unsigned char) _11;
  _18 = _12 & 31;
  return _18;

}


pfe_tmu_shp_cfg_set_position (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp, uint8_t pos)
{
  errno_t ret;
  uint32_t reg;
  addr_t shp_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  unsigned char _8;
  unsigned int _9;
  volatile uint32_t * _10;
  long unsigned int _11;
  long unsigned int _12;
  long unsigned int _13;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_16(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_17(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_19 = _7 + cbus_base_va_18(D);
  # DEBUG shp_base_va => shp_base_va_19
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _8 = pos_20(D) + 239;
  if (_8 <= 237)
    goto <bb 4>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932186]:
  # DEBUG BEGIN_STMT
  _9 = shp_base_va_19 + 12;
  _10 = (volatile uint32_t *) _9;
  reg_22 ={v} *_10;
  # DEBUG reg => reg_22
  # DEBUG BEGIN_STMT
  reg_23 = reg_22 & 4294967233;
  # DEBUG reg => reg_23
  # DEBUG BEGIN_STMT
  _11 = (long unsigned int) pos_20(D);
  _12 = _11 << 1;
  _13 = _12 & 62;
  reg_24 = _13 | reg_23;
  # DEBUG reg => reg_24
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_10 ={v} reg_24;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0

  <bb 4> [local count: 1073741824]:
  # ret_14 = PHI <22(2), 0(3)>
  # DEBUG ret => ret_14
  # DEBUG BEGIN_STMT
  return ret_14;

}


pfe_tmu_shp_cfg_get_limits (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp, int32_t * max_credit, int32_t * min_credit)
{
  addr_t shp_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  unsigned int _8;
  volatile uint32_t * _9;
  long unsigned int _10;
  long int _11;
  long int _12;
  unsigned int _13;
  volatile uint32_t * _14;
  long unsigned int _15;
  long int _16;
  long int _17;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_18(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_19(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_21 = _7 + cbus_base_va_20(D);
  # DEBUG shp_base_va => shp_base_va_21
  # DEBUG BEGIN_STMT
  _8 = shp_base_va_21 + 8;
  _9 = (volatile uint32_t *) _8;
  _10 ={v} *_9;
  _11 = (long int) _10;
  _12 = _11 >> 10;
  *max_credit_23(D) = _12;
  # DEBUG BEGIN_STMT
  _13 = shp_base_va_21 + 16;
  _14 = (volatile uint32_t *) _13;
  _15 ={v} *_14;
  _16 = (long int) _15;
  _17 = -_16;
  *min_credit_25(D) = _17;
  # DEBUG BEGIN_STMT
  return 0;

}


pfe_tmu_shp_cfg_set_limits (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t shp, int32_t max_credit, int32_t min_credit)
{
  errno_t ret;
  addr_t shp_base_va;
  long unsigned int _1;
  long unsigned int _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  unsigned int max_credit.22_8;
  unsigned int min_credit.23_9;
  unsigned int _10;
  unsigned int _11;
  volatile uint32_t * _12;
  long unsigned int _13;
  long int _14;
  unsigned int _15;
  volatile uint32_t * _16;
  long unsigned int _17;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _1 = (long unsigned int) phy_20(D);
  _2 = _1 + 129;
  _3 = _2 * 16;
  _4 = (long unsigned int) shp_21(D);
  _5 = _3 + _4;
  _6 = _5 + 2;
  _7 = _6 * 256;
  shp_base_va_23 = _7 + cbus_base_va_22(D);
  # DEBUG shp_base_va => shp_base_va_23
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  max_credit.22_8 = (unsigned int) max_credit_24(D);
  if (max_credit.22_8 > 4194303)
    goto <bb 5>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932186]:
  # DEBUG BEGIN_STMT
  min_credit.23_9 = (unsigned int) min_credit_25(D);
  _10 = min_credit.23_9 + 4194303;
  if (_10 > 4194303)
    goto <bb 5>; [35.00%]
  else
    goto <bb 4>; [65.00%]

  <bb 4> [local count: 453655921]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _11 = shp_base_va_23 + 8;
  _12 = (volatile uint32_t *) _11;
  _13 = max_credit.22_8 << 10;
  *_12 ={v} _13;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _14 = -min_credit_25(D);
  _15 = shp_base_va_23 + 16;
  _16 = (volatile uint32_t *) _15;
  _17 = (long unsigned int) _14;
  *_16 ={v} _17;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0

  <bb 5> [local count: 1073741824]:
  # ret_18 = PHI <22(2), 22(3), 0(4)>
  # DEBUG ret => ret_18
  # DEBUG BEGIN_STMT
  return ret_18;

}


pfe_tmu_q_get_wred_zones (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue)
{
  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return 8;

}


pfe_tmu_q_get_wred_probability (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue, uint8_t zone, uint8_t * prob)
{
  uint8_t queue_temp;
  uint8_t pos;
  uint32_t reg;
  errno_t ret;
  unsigned char _1;
  unsigned char _2;
  unsigned char _3;
  unsigned char _4;
  long unsigned int reg.20_5;
  unsigned char _6;
  unsigned int _7;
  unsigned int _8;
  long unsigned int _9;
  long unsigned int _10;
  long unsigned int _11;
  long unsigned int _12;
  unsigned char _13;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => queue_16(D)
  # DEBUG BEGIN_STMT
  if (zone_17(D) > 7)
    goto <bb 10>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932186]:
  # DEBUG BEGIN_STMT
  _1 = phy_18(D) + 250;
  if (_1 <= 3)
    goto <bb 5>; [50.00%]
  else
    goto <bb 8>; [50.00%]

  <bb 5> [local count: 348966093]:
  # DEBUG BEGIN_STMT
  queue_temp_22 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_20(D), phy_18(D), queue_16(D));
  # DEBUG queue_temp => queue_temp_22
  # DEBUG BEGIN_STMT
  if (queue_temp_22 == 255)
    goto <bb 10>; [21.72%]
  else
    goto <bb 8>; [78.28%]

  <bb 8> [local count: 622136751]:
  # queue_temp_29 = PHI <queue_temp_22(5), queue_16(D)(3)>
  # DEBUG queue_temp => NULL
  # DEBUG ret => NULL
  # DEBUG BEGIN_STMT
  _2 = zone_17(D) / 6;
  pos_23 = _2 + 5;
  # DEBUG pos => pos_23
  # DEBUG BEGIN_STMT
  _3 = queue_temp_29 * 8;
  _4 = _3 + pos_23;
  ret_25 = pfe_tmu_cntx_mem_read (cbus_base_va_20(D), phy_18(D), _4, &reg);
  # DEBUG ret => ret_25
  # DEBUG BEGIN_STMT
  if (ret_25 == 0)
    goto <bb 9>; [50.00%]
  else
    goto <bb 10>; [50.00%]

  <bb 9> [local count: 311068375]:
  # DEBUG BEGIN_STMT
  reg.20_5 = reg;
  _6 = zone_17(D) % 6;
  _7 = (unsigned int) _6;
  _8 = _7 * 5;
  _9 = reg.20_5 >> _8;
  # DEBUG BEGIN_STMT
  _10 = _9 & 31;
  _11 = _10 * 100;
  _12 = _11 / 31;
  _13 = (unsigned char) _12;
  *prob_26(D) = _13;

  <bb 10> [local count: 1073741824]:
  # ret_14 = PHI <22(2), 22(5), ret_25(8), 0(9)>
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_14
  # DEBUG BEGIN_STMT
  reg ={v} {CLOBBER};
  return ret_14;

}


pfe_tmu_q_set_wred_probability (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue, uint8_t zone, uint8_t prob)
{
  uint8_t queue_temp;
  uint8_t pos;
  uint32_t reg;
  errno_t ret;
  unsigned char _1;
  unsigned char _2;
  unsigned char _3;
  unsigned char _4;
  unsigned char _5;
  unsigned int _6;
  unsigned int _7;
  long unsigned int _8;
  long unsigned int _9;
  long unsigned int reg.17_10;
  long unsigned int _11;
  long unsigned int _12;
  long unsigned int _13;
  long unsigned int _14;
  long unsigned int _15;
  long unsigned int _16;
  long unsigned int _17;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => queue_20(D)
  # DEBUG BEGIN_STMT
  if (prob_21(D) > 100)
    goto <bb 11>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932186]:
  if (zone_22(D) > 7)
    goto <bb 11>; [35.00%]
  else
    goto <bb 4>; [65.00%]

  <bb 4> [local count: 453655921]:
  # DEBUG BEGIN_STMT
  _1 = phy_23(D) + 250;
  if (_1 <= 3)
    goto <bb 6>; [50.00%]
  else
    goto <bb 9>; [50.00%]

  <bb 6> [local count: 226827960]:
  # DEBUG BEGIN_STMT
  queue_temp_27 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_25(D), phy_23(D), queue_20(D));
  # DEBUG queue_temp => queue_temp_27
  # DEBUG BEGIN_STMT
  if (queue_temp_27 == 255)
    goto <bb 11>; [21.72%]
  else
    goto <bb 9>; [78.28%]

  <bb 9> [local count: 404388888]:
  # queue_temp_35 = PHI <queue_temp_27(6), queue_20(D)(4)>
  # DEBUG queue_temp => NULL
  # DEBUG ret => NULL
  # DEBUG BEGIN_STMT
  _2 = zone_22(D) / 6;
  pos_28 = _2 + 5;
  # DEBUG pos => pos_28
  # DEBUG BEGIN_STMT
  _3 = queue_temp_35 * 8;
  _4 = _3 + pos_28;
  ret_30 = pfe_tmu_cntx_mem_read (cbus_base_va_25(D), phy_23(D), _4, &reg);
  # DEBUG ret => ret_30
  # DEBUG BEGIN_STMT
  if (ret_30 == 0)
    goto <bb 10>; [33.00%]
  else
    goto <bb 11>; [67.00%]

  <bb 10> [local count: 133448333]:
  # DEBUG BEGIN_STMT
  _5 = zone_22(D) % 6;
  _6 = (unsigned int) _5;
  _7 = _6 * 5;
  _8 = 31 << _7;
  _9 = ~_8;
  reg.17_10 = reg;
  _11 = _9 & reg.17_10;
  # DEBUG BEGIN_STMT
  _12 = (long unsigned int) prob_21(D);
  _13 = _12 * 31;
  _14 = _13 / 100;
  _15 = _14;
  _16 = _15 << _7;
  _17 = _11 | _16;
  reg = _17;
  # DEBUG BEGIN_STMT
  ret_33 = pfe_tmu_cntx_mem_write (cbus_base_va_25(D), phy_23(D), _4, _17);
  # DEBUG ret => ret_33

  <bb 11> [local count: 1073741824]:
  # ret_18 = PHI <22(3), 22(6), ret_30(9), ret_33(10), 22(2)>
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_18
  # DEBUG BEGIN_STMT
  reg ={v} {CLOBBER};
  return ret_18;

}


pfe_tmu_q_mode_set_wred (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue, uint16_t min, uint16_t max)
{
  uint8_t queue_temp;
  errno_t ret;
  unsigned char _1;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => queue_4(D)
  # DEBUG BEGIN_STMT
  if (max_5(D) > 511)
    goto <bb 10>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932186]:
  if (min_6(D) > 511)
    goto <bb 10>; [35.00%]
  else
    goto <bb 4>; [65.00%]

  <bb 4> [local count: 453655921]:
  # DEBUG BEGIN_STMT
  _1 = phy_7(D) + 250;
  if (_1 <= 3)
    goto <bb 6>; [50.00%]
  else
    goto <bb 9>; [50.00%]

  <bb 6> [local count: 226827960]:
  # DEBUG BEGIN_STMT
  queue_temp_11 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_9(D), phy_7(D), queue_4(D));
  # DEBUG queue_temp => queue_temp_11
  # DEBUG BEGIN_STMT
  if (queue_temp_11 == 255)
    goto <bb 10>; [21.72%]
  else
    goto <bb 9>; [78.28%]

  <bb 9> [local count: 404388888]:
  # queue_temp_14 = PHI <queue_temp_11(6), queue_4(D)(4)>
  # DEBUG queue_temp => NULL
  # DEBUG ret => NULL
  # DEBUG BEGIN_STMT
  ret_13 = pfe_tmu_context_memory (cbus_base_va_9(D), phy_7(D), queue_temp_14, min_6(D), max_5(D));
  # DEBUG ret => ret_13

  <bb 10> [local count: 1073741824]:
  # ret_2 = PHI <22(3), 22(6), ret_13(9), 22(2)>
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_2
  # DEBUG BEGIN_STMT
  return ret_2;

}


pfe_tmu_q_mode_set_tail_drop (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue, uint16_t max)
{
  errno_t ret;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => queue_2(D)
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  if (max_3(D) > 255)
    goto <bb 4>; [35.00%]
  else
    goto <bb 3>; [65.00%]

  <bb 3> [local count: 697932184]:
  ret_7 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_6(D), phy_4(D), queue_2(D), max_3(D));

  <bb 4> [local count: 1073741824]:
  # ret_1 = PHI <22(2), ret_7(3)>
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_1
  # DEBUG BEGIN_STMT
  return ret_1;

}


pfe_tmu_q_mode_set_default (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue)
{
  errno_t ret;
  uint8_t temp;
  unsigned char _1;
  unsigned int _2;
  volatile uint32_t * _3;
  unsigned char _4;
  unsigned char _5;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG temp => queue_8(D)
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  _1 = phy_9(D) + 250;
  if (_1 <= 3)
    goto <bb 4>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 4> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  temp_13 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_11(D), phy_9(D), queue_8(D));
  # DEBUG temp => temp_13
  # DEBUG BEGIN_STMT
  if (temp_13 == 255)
    goto <bb 8>; [21.72%]
  else
    goto <bb 7>; [78.28%]

  <bb 7> [local count: 957133463]:
  # temp_17 = PHI <temp_13(4), queue_8(D)(2)>
  # DEBUG ret => NULL
  # DEBUG temp => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _2 = cbus_base_va_11(D) + 524364;
  _3 = (volatile uint32_t *) _2;
  *_3 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _4 = temp_17 * 8;
  _5 = _4 + 4;
  ret_16 = pfe_tmu_cntx_mem_write (cbus_base_va_11(D), phy_9(D), _5, 0);
  # DEBUG ret => ret_16

  <bb 8> [local count: 1073741824]:
  # ret_6 = PHI <22(4), ret_16(7)>
  # DEBUG temp => NULL
  # DEBUG ret => ret_6
  # DEBUG BEGIN_STMT
  return ret_6;

}


pfe_tmu_q_get_mode (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue, uint32_t * min, uint32_t * max)
{
  uint8_t temp;
  pfe_tmu_queue_mode_t mode;
  errno_t ret;
  uint32_t reg;
  unsigned char _1;
  unsigned char _2;
  unsigned char _3;
  long unsigned int reg.13_4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  long unsigned int _8;
  long unsigned int _9;
  long unsigned int _10;
  long unsigned int _11;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG mode => 2
  # DEBUG BEGIN_STMT
  # DEBUG temp => queue_14(D)
  # DEBUG BEGIN_STMT
  _1 = phy_15(D) + 250;
  if (_1 <= 3)
    goto <bb 4>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 4> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  temp_19 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_17(D), phy_15(D), queue_14(D));
  # DEBUG temp => temp_19
  # DEBUG BEGIN_STMT
  if (temp_19 == 255)
    goto <bb 12>; [21.72%]
  else
    goto <bb 7>; [78.28%]

  <bb 7> [local count: 957133463]:
  # temp_31 = PHI <temp_19(4), queue_14(D)(2)>
  # DEBUG temp => NULL
  # DEBUG mode => NULL
  # DEBUG BEGIN_STMT
  _2 = temp_31 * 8;
  _3 = _2 + 4;
  ret_21 = pfe_tmu_cntx_mem_read (cbus_base_va_17(D), phy_15(D), _3, &reg);
  # DEBUG ret => ret_21
  # DEBUG BEGIN_STMT
  if (ret_21 != 0)
    goto <bb 12>; [35.00%]
  else
    goto <bb 8>; [65.00%]

  <bb 8> [local count: 622136751]:
  # DEBUG BEGIN_STMT
  reg.13_4 = reg;
  _5 = reg.13_4 & 3;
  switch (_5) <default: <L9> [33.33%], case 1: <L7> [33.33%], case 2: <L8> [33.33%]>

  <bb 9> [local count: 207358179]:
<L7>:
  # DEBUG BEGIN_STMT
  # DEBUG mode => 0
  # DEBUG BEGIN_STMT
  _6 = reg.13_4 >> 11;
  _7 = _6 & 511;
  *max_22(D) = _7;
  # DEBUG BEGIN_STMT
  *min_24(D) = 0;
  # DEBUG BEGIN_STMT
  goto <bb 12>; [100.00%]

  <bb 10> [local count: 207358179]:
<L8>:
  # DEBUG BEGIN_STMT
  # DEBUG mode => 1
  # DEBUG BEGIN_STMT
  _8 = reg.13_4 >> 11;
  _9 = _8 & 511;
  *max_22(D) = _9;
  # DEBUG BEGIN_STMT
  _10 = reg.13_4 >> 2;
  _11 = _10 & 511;
  *min_24(D) = _11;
  # DEBUG BEGIN_STMT
  goto <bb 12>; [100.00%]

  <bb 11> [local count: 207358179]:
<L9>:
  # DEBUG BEGIN_STMT
  # DEBUG mode => 2
  # DEBUG BEGIN_STMT
  *max_22(D) = 0;
  # DEBUG BEGIN_STMT
  *min_24(D) = 0;
  # DEBUG BEGIN_STMT

  <bb 12> [local count: 1073679612]:
  # mode_12 = PHI <3(4), 3(7), 0(9), 1(10), 2(11)>
  # DEBUG temp => NULL
  # DEBUG mode => mode_12
  # DEBUG BEGIN_STMT
  reg ={v} {CLOBBER};
  return mode_12;

}


pfe_tmu_q_cfg_get_tx_count (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue, uint32_t * cnt)
{
  errno_t ret;
  uint8_t temp;
  unsigned char _1;
  unsigned char _2;
  unsigned char _3;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG temp => queue_6(D)
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  _1 = phy_7(D) + 250;
  if (_1 <= 3)
    goto <bb 4>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 4> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  temp_11 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_9(D), phy_7(D), queue_6(D));
  # DEBUG temp => temp_11
  # DEBUG BEGIN_STMT
  if (temp_11 == 255)
    goto <bb 8>; [21.72%]
  else
    goto <bb 7>; [78.28%]

  <bb 7> [local count: 957133463]:
  # temp_15 = PHI <temp_11(4), queue_6(D)(2)>
  # DEBUG ret => NULL
  # DEBUG temp => NULL
  # DEBUG BEGIN_STMT
  _2 = temp_15 * 8;
  _3 = _2 + 3;
  ret_14 = pfe_tmu_cntx_mem_read (cbus_base_va_9(D), phy_7(D), _3, cnt_12(D));
  # DEBUG ret => ret_14

  <bb 8> [local count: 1073741824]:
  # ret_4 = PHI <22(4), ret_14(7)>
  # DEBUG temp => NULL
  # DEBUG ret => ret_4
  # DEBUG BEGIN_STMT
  return ret_4;

}


pfe_tmu_q_cfg_get_drop_count (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue, uint32_t * cnt)
{
  uint8_t temp;
  errno_t ret;
  uint32_t drops;
  unsigned char _1;
  unsigned char _2;
  unsigned char _3;
  unsigned char _4;
  long unsigned int drops.11_5;
  long unsigned int _6;
  long unsigned int drops.12_7;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  # DEBUG temp => queue_11(D)
  # DEBUG BEGIN_STMT
  _1 = phy_12(D) + 250;
  if (_1 <= 3)
    goto <bb 4>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 4> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  temp_16 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_14(D), phy_12(D), queue_11(D));
  # DEBUG temp => temp_16
  # DEBUG BEGIN_STMT
  if (temp_16 == 255)
    goto <bb 13>; [21.72%]
  else
    goto <bb 7>; [78.28%]

  <bb 7> [local count: 957133463]:
  # temp_24 = PHI <temp_16(4), queue_11(D)(2)>
  # DEBUG temp => NULL
  # DEBUG ret => NULL
  # DEBUG BEGIN_STMT
  _2 = temp_24 * 8;
  _3 = _2 + 2;
  ret_18 = pfe_tmu_cntx_mem_read (cbus_base_va_14(D), phy_12(D), _3, &drops);
  # DEBUG ret => ret_18
  # DEBUG BEGIN_STMT
  if (ret_18 == 0)
    goto <bb 8>; [50.00%]
  else
    goto <bb 13>; [50.00%]

  <bb 8> [local count: 478566731]:
  # DEBUG BEGIN_STMT
  if (phy_12(D) == 0)
    goto <bb 9>; [50.00%]
  else
    goto <bb 12>; [50.00%]

  <bb 9> [local count: 239283366]:
  if (queue_11(D) == 0)
    goto <bb 10>; [33.00%]
  else
    goto <bb 12>; [67.00%]

  <bb 10> [local count: 78963511]:
  _4 = pfe_feature_mgr_is_available ("drv_run_on_g3");
  if (_4 == 0)
    goto <bb 11>; [50.00%]
  else
    goto <bb 12>; [50.00%]

  <bb 11> [local count: 39481755]:
  # DEBUG BEGIN_STMT
  drops.11_5 = drops;
  _6 = drops.11_5 + 4294967040;
  *cnt_20(D) = _6;
  goto <bb 13>; [100.00%]

  <bb 12> [local count: 439084976]:
  # DEBUG BEGIN_STMT
  drops.12_7 = drops;
  *cnt_20(D) = drops.12_7;

  <bb 13> [local count: 1073741824]:
  # ret_8 = PHI <22(4), ret_18(7), 0(11), 0(12)>
  # DEBUG temp => NULL
  # DEBUG ret => ret_8
  # DEBUG BEGIN_STMT
  drops ={v} {CLOBBER};
  return ret_8;

}


pfe_tmu_q_cfg_get_fill_level (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue, uint32_t * level)
{
  errno_t ret;
  uint8_t queue_temp;
  unsigned char _1;
  unsigned char _2;
  unsigned char _3;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => queue_6(D)
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  _1 = phy_7(D) + 250;
  if (_1 <= 3)
    goto <bb 4>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 4> [local count: 536870913]:
  # DEBUG BEGIN_STMT
  queue_temp_11 = pfe_tmu_hif_q_to_tmu_q (cbus_base_va_9(D), phy_7(D), queue_6(D));
  # DEBUG queue_temp => queue_temp_11
  # DEBUG BEGIN_STMT
  if (queue_temp_11 == 255)
    goto <bb 8>; [21.72%]
  else
    goto <bb 7>; [78.28%]

  <bb 7> [local count: 957133463]:
  # queue_temp_15 = PHI <queue_temp_11(4), queue_6(D)(2)>
  # DEBUG ret => NULL
  # DEBUG queue_temp => NULL
  # DEBUG BEGIN_STMT
  _2 = queue_temp_15 * 8;
  _3 = _2 + 1;
  ret_14 = pfe_tmu_cntx_mem_read (cbus_base_va_9(D), phy_7(D), _3, level_12(D));
  # DEBUG ret => ret_14

  <bb 8> [local count: 1073741824]:
  # ret_4 = PHI <22(4), ret_14(7)>
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_4
  # DEBUG BEGIN_STMT
  return ret_4;

}


pfe_tmu_context_memory (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue_temp, uint16_t min, uint16_t max)
{
  errno_t ret;
  uint32_t reg;
  unsigned char _1;
  unsigned char _2;
  unsigned char _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  long unsigned int _8;
  unsigned char _9;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG reg => 0
  # DEBUG BEGIN_STMT
  _1 = queue_temp_12(D) * 8;
  _2 = _1 + 5;
  ret_17 = pfe_tmu_cntx_mem_write (cbus_base_va_14(D), phy_15(D), _2, 0);
  # DEBUG ret => ret_17
  # DEBUG BEGIN_STMT
  if (ret_17 == 0)
    goto <bb 3>; [33.00%]
  else
    goto <bb 5>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  _3 = _1 + 6;
  ret_19 = pfe_tmu_cntx_mem_write (cbus_base_va_14(D), phy_15(D), _3, 0);
  # DEBUG ret => ret_19
  # DEBUG BEGIN_STMT
  if (ret_19 == 0)
    goto <bb 4>; [33.00%]
  else
    goto <bb 5>; [67.00%]

  <bb 4> [local count: 116930485]:
  # DEBUG BEGIN_STMT
  _4 = (long unsigned int) max_20(D);
  _5 = _4 << 11;
  _6 = (long unsigned int) min_21(D);
  _7 = _6 << 2;
  _8 = _5 | _7;
  reg_22 = _8 | 2;
  # DEBUG reg => reg_22
  # DEBUG BEGIN_STMT
  _9 = _1 + 4;
  ret_24 = pfe_tmu_cntx_mem_write (cbus_base_va_14(D), phy_15(D), _9, reg_22);
  # DEBUG ret => ret_24

  <bb 5> [local count: 1073741824]:
  # ret_10 = PHI <ret_17(2), ret_19(3), ret_24(4)>
  # DEBUG ret => ret_10
  # DEBUG BEGIN_STMT
  return ret_10;

}


pfe_tmu_hif_q_to_tmu_q (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t queue)
{
  uint8_t tmu_queue;
  unsigned char _1;

  <bb 2> [local count: 210986025]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG hif_queue => -1
  # DEBUG BEGIN_STMT
  # DEBUG tmu_queue => 255
  # DEBUG BEGIN_STMT
  _1 = phy_6(D) + 250;
  if (_1 <= 3)
    goto <bb 3>; [65.00%]
  else
    goto <bb 4>; [35.00%]

  <bb 3> [local count: 137140916]:
  tmu_queue_2 = pfe_tmu_hif_q_to_tmu_q.part.0 (cbus_base_va_7(D), phy_6(D), queue_9(D));

  <bb 4> [local count: 210986024]:
  # tmu_queue_3 = PHI <255(2), tmu_queue_2(3)>
  # DEBUG tmu_queue => tmu_queue_3
  # DEBUG BEGIN_STMT
  return tmu_queue_3;

}


pfe_tmu_cntx_mem_read (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t loc, uint32_t * data)
{
  errno_t ret;
  pfe_ct_phy_if_id_t phy_temp;
  uint32_t timeout;
  uint32_t reg;
  unsigned int _1;
  volatile uint32_t * _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  unsigned int _7;
  volatile uint32_t * _8;
  long unsigned int _9;
  unsigned int _10;
  volatile uint32_t * _11;
  long unsigned int _12;
  unsigned int _13;
  volatile uint32_t * _14;
  long unsigned int _15;

  <bb 2> [local count: 164701623]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG timeout => 20
  # DEBUG BEGIN_STMT
  # DEBUG phy_temp => phy_20(D)
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = cbus_base_va_21(D) + 524596;
  _2 = (volatile uint32_t *) _1;
  *_2 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  switch (phy_20(D)) <default: <L26> [33.33%], case 0 ... 2: <L25> [33.33%], case 3: <L23> [33.33%], case 4 ... 5: <L25> [33.33%], case 6 ... 9: <L23> [33.33%]>

  <bb 3> [local count: 54895051]:
<L23>:
  # DEBUG BEGIN_STMT
  # DEBUG phy_temp => 3
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG phy_temp => 3
  # DEBUG BEGIN_STMT

  <bb 4> [local count: 109790102]:
  # phy_temp_33 = PHI <3(3), phy_20(D)(2)>
<L25>:
  # DEBUG ret => NULL
  # DEBUG phy_temp => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _3 = (long unsigned int) phy_temp_33;
  _4 = _3 << 16;
  _5 = _4 & 2031616;
  _6 = (long unsigned int) loc_25(D);
  _7 = cbus_base_va_21(D) + 524600;
  _8 = (volatile uint32_t *) _7;
  _9 = _5 | _6;
  *_8 ={v} _9;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _10 = cbus_base_va_21(D) + 524608;
  _11 = (volatile uint32_t *) _10;
  *_11 ={v} 2;

  <bb 5> [local count: 1073741824]:
  # timeout_16 = PHI <20(4), timeout_29(10)>
  # DEBUG timeout => timeout_16
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  oal_time_usleep (10);
  # DEBUG BEGIN_STMT
  timeout_29 = timeout_16 + 4294967295;
  # DEBUG timeout => timeout_29
  # DEBUG BEGIN_STMT
  reg_30 ={v} *_11;
  # DEBUG reg => reg_30
  # DEBUG BEGIN_STMT
  _12 = reg_30 & 4;
  if (_12 == 0)
    goto <bb 6>; [94.50%]
  else
    goto <bb 7>; [5.50%]

  <bb 6> [local count: 1014686025]:
  if (timeout_29 != 0)
    goto <bb 10>; [95.00%]
  else
    goto <bb 7>; [5.00%]

  <bb 10> [local count: 963951723]:
  goto <bb 5>; [100.00%]

  <bb 7> [local count: 109790102]:
  # timeout_24 = PHI <timeout_29(5), timeout_29(6)>
  # DEBUG BEGIN_STMT
  if (timeout_24 == 0)
    goto <bb 9>; [35.00%]
  else
    goto <bb 8>; [65.00%]

  <bb 8> [local count: 71363566]:
  # DEBUG BEGIN_STMT
  _13 = cbus_base_va_21(D) + 524604;
  _14 = (volatile uint32_t *) _13;
  _15 ={v} *_14;
  *data_31(D) = _15;

  <bb 9> [local count: 164685153]:
  # ret_17 = PHI <22(2), 110(7), 0(8)>
<L26>:
  # DEBUG phy_temp => NULL
  # DEBUG ret => ret_17
  # DEBUG BEGIN_STMT
  return ret_17;

}


pfe_tmu_cntx_mem_write (addr_t cbus_base_va, pfe_ct_phy_if_id_t phy, uint8_t loc, uint32_t data)
{
  errno_t ret;
  pfe_ct_phy_if_id_t phy_temp;
  uint32_t timeout;
  uint32_t reg;
  unsigned int _1;
  volatile uint32_t * _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  unsigned int _7;
  volatile uint32_t * _8;
  long unsigned int _9;
  unsigned int _10;
  volatile uint32_t * _11;
  unsigned int _12;
  volatile uint32_t * _13;
  long unsigned int _14;

  <bb 2> [local count: 103814371]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG timeout => 200
  # DEBUG BEGIN_STMT
  # DEBUG phy_temp => phy_19(D)
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = cbus_base_va_20(D) + 524596;
  _2 = (volatile uint32_t *) _1;
  *_2 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  switch (phy_19(D)) <default: <L25> [33.33%], case 0 ... 2: <L24> [33.33%], case 3: <L22> [33.33%], case 4 ... 5: <L24> [33.33%], case 6 ... 9: <L22> [33.33%]>

  <bb 3> [local count: 34601330]:
<L22>:
  # DEBUG BEGIN_STMT
  # DEBUG phy_temp => 3
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG phy_temp => 3
  # DEBUG BEGIN_STMT

  <bb 4> [local count: 69202660]:
  # phy_temp_32 = PHI <3(3), phy_19(D)(2)>
<L24>:
  # DEBUG ret => NULL
  # DEBUG phy_temp => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _3 = (long unsigned int) phy_temp_32;
  _4 = _3 << 16;
  _5 = _4 & 2031616;
  _6 = (long unsigned int) loc_24(D);
  _7 = cbus_base_va_20(D) + 524600;
  _8 = (volatile uint32_t *) _7;
  _9 = _5 | _6;
  *_8 ={v} _9;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _10 = cbus_base_va_20(D) + 524604;
  _11 = (volatile uint32_t *) _10;
  *_11 ={v} data_26(D);
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _12 = cbus_base_va_20(D) + 524608;
  _13 = (volatile uint32_t *) _12;
  *_13 ={v} 3;

  <bb 5> [local count: 1073741824]:
  # timeout_15 = PHI <200(4), timeout_30(10)>
  # DEBUG timeout => timeout_15
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  oal_time_usleep (1);
  # DEBUG BEGIN_STMT
  timeout_30 = timeout_15 + 4294967295;
  # DEBUG timeout => timeout_30
  # DEBUG BEGIN_STMT
  reg_31 ={v} *_13;
  # DEBUG reg => reg_31
  # DEBUG BEGIN_STMT
  _14 = reg_31 & 4;
  if (_14 == 0)
    goto <bb 6>; [94.50%]
  else
    goto <bb 7>; [5.50%]

  <bb 6> [local count: 1014686023]:
  if (timeout_30 != 0)
    goto <bb 10>; [99.00%]
  else
    goto <bb 7>; [1.00%]

  <bb 10> [local count: 1004539164]:
  goto <bb 5>; [100.00%]

  <bb 7> [local count: 69202661]:
  # timeout_23 = PHI <timeout_30(5), timeout_30(6)>
  # DEBUG BEGIN_STMT
  if (timeout_23 == 0)
    goto <bb 8>; [35.00%]
  else
    goto <bb 9>; [65.00%]

  <bb 8> [local count: 24220931]:
  # DEBUG BEGIN_STMT
  # DEBUG ret => 110

  <bb 9> [local count: 103803991]:
  # ret_16 = PHI <22(2), 0(7), 110(8)>
<L25>:
  # DEBUG phy_temp => NULL
  # DEBUG ret => ret_16
  # DEBUG BEGIN_STMT
  return ret_16;

}


pfe_tmu_cfg_disable (addr_t cbus_base_va)
{
  <bb 2> [local count: 1073741824]:
  pfe_tmu_cfg_enable (cbus_base_va_1(D)); [tail call]
  return;

}


pfe_tmu_cfg_enable (addr_t cbus_base_va)
{
  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  return;

}


pfe_tmu_cfg_reset (addr_t cbus_base_va)
{
  uint32_t reg;
  uint32_t timeout;
  unsigned int _1;
  volatile uint32_t * _2;
  long unsigned int _3;

  <bb 2> [local count: 69202660]:
  # DEBUG BEGIN_STMT
  # DEBUG timeout => 200
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = cbus_base_va_6(D) + 524344;
  _2 = (volatile uint32_t *) _1;
  *_2 ={v} 1;

  <bb 3> [local count: 1073741824]:
  # timeout_4 = PHI <200(2), timeout_10(6)>
  # DEBUG timeout => timeout_4
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  oal_time_usleep (10);
  # DEBUG BEGIN_STMT
  timeout_10 = timeout_4 + 4294967295;
  # DEBUG timeout => timeout_10
  # DEBUG BEGIN_STMT
  reg_11 ={v} *_2;
  # DEBUG reg => reg_11
  # DEBUG BEGIN_STMT
  _3 = reg_11 & 1;
  if (_3 != 0)
    goto <bb 4>; [94.50%]
  else
    goto <bb 5>; [5.50%]

  <bb 4> [local count: 1014686024]:
  if (timeout_10 != 0)
    goto <bb 6>; [99.00%]
  else
    goto <bb 5>; [1.00%]

  <bb 6> [local count: 1004539164]:
  goto <bb 3>; [100.00%]

  <bb 5> [local count: 69202661]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return;

}


pfe_tmu_cfg_init (addr_t cbus_base_va, const struct pfe_tmu_cfg_t * cfg)
{
  errno_t ret;
  errno_t ret;
  addr_t sch_base_va;
  uint32_t regval;
  errno_t ret;
  uint32_t ii;
  uint8_t queue;
  unsigned char _1;
  unsigned int _2;
  volatile uint32_t * _3;
  unsigned int _4;
  volatile uint32_t * _5;
  unsigned int _6;
  volatile uint32_t * _7;
  unsigned int _8;
  volatile uint32_t * _9;
  unsigned int _10;
  volatile uint32_t * _11;
  unsigned int _12;
  volatile uint32_t * _13;
  unsigned int _14;
  volatile uint32_t * _15;
  unsigned int _16;
  volatile uint32_t * _17;
  unsigned int _18;
  volatile uint32_t * _19;
  unsigned int _20;
  volatile uint32_t * _21;
  unsigned int _22;
  volatile uint32_t * _23;
  unsigned int _24;
  volatile uint32_t * _25;
  <unnamed type> _26;
  unsigned int _27;
  volatile uint32_t * _28;
  unsigned int _29;
  volatile uint32_t * _30;
  unsigned int _31;
  volatile uint32_t * _32;
  unsigned int _33;
  volatile uint32_t * _34;
  unsigned int _35;
  volatile uint32_t * _36;
  long unsigned int _97;
  long unsigned int _98;
  long unsigned int _99;
  long unsigned int _100;
  long unsigned int _101;
  volatile uint32_t * sch_base_va.32_103;

  <bb 2> [local count: 35862108]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = pfe_feature_mgr_is_available ("drv_run_on_g3");
  if (_1 == 1)
    goto <bb 3>; [34.00%]
  else
    goto <bb 4>; [66.00%]

  <bb 3> [local count: 12193117]:
  # DEBUG BEGIN_STMT
  _2 = cbus_base_va_58(D) + 524364;
  _3 = (volatile uint32_t *) _2;
  regval_59 ={v} *_3;
  # DEBUG regval => regval_59
  # DEBUG BEGIN_STMT
  regval_60 = regval_59 | 4;
  # DEBUG regval => regval_60
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_3 ={v} regval_60;

  <bb 4> [local count: 35862108]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _4 = cbus_base_va_58(D) + 524528;
  _5 = (volatile uint32_t *) _4;
  *_5 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _6 = cbus_base_va_58(D) + 524532;
  _7 = (volatile uint32_t *) _6;
  *_7 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _8 = cbus_base_va_58(D) + 524536;
  _9 = (volatile uint32_t *) _8;
  *_9 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _10 = cbus_base_va_58(D) + 524540;
  _11 = (volatile uint32_t *) _10;
  *_11 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _12 = cbus_base_va_58(D) + 524548;
  _13 = (volatile uint32_t *) _12;
  *_13 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  pfe_tmu_cfg_reset (cbus_base_va_58(D));
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _14 = cbus_base_va_58(D) + 524388;
  _15 = (volatile uint32_t *) _14;
  *_15 ={v} 3221930032;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _16 = cbus_base_va_58(D) + 524392;
  _17 = (volatile uint32_t *) _16;
  *_17 ={v} 3221946416;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _18 = cbus_base_va_58(D) + 524396;
  _19 = (volatile uint32_t *) _18;
  *_19 ={v} 3221962800;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _20 = cbus_base_va_58(D) + 524452;
  _21 = (volatile uint32_t *) _20;
  *_21 ={v} 3221864496;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _22 = cbus_base_va_58(D) + 524400;
  _23 = (volatile uint32_t *) _22;
  *_23 ={v} 3221864496;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _24 = cbus_base_va_58(D) + 524408;
  _25 = (volatile uint32_t *) _24;
  *_25 ={v} 3222061072;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ii => 0
  goto <bb 21>; [100.00%]

  <bb 5> [local count: 171787418]:
  # DEBUG BEGIN_STMT
  _26 = phy_if_id_temp[ii_39];
  pfe_tmu_sch_cfg_init (cbus_base_va_58(D), _26, 0);
  # DEBUG BEGIN_STMT
  pfe_tmu_sch_cfg_init (cbus_base_va_58(D), _26, 1);
  # DEBUG BEGIN_STMT
  pfe_tmu_shp_cfg_init (cbus_base_va_58(D), _26, 0);
  # DEBUG BEGIN_STMT
  pfe_tmu_shp_cfg_init (cbus_base_va_58(D), _26, 1);
  # DEBUG BEGIN_STMT
  pfe_tmu_shp_cfg_init (cbus_base_va_58(D), _26, 2);
  # DEBUG BEGIN_STMT
  pfe_tmu_shp_cfg_init (cbus_base_va_58(D), _26, 3);
  # DEBUG BEGIN_STMT
  # DEBUG queue => 0
  goto <bb 8>; [100.00%]

  <bb 6> [local count: 954449108]:
  # DEBUG BEGIN_STMT
  ret_81 = pfe_tmu_sch_cfg_bind_queue (cbus_base_va_58(D), _26, 1, queue_37, queue_37);
  # DEBUG ret => ret_81
  # DEBUG BEGIN_STMT
  if (ret_81 != 0)
    goto <bb 9>; [5.50%]
  else
    goto <bb 7>; [94.50%]

  <bb 7> [local count: 901954407]:
  # DEBUG BEGIN_STMT
  queue_82 = queue_37 + 1;
  # DEBUG queue => queue_82

  <bb 8> [local count: 1073741824]:
  # queue_37 = PHI <0(5), queue_82(7)>
  # ret_40 = PHI <ret_45(5), 0(7)>
  # DEBUG ret => ret_40
  # DEBUG queue => queue_37
  # DEBUG BEGIN_STMT
  if (queue_37 != 8)
    goto <bb 6>; [88.89%]
  else
    goto <bb 9>; [11.11%]

  <bb 9> [local count: 171787418]:
  # ret_41 = PHI <114(6), ret_40(8)>
  # DEBUG ret => ret_41
  # DEBUG BEGIN_STMT
  if (ret_41 == 0)
    goto <bb 10>; [15.41%]
  else
    goto <bb 19>; [84.59%]

  <bb 10> [local count: 26472441]:
  # DEBUG BEGIN_STMT
  ret_84 = pfe_tmu_sch_cfg_set_rate_mode (cbus_base_va_58(D), _26, 1, 0);
  # DEBUG ret => ret_84
  # DEBUG BEGIN_STMT
  if (ret_84 != 0)
    goto <bb 22>; [3.66%]
  else
    goto <bb 12>; [96.34%]

  <bb 12> [local count: 25503550]:
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => cbus_base_va_58(D)
  # DEBUG phy => _26
  # DEBUG sch => 1
  # DEBUG algo => 2
  # DEBUG INLINE_ENTRY pfe_tmu_sch_cfg_set_algo
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _97 = (long unsigned int) _26;
  _98 = _97 + 129;
  _99 = _98 * 16;
  _100 = _99 + 1;
  _101 = _100 * 256;
  sch_base_va_102 = cbus_base_va_58(D) + _101;
  # DEBUG sch_base_va => sch_base_va_102
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => NULL
  # DEBUG reg => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  sch_base_va.32_103 = (volatile uint32_t *) sch_base_va_102;
  *sch_base_va.32_103 ={v} 3;
  # DEBUG ret => NULL
  # DEBUG reg => NULL
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => NULL
  # DEBUG phy => NULL
  # DEBUG sch => NULL
  # DEBUG algo => NULL
  # DEBUG ret => NULL
  # DEBUG sch_base_va => NULL
  # DEBUG reg => NULL
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG queue => 0
  goto <bb 18>; [100.00%]

  <bb 13> [local count: 141697457]:
  # DEBUG BEGIN_STMT
  if (ii_39 == 3)
    goto <bb 14>; [22.47%]
  else
    goto <bb 15>; [77.53%]

  <bb 14> [local count: 31839419]:
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => cbus_base_va_58(D)
  # DEBUG phy => _26
  # DEBUG queue => queue_38
  # DEBUG max => 16
  # DEBUG INLINE_ENTRY pfe_tmu_q_mode_set_tail_drop
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => queue_38
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  ret_104 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_58(D), _26, queue_38, 16);
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_104
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => NULL
  # DEBUG phy => NULL
  # DEBUG queue => NULL
  # DEBUG max => NULL
  # DEBUG ret => NULL
  # DEBUG ret => ret_104
  goto <bb 16>; [100.00%]

  <bb 15> [local count: 109858038]:
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => cbus_base_va_58(D)
  # DEBUG phy => _26
  # DEBUG queue => queue_38
  # DEBUG max => 31
  # DEBUG INLINE_ENTRY pfe_tmu_q_mode_set_tail_drop
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => queue_38
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  ret_105 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_58(D), _26, queue_38, 31);
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_105
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => NULL
  # DEBUG phy => NULL
  # DEBUG queue => NULL
  # DEBUG max => NULL
  # DEBUG ret => NULL
  # DEBUG ret => ret_105

  <bb 16> [local count: 141697457]:
  # ret_42 = PHI <ret_104(14), ret_105(15)>
  # DEBUG ret => ret_42
  # DEBUG BEGIN_STMT
  if (ret_42 != 0)
    goto <bb 19>; [5.50%]
  else
    goto <bb 17>; [94.50%]

  <bb 17> [local count: 133904097]:
  # DEBUG BEGIN_STMT
  queue_85 = queue_38 + 1;
  # DEBUG queue => queue_85

  <bb 18> [local count: 159407647]:
  # queue_38 = PHI <0(12), queue_85(17)>
  # ret_43 = PHI <0(12), 0(17)>
  # DEBUG ret => ret_43
  # DEBUG queue => queue_38
  # DEBUG BEGIN_STMT
  if (queue_38 != 8)
    goto <bb 13>; [88.89%]
  else
    goto <bb 19>; [11.11%]

  <bb 19> [local count: 170818526]:
  # ret_44 = PHI <ret_41(9), ret_42(16), ret_43(18)>
  # DEBUG ret => ret_44
  # DEBUG BEGIN_STMT
  if (ret_44 != 0)
    goto <bb 22>; [3.66%]
  else
    goto <bb 20>; [96.34%]

  <bb 20> [local count: 164566568]:
  # DEBUG BEGIN_STMT
  ii_86 = ii_39 + 1;
  # DEBUG ii => ii_86

  <bb 21> [local count: 200428676]:
  # ii_39 = PHI <0(4), ii_86(20)>
  # ret_45 = PHI <0(4), 0(20)>
  # DEBUG ret => ret_45
  # DEBUG ii => ii_39
  # DEBUG BEGIN_STMT
  if (ii_39 != 6)
    goto <bb 5>; [85.71%]
  else
    goto <bb 22>; [14.29%]

  <bb 22> [local count: 35862107]:
  # ret_46 = PHI <ret_44(19), ret_45(21), 114(10)>
  # DEBUG ret => ret_46
  # DEBUG BEGIN_STMT
  if (ret_46 == 0)
    goto <bb 23>; [50.00%]
  else
    goto <bb 24>; [50.00%]

  <bb 23> [local count: 17931054]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _27 = cbus_base_va_58(D) + 524348;
  _28 = (volatile uint32_t *) _27;
  *_28 ={v} 3221782580;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _29 = cbus_base_va_58(D) + 524368;
  _30 = (volatile uint32_t *) _29;
  *_30 ={v} 3221798964;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _31 = cbus_base_va_58(D) + 524352;
  _32 = (volatile uint32_t *) _31;
  *_32 ={v} 256;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _33 = cbus_base_va_58(D) + 524292;
  _34 = (volatile uint32_t *) _33;
  *_34 ={v} 252;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_5 ={v} 15;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_7 ={v} 15;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_9 ={v} 15;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _35 = cbus_base_va_58(D) + 524592;
  _36 = (volatile uint32_t *) _35;
  *_36 ={v} 15;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_11 ={v} 15;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_13 ={v} 15;

  <bb 24> [local count: 35862107]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return ret_46;

}


pfe_tmu_q_reset_tail_drop_policy (addr_t cbus_base_va)
{
  errno_t ret;
  errno_t ret;
  errno_t ret;
  errno_t ret;
  errno_t ret;
  uint32_t ii;
  uint8_t queue;
  <unnamed type> _1;
  <unnamed type> _2;
  <unnamed type> _3;
  errno_t _14;

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

  <bb 3> [local count: 385907316]:
  # DEBUG BEGIN_STMT
  if (ii_8 <= 2)
    goto <bb 4>; [50.00%]
  else
    goto <bb 8>; [50.00%]

  <bb 4> [local count: 192953658]:
  # DEBUG BEGIN_STMT
  _1 = phy_if_id_temp[ii_8];
  # DEBUG cbus_base_va => cbus_base_va_23(D)
  # DEBUG phy => _1
  # DEBUG queue => 0
  # DEBUG max => 150
  # DEBUG INLINE_ENTRY pfe_tmu_q_mode_set_tail_drop
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => 0
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  ret_28 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_23(D), _1, 0, 150);
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_28
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => NULL
  # DEBUG phy => NULL
  # DEBUG queue => NULL
  # DEBUG max => NULL
  # DEBUG ret => NULL
  # DEBUG ret => ret_28
  # DEBUG BEGIN_STMT
  if (ret_28 != 0)
    goto <bb 19>; [3.66%]
  else
    goto <bb 20>; [96.34%]

  <bb 20> [local count: 185891554]:
  goto <bb 7>; [100.00%]

  <bb 5> [local count: 939524096]:
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => cbus_base_va_23(D)
  # DEBUG phy => _1
  # DEBUG queue => queue_5
  # DEBUG max => 15
  # DEBUG INLINE_ENTRY pfe_tmu_q_mode_set_tail_drop
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => queue_5
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  ret_29 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_23(D), _1, queue_5, 15);
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_29
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => NULL
  # DEBUG phy => NULL
  # DEBUG queue => NULL
  # DEBUG max => NULL
  # DEBUG ret => NULL
  # DEBUG ret => ret_29
  # DEBUG BEGIN_STMT
  if (ret_29 != 0)
    goto <bb 15>; [5.50%]
  else
    goto <bb 6>; [94.50%]

  <bb 6> [local count: 887850271]:
  # DEBUG BEGIN_STMT
  queue_26 = queue_5 + 1;
  # DEBUG queue => queue_26

  <bb 7> [local count: 1073741824]:
  # queue_5 = PHI <queue_26(6), 1(20)>
  # ret_9 = PHI <0(6), 0(20)>
  # DEBUG ret => ret_9
  # DEBUG queue => queue_5
  # DEBUG BEGIN_STMT
  if (queue_5 != 8)
    goto <bb 5>; [87.50%]
  else
    goto <bb 15>; [12.50%]

  <bb 8> [local count: 192953658]:
  # DEBUG BEGIN_STMT
  if (ii_8 == 3)
    goto <bb 21>; [22.47%]
  else
    goto <bb 22>; [77.53%]

  <bb 22> [local count: 149596972]:
  goto <bb 14>; [100.00%]

  <bb 21> [local count: 43356686]:
  goto <bb 11>; [100.00%]

  <bb 9> [local count: 240889301]:
  # DEBUG BEGIN_STMT
  _2 = 3;
  # DEBUG cbus_base_va => cbus_base_va_23(D)
  # DEBUG phy => _2
  # DEBUG queue => queue_6
  # DEBUG max => 16
  # DEBUG INLINE_ENTRY pfe_tmu_q_mode_set_tail_drop
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => queue_6
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  ret_30 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_23(D), _2, queue_6, 16);
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_30
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => NULL
  # DEBUG phy => NULL
  # DEBUG queue => NULL
  # DEBUG max => NULL
  # DEBUG ret => NULL
  # DEBUG ret => ret_30
  # DEBUG BEGIN_STMT
  if (ret_30 != 0)
    goto <bb 15>; [5.50%]
  else
    goto <bb 10>; [94.50%]

  <bb 10> [local count: 227640390]:
  # DEBUG BEGIN_STMT
  queue_25 = queue_6 + 1;
  # DEBUG queue => queue_25

  <bb 11> [local count: 270997077]:
  # queue_6 = PHI <queue_25(10), 0(21)>
  # ret_10 = PHI <0(10), ret_13(21)>
  # DEBUG ret => ret_10
  # DEBUG queue => queue_6
  # DEBUG BEGIN_STMT
  if (queue_6 != 8)
    goto <bb 9>; [88.89%]
  else
    goto <bb 15>; [11.11%]

  <bb 12> [local count: 831159216]:
  # DEBUG BEGIN_STMT
  _3 = phy_if_id_temp[ii_8];
  # DEBUG cbus_base_va => cbus_base_va_23(D)
  # DEBUG phy => _3
  # DEBUG queue => queue_7
  # DEBUG max => 31
  # DEBUG INLINE_ENTRY pfe_tmu_q_mode_set_tail_drop
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG queue_temp => queue_7
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  ret_31 = pfe_tmu_q_mode_set_tail_drop.part.0 (cbus_base_va_23(D), _3, queue_7, 31);
  # DEBUG queue_temp => NULL
  # DEBUG ret => ret_31
  # DEBUG BEGIN_STMT
  # DEBUG cbus_base_va => NULL
  # DEBUG phy => NULL
  # DEBUG queue => NULL
  # DEBUG max => NULL
  # DEBUG ret => NULL
  # DEBUG ret => ret_31
  # DEBUG BEGIN_STMT
  if (ret_31 != 0)
    goto <bb 15>; [5.50%]
  else
    goto <bb 13>; [94.50%]

  <bb 13> [local count: 785445458]:
  # DEBUG BEGIN_STMT
  queue_24 = queue_7 + 1;
  # DEBUG queue => queue_24

  <bb 14> [local count: 935042429]:
  # queue_7 = PHI <queue_24(13), 0(22)>
  # ret_11 = PHI <0(13), ret_13(22)>
  # DEBUG ret => ret_11
  # DEBUG queue => queue_7
  # DEBUG BEGIN_STMT
  if (queue_7 != 8)
    goto <bb 12>; [88.89%]
  else
    goto <bb 15>; [11.11%]

  <bb 15> [local count: 378845211]:
  # ret_12 = PHI <ret_9(7), ret_10(11), ret_31(12), ret_11(14), ret_29(5), ret_30(9)>
  # DEBUG ret => ret_12
  # DEBUG BEGIN_STMT
  if (ret_12 != 0)
    goto <bb 16>; [3.66%]
  else
    goto <bb 17>; [96.34%]

  <bb 16> [local count: 13865735]:
  # ret_4 = PHI <ret_12(15)>
  # DEBUG BEGIN_STMT
  goto <bb 19>; [100.00%]

  <bb 17> [local count: 364979476]:
  # DEBUG BEGIN_STMT
  ii_27 = ii_8 + 1;
  # DEBUG ii => ii_27

  <bb 18> [local count: 450247714]:
  # ii_8 = PHI <0(2), ii_27(17)>
  # ret_13 = PHI <ret_21(D)(2), 0(17)>
  # DEBUG ret => ret_13
  # DEBUG ii => ii_8
  # DEBUG BEGIN_STMT
  if (ii_8 != 6)
    goto <bb 3>; [85.71%]
  else
    goto <bb 19>; [14.29%]

  <bb 19> [local count: 85268237]:
  # _14 = PHI <ret_4(16), ret_13(18), ret_28(4)>
  # DEBUG ret => NULL
  return _14;

}


pfe_tmu_reclaim_init (addr_t cbus_base_va)
{
  uint32_t retries;
  uint32_t dropped_packets;
  uint32_t ii;
  uint8_t queue;
  unsigned int _1;
  volatile uint32_t * _2;
  long unsigned int _3;
  long unsigned int _4;
  long unsigned int _5;
  unsigned int _6;
  volatile uint32_t * _7;
  long unsigned int _8;
  unsigned int _9;
  volatile uint32_t * _10;
  unsigned int _11;
  volatile uint32_t * _12;
  unsigned int _13;
  volatile uint32_t * _14;
  unsigned int _15;
  volatile uint32_t * _16;
  unsigned int _17;
  volatile uint32_t * _18;
  unsigned int _19;
  volatile uint32_t * _20;
  unsigned int _21;
  volatile uint32_t * _22;
  unsigned int _23;
  volatile uint32_t * _24;
  unsigned char _25;
  int _26;
  unsigned int _27;
  volatile uint32_t * _28;
  long unsigned int dropped_packets.1_29;
  unsigned char _41;

  <bb 2> [local count: 19889078]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  dropped_packets = 0;
  # DEBUG BEGIN_STMT
  # DEBUG retries => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = cbus_base_va_42(D) + 524596;
  _2 = (volatile uint32_t *) _1;
  *_2 ={v} 1;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ii => 0
  goto <bb 6>; [100.00%]

  <bb 3> [local count: 954449108]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _3 = ii_31 << 8;
  _4 = _3;
  _41 = queue_30;
  _5 = (long unsigned int) _41;
  _6 = cbus_base_va_42(D) + 524308;
  _7 = (volatile uint32_t *) _6;
  _8 = _4 | _5;
  *_7 ={v} _8;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  __asm__ __volatile__("nop" :  :  : "memory");
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _9 = cbus_base_va_42(D) + 524312;
  _10 = (volatile uint32_t *) _9;
  *_10 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _11 = cbus_base_va_42(D) + 524316;
  _12 = (volatile uint32_t *) _11;
  *_12 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _13 = cbus_base_va_42(D) + 524320;
  _14 = (volatile uint32_t *) _13;
  *_14 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _15 = cbus_base_va_42(D) + 524324;
  _16 = (volatile uint32_t *) _15;
  *_16 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _17 = cbus_base_va_42(D) + 524328;
  _18 = (volatile uint32_t *) _17;
  *_18 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _19 = cbus_base_va_42(D) + 524332;
  _20 = (volatile uint32_t *) _19;
  *_20 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _21 = cbus_base_va_42(D) + 524336;
  _22 = (volatile uint32_t *) _21;
  *_22 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _23 = cbus_base_va_42(D) + 524340;
  _24 = (volatile uint32_t *) _23;
  *_24 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  queue_64 = queue_30 + 1;
  # DEBUG queue => queue_64

  <bb 4> [local count: 1073741824]:
  # queue_30 = PHI <queue_64(3), 0(17)>
  # DEBUG queue => queue_30
  # DEBUG BEGIN_STMT
  if (queue_30 != 8)
    goto <bb 3>; [88.89%]
  else
    goto <bb 5>; [11.11%]

  <bb 5> [local count: 119292717]:
  # DEBUG BEGIN_STMT
  ii_53 = ii_31 + 1;
  # DEBUG ii => ii_53

  <bb 6> [local count: 139181795]:
  # ii_31 = PHI <0(2), ii_53(5)>
  # DEBUG ii => ii_31
  # DEBUG BEGIN_STMT
  if (ii_31 != 6)
    goto <bb 17>; [85.71%]
  else
    goto <bb 7>; [14.29%]

  <bb 17> [local count: 119292716]:
  goto <bb 4>; [100.00%]

  <bb 7> [local count: 19889078]:
  # DEBUG BEGIN_STMT
  _25 = pfe_feature_mgr_is_available ("drv_run_on_g3");
  if (_25 == 0)
    goto <bb 8>; [33.00%]
  else
    goto <bb 14>; [67.00%]

  <bb 8> [local count: 6563396]:
  # DEBUG BEGIN_STMT
  _26 = pfe_tmu_context_memory (cbus_base_va_42(D), 0, 0, 0, 0);
  if (_26 == 0)
    goto <bb 16>; [50.00%]
  else
    goto <bb 14>; [50.00%]

  <bb 16> [local count: 3281698]:
  goto <bb 10>; [100.00%]

  <bb 9> [local count: 324888103]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _27 = cbus_base_va_42(D) + 524300;
  _28 = (volatile uint32_t *) _27;
  *_28 ={v} 0;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  ii_51 = ii_32 + 1;
  # DEBUG ii => ii_51

  <bb 10> [local count: 328169801]:
  # ii_32 = PHI <ii_51(9), 0(16)>
  # DEBUG ii => ii_32
  # DEBUG BEGIN_STMT
  if (ii_32 != 256)
    goto <bb 9>; [99.00%]
  else
    goto <bb 15>; [1.00%]

  <bb 15> [local count: 3281698]:

  <bb 11> [local count: 21951157]:
  # retries_33 = PHI <0(15), retries_48(18)>
  # DEBUG retries => retries_33
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  oal_time_usleep (10);
  # DEBUG BEGIN_STMT
  pfe_tmu_cntx_mem_read (cbus_base_va_42(D), 0, 2, &dropped_packets);
  # DEBUG BEGIN_STMT
  retries_48 = retries_33 + 1;
  # DEBUG retries => retries_48
  # DEBUG BEGIN_STMT
  dropped_packets.1_29 = dropped_packets;
  if (dropped_packets.1_29 != 256)
    goto <bb 12>; [94.50%]
  else
    goto <bb 13>; [5.50%]

  <bb 12> [local count: 20743844]:
  if (retries_48 != 10)
    goto <bb 18>; [90.00%]
  else
    goto <bb 13>; [10.00%]

  <bb 18> [local count: 18669459]:
  goto <bb 11>; [100.00%]

  <bb 13> [local count: 3281698]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  pfe_tmu_q_mode_set_default (cbus_base_va_42(D), 0, 0);

  <bb 14> [local count: 19889078]:
  dropped_packets ={v} {CLOBBER};
  return;

}


pfe_tmu_cfg_get_phy_config (pfe_ct_phy_if_id_t phy)
{
  const struct pfe_tmu_phy_cfg_t * phy_config;
  uint32_t ii;
  <unnamed type> _2;

  <bb 2> [local count: 114863532]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG phy_config => 0B
  # DEBUG BEGIN_STMT
  # DEBUG ii => 0
  goto <bb 6>; [100.00%]

  <bb 3> [local count: 1014686025]:
  # DEBUG BEGIN_STMT
  if (_2 == phy_6(D))
    goto <bb 4>; [5.50%]
  else
    goto <bb 5>; [94.50%]

  <bb 4> [local count: 55807731]:
  # ii_1 = PHI <ii_3(3)>
  # DEBUG BEGIN_STMT
  phy_config_8 = &tmu_phys[ii_1];
  # DEBUG phy_config => phy_config_8
  # DEBUG BEGIN_STMT
  goto <bb 7>; [100.00%]

  <bb 5> [local count: 958878293]:
  # DEBUG BEGIN_STMT
  ii_7 = ii_3 + 1;
  # DEBUG ii => ii_7

  <bb 6> [local count: 1073741824]:
  # ii_3 = PHI <0(2), ii_7(5)>
  # DEBUG ii => ii_3
  # DEBUG BEGIN_STMT
  _2 = tmu_phys[ii_3].id;
  if (_2 != 10)
    goto <bb 3>; [94.50%]
  else
    goto <bb 7>; [5.50%]

  <bb 7> [local count: 114863532]:
  # phy_config_4 = PHI <phy_config_8(4), 0B(6)>
  # DEBUG phy_config => phy_config_4
  # DEBUG BEGIN_STMT
  return phy_config_4;

}


