	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hmac_final
_hmac_final:                            ## @hmac_final
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_PTLS_HASH_FINAL_MODE_SNAPSHOT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%edx, (%rax)
	setne	%dil
	callq	_assert
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rdi
	movq	%r15, %rsi
	movl	$128, %edx
	callq	*(%rdi)
	movq	%rbx, %rdi
	movl	$92, %esi
	callq	_hmac_apply_key
	movq	(%rbx), %rax
	movq	16(%rbx), %rdi
	movl	4(%rax), %edx
	movq	%r15, %rsi
	callq	*8(%rdi)
LBB0_2:
	movq	16(%rbx), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	*(%rdi)
	cmpl	$128, %r14d
	je	LBB0_5
## %bb.3:
	cmpl	$129, %r14d
	jne	LBB0_6
## %bb.4:
	movl	8(%rbx), %edi
	movq	(%rbx), %rax
	movl	(%rax), %esi
	callq	_ptls_clear_memory
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	movl	$54, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hmac_apply_key                 ## TAILCALL
LBB0_6:
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PTLS_HASH_FINAL_MODE_SNAPSHOT,4,2 ## @PTLS_HASH_FINAL_MODE_SNAPSHOT
	.no_dead_strip	_hmac_final
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hmac_final
_hmac_final:                            ; @hmac_final
	.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, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PTLS_HASH_FINAL_MODE_SNAPSHOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTLS_HASH_FINAL_MODE_SNAPSHOT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	cset	w0, ne
	bl	_assert
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x0, [x19, #16]
	ldr	x8, [x0]
	mov	x1, x21
	mov	w2, #128
	blr	x8
	mov	x0, x19
	mov	w1, #92
	bl	_hmac_apply_key
	ldr	x0, [x19, #16]
	ldr	x8, [x0, #8]
	ldr	x9, [x19]
	ldr	w2, [x9, #4]
	mov	x1, x21
	blr	x8
LBB0_2:
	ldr	x0, [x19, #16]
	ldr	x8, [x0]
	mov	x1, x21
	mov	x2, x20
	blr	x8
	cmp	w20, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w20, #129
	b.ne	LBB0_6
; %bb.4:
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	ldr	w1, [x8]
	bl	_ptls_clear_memory
	mov	x0, 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	_free
LBB0_5:
	mov	x0, x19
	mov	w1, #54
	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	_hmac_apply_key
LBB0_6:
	mov	w0, #0
	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	_assert
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PTLS_HASH_FINAL_MODE_SNAPSHOT,4,2 ; @PTLS_HASH_FINAL_MODE_SNAPSHOT
	.no_dead_strip	_hmac_final
.subsections_via_symbols
