	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_des_crypt
_omap_des_crypt:                        ## @omap_des_crypt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_crypto_ablkcipher_reqtfm
	movl	%eax, %edi
	callq	_crypto_ablkcipher_ctx
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_ablkcipher_request_ctx
	movq	%rax, %r15
	movl	(%rbx), %esi
	movq	_FLAGS_ENCRYPT@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	movq	(%rax), %rax
	andq	%r14, %rax
	setne	%dl
	movq	_FLAGS_CBC@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movq	(%rax), %rax
	andq	%r14, %rax
	setne	%cl
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movl	(%rbx), %edi
	movq	_DES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_IS_ALIGNED
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	callq	_omap_des_find_dev
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%r14, (%r15)
	movq	%rax, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_omap_des_handle_queue          ## TAILCALL
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nbytes: %d, enc: %d, cbc: %d\n"

	.comm	_FLAGS_ENCRYPT,8,3              ## @FLAGS_ENCRYPT
	.comm	_FLAGS_CBC,8,3                  ## @FLAGS_CBC
	.comm	_DES_BLOCK_SIZE,4,2             ## @DES_BLOCK_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"request size is not exact amount of DES blocks\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_omap_des_crypt
.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
_omap_des_crypt:                        ; @omap_des_crypt
	.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
	bl	_crypto_ablkcipher_reqtfm
	bl	_crypto_ablkcipher_ctx
	mov	x22, x0
	mov	x0, x19
	bl	_ablkcipher_request_ctx
	mov	x21, x0
	ldr	w1, [x19]
Lloh0:
	adrp	x8, _FLAGS_ENCRYPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAGS_ENCRYPT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	tst	x8, x20
	cset	w2, ne
Lloh3:
	adrp	x8, _FLAGS_CBC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLAGS_CBC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	tst	x8, x20
	cset	w3, ne
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _DES_BLOCK_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DES_BLOCK_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_IS_ALIGNED
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_omap_des_find_dev
	cbz	x0, LBB0_4
; %bb.2:
	str	x20, [x21]
	mov	x1, 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	_omap_des_handle_queue
LBB0_3:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _ENODEV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	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
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nbytes: %d, enc: %d, cbc: %d\n"

	.comm	_FLAGS_ENCRYPT,8,3              ; @FLAGS_ENCRYPT
	.comm	_FLAGS_CBC,8,3                  ; @FLAGS_CBC
	.comm	_DES_BLOCK_SIZE,4,2             ; @DES_BLOCK_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"request size is not exact amount of DES blocks\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_omap_des_crypt
.subsections_via_symbols
