	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function n2_do_async_digest
_n2_do_async_digest:                    ## @n2_do_async_digest
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %r13
	movl	16(%rbp), %ebx
	callq	_crypto_ahash_reqtfm
	movq	%rax, %r15
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%edi, %edi
	cmpl	$65537, (%r13)                  ## imm = 0x10001
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:
	movq	%r13, %rdi
	callq	_ahash_request_ctx
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_crypto_ahash_ctx
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ahash_request_set_tfm
	movq	_CRYPTO_TFM_REQ_MAY_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	12(%r13), %eax
	movl	%eax, 12(%rbx)
	movl	(%r13), %eax
	movl	%eax, (%rbx)
	movl	8(%r13), %eax
	movl	%eax, 8(%rbx)
	movl	4(%r13), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_crypto_ahash_digest            ## TAILCALL
LBB0_1:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_crypto_hash_walk_first
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_get_cpu
	movq	_cpu_to_cwq@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	(%rcx,%rax,8), %r15
	testq	%r15, %r15
	je	LBB0_2
## %bb.3:
	leaq	4(%r15), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movl	%ebx, %edi
	movq	8(%r15), %rbx
	movslq	(%r15), %r14
	shlq	$6, %r14
	leaq	(%rbx,%r14), %r12
	movq	_OPCODE_INPLACE_BIT@GOTPCREL(%rip), %rdx
	movq	_OPCODE_AUTH_MAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	orl	(%rdx), %eax
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	-72(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	pushq	$0
	pushq	$1
	callq	_control_word_base
	addq	$32, %rsp
	movl	%eax, (%rbx,%r14)
	movq	-48(%rbp), %rdi
	callq	___pa
	movq	%rax, 56(%rbx,%r14)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx,%r14)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	___pa
	movq	%rax, 16(%rbx,%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx,%r14)
	movq	$0, 40(%rbx,%r14)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	___pa
	movq	%rax, 48(%rbx,%r14)
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_crypto_hash_walk_done
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	movl	%eax, %ebx
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_spu_queue_next
	movq	%rax, %r12
	decl	%ebx
	movl	%ebx, (%rax)
	movq	-48(%rbp), %rdi
	callq	___pa
	movq	%rax, 56(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12)
	movups	%xmm0, 24(%r12)
	movups	%xmm0, 40(%r12)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_crypto_hash_walk_done
	movl	%eax, %ebx
	testl	%eax, %eax
	jg	LBB0_5
LBB0_6:
	movq	_CONTROL_END_OF_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_submit_and_wait_for_tail
	movq	_HV_EOK@GOTPCREL(%rip), %rcx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%r12d, %r12d
	subl	(%rdx), %r12d
	cmpq	(%rcx), %rax
	movl	$0, %eax
	cmovel	%eax, %r12d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	testl	%r12d, %r12d
	jne	LBB0_8
## %bb.7:
	movl	4(%r13), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_2:
	negl	%r12d
LBB0_8:
	xorl	%eax, %eax
	callq	_put_cpu
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_CRYPTO_TFM_REQ_MAY_SLEEP,4,2   ## @CRYPTO_TFM_REQ_MAY_SLEEP
	.comm	_cpu_to_cwq,8,3                 ## @cpu_to_cwq
	.comm	_OPCODE_INPLACE_BIT,4,2         ## @OPCODE_INPLACE_BIT
	.comm	_OPCODE_AUTH_MAC,4,2            ## @OPCODE_AUTH_MAC
	.comm	_CONTROL_END_OF_BLOCK,4,2       ## @CONTROL_END_OF_BLOCK
	.comm	_HV_EOK,8,3                     ## @HV_EOK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_n2_do_async_digest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function n2_do_async_digest
_n2_do_async_digest:                    ; @n2_do_async_digest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x6
	mov	x25, x5
	mov	x21, x4
	mov	x20, x3
	mov	x27, x2
	mov	x28, x1
	mov	x19, x0
	bl	_crypto_ahash_reqtfm
	mov	x22, x0
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	ldr	w8, [x19]
	cmp	w8, #16, lsl #12                ; =65536
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ahash_request_ctx
	mov	x20, x0
	mov	x0, x22
	bl	_crypto_ahash_ctx
	ldr	w1, [x0]
	mov	x0, x20
	bl	_ahash_request_set_tfm
Lloh3:
	adrp	x8, _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w10, w9, [x19, #8]
	and	w8, w8, w9
	stp	w10, w8, [x20, #8]
	ldr	d0, [x19]
	str	d0, [x20]
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_crypto_ahash_digest
LBB0_2:
	add	x1, sp, #24
	mov	x0, x19
	bl	_crypto_hash_walk_first
	mov	x22, x0
	bl	_get_cpu
Lloh6:
	adrp	x8, _cpu_to_cwq@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cpu_to_cwq@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x23, [x8, w0, sxtw #3]
	cbz	x23, LBB0_8
; %bb.3:
	add	x0, x23, #4
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	bl	_spin_lock_irqsave
	ldr	x8, [x23, #8]
	ldrsw	x9, [x23]
Lloh9:
	adrp	x10, _OPCODE_INPLACE_BIT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _OPCODE_INPLACE_BIT@GOTPAGEOFF]
	add	x24, x8, x9, lsl #6
Lloh11:
	ldr	w8, [x10]
Lloh12:
	adrp	x9, _OPCODE_AUTH_MAC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _OPCODE_AUTH_MAC@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	wzr, w8, [sp]
	mov	x0, x22
	mov	x1, x26
	mov	w2, #0
	mov	x3, x28
	mov	x4, x27
	mov	w5, #0
	mov	w6, #1
	mov	w7, #0
	bl	_control_word_base
	str	w0, [x24]
	ldr	x0, [sp, #24]
	bl	___pa
	str	x0, [x24, #56]
	str	x25, [x24, #8]
	mov	x0, x21
	bl	___pa
	stp	x0, xzr, [x24, #16]
	stp	xzr, xzr, [x24, #32]
	mov	x0, x21
	bl	___pa
	str	x0, [x24, #48]
	add	x0, sp, #24
	mov	w1, #0
	bl	_crypto_hash_walk_done
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, x0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_spu_queue_next
	mov	x24, x0
	sub	w8, w22, #1
	str	w8, [x0]
	ldr	x0, [sp, #24]
	bl	___pa
	str	x0, [x24, #56]
	movi.2d	v0, #0000000000000000
	stur	q0, [x24, #8]
	stur	q0, [x24, #24]
	stur	q0, [x24, #40]
	add	x0, sp, #24
	mov	w1, #0
	bl	_crypto_hash_walk_done
	mov	x22, x0
	cmp	w0, #0
	b.gt	LBB0_5
LBB0_6:
Lloh15:
	adrp	x8, _CONTROL_END_OF_BLOCK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CONTROL_END_OF_BLOCK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w8, w9, w8
	str	w8, [x24]
	mov	x0, x23
	mov	x1, x24
	bl	_submit_and_wait_for_tail
Lloh18:
	adrp	x8, _HV_EOK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HV_EOK@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _EINVAL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	x0, x8
	csneg	w22, wzr, w9, eq
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_spin_unlock_irqrestore
	cbnz	w22, LBB0_9
; %bb.7:
	ldr	w0, [x19, #4]
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
	b	LBB0_9
LBB0_8:
	neg	w22, w24
LBB0_9:
	bl	_put_cpu
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_CRYPTO_TFM_REQ_MAY_SLEEP,4,2   ; @CRYPTO_TFM_REQ_MAY_SLEEP
	.comm	_cpu_to_cwq,8,3                 ; @cpu_to_cwq
	.comm	_OPCODE_INPLACE_BIT,4,2         ; @OPCODE_INPLACE_BIT
	.comm	_OPCODE_AUTH_MAC,4,2            ; @OPCODE_AUTH_MAC
	.comm	_CONTROL_END_OF_BLOCK,4,2       ; @CONTROL_END_OF_BLOCK
	.comm	_HV_EOK,8,3                     ; @HV_EOK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_n2_do_async_digest
.subsections_via_symbols
