	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function safexcel_ahash_exit_inv
_safexcel_ahash_exit_inv:               ## @safexcel_ahash_exit_inv
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_crypto_tfm_ctx
	movq	%rax, %rbx
	movq	8(%rax), %r14
	movq	_req@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_ahash@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EIP197_AHASH_REQ_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_EIP197_REQUEST_ON_STACK
	movq	(%r15), %rdi
	callq	_ahash_request_ctx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	$0, -48(%rbp)
	movslq	(%rbx), %r12
	movq	(%r15), %rdi
	movq	_EIP197_AHASH_REQ_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	leaq	-44(%rbp), %rdi
	callq	_init_completion
	movq	(%r15), %rdi
	movq	_CRYPTO_TFM_REQ_MAY_BACKLOG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_safexcel_inv_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	callq	_ahash_request_set_callback
	movq	(%r15), %rbx
	movq	%r13, %rdi
	callq	___crypto_ahash_cast
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ahash_request_set_tfm
	movq	(%r15), %rax
	movq	(%rax), %rdi
	callq	_crypto_tfm_ctx
	movl	$1, 4(%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	8(%r14), %rax
	shlq	$4, %r12
	leaq	(%rax,%r12), %rdi
	addq	$8, %rdi
	callq	_spin_lock_bh
	movq	8(%r14), %rax
	leaq	(%rax,%r12), %rdi
	addq	$12, %rdi
	movq	(%r15), %rsi
	callq	_crypto_enqueue_request
	movq	8(%r14), %rax
	leaq	(%rax,%r12), %rdi
	addq	$8, %rdi
	callq	_spin_unlock_bh
	movq	8(%r14), %rax
	leaq	(%rax,%r12), %rsi
	movl	4(%rax,%r12), %edi
	callq	_queue_work
	leaq	-44(%rbp), %rdi
	callq	_wait_for_completion
	xorl	%eax, %eax
	movl	-48(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movl	-48(%rbp), %eax
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_req,8,3                        ## @req
	.comm	_ahash,4,2                      ## @ahash
	.comm	_EIP197_AHASH_REQ_SIZE,4,2      ## @EIP197_AHASH_REQ_SIZE
	.comm	_CRYPTO_TFM_REQ_MAY_BACKLOG,4,2 ## @CRYPTO_TFM_REQ_MAY_BACKLOG
	.comm	_safexcel_inv_complete,4,2      ## @safexcel_inv_complete
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hash: completion error (%d)\n"

	.no_dead_strip	_safexcel_ahash_exit_inv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function safexcel_ahash_exit_inv
_safexcel_ahash_exit_inv:               ; @safexcel_ahash_exit_inv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	bl	_crypto_tfm_ctx
	mov	x19, x0
	ldr	x23, [x0, #8]
Lloh0:
	adrp	x24, _req@GOTPAGE
Lloh1:
	ldr	x24, [x24, _req@GOTPAGEOFF]
	ldr	x0, [x24]
Lloh2:
	adrp	x8, _ahash@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ahash@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x22, _EIP197_AHASH_REQ_SIZE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _EIP197_AHASH_REQ_SIZE@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_EIP197_REQUEST_ON_STACK
	ldr	x0, [x24]
	bl	_ahash_request_ctx
	mov	x21, x0
	str	xzr, [sp, #8]
	ldrsw	x25, [x19]
	ldr	x0, [x24]
	ldr	w2, [x22]
	mov	w1, #0
	bl	_memset
	add	x8, sp, #8
	orr	x19, x8, #0x4
	mov	x0, x19
	bl	_init_completion
	ldr	x0, [x24]
Lloh7:
	adrp	x8, _CRYPTO_TFM_REQ_MAY_BACKLOG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CRYPTO_TFM_REQ_MAY_BACKLOG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _safexcel_inv_complete@GOTPAGE
Lloh11:
	ldr	x8, [x8, _safexcel_inv_complete@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	add	x3, sp, #8
	bl	_ahash_request_set_callback
	ldr	x22, [x24]
	mov	x0, x20
	bl	___crypto_ahash_cast
	mov	x1, x0
	mov	x0, x22
	bl	_ahash_request_set_tfm
	ldr	x8, [x24]
	ldr	x0, [x8]
	bl	_crypto_tfm_ctx
	mov	w8, #1
	str	w8, [x0, #4]
	str	w8, [x21]
	ldr	x8, [x23, #8]
	lsl	x20, x25, #4
	add	x8, x8, x20
	add	x0, x8, #8
	bl	_spin_lock_bh
	ldr	x8, [x23, #8]
	add	x8, x8, x20
	add	x0, x8, #12
	ldr	x1, [x24]
	bl	_crypto_enqueue_request
	ldr	x8, [x23, #8]
	add	x8, x8, x20
	add	x0, x8, #8
	bl	_spin_unlock_bh
	ldr	x8, [x23, #8]
	add	x1, x8, x20
	ldr	w0, [x1, #4]
	bl	_queue_work
	mov	x0, x19
	bl	_wait_for_completion
	ldr	w2, [sp, #8]
	cbz	w2, LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	ldr	w0, [sp, #8]
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_req,8,3                        ; @req
	.comm	_ahash,4,2                      ; @ahash
	.comm	_EIP197_AHASH_REQ_SIZE,4,2      ; @EIP197_AHASH_REQ_SIZE
	.comm	_CRYPTO_TFM_REQ_MAY_BACKLOG,4,2 ; @CRYPTO_TFM_REQ_MAY_BACKLOG
	.comm	_safexcel_inv_complete,4,2      ; @safexcel_inv_complete
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hash: completion error (%d)\n"

	.no_dead_strip	_safexcel_ahash_exit_inv
.subsections_via_symbols
