	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_des_crypt_dma_start
_omap_des_crypt_dma_start:              ## @omap_des_crypt_dma_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	28(%rdi), %edi
	callq	_crypto_ablkcipher_reqtfm
	movl	%eax, %edi
	callq	_crypto_ablkcipher_tfm
	movq	%rax, %r14
	movl	24(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	cmpl	$0, 20(%rbx)
	je	LBB0_1
LBB0_5:
	movl	16(%rbx), %esi
	movl	(%rbx), %r8d
	movl	4(%rbx), %edx
	movl	12(%rbx), %ecx
	movq	%r14, %rdi
	callq	_omap_des_crypt_dma
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %r14d
	cmpl	$0, 20(%rbx)
	jne	LBB0_9
## %bb.8:
	movl	16(%rbx), %esi
	movl	8(%rbx), %edi
	movl	12(%rbx), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_sg
	movl	8(%rbx), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_sg
	jmp	LBB0_9
LBB0_1:
	movl	16(%rbx), %esi
	movl	8(%rbx), %edi
	movl	12(%rbx), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_sg
	movl	8(%rbx), %edi
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_sg
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	8(%rbx), %edi
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_9
LBB0_6:
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"total: %d\n"

	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
L_.str.1:                               ## @.str.1
	.asciz	"dma_map_sg() error\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.no_dead_strip	_omap_des_crypt_dma_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_des_crypt_dma_start
_omap_des_crypt_dma_start:              ; @omap_des_crypt_dma_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	w0, [x0, #28]
	bl	_crypto_ablkcipher_reqtfm
	bl	_crypto_ablkcipher_tfm
	mov	x20, x0
	ldr	w1, [x19, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_4
LBB0_1:
	ldp	w3, w1, [x19, #12]
	ldp	w4, w2, [x19]
	mov	x0, x20
	bl	_omap_des_crypt_dma
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.2:
	ldr	w8, [x19, #20]
	cbnz	w8, LBB0_8
; %bb.3:
	ldp	w2, w1, [x19, #12]
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	bl	_dma_unmap_sg
	ldp	w1, w0, [x19, #4]
	ldr	w2, [x19]
Lloh5:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	bl	_dma_unmap_sg
	b	LBB0_8
LBB0_4:
	ldp	w2, w1, [x19, #12]
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	bl	_dma_map_sg
	mov	x8, x0
	ldr	w0, [x19, #8]
	cbz	w8, LBB0_7
; %bb.5:
	ldp	w2, w1, [x19]
Lloh11:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	bl	_dma_map_sg
	cbnz	w0, LBB0_1
; %bb.6:
	ldr	w0, [x19, #8]
LBB0_7:
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"total: %d\n"

	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
l_.str.1:                               ; @.str.1
	.asciz	"dma_map_sg() error\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.no_dead_strip	_omap_des_crypt_dma_start
.subsections_via_symbols
