
Marking local functions: Static_Dma_Ip_GetLogicChannelError Static_Dma_Ip_SetLogicChannelScatterGatherInit Static_Dma_Ip_SetLogicChannelScatterGatherList Static_Dma_Ip_SetLogicChannelTransferList Static_Dma_Ip_SetLogicChannelGlobalList Static_Dma_Ip_SetLogicChannelTransferConfig Static_Dma_Ip_SetLogicChannelGlobalConfig


Marking externally visible functions: Dma_Ip_ErrorIrqHandler Dma_Ip_IntIrqHandler Dma_Ip_SetLogicChannelScatterGatherConfig Dma_Ip_GetLogicChannelParam Dma_Ip_SetLogicChannelScatterGatherList Dma_Ip_SetLogicChannelTransferList Dma_Ip_SetLogicChannelGlobalList Dma_Ip_GetLogicChannelStatus Dma_Ip_SetLogicChannelCommand Dma_Ip_LogicChannelDeinit Dma_Ip_LogicChannelInit Dma_Ip_GetLogicInstanceStatus Dma_Ip_SetLogicInstanceCommand Dma_Ip_Deinit Dma_Ip_Init Dma_Ip_ConvertLogicChToHwCh


Marking externally visible variables:

Clearing variable flags:

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

SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_11/65 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_11) @06d32e00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherConfig/22 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_11/64 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_11) @06d32d20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherConfig/22 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
HwAccDmaCh_GetParam/63 (HwAccDmaCh_GetParam) @06d32b60
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicChannelParam/21 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_09/62 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_09) @06d328c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherList/19 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_09/61 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_09) @06d327e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherList/19 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_08/60 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_08) @06d32620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_08/59 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_08) @06d32540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_07/58 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_07) @06d32380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelGlobalList/15 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_07/57 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_07) @06d322a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelGlobalList/15 (1073741823 (estimated locally),1.00 per call) 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_06/56 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_06) @06d320e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicChannelStatus/14 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
Dma_Ip_GetHwChannelState/55 (Dma_Ip_GetHwChannelState) @06d32000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicChannelStatus/14 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
HwAccDmaCh_GetStatus/54 (HwAccDmaCh_GetStatus) @06cd72a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicChannelStatus/14 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_06/53 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_06) @06cd7ee0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicChannelStatus/14 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_05/52 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_05) @06cd7d20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelCommand/13 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_05/51 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_05) @06cd7c40
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelCommand/13 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_04/50 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_04) @06cd7a80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_LogicChannelDeinit/12 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_04/49 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_04) @06cd79a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_LogicChannelDeinit/12 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
HwAccDmaCh_SetGlobalParam/48 (HwAccDmaCh_SetGlobalParam) @06cd77e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_SetLogicChannelGlobalList/16 (955630223 (estimated locally),8.09 per call) 
  Calls: 
HwAccDmaCh_SetTransferParam/47 (HwAccDmaCh_SetTransferParam) @06cd7540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_SetLogicChannelScatterGatherList/20 (955630223 (estimated locally),8.09 per call) Static_Dma_Ip_SetLogicChannelTransferList/18 (955630223 (estimated locally),8.09 per call) 
  Calls: 
HwAccDmaCh_SetCommand/46 (HwAccDmaCh_SetCommand) @06cd7380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 (719407023 (estimated locally),0.67 per call) Dma_Ip_SetLogicChannelCommand/13 (184510635 (estimated locally),0.17 per call) Dma_Ip_SetLogicChannelCommand/13 (365072220 (estimated locally),0.34 per call) Dma_Ip_LogicChannelDeinit/12 (1073741824 (estimated locally),1.00 per call) Static_Dma_Ip_SetLogicChannelTransferConfig/6 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
HwAccDmaCh_GetStatus_Error/45 (HwAccDmaCh_GetStatus_Error) @06cd71c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_GetLogicChannelError/26 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_12/44 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_12) @06cd7000
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (256251125 (estimated locally),1.00 per call) 
  Calls: 
HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd/43 (HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd) @06cb8ee0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherConfig/22 (222978307 (estimated locally),0.21 per call) Dma_Ip_SetLogicChannelScatterGatherConfig/22 (145607981 (estimated locally),0.14 per call) Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (87125383 (estimated locally),0.34 per call) 
  Calls: 
HwAccDmaCh_LoadConfigIntoSoftwareTcd/42 (HwAccDmaCh_LoadConfigIntoSoftwareTcd) @06cb8e00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (697607585 (estimated locally),2.72 per call) Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (298974679 (estimated locally),1.17 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_12/41 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_12) @06cb8d20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (256251125 (estimated locally),1.00 per call) 
  Calls: 
HwAccDmaCh_SetControl_ScatterGatherAddress/40 (HwAccDmaCh_SetControl_ScatterGatherAddress) @06cb8a80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 (474808635 (estimated locally),0.44 per call) Dma_Ip_LogicChannelInit/11 (234318061 (estimated locally),0.22 per call) Dma_Ip_LogicChannelInit/11 (384666935 (estimated locally),0.36 per call) 
  Calls: 
HwAccDmaCh_SetControl_EnScatterGatherProcessing/39 (HwAccDmaCh_SetControl_EnScatterGatherProcessing) @06cb89a0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 (474808635 (estimated locally),0.44 per call) Dma_Ip_LogicChannelInit/11 (234318061 (estimated locally),0.22 per call) Dma_Ip_LogicChannelInit/11 (384666935 (estimated locally),0.36 per call) 
  Calls: 
Dma_Ip_SetHwChannelState/38 (Dma_Ip_SetHwChannelState) @06cb88c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_ErrorIrqHandler/25 (189462818 (estimated locally),0.18 per call) Dma_Ip_SetLogicChannelScatterGatherConfig/22 (222978307 (estimated locally),0.21 per call) Dma_Ip_SetLogicChannelScatterGatherConfig/22 (354334802 (estimated locally),0.33 per call) Dma_Ip_SetLogicChannelScatterGatherList/19 (222978307 (estimated locally),0.21 per call) Dma_Ip_SetLogicChannelScatterGatherList/19 (354334802 (estimated locally),0.33 per call) Dma_Ip_SetLogicChannelTransferList/17 (121299969 (estimated locally),0.11 per call) Dma_Ip_SetLogicChannelTransferList/17 (96101268 (estimated locally),0.09 per call) Dma_Ip_SetLogicChannelTransferList/17 (354334802 (estimated locally),0.33 per call) Dma_Ip_SetLogicChannelGlobalList/15 (354334802 (estimated locally),0.33 per call) Dma_Ip_SetLogicChannelCommand/13 (233860969 (estimated locally),0.22 per call) Dma_Ip_SetLogicChannelCommand/13 (365072220 (estimated locally),0.34 per call) Dma_Ip_LogicChannelDeinit/12 (1073741824 (estimated locally),1.00 per call) Dma_Ip_LogicChannelInit/11 (714038314 (estimated locally),0.67 per call) Dma_Ip_LogicChannelInit/11 (234318061 (estimated locally),0.22 per call) Dma_Ip_LogicChannelInit/11 (384666935 (estimated locally),0.36 per call) Dma_Ip_LogicChannelInit/11 (719407023 (estimated locally),0.67 per call) 
  Calls: 
HwAccDmaInst_GetStatus/37 (HwAccDmaInst_GetStatus) @06cb8700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_GetLogicInstanceStatus/10 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_02/36 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_02) @06cb8540
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicInstanceCommand/9 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
HwAccDmaInst_SetCommand/35 (HwAccDmaInst_SetCommand) @06cb8460
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicInstanceCommand/9 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_02/34 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_02) @06cb8380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_SetLogicInstanceCommand/9 (1073741824 (estimated locally),1.00 per call) 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_01/33 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_01) @06cb81c0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Deinit/8 (153437706 (estimated locally),1.00 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_01/32 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_01) @06cb80e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Deinit/8 (153437706 (estimated locally),1.00 per call) 
  Calls: 
Dma_Ip_GetHwChannelStatePointer/31 (Dma_Ip_GetHwChannelStatePointer) @06caf620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_ErrorIrqHandler/25 (1073741824 (estimated locally),1.00 per call) Dma_Ip_IntIrqHandler/24 (1073741824 (estimated locally),1.00 per call) Dma_Ip_SetLogicChannelScatterGatherConfig/22 (1073741824 (estimated locally),1.00 per call) Dma_Ip_SetLogicChannelScatterGatherList/19 (1073741824 (estimated locally),1.00 per call) Dma_Ip_SetLogicChannelTransferList/17 (1073741824 (estimated locally),1.00 per call) Dma_Ip_SetLogicChannelGlobalList/15 (1073741823 (estimated locally),1.00 per call) Dma_Ip_GetLogicChannelStatus/14 (1073741824 (estimated locally),1.00 per call) Dma_Ip_SetLogicChannelCommand/13 (1073741824 (estimated locally),1.00 per call) Dma_Ip_LogicChannelDeinit/12 (1073741824 (estimated locally),1.00 per call) Dma_Ip_Init/7 (920304118 (estimated locally),6.00 per call) Dma_Ip_LogicChannelInit/11 (1073741824 (estimated locally),1.00 per call) Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (256251125 (estimated locally),1.00 per call) 
  Calls: 
Dma_Ip_SetHwChannelStatePointer/30 (Dma_Ip_SetHwChannelStatePointer) @06caf380
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Init/7 (920304118 (estimated locally),6.00 per call) 
  Calls: 
SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_00/29 (SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_00) @06cafee0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Init/7 (153437706 (estimated locally),1.00 per call) 
  Calls: 
HwAccDmaInst_SetConfig/28 (HwAccDmaInst_SetConfig) @06cafe00
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Deinit/8 (153437706 (estimated locally),1.00 per call) Dma_Ip_Init/7 (153437706 (estimated locally),1.00 per call) 
  Calls: 
SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_00/27 (SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_00) @06cafd20
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: Dma_Ip_Init/7 (153437706 (estimated locally),1.00 per call) 
  Calls: 
Static_Dma_Ip_GetLogicChannelError/26 (Static_Dma_Ip_GetLogicChannelError) @06caf7e0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local optimize_size
  Called by: Dma_Ip_ErrorIrqHandler/25 (574129754 (estimated locally),0.53 per call) Dma_Ip_SetLogicChannelScatterGatherConfig/22 (1073741824 (estimated locally),1.00 per call) Dma_Ip_SetLogicChannelScatterGatherList/19 (1073741824 (estimated locally),1.00 per call) Dma_Ip_SetLogicChannelTransferList/17 (1073741824 (estimated locally),1.00 per call) Dma_Ip_SetLogicChannelGlobalList/15 (1073741823 (estimated locally),1.00 per call) Dma_Ip_GetLogicChannelStatus/14 (1073741824 (estimated locally),1.00 per call) Dma_Ip_SetLogicChannelCommand/13 (708669605 (estimated locally),0.66 per call) Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (256251125 (estimated locally),1.00 per call) 
  Calls: HwAccDmaCh_GetStatus_Error/45 (1073741824 (estimated locally),1.00 per call) 
Dma_Ip_ErrorIrqHandler/25 (Dma_Ip_ErrorIrqHandler) @06caf540
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: Dma_Ip_SetHwChannelState/38 (189462818 (estimated locally),0.18 per call) Static_Dma_Ip_GetLogicChannelError/26 (574129754 (estimated locally),0.53 per call) Dma_Ip_GetHwChannelStatePointer/31 (1073741824 (estimated locally),1.00 per call) 
   Indirect call(401890827 (estimated locally),0.37 per call) 
Dma_Ip_IntIrqHandler/24 (Dma_Ip_IntIrqHandler) @06caf2a0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: Dma_Ip_GetHwChannelStatePointer/31 (1073741824 (estimated locally),1.00 per call) 
   Indirect call(526133494 (estimated locally),0.49 per call) 
Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (Static_Dma_Ip_SetLogicChannelScatterGatherInit) @06caf000
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: local
  Function flags: count:256251125 (estimated locally) body local optimize_size
  Called by: Dma_Ip_LogicChannelInit/11 (234318061 (estimated locally),0.22 per call) 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_12/44 (256251125 (estimated locally),1.00 per call) HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd/43 (87125383 (estimated locally),0.34 per call) HwAccDmaCh_LoadConfigIntoSoftwareTcd/42 (697607585 (estimated locally),2.72 per call) HwAccDmaCh_LoadConfigIntoSoftwareTcd/42 (298974679 (estimated locally),1.17 per call) Static_Dma_Ip_GetLogicChannelError/26 (256251125 (estimated locally),1.00 per call) Dma_Ip_GetHwChannelStatePointer/31 (256251125 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_12/41 (256251125 (estimated locally),1.00 per call) 
Dma_Ip_SetLogicChannelScatterGatherConfig/22 (Dma_Ip_SetLogicChannelScatterGatherConfig) @06c9bb60
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_11/65 (1073741824 (estimated locally),1.00 per call) HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd/43 (222978307 (estimated locally),0.21 per call) Dma_Ip_SetHwChannelState/38 (222978307 (estimated locally),0.21 per call) HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd/43 (145607981 (estimated locally),0.14 per call) Dma_Ip_SetHwChannelState/38 (354334802 (estimated locally),0.33 per call) Static_Dma_Ip_GetLogicChannelError/26 (1073741824 (estimated locally),1.00 per call) Dma_Ip_GetHwChannelStatePointer/31 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_11/64 (1073741824 (estimated locally),1.00 per call) 
Dma_Ip_GetLogicChannelParam/21 (Dma_Ip_GetLogicChannelParam) @06c9b540
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: HwAccDmaCh_GetParam/63 (1073741824 (estimated locally),1.00 per call) 
Static_Dma_Ip_SetLogicChannelScatterGatherList/20 (Static_Dma_Ip_SetLogicChannelScatterGatherList) @06c9b000
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: local
  Function flags: count:118111600 (estimated locally) body local optimize_size
  Called by: Dma_Ip_SetLogicChannelScatterGatherList/19 (222978307 (estimated locally),0.21 per call) Dma_Ip_SetLogicChannelScatterGatherList/19 (145607981 (estimated locally),0.14 per call) 
  Calls: HwAccDmaCh_SetTransferParam/47 (955630223 (estimated locally),8.09 per call) 
Dma_Ip_SetLogicChannelScatterGatherList/19 (Dma_Ip_SetLogicChannelScatterGatherList) @06c9bd20
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_09/62 (1073741824 (estimated locally),1.00 per call) Static_Dma_Ip_SetLogicChannelScatterGatherList/20 (222978307 (estimated locally),0.21 per call) Dma_Ip_SetHwChannelState/38 (222978307 (estimated locally),0.21 per call) Static_Dma_Ip_SetLogicChannelScatterGatherList/20 (145607981 (estimated locally),0.14 per call) Dma_Ip_SetHwChannelState/38 (354334802 (estimated locally),0.33 per call) Static_Dma_Ip_GetLogicChannelError/26 (1073741824 (estimated locally),1.00 per call) Dma_Ip_GetHwChannelStatePointer/31 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_09/61 (1073741824 (estimated locally),1.00 per call) 
Static_Dma_Ip_SetLogicChannelTransferList/18 (Static_Dma_Ip_SetLogicChannelTransferList) @06c9ba80
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: local
  Function flags: count:118111600 (estimated locally) body local optimize_size
  Called by: Dma_Ip_SetLogicChannelTransferList/17 (121299969 (estimated locally),0.11 per call) Dma_Ip_SetLogicChannelTransferList/17 (96101268 (estimated locally),0.09 per call) Dma_Ip_SetLogicChannelTransferList/17 (244598388 (estimated locally),0.23 per call) Static_Dma_Ip_SetLogicChannelTransferConfig/6 (1073741824 (estimated locally),1.00 per call) 
  Calls: HwAccDmaCh_SetTransferParam/47 (955630223 (estimated locally),8.09 per call) 
Dma_Ip_SetLogicChannelTransferList/17 (Dma_Ip_SetLogicChannelTransferList) @06c9b7e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_08/60 (1073741824 (estimated locally),1.00 per call) Static_Dma_Ip_SetLogicChannelTransferList/18 (121299969 (estimated locally),0.11 per call) Dma_Ip_SetHwChannelState/38 (121299969 (estimated locally),0.11 per call) Static_Dma_Ip_SetLogicChannelTransferList/18 (96101268 (estimated locally),0.09 per call) Dma_Ip_SetHwChannelState/38 (96101268 (estimated locally),0.09 per call) HwAccDmaCh_SetControl_ScatterGatherAddress/40 (474808635 (estimated locally),0.44 per call) HwAccDmaCh_SetControl_EnScatterGatherProcessing/39 (474808635 (estimated locally),0.44 per call) Static_Dma_Ip_SetLogicChannelTransferList/18 (244598388 (estimated locally),0.23 per call) HwAccDmaCh_SetCommand/46 (719407023 (estimated locally),0.67 per call) Dma_Ip_SetHwChannelState/38 (354334802 (estimated locally),0.33 per call) Static_Dma_Ip_GetLogicChannelError/26 (1073741824 (estimated locally),1.00 per call) Dma_Ip_GetHwChannelStatePointer/31 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_08/59 (1073741824 (estimated locally),1.00 per call) 
Static_Dma_Ip_SetLogicChannelGlobalList/16 (Static_Dma_Ip_SetLogicChannelGlobalList) @06c9b460
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: 
  Availability: local
  Function flags: count:118111600 (estimated locally) body local optimize_size
  Called by: Dma_Ip_SetLogicChannelGlobalList/15 (343660734 (estimated locally),0.32 per call) Static_Dma_Ip_SetLogicChannelGlobalConfig/5 (365072220 (estimated locally),0.34 per call) 
  Calls: HwAccDmaCh_SetGlobalParam/48 (955630223 (estimated locally),8.09 per call) 
Dma_Ip_SetLogicChannelGlobalList/15 (Dma_Ip_SetLogicChannelGlobalList) @06c9b1c0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741823 (estimated locally) body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_07/58 (1073741824 (estimated locally),1.00 per call) Static_Dma_Ip_SetLogicChannelGlobalList/16 (343660734 (estimated locally),0.32 per call) Dma_Ip_SetHwChannelState/38 (354334802 (estimated locally),0.33 per call) Static_Dma_Ip_GetLogicChannelError/26 (1073741823 (estimated locally),1.00 per call) Dma_Ip_GetHwChannelStatePointer/31 (1073741823 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_07/57 (1073741823 (estimated locally),1.00 per call) 
Dma_Ip_GetLogicChannelStatus/14 (Dma_Ip_GetLogicChannelStatus) @05eb6ee0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_06/56 (1073741824 (estimated locally),1.00 per call) Dma_Ip_GetHwChannelState/55 (1073741824 (estimated locally),1.00 per call) HwAccDmaCh_GetStatus/54 (1073741824 (estimated locally),1.00 per call) Static_Dma_Ip_GetLogicChannelError/26 (1073741824 (estimated locally),1.00 per call) Dma_Ip_GetHwChannelStatePointer/31 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_06/53 (1073741824 (estimated locally),1.00 per call) 
Dma_Ip_SetLogicChannelCommand/13 (Dma_Ip_SetLogicChannelCommand) @05eb68c0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_05/52 (1073741824 (estimated locally),1.00 per call) HwAccDmaCh_SetCommand/46 (184510635 (estimated locally),0.17 per call) Dma_Ip_SetHwChannelState/38 (233860969 (estimated locally),0.22 per call) Static_Dma_Ip_GetLogicChannelError/26 (708669605 (estimated locally),0.66 per call) HwAccDmaCh_SetCommand/46 (365072220 (estimated locally),0.34 per call) Dma_Ip_SetHwChannelState/38 (365072220 (estimated locally),0.34 per call) Dma_Ip_GetHwChannelStatePointer/31 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_05/51 (1073741824 (estimated locally),1.00 per call) 
Dma_Ip_LogicChannelDeinit/12 (Dma_Ip_LogicChannelDeinit) @05eb6380
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: Dma_Ip_Deinit/8 (920304118 (estimated locally),6.00 per call) 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_04/50 (1073741824 (estimated locally),1.00 per call) HwAccDmaCh_SetCommand/46 (1073741824 (estimated locally),1.00 per call) Dma_Ip_GetHwChannelStatePointer/31 (1073741824 (estimated locally),1.00 per call) Static_Dma_Ip_SetLogicChannelTransferConfig/6 (1073741824 (estimated locally),1.00 per call) Static_Dma_Ip_SetLogicChannelGlobalConfig/5 (1073741824 (estimated locally),1.00 per call) Dma_Ip_SetHwChannelState/38 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_04/49 (1073741824 (estimated locally),1.00 per call) 
Dma_Ip_LogicChannelInit/11 (Dma_Ip_LogicChannelInit) @05eb6e00
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: Dma_Ip_Init/7 (303700359 (estimated locally),1.98 per call) 
  Calls: Dma_Ip_SetHwChannelState/38 (714038314 (estimated locally),0.67 per call) Static_Dma_Ip_SetLogicChannelGlobalConfig/5 (107911053 (estimated locally),0.10 per call) Static_Dma_Ip_SetLogicChannelGlobalConfig/5 (251792458 (estimated locally),0.23 per call) Static_Dma_Ip_SetLogicChannelTransferConfig/6 (100422026 (estimated locally),0.09 per call) Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (234318061 (estimated locally),0.22 per call) Dma_Ip_SetHwChannelState/38 (234318061 (estimated locally),0.22 per call) HwAccDmaCh_SetControl_ScatterGatherAddress/40 (234318061 (estimated locally),0.22 per call) HwAccDmaCh_SetControl_EnScatterGatherProcessing/39 (234318061 (estimated locally),0.22 per call) Static_Dma_Ip_SetLogicChannelTransferConfig/6 (384666935 (estimated locally),0.36 per call) Dma_Ip_SetHwChannelState/38 (384666935 (estimated locally),0.36 per call) HwAccDmaCh_SetControl_ScatterGatherAddress/40 (384666935 (estimated locally),0.36 per call) HwAccDmaCh_SetControl_EnScatterGatherProcessing/39 (384666935 (estimated locally),0.36 per call) Dma_Ip_SetHwChannelState/38 (719407023 (estimated locally),0.67 per call) Dma_Ip_GetHwChannelStatePointer/31 (1073741824 (estimated locally),1.00 per call) 
Dma_Ip_GetLogicInstanceStatus/10 (Dma_Ip_GetLogicInstanceStatus) @05eb6a80
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: HwAccDmaInst_GetStatus/37 (1073741824 (estimated locally),1.00 per call) 
Dma_Ip_SetLogicInstanceCommand/9 (Dma_Ip_SetLogicInstanceCommand) @05eb67e0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_02/36 (1073741824 (estimated locally),1.00 per call) HwAccDmaInst_SetCommand/35 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_02/34 (1073741824 (estimated locally),1.00 per call) 
Dma_Ip_Deinit/8 (Dma_Ip_Deinit) @05eb6540
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:153437706 (estimated locally) body optimize_size
  Called by: 
  Calls: Dma_Ip_LogicChannelDeinit/12 (920304118 (estimated locally),6.00 per call) SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_01/33 (153437706 (estimated locally),1.00 per call) HwAccDmaInst_SetConfig/28 (153437706 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_01/32 (153437706 (estimated locally),1.00 per call) 
Dma_Ip_Init/7 (Dma_Ip_Init) @05eb62a0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (write)Dma_Ip_pxInit/3 (read)Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:153437706 (estimated locally) body optimize_size
  Called by: 
  Calls: Dma_Ip_LogicChannelInit/11 (303700359 (estimated locally),1.98 per call) Dma_Ip_GetHwChannelStatePointer/31 (920304118 (estimated locally),6.00 per call) Dma_Ip_SetHwChannelStatePointer/30 (920304118 (estimated locally),6.00 per call) SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_00/29 (153437706 (estimated locally),1.00 per call) HwAccDmaInst_SetConfig/28 (153437706 (estimated locally),1.00 per call) SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_00/27 (153437706 (estimated locally),1.00 per call) 
Static_Dma_Ip_SetLogicChannelTransferConfig/6 (Static_Dma_Ip_SetLogicChannelTransferConfig) @05eb6000
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local optimize_size
  Called by: Dma_Ip_LogicChannelDeinit/12 (1073741824 (estimated locally),1.00 per call) Dma_Ip_LogicChannelInit/11 (100422026 (estimated locally),0.09 per call) Dma_Ip_LogicChannelInit/11 (384666935 (estimated locally),0.36 per call) 
  Calls: Static_Dma_Ip_SetLogicChannelTransferList/18 (1073741824 (estimated locally),1.00 per call) HwAccDmaCh_SetCommand/46 (1073741824 (estimated locally),1.00 per call) 
Static_Dma_Ip_SetLogicChannelGlobalConfig/5 (Static_Dma_Ip_SetLogicChannelGlobalConfig) @05e60ee0
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: local
  Function flags: count:1073741824 (estimated locally) body local optimize_size
  Called by: Dma_Ip_LogicChannelDeinit/12 (1073741824 (estimated locally),1.00 per call) Dma_Ip_LogicChannelInit/11 (107911053 (estimated locally),0.10 per call) Dma_Ip_LogicChannelInit/11 (251792458 (estimated locally),0.23 per call) 
  Calls: Static_Dma_Ip_SetLogicChannelGlobalList/16 (365072220 (estimated locally),0.34 per call) 
Dma_Ip_ConvertLogicChToHwCh/4 (Dma_Ip_ConvertLogicChToHwCh) @05e60c40
  Type: function definition analyzed
  Visibility: externally_visible public
  References: Dma_Ip_pxInit/3 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
Dma_Ip_pxInit/3 (Dma_Ip_pxInit) @05e5f828
  Type: variable definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: Static_Dma_Ip_SetLogicChannelScatterGatherList/20 (read)Dma_Ip_Deinit/8 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_LogicChannelDeinit/12 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_Init/7 (write)Dma_Ip_GetLogicInstanceStatus/10 (read)Dma_Ip_Init/7 (read)Dma_Ip_Init/7 (read)Static_Dma_Ip_SetLogicChannelGlobalConfig/5 (read)Dma_Ip_ConvertLogicChToHwCh/4 (read)Dma_Ip_SetLogicChannelCommand/13 (read)Dma_Ip_GetLogicChannelStatus/14 (read)Dma_Ip_LogicChannelDeinit/12 (read)Dma_Ip_SetLogicChannelGlobalList/15 (read)Static_Dma_Ip_SetLogicChannelTransferList/18 (read)Dma_Ip_SetLogicChannelTransferList/17 (read)Dma_Ip_SetLogicChannelScatterGatherList/19 (read)Dma_Ip_SetLogicInstanceCommand/9 (read)Dma_Ip_LogicChannelDeinit/12 (read)Dma_Ip_SetLogicChannelScatterGatherList/19 (read)Static_Dma_Ip_SetLogicChannelScatterGatherInit/23 (read)Dma_Ip_GetLogicChannelParam/21 (read)Static_Dma_Ip_SetLogicChannelTransferConfig/6 (read)Dma_Ip_LogicChannelInit/11 (read)Dma_Ip_SetLogicChannelScatterGatherConfig/22 (read)
  Availability: available
  Varpool flags:
Static_Dma_Ip_GetLogicChannelError (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh, uint32 * LocLogicChErrors)
{
  uint32 LocError;
  long unsigned int _1;
  long unsigned int LocError.21_2;
  long unsigned int _3;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  LocError = 0;
  # DEBUG BEGIN_STMT
  HwAccDmaCh_GetStatus_Error (LocHwVers_6(D), LocHwInst_7(D), LocHwCh_8(D), &LocError);
  # DEBUG BEGIN_STMT
  _1 = *LocLogicChErrors_10(D);
  LocError.21_2 = LocError;
  _3 = _1 | LocError.21_2;
  *LocLogicChErrors_10(D) = _3;
  LocError ={v} {CLOBBER};
  return;

}


Dma_Ip_ErrorIrqHandler (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh)
{
  struct Dma_Ip_HwChannelStateType * LocChState;
  uint32 * _1;
  long unsigned int _2;
  const struct Dma_Ip_LogicChannelIdType * _3;
  void (*<T4c6>) (void) _4;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  LocChState_12 = Dma_Ip_GetHwChannelStatePointer (LocHwVers_8(D), LocHwInst_9(D), LocHwCh_10(D));
  # DEBUG LocChState => LocChState_12
  # DEBUG BEGIN_STMT
  if (LocChState_12 != 0B)
    goto <bb 3>; [53.47%]
  else
    goto <bb 7>; [46.53%]

  <bb 3> [local count: 574129754]:
  # DEBUG BEGIN_STMT
  _1 = &LocChState_12->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers_8(D), LocHwInst_9(D), LocHwCh_10(D), _1);
  # DEBUG BEGIN_STMT
  _2 = LocChState_12->LogicChErrors;
  if (_2 != 0)
    goto <bb 4>; [33.00%]
  else
    goto <bb 5>; [67.00%]

  <bb 4> [local count: 189462818]:
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_8(D), LocHwInst_9(D), LocHwCh_10(D), 4);

  <bb 5> [local count: 574129754]:
  # DEBUG BEGIN_STMT
  _3 = LocChState_12->LogicChId;
  _4 = _3->ErrIntCallback;
  if (_4 != 0B)
    goto <bb 6>; [70.00%]
  else
    goto <bb 7>; [30.00%]

  <bb 6> [local count: 401890827]:
  # DEBUG BEGIN_STMT
  _4 ();

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

}


Dma_Ip_IntIrqHandler (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh)
{
  const struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_LogicChannelIdType * _1;
  void (*<T4c6>) (void) _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  LocChState_9 = Dma_Ip_GetHwChannelStatePointer (LocHwVers_5(D), LocHwInst_6(D), LocHwCh_7(D));
  # DEBUG LocChState => LocChState_9
  # DEBUG BEGIN_STMT
  if (LocChState_9 != 0B)
    goto <bb 3>; [70.00%]
  else
    goto <bb 5>; [30.00%]

  <bb 3> [local count: 751619278]:
  # DEBUG BEGIN_STMT
  _1 = LocChState_9->LogicChId;
  _2 = _1->IntCallback;
  if (_2 != 0B)
    goto <bb 4>; [70.00%]
  else
    goto <bb 5>; [30.00%]

  <bb 4> [local count: 526133494]:
  # DEBUG BEGIN_STMT
  _2 ();

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

}


Static_Dma_Ip_SetLogicChannelScatterGatherInit (const uint32 LogicCh, const uint32 Element)
{
  uint32 LocElement;
  uint32 LocLoopCheck;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  struct Dma_Ip_ScatterGatherConfigType * LocCurrentConfig;
  struct Dma_Ip_ScatterGatherConfigType * LocScatterGather;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.19_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  struct Dma_Ip_ScatterGatherConfigType * * _8;
  long unsigned int _9;
  struct Dma_Ip_ScatterGatherConfigType * * _10;
  unsigned char _11;
  unsigned char _12;
  unsigned char _13;
  uint32 * _14;
  <unnamed type> _15;
  _Bool _16;
  struct Dma_Ip_ScatterGatherConfigType * _17;
  _Bool _18;

  <bb 2> [local count: 256251125]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.19_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.19_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_31(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId_32 = &_5->LogicChId;
  # DEBUG LocLogicChId => LocLogicChId_32
  # DEBUG BEGIN_STMT
  _8 = _5->ppxScatterGatherConfigArray;
  _9 = Element_33(D) * 4;
  _10 = _8 + _9;
  LocScatterGather_34 = *_10;
  # DEBUG LocScatterGather => LocScatterGather_34
  # DEBUG BEGIN_STMT
  _11 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_35 = (uint32) _11;
  # DEBUG LocHwVers => LocHwVers_35
  # DEBUG BEGIN_STMT
  _12 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  LocHwInst_36 = (uint32) _12;
  # DEBUG LocHwInst => LocHwInst_36
  # DEBUG BEGIN_STMT
  _13 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  LocHwCh_37 = (uint32) _13;
  # DEBUG LocHwCh => LocHwCh_37
  # DEBUG BEGIN_STMT
  # DEBUG LocLoopCheck => 0
  # DEBUG BEGIN_STMT
  # DEBUG LocElement => Element_33(D)
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_12 ();
  # DEBUG BEGIN_STMT
  LocChState_40 = Dma_Ip_GetHwChannelStatePointer (LocHwVers_35, LocHwInst_36, LocHwCh_37);
  # DEBUG LocChState => LocChState_40
  # DEBUG BEGIN_STMT
  _14 = &LocChState_40->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers_35, LocHwInst_36, LocHwCh_37, _14);
  # DEBUG BEGIN_STMT
  _15 = LocChState_40->StateValue;
  if (_15 == 3)
    goto <bb 16>; [34.00%]
  else
    goto <bb 15>; [66.00%]

  <bb 16> [local count: 87125382]:
  goto <bb 4>; [100.00%]

  <bb 3> [local count: 727320816]:
  # DEBUG BEGIN_STMT
  LocCurrentConfig_21->Loaded = 0;
  # DEBUG BEGIN_STMT
  LocCurrentConfig_44 = LocCurrentConfig_21->NextConfig;
  # DEBUG LocCurrentConfig => LocCurrentConfig_44

  <bb 4> [local count: 814446199]:
  # LocCurrentConfig_21 = PHI <LocCurrentConfig_44(3), LocScatterGather_34(16)>
  # DEBUG LocCurrentConfig => LocCurrentConfig_21
  # DEBUG BEGIN_STMT
  if (LocCurrentConfig_21 != 0B)
    goto <bb 6>; [94.50%]
  else
    goto <bb 5>; [5.50%]

  <bb 5> [local count: 87125382]:
  # LocCurrentConfig_42 = PHI <LocScatterGather_34(4), LocScatterGather_34(6)>
  # LocLoopCheck_6 = PHI <0(4), 0(6)>
  # LocElement_7 = PHI <Element_33(D)(4), Element_33(D)(6)>
  goto <bb 12>; [100.00%]

  <bb 6> [local count: 769651658]:
  _16 = LocCurrentConfig_21->Loaded;
  if (_16 != 0)
    goto <bb 3>; [94.50%]
  else
    goto <bb 5>; [5.50%]

  <bb 7> [local count: 996582264]:
  # DEBUG BEGIN_STMT
  LocCurrentConfig_22->Loaded = 1;
  # DEBUG BEGIN_STMT
  _17 = LocCurrentConfig_22->NextConfig;
  if (_17 == 0B)
    goto <bb 8>; [30.00%]
  else
    goto <bb 9>; [70.00%]

  <bb 8> [local count: 298974679]:
  # DEBUG BEGIN_STMT
  HwAccDmaCh_LoadConfigIntoSoftwareTcd (LocHwVers_35, LocCurrentConfig_22, LocElement_24, 0);
  goto <bb 10>; [100.00%]

  <bb 9> [local count: 697607585]:
  # DEBUG BEGIN_STMT
  HwAccDmaCh_LoadConfigIntoSoftwareTcd (LocHwVers_35, LocCurrentConfig_22, LocElement_24, 1);

  <bb 10> [local count: 996582264]:
  # DEBUG BEGIN_STMT
  LocCurrentConfig_48 = LocCurrentConfig_22->NextConfig;
  # DEBUG LocCurrentConfig => LocCurrentConfig_48
  # DEBUG BEGIN_STMT
  LocLoopCheck_49 = LocLoopCheck_23 + 1;
  # DEBUG LocLoopCheck => LocLoopCheck_49
  # DEBUG BEGIN_STMT
  if (LocLoopCheck_49 == 256)
    goto <bb 14>; [1.00%]
  else
    goto <bb 11>; [99.00%]

  <bb 11> [local count: 986616441]:
  # DEBUG BEGIN_STMT
  LocElement_50 = LocElement_24 + 1;
  # DEBUG LocElement => LocElement_50

  <bb 12> [local count: 1073741824]:
  # LocCurrentConfig_22 = PHI <LocCurrentConfig_42(5), LocCurrentConfig_48(11)>
  # LocLoopCheck_23 = PHI <LocLoopCheck_6(5), LocLoopCheck_49(11)>
  # LocElement_24 = PHI <LocElement_7(5), LocElement_50(11)>
  # DEBUG LocElement => LocElement_24
  # DEBUG LocLoopCheck => LocLoopCheck_23
  # DEBUG LocCurrentConfig => LocCurrentConfig_22
  # DEBUG BEGIN_STMT
  if (LocCurrentConfig_22 != 0B)
    goto <bb 13>; [96.34%]
  else
    goto <bb 14>; [3.66%]

  <bb 13> [local count: 1034442873]:
  _18 = LocCurrentConfig_22->Loaded;
  if (_18 != 0)
    goto <bb 14>; [3.66%]
  else
    goto <bb 7>; [96.34%]

  <bb 14> [local count: 87125383]:
  # LocStatus_19 = PHI <3(10), 0(12), 0(13)>
  # DEBUG LocStatus => LocStatus_19
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd (LocLogicChId_32, LocScatterGather_34);

  <bb 15> [local count: 256251125]:
  # LocStatus_20 = PHI <0(2), LocStatus_19(14)>
  # DEBUG LocStatus => LocStatus_20
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_12 ();
  # DEBUG BEGIN_STMT
  return LocStatus_20;

}


Dma_Ip_SetLogicChannelScatterGatherConfig (const uint32 LogicCh, const uint32 Element)
{
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_ScatterGatherConfigType * LocScatterGather;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.36_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  struct Dma_Ip_ScatterGatherConfigType * * _6;
  long unsigned int _7;
  struct Dma_Ip_ScatterGatherConfigType * * _8;
  unsigned char _9;
  unsigned char _10;
  unsigned char _11;
  uint32 * _12;
  long unsigned int _13;
  <unnamed type> _14;
  unsigned int _15;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.36_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.36_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_19(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId_20 = &_5->LogicChId;
  # DEBUG LocLogicChId => LocLogicChId_20
  # DEBUG BEGIN_STMT
  _6 = _5->ppxScatterGatherConfigArray;
  _7 = Element_21(D) * 4;
  _8 = _6 + _7;
  LocScatterGather_22 = *_8;
  # DEBUG LocScatterGather => LocScatterGather_22
  # DEBUG BEGIN_STMT
  _9 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_23 = (uint32) _9;
  # DEBUG LocHwVers => LocHwVers_23
  # DEBUG BEGIN_STMT
  _10 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  LocHwInst_24 = (uint32) _10;
  # DEBUG LocHwInst => LocHwInst_24
  # DEBUG BEGIN_STMT
  _11 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  LocHwCh_25 = (uint32) _11;
  # DEBUG LocHwCh => LocHwCh_25
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_11 ();
  # DEBUG BEGIN_STMT
  LocChState_28 = Dma_Ip_GetHwChannelStatePointer (LocHwVers_23, LocHwInst_24, LocHwCh_25);
  # DEBUG LocChState => LocChState_28
  # DEBUG BEGIN_STMT
  _12 = &LocChState_28->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers_23, LocHwInst_24, LocHwCh_25, _12);
  # DEBUG BEGIN_STMT
  _13 = LocChState_28->LogicChErrors;
  if (_13 != 0)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_23, LocHwInst_24, LocHwCh_25, 4);
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 1
  goto <bb 8>; [100.00%]

  <bb 4> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  _14 = LocChState_28->StateValue;
  if (_14 == 3)
    goto <bb 5>; [20.24%]
  else
    goto <bb 6>; [79.76%]

  <bb 5> [local count: 145607981]:
  # DEBUG BEGIN_STMT
  HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd (LocLogicChId_20, LocScatterGather_22);
  goto <bb 8>; [100.00%]

  <bb 6> [local count: 573799041]:
  # DEBUG BEGIN_STMT
  _15 = _14 + 4294967295;
  if (_15 <= 1)
    goto <bb 7>; [38.86%]
  else
    goto <bb 8>; [61.14%]

  <bb 7> [local count: 222978307]:
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_23, LocHwInst_24, LocHwCh_25, 3);
  # DEBUG BEGIN_STMT
  HwAccDmaCh_LoadSoftwareTcdIntoHardwareTcd (LocLogicChId_20, LocScatterGather_22);

  <bb 8> [local count: 1073741824]:
  # LocStatus_16 = PHI <1(3), 0(5), 0(7), 2(6)>
  # DEBUG LocStatus => LocStatus_16
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_11 ();
  # DEBUG BEGIN_STMT
  return LocStatus_16;

}


Dma_Ip_GetLogicChannelParam (const uint32 LogicCh, const Dma_Ip_LogicChannelInfoParamType Param, uint32 * const Value)
{
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.35_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;
  unsigned char _7;
  unsigned char _8;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.35_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.35_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_10(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#11 => &_5->LogicChId
  # DEBUG LocLogicChId => D#11
  # DEBUG BEGIN_STMT
  _6 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_11 = (uint32) _6;
  # DEBUG LocHwVers => LocHwVers_11
  # DEBUG BEGIN_STMT
  _7 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  LocHwInst_12 = (uint32) _7;
  # DEBUG LocHwInst => LocHwInst_12
  # DEBUG BEGIN_STMT
  _8 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  LocHwCh_13 = (uint32) _8;
  # DEBUG LocHwCh => LocHwCh_13
  # DEBUG BEGIN_STMT
  HwAccDmaCh_GetParam (Param_14(D), LocHwVers_11, LocHwInst_12, LocHwCh_13, Value_15(D));
  # DEBUG BEGIN_STMT
  return 0;

}


Static_Dma_Ip_SetLogicChannelScatterGatherList (const uint32 LogicCh, struct Dma_Ip_SwTcdRegType * pxSwTcd, const struct Dma_Ip_LogicChannelScatterGatherListType * List, const uint32 ListDimension)
{
  uint32 LocHwVers;
  uint32 LocParamIdx;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.34_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;
  long unsigned int _7;
  const struct Dma_Ip_LogicChannelScatterGatherListType * _8;
  <unnamed type> _9;
  long unsigned int _10;

  <bb 2> [local count: 118111600]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.34_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.34_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_14(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#3 => &_5->LogicChId
  # DEBUG LocLogicChId => D#3
  # DEBUG BEGIN_STMT
  _6 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_15 = (uint32) _6;
  # DEBUG LocHwVers => LocHwVers_15
  # DEBUG BEGIN_STMT
  # DEBUG LocParamIdx => 0
  goto <bb 4>; [100.00%]

  <bb 3> [local count: 955630223]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _7 = LocParamIdx_11 * 8;
  _8 = List_17(D) + _7;
  _9 = _8->Param;
  _10 = _8->Value;
  HwAccDmaCh_SetTransferParam (_9, LocHwVers_15, pxSwTcd_18(D), _10);
  # DEBUG BEGIN_STMT
  LocParamIdx_20 = LocParamIdx_11 + 1;
  # DEBUG LocParamIdx => LocParamIdx_20

  <bb 4> [local count: 1073741824]:
  # LocParamIdx_11 = PHI <0(2), LocParamIdx_20(3)>
  # DEBUG LocParamIdx => LocParamIdx_11
  # DEBUG BEGIN_STMT
  if (LocParamIdx_11 < ListDimension_16(D))
    goto <bb 3>; [89.00%]
  else
    goto <bb 5>; [11.00%]

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

}


Dma_Ip_SetLogicChannelScatterGatherList (const uint32 LogicCh, const uint32 Element, const struct Dma_Ip_LogicChannelScatterGatherListType * List, const uint32 ListDimension)
{
  struct Dma_Ip_SwTcdRegType * pxSwTcd;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  Dma_Ip_ReturnType LocStatus;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.32_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;
  unsigned char _7;
  unsigned char _8;
  uint32 * _9;
  long unsigned int _10;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.33_11;
  const struct Dma_Ip_LogicChannelConfigType * const * _12;
  const struct Dma_Ip_LogicChannelConfigType * const * _13;
  const struct Dma_Ip_LogicChannelConfigType * _14;
  struct Dma_Ip_ScatterGatherConfigType * * _15;
  long unsigned int _16;
  struct Dma_Ip_ScatterGatherConfigType * * _17;
  struct Dma_Ip_ScatterGatherConfigType * _18;
  <unnamed type> _19;
  unsigned int _20;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.32_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.32_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_24(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#10 => &_5->LogicChId
  # DEBUG LocLogicChId => D#10
  # DEBUG BEGIN_STMT
  _6 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_25 = (uint32) _6;
  # DEBUG LocHwVers => LocHwVers_25
  # DEBUG BEGIN_STMT
  _7 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  LocHwInst_26 = (uint32) _7;
  # DEBUG LocHwInst => LocHwInst_26
  # DEBUG BEGIN_STMT
  _8 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  LocHwCh_27 = (uint32) _8;
  # DEBUG LocHwCh => LocHwCh_27
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_09 ();
  # DEBUG BEGIN_STMT
  LocChState_30 = Dma_Ip_GetHwChannelStatePointer (LocHwVers_25, LocHwInst_26, LocHwCh_27);
  # DEBUG LocChState => LocChState_30
  # DEBUG BEGIN_STMT
  _9 = &LocChState_30->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers_25, LocHwInst_26, LocHwCh_27, _9);
  # DEBUG BEGIN_STMT
  _10 = LocChState_30->LogicChErrors;
  if (_10 != 0)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_25, LocHwInst_26, LocHwCh_27, 4);
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 1
  goto <bb 8>; [100.00%]

  <bb 4> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.33_11 = Dma_Ip_pxInit;
  _12 = Dma_Ip_pxInit.33_11->ppxLogicChannelConfigArray;
  _13 = _12 + _3;
  _14 = *_13;
  _15 = _14->ppxScatterGatherConfigArray;
  _16 = Element_32(D) * 4;
  _17 = _15 + _16;
  _18 = *_17;
  pxSwTcd_33 = _18->Stcd;
  # DEBUG pxSwTcd => pxSwTcd_33
  # DEBUG BEGIN_STMT
  _19 = LocChState_30->StateValue;
  if (_19 == 3)
    goto <bb 5>; [20.24%]
  else
    goto <bb 6>; [79.76%]

  <bb 5> [local count: 145607981]:
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelScatterGatherList (LogicCh_24(D), pxSwTcd_33, List_35(D), ListDimension_36(D));
  goto <bb 8>; [100.00%]

  <bb 6> [local count: 573799041]:
  # DEBUG BEGIN_STMT
  _20 = _19 + 4294967295;
  if (_20 <= 1)
    goto <bb 7>; [38.86%]
  else
    goto <bb 8>; [61.14%]

  <bb 7> [local count: 222978307]:
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_25, LocHwInst_26, LocHwCh_27, 3);
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelScatterGatherList (LogicCh_24(D), pxSwTcd_33, List_35(D), ListDimension_36(D));

  <bb 8> [local count: 1073741824]:
  # LocStatus_21 = PHI <1(3), 0(5), 0(7), 2(6)>
  # DEBUG LocStatus => LocStatus_21
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_09 ();
  # DEBUG BEGIN_STMT
  return LocStatus_21;

}


Static_Dma_Ip_SetLogicChannelTransferList (const uint32 LogicCh, struct Dma_Ip_TcdRegType * pxTcd, const struct Dma_Ip_LogicChannelTransferListType * List, const uint32 ListDimension)
{
  uint32 LocHwVers;
  uint32 LocParamIdx;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.23_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;
  long unsigned int _7;
  const struct Dma_Ip_LogicChannelTransferListType * _8;
  <unnamed type> _9;
  long unsigned int _10;

  <bb 2> [local count: 118111600]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.23_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.23_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_14(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#1 => &_5->LogicChId
  # DEBUG LocLogicChId => D#1
  # DEBUG BEGIN_STMT
  _6 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_15 = (uint32) _6;
  # DEBUG LocHwVers => LocHwVers_15
  # DEBUG BEGIN_STMT
  # DEBUG LocParamIdx => 0
  goto <bb 4>; [100.00%]

  <bb 3> [local count: 955630223]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _7 = LocParamIdx_11 * 8;
  _8 = List_17(D) + _7;
  _9 = _8->Param;
  _10 = _8->Value;
  HwAccDmaCh_SetTransferParam (_9, LocHwVers_15, pxTcd_18(D), _10);
  # DEBUG BEGIN_STMT
  LocParamIdx_20 = LocParamIdx_11 + 1;
  # DEBUG LocParamIdx => LocParamIdx_20

  <bb 4> [local count: 1073741824]:
  # LocParamIdx_11 = PHI <0(2), LocParamIdx_20(3)>
  # DEBUG LocParamIdx => LocParamIdx_11
  # DEBUG BEGIN_STMT
  if (LocParamIdx_11 < ListDimension_16(D))
    goto <bb 3>; [89.00%]
  else
    goto <bb 5>; [11.00%]

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

}


Dma_Ip_SetLogicChannelTransferList (const uint32 LogicCh, const struct Dma_Ip_LogicChannelTransferListType * List, const uint32 ListDimension)
{
  struct Dma_Ip_TcdRegType * pxTcd;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  Dma_Ip_ReturnType LocStatus;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.31_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;
  unsigned char _7;
  unsigned char _8;
  uint32 * _9;
  long unsigned int _10;
  <unnamed type> _11;
  <unnamed type> _12;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG pxTcd => 0B
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.31_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.31_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_17(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#9 => &_5->LogicChId
  # DEBUG LocLogicChId => D#9
  # DEBUG BEGIN_STMT
  _6 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_18 = (uint32) _6;
  # DEBUG LocHwVers => LocHwVers_18
  # DEBUG BEGIN_STMT
  _7 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  LocHwInst_19 = (uint32) _7;
  # DEBUG LocHwInst => LocHwInst_19
  # DEBUG BEGIN_STMT
  _8 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  LocHwCh_20 = (uint32) _8;
  # DEBUG LocHwCh => LocHwCh_20
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_08 ();
  # DEBUG BEGIN_STMT
  LocChState_23 = Dma_Ip_GetHwChannelStatePointer (LocHwVers_18, LocHwInst_19, LocHwCh_20);
  # DEBUG LocChState => LocChState_23
  # DEBUG BEGIN_STMT
  _9 = &LocChState_23->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers_18, LocHwInst_19, LocHwCh_20, _9);
  # DEBUG BEGIN_STMT
  _10 = LocChState_23->LogicChErrors;
  if (_10 != 0)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_18, LocHwInst_19, LocHwCh_20, 4);
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 1
  goto <bb 12>; [100.00%]

  <bb 4> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  if (LocHwVers_18 == 2)
    goto <bb 5>; [34.00%]
  else
    goto <bb 6>; [66.00%]

  <bb 5> [local count: 244598388]:
  # DEBUG BEGIN_STMT
  pxTcd_25 = &MEM[(struct Dma_Ip_Hwv2TcdArrayType *)1073778688B].TCD_RSV[LocHwCh_20].tChTcdReg.tTcdReg;
  # DEBUG pxTcd => pxTcd_25

  <bb 6> [local count: 719407023]:
  # pxTcd_14 = PHI <0B(4), pxTcd_25(5)>
  # DEBUG pxTcd => pxTcd_14
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetCommand (3, LocHwVers_18, LocHwInst_19, LocHwCh_20);
  # DEBUG BEGIN_STMT
  _11 = LocChState_23->StateValue;
  if (_11 == 2)
    goto <bb 7>; [34.00%]
  else
    goto <bb 8>; [66.00%]

  <bb 7> [local count: 244598388]:
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelTransferList (LogicCh_17(D), pxTcd_14, List_30(D), ListDimension_31(D));
  goto <bb 12>; [100.00%]

  <bb 8> [local count: 474808635]:
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_EnScatterGatherProcessing (LocHwVers_18, pxTcd_14, 0);
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_ScatterGatherAddress (LocHwVers_18, pxTcd_14, 0);
  # DEBUG BEGIN_STMT
  _12 = LocChState_23->StateValue;
  if (_12 == 3)
    goto <bb 9>; [20.24%]
  else
    goto <bb 10>; [79.76%]

  <bb 9> [local count: 96101268]:
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_18, LocHwInst_19, LocHwCh_20, 2);
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelTransferList (LogicCh_17(D), pxTcd_14, List_30(D), ListDimension_31(D));
  goto <bb 12>; [100.00%]

  <bb 10> [local count: 378707367]:
  # DEBUG BEGIN_STMT
  if (_12 == 1)
    goto <bb 11>; [32.03%]
  else
    goto <bb 12>; [67.97%]

  <bb 11> [local count: 121299969]:
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_18, LocHwInst_19, LocHwCh_20, 2);
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelTransferList (LogicCh_17(D), pxTcd_14, List_30(D), ListDimension_31(D));

  <bb 12> [local count: 1073741824]:
  # LocStatus_13 = PHI <1(3), 0(7), 0(9), 0(11), 2(10)>
  # DEBUG LocStatus => LocStatus_13
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_08 ();
  # DEBUG BEGIN_STMT
  return LocStatus_13;

}


Static_Dma_Ip_SetLogicChannelGlobalList (const uint32 LocHwVers, const uint32 LocHwInst, const uint32 LocHwCh, const struct Dma_Ip_LogicChannelGlobalListType * List, const uint32 ListDimension)
{
  uint32 LocParamIdx;
  long unsigned int _1;
  const struct Dma_Ip_LogicChannelGlobalListType * _2;
  <unnamed type> _3;
  long unsigned int _4;

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

  <bb 3> [local count: 955630223]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = LocParamIdx_5 * 8;
  _2 = List_9(D) + _1;
  _3 = _2->Param;
  _4 = _2->Value;
  HwAccDmaCh_SetGlobalParam (_3, LocHwVers_10(D), LocHwInst_11(D), LocHwCh_12(D), _4);
  # DEBUG BEGIN_STMT
  LocParamIdx_14 = LocParamIdx_5 + 1;
  # DEBUG LocParamIdx => LocParamIdx_14

  <bb 4> [local count: 1073741824]:
  # LocParamIdx_5 = PHI <0(2), LocParamIdx_14(3)>
  # DEBUG LocParamIdx => LocParamIdx_5
  # DEBUG BEGIN_STMT
  if (LocParamIdx_5 < ListDimension_8(D))
    goto <bb 3>; [89.00%]
  else
    goto <bb 5>; [11.00%]

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

}


Dma_Ip_SetLogicChannelGlobalList (const uint32 LogicCh, const struct Dma_Ip_LogicChannelGlobalListType * List, const uint32 ListDimension)
{
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  Dma_Ip_ReturnType LocStatus;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.30_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;
  unsigned char _7;
  unsigned char _8;
  uint32 * _9;
  long unsigned int _10;
  <unnamed type> _11;
  unsigned int _12;

  <bb 2> [local count: 1073741823]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.30_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.30_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_16(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#8 => &_5->LogicChId
  # DEBUG LocLogicChId => D#8
  # DEBUG BEGIN_STMT
  _6 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_17 = (uint32) _6;
  # DEBUG LocHwVers => LocHwVers_17
  # DEBUG BEGIN_STMT
  _7 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  LocHwInst_18 = (uint32) _7;
  # DEBUG LocHwInst => LocHwInst_18
  # DEBUG BEGIN_STMT
  _8 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  LocHwCh_19 = (uint32) _8;
  # DEBUG LocHwCh => LocHwCh_19
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_07 ();
  # DEBUG BEGIN_STMT
  LocChState_22 = Dma_Ip_GetHwChannelStatePointer (LocHwVers_17, LocHwInst_18, LocHwCh_19);
  # DEBUG LocChState => LocChState_22
  # DEBUG BEGIN_STMT
  _9 = &LocChState_22->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (LocHwVers_17, LocHwInst_18, LocHwCh_19, _9);
  # DEBUG BEGIN_STMT
  _10 = LocChState_22->LogicChErrors;
  if (_10 != 0)
    goto <bb 3>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 3> [local count: 354334802]:
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_17, LocHwInst_18, LocHwCh_19, 4);
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 1
  goto <bb 6>; [100.00%]

  <bb 4> [local count: 719407022]:
  # DEBUG BEGIN_STMT
  _11 = LocChState_22->StateValue;
  _12 = _11 + 4294967295;
  if (_12 <= 2)
    goto <bb 5>; [47.77%]
  else
    goto <bb 6>; [52.23%]

  <bb 5> [local count: 343660734]:
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelGlobalList (LocHwVers_17, LocHwInst_18, LocHwCh_19, List_24(D), ListDimension_25(D));

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

}


Dma_Ip_GetLogicChannelStatus (const uint32 LogicCh, struct Dma_Ip_LogicChannelStatusType * const ChStatus)
{
  uint8 LocHwCh;
  uint8 LocHwInst;
  uint8 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.29_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  long unsigned int _6;
  long unsigned int _7;
  long unsigned int _8;
  uint32 * _9;
  long unsigned int _10;
  <unnamed type> _11;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.29_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.29_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_13(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#7 => &_5->LogicChId
  # DEBUG LocLogicChId => D#7
  # DEBUG BEGIN_STMT
  LocHwVers_14 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  # DEBUG LocHwVers => LocHwVers_14
  # DEBUG BEGIN_STMT
  LocHwInst_15 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  # DEBUG LocHwInst => LocHwInst_15
  # DEBUG BEGIN_STMT
  LocHwCh_16 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  # DEBUG LocHwCh => LocHwCh_16
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_06 ();
  # DEBUG BEGIN_STMT
  _6 = (long unsigned int) LocHwVers_14;
  _7 = (long unsigned int) LocHwInst_15;
  _8 = (long unsigned int) LocHwCh_16;
  LocChState_19 = Dma_Ip_GetHwChannelStatePointer (_6, _7, _8);
  # DEBUG LocChState => LocChState_19
  # DEBUG BEGIN_STMT
  _9 = &LocChState_19->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (_6, _7, _8, _9);
  # DEBUG BEGIN_STMT
  _10 = LocChState_19->LogicChErrors;
  ChStatus_21(D)->Errors = _10;
  # DEBUG BEGIN_STMT
  HwAccDmaCh_GetStatus (_6, _7, _8, ChStatus_21(D));
  # DEBUG BEGIN_STMT
  _11 = Dma_Ip_GetHwChannelState (_6, _7, _8);
  ChStatus_21(D)->ChStateValue = _11;
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_06 ();
  # DEBUG BEGIN_STMT
  return 0;

}


Dma_Ip_SetLogicChannelCommand (const uint32 LogicCh, const Dma_Ip_LogicChannelCmdType Command)
{
  uint8 LocHwCh;
  uint8 LocHwInst;
  uint8 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  Dma_Ip_ReturnType LocStatus;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.28_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  long unsigned int _6;
  long unsigned int _7;
  long unsigned int _8;
  uint32 * _9;
  long unsigned int _10;
  <unnamed type> _11;
  unsigned int _12;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.28_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.28_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_16(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#6 => &_5->LogicChId
  # DEBUG LocLogicChId => D#6
  # DEBUG BEGIN_STMT
  LocHwVers_17 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  # DEBUG LocHwVers => LocHwVers_17
  # DEBUG BEGIN_STMT
  LocHwInst_18 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  # DEBUG LocHwInst => LocHwInst_18
  # DEBUG BEGIN_STMT
  LocHwCh_19 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  # DEBUG LocHwCh => LocHwCh_19
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_05 ();
  # DEBUG BEGIN_STMT
  _6 = (long unsigned int) LocHwVers_17;
  _7 = (long unsigned int) LocHwInst_18;
  _8 = (long unsigned int) LocHwCh_19;
  LocChState_22 = Dma_Ip_GetHwChannelStatePointer (_6, _7, _8);
  # DEBUG LocChState => LocChState_22
  # DEBUG BEGIN_STMT
  if (Command_23(D) == 4)
    goto <bb 3>; [34.00%]
  else
    goto <bb 4>; [66.00%]

  <bb 3> [local count: 365072220]:
  # DEBUG BEGIN_STMT
  LocChState_22->LogicChErrors = 0;
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (_6, _7, _8, 1);
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetCommand (4, _6, _7, _8);
  goto <bb 8>; [100.00%]

  <bb 4> [local count: 708669605]:
  # DEBUG BEGIN_STMT
  _9 = &LocChState_22->LogicChErrors;
  Static_Dma_Ip_GetLogicChannelError (_6, _7, _8, _9);
  # DEBUG BEGIN_STMT
  _10 = LocChState_22->LogicChErrors;
  if (_10 != 0)
    goto <bb 5>; [33.00%]
  else
    goto <bb 6>; [67.00%]

  <bb 5> [local count: 233860969]:
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (_6, _7, _8, 4);
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 1
  goto <bb 8>; [100.00%]

  <bb 6> [local count: 474808635]:
  # DEBUG BEGIN_STMT
  _11 = LocChState_22->StateValue;
  _12 = _11 + 4294967294;
  if (_12 <= 1)
    goto <bb 7>; [38.86%]
  else
    goto <bb 8>; [61.14%]

  <bb 7> [local count: 184510635]:
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetCommand (Command_23(D), _6, _7, _8);

  <bb 8> [local count: 1073741824]:
  # LocStatus_13 = PHI <0(3), 1(5), 0(7), 2(6)>
  # DEBUG LocStatus => LocStatus_13
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_05 ();
  # DEBUG BEGIN_STMT
  return LocStatus_13;

}


Dma_Ip_LogicChannelDeinit (const uint32 LogicCh)
{
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_HwChannelStateType * LocChState;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.25_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;
  unsigned char _7;
  unsigned char _8;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.26_9;
  const struct Dma_Ip_LogicChannelConfigType * _10;
  const struct Dma_Ip_GlobalConfigType * _11;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.27_12;
  const struct Dma_Ip_LogicChannelConfigType * _13;
  const struct Dma_Ip_TransferConfigType * _14;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.25_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.25_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_16(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#5 => &_5->LogicChId
  # DEBUG LocLogicChId => D#5
  # DEBUG BEGIN_STMT
  _6 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_17 = (uint32) _6;
  # DEBUG LocHwVers => LocHwVers_17
  # DEBUG BEGIN_STMT
  _7 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  LocHwInst_18 = (uint32) _7;
  # DEBUG LocHwInst => LocHwInst_18
  # DEBUG BEGIN_STMT
  _8 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  LocHwCh_19 = (uint32) _8;
  # DEBUG LocHwCh => LocHwCh_19
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_04 ();
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_17, LocHwInst_18, LocHwCh_19, 0);
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.26_9 = Dma_Ip_pxInit;
  _10 = Dma_Ip_pxInit.26_9->pxLogicChannelResetConfig;
  _11 = _10->pxGlobalConfig;
  Static_Dma_Ip_SetLogicChannelGlobalConfig (LogicCh_16(D), _11, 1);
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.27_12 = Dma_Ip_pxInit;
  _13 = Dma_Ip_pxInit.27_12->pxLogicChannelResetConfig;
  _14 = _13->pxTransferConfig;
  Static_Dma_Ip_SetLogicChannelTransferConfig (LogicCh_16(D), _14);
  # DEBUG BEGIN_STMT
  LocChState_25 = Dma_Ip_GetHwChannelStatePointer (LocHwVers_17, LocHwInst_18, LocHwCh_19);
  # DEBUG LocChState => LocChState_25
  # DEBUG BEGIN_STMT
  LocChState_25->LogicChErrors = 0;
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetCommand (4, LocHwVers_17, LocHwInst_18, LocHwCh_19);
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_04 ();
  # DEBUG BEGIN_STMT
  return 0;

}


Dma_Ip_LogicChannelInit (const uint32 LogicCh)
{
  struct Dma_Ip_TcdRegType * pxTcd;
  struct Dma_Ip_HwChannelStateType * LocChState;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  const struct Dma_Ip_LogicChannelIdType * LocLogicChId;
  Dma_Ip_ReturnType LocStatus;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.11_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;
  unsigned char _7;
  unsigned char _8;
  <unnamed type> _9;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.12_11;
  const struct Dma_Ip_LogicChannelConfigType * const * _12;
  const struct Dma_Ip_LogicChannelConfigType * const * _13;
  const struct Dma_Ip_LogicChannelConfigType * _14;
  const struct Dma_Ip_TransferConfigType * _15;
  long unsigned int _16;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.13_17;
  const struct Dma_Ip_LogicChannelConfigType * const * _18;
  const struct Dma_Ip_LogicChannelConfigType * const * _19;
  const struct Dma_Ip_LogicChannelConfigType * _20;
  const struct Dma_Ip_TransferConfigType * _21;
  struct Dma_Ip_ScatterGatherConfigType * * _22;
  long unsigned int _23;
  long unsigned int _24;
  const struct Dma_Ip_LogicChannelConfigType * _25;
  const struct Dma_Ip_TransferConfigType * _26;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.16_27;
  const struct Dma_Ip_LogicChannelConfigType * const * _28;
  const struct Dma_Ip_LogicChannelConfigType * const * _29;
  const struct Dma_Ip_LogicChannelConfigType * _30;
  const struct Dma_Ip_GlobalConfigType * _31;
  long unsigned int _32;
  long unsigned int _33;
  const struct Dma_Ip_LogicChannelConfigType * _34;
  const struct Dma_Ip_GlobalConfigType * _35;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG pxTcd => 0B
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.11_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.11_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_43(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  LocLogicChId_44 = &_5->LogicChId;
  # DEBUG LocLogicChId => LocLogicChId_44
  # DEBUG BEGIN_STMT
  _6 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_45 = (uint32) _6;
  # DEBUG LocHwVers => LocHwVers_45
  # DEBUG BEGIN_STMT
  _7 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  LocHwInst_46 = (uint32) _7;
  # DEBUG LocHwInst => LocHwInst_46
  # DEBUG BEGIN_STMT
  _8 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  LocHwCh_47 = (uint32) _8;
  # DEBUG LocHwCh => LocHwCh_47
  # DEBUG BEGIN_STMT
  LocChState_49 = Dma_Ip_GetHwChannelStatePointer (LocHwVers_45, LocHwInst_46, LocHwCh_47);
  # DEBUG LocChState => LocChState_49
  # DEBUG BEGIN_STMT
  _9 = LocChState_49->StateValue;
  if (_9 != 0)
    goto <bb 16>; [33.00%]
  else
    goto <bb 4>; [67.00%]

  <bb 4> [local count: 719407023]:
  # DEBUG BEGIN_STMT
  if (LocHwVers_45 == 2)
    goto <bb 5>; [34.00%]
  else
    goto <bb 6>; [66.00%]

  <bb 5> [local count: 244598388]:
  # DEBUG BEGIN_STMT
  pxTcd_50 = &MEM[(struct Dma_Ip_Hwv2TcdArrayType *)1073778688B].TCD_RSV[LocHwCh_47].tChTcdReg.tTcdReg;
  # DEBUG pxTcd => pxTcd_50

  <bb 6> [local count: 719407023]:
  # pxTcd_38 = PHI <0B(4), pxTcd_50(5)>
  # DEBUG pxTcd => pxTcd_38
  # DEBUG BEGIN_STMT
  LocChState_49->LogicChId = LocLogicChId_44;
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_45, LocHwInst_46, LocHwCh_47, 1);
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.12_11 = Dma_Ip_pxInit;
  _12 = Dma_Ip_pxInit.12_11->ppxLogicChannelConfigArray;
  _13 = _12 + _3;
  _14 = *_13;
  _15 = _14->pxTransferConfig;
  if (_15 != 0B)
    goto <bb 7>; [53.47%]
  else
    goto <bb 8>; [46.53%]

  <bb 7> [local count: 384666935]:
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_EnScatterGatherProcessing (LocHwVers_45, pxTcd_38, 0);
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_ScatterGatherAddress (LocHwVers_45, pxTcd_38, 0);
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_45, LocHwInst_46, LocHwCh_47, 2);
  # DEBUG BEGIN_STMT
  _16 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].LogicChId;
  Dma_Ip_pxInit.13_17 = Dma_Ip_pxInit;
  _18 = Dma_Ip_pxInit.13_17->ppxLogicChannelConfigArray;
  _19 = _18 + _3;
  _20 = *_19;
  _21 = _20->pxTransferConfig;
  LocStatus_64 = Static_Dma_Ip_SetLogicChannelTransferConfig (_16, _21);
  # DEBUG LocStatus => LocStatus_64
  goto <bb 11>; [100.00%]

  <bb 8> [local count: 334740087]:
  # DEBUG BEGIN_STMT
  _22 = _14->ppxScatterGatherConfigArray;
  if (_22 != 0B)
    goto <bb 9>; [70.00%]
  else
    goto <bb 10>; [30.00%]

  <bb 9> [local count: 234318061]:
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_EnScatterGatherProcessing (LocHwVers_45, pxTcd_38, 0);
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetControl_ScatterGatherAddress (LocHwVers_45, pxTcd_38, 0);
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_45, LocHwInst_46, LocHwCh_47, 3);
  # DEBUG BEGIN_STMT
  _23 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].LogicChId;
  LocStatus_59 = Static_Dma_Ip_SetLogicChannelScatterGatherInit (_23, 0);
  # DEBUG LocStatus => LocStatus_59
  goto <bb 11>; [100.00%]

  <bb 10> [local count: 100422026]:
  # DEBUG BEGIN_STMT
  _24 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].LogicChId;
  _25 = Dma_Ip_pxInit.12_11->pxLogicChannelResetConfig;
  _26 = _25->pxTransferConfig;
  LocStatus_54 = Static_Dma_Ip_SetLogicChannelTransferConfig (_24, _26);
  # DEBUG LocStatus => LocStatus_54

  <bb 11> [local count: 719407023]:
  # LocStatus_36 = PHI <LocStatus_64(7), LocStatus_59(9), LocStatus_54(10)>
  # DEBUG LocStatus => LocStatus_36
  # DEBUG BEGIN_STMT
  if (LocStatus_36 == 0)
    goto <bb 12>; [50.00%]
  else
    goto <bb 15>; [50.00%]

  <bb 12> [local count: 359703511]:
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.16_27 = Dma_Ip_pxInit;
  _28 = Dma_Ip_pxInit.16_27->ppxLogicChannelConfigArray;
  _29 = _28 + _3;
  _30 = *_29;
  _31 = _30->pxGlobalConfig;
  if (_31 != 0B)
    goto <bb 13>; [70.00%]
  else
    goto <bb 14>; [30.00%]

  <bb 13> [local count: 251792458]:
  # DEBUG BEGIN_STMT
  _32 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].LogicChId;
  LocStatus_68 = Static_Dma_Ip_SetLogicChannelGlobalConfig (_32, _31, 0);
  # DEBUG LocStatus => LocStatus_68
  goto <bb 15>; [100.00%]

  <bb 14> [local count: 107911053]:
  # DEBUG BEGIN_STMT
  _33 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].LogicChId;
  _34 = Dma_Ip_pxInit.16_27->pxLogicChannelResetConfig;
  _35 = _34->pxGlobalConfig;
  LocStatus_66 = Static_Dma_Ip_SetLogicChannelGlobalConfig (_33, _35, 1);
  # DEBUG LocStatus => LocStatus_66

  <bb 15> [local count: 719407023]:
  # LocStatus_37 = PHI <LocStatus_66(14), LocStatus_36(11), LocStatus_68(13)>
  # DEBUG LocStatus => LocStatus_37
  # DEBUG BEGIN_STMT
  if (LocStatus_37 != 0)
    goto <bb 16>; [50.00%]
  else
    goto <bb 17>; [50.00%]

  <bb 16> [local count: 714038314]:
  # LocStatus_10 = PHI <LocStatus_37(15), 2(2)>
  # DEBUG LocStatus => NULL
  # DEBUG BEGIN_STMT
  Dma_Ip_SetHwChannelState (LocHwVers_45, LocHwInst_46, LocHwCh_47, 4);

  <bb 17> [local count: 1073741824]:
  # LocStatus_69 = PHI <LocStatus_37(15), LocStatus_10(16)>
  # DEBUG BEGIN_STMT
  return LocStatus_69;

}


Dma_Ip_GetLogicInstanceStatus (const uint32 LogicInst, struct Dma_Ip_LogicInstanceStatusType * const Status)
{
  const struct Dma_Ip_LogicInstanceIdType * paxLogicInst;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.10_1;
  const struct Dma_Ip_LogicInstanceConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicInstanceConfigType * const * _4;
  const struct Dma_Ip_LogicInstanceConfigType * _5;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.10_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.10_1->ppxLogicInstConfigArray;
  _3 = LogicInst_7(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  paxLogicInst_8 = &_5->LogicInstId;
  # DEBUG paxLogicInst => paxLogicInst_8
  # DEBUG BEGIN_STMT
  HwAccDmaInst_GetStatus (paxLogicInst_8, Status_9(D));
  # DEBUG BEGIN_STMT
  return 0;

}


Dma_Ip_SetLogicInstanceCommand (const uint32 LogicInst, const Dma_Ip_LogicInstanceCmdType Command)
{
  const struct Dma_Ip_LogicInstanceIdType * paxLogicInst;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.9_1;
  const struct Dma_Ip_LogicInstanceConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicInstanceConfigType * const * _4;
  const struct Dma_Ip_LogicInstanceConfigType * _5;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.9_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.9_1->ppxLogicInstConfigArray;
  _3 = LogicInst_7(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  paxLogicInst_8 = &_5->LogicInstId;
  # DEBUG paxLogicInst => paxLogicInst_8
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_02 ();
  # DEBUG BEGIN_STMT
  HwAccDmaInst_SetCommand (Command_10(D), paxLogicInst_8);
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_02 ();
  # DEBUG BEGIN_STMT
  return 0;

}


Dma_Ip_Deinit ()
{
  uint32 LocCfgIdx;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.7_1;
  const struct Dma_Ip_LogicInstanceConfigType * const * _2;
  const struct Dma_Ip_LogicInstanceConfigType * const * _3;
  const struct Dma_Ip_LogicInstanceConfigType * _4;
  const struct Dma_Ip_LogicInstanceIdType * _5;
  const struct Dma_Ip_LogicInstanceConfigType * _6;

  <bb 2> [local count: 153437706]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_01 ();
  # DEBUG BEGIN_STMT
  # DEBUG LocCfgIdx => 0
  goto <bb 4>; [100.00%]

  <bb 3> [local count: 153437706]:
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.7_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.7_1->ppxLogicInstConfigArray;
  _3 = _2;
  _4 = *_3;
  _5 = &_4->LogicInstId;
  _6 = Dma_Ip_pxInit.7_1->pxLogicInstanceResetConfig;
  HwAccDmaInst_SetConfig (_5, _6);
  # DEBUG BEGIN_STMT
  # DEBUG LocCfgIdx => 1

  <bb 4> [local count: 306875412]:
  # LocCfgIdx_7 = PHI <0(2), 1(3)>
  # DEBUG LocCfgIdx => LocCfgIdx_7
  # DEBUG BEGIN_STMT
  if (LocCfgIdx_7 == 0)
    goto <bb 3>; [50.00%]
  else
    goto <bb 5>; [50.00%]

  <bb 5> [local count: 153437706]:
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_01 ();
  # DEBUG BEGIN_STMT
  # DEBUG LocCfgIdx => 0
  goto <bb 7>; [100.00%]

  <bb 6> [local count: 920304118]:
  # DEBUG BEGIN_STMT
  Dma_Ip_LogicChannelDeinit (LocCfgIdx_8);
  # DEBUG BEGIN_STMT
  LocCfgIdx_15 = LocCfgIdx_8 + 1;
  # DEBUG LocCfgIdx => LocCfgIdx_15

  <bb 7> [local count: 1073741824]:
  # LocCfgIdx_8 = PHI <0(5), LocCfgIdx_15(6)>
  # DEBUG LocCfgIdx => LocCfgIdx_8
  # DEBUG BEGIN_STMT
  if (LocCfgIdx_8 != 6)
    goto <bb 6>; [85.71%]
  else
    goto <bb 8>; [14.29%]

  <bb 8> [local count: 153437707]:
  # DEBUG BEGIN_STMT
  return 0;

}


Dma_Ip_Init (const struct Dma_Ip_InitType * const pxDmaInit)
{
  const struct Dma_Ip_HwChannelStateType * pLocChState;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  uint32 LocCfgIdx;
  Dma_Ip_ReturnType LocStatus;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.1_1;
  const struct Dma_Ip_LogicInstanceConfigType * const * _2;
  const struct Dma_Ip_LogicInstanceConfigType * const * _3;
  const struct Dma_Ip_LogicInstanceConfigType * _4;
  const struct Dma_Ip_LogicInstanceIdType * _5;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.3_6;
  const struct Dma_Ip_LogicChannelConfigType * const * _7;
  long unsigned int _8;
  const struct Dma_Ip_LogicChannelConfigType * const * _9;
  const struct Dma_Ip_LogicChannelConfigType * _10;
  unsigned char _11;
  unsigned char _13;
  unsigned char _14;
  struct Dma_Ip_HwChannelStateType * * _15;
  struct Dma_Ip_HwChannelStateType * * _16;
  struct Dma_Ip_HwChannelStateType * _17;
  <unnamed type> _18;

  <bb 2> [local count: 153437706]:
  # DEBUG BEGIN_STMT
  # DEBUG LocStatus => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit = pxDmaInit_27(D);
  # DEBUG BEGIN_STMT
  SchM_Enter_Mcl_MCL_EXCLUSIVE_AREA_00 ();
  # DEBUG BEGIN_STMT
  # DEBUG LocCfgIdx => 0
  goto <bb 4>; [100.00%]

  <bb 3> [local count: 153437706]:
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.1_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.1_1->ppxLogicInstConfigArray;
  _3 = _2;
  _4 = *_3;
  _5 = &_4->LogicInstId;
  HwAccDmaInst_SetConfig (_5, _4);
  # DEBUG BEGIN_STMT
  # DEBUG LocCfgIdx => 1

  <bb 4> [local count: 306875412]:
  # LocCfgIdx_21 = PHI <0(2), 1(3)>
  # DEBUG LocCfgIdx => LocCfgIdx_21
  # DEBUG BEGIN_STMT
  if (LocCfgIdx_21 == 0)
    goto <bb 3>; [50.00%]
  else
    goto <bb 5>; [50.00%]

  <bb 5> [local count: 153437706]:
  # DEBUG BEGIN_STMT
  SchM_Exit_Mcl_MCL_EXCLUSIVE_AREA_00 ();
  # DEBUG BEGIN_STMT
  # DEBUG LocCfgIdx => 0
  goto <bb 9>; [100.00%]

  <bb 6> [local count: 920304118]:
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.3_6 = Dma_Ip_pxInit;
  _7 = Dma_Ip_pxInit.3_6->ppxLogicChannelConfigArray;
  _8 = LocCfgIdx_22 * 4;
  _9 = _7 + _8;
  _10 = *_9;
  _11 = _10->LogicChId.HwVersId;
  LocHwVers_31 = (uint32) _11;
  # DEBUG LocHwVers => LocHwVers_31
  # DEBUG BEGIN_STMT
  _13 = _10->LogicChId.HwInstId;
  LocHwInst_32 = (uint32) _13;
  # DEBUG LocHwInst => LocHwInst_32
  # DEBUG BEGIN_STMT
  _14 = _10->LogicChId.HwChId;
  LocHwCh_33 = (uint32) _14;
  # DEBUG LocHwCh => LocHwCh_33
  # DEBUG BEGIN_STMT
  _15 = Dma_Ip_pxInit.3_6->ppxChStateArray;
  _16 = _15 + _8;
  _17 = *_16;
  Dma_Ip_SetHwChannelStatePointer (LocHwVers_31, LocHwInst_32, LocHwCh_33, _17);
  # DEBUG BEGIN_STMT
  pLocChState_36 = Dma_Ip_GetHwChannelStatePointer (LocHwVers_31, LocHwInst_32, LocHwCh_33);
  # DEBUG pLocChState => pLocChState_36
  # DEBUG BEGIN_STMT
  _18 = pLocChState_36->StateValue;
  if (_18 != 0)
    goto <bb 8>; [67.00%]
  else
    goto <bb 7>; [33.00%]

  <bb 7> [local count: 303700359]:
  # DEBUG BEGIN_STMT
  LocStatus_38 = Dma_Ip_LogicChannelInit (LocCfgIdx_22);
  # DEBUG LocStatus => LocStatus_38

  <bb 8> [local count: 920304116]:
  # LocStatus_19 = PHI <2(6), LocStatus_38(7)>
  # DEBUG LocStatus => LocStatus_19
  # DEBUG BEGIN_STMT
  LocCfgIdx_39 = LocCfgIdx_22 + 1;
  # DEBUG LocCfgIdx => LocCfgIdx_39

  <bb 9> [local count: 1073741824]:
  # LocStatus_20 = PHI <0(5), LocStatus_19(8)>
  # LocCfgIdx_22 = PHI <0(5), LocCfgIdx_39(8)>
  # DEBUG LocCfgIdx => LocCfgIdx_22
  # DEBUG LocStatus => LocStatus_20
  # DEBUG BEGIN_STMT
  if (LocCfgIdx_22 != 6)
    goto <bb 6>; [85.71%]
  else
    goto <bb 10>; [14.29%]

  <bb 10> [local count: 153437707]:
  # LocStatus_12 = PHI <LocStatus_20(9)>
  # DEBUG BEGIN_STMT
  return LocStatus_12;

}


Static_Dma_Ip_SetLogicChannelTransferConfig (const uint32 LogicCh, const struct Dma_Ip_TransferConfigType * const TransferConfig)
{
  struct Dma_Ip_TcdRegType * pxTcd;
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_LogicChannelTransferListType LocList[25];
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.22_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;
  unsigned char _7;
  unsigned char _8;
  long unsigned int _9;
  short int _10;
  long unsigned int _11;
  long int _12;
  long unsigned int _13;
  unsigned char _14;
  long unsigned int _15;
  unsigned char _16;
  long unsigned int _17;
  long unsigned int _18;
  short int _19;
  long unsigned int _20;
  long int _21;
  long unsigned int _22;
  unsigned char _23;
  long unsigned int _24;
  unsigned char _25;
  long unsigned int _26;
  _Bool _27;
  long unsigned int _28;
  _Bool _29;
  long unsigned int _30;
  long int _31;
  long unsigned int _32;
  _Bool _33;
  long unsigned int _34;
  unsigned char _35;
  long unsigned int _36;
  long unsigned int _37;
  _Bool _38;
  long unsigned int _39;
  unsigned char _40;
  long unsigned int _41;
  long unsigned int _42;
  _Bool _43;
  long unsigned int _44;
  _Bool _45;
  long unsigned int _46;
  _Bool _47;
  long unsigned int _48;
  unsigned char _49;
  long unsigned int _50;
  _Bool _51;
  long unsigned int _52;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG pxTcd => 0B
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.22_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.22_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_55(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#2 => &_5->LogicChId
  # DEBUG LocLogicChId => D#2
  # DEBUG BEGIN_STMT
  _6 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_56 = (uint32) _6;
  # DEBUG LocHwVers => LocHwVers_56
  # DEBUG BEGIN_STMT
  _7 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  LocHwInst_57 = (uint32) _7;
  # DEBUG LocHwInst => LocHwInst_57
  # DEBUG BEGIN_STMT
  _8 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  LocHwCh_58 = (uint32) _8;
  # DEBUG LocHwCh => LocHwCh_58
  # DEBUG BEGIN_STMT
  LocList[0].Param = 0;
  # DEBUG BEGIN_STMT
  _9 = TransferConfig_60(D)->Source.Addr;
  LocList[0].Value = _9;
  # DEBUG BEGIN_STMT
  LocList[1].Param = 1;
  # DEBUG BEGIN_STMT
  _10 = TransferConfig_60(D)->Source.SignedOffset;
  _11 = (long unsigned int) _10;
  LocList[1].Value = _11;
  # DEBUG BEGIN_STMT
  LocList[2].Param = 2;
  # DEBUG BEGIN_STMT
  _12 = TransferConfig_60(D)->Source.LastAddrAdj;
  _13 = (long unsigned int) _12;
  LocList[2].Value = _13;
  # DEBUG BEGIN_STMT
  LocList[3].Param = 3;
  # DEBUG BEGIN_STMT
  _14 = TransferConfig_60(D)->Source.TransferSize;
  _15 = (long unsigned int) _14;
  LocList[3].Value = _15;
  # DEBUG BEGIN_STMT
  LocList[4].Param = 4;
  # DEBUG BEGIN_STMT
  _16 = TransferConfig_60(D)->Source.Modulo;
  _17 = (long unsigned int) _16;
  LocList[4].Value = _17;
  # DEBUG BEGIN_STMT
  LocList[5].Param = 5;
  # DEBUG BEGIN_STMT
  _18 = TransferConfig_60(D)->Destination.Addr;
  LocList[5].Value = _18;
  # DEBUG BEGIN_STMT
  LocList[6].Param = 6;
  # DEBUG BEGIN_STMT
  _19 = TransferConfig_60(D)->Destination.SignedOffset;
  _20 = (long unsigned int) _19;
  LocList[6].Value = _20;
  # DEBUG BEGIN_STMT
  LocList[7].Param = 7;
  # DEBUG BEGIN_STMT
  _21 = TransferConfig_60(D)->Destination.LastAddrAdj;
  _22 = (long unsigned int) _21;
  LocList[7].Value = _22;
  # DEBUG BEGIN_STMT
  LocList[8].Param = 8;
  # DEBUG BEGIN_STMT
  _23 = TransferConfig_60(D)->Destination.TransferSize;
  _24 = (long unsigned int) _23;
  LocList[8].Value = _24;
  # DEBUG BEGIN_STMT
  LocList[9].Param = 9;
  # DEBUG BEGIN_STMT
  _25 = TransferConfig_60(D)->Destination.Modulo;
  _26 = (long unsigned int) _25;
  LocList[9].Value = _26;
  # DEBUG BEGIN_STMT
  LocList[10].Param = 10;
  # DEBUG BEGIN_STMT
  _27 = TransferConfig_60(D)->MinorLoop.EnSrcOffset;
  _28 = (long unsigned int) _27;
  LocList[10].Value = _28;
  # DEBUG BEGIN_STMT
  LocList[11].Param = 11;
  # DEBUG BEGIN_STMT
  _29 = TransferConfig_60(D)->MinorLoop.EnDstOffset;
  _30 = (long unsigned int) _29;
  LocList[11].Value = _30;
  # DEBUG BEGIN_STMT
  LocList[12].Param = 12;
  # DEBUG BEGIN_STMT
  _31 = TransferConfig_60(D)->MinorLoop.Offset;
  _32 = (long unsigned int) _31;
  LocList[12].Value = _32;
  # DEBUG BEGIN_STMT
  LocList[13].Param = 13;
  # DEBUG BEGIN_STMT
  _33 = TransferConfig_60(D)->MinorLoop.EnLink;
  _34 = (long unsigned int) _33;
  LocList[13].Value = _34;
  # DEBUG BEGIN_STMT
  LocList[14].Param = 14;
  # DEBUG BEGIN_STMT
  _35 = TransferConfig_60(D)->MinorLoop.LogicLinkCh;
  _36 = (long unsigned int) _35;
  LocList[14].Value = _36;
  # DEBUG BEGIN_STMT
  LocList[15].Param = 15;
  # DEBUG BEGIN_STMT
  _37 = TransferConfig_60(D)->MinorLoop.Size;
  LocList[15].Value = _37;
  # DEBUG BEGIN_STMT
  LocList[16].Param = 16;
  # DEBUG BEGIN_STMT
  _38 = TransferConfig_60(D)->MajorLoop.EnLink;
  _39 = (long unsigned int) _38;
  LocList[16].Value = _39;
  # DEBUG BEGIN_STMT
  LocList[17].Param = 17;
  # DEBUG BEGIN_STMT
  _40 = TransferConfig_60(D)->MajorLoop.LogicLinkCh;
  _41 = (long unsigned int) _40;
  LocList[17].Value = _41;
  # DEBUG BEGIN_STMT
  LocList[18].Param = 18;
  # DEBUG BEGIN_STMT
  _42 = TransferConfig_60(D)->MajorLoop.Count;
  LocList[18].Value = _42;
  # DEBUG BEGIN_STMT
  LocList[19].Param = 21;
  # DEBUG BEGIN_STMT
  _43 = TransferConfig_60(D)->Control.EnMajorInt;
  _44 = (long unsigned int) _43;
  LocList[19].Value = _44;
  # DEBUG BEGIN_STMT
  LocList[20].Param = 22;
  # DEBUG BEGIN_STMT
  _45 = TransferConfig_60(D)->Control.EnHalfMajorInt;
  _46 = (long unsigned int) _45;
  LocList[20].Value = _46;
  # DEBUG BEGIN_STMT
  LocList[21].Param = 23;
  # DEBUG BEGIN_STMT
  _47 = TransferConfig_60(D)->Control.DisAutoHwRequest;
  _48 = (long unsigned int) _47;
  LocList[21].Value = _48;
  # DEBUG BEGIN_STMT
  LocList[22].Param = 25;
  # DEBUG BEGIN_STMT
  _49 = TransferConfig_60(D)->Control.BandwidthControl;
  _50 = (long unsigned int) _49;
  LocList[22].Value = _50;
  # DEBUG BEGIN_STMT
  LocList[23].Param = 25;
  # DEBUG BEGIN_STMT
  LocList[23].Value = _50;
  # DEBUG BEGIN_STMT
  LocList[24].Param = 20;
  # DEBUG BEGIN_STMT
  _51 = TransferConfig_60(D)->Control.EnStart;
  _52 = (long unsigned int) _51;
  LocList[24].Value = _52;
  # DEBUG BEGIN_STMT
  if (LocHwVers_56 == 2)
    goto <bb 3>; [34.00%]
  else
    goto <bb 4>; [66.00%]

  <bb 3> [local count: 365072220]:
  # DEBUG BEGIN_STMT
  pxTcd_110 = &MEM[(struct Dma_Ip_Hwv2TcdArrayType *)1073778688B].TCD_RSV[LocHwCh_58].tChTcdReg.tTcdReg;
  # DEBUG pxTcd => pxTcd_110

  <bb 4> [local count: 1073741824]:
  # pxTcd_53 = PHI <0B(2), pxTcd_110(3)>
  # DEBUG pxTcd => pxTcd_53
  # DEBUG BEGIN_STMT
  HwAccDmaCh_SetCommand (3, LocHwVers_56, LocHwInst_57, LocHwCh_58);
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelTransferList (LogicCh_55(D), pxTcd_53, &LocList, 25);
  # DEBUG BEGIN_STMT
  LocList ={v} {CLOBBER};
  return 0;

}


Static_Dma_Ip_SetLogicChannelGlobalConfig (const uint32 LogicCh, const struct Dma_Ip_GlobalConfigType * const GlobalConfig, boolean ResetState)
{
  uint32 LocHwCh;
  uint32 LocHwInst;
  uint32 LocHwVers;
  struct Dma_Ip_LogicChannelGlobalListType LocListHwv2[10];
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.24_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;
  unsigned char _7;
  unsigned char _8;
  _Bool _9;
  long unsigned int _10;
  unsigned char _11;
  long unsigned int _12;
  _Bool _13;
  long unsigned int _14;
  _Bool _15;
  long unsigned int _16;
  unsigned char _17;
  long unsigned int _18;
  _Bool _19;
  long unsigned int _20;
  _Bool _21;
  long unsigned int _22;
  _Bool _23;
  long unsigned int _24;
  _Bool _25;
  long unsigned int _26;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.24_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.24_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_30(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  # DEBUG D#4 => &_5->LogicChId
  # DEBUG LocLogicChId => D#4
  # DEBUG BEGIN_STMT
  _6 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwVersId;
  LocHwVers_31 = (uint32) _6;
  # DEBUG LocHwVers => LocHwVers_31
  # DEBUG BEGIN_STMT
  _7 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwInstId;
  LocHwInst_32 = (uint32) _7;
  # DEBUG LocHwInst => LocHwInst_32
  # DEBUG BEGIN_STMT
  _8 = MEM[(const struct Dma_Ip_LogicChannelIdType *)_5].HwChId;
  LocHwCh_33 = (uint32) _8;
  # DEBUG LocHwCh => LocHwCh_33
  # DEBUG BEGIN_STMT
  if (LocHwVers_31 == 2)
    goto <bb 3>; [34.00%]
  else
    goto <bb 7>; [66.00%]

  <bb 3> [local count: 365072220]:
  # DEBUG BEGIN_STMT
  LocListHwv2[0].Param = 2;
  # DEBUG BEGIN_STMT
  _9 = GlobalConfig_35(D)->Request.EnSourceMux;
  _10 = (long unsigned int) _9;
  LocListHwv2[0].Value = _10;
  # DEBUG BEGIN_STMT
  LocListHwv2[1].Param = 2;
  # DEBUG BEGIN_STMT
  LocListHwv2[1].Value = _10;
  # DEBUG BEGIN_STMT
  LocListHwv2[2].Param = 2;
  # DEBUG BEGIN_STMT
  LocListHwv2[2].Value = _10;
  # DEBUG BEGIN_STMT
  LocListHwv2[3].Param = 3;
  # DEBUG BEGIN_STMT
  _11 = GlobalConfig_35(D)->Request.SourceMux;
  _12 = (long unsigned int) _11;
  LocListHwv2[3].Value = _12;
  # DEBUG BEGIN_STMT
  LocListHwv2[4].Param = 4;
  # DEBUG BEGIN_STMT
  _13 = GlobalConfig_35(D)->Request.EnTriggerMux;
  _14 = (long unsigned int) _13;
  LocListHwv2[4].Value = _14;
  # DEBUG BEGIN_STMT
  LocListHwv2[5].Param = 6;
  # DEBUG BEGIN_STMT
  _15 = GlobalConfig_35(D)->Interrupt.EnErrorInt;
  _16 = (long unsigned int) _15;
  LocListHwv2[5].Value = _16;
  # DEBUG BEGIN_STMT
  if (ResetState_47(D) != 0)
    goto <bb 5>; [50.00%]
  else
    goto <bb 4>; [50.00%]

  <bb 4> [local count: 182536110]:
  # DEBUG BEGIN_STMT
  LocListHwv2[6].Param = 8;
  # DEBUG BEGIN_STMT
  _17 = GlobalConfig_35(D)->Priority.Level;
  _18 = (long unsigned int) _17;
  LocListHwv2[6].Value = _18;
  goto <bb 6>; [100.00%]

  <bb 5> [local count: 182536110]:
  # DEBUG BEGIN_STMT
  LocListHwv2[6].Param = 9;
  # DEBUG BEGIN_STMT
  _19 = GlobalConfig_35(D)->Priority.EnPreemption;
  _20 = (long unsigned int) _19;
  LocListHwv2[6].Value = _20;

  <bb 6> [local count: 365072220]:
  # DEBUG BEGIN_STMT
  LocListHwv2[7].Param = 9;
  # DEBUG BEGIN_STMT
  _21 = GlobalConfig_35(D)->Priority.EnPreemption;
  _22 = (long unsigned int) _21;
  LocListHwv2[7].Value = _22;
  # DEBUG BEGIN_STMT
  LocListHwv2[8].Param = 10;
  # DEBUG BEGIN_STMT
  _23 = GlobalConfig_35(D)->Priority.DisPreempt;
  _24 = (long unsigned int) _23;
  LocListHwv2[8].Value = _24;
  # DEBUG BEGIN_STMT
  LocListHwv2[9].Param = 5;
  # DEBUG BEGIN_STMT
  _25 = GlobalConfig_35(D)->Request.EnRequest;
  _26 = (long unsigned int) _25;
  LocListHwv2[9].Value = _26;
  # DEBUG BEGIN_STMT
  Static_Dma_Ip_SetLogicChannelGlobalList (2, LocHwInst_32, LocHwCh_33, &LocListHwv2, 10);

  <bb 7> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  LocListHwv2 ={v} {CLOBBER};
  return 0;

}


Dma_Ip_ConvertLogicChToHwCh (uint32 LogicCh)
{
  uint32 LocHwCh;
  const struct Dma_Ip_InitType * Dma_Ip_pxInit.0_1;
  const struct Dma_Ip_LogicChannelConfigType * const * _2;
  long unsigned int _3;
  const struct Dma_Ip_LogicChannelConfigType * const * _4;
  const struct Dma_Ip_LogicChannelConfigType * _5;
  unsigned char _6;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  Dma_Ip_pxInit.0_1 = Dma_Ip_pxInit;
  _2 = Dma_Ip_pxInit.0_1->ppxLogicChannelConfigArray;
  _3 = LogicCh_8(D) * 4;
  _4 = _2 + _3;
  _5 = *_4;
  _6 = _5->LogicChId.HwChId;
  LocHwCh_9 = (uint32) _6;
  # DEBUG LocHwCh => LocHwCh_9
  # DEBUG BEGIN_STMT
  return LocHwCh_9;

}


