Eth_43_PFE_GetTxErrorCounterValues (uint8 u8CtrlIdx, struct Eth_TxErrorCounterValuesType * TxErrorCounterValuesPtr)
{
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_5(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 29, 1);
  goto <bb 9>; [100.00%]

  <bb 4> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_5(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [48.88%]
  else
    goto <bb 6>; [51.12%]

  <bb 5> [local count: 351646152]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 29, 2);
  goto <bb 9>; [100.00%]

  <bb 6> [local count: 367760870]:
  # DEBUG BEGIN_STMT
  if (TxErrorCounterValuesPtr_7(D) == 0B)
    goto <bb 7>; [30.00%]
  else
    goto <bb 8>; [70.00%]

  <bb 7> [local count: 110328261]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 29, 3);
  goto <bb 9>; [100.00%]

  <bb 8> [local count: 257432609]:
  # DEBUG BEGIN_STMT
  eReturnStatus_9 = Eth_PFE_LLD_GetTxErrorCounterValues (u8CtrlIdx_5(D), TxErrorCounterValuesPtr_7(D));
  # DEBUG eReturnStatus => eReturnStatus_9

  <bb 9> [local count: 1073741824]:
  # eReturnStatus_3 = PHI <1(3), 1(5), 1(7), eReturnStatus_9(8)>
  # DEBUG eReturnStatus => eReturnStatus_3
  # DEBUG BEGIN_STMT
  return eReturnStatus_3;

}


Eth_43_PFE_GetTxStats (uint8 u8CtrlIdx, struct Eth_TxStatsType * TxStatsPtr)
{
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_5(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 28, 1);
  goto <bb 9>; [100.00%]

  <bb 4> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_5(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [48.88%]
  else
    goto <bb 6>; [51.12%]

  <bb 5> [local count: 351646152]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 28, 2);
  goto <bb 9>; [100.00%]

  <bb 6> [local count: 367760870]:
  # DEBUG BEGIN_STMT
  if (TxStatsPtr_7(D) == 0B)
    goto <bb 7>; [30.00%]
  else
    goto <bb 8>; [70.00%]

  <bb 7> [local count: 110328261]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 28, 3);
  goto <bb 9>; [100.00%]

  <bb 8> [local count: 257432609]:
  # DEBUG BEGIN_STMT
  eReturnStatus_9 = Eth_PFE_LLD_GetTxStats (u8CtrlIdx_5(D), TxStatsPtr_7(D));
  # DEBUG eReturnStatus => eReturnStatus_9

  <bb 9> [local count: 1073741824]:
  # eReturnStatus_3 = PHI <1(3), 1(5), 1(7), eReturnStatus_9(8)>
  # DEBUG eReturnStatus => eReturnStatus_3
  # DEBUG BEGIN_STMT
  return eReturnStatus_3;

}


Eth_43_PFE_GetRxStats (uint8 u8CtrlIdx, struct Eth_RxStatsType * RxStatsPtr)
{
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_5(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 21, 1);
  goto <bb 9>; [100.00%]

  <bb 4> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_5(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [48.88%]
  else
    goto <bb 6>; [51.12%]

  <bb 5> [local count: 351646152]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 21, 2);
  goto <bb 9>; [100.00%]

  <bb 6> [local count: 367760870]:
  # DEBUG BEGIN_STMT
  if (RxStatsPtr_7(D) == 0B)
    goto <bb 7>; [30.00%]
  else
    goto <bb 8>; [70.00%]

  <bb 7> [local count: 110328261]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 21, 3);
  goto <bb 9>; [100.00%]

  <bb 8> [local count: 257432609]:
  # DEBUG BEGIN_STMT
  eReturnStatus_9 = Eth_PFE_LLD_GetRxStats (u8CtrlIdx_5(D), RxStatsPtr_7(D));
  # DEBUG eReturnStatus => eReturnStatus_9

  <bb 9> [local count: 1073741824]:
  # eReturnStatus_3 = PHI <1(3), 1(5), 1(7), eReturnStatus_9(8)>
  # DEBUG eReturnStatus => eReturnStatus_3
  # DEBUG BEGIN_STMT
  return eReturnStatus_3;

}


Eth_43_PFE_GetCounterValues (uint8 u8CtrlIdx, struct Eth_CounterType * CounterPtr)
{
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_5(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 20, 1);
  goto <bb 9>; [100.00%]

  <bb 4> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_5(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [48.88%]
  else
    goto <bb 6>; [51.12%]

  <bb 5> [local count: 351646152]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 20, 2);
  goto <bb 9>; [100.00%]

  <bb 6> [local count: 367760870]:
  # DEBUG BEGIN_STMT
  if (CounterPtr_7(D) == 0B)
    goto <bb 7>; [30.00%]
  else
    goto <bb 8>; [70.00%]

  <bb 7> [local count: 110328261]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 20, 3);
  goto <bb 9>; [100.00%]

  <bb 8> [local count: 257432609]:
  # DEBUG BEGIN_STMT
  eReturnStatus_9 = Eth_PFE_LLD_GetCounterValues (u8CtrlIdx_5(D), CounterPtr_7(D));
  # DEBUG eReturnStatus => eReturnStatus_9

  <bb 9> [local count: 1073741824]:
  # eReturnStatus_3 = PHI <1(3), 1(5), 1(7), eReturnStatus_9(8)>
  # DEBUG eReturnStatus => eReturnStatus_3
  # DEBUG BEGIN_STMT
  return eReturnStatus_3;

}


Eth_43_PFE_PreInit (const struct Eth_43_PFE_ConfigType * CfgPtr)
{
  const struct Eth_43_PFE_ConfigType * Eth_43_PFE_InternalCfgPtr.20_1;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  if (CfgPtr_3(D) != 0B)
    goto <bb 3>; [70.00%]
  else
    goto <bb 4>; [30.00%]

  <bb 3> [local count: 751619278]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 33, 3);
  goto <bb 5>; [100.00%]

  <bb 4> [local count: 322122547]:
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr = &Eth_43_PFE_Config;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_InitInterfaces (&Eth_43_PFE_Config);
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.20_1 = Eth_43_PFE_InternalCfgPtr;
  Eth_PFE_LLD_InitEMACs (Eth_43_PFE_InternalCfgPtr.20_1);

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

}


Eth_43_PFE_GetPlatform ()
{
  void * _3;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_GetPlatform ();
  return _3;

}


Eth_43_PFE_GetIngressTimeStamp (uint8 u8CtrlIdx, const Eth_DataType * DataPtr, Eth_TimeStampQualType * timeQualPtr, struct Eth_TimeStampType * timeStampPtr)
{
  uint8 DetectedError;
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;
  <unnamed type> _3;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_6(D) > 2)
    goto <bb 8>; [33.00%]
  else
    goto <bb 3>; [67.00%]

  <bb 3> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  if (DataPtr_7(D) == 0B)
    goto <bb 8>; [30.00%]
  else
    goto <bb 4>; [70.00%]

  <bb 4> [local count: 503584916]:
  if (timeQualPtr_8(D) == 0B)
    goto <bb 8>; [30.00%]
  else
    goto <bb 5>; [70.00%]

  <bb 5> [local count: 352509441]:
  if (timeStampPtr_9(D) == 0B)
    goto <bb 8>; [30.00%]
  else
    goto <bb 6>; [70.00%]

  <bb 6> [local count: 246756608]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_6(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 8>; [79.76%]
  else
    goto <bb 7>; [20.24%]

  <bb 7> [local count: 49943538]:
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *timeQualPtr_8(D) = 2;
  # DEBUG BEGIN_STMT
  Eth_43_PFE_LLD_GetRxTimeStamp (u8CtrlIdx_6(D), DataPtr_7(D), timeQualPtr_8(D), timeStampPtr_9(D));
  # DEBUG BEGIN_STMT
  _3 = *timeQualPtr_8(D);
  if (_3 == 0)
    goto <bb 9>; [50.00%]
  else
    goto <bb 10>; [50.00%]

  <bb 8> [local count: 1023798288]:
  # DetectedError_14 = PHI <3(4), 1(2), 3(5), 3(3), 2(6)>
  # DEBUG DetectedError => NULL
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 25, DetectedError_14);
  goto <bb 10>; [100.00%]

  <bb 9> [local count: 24971769]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 0

  <bb 10> [local count: 1073741824]:
  # eReturnStatus_4 = PHI <1(8), 1(7), 0(9)>
  # DEBUG eReturnStatus => eReturnStatus_4
  # DEBUG BEGIN_STMT
  return eReturnStatus_4;

}


Eth_43_PFE_GetEgressTimeStamp (uint8 u8CtrlIdx, Eth_BufIdxType BufIdx, Eth_TimeStampQualType * timeQualPtr, struct Eth_TimeStampType * timeStampPtr)
{
  uint8 DetectedError;
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;
  <unnamed type> _3;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_6(D) > 2)
    goto <bb 7>; [33.00%]
  else
    goto <bb 3>; [67.00%]

  <bb 3> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  if (timeQualPtr_7(D) == 0B)
    goto <bb 7>; [30.00%]
  else
    goto <bb 4>; [70.00%]

  <bb 4> [local count: 503584916]:
  if (timeStampPtr_8(D) == 0B)
    goto <bb 7>; [30.00%]
  else
    goto <bb 5>; [70.00%]

  <bb 5> [local count: 352509441]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_6(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [79.76%]
  else
    goto <bb 6>; [20.24%]

  <bb 6> [local count: 71347911]:
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *timeQualPtr_7(D) = 2;
  # DEBUG BEGIN_STMT
  Eth_43_PFE_LLD_GetTxTimeStamp (u8CtrlIdx_6(D), timeQualPtr_7(D), timeStampPtr_8(D));
  # DEBUG BEGIN_STMT
  _3 = *timeQualPtr_7(D);
  if (_3 == 0)
    goto <bb 8>; [50.00%]
  else
    goto <bb 9>; [50.00%]

  <bb 7> [local count: 1002393914]:
  # DetectedError_12 = PHI <3(4), 1(2), 3(3), 2(5)>
  # DEBUG DetectedError => NULL
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 24, DetectedError_12);
  goto <bb 9>; [100.00%]

  <bb 8> [local count: 35673955]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 0

  <bb 9> [local count: 1073741824]:
  # eReturnStatus_4 = PHI <1(7), 1(6), 0(8)>
  # DEBUG eReturnStatus => eReturnStatus_4
  # DEBUG BEGIN_STMT
  return eReturnStatus_4;

}


Eth_43_PFE_EnableEgressTimeStamp (uint8 u8CtrlIdx, Eth_BufIdxType BufIdx)
{
  uint8 DetectedError;
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_4(D) > 2)
    goto <bb 6>; [33.00%]
  else
    goto <bb 3>; [67.00%]

  <bb 3> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  if (BufIdx_5(D) > 7)
    goto <bb 6>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 4> [local count: 359703511]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_4(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 6>; [79.76%]
  else
    goto <bb 5>; [20.24%]

  <bb 5> [local count: 72803991]:
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Eth_43_PFE_LLD_EnableEgressTimeStamp (u8CtrlIdx_4(D), BufIdx_5(D));
  goto <bb 7>; [100.00%]

  <bb 6> [local count: 1000937834]:
  # DetectedError_9 = PHI <4(3), 1(2), 2(4)>
  # DEBUG DetectedError => NULL
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 23, DetectedError_9);

  <bb 7> [local count: 1073741824]:
  return;

}


Eth_43_PFE_GetCurrentTime (uint8 u8CtrlIdx, Eth_TimeStampQualType * timeQualPtr, struct Eth_TimeStampType * timeStampPtr)
{
  uint8 DetectedError;
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;
  <unnamed type> _3;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_6(D) > 2)
    goto <bb 7>; [33.00%]
  else
    goto <bb 3>; [67.00%]

  <bb 3> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  if (timeQualPtr_7(D) == 0B)
    goto <bb 7>; [30.00%]
  else
    goto <bb 4>; [70.00%]

  <bb 4> [local count: 503584916]:
  if (timeStampPtr_8(D) == 0B)
    goto <bb 7>; [30.00%]
  else
    goto <bb 5>; [70.00%]

  <bb 5> [local count: 352509441]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_6(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [79.76%]
  else
    goto <bb 6>; [20.24%]

  <bb 6> [local count: 71347911]:
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *timeQualPtr_7(D) = 2;
  # DEBUG BEGIN_STMT
  Eth_43_PFE_LLD_GetCurrentTime (u8CtrlIdx_6(D), timeQualPtr_7(D), timeStampPtr_8(D));
  # DEBUG BEGIN_STMT
  _3 = *timeQualPtr_7(D);
  if (_3 == 0)
    goto <bb 8>; [50.00%]
  else
    goto <bb 9>; [50.00%]

  <bb 7> [local count: 1002393914]:
  # DetectedError_12 = PHI <3(4), 1(2), 3(3), 2(5)>
  # DEBUG DetectedError => NULL
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 22, DetectedError_12);
  goto <bb 9>; [100.00%]

  <bb 8> [local count: 35673955]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 0

  <bb 9> [local count: 1073741824]:
  # eReturnStatus_4 = PHI <1(7), 1(6), 0(8)>
  # DEBUG eReturnStatus => eReturnStatus_4
  # DEBUG BEGIN_STMT
  return eReturnStatus_4;

}


Eth_43_PFE_SetCorrectionTime (uint8 u8CtrlIdx, const struct Eth_TimeIntDiffType * timeOffsetPtr, const struct Eth_RateRatioType * rateRatioPtr)
{
  uint8 DetectedError;
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_5(D) > 2)
    goto <bb 7>; [33.00%]
  else
    goto <bb 3>; [67.00%]

  <bb 3> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  if (timeOffsetPtr_6(D) == 0B)
    goto <bb 7>; [30.00%]
  else
    goto <bb 4>; [70.00%]

  <bb 4> [local count: 503584916]:
  if (rateRatioPtr_7(D) == 0B)
    goto <bb 7>; [30.00%]
  else
    goto <bb 5>; [70.00%]

  <bb 5> [local count: 352509441]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_5(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [79.76%]
  else
    goto <bb 6>; [20.24%]

  <bb 6> [local count: 71347911]:
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  eReturnStatus_10 = Eth_43_PFE_LLD_SetCorrectionTime (u8CtrlIdx_5(D), timeOffsetPtr_6(D), rateRatioPtr_7(D));
  # DEBUG eReturnStatus => eReturnStatus_10
  goto <bb 8>; [100.00%]

  <bb 7> [local count: 1002393914]:
  # DetectedError_12 = PHI <3(4), 1(2), 3(3), 2(5)>
  # DEBUG DetectedError => NULL
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 26, DetectedError_12);

  <bb 8> [local count: 1073741824]:
  # eReturnStatus_3 = PHI <1(7), eReturnStatus_10(6)>
  # DEBUG eReturnStatus => eReturnStatus_3
  # DEBUG BEGIN_STMT
  return eReturnStatus_3;

}


Eth_43_PFE_SetGlobalTime (uint8 u8CtrlIdx, struct Eth_TimeStampType * timeStampPtr)
{
  uint8 DetectedError;
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_5(D) > 2)
    goto <bb 6>; [33.00%]
  else
    goto <bb 3>; [67.00%]

  <bb 3> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  if (timeStampPtr_6(D) == 0B)
    goto <bb 6>; [30.00%]
  else
    goto <bb 4>; [70.00%]

  <bb 4> [local count: 503584916]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_5(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 6>; [79.76%]
  else
    goto <bb 5>; [20.24%]

  <bb 5> [local count: 101925587]:
  # DEBUG DetectedError => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  eReturnStatus_10 = Eth_43_PFE_LLD_SetGlobalTime (u8CtrlIdx_5(D), timeStampPtr_6(D));
  # DEBUG eReturnStatus => eReturnStatus_10
  goto <bb 7>; [100.00%]

  <bb 6> [local count: 971816239]:
  # DetectedError_8 = PHI <3(3), 1(2), 2(4)>
  # DEBUG DetectedError => NULL
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 27, DetectedError_8);

  <bb 7> [local count: 1073741824]:
  # eReturnStatus_3 = PHI <1(6), eReturnStatus_10(5)>
  # DEBUG eReturnStatus => eReturnStatus_3
  # DEBUG BEGIN_STMT
  return eReturnStatus_3;

}


Eth_43_PFE_ReadMii45 (uint8 u8CtrlIdx, uint8 u8TrcvIdx, uint8 u8DevIdx, uint16 u16RegIdx, uint16 * pu16RegValPtr)
{
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_5(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 31, 1);
  goto <bb 12>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  if (u8TrcvIdx_6(D) > 31)
    goto <bb 6>; [33.00%]
  else
    goto <bb 5>; [67.00%]

  <bb 5> [local count: 482002704]:
  if (u8DevIdx_7(D) > 31)
    goto <bb 6>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 6> [local count: 478405669]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 31, 4);
  goto <bb 12>; [100.00%]

  <bb 7> [local count: 241001352]:
  # DEBUG BEGIN_STMT
  if (pu16RegValPtr_8(D) == 0B)
    goto <bb 8>; [17.43%]
  else
    goto <bb 9>; [82.57%]

  <bb 8> [local count: 42006536]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 31, 3);
  goto <bb 12>; [100.00%]

  <bb 9> [local count: 198994816]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_5(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 10>; [66.00%]
  else
    goto <bb 11>; [34.00%]

  <bb 10> [local count: 131336579]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 31, 2);
  goto <bb 12>; [100.00%]

  <bb 11> [local count: 67658238]:
  # DEBUG BEGIN_STMT
  eReturnStatus_12 = Eth_43_PFE_LLD_ReadMii45 (u8CtrlIdx_5(D), u8TrcvIdx_6(D), u8DevIdx_7(D), u16RegIdx_10(D), pu16RegValPtr_8(D));
  # DEBUG eReturnStatus => eReturnStatus_12
  # DEBUG BEGIN_STMT

  <bb 12> [local count: 1073741824]:
  # eReturnStatus_3 = PHI <1(3), 1(6), 1(8), 1(10), eReturnStatus_12(11)>
  # DEBUG eReturnStatus => eReturnStatus_3
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return eReturnStatus_3;

}


Eth_43_PFE_WriteMii45 (uint8 u8CtrlIdx, uint8 u8TrcvIdx, uint8 u8DevIdx, uint16 u16RegIdx, uint16 u16RegVal)
{
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_5(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 30, 1);
  goto <bb 10>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  if (u8TrcvIdx_6(D) > 31)
    goto <bb 6>; [33.00%]
  else
    goto <bb 5>; [67.00%]

  <bb 5> [local count: 482002704]:
  if (u8DevIdx_7(D) > 31)
    goto <bb 6>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 6> [local count: 478405669]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 30, 4);
  goto <bb 10>; [100.00%]

  <bb 7> [local count: 241001352]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_5(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 8>; [66.00%]
  else
    goto <bb 9>; [34.00%]

  <bb 8> [local count: 159060892]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 30, 2);
  goto <bb 10>; [100.00%]

  <bb 9> [local count: 81940460]:
  # DEBUG BEGIN_STMT
  eReturnStatus_12 = Eth_43_PFE_LLD_WriteMii45 (u8CtrlIdx_5(D), u8TrcvIdx_6(D), u8DevIdx_7(D), u16RegIdx_9(D), u16RegVal_10(D));
  # DEBUG eReturnStatus => eReturnStatus_12
  # DEBUG BEGIN_STMT

  <bb 10> [local count: 1073741824]:
  # eReturnStatus_3 = PHI <1(3), 1(6), 1(8), eReturnStatus_12(9)>
  # DEBUG eReturnStatus => eReturnStatus_3
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return eReturnStatus_3;

}


Eth_43_PFE_ReadMii (uint8 u8CtrlIdx, uint8 u8TrcvIdx, uint8 u8RegIdx, uint16 * pu16RegValPtr)
{
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;
  const struct Eth_43_PFE_ConfigType * Eth_43_PFE_InternalCfgPtr.18_3;
  const struct Eth_43_PFE_CtrlCfgType * _4;
  void (*<T8df>) (uint8, uint8, uint8, uint16) _5;
  short unsigned int _6;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_9(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 6, 1);
  goto <bb 13>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  if (u8TrcvIdx_10(D) > 31)
    goto <bb 6>; [33.00%]
  else
    goto <bb 5>; [67.00%]

  <bb 5> [local count: 482002704]:
  if (u8RegIdx_11(D) > 31)
    goto <bb 6>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 6> [local count: 478405669]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 6, 4);
  goto <bb 13>; [100.00%]

  <bb 7> [local count: 241001352]:
  # DEBUG BEGIN_STMT
  if (pu16RegValPtr_12(D) == 0B)
    goto <bb 8>; [17.43%]
  else
    goto <bb 9>; [82.57%]

  <bb 8> [local count: 42006536]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 6, 3);
  goto <bb 13>; [100.00%]

  <bb 9> [local count: 198994816]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_9(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 10>; [66.00%]
  else
    goto <bb 11>; [34.00%]

  <bb 10> [local count: 131336579]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 6, 2);
  goto <bb 13>; [100.00%]

  <bb 11> [local count: 67658238]:
  # DEBUG BEGIN_STMT
  eReturnStatus_15 = Eth_43_PFE_LLD_ReadMii (u8CtrlIdx_9(D), u8TrcvIdx_10(D), u8RegIdx_11(D), pu16RegValPtr_12(D));
  # DEBUG eReturnStatus => eReturnStatus_15
  # DEBUG BEGIN_STMT
  if (eReturnStatus_15 == 0)
    goto <bb 12>; [50.00%]
  else
    goto <bb 13>; [50.00%]

  <bb 12> [local count: 33829119]:
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.18_3 = Eth_43_PFE_InternalCfgPtr;
  _4 = Eth_43_PFE_InternalCfgPtr.18_3->pController[_1];
  _5 = _4->Eth_43_PFE_EthTrcvDriverFunctionList.ReadMiiIndicationFunction;
  _6 = *pu16RegValPtr_12(D);
  _5 (u8CtrlIdx_9(D), u8TrcvIdx_10(D), u8RegIdx_11(D), _6);

  <bb 13> [local count: 1073741824]:
  # eReturnStatus_7 = PHI <1(3), 1(6), 1(8), 1(10), eReturnStatus_15(11), 0(12)>
  # DEBUG eReturnStatus => eReturnStatus_7
  # DEBUG BEGIN_STMT
  return eReturnStatus_7;

}


Eth_43_PFE_WriteMii (uint8 u8CtrlIdx, uint8 u8TrcvIdx, uint8 u8RegIdx, uint16 u16RegVal)
{
  Std_ReturnType eReturnStatus;
  int _1;
  <unnamed type> _2;
  const struct Eth_43_PFE_ConfigType * Eth_43_PFE_InternalCfgPtr.17_3;
  const struct Eth_43_PFE_CtrlCfgType * _4;
  void (*<T8e3>) (uint8, uint8, uint8) _5;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  # DEBUG eReturnStatus => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_8(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 5, 1);
  goto <bb 11>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  if (u8TrcvIdx_9(D) > 31)
    goto <bb 6>; [33.00%]
  else
    goto <bb 5>; [67.00%]

  <bb 5> [local count: 482002704]:
  if (u8RegIdx_10(D) > 31)
    goto <bb 6>; [50.00%]
  else
    goto <bb 7>; [50.00%]

  <bb 6> [local count: 478405669]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 5, 4);
  goto <bb 11>; [100.00%]

  <bb 7> [local count: 241001352]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_8(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 8>; [66.00%]
  else
    goto <bb 9>; [34.00%]

  <bb 8> [local count: 159060892]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 5, 2);
  goto <bb 11>; [100.00%]

  <bb 9> [local count: 81940460]:
  # DEBUG BEGIN_STMT
  eReturnStatus_14 = Eth_43_PFE_LLD_WriteMii (u8CtrlIdx_8(D), u8TrcvIdx_9(D), u8RegIdx_10(D), u16RegVal_12(D));
  # DEBUG eReturnStatus => eReturnStatus_14
  # DEBUG BEGIN_STMT
  if (eReturnStatus_14 == 0)
    goto <bb 10>; [50.00%]
  else
    goto <bb 11>; [50.00%]

  <bb 10> [local count: 40970230]:
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.17_3 = Eth_43_PFE_InternalCfgPtr;
  _4 = Eth_43_PFE_InternalCfgPtr.17_3->pController[_1];
  _5 = _4->Eth_43_PFE_EthTrcvDriverFunctionList.WriteMiiIndicationFunction;
  _5 (u8CtrlIdx_8(D), u8TrcvIdx_9(D), u8RegIdx_10(D));

  <bb 11> [local count: 1073741824]:
  # eReturnStatus_6 = PHI <1(3), 1(6), 1(8), eReturnStatus_14(9), 0(10)>
  # DEBUG eReturnStatus => eReturnStatus_6
  # DEBUG BEGIN_STMT
  return eReturnStatus_6;

}


Eth_43_PFE_MainFunction ()
{
  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_MainFunction ();
  return;

}


Eth_43_PFE_GetVersionInfo (struct Std_VersionInfoType * VersionInfoPtr)
{
  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  if (VersionInfoPtr_2(D) == 0B)
    goto <bb 3>; [17.43%]
  else
    goto <bb 4>; [82.57%]

  <bb 3> [local count: 187153200]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 13, 3);
  goto <bb 5>; [100.00%]

  <bb 4> [local count: 886588625]:
  # DEBUG BEGIN_STMT
  VersionInfoPtr_2(D)->moduleID = 88;
  # DEBUG BEGIN_STMT
  VersionInfoPtr_2(D)->vendorID = 43;
  # DEBUG BEGIN_STMT
  VersionInfoPtr_2(D)->sw_major_version = 1;
  # DEBUG BEGIN_STMT
  VersionInfoPtr_2(D)->sw_minor_version = 0;
  # DEBUG BEGIN_STMT
  VersionInfoPtr_2(D)->sw_patch_version = 0;

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

}


Eth_43_PFE_TxConfirmation (uint8 u8CtrlIdx)
{
  uint8 u8FifoIdx;
  uint8 u8NumsFifo;
  int _1;
  <unnamed type> _2;
  <unnamed type> _3;
  const struct Eth_43_PFE_StaticCtrlCfgType * _4;
  unsigned char _5;
  const struct Eth_43_PFE_ConfigType * Eth_43_PFE_InternalCfgPtr.15_6;
  const struct Eth_43_PFE_CtrlCfgType * _7;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_11(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 12, 1);
  goto <bb 12>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_11(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [66.00%]
  else
    goto <bb 6>; [34.00%]

  <bb 5> [local count: 474808634]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 12, 2);
  goto <bb 12>; [100.00%]

  <bb 6> [local count: 244598387]:
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckControllerIsActive (u8CtrlIdx_11(D));
  if (_3 != 1)
    goto <bb 7>; [48.88%]
  else
    goto <bb 8>; [51.12%]

  <bb 7> [local count: 119559692]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 12, 5);
  goto <bb 12>; [100.00%]

  <bb 8> [local count: 125038695]:
  # DEBUG BEGIN_STMT
  _4 = Eth_43_PFE_StaticConfig.pController[_1];
  _5 = _4->EnableTxInterrupt;
  if (_5 == 0)
    goto <bb 9>; [50.00%]
  else
    goto <bb 12>; [50.00%]

  <bb 9> [local count: 62519348]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.15_6 = Eth_43_PFE_InternalCfgPtr;
  _7 = Eth_43_PFE_InternalCfgPtr.15_6->pController[_1];
  u8NumsFifo_14 = _7->EthCtrlEgressFifoCnt;
  # DEBUG u8NumsFifo => u8NumsFifo_14
  # DEBUG BEGIN_STMT
  # DEBUG u8FifoIdx => 0
  goto <bb 11>; [100.00%]

  <bb 10> [local count: 505838361]:
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_ReportTransmission (u8CtrlIdx_11(D), u8FifoIdx_8);
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_ReportTransmissionTS (u8CtrlIdx_11(D), u8FifoIdx_8);
  # DEBUG BEGIN_STMT
  u8FifoIdx_17 = u8FifoIdx_8 + 1;
  # DEBUG u8FifoIdx => u8FifoIdx_17

  <bb 11> [local count: 568357710]:
  # u8FifoIdx_8 = PHI <0(9), u8FifoIdx_17(10)>
  # DEBUG u8FifoIdx => u8FifoIdx_8
  # DEBUG BEGIN_STMT
  if (u8FifoIdx_8 < u8NumsFifo_14)
    goto <bb 10>; [89.00%]
  else
    goto <bb 12>; [11.00%]

  <bb 12> [local count: 1073741824]:
  return;

}


Eth_43_PFE_Receive (uint8 u8CtrlIdx, uint8 FifoIdx, Eth_RxStatusType * RxStatusPtr)
{
  int _1;
  <unnamed type> _2;
  <unnamed type> _3;
  const struct Eth_43_PFE_StaticCtrlCfgType * _4;
  unsigned char _5;
  <unnamed type> _6;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_8(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 11, 1);
  goto <bb 14>; [100.00%]

  <bb 4> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  if (FifoIdx_9(D) > 7)
    goto <bb 5>; [33.00%]
  else
    goto <bb 6>; [67.00%]

  <bb 5> [local count: 237404317]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 11, 4);
  goto <bb 14>; [100.00%]

  <bb 6> [local count: 482002705]:
  # DEBUG BEGIN_STMT
  if (RxStatusPtr_10(D) == 0B)
    goto <bb 7>; [17.43%]
  else
    goto <bb 8>; [82.57%]

  <bb 7> [local count: 84013071]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 11, 3);
  goto <bb 14>; [100.00%]

  <bb 8> [local count: 397989633]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_8(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 9>; [66.00%]
  else
    goto <bb 10>; [34.00%]

  <bb 9> [local count: 262673158]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 11, 2);
  goto <bb 14>; [100.00%]

  <bb 10> [local count: 135316475]:
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckControllerIsActive (u8CtrlIdx_8(D));
  if (_3 != 1)
    goto <bb 11>; [48.88%]
  else
    goto <bb 12>; [51.12%]

  <bb 11> [local count: 66142693]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 11, 5);
  goto <bb 14>; [100.00%]

  <bb 12> [local count: 69173782]:
  # DEBUG BEGIN_STMT
  _4 = Eth_43_PFE_StaticConfig.pController[_1];
  _5 = _4->EnableRxInterrupt;
  if (_5 == 0)
    goto <bb 13>; [33.00%]
  else
    goto <bb 14>; [67.00%]

  <bb 13> [local count: 22827348]:
  # DEBUG BEGIN_STMT
  _6 = Eth_PFE_LLD_ReportReception (u8CtrlIdx_8(D), FifoIdx_9(D), 0);
  *RxStatusPtr_10(D) = _6;

  <bb 14> [local count: 1073741824]:
  return;

}


Eth_43_PFE_Transmit (uint8 u8CtrlIdx, Eth_BufIdxType BufIdx, Eth_FrameType FrameType, boolean TxConfirmation, uint16 LenByte, const uint8 * PhysAddrPtr)
{
  uint32 u32BufHdrSize;
  uint32 u32BufLen;
  uint8 u8FifoIdx;
  uint16 lmem_header_size;
  Std_ReturnType u8FunctionSuccess;
  int _1;
  <unnamed type> _2;
  <unnamed type> _3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  short unsigned int _8;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  # DEBUG u8FunctionSuccess => 1
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_11(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 10, 1);
  goto <bb 15>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  if (PhysAddrPtr_12(D) == 0B)
    goto <bb 5>; [17.43%]
  else
    goto <bb 6>; [82.57%]

  <bb 5> [local count: 125392644]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 10, 3);
  goto <bb 15>; [100.00%]

  <bb 6> [local count: 594014378]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_11(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [66.00%]
  else
    goto <bb 8>; [34.00%]

  <bb 7> [local count: 392049489]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 10, 2);
  goto <bb 15>; [100.00%]

  <bb 8> [local count: 201964888]:
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckControllerIsActive (u8CtrlIdx_11(D));
  if (_3 != 1)
    goto <bb 9>; [66.00%]
  else
    goto <bb 10>; [34.00%]

  <bb 9> [local count: 133296826]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 10, 5);
  goto <bb 15>; [100.00%]

  <bb 10> [local count: 68668062]:
  # DEBUG BEGIN_STMT
  u8FifoIdx_17 = Eth_43_PFE_LLD_GetTxFifoIdx (u8CtrlIdx_11(D), BufIdx_15(D));
  # DEBUG u8FifoIdx => u8FifoIdx_17
  # DEBUG BEGIN_STMT
  lmem_header_size_19 = Eth_43_PFE_LLD_GetLmemHdrSize (u8CtrlIdx_11(D));
  # DEBUG lmem_header_size => lmem_header_size_19
  # DEBUG BEGIN_STMT
  _4 = (long unsigned int) lmem_header_size_19;
  u32BufHdrSize_20 = _4 + 30;
  # DEBUG u32BufHdrSize => u32BufHdrSize_20
  # DEBUG BEGIN_STMT
  _5 = Eth_43_PFE_LLD_GetTxBufferSize (u8CtrlIdx_11(D), u8FifoIdx_17);
  if (_5 < u32BufHdrSize_20)
    goto <bb 15>; [67.00%]
  else
    goto <bb 11>; [33.00%]

  <bb 11> [local count: 22660460]:
  # DEBUG BEGIN_STMT
  _6 = Eth_43_PFE_LLD_GetTxBufferSize (u8CtrlIdx_11(D), u8FifoIdx_17);
  _7 = _6 - _4;
  u32BufLen_23 = _7 + 4294967266;
  # DEBUG u32BufLen => u32BufLen_23
  # DEBUG BEGIN_STMT
  if (BufIdx_15(D) > 7)
    goto <bb 13>; [33.00%]
  else
    goto <bb 12>; [67.00%]

  <bb 12> [local count: 15182509]:
  _8 = (short unsigned int) u32BufLen_23;
  if (_8 < LenByte_24(D))
    goto <bb 13>; [67.00%]
  else
    goto <bb 14>; [33.00%]

  <bb 13> [local count: 17650233]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 10, 4);
  goto <bb 15>; [100.00%]

  <bb 14> [local count: 5010228]:
  # DEBUG BEGIN_STMT
  u8FunctionSuccess_28 = Eth_PFE_LLD_Transmit (u8CtrlIdx_11(D), BufIdx_15(D), FrameType_25(D), LenByte_24(D), TxConfirmation_26(D), PhysAddrPtr_12(D));
  # DEBUG u8FunctionSuccess => u8FunctionSuccess_28

  <bb 15> [local count: 1073741824]:
  # u8FunctionSuccess_9 = PHI <1(3), 1(5), 1(7), 1(9), 1(10), 1(13), u8FunctionSuccess_28(14)>
  # DEBUG u8FunctionSuccess => u8FunctionSuccess_9
  # DEBUG BEGIN_STMT
  return u8FunctionSuccess_9;

}


Eth_43_PFE_ProvideTxBuffer (uint8 u8CtrlIdx, uint8 Priority, Eth_BufIdxType * BufIdxPtr, uint8 * * BufPtr, uint16 * LenBytePtr)
{
  uint8 u8QueueIdx;
  uint16 u16TempLenByte;
  BufReq_ReturnType eFunctionSuccess;
  int _1;
  <unnamed type> _2;
  const struct Eth_43_PFE_ConfigType * Eth_43_PFE_InternalCfgPtr.11_3;
  const struct Eth_43_PFE_CtrlCfgType * _4;
  int _5;
  short unsigned int _6;
  unsigned char _7;
  short unsigned int u16TempLenByte.12_8;
  short unsigned int _9;
  short unsigned int u16TempLenByte.13_10;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG eFunctionSuccess => 1
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_13(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 9, 1);
  goto <bb 17>; [100.00%]

  <bb 4> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  if (BufIdxPtr_14(D) == 0B)
    goto <bb 5>; [17.43%]
  else
    goto <bb 6>; [82.57%]

  <bb 5> [local count: 125392644]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 9, 3);
  goto <bb 17>; [100.00%]

  <bb 6> [local count: 594014379]:
  # DEBUG BEGIN_STMT
  if (BufPtr_15(D) == 0B)
    goto <bb 7>; [17.43%]
  else
    goto <bb 8>; [82.57%]

  <bb 7> [local count: 103536706]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 9, 3);
  goto <bb 17>; [100.00%]

  <bb 8> [local count: 490477672]:
  # DEBUG BEGIN_STMT
  if (LenBytePtr_16(D) == 0B)
    goto <bb 9>; [17.43%]
  else
    goto <bb 10>; [82.57%]

  <bb 9> [local count: 85490258]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 9, 3);
  goto <bb 17>; [100.00%]

  <bb 10> [local count: 404987414]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_13(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 11>; [48.88%]
  else
    goto <bb 12>; [51.12%]

  <bb 11> [local count: 197957848]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 9, 2);
  goto <bb 17>; [100.00%]

  <bb 12> [local count: 207029566]:
  # DEBUG BEGIN_STMT
  if (Priority_18(D) <= 7)
    goto <bb 13>; [33.00%]
  else
    goto <bb 17>; [67.00%]

  <bb 13> [local count: 68319757]:
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.11_3 = Eth_43_PFE_InternalCfgPtr;
  _4 = Eth_43_PFE_InternalCfgPtr.11_3->pController[_1];
  _5 = (int) Priority_18(D);
  u8QueueIdx_19 = _4->EthCtrlEgressPrioToFifoIdx[_5];
  # DEBUG u8QueueIdx => u8QueueIdx_19
  # DEBUG BEGIN_STMT
  _6 = *LenBytePtr_16(D);
  u16TempLenByte = _6;
  # DEBUG BEGIN_STMT
  _7 = Eth_PFE_LLD_ProvideBufferDataArea (u8CtrlIdx_13(D), u8QueueIdx_19, BufIdxPtr_14(D), BufPtr_15(D), &u16TempLenByte);
  if (_7 == 1)
    goto <bb 14>; [34.00%]
  else
    goto <bb 15>; [66.00%]

  <bb 14> [local count: 23228717]:
  # DEBUG BEGIN_STMT
  u16TempLenByte.12_8 = u16TempLenByte;
  *LenBytePtr_16(D) = u16TempLenByte.12_8;
  # DEBUG BEGIN_STMT
  # DEBUG eFunctionSuccess => 0
  goto <bb 17>; [100.00%]

  <bb 15> [local count: 45091039]:
  # DEBUG BEGIN_STMT
  _9 = *LenBytePtr_16(D);
  u16TempLenByte.13_10 = u16TempLenByte;
  if (_9 > u16TempLenByte.13_10)
    goto <bb 16>; [50.00%]
  else
    goto <bb 17>; [50.00%]

  <bb 16> [local count: 22545520]:
  # DEBUG BEGIN_STMT
  *LenBytePtr_16(D) = u16TempLenByte.13_10;
  # DEBUG BEGIN_STMT
  # DEBUG eFunctionSuccess => 3

  <bb 17> [local count: 1073741824]:
  # eFunctionSuccess_11 = PHI <1(3), 1(5), 1(7), 1(9), 1(11), 3(16), 1(12), 0(14), 2(15)>
  # DEBUG eFunctionSuccess => eFunctionSuccess_11
  # DEBUG BEGIN_STMT
  u16TempLenByte ={v} {CLOBBER};
  return eFunctionSuccess_11;

}


Eth_43_PFE_UpdatePhysAddrFilter (uint8 u8CtrlIdx, const uint8 * PhysAddrPtr, Eth_FilterActionType Action)
{
  Std_ReturnType u8FunctionSuccess;
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  # DEBUG u8FunctionSuccess => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_5(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 18, 1);
  goto <bb 9>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  if (PhysAddrPtr_6(D) == 0B)
    goto <bb 5>; [17.43%]
  else
    goto <bb 6>; [82.57%]

  <bb 5> [local count: 125392644]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 18, 3);
  goto <bb 9>; [100.00%]

  <bb 6> [local count: 594014378]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_5(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [66.00%]
  else
    goto <bb 8>; [34.00%]

  <bb 7> [local count: 392049489]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 18, 2);
  goto <bb 9>; [100.00%]

  <bb 8> [local count: 201964888]:
  # DEBUG BEGIN_STMT
  u8FunctionSuccess_10 = Eth_PFE_LLD_UpdatePhysAddrFilter (u8CtrlIdx_5(D), PhysAddrPtr_6(D), Action_8(D));
  # DEBUG u8FunctionSuccess => u8FunctionSuccess_10

  <bb 9> [local count: 1073741824]:
  # u8FunctionSuccess_3 = PHI <1(3), 1(5), 1(7), u8FunctionSuccess_10(8)>
  # DEBUG u8FunctionSuccess => u8FunctionSuccess_3
  # DEBUG BEGIN_STMT
  return u8FunctionSuccess_3;

}


Eth_43_PFE_SetPhysAddr (uint8 u8CtrlIdx, const uint8 * PhysAddrPtr)
{
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_4(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 19, 1);
  goto <bb 9>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  if (PhysAddrPtr_5(D) == 0B)
    goto <bb 5>; [17.43%]
  else
    goto <bb 6>; [82.57%]

  <bb 5> [local count: 125392644]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 19, 3);
  goto <bb 9>; [100.00%]

  <bb 6> [local count: 594014378]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_4(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [66.00%]
  else
    goto <bb 8>; [34.00%]

  <bb 7> [local count: 392049489]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 19, 2);
  goto <bb 9>; [100.00%]

  <bb 8> [local count: 201964888]:
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_SetPhysAddr (u8CtrlIdx_4(D), PhysAddrPtr_5(D));

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

}


Eth_43_PFE_GetPhysAddr (uint8 u8CtrlIdx, uint8 * PhysAddrPtr)
{
  int _1;
  <unnamed type> _2;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_4(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 8, 1);
  goto <bb 9>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  if (PhysAddrPtr_5(D) == 0B)
    goto <bb 5>; [17.43%]
  else
    goto <bb 6>; [82.57%]

  <bb 5> [local count: 125392644]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 8, 3);
  goto <bb 9>; [100.00%]

  <bb 6> [local count: 594014378]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_4(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [66.00%]
  else
    goto <bb 8>; [34.00%]

  <bb 7> [local count: 392049489]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 8, 2);
  goto <bb 9>; [100.00%]

  <bb 8> [local count: 201964888]:
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_GetPhysicalAddress (u8CtrlIdx_4(D), PhysAddrPtr_5(D));

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

}


Eth_43_PFE_GetControllerMode (uint8 u8CtrlIdx, Eth_ModeType * CtrlModePtr)
{
  Std_ReturnType u8FunctionSuccess;
  int _1;
  <unnamed type> _2;
  <unnamed type> _3;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  # DEBUG u8FunctionSuccess => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_6(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 4, 1);
  goto <bb 9>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  if (CtrlModePtr_7(D) == 0B)
    goto <bb 5>; [17.43%]
  else
    goto <bb 6>; [82.57%]

  <bb 5> [local count: 125392644]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 4, 3);
  goto <bb 9>; [100.00%]

  <bb 6> [local count: 594014378]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_6(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [66.00%]
  else
    goto <bb 8>; [34.00%]

  <bb 7> [local count: 392049489]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 4, 2);
  goto <bb 9>; [100.00%]

  <bb 8> [local count: 201964888]:
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckControllerIsActive (u8CtrlIdx_6(D));
  *CtrlModePtr_7(D) = _3;
  # DEBUG BEGIN_STMT
  # DEBUG u8FunctionSuccess => 0

  <bb 9> [local count: 1073741824]:
  # u8FunctionSuccess_4 = PHI <1(3), 1(5), 1(7), 0(8)>
  # DEBUG u8FunctionSuccess => u8FunctionSuccess_4
  # DEBUG BEGIN_STMT
  return u8FunctionSuccess_4;

}


Eth_43_PFE_SetControllerMode (uint8 u8CtrlIdx, Eth_ModeType CtrlMode)
{
  Std_ReturnType u8FunctionSuccess;
  int _1;
  <unnamed type> _2;
  unsigned char _3;
  unsigned char _4;
  const struct Eth_43_PFE_ConfigType * Eth_43_PFE_InternalCfgPtr.7_5;
  const struct Eth_43_PFE_CtrlCfgType * _6;
  long unsigned int _7;
  long unsigned int _8;
  short unsigned int _9;
  const struct Eth_43_PFE_ConfigType * Eth_43_PFE_InternalCfgPtr.9_10;
  const struct Eth_43_PFE_CtrlCfgType * _11;
  long unsigned int _12;
  long unsigned int _13;
  short unsigned int _14;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  # DEBUG u8FunctionSuccess => 1
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx_19(D) > 2)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 3, 1);
  goto <bb 15>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx_19(D);
  _2 ={v} Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [66.00%]
  else
    goto <bb 6>; [34.00%]

  <bb 5> [local count: 474808634]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 3, 2);
  goto <bb 15>; [100.00%]

  <bb 6> [local count: 244598387]:
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckAccessToController ();
  if (_3 == 1)
    goto <bb 7>; [34.00%]
  else
    goto <bb 13>; [66.00%]

  <bb 7> [local count: 83163452]:
  # DEBUG BEGIN_STMT
  if (CtrlMode_23(D) == 1)
    goto <bb 8>; [34.00%]
  else
    goto <bb 10>; [66.00%]

  <bb 8> [local count: 28275574]:
  # DEBUG BEGIN_STMT
  _4 = Eth_PFE_LLD_EnableController (u8CtrlIdx_19(D));
  if (_4 == 1)
    goto <bb 9>; [34.00%]
  else
    goto <bb 11>; [66.00%]

  <bb 9> [local count: 9613695]:
  # DEBUG BEGIN_STMT
  # DEBUG u8FunctionSuccess => 0
  goto <bb 11>; [100.00%]

  <bb 10> [local count: 54887878]:
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_DisableController (u8CtrlIdx_19(D));
  # DEBUG BEGIN_STMT
  # DEBUG u8FunctionSuccess => 0

  <bb 11> [local count: 83163452]:
  # u8FunctionSuccess_15 = PHI <0(9), 0(10), 1(8)>
  # DEBUG u8FunctionSuccess => u8FunctionSuccess_15
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.7_5 = Eth_43_PFE_InternalCfgPtr;
  _6 = Eth_43_PFE_InternalCfgPtr.7_5->pController[_1];
  _7 = _6->ETH_43_PFE_DEM_E_ACCESS_Cfg.state;
  if (_7 == 1)
    goto <bb 12>; [20.24%]
  else
    goto <bb 15>; [79.76%]

  <bb 12> [local count: 16832283]:
  # DEBUG BEGIN_STMT
  _8 = _6->ETH_43_PFE_DEM_E_ACCESS_Cfg.id;
  _9 = (short unsigned int) _8;
  Dem_SetEventStatus (_9, 2);
  goto <bb 15>; [100.00%]

  <bb 13> [local count: 161434936]:
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.9_10 = Eth_43_PFE_InternalCfgPtr;
  _11 = Eth_43_PFE_InternalCfgPtr.9_10->pController[_1];
  _12 = _11->ETH_43_PFE_DEM_E_ACCESS_Cfg.state;
  if (_12 == 1)
    goto <bb 14>; [20.24%]
  else
    goto <bb 15>; [79.76%]

  <bb 14> [local count: 32674431]:
  # DEBUG BEGIN_STMT
  _13 = _11->ETH_43_PFE_DEM_E_ACCESS_Cfg.id;
  _14 = (short unsigned int) _13;
  Dem_SetEventStatus (_14, 3);

  <bb 15> [local count: 1073741824]:
  # u8FunctionSuccess_16 = PHI <1(3), 1(5), u8FunctionSuccess_15(12), 1(13), 1(14), u8FunctionSuccess_15(11)>
  # DEBUG u8FunctionSuccess => u8FunctionSuccess_16
  # DEBUG BEGIN_STMT
  return u8FunctionSuccess_16;

}


Eth_43_PFE_Init (const struct Eth_43_PFE_ConfigType * CfgPtr)
{
  uint8 u8CtrlCount;
  int _1;
  unsigned char _2;
  unsigned char _3;
  unsigned char _4;
  int _5;
  const struct Eth_43_PFE_ConfigType * Eth_43_PFE_InternalCfgPtr.1_6;
  const struct Eth_43_PFE_CtrlCfgType * _7;
  long unsigned int _8;
  long unsigned int _9;
  short unsigned int _10;
  int _11;
  int _12;
  const struct Eth_43_PFE_ConfigType * Eth_43_PFE_InternalCfgPtr.4_13;
  int _14;
  const struct Eth_43_PFE_CtrlCfgType * _15;
  long unsigned int _16;
  long unsigned int _17;
  short unsigned int _18;

  <bb 2> [local count: 576908353]:
  # DEBUG BEGIN_STMT
  # DEBUG u8CtrlCount => 0
  # DEBUG BEGIN_STMT
  if (CfgPtr_28(D) != 0B)
    goto <bb 3>; [53.47%]
  else
    goto <bb 23>; [46.53%]

  <bb 23> [local count: 268435456]:
  goto <bb 5>; [100.00%]

  <bb 3> [local count: 308472896]:
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 1, 3);
  goto <bb 21>; [100.00%]

  <bb 4> [local count: 805306369]:
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlCount_19;
  Eth_43_PFE_CtrlState[_1] ={v} 0;
  # DEBUG BEGIN_STMT
  u8CtrlCount_47 = u8CtrlCount_19 + 1;
  # DEBUG u8CtrlCount => u8CtrlCount_47

  <bb 5> [local count: 1073741824]:
  # u8CtrlCount_19 = PHI <u8CtrlCount_47(4), 0(23)>
  # DEBUG u8CtrlCount => u8CtrlCount_19
  # DEBUG BEGIN_STMT
  if (u8CtrlCount_19 != 3)
    goto <bb 4>; [75.00%]
  else
    goto <bb 6>; [25.00%]

  <bb 6> [local count: 268435456]:
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr = &Eth_43_PFE_Config;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _2 = Eth_PFE_LLD_CheckAccessToController ();
  if (_2 == 1)
    goto <bb 7>; [20.24%]
  else
    goto <bb 22>; [79.76%]

  <bb 22> [local count: 214104120]:
  goto <bb 20>; [100.00%]

  <bb 7> [local count: 54331336]:
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_PlatformDrvPrepare ();
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_EMACPrepare ();
  # DEBUG BEGIN_STMT
  # DEBUG u8CtrlCount => 0
  goto <bb 15>; [100.00%]

  <bb 8> [local count: 162994009]:
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_InterfacePrepare (u8CtrlCount_20);
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckInitializationStatus (u8CtrlCount_20);
  if (_3 == 1)
    goto <bb 9>; [20.24%]
  else
    goto <bb 13>; [79.76%]

  <bb 9> [local count: 32989987]:
  # DEBUG BEGIN_STMT
  _4 = Eth_PFE_LLD_ConfigureController (u8CtrlCount_20);
  if (_4 == 0)
    goto <bb 10>; [50.00%]
  else
    goto <bb 12>; [50.00%]

  <bb 10> [local count: 16494994]:
  # DEBUG BEGIN_STMT
  _5 = (int) u8CtrlCount_20;
  Eth_43_PFE_CtrlState[_5] ={v} 1;
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.1_6 = Eth_43_PFE_InternalCfgPtr;
  _7 = Eth_43_PFE_InternalCfgPtr.1_6->pController[_5];
  _8 = _7->ETH_43_PFE_DEM_E_ACCESS_Cfg.state;
  if (_8 == 1)
    goto <bb 11>; [20.24%]
  else
    goto <bb 14>; [79.76%]

  <bb 11> [local count: 3338587]:
  # DEBUG BEGIN_STMT
  _9 = _7->ETH_43_PFE_DEM_E_ACCESS_Cfg.id;
  _10 = (short unsigned int) _9;
  Dem_SetEventStatus (_10, 2);
  goto <bb 14>; [100.00%]

  <bb 12> [local count: 16494994]:
  # DEBUG BEGIN_STMT
  _11 = (int) u8CtrlCount_20;
  Eth_43_PFE_CtrlState[_11] ={v} 0;
  goto <bb 14>; [100.00%]

  <bb 13> [local count: 130004021]:
  # DEBUG BEGIN_STMT
  _12 = (int) u8CtrlCount_20;
  Eth_43_PFE_CtrlState[_12] ={v} 0;

  <bb 14> [local count: 162994009]:
  # DEBUG BEGIN_STMT
  u8CtrlCount_45 = u8CtrlCount_20 + 1;
  # DEBUG u8CtrlCount => u8CtrlCount_45

  <bb 15> [local count: 217325345]:
  # u8CtrlCount_20 = PHI <0(7), u8CtrlCount_45(14)>
  # DEBUG u8CtrlCount => u8CtrlCount_20
  # DEBUG BEGIN_STMT
  if (u8CtrlCount_20 != 3)
    goto <bb 8>; [75.00%]
  else
    goto <bb 16>; [25.00%]

  <bb 16> [local count: 54331336]:
  # DEBUG BEGIN_STMT
  Eth_43_PFE_LLD_SetMasterUp ();
  goto <bb 21>; [100.00%]

  <bb 17> [local count: 642312360]:
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.4_13 = Eth_43_PFE_InternalCfgPtr;
  _14 = (int) u8CtrlCount_21;
  _15 = Eth_43_PFE_InternalCfgPtr.4_13->pController[_14];
  _16 = _15->ETH_43_PFE_DEM_E_ACCESS_Cfg.state;
  if (_16 == 1)
    goto <bb 18>; [20.24%]
  else
    goto <bb 19>; [79.76%]

  <bb 18> [local count: 130004022]:
  # DEBUG BEGIN_STMT
  _17 = _15->ETH_43_PFE_DEM_E_ACCESS_Cfg.id;
  _18 = (short unsigned int) _17;
  Dem_SetEventStatus (_18, 3);

  <bb 19> [local count: 642312360]:
  # DEBUG BEGIN_STMT
  Eth_43_PFE_CtrlState[_14] ={v} 0;
  # DEBUG BEGIN_STMT
  u8CtrlCount_34 = u8CtrlCount_21 + 1;
  # DEBUG u8CtrlCount => u8CtrlCount_34

  <bb 20> [local count: 856416480]:
  # u8CtrlCount_21 = PHI <u8CtrlCount_34(19), 0(22)>
  # DEBUG u8CtrlCount => u8CtrlCount_21
  # DEBUG BEGIN_STMT
  if (u8CtrlCount_21 != 3)
    goto <bb 17>; [75.00%]
  else
    goto <bb 21>; [25.00%]

  <bb 21> [local count: 576908353]:
  return;

}


