	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axi_chan_block_xfer_start
_axi_chan_block_xfer_start:             ## @axi_chan_block_xfer_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %ebx
	callq	_axi_chan_is_hw_enable
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_chan2dev
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_axi_chan_name
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_2:
	movq	8(%r15), %rdi
	callq	_axi_dma_enable
	movq	_DWAXIDMAC_MBLK_TYPE_LL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CH_CFG_L_DST_MULTBLK_TYPE_POS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edx, %eax
	shll	%cl, %eax
	movq	_CH_CFG_L_SRC_MULTBLK_TYPE_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%eax, %edx
	movq	_CH_CFG_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_axi_chan_iowrite32
	movq	_DWAXIDMAC_TT_FC_MEM_TO_MEM_DMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CH_CFG_H_TT_FC_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_CH_CFG_H_PRIORITY_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	movq	_DWAXIDMAC_HS_SEL_HW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_CH_CFG_H_HS_SEL_DST_POS@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %esi
	shll	%cl, %esi
	orl	%eax, %esi
	movq	_CH_CFG_H_HS_SEL_SRC_POS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	orl	%esi, %edx
	orl	%ebx, %edx
	movq	_CH_CFG_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_axi_chan_iowrite32
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_write_chan_llp
	movq	_DWAXIDMAC_IRQ_DMA_TRF@GOTPCREL(%rip), %rax
	movq	_DWAXIDMAC_IRQ_ALL_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_axi_chan_irq_sig_set
	movq	_DWAXIDMAC_IRQ_SUSPENDED@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_axi_chan_irq_set
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_axi_chan_enable                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s is non-idle!\n"

	.comm	_DWAXIDMAC_MBLK_TYPE_LL,4,2     ## @DWAXIDMAC_MBLK_TYPE_LL
	.comm	_CH_CFG_L_DST_MULTBLK_TYPE_POS,4,2 ## @CH_CFG_L_DST_MULTBLK_TYPE_POS
	.comm	_CH_CFG_L_SRC_MULTBLK_TYPE_POS,4,2 ## @CH_CFG_L_SRC_MULTBLK_TYPE_POS
	.comm	_CH_CFG_L,4,2                   ## @CH_CFG_L
	.comm	_DWAXIDMAC_TT_FC_MEM_TO_MEM_DMAC,4,2 ## @DWAXIDMAC_TT_FC_MEM_TO_MEM_DMAC
	.comm	_CH_CFG_H_TT_FC_POS,4,2         ## @CH_CFG_H_TT_FC_POS
	.comm	_CH_CFG_H_PRIORITY_POS,4,2      ## @CH_CFG_H_PRIORITY_POS
	.comm	_DWAXIDMAC_HS_SEL_HW,4,2        ## @DWAXIDMAC_HS_SEL_HW
	.comm	_CH_CFG_H_HS_SEL_DST_POS,4,2    ## @CH_CFG_H_HS_SEL_DST_POS
	.comm	_CH_CFG_H_HS_SEL_SRC_POS,4,2    ## @CH_CFG_H_HS_SEL_SRC_POS
	.comm	_CH_CFG_H,4,2                   ## @CH_CFG_H
	.comm	_DWAXIDMAC_IRQ_DMA_TRF,4,2      ## @DWAXIDMAC_IRQ_DMA_TRF
	.comm	_DWAXIDMAC_IRQ_ALL_ERR,4,2      ## @DWAXIDMAC_IRQ_ALL_ERR
	.comm	_DWAXIDMAC_IRQ_SUSPENDED,4,2    ## @DWAXIDMAC_IRQ_SUSPENDED
	.no_dead_strip	_axi_chan_block_xfer_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axi_chan_block_xfer_start
_axi_chan_block_xfer_start:             ; @axi_chan_block_xfer_start
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w21, [x8, x9, lsl #2]
	bl	_axi_chan_is_hw_enable
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_chan2dev
	mov	x20, x0
	mov	x0, x19
	bl	_axi_chan_name
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_err
LBB0_2:
	ldr	x0, [x19, #8]
	bl	_axi_dma_enable
Lloh2:
	adrp	x8, _DWAXIDMAC_MBLK_TYPE_LL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DWAXIDMAC_MBLK_TYPE_LL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _CH_CFG_L_DST_MULTBLK_TYPE_POS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CH_CFG_L_DST_MULTBLK_TYPE_POS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	lsl	w9, w8, w9
Lloh8:
	adrp	x10, _CH_CFG_L_SRC_MULTBLK_TYPE_POS@GOTPAGE
Lloh9:
	ldr	x10, [x10, _CH_CFG_L_SRC_MULTBLK_TYPE_POS@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w2, w8, w9
Lloh11:
	adrp	x8, _CH_CFG_L@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CH_CFG_L@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_axi_chan_iowrite32
Lloh14:
	adrp	x8, _DWAXIDMAC_TT_FC_MEM_TO_MEM_DMAC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DWAXIDMAC_TT_FC_MEM_TO_MEM_DMAC@GOTPAGEOFF]
Lloh16:
	adrp	x9, _CH_CFG_H_TT_FC_POS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CH_CFG_H_TT_FC_POS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh20:
	adrp	x9, _CH_CFG_H_PRIORITY_POS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CH_CFG_H_PRIORITY_POS@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _DWAXIDMAC_HS_SEL_HW@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DWAXIDMAC_HS_SEL_HW@GOTPAGEOFF]
Lloh25:
	adrp	x10, _CH_CFG_H_HS_SEL_DST_POS@GOTPAGE
Lloh26:
	ldr	x10, [x10, _CH_CFG_H_HS_SEL_DST_POS@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh29:
	adrp	x10, _CH_CFG_H_HS_SEL_SRC_POS@GOTPAGE
Lloh30:
	ldr	x10, [x10, _CH_CFG_H_HS_SEL_SRC_POS@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w2, w8, w9
Lloh32:
	adrp	x8, _CH_CFG_H@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CH_CFG_H@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_axi_chan_iowrite32
	ldr	w1, [x20]
	mov	x0, x19
	bl	_write_chan_llp
Lloh35:
	adrp	x8, _DWAXIDMAC_IRQ_DMA_TRF@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DWAXIDMAC_IRQ_DMA_TRF@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _DWAXIDMAC_IRQ_ALL_ERR@GOTPAGE
Lloh39:
	ldr	x9, [x9, _DWAXIDMAC_IRQ_ALL_ERR@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w20, w9, w8
	mov	x0, x19
	mov	x1, x20
	bl	_axi_chan_irq_sig_set
Lloh41:
	adrp	x8, _DWAXIDMAC_IRQ_SUSPENDED@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DWAXIDMAC_IRQ_SUSPENDED@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	orr	w1, w8, w20
	mov	x0, x19
	bl	_axi_chan_irq_set
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_axi_chan_enable
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s is non-idle!\n"

	.comm	_DWAXIDMAC_MBLK_TYPE_LL,4,2     ; @DWAXIDMAC_MBLK_TYPE_LL
	.comm	_CH_CFG_L_DST_MULTBLK_TYPE_POS,4,2 ; @CH_CFG_L_DST_MULTBLK_TYPE_POS
	.comm	_CH_CFG_L_SRC_MULTBLK_TYPE_POS,4,2 ; @CH_CFG_L_SRC_MULTBLK_TYPE_POS
	.comm	_CH_CFG_L,4,2                   ; @CH_CFG_L
	.comm	_DWAXIDMAC_TT_FC_MEM_TO_MEM_DMAC,4,2 ; @DWAXIDMAC_TT_FC_MEM_TO_MEM_DMAC
	.comm	_CH_CFG_H_TT_FC_POS,4,2         ; @CH_CFG_H_TT_FC_POS
	.comm	_CH_CFG_H_PRIORITY_POS,4,2      ; @CH_CFG_H_PRIORITY_POS
	.comm	_DWAXIDMAC_HS_SEL_HW,4,2        ; @DWAXIDMAC_HS_SEL_HW
	.comm	_CH_CFG_H_HS_SEL_DST_POS,4,2    ; @CH_CFG_H_HS_SEL_DST_POS
	.comm	_CH_CFG_H_HS_SEL_SRC_POS,4,2    ; @CH_CFG_H_HS_SEL_SRC_POS
	.comm	_CH_CFG_H,4,2                   ; @CH_CFG_H
	.comm	_DWAXIDMAC_IRQ_DMA_TRF,4,2      ; @DWAXIDMAC_IRQ_DMA_TRF
	.comm	_DWAXIDMAC_IRQ_ALL_ERR,4,2      ; @DWAXIDMAC_IRQ_ALL_ERR
	.comm	_DWAXIDMAC_IRQ_SUSPENDED,4,2    ; @DWAXIDMAC_IRQ_SUSPENDED
	.no_dead_strip	_axi_chan_block_xfer_start
.subsections_via_symbols
