	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function n2_hmac_async_setkey
_n2_hmac_async_setkey:                  ## @n2_hmac_async_setkey
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	callq	_crypto_ahash_ctx
	movq	%rax, %r12
	movq	16(%rax), %rbx
	movq	_shash@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_SHASH_DESC_ON_STACK
	movq	8(%r12), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_crypto_ahash_setkey
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	(%r13), %rax
	movq	%rbx, (%rax)
	movq	%rbx, %rdi
	callq	_crypto_shash_blocksize
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_crypto_shash_digestsize
	movl	%eax, %ebx
	movq	_N2_HASH_KEY_MAX@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setg	%dil
	callq	_BUG_ON
	cmpl	%r14d, %r13d
	jae	LBB0_4
## %bb.2:
	movq	_shash@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	4(%r12), %ecx
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_crypto_shash_digest
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movl	%ebx, %r14d
	jmp	LBB0_6
LBB0_4:
	movq	_N2_HASH_KEY_MAX@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jb	LBB0_6
## %bb.5:
	movl	4(%r12), %edi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
LBB0_6:
	movl	%r14d, (%r12)
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_shash,8,3                      ## @shash
	.comm	_N2_HASH_KEY_MAX,4,2            ## @N2_HASH_KEY_MAX
	.no_dead_strip	_n2_hmac_async_setkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function n2_hmac_async_setkey
_n2_hmac_async_setkey:                  ; @n2_hmac_async_setkey
	.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, x2
	mov	x21, x1
	bl	_crypto_ahash_ctx
	mov	x19, x0
	ldr	x22, [x0, #16]
Lloh0:
	adrp	x24, _shash@GOTPAGE
Lloh1:
	ldr	x24, [x24, _shash@GOTPAGEOFF]
	ldr	x0, [x24]
	mov	x1, x22
	bl	_SHASH_DESC_ON_STACK
	ldr	x0, [x19, #8]
	mov	x1, x21
	mov	x2, x20
	bl	_crypto_ahash_setkey
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x24]
	str	x22, [x8]
	mov	x0, x22
	bl	_crypto_shash_blocksize
	mov	x23, x0
	mov	x0, x22
	bl	_crypto_shash_digestsize
	mov	x22, x0
Lloh2:
	adrp	x25, _N2_HASH_KEY_MAX@GOTPAGE
Lloh3:
	ldr	x25, [x25, _N2_HASH_KEY_MAX@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	cset	w0, gt
	bl	_BUG_ON
	cmp	w23, w20
	b.hs	LBB0_4
; %bb.2:
	ldr	x0, [x24]
	ldr	w3, [x19, #4]
	mov	x1, x21
	mov	x2, x20
	bl	_crypto_shash_digest
	cbnz	w0, LBB0_7
; %bb.3:
	mov	x20, x22
	b	LBB0_6
LBB0_4:
	ldr	w8, [x25]
	cmp	w8, w20
	b.lo	LBB0_6
; %bb.5:
	ldr	w0, [x19, #4]
	mov	x1, x21
	mov	x2, x20
	bl	_memcpy
LBB0_6:
	mov	w0, #0
	str	w20, [x19]
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_shash,8,3                      ; @shash
	.comm	_N2_HASH_KEY_MAX,4,2            ; @N2_HASH_KEY_MAX
	.no_dead_strip	_n2_hmac_async_setkey
.subsections_via_symbols
