	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_dma_setup_channel
_hash_dma_setup_channel:                ## @hash_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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rsi), %r14
	movl	$16, -40(%rbp)
	movq	_DMA_SLAVE_BUSWIDTH_2_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_HASH_DMA_FIFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	16(%rdi), %rax
	movq	%rax, -32(%rbp)
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movl	12(%rdi), %edi
	callq	_dma_cap_zero
	movq	_DMA_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_dma_cap_set
	movl	4(%r14), %edx
	movl	%edx, 8(%rbx)
	movl	12(%rbx), %edi
	movl	(%r14), %esi
	callq	_dma_request_channel
	movl	%eax, 4(%rbx)
	leaq	-40(%rbp), %rsi
	movl	%eax, %edi
	callq	_dmaengine_slave_config
	movq	%rbx, %rdi
	callq	_init_completion
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_SLAVE_BUSWIDTH_2_BYTES,4,2 ## @DMA_SLAVE_BUSWIDTH_2_BYTES
	.comm	_HASH_DMA_FIFO,8,3              ## @HASH_DMA_FIFO
	.comm	_DMA_MEM_TO_DEV,4,2             ## @DMA_MEM_TO_DEV
	.comm	_DMA_SLAVE,4,2                  ## @DMA_SLAVE
	.no_dead_strip	_hash_dma_setup_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hash_dma_setup_channel
_hash_dma_setup_channel:                ; @hash_dma_setup_channel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x1]
	mov	w8, #16
Lloh0:
	adrp	x9, _DMA_SLAVE_BUSWIDTH_2_BYTES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMA_SLAVE_BUSWIDTH_2_BYTES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
	ldr	x8, [x0, #16]
Lloh3:
	adrp	x9, _HASH_DMA_FIFO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HASH_DMA_FIFO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [sp, #16]
Lloh6:
	adrp	x8, _DMA_MEM_TO_DEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	w0, [x0, #12]
	bl	_dma_cap_zero
Lloh9:
	adrp	x8, _DMA_SLAVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMA_SLAVE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	bl	_dma_cap_set
	ldr	w2, [x20, #4]
	str	w2, [x19, #8]
	ldr	w0, [x19, #12]
	ldr	w1, [x20]
	bl	_dma_request_channel
	str	w0, [x19, #4]
	add	x1, sp, #8
	bl	_dmaengine_slave_config
	mov	x0, x19
	bl	_init_completion
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_SLAVE_BUSWIDTH_2_BYTES,4,2 ; @DMA_SLAVE_BUSWIDTH_2_BYTES
	.comm	_HASH_DMA_FIFO,8,3              ; @HASH_DMA_FIFO
	.comm	_DMA_MEM_TO_DEV,4,2             ; @DMA_MEM_TO_DEV
	.comm	_DMA_SLAVE,4,2                  ; @DMA_SLAVE
	.no_dead_strip	_hash_dma_setup_channel
.subsections_via_symbols
