
Marking local functions:


Marking externally visible functions: Eth_43_PFE_GetTxErrorCounterValues Eth_43_PFE_GetTxStats Eth_43_PFE_GetRxStats Eth_43_PFE_GetCounterValues Eth_43_PFE_PreInit Eth_43_PFE_GetPlatform Eth_43_PFE_GetIngressTimeStamp Eth_43_PFE_GetEgressTimeStamp Eth_43_PFE_EnableEgressTimeStamp Eth_43_PFE_GetCurrentTime Eth_43_PFE_SetCorrectionTime Eth_43_PFE_SetGlobalTime Eth_43_PFE_ReadMii45 Eth_43_PFE_WriteMii45 Eth_43_PFE_ReadMii Eth_43_PFE_WriteMii Eth_43_PFE_MainFunction Eth_43_PFE_GetVersionInfo Eth_43_PFE_TxConfirmation Eth_43_PFE_Receive Eth_43_PFE_Transmit Eth_43_PFE_ProvideTxBuffer Eth_43_PFE_UpdatePhysAddrFilter Eth_43_PFE_SetPhysAddr Eth_43_PFE_GetPhysAddr Eth_43_PFE_GetControllerMode Eth_43_PFE_SetControllerMode Eth_43_PFE_Init


Marking externally visible variables: Eth_43_PFE_InternalCfgPtr Eth_43_PFE_CtrlState


Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Symbol table:

Eth_PFE_LLD_GetTxErrorCounterValues/107 (Eth_PFE_LLD_GetTxErrorCounterValues) @0d703ee0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_GetTxErrorCounterValues/64 
  Calls: 
Eth_PFE_LLD_GetTxStats/106 (Eth_PFE_LLD_GetTxStats) @0d703d20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_GetTxStats/63 
  Calls: 
Eth_PFE_LLD_GetRxStats/105 (Eth_PFE_LLD_GetRxStats) @0d703b60
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_GetRxStats/62 
  Calls: 
Eth_PFE_LLD_GetCounterValues/104 (Eth_PFE_LLD_GetCounterValues) @0d7039a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_GetCounterValues/61 
  Calls: 
Eth_PFE_LLD_InitEMACs/103 (Eth_PFE_LLD_InitEMACs) @0d7037e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_PreInit/60 
  Calls: 
Eth_PFE_LLD_InitInterfaces/102 (Eth_PFE_LLD_InitInterfaces) @0d703700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_PreInit/60 
  Calls: 
Eth_PFE_LLD_GetPlatform/101 (Eth_PFE_LLD_GetPlatform) @0d703540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_GetPlatform/59 
  Calls: 
Eth_43_PFE_LLD_GetRxTimeStamp/100 (Eth_43_PFE_LLD_GetRxTimeStamp) @0d703380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_GetIngressTimeStamp/58 
  Calls: 
Eth_43_PFE_LLD_GetTxTimeStamp/99 (Eth_43_PFE_LLD_GetTxTimeStamp) @0d7031c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_GetEgressTimeStamp/57 
  Calls: 
Eth_43_PFE_LLD_EnableEgressTimeStamp/98 (Eth_43_PFE_LLD_EnableEgressTimeStamp) @0d703000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_EnableEgressTimeStamp/56 
  Calls: 
Eth_43_PFE_LLD_GetCurrentTime/97 (Eth_43_PFE_LLD_GetCurrentTime) @0d6efe00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_GetCurrentTime/55 
  Calls: 
Eth_43_PFE_LLD_SetCorrectionTime/96 (Eth_43_PFE_LLD_SetCorrectionTime) @0d6efc40
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_SetCorrectionTime/54 
  Calls: 
Eth_43_PFE_LLD_SetGlobalTime/95 (Eth_43_PFE_LLD_SetGlobalTime) @0d6efa80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_SetGlobalTime/53 
  Calls: 
Eth_43_PFE_LLD_ReadMii45/94 (Eth_43_PFE_LLD_ReadMii45) @0d6ef8c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_ReadMii45/52 
  Calls: 
Eth_43_PFE_LLD_WriteMii45/93 (Eth_43_PFE_LLD_WriteMii45) @0d6ef700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_WriteMii45/51 
  Calls: 
Eth_43_PFE_LLD_ReadMii/92 (Eth_43_PFE_LLD_ReadMii) @0d6ef540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_ReadMii/50 
  Calls: 
Eth_43_PFE_LLD_WriteMii/91 (Eth_43_PFE_LLD_WriteMii) @0d6ef380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_WriteMii/49 
  Calls: 
Eth_PFE_LLD_MainFunction/90 (Eth_PFE_LLD_MainFunction) @0d6ef1c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_MainFunction/48 
  Calls: 
Eth_PFE_LLD_ReportTransmissionTS/89 (Eth_PFE_LLD_ReportTransmissionTS) @076bbee0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_TxConfirmation/46 
  Calls: 
Eth_PFE_LLD_ReportTransmission/88 (Eth_PFE_LLD_ReportTransmission) @076bbe00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_TxConfirmation/46 
  Calls: 
Eth_PFE_LLD_ReportReception/87 (Eth_PFE_LLD_ReportReception) @076bbc40
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Receive/45 
  Calls: 
Eth_43_PFE_StaticConfig/86 (Eth_43_PFE_StaticConfig) @0d6ea558
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: Eth_43_PFE_Receive/45 (read)Eth_43_PFE_TxConfirmation/46 (read)
  Availability: not_available
  Varpool flags: read-only
Eth_PFE_LLD_Transmit/85 (Eth_PFE_LLD_Transmit) @076bba80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Transmit/44 
  Calls: 
Eth_43_PFE_LLD_GetTxBufferSize/84 (Eth_43_PFE_LLD_GetTxBufferSize) @076bb9a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Transmit/44 Eth_43_PFE_Transmit/44 
  Calls: 
Eth_43_PFE_LLD_GetLmemHdrSize/83 (Eth_43_PFE_LLD_GetLmemHdrSize) @076bb8c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Transmit/44 
  Calls: 
Eth_43_PFE_LLD_GetTxFifoIdx/82 (Eth_43_PFE_LLD_GetTxFifoIdx) @076bb7e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Transmit/44 
  Calls: 
Eth_PFE_LLD_ProvideBufferDataArea/81 (Eth_PFE_LLD_ProvideBufferDataArea) @076bb620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_ProvideTxBuffer/43 
  Calls: 
Eth_PFE_LLD_UpdatePhysAddrFilter/80 (Eth_PFE_LLD_UpdatePhysAddrFilter) @076bb380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_UpdatePhysAddrFilter/42 
  Calls: 
Eth_PFE_LLD_SetPhysAddr/79 (Eth_PFE_LLD_SetPhysAddr) @076bb1c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_SetPhysAddr/41 
  Calls: 
Eth_PFE_LLD_GetPhysicalAddress/78 (Eth_PFE_LLD_GetPhysicalAddress) @076bb000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_GetPhysAddr/40 
  Calls: 
Eth_PFE_LLD_CheckControllerIsActive/77 (Eth_PFE_LLD_CheckControllerIsActive) @076aeee0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_TxConfirmation/46 Eth_43_PFE_Receive/45 Eth_43_PFE_Transmit/44 Eth_43_PFE_GetControllerMode/39 
  Calls: 
Eth_PFE_LLD_DisableController/76 (Eth_PFE_LLD_DisableController) @076aed20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_SetControllerMode/38 
  Calls: 
Eth_PFE_LLD_EnableController/75 (Eth_PFE_LLD_EnableController) @076aec40
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_SetControllerMode/38 
  Calls: 
Eth_43_PFE_LLD_SetMasterUp/74 (Eth_43_PFE_LLD_SetMasterUp) @076aea80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Init/37 
  Calls: 
Dem_SetEventStatus/73 (Dem_SetEventStatus) @076ae9a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_SetControllerMode/38 Eth_43_PFE_SetControllerMode/38 Eth_43_PFE_Init/37 Eth_43_PFE_Init/37 
  Calls: 
Eth_PFE_LLD_ConfigureController/72 (Eth_PFE_LLD_ConfigureController) @076ae7e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Init/37 
  Calls: 
Eth_PFE_LLD_CheckInitializationStatus/71 (Eth_PFE_LLD_CheckInitializationStatus) @076ae700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Init/37 
  Calls: 
Eth_PFE_LLD_InterfacePrepare/70 (Eth_PFE_LLD_InterfacePrepare) @076ae620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Init/37 
  Calls: 
Eth_PFE_LLD_EMACPrepare/69 (Eth_PFE_LLD_EMACPrepare) @076ae540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Init/37 
  Calls: 
Eth_PFE_LLD_PlatformDrvPrepare/68 (Eth_PFE_LLD_PlatformDrvPrepare) @076ae460
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_Init/37 
  Calls: 
Eth_PFE_LLD_CheckAccessToController/67 (Eth_PFE_LLD_CheckAccessToController) @076ae380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_SetControllerMode/38 Eth_43_PFE_Init/37 
  Calls: 
Eth_43_PFE_Config/66 (Eth_43_PFE_Config) @076b1120
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: Eth_43_PFE_Init/37 (addr)Eth_43_PFE_PreInit/60 (addr)
  Availability: not_available
  Varpool flags: read-only
Det_ReportError/65 (Det_ReportError) @076ae2a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Eth_43_PFE_GetTxErrorCounterValues/64 Eth_43_PFE_GetTxErrorCounterValues/64 Eth_43_PFE_GetTxErrorCounterValues/64 Eth_43_PFE_GetTxStats/63 Eth_43_PFE_GetTxStats/63 Eth_43_PFE_GetTxStats/63 Eth_43_PFE_GetRxStats/62 Eth_43_PFE_GetRxStats/62 Eth_43_PFE_GetRxStats/62 Eth_43_PFE_GetCounterValues/61 Eth_43_PFE_GetCounterValues/61 Eth_43_PFE_GetCounterValues/61 Eth_43_PFE_PreInit/60 Eth_43_PFE_GetIngressTimeStamp/58 Eth_43_PFE_GetEgressTimeStamp/57 Eth_43_PFE_EnableEgressTimeStamp/56 Eth_43_PFE_GetCurrentTime/55 Eth_43_PFE_SetCorrectionTime/54 Eth_43_PFE_SetGlobalTime/53 Eth_43_PFE_ReadMii45/52 Eth_43_PFE_ReadMii45/52 Eth_43_PFE_ReadMii45/52 Eth_43_PFE_ReadMii45/52 Eth_43_PFE_WriteMii45/51 Eth_43_PFE_WriteMii45/51 Eth_43_PFE_WriteMii45/51 Eth_43_PFE_ReadMii/50 Eth_43_PFE_ReadMii/50 Eth_43_PFE_ReadMii/50 Eth_43_PFE_ReadMii/50 Eth_43_PFE_WriteMii/49 Eth_43_PFE_WriteMii/49 Eth_43_PFE_WriteMii/49 Eth_43_PFE_GetVersionInfo/47 Eth_43_PFE_TxConfirmation/46 Eth_43_PFE_TxConfirmation/46 Eth_43_PFE_TxConfirmation/46 Eth_43_PFE_Receive/45 Eth_43_PFE_Receive/45 Eth_43_PFE_Receive/45 Eth_43_PFE_Receive/45 Eth_43_PFE_Receive/45 Eth_43_PFE_Transmit/44 Eth_43_PFE_Transmit/44 Eth_43_PFE_Transmit/44 Eth_43_PFE_Transmit/44 Eth_43_PFE_Transmit/44 Eth_43_PFE_ProvideTxBuffer/43 Eth_43_PFE_ProvideTxBuffer/43 Eth_43_PFE_ProvideTxBuffer/43 Eth_43_PFE_ProvideTxBuffer/43 Eth_43_PFE_ProvideTxBuffer/43 Eth_43_PFE_UpdatePhysAddrFilter/42 Eth_43_PFE_UpdatePhysAddrFilter/42 Eth_43_PFE_UpdatePhysAddrFilter/42 Eth_43_PFE_SetPhysAddr/41 Eth_43_PFE_SetPhysAddr/41 Eth_43_PFE_SetPhysAddr/41 Eth_43_PFE_GetPhysAddr/40 Eth_43_PFE_GetPhysAddr/40 Eth_43_PFE_GetPhysAddr/40 Eth_43_PFE_GetControllerMode/39 Eth_43_PFE_GetControllerMode/39 Eth_43_PFE_GetControllerMode/39 Eth_43_PFE_SetControllerMode/38 Eth_43_PFE_SetControllerMode/38 Eth_43_PFE_Init/37 
  Calls: 
Eth_43_PFE_GetTxErrorCounterValues/64 (Eth_43_PFE_GetTxErrorCounterValues) @07686620
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_GetTxErrorCounterValues/107 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_GetTxStats/63 (Eth_43_PFE_GetTxStats) @076860e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_GetTxStats/106 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_GetRxStats/62 (Eth_43_PFE_GetRxStats) @07686d20
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_GetRxStats/105 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_GetCounterValues/61 (Eth_43_PFE_GetCounterValues) @07686a80
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_GetCounterValues/104 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_PreInit/60 (Eth_43_PFE_PreInit) @076867e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_InternalCfgPtr/36 (write)Eth_43_PFE_Config/66 (addr)Eth_43_PFE_InternalCfgPtr/36 (read)Eth_43_PFE_InternalCfgPtr/36 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_InitEMACs/103 Eth_PFE_LLD_InitInterfaces/102 Det_ReportError/65 
Eth_43_PFE_GetPlatform/59 (Eth_43_PFE_GetPlatform) @07686540
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_GetPlatform/101 
Eth_43_PFE_GetIngressTimeStamp/58 (Eth_43_PFE_GetIngressTimeStamp) @076862a0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_43_PFE_LLD_GetRxTimeStamp/100 Det_ReportError/65 
Eth_43_PFE_GetEgressTimeStamp/57 (Eth_43_PFE_GetEgressTimeStamp) @07686000
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_43_PFE_LLD_GetTxTimeStamp/99 Det_ReportError/65 
Eth_43_PFE_EnableEgressTimeStamp/56 (Eth_43_PFE_EnableEgressTimeStamp) @07677b60
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_43_PFE_LLD_EnableEgressTimeStamp/98 Det_ReportError/65 
Eth_43_PFE_GetCurrentTime/55 (Eth_43_PFE_GetCurrentTime) @07677620
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_43_PFE_LLD_GetCurrentTime/97 Det_ReportError/65 
Eth_43_PFE_SetCorrectionTime/54 (Eth_43_PFE_SetCorrectionTime) @076770e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_43_PFE_LLD_SetCorrectionTime/96 Det_ReportError/65 
Eth_43_PFE_SetGlobalTime/53 (Eth_43_PFE_SetGlobalTime) @07677d20
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_43_PFE_LLD_SetGlobalTime/95 Det_ReportError/65 
Eth_43_PFE_ReadMii45/52 (Eth_43_PFE_ReadMii45) @07677a80
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_43_PFE_LLD_ReadMii45/94 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_WriteMii45/51 (Eth_43_PFE_WriteMii45) @076777e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_43_PFE_LLD_WriteMii45/93 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_ReadMii/50 (Eth_43_PFE_ReadMii) @07677540
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)Eth_43_PFE_InternalCfgPtr/36 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_43_PFE_LLD_ReadMii/92 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
   Indirect call
Eth_43_PFE_WriteMii/49 (Eth_43_PFE_WriteMii) @076772a0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)Eth_43_PFE_InternalCfgPtr/36 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_43_PFE_LLD_WriteMii/91 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
   Indirect call
Eth_43_PFE_MainFunction/48 (Eth_43_PFE_MainFunction) @07677000
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_MainFunction/90 
Eth_43_PFE_GetVersionInfo/47 (Eth_43_PFE_GetVersionInfo) @075d6b60
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Det_ReportError/65 
Eth_43_PFE_TxConfirmation/46 (Eth_43_PFE_TxConfirmation) @075d6540
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)Eth_43_PFE_StaticConfig/86 (read)Eth_43_PFE_InternalCfgPtr/36 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_ReportTransmissionTS/89 Eth_PFE_LLD_ReportTransmission/88 Det_ReportError/65 Eth_PFE_LLD_CheckControllerIsActive/77 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_Receive/45 (Eth_43_PFE_Receive) @075d6e00
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)Eth_43_PFE_StaticConfig/86 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_ReportReception/87 Det_ReportError/65 Eth_PFE_LLD_CheckControllerIsActive/77 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_Transmit/44 (Eth_43_PFE_Transmit) @075d6a80
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_Transmit/85 Det_ReportError/65 Eth_43_PFE_LLD_GetTxBufferSize/84 Eth_43_PFE_LLD_GetTxBufferSize/84 Eth_43_PFE_LLD_GetLmemHdrSize/83 Eth_43_PFE_LLD_GetTxFifoIdx/82 Det_ReportError/65 Eth_PFE_LLD_CheckControllerIsActive/77 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_ProvideTxBuffer/43 (Eth_43_PFE_ProvideTxBuffer) @075d67e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)Eth_43_PFE_InternalCfgPtr/36 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_ProvideBufferDataArea/81 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_UpdatePhysAddrFilter/42 (Eth_43_PFE_UpdatePhysAddrFilter) @075d6460
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_UpdatePhysAddrFilter/80 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_SetPhysAddr/41 (Eth_43_PFE_SetPhysAddr) @075d61c0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_SetPhysAddr/79 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_GetPhysAddr/40 (Eth_43_PFE_GetPhysAddr) @075cae00
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_GetPhysicalAddress/78 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_GetControllerMode/39 (Eth_43_PFE_GetControllerMode) @075ca1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Eth_PFE_LLD_CheckControllerIsActive/77 Det_ReportError/65 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_SetControllerMode/38 (Eth_43_PFE_SetControllerMode) @075cad20
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (read)Eth_43_PFE_InternalCfgPtr/36 (read)Eth_43_PFE_InternalCfgPtr/36 (read)Eth_43_PFE_InternalCfgPtr/36 (read)Eth_43_PFE_InternalCfgPtr/36 (read)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Dem_SetEventStatus/73 Dem_SetEventStatus/73 Eth_PFE_LLD_DisableController/76 Eth_PFE_LLD_EnableController/75 Eth_PFE_LLD_CheckAccessToController/67 Det_ReportError/65 Det_ReportError/65 
Eth_43_PFE_Init/37 (Eth_43_PFE_Init) @075ca700
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Eth_43_PFE_CtrlState/35 (write)Eth_43_PFE_InternalCfgPtr/36 (write)Eth_43_PFE_Config/66 (addr)Eth_43_PFE_CtrlState/35 (write)Eth_43_PFE_InternalCfgPtr/36 (read)Eth_43_PFE_InternalCfgPtr/36 (read)Eth_43_PFE_CtrlState/35 (write)Eth_43_PFE_CtrlState/35 (write)Eth_43_PFE_InternalCfgPtr/36 (read)Eth_43_PFE_InternalCfgPtr/36 (read)Eth_43_PFE_CtrlState/35 (write)
  Referring: 
  Availability: available
  Function flags: body optimize_size
  Called by: 
  Calls: Dem_SetEventStatus/73 Eth_43_PFE_LLD_SetMasterUp/74 Dem_SetEventStatus/73 Eth_PFE_LLD_ConfigureController/72 Eth_PFE_LLD_CheckInitializationStatus/71 Eth_PFE_LLD_InterfacePrepare/70 Eth_PFE_LLD_EMACPrepare/69 Eth_PFE_LLD_PlatformDrvPrepare/68 Eth_PFE_LLD_CheckAccessToController/67 Det_ReportError/65 
Eth_43_PFE_InternalCfgPtr/36 (Eth_43_PFE_InternalCfgPtr) @075c5630
  Type: variable definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: Eth_43_PFE_Init/37 (write)Eth_43_PFE_Init/37 (read)Eth_43_PFE_Init/37 (read)Eth_43_PFE_Init/37 (read)Eth_43_PFE_Init/37 (read)Eth_43_PFE_SetControllerMode/38 (read)Eth_43_PFE_SetControllerMode/38 (read)Eth_43_PFE_SetControllerMode/38 (read)Eth_43_PFE_SetControllerMode/38 (read)Eth_43_PFE_ProvideTxBuffer/43 (read)Eth_43_PFE_TxConfirmation/46 (read)Eth_43_PFE_WriteMii/49 (read)Eth_43_PFE_ReadMii/50 (read)Eth_43_PFE_PreInit/60 (write)Eth_43_PFE_PreInit/60 (read)Eth_43_PFE_PreInit/60 (read)
  Availability: available
  Varpool flags: initialized
Eth_43_PFE_CtrlState/35 (Eth_43_PFE_CtrlState) @075c55e8
  Type: variable definition analyzed
  Visibility: force_output externally_visible public
  References: 
  Referring: Eth_43_PFE_Init/37 (write)Eth_43_PFE_Init/37 (write)Eth_43_PFE_Init/37 (write)Eth_43_PFE_Init/37 (write)Eth_43_PFE_Init/37 (write)Eth_43_PFE_SetControllerMode/38 (read)Eth_43_PFE_GetControllerMode/39 (read)Eth_43_PFE_GetPhysAddr/40 (read)Eth_43_PFE_SetPhysAddr/41 (read)Eth_43_PFE_UpdatePhysAddrFilter/42 (read)Eth_43_PFE_ProvideTxBuffer/43 (read)Eth_43_PFE_Transmit/44 (read)Eth_43_PFE_Receive/45 (read)Eth_43_PFE_TxConfirmation/46 (read)Eth_43_PFE_WriteMii/49 (read)Eth_43_PFE_ReadMii/50 (read)Eth_43_PFE_WriteMii45/51 (read)Eth_43_PFE_ReadMii45/52 (read)Eth_43_PFE_SetGlobalTime/53 (read)Eth_43_PFE_SetCorrectionTime/54 (read)Eth_43_PFE_GetCurrentTime/55 (read)Eth_43_PFE_EnableEgressTimeStamp/56 (read)Eth_43_PFE_GetEgressTimeStamp/57 (read)Eth_43_PFE_GetIngressTimeStamp/58 (read)Eth_43_PFE_GetCounterValues/61 (read)Eth_43_PFE_GetRxStats/62 (read)Eth_43_PFE_GetTxStats/63 (read)Eth_43_PFE_GetTxErrorCounterValues/64 (read)
  Availability: available
  Varpool flags: initialized
Eth_43_PFE_GetTxErrorCounterValues (uint8 u8CtrlIdx, struct Eth_TxErrorCounterValuesType * TxErrorCounterValuesPtr)
{
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.12096;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 29, 1);
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 29, 2);
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  if (TxErrorCounterValuesPtr == 0B)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 29, 3);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  eReturnStatus = Eth_PFE_LLD_GetTxErrorCounterValues (u8CtrlIdx, TxErrorCounterValuesPtr);

  <bb 9> :
  # DEBUG BEGIN_STMT
  D.12096 = eReturnStatus;
  return D.12096;

}


Eth_43_PFE_GetTxStats (uint8 u8CtrlIdx, struct Eth_TxStatsType * TxStatsPtr)
{
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.12085;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 28, 1);
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 28, 2);
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  if (TxStatsPtr == 0B)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 28, 3);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  eReturnStatus = Eth_PFE_LLD_GetTxStats (u8CtrlIdx, TxStatsPtr);

  <bb 9> :
  # DEBUG BEGIN_STMT
  D.12085 = eReturnStatus;
  return D.12085;

}


Eth_43_PFE_GetRxStats (uint8 u8CtrlIdx, struct Eth_RxStatsType * RxStatsPtr)
{
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.12074;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 21, 1);
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 21, 2);
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  if (RxStatsPtr == 0B)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 21, 3);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  eReturnStatus = Eth_PFE_LLD_GetRxStats (u8CtrlIdx, RxStatsPtr);

  <bb 9> :
  # DEBUG BEGIN_STMT
  D.12074 = eReturnStatus;
  return D.12074;

}


Eth_43_PFE_GetCounterValues (uint8 u8CtrlIdx, struct Eth_CounterType * CounterPtr)
{
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.12063;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 20, 1);
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 20, 2);
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  if (CounterPtr == 0B)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 20, 3);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  eReturnStatus = Eth_PFE_LLD_GetCounterValues (u8CtrlIdx, CounterPtr);

  <bb 9> :
  # DEBUG BEGIN_STMT
  D.12063 = eReturnStatus;
  return D.12063;

}


Eth_43_PFE_PreInit (const struct Eth_43_PFE_ConfigType * CfgPtr)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  if (CfgPtr != 0B)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 33, 3);
  goto <bb 5>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr = &Eth_43_PFE_Config;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.19_1 = Eth_43_PFE_InternalCfgPtr;
  Eth_PFE_LLD_InitInterfaces (Eth_43_PFE_InternalCfgPtr.19_1);
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.20_2 = Eth_43_PFE_InternalCfgPtr;
  Eth_PFE_LLD_InitEMACs (Eth_43_PFE_InternalCfgPtr.20_2);

  <bb 5> :
  return;

}


Eth_43_PFE_GetPlatform ()
{
  void * D.12049;

  <bb 2> :
  # DEBUG BEGIN_STMT
  D.12049 = Eth_PFE_LLD_GetPlatform ();
  return D.12049;

}


Eth_43_PFE_GetIngressTimeStamp (uint8 u8CtrlIdx, const Eth_DataType * DataPtr, Eth_TimeStampQualType * timeQualPtr, struct Eth_TimeStampType * timeStampPtr)
{
  uint8 DetectedError;
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.12047;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  DetectedError = 0;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  DetectedError = 1;
  goto <bb 10>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (DataPtr == 0B)
    goto <bb 7>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  if (timeQualPtr == 0B)
    goto <bb 7>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 6> :
  if (timeStampPtr == 0B)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  DetectedError = 3;
  goto <bb 10>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  DetectedError = 2;

  <bb 10> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (DetectedError != 0)
    goto <bb 11>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 25, DetectedError);
  goto <bb 14>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  *timeQualPtr = 2;
  # DEBUG BEGIN_STMT
  Eth_43_PFE_LLD_GetRxTimeStamp (u8CtrlIdx, DataPtr, timeQualPtr, timeStampPtr);
  # DEBUG BEGIN_STMT
  _3 = *timeQualPtr;
  if (_3 == 0)
    goto <bb 13>; [INV]
  else
    goto <bb 14>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 0;

  <bb 14> :
  # DEBUG BEGIN_STMT
  D.12047 = eReturnStatus;
  return D.12047;

}


Eth_43_PFE_GetEgressTimeStamp (uint8 u8CtrlIdx, Eth_BufIdxType BufIdx, Eth_TimeStampQualType * timeQualPtr, struct Eth_TimeStampType * timeStampPtr)
{
  uint8 DetectedError;
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.12029;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  DetectedError = 0;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  DetectedError = 1;
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (timeQualPtr == 0B)
    goto <bb 6>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  if (timeStampPtr == 0B)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  DetectedError = 3;
  goto <bb 9>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 8>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  DetectedError = 2;

  <bb 9> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (DetectedError != 0)
    goto <bb 10>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 24, DetectedError);
  goto <bb 13>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  *timeQualPtr = 2;
  # DEBUG BEGIN_STMT
  Eth_43_PFE_LLD_GetTxTimeStamp (u8CtrlIdx, timeQualPtr, timeStampPtr);
  # DEBUG BEGIN_STMT
  _3 = *timeQualPtr;
  if (_3 == 0)
    goto <bb 12>; [INV]
  else
    goto <bb 13>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 0;

  <bb 13> :
  # DEBUG BEGIN_STMT
  D.12029 = eReturnStatus;
  return D.12029;

}


Eth_43_PFE_EnableEgressTimeStamp (uint8 u8CtrlIdx, Eth_BufIdxType BufIdx)
{
  uint8 DetectedError;

  <bb 2> :
  # DEBUG BEGIN_STMT
  DetectedError = 0;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  DetectedError = 1;
  goto <bb 8>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (BufIdx > 7)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  DetectedError = 4;
  goto <bb 8>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  DetectedError = 2;

  <bb 8> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (DetectedError != 0)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 23, DetectedError);
  goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_LLD_EnableEgressTimeStamp (u8CtrlIdx, BufIdx);

  <bb 11> :
  return;

}


Eth_43_PFE_GetCurrentTime (uint8 u8CtrlIdx, Eth_TimeStampQualType * timeQualPtr, struct Eth_TimeStampType * timeStampPtr)
{
  uint8 DetectedError;
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.12000;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  DetectedError = 0;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  DetectedError = 1;
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (timeQualPtr == 0B)
    goto <bb 6>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  if (timeStampPtr == 0B)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  DetectedError = 3;
  goto <bb 9>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 8>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  DetectedError = 2;

  <bb 9> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (DetectedError != 0)
    goto <bb 10>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 22, DetectedError);
  goto <bb 13>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  *timeQualPtr = 2;
  # DEBUG BEGIN_STMT
  Eth_43_PFE_LLD_GetCurrentTime (u8CtrlIdx, timeQualPtr, timeStampPtr);
  # DEBUG BEGIN_STMT
  _3 = *timeQualPtr;
  if (_3 == 0)
    goto <bb 12>; [INV]
  else
    goto <bb 13>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 0;

  <bb 13> :
  # DEBUG BEGIN_STMT
  D.12000 = eReturnStatus;
  return D.12000;

}


Eth_43_PFE_SetCorrectionTime (uint8 u8CtrlIdx, const struct Eth_TimeIntDiffType * timeOffsetPtr, const struct Eth_RateRatioType * rateRatioPtr)
{
  uint8 DetectedError;
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.11983;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  DetectedError = 0;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  DetectedError = 1;
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (timeOffsetPtr == 0B)
    goto <bb 6>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  if (rateRatioPtr == 0B)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  DetectedError = 3;
  goto <bb 9>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 8>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  DetectedError = 2;

  <bb 9> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (DetectedError != 0)
    goto <bb 10>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 26, DetectedError);
  goto <bb 12>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  eReturnStatus = Eth_43_PFE_LLD_SetCorrectionTime (u8CtrlIdx, timeOffsetPtr, rateRatioPtr);

  <bb 12> :
  # DEBUG BEGIN_STMT
  D.11983 = eReturnStatus;
  return D.11983;

}


Eth_43_PFE_SetGlobalTime (uint8 u8CtrlIdx, struct Eth_TimeStampType * timeStampPtr)
{
  uint8 DetectedError;
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.11968;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  DetectedError = 0;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  DetectedError = 1;
  goto <bb 8>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (timeStampPtr == 0B)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  DetectedError = 3;
  goto <bb 8>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  DetectedError = 2;

  <bb 8> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (DetectedError != 0)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 27, DetectedError);
  goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  eReturnStatus = Eth_43_PFE_LLD_SetGlobalTime (u8CtrlIdx, timeStampPtr);

  <bb 11> :
  # DEBUG BEGIN_STMT
  D.11968 = eReturnStatus;
  return D.11968;

}


Eth_43_PFE_ReadMii45 (uint8 u8CtrlIdx, uint8 u8TrcvIdx, uint8 u8DevIdx, uint16 u16RegIdx, uint16 * pu16RegValPtr)
{
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.11954;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 31, 1);
  goto <bb 12>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (u8TrcvIdx > 31)
    goto <bb 6>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  if (u8DevIdx > 31)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 31, 4);
  goto <bb 12>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  if (pu16RegValPtr == 0B)
    goto <bb 8>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 31, 3);
  goto <bb 12>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 10>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 31, 2);
  goto <bb 12>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  eReturnStatus = Eth_43_PFE_LLD_ReadMii45 (u8CtrlIdx, u8TrcvIdx, u8DevIdx, u16RegIdx, pu16RegValPtr);
  # DEBUG BEGIN_STMT

  <bb 12> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  D.11954 = eReturnStatus;
  return D.11954;

}


Eth_43_PFE_WriteMii45 (uint8 u8CtrlIdx, uint8 u8TrcvIdx, uint8 u8DevIdx, uint16 u16RegIdx, uint16 u16RegVal)
{
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.11937;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 30, 1);
  goto <bb 10>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (u8TrcvIdx > 31)
    goto <bb 6>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  if (u8DevIdx > 31)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 30, 4);
  goto <bb 10>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 8>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 30, 2);
  goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  eReturnStatus = Eth_43_PFE_LLD_WriteMii45 (u8CtrlIdx, u8TrcvIdx, u8DevIdx, u16RegIdx, u16RegVal);
  # DEBUG BEGIN_STMT

  <bb 10> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  D.11937 = eReturnStatus;
  return D.11937;

}


Eth_43_PFE_ReadMii (uint8 u8CtrlIdx, uint8 u8TrcvIdx, uint8 u8RegIdx, uint16 * pu16RegValPtr)
{
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.11923;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 6, 1);
  goto <bb 13>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (u8TrcvIdx > 31)
    goto <bb 6>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  if (u8RegIdx > 31)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 6, 4);
  goto <bb 13>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  if (pu16RegValPtr == 0B)
    goto <bb 8>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 6, 3);
  goto <bb 13>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 10>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 6, 2);
  goto <bb 13>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  eReturnStatus = Eth_43_PFE_LLD_ReadMii (u8CtrlIdx, u8TrcvIdx, u8RegIdx, pu16RegValPtr);
  # DEBUG BEGIN_STMT
  if (eReturnStatus == 0)
    goto <bb 12>; [INV]
  else
    goto <bb 13>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.18_3 = Eth_43_PFE_InternalCfgPtr;
  _4 = (int) u8CtrlIdx;
  _5 = Eth_43_PFE_InternalCfgPtr.18_3->pController[_4];
  _6 = _5->Eth_43_PFE_EthTrcvDriverFunctionList.ReadMiiIndicationFunction;
  _7 = *pu16RegValPtr;
  _6 (u8CtrlIdx, u8TrcvIdx, u8RegIdx, _7);

  <bb 13> :
  # DEBUG BEGIN_STMT
  D.11923 = eReturnStatus;
  return D.11923;

}


Eth_43_PFE_WriteMii (uint8 u8CtrlIdx, uint8 u8TrcvIdx, uint8 u8RegIdx, uint16 u16RegVal)
{
  Std_ReturnType eReturnStatus;
  Std_ReturnType D.11906;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eReturnStatus = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 5, 1);
  goto <bb 11>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (u8TrcvIdx > 31)
    goto <bb 6>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 5> :
  if (u8RegIdx > 31)
    goto <bb 6>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 5, 4);
  goto <bb 11>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 8>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 5, 2);
  goto <bb 11>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  eReturnStatus = Eth_43_PFE_LLD_WriteMii (u8CtrlIdx, u8TrcvIdx, u8RegIdx, u16RegVal);
  # DEBUG BEGIN_STMT
  if (eReturnStatus == 0)
    goto <bb 10>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.17_3 = Eth_43_PFE_InternalCfgPtr;
  _4 = (int) u8CtrlIdx;
  _5 = Eth_43_PFE_InternalCfgPtr.17_3->pController[_4];
  _6 = _5->Eth_43_PFE_EthTrcvDriverFunctionList.WriteMiiIndicationFunction;
  _6 (u8CtrlIdx, u8TrcvIdx, u8RegIdx);

  <bb 11> :
  # DEBUG BEGIN_STMT
  D.11906 = eReturnStatus;
  return D.11906;

}


Eth_43_PFE_MainFunction ()
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_MainFunction ();
  return;

}


Eth_43_PFE_GetVersionInfo (struct Std_VersionInfoType * VersionInfoPtr)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  if (VersionInfoPtr == 0B)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 13, 3);
  goto <bb 5>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  VersionInfoPtr->moduleID = 88;
  # DEBUG BEGIN_STMT
  VersionInfoPtr->vendorID = 43;
  # DEBUG BEGIN_STMT
  VersionInfoPtr->sw_major_version = 1;
  # DEBUG BEGIN_STMT
  VersionInfoPtr->sw_minor_version = 0;
  # DEBUG BEGIN_STMT
  VersionInfoPtr->sw_patch_version = 0;

  <bb 5> :
  return;

}


Eth_43_PFE_TxConfirmation (uint8 u8CtrlIdx)
{
  uint8 u8FifoIdx;
  uint8 u8NumsFifo;

  <bb 2> :
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 12, 1);
  goto <bb 12>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 12, 2);
  goto <bb 12>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckControllerIsActive (u8CtrlIdx);
  if (_3 != 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 12, 5);
  goto <bb 12>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  _4 = (int) u8CtrlIdx;
  _5 = Eth_43_PFE_StaticConfig.pController[_4];
  _6 = _5->EnableTxInterrupt;
  if (_6 == 0)
    goto <bb 9>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.15_7 = Eth_43_PFE_InternalCfgPtr;
  _8 = (int) u8CtrlIdx;
  _9 = Eth_43_PFE_InternalCfgPtr.15_7->pController[_8];
  u8NumsFifo = _9->EthCtrlEgressFifoCnt;
  # DEBUG BEGIN_STMT
  u8FifoIdx = 0;
  goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_ReportTransmission (u8CtrlIdx, u8FifoIdx);
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_ReportTransmissionTS (u8CtrlIdx, u8FifoIdx);
  # DEBUG BEGIN_STMT
  u8FifoIdx.16_10 = u8FifoIdx;
  u8FifoIdx = u8FifoIdx.16_10 + 1;

  <bb 11> :
  # DEBUG BEGIN_STMT
  if (u8FifoIdx < u8NumsFifo)
    goto <bb 10>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 12> :
  return;

}


Eth_43_PFE_Receive (uint8 u8CtrlIdx, uint8 FifoIdx, Eth_RxStatusType * RxStatusPtr)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 11, 1);
  goto <bb 14>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (FifoIdx > 7)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 11, 4);
  goto <bb 14>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  if (RxStatusPtr == 0B)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 11, 3);
  goto <bb 14>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 11, 2);
  goto <bb 14>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckControllerIsActive (u8CtrlIdx);
  if (_3 != 1)
    goto <bb 11>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 11, 5);
  goto <bb 14>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  _4 = (int) u8CtrlIdx;
  _5 = Eth_43_PFE_StaticConfig.pController[_4];
  _6 = _5->EnableRxInterrupt;
  if (_6 == 0)
    goto <bb 13>; [INV]
  else
    goto <bb 14>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  _7 = Eth_PFE_LLD_ReportReception (u8CtrlIdx, FifoIdx, 0);
  *RxStatusPtr = _7;

  <bb 14> :
  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;
  Std_ReturnType D.11861;

  <bb 2> :
  # DEBUG BEGIN_STMT
  u8FunctionSuccess = 1;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 10, 1);
  goto <bb 15>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (PhysAddrPtr == 0B)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 10, 3);
  goto <bb 15>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 10, 2);
  goto <bb 15>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckControllerIsActive (u8CtrlIdx);
  if (_3 != 1)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 10, 5);
  goto <bb 15>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  u8FifoIdx = Eth_43_PFE_LLD_GetTxFifoIdx (u8CtrlIdx, BufIdx);
  # DEBUG BEGIN_STMT
  lmem_header_size = Eth_43_PFE_LLD_GetLmemHdrSize (u8CtrlIdx);
  # DEBUG BEGIN_STMT
  _4 = (long unsigned int) lmem_header_size;
  u32BufHdrSize = _4 + 30;
  # DEBUG BEGIN_STMT
  _5 = Eth_43_PFE_LLD_GetTxBufferSize (u8CtrlIdx, u8FifoIdx);
  if (u32BufHdrSize > _5)
    goto <bb 15>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  _6 = Eth_43_PFE_LLD_GetTxBufferSize (u8CtrlIdx, u8FifoIdx);
  _7 = (long unsigned int) lmem_header_size;
  _8 = _6 - _7;
  u32BufLen = _8 + 4294967266;
  # DEBUG BEGIN_STMT
  if (BufIdx > 7)
    goto <bb 13>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 12> :
  _9 = (short unsigned int) u32BufLen;
  if (LenByte > _9)
    goto <bb 13>; [INV]
  else
    goto <bb 14>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 10, 4);
  goto <bb 15>; [INV]

  <bb 14> :
  # DEBUG BEGIN_STMT
  u8FunctionSuccess = Eth_PFE_LLD_Transmit (u8CtrlIdx, BufIdx, FrameType, LenByte, TxConfirmation, PhysAddrPtr);

  <bb 15> :
  # DEBUG BEGIN_STMT
  D.11861 = u8FunctionSuccess;
  return D.11861;

}


Eth_43_PFE_ProvideTxBuffer (uint8 u8CtrlIdx, uint8 Priority, Eth_BufIdxType * BufIdxPtr, uint8 * * BufPtr, uint16 * LenBytePtr)
{
  uint8 u8QueueIdx;
  uint16 u16TempLenByte;
  BufReq_ReturnType eFunctionSuccess;
  BufReq_ReturnType D.11839;

  <bb 2> :
  # DEBUG BEGIN_STMT
  eFunctionSuccess = 1;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 9, 1);
  goto <bb 19>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (BufIdxPtr == 0B)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 9, 3);
  goto <bb 19>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  if (BufPtr == 0B)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 9, 3);
  goto <bb 19>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  if (LenBytePtr == 0B)
    goto <bb 9>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 9, 3);
  goto <bb 19>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 11>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 9, 2);
  goto <bb 19>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  if (Priority <= 7)
    goto <bb 13>; [INV]
  else
    goto <bb 18>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.11_3 = Eth_43_PFE_InternalCfgPtr;
  _4 = (int) u8CtrlIdx;
  _5 = Eth_43_PFE_InternalCfgPtr.11_3->pController[_4];
  _6 = (int) Priority;
  u8QueueIdx = _5->EthCtrlEgressPrioToFifoIdx[_6];
  # DEBUG BEGIN_STMT
  _7 = *LenBytePtr;
  u16TempLenByte = _7;
  # DEBUG BEGIN_STMT
  _8 = Eth_PFE_LLD_ProvideBufferDataArea (u8CtrlIdx, u8QueueIdx, BufIdxPtr, BufPtr, &u16TempLenByte);
  if (_8 == 1)
    goto <bb 14>; [INV]
  else
    goto <bb 15>; [INV]

  <bb 14> :
  # DEBUG BEGIN_STMT
  u16TempLenByte.12_9 = u16TempLenByte;
  *LenBytePtr = u16TempLenByte.12_9;
  # DEBUG BEGIN_STMT
  eFunctionSuccess = 0;
  goto <bb 19>; [INV]

  <bb 15> :
  # DEBUG BEGIN_STMT
  _10 = *LenBytePtr;
  u16TempLenByte.13_11 = u16TempLenByte;
  if (_10 > u16TempLenByte.13_11)
    goto <bb 16>; [INV]
  else
    goto <bb 17>; [INV]

  <bb 16> :
  # DEBUG BEGIN_STMT
  u16TempLenByte.14_12 = u16TempLenByte;
  *LenBytePtr = u16TempLenByte.14_12;
  # DEBUG BEGIN_STMT
  eFunctionSuccess = 3;
  goto <bb 19>; [INV]

  <bb 17> :
  # DEBUG BEGIN_STMT
  eFunctionSuccess = 2;
  goto <bb 19>; [INV]

  <bb 18> :
  # DEBUG BEGIN_STMT
  eFunctionSuccess = 1;

  <bb 19> :
  # DEBUG BEGIN_STMT
  D.11839 = eFunctionSuccess;
  u16TempLenByte = {CLOBBER};
  return D.11839;

}


Eth_43_PFE_UpdatePhysAddrFilter (uint8 u8CtrlIdx, const uint8 * PhysAddrPtr, Eth_FilterActionType Action)
{
  Std_ReturnType u8FunctionSuccess;
  Std_ReturnType D.11813;

  <bb 2> :
  # DEBUG BEGIN_STMT
  u8FunctionSuccess = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 18, 1);
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (PhysAddrPtr == 0B)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 18, 3);
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 18, 2);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  u8FunctionSuccess = Eth_PFE_LLD_UpdatePhysAddrFilter (u8CtrlIdx, PhysAddrPtr, Action);

  <bb 9> :
  # DEBUG BEGIN_STMT
  D.11813 = u8FunctionSuccess;
  return D.11813;

}


Eth_43_PFE_SetPhysAddr (uint8 u8CtrlIdx, const uint8 * PhysAddrPtr)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 19, 1);
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (PhysAddrPtr == 0B)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 19, 3);
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 19, 2);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_SetPhysAddr (u8CtrlIdx, PhysAddrPtr);

  <bb 9> :
  return;

}


Eth_43_PFE_GetPhysAddr (uint8 u8CtrlIdx, uint8 * PhysAddrPtr)
{
  <bb 2> :
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 8, 1);
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (PhysAddrPtr == 0B)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 8, 3);
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 8, 2);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_GetPhysicalAddress (u8CtrlIdx, PhysAddrPtr);

  <bb 9> :
  return;

}


Eth_43_PFE_GetControllerMode (uint8 u8CtrlIdx, Eth_ModeType * CtrlModePtr)
{
  Std_ReturnType u8FunctionSuccess;
  Std_ReturnType D.11784;

  <bb 2> :
  # DEBUG BEGIN_STMT
  u8FunctionSuccess = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 4, 1);
  goto <bb 9>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  if (CtrlModePtr == 0B)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 4, 3);
  goto <bb 9>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 7>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 4, 2);
  goto <bb 9>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckControllerIsActive (u8CtrlIdx);
  *CtrlModePtr = _3;
  # DEBUG BEGIN_STMT
  u8FunctionSuccess = 0;

  <bb 9> :
  # DEBUG BEGIN_STMT
  D.11784 = u8FunctionSuccess;
  return D.11784;

}


Eth_43_PFE_SetControllerMode (uint8 u8CtrlIdx, Eth_ModeType CtrlMode)
{
  Std_ReturnType u8FunctionSuccess;
  Std_ReturnType D.11773;

  <bb 2> :
  # DEBUG BEGIN_STMT
  u8FunctionSuccess = 1;
  # DEBUG BEGIN_STMT
  if (u8CtrlIdx > 2)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 3, 1);
  goto <bb 15>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlIdx;
  _2 = Eth_43_PFE_CtrlState[_1];
  if (_2 != 1)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 3, 2);
  goto <bb 15>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckAccessToController ();
  if (_3 == 1)
    goto <bb 7>; [INV]
  else
    goto <bb 13>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  if (CtrlMode == 1)
    goto <bb 8>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  _4 = Eth_PFE_LLD_EnableController (u8CtrlIdx);
  if (_4 == 1)
    goto <bb 9>; [INV]
  else
    goto <bb 11>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  u8FunctionSuccess = 0;
  goto <bb 11>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_DisableController (u8CtrlIdx);
  # DEBUG BEGIN_STMT
  u8FunctionSuccess = 0;

  <bb 11> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.7_5 = Eth_43_PFE_InternalCfgPtr;
  _6 = (int) u8CtrlIdx;
  _7 = Eth_43_PFE_InternalCfgPtr.7_5->pController[_6];
  _8 = _7->ETH_43_PFE_DEM_E_ACCESS_Cfg.state;
  if (_8 == 1)
    goto <bb 12>; [INV]
  else
    goto <bb 15>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.8_9 = Eth_43_PFE_InternalCfgPtr;
  _10 = (int) u8CtrlIdx;
  _11 = Eth_43_PFE_InternalCfgPtr.8_9->pController[_10];
  _12 = _11->ETH_43_PFE_DEM_E_ACCESS_Cfg.id;
  _13 = (short unsigned int) _12;
  Dem_SetEventStatus (_13, 2);
  goto <bb 15>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.9_14 = Eth_43_PFE_InternalCfgPtr;
  _15 = (int) u8CtrlIdx;
  _16 = Eth_43_PFE_InternalCfgPtr.9_14->pController[_15];
  _17 = _16->ETH_43_PFE_DEM_E_ACCESS_Cfg.state;
  if (_17 == 1)
    goto <bb 14>; [INV]
  else
    goto <bb 15>; [INV]

  <bb 14> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.10_18 = Eth_43_PFE_InternalCfgPtr;
  _19 = (int) u8CtrlIdx;
  _20 = Eth_43_PFE_InternalCfgPtr.10_18->pController[_19];
  _21 = _20->ETH_43_PFE_DEM_E_ACCESS_Cfg.id;
  _22 = (short unsigned int) _21;
  Dem_SetEventStatus (_22, 3);

  <bb 15> :
  # DEBUG BEGIN_STMT
  D.11773 = u8FunctionSuccess;
  return D.11773;

}


Eth_43_PFE_Init (const struct Eth_43_PFE_ConfigType * CfgPtr)
{
  uint8 u8CtrlCount;

  <bb 2> :
  # DEBUG BEGIN_STMT
  u8CtrlCount = 0;
  # DEBUG BEGIN_STMT
  if (CfgPtr != 0B)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  Det_ReportError (88, 0, 1, 3);
  goto <bb 23>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  u8CtrlCount = 0;
  goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  _1 = (int) u8CtrlCount;
  Eth_43_PFE_CtrlState[_1] = 0;
  # DEBUG BEGIN_STMT
  u8CtrlCount.0_2 = u8CtrlCount;
  u8CtrlCount = u8CtrlCount.0_2 + 1;

  <bb 6> :
  # DEBUG BEGIN_STMT
  if (u8CtrlCount <= 2)
    goto <bb 5>; [INV]
  else
    goto <bb 7>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr = &Eth_43_PFE_Config;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _3 = Eth_PFE_LLD_CheckAccessToController ();
  if (_3 == 1)
    goto <bb 8>; [INV]
  else
    goto <bb 18>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_PlatformDrvPrepare ();
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_EMACPrepare ();
  # DEBUG BEGIN_STMT
  u8CtrlCount = 0;
  goto <bb 16>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  Eth_PFE_LLD_InterfacePrepare (u8CtrlCount);
  # DEBUG BEGIN_STMT
  _4 = Eth_PFE_LLD_CheckInitializationStatus (u8CtrlCount);
  if (_4 == 1)
    goto <bb 10>; [INV]
  else
    goto <bb 14>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  _5 = Eth_PFE_LLD_ConfigureController (u8CtrlCount);
  if (_5 == 0)
    goto <bb 11>; [INV]
  else
    goto <bb 13>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  _6 = (int) u8CtrlCount;
  Eth_43_PFE_CtrlState[_6] = 1;
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.1_7 = Eth_43_PFE_InternalCfgPtr;
  _8 = (int) u8CtrlCount;
  _9 = Eth_43_PFE_InternalCfgPtr.1_7->pController[_8];
  _10 = _9->ETH_43_PFE_DEM_E_ACCESS_Cfg.state;
  if (_10 == 1)
    goto <bb 12>; [INV]
  else
    goto <bb 15>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.2_11 = Eth_43_PFE_InternalCfgPtr;
  _12 = (int) u8CtrlCount;
  _13 = Eth_43_PFE_InternalCfgPtr.2_11->pController[_12];
  _14 = _13->ETH_43_PFE_DEM_E_ACCESS_Cfg.id;
  _15 = (short unsigned int) _14;
  Dem_SetEventStatus (_15, 2);
  goto <bb 15>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  _16 = (int) u8CtrlCount;
  Eth_43_PFE_CtrlState[_16] = 0;
  goto <bb 15>; [INV]

  <bb 14> :
  # DEBUG BEGIN_STMT
  _17 = (int) u8CtrlCount;
  Eth_43_PFE_CtrlState[_17] = 0;

  <bb 15> :
  # DEBUG BEGIN_STMT
  u8CtrlCount.3_18 = u8CtrlCount;
  u8CtrlCount = u8CtrlCount.3_18 + 1;

  <bb 16> :
  # DEBUG BEGIN_STMT
  if (u8CtrlCount <= 2)
    goto <bb 9>; [INV]
  else
    goto <bb 17>; [INV]

  <bb 17> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_LLD_SetMasterUp ();
  goto <bb 23>; [INV]

  <bb 18> :
  # DEBUG BEGIN_STMT
  u8CtrlCount = 0;
  goto <bb 22>; [INV]

  <bb 19> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.4_19 = Eth_43_PFE_InternalCfgPtr;
  _20 = (int) u8CtrlCount;
  _21 = Eth_43_PFE_InternalCfgPtr.4_19->pController[_20];
  _22 = _21->ETH_43_PFE_DEM_E_ACCESS_Cfg.state;
  if (_22 == 1)
    goto <bb 20>; [INV]
  else
    goto <bb 21>; [INV]

  <bb 20> :
  # DEBUG BEGIN_STMT
  Eth_43_PFE_InternalCfgPtr.5_23 = Eth_43_PFE_InternalCfgPtr;
  _24 = (int) u8CtrlCount;
  _25 = Eth_43_PFE_InternalCfgPtr.5_23->pController[_24];
  _26 = _25->ETH_43_PFE_DEM_E_ACCESS_Cfg.id;
  _27 = (short unsigned int) _26;
  Dem_SetEventStatus (_27, 3);

  <bb 21> :
  # DEBUG BEGIN_STMT
  _28 = (int) u8CtrlCount;
  Eth_43_PFE_CtrlState[_28] = 0;
  # DEBUG BEGIN_STMT
  u8CtrlCount.6_29 = u8CtrlCount;
  u8CtrlCount = u8CtrlCount.6_29 + 1;

  <bb 22> :
  # DEBUG BEGIN_STMT
  if (u8CtrlCount <= 2)
    goto <bb 19>; [INV]
  else
    goto <bb 23>; [INV]

  <bb 23> :
  return;

}


