GetStatistics ()
{
  unsigned char getStatisticsFromCtrl.3_1;
  unsigned char getStatisticsFromCtrl.4_2;
  unsigned char getStatisticsFromCtrl.5_3;
  unsigned char getStatisticsFromCtrl.6_4;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  getStatisticsFromCtrl.3_1 ={v} getStatisticsFromCtrl;
  Eth_43_PFE_GetCounterValues (getStatisticsFromCtrl.3_1, &pfeCounterValues);
  # DEBUG BEGIN_STMT
  getStatisticsFromCtrl.4_2 ={v} getStatisticsFromCtrl;
  Eth_43_PFE_GetRxStats (getStatisticsFromCtrl.4_2, &pfeRxStats);
  # DEBUG BEGIN_STMT
  getStatisticsFromCtrl.5_3 ={v} getStatisticsFromCtrl;
  Eth_43_PFE_GetTxStats (getStatisticsFromCtrl.5_3, &pfeTxStats);
  # DEBUG BEGIN_STMT
  getStatisticsFromCtrl.6_4 ={v} getStatisticsFromCtrl;
  Eth_43_PFE_GetTxErrorCounterValues (getStatisticsFromCtrl.6_4, &pfeTxErrorCounterValues);
  return;

}


main ()
{
  Std_ReturnType ret;
  unsigned char pfeMainFunction.0_1;
  unsigned char sendFrames.1_2;
  unsigned char getStatisticsFromCtrl.2_3;

  <bb 2> [local count: 118111600]:
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  Mpu_Configuration ();
  # DEBUG BEGIN_STMT
  ret_13 = SampleAppInitTask ();
  # DEBUG ret => ret_13
  # DEBUG BEGIN_STMT

  <bb 3> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (ret_13 != 0)
    goto <bb 15>; [89.00%]
  else
    goto <bb 14>; [11.00%]

  <bb 15> [local count: 955630223]:
  goto <bb 3>; [100.00%]

  <bb 14> [local count: 118111601]:
  goto <bb 13>; [100.00%]

  <bb 4> [local count: 955630211]:
  # DEBUG BEGIN_STMT
  pfeMainFunction.0_1 ={v} pfeMainFunction;
  if (pfeMainFunction.0_1 == 1)
    goto <bb 5>; [20.24%]
  else
    goto <bb 6>; [79.76%]

  <bb 5> [local count: 193419554]:
  # DEBUG BEGIN_STMT
  Eth_43_PFE_MainFunction ();
  # DEBUG BEGIN_STMT
  pfeMainFunction ={v} 0;

  <bb 6> [local count: 955630211]:
  # DEBUG BEGIN_STMT
  sendFrames.1_2 ={v} sendFrames;
  if (sendFrames.1_2 == 1)
    goto <bb 7>; [20.24%]
  else
    goto <bb 8>; [79.76%]

  <bb 7> [local count: 193419554]:
  # DEBUG BEGIN_STMT
  ret_18 = SampleAppTask2 ();
  # DEBUG ret => ret_18
  # DEBUG BEGIN_STMT
  sendFrames ={v} 0;

  <bb 8> [local count: 955630211]:
  # ret_4 = PHI <0(6), ret_18(7)>
  # DEBUG ret => ret_4
  # DEBUG BEGIN_STMT
  getStatisticsFromCtrl.2_3 ={v} getStatisticsFromCtrl;
  if (getStatisticsFromCtrl.2_3 <= 2)
    goto <bb 9>; [33.00%]
  else
    goto <bb 11>; [67.00%]

  <bb 9> [local count: 315357969]:
  # DEBUG BEGIN_STMT
  GetStatistics ();
  # DEBUG BEGIN_STMT
  getStatisticsFromCtrl ={v} 3;

  <bb 11> [local count: 955630212]:
  # ret_14 = PHI <ret_4(8), ret_4(9)>

  <bb 13> [local count: 1073741811]:
  # ret_5 = PHI <ret_14(11), 0(14)>
  # DEBUG ret => ret_5
  # DEBUG BEGIN_STMT
  if (ret_5 == 0)
    goto <bb 4>; [89.00%]
  else
    goto <bb 12>; [11.00%]

  <bb 12> [local count: 118111599]:
  # DEBUG BEGIN_STMT
  return 0;

}


