	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cryp_dma_setup_channel
_cryp_dma_setup_channel:                ## @cryp_dma_setup_channel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	$4, -96(%rbp)
	movl	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_DMA_SLAVE_BUSWIDTH_2_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	40(%rdi), %rcx
	movq	_CRYP_DMA_TX_FIFO@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	%rcx, %rdx
	movq	%rdx, -64(%rbp)
	movabsq	$17179869184, %rdx              ## imm = 0x400000000
	movq	%rdx, -56(%rbp)
	movq	_CRYP_DMA_RX_FIFO@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rcx
	movl	%eax, -48(%rbp)
	movq	%rcx, -40(%rbp)
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	$0, -28(%rbp)
	movq	$0, -24(%rbp)
	movl	28(%rdi), %edi
	callq	_dma_cap_zero
	movq	_DMA_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	28(%rbx), %esi
	callq	_dma_cap_set
	movq	_mem_to_engine@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, 32(%rbx)
	movl	28(%rbx), %edi
	movq	_stedma40_filter@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_dma_request_channel
	movq	%rax, 16(%rbx)
	movq	_engine_to_mem@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, 24(%rbx)
	movl	28(%rbx), %edi
	movl	(%r14), %esi
	callq	_dma_request_channel
	movq	%rax, 8(%rbx)
	movq	16(%rbx), %rdi
	leaq	-96(%rbp), %rsi
	callq	_dmaengine_slave_config
	movq	8(%rbx), %rdi
	leaq	-56(%rbp), %rsi
	callq	_dmaengine_slave_config
	movq	%rbx, %rdi
	callq	_init_completion
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
	.comm	_DMA_SLAVE_BUSWIDTH_2_BYTES,4,2 ## @DMA_SLAVE_BUSWIDTH_2_BYTES
	.comm	_CRYP_DMA_TX_FIFO,8,3           ## @CRYP_DMA_TX_FIFO
	.comm	_CRYP_DMA_RX_FIFO,8,3           ## @CRYP_DMA_RX_FIFO
	.comm	_DMA_DEV_TO_MEM,4,2             ## @DMA_DEV_TO_MEM
	.comm	_DMA_SLAVE,4,2                  ## @DMA_SLAVE
	.comm	_mem_to_engine,4,2              ## @mem_to_engine
	.comm	_stedma40_filter,4,2            ## @stedma40_filter
	.comm	_engine_to_mem,4,2              ## @engine_to_mem
	.no_dead_strip	_cryp_dma_setup_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function cryp_dma_setup_channel
lCPI0_0:
	.long	4                               ; 0x4
	.long	0                               ; 0x0
lCPI0_1:
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cryp_dma_setup_channel:                ; @cryp_dma_setup_channel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #40]
	str	wzr, [sp, #48]
	str	xzr, [sp, #56]
Lloh2:
	adrp	x8, _DMA_MEM_TO_DEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _DMA_SLAVE_BUSWIDTH_2_BYTES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DMA_SLAVE_BUSWIDTH_2_BYTES@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #64]
	ldr	x8, [x0, #40]
Lloh8:
	adrp	x10, _CRYP_DMA_TX_FIFO@GOTPAGE
Lloh9:
	ldr	x10, [x10, _CRYP_DMA_TX_FIFO@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	add	x10, x10, x8
	str	x10, [sp, #72]
Lloh11:
	adrp	x10, lCPI0_1@PAGE
Lloh12:
	ldr	d0, [x10, lCPI0_1@PAGEOFF]
	str	d0, [sp]
	str	w9, [sp, #8]
Lloh13:
	adrp	x9, _CRYP_DMA_RX_FIFO@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CRYP_DMA_RX_FIFO@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x8, x9, x8
Lloh16:
	adrp	x9, _DMA_DEV_TO_MEM@GOTPAGE
Lloh17:
	ldr	x9, [x9, _DMA_DEV_TO_MEM@GOTPAGEOFF]
	str	x8, [sp, #16]
Lloh18:
	ldr	w8, [x9]
	stp	w8, wzr, [sp, #24]
	str	xzr, [sp, #32]
	ldr	w0, [x0, #28]
	bl	_dma_cap_zero
Lloh19:
	adrp	x8, _DMA_SLAVE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DMA_SLAVE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	w1, [x19, #28]
	bl	_dma_cap_set
Lloh22:
	adrp	x8, _mem_to_engine@GOTPAGE
Lloh23:
	ldr	x8, [x8, _mem_to_engine@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	str	w2, [x19, #32]
	ldr	w0, [x19, #28]
Lloh25:
	adrp	x20, _stedma40_filter@GOTPAGE
Lloh26:
	ldr	x20, [x20, _stedma40_filter@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_dma_request_channel
	str	x0, [x19, #16]
Lloh27:
	adrp	x8, _engine_to_mem@GOTPAGE
Lloh28:
	ldr	x8, [x8, _engine_to_mem@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	str	w2, [x19, #24]
	ldr	w0, [x19, #28]
	ldr	w1, [x20]
	bl	_dma_request_channel
	str	x0, [x19, #8]
	ldr	x0, [x19, #16]
	add	x1, sp, #40
	bl	_dmaengine_slave_config
	ldr	x0, [x19, #8]
	mov	x1, sp
	bl	_dmaengine_slave_config
	mov	x0, x19
	bl	_init_completion
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
	.comm	_DMA_SLAVE_BUSWIDTH_2_BYTES,4,2 ; @DMA_SLAVE_BUSWIDTH_2_BYTES
	.comm	_CRYP_DMA_TX_FIFO,8,3           ; @CRYP_DMA_TX_FIFO
	.comm	_CRYP_DMA_RX_FIFO,8,3           ; @CRYP_DMA_RX_FIFO
	.comm	_DMA_DEV_TO_MEM,4,2             ; @DMA_DEV_TO_MEM
	.comm	_DMA_SLAVE,4,2                  ; @DMA_SLAVE
	.comm	_mem_to_engine,4,2              ; @mem_to_engine
	.comm	_stedma40_filter,4,2            ; @stedma40_filter
	.comm	_engine_to_mem,4,2              ; @engine_to_mem
	.no_dead_strip	_cryp_dma_setup_channel
.subsections_via_symbols
