	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_cesa_skcipher_dma_cleanup
_mv_cesa_skcipher_dma_cleanup:          ## @mv_cesa_skcipher_dma_cleanup
	.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	%rdi, %rbx
	callq	_skcipher_request_ctx
	movq	%rax, %r14
	movq	(%rbx), %rsi
	movq	_cesa_dev@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax), %edi
	cmpq	8(%rbx), %rsi
	jne	LBB0_1
## %bb.2:
	movl	4(%r14), %edx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movl	8(%r14), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_sg
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rsi
	movl	4(%r14), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	callq	_dma_unmap_sg
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mv_cesa_dma_cleanup            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cesa_dev,8,3                   ## @cesa_dev
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.no_dead_strip	_mv_cesa_skcipher_dma_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_cesa_skcipher_dma_cleanup
_mv_cesa_skcipher_dma_cleanup:          ; @mv_cesa_skcipher_dma_cleanup
	.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, x0
	bl	_skcipher_request_ctx
	mov	x19, x0
	ldp	x1, x8, [x20]
Lloh0:
	adrp	x21, _cesa_dev@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cesa_dev@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w0, [x9]
	cmp	x1, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w2, [x19, #4]
Lloh2:
	adrp	x8, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w2, [x19, #8]
Lloh4:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	bl	_dma_unmap_sg
	ldr	x8, [x21]
	ldr	w0, [x8]
	ldr	x1, [x20, #8]
	ldr	w2, [x19, #4]
Lloh7:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
LBB0_3:
	ldr	w3, [x8]
	bl	_dma_unmap_sg
	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	_mv_cesa_dma_cleanup
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_cesa_dev,8,3                   ; @cesa_dev
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.no_dead_strip	_mv_cesa_skcipher_dma_cleanup
.subsections_via_symbols
