	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function safexcel_handle_inv_result
_safexcel_handle_inv_result:            ## @safexcel_handle_inv_result
	.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	%r8, %r15
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_ahash_request_cast
	movq	%rax, %rdi
	callq	_crypto_ahash_reqtfm
	movq	%rax, %rdi
	callq	_crypto_ahash_ctx
	movq	%rax, %r14
	movl	$0, (%r15)
	movq	(%rbx), %rax
	movslq	%r13d, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$16, %rsi
	movq	%rbx, %rdi
	callq	_safexcel_ring_next_rptr
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	12(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	%r12, %rdi
	callq	_PTR_ERR
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_safexcel_rdesc_check_errors
LBB0_3:
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_safexcel_complete
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.4:
	movl	8(%rbx), %edi
	movl	4(%r14), %edx
	movl	8(%r14), %esi
	callq	_dma_pool_free
	movl	$1, %eax
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	callq	_safexcel_select_ring
	movl	%eax, (%r14)
	movq	(%rbx), %rcx
	movslq	%eax, %r12
	leaq	(,%r12,4), %rax
	leaq	(%rax,%rax,4), %r13
	leaq	(%rcx,%r13), %rdi
	addq	$8, %rdi
	callq	_spin_lock_bh
	movq	(%rbx), %rax
	leaq	(%rax,%r13), %rdi
	addq	$12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_crypto_enqueue_request
	movl	%eax, %r14d
	movq	(%rbx), %rax
	leaq	(%rax,%r13), %rdi
	addq	$8, %rdi
	callq	_spin_unlock_bh
	movq	_EINPROGRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	je	LBB0_7
## %bb.6:
	movl	%r14d, (%r15)
LBB0_7:
	movq	(%rbx), %rax
	leaq	(%r12,%r12,4), %rcx
	leaq	(%rax,%rcx,4), %rsi
	movl	4(%rax,%rcx,4), %edi
	callq	_queue_work
	xorl	%eax, %eax
LBB0_8:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hash: invalidate: could not retrieve the result descriptor\n"

	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.no_dead_strip	_safexcel_handle_inv_result
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function safexcel_handle_inv_result
_safexcel_handle_inv_result:            ; @safexcel_handle_inv_result
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	mov	x0, x2
	bl	_ahash_request_cast
	bl	_crypto_ahash_reqtfm
	bl	_crypto_ahash_ctx
	mov	x24, x0
	str	wzr, [x20]
	ldr	x8, [x21]
	mov	w9, #20
	smaddl	x8, w23, w9, x8
	add	x1, x8, #16
	mov	x0, x21
	bl	_safexcel_ring_next_rptr
	mov	x25, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x21, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	x0, x25
	bl	_PTR_ERR
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	mov	x1, x25
	bl	_safexcel_rdesc_check_errors
LBB0_3:
	str	w0, [x20]
	mov	x0, x21
	mov	x1, x23
	bl	_safexcel_complete
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x21, #8]
	ldp	w2, w1, [x24, #4]
	bl	_dma_pool_free
	mov	w8, #1
	b	LBB0_8
LBB0_5:
	mov	x0, x21
	bl	_safexcel_select_ring
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x24]
	ldr	x8, [x21]
	sxtw	x23, w0
	add	x9, x23, w0, sxtw #2
	lsl	x24, x9, #2
	add	x8, x8, x24
	add	x0, x8, #8
	bl	_spin_lock_bh
	ldr	x8, [x21]
	add	x8, x8, x24
	add	x0, x8, #12
	mov	x1, x22
	bl	_crypto_enqueue_request
	mov	x22, x0
	ldr	x8, [x21]
	add	x8, x8, x24
	add	x0, x8, #8
	bl	_spin_unlock_bh
Lloh2:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmn	w22, w8
	b.eq	LBB0_7
; %bb.6:
	str	w22, [x20]
LBB0_7:
	ldr	x8, [x21]
	mov	w9, #20
	madd	x1, x23, x9, x8
	ldr	w0, [x1, #4]
	bl	_queue_work
	mov	w8, #0
LBB0_8:
	str	w8, [x19]
	mov	w0, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hash: invalidate: could not retrieve the result descriptor\n"

	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.no_dead_strip	_safexcel_handle_inv_result
.subsections_via_symbols
