	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_hmac_token
_check_hmac_token:                      ## @check_hmac_token
	.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	%r12
	pushq	%rbx
	subq	$144, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_hmac_ctx_size
	xorl	%edi, %edi
	cmpl	$32, %eax
	sete	%dil
	callq	_ASSERT
	movq	%rbx, %rdi
	callq	_hmac_ctx_reset
	movq	%r15, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_hmac_ctx_update
	movq	_TOKEN_DATA_LEN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	addl	$-32, %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_hmac_ctx_update
	leaq	-176(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_hmac_ctx_final
	movslq	(%r12), %rax
	leaq	(%r14,%rax,4), %rsi
	addq	$-128, %rsi
	movq	%r15, %rdi
	movl	$32, %edx
	callq	_memcmp_constant_time
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%cl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-40(%rbp), %rdx
	jne	LBB0_2
## %bb.1:
	movb	%cl, %al
	addq	$144, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TOKEN_DATA_LEN,4,2             ## @TOKEN_DATA_LEN
	.no_dead_strip	_check_hmac_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_hmac_token
_check_hmac_token:                      ; @check_hmac_token
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_hmac_ctx_size
	cmp	w0, #32
	cset	w0, eq
	bl	_ASSERT
	mov	x0, x21
	bl	_hmac_ctx_reset
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_hmac_ctx_update
Lloh3:
	adrp	x19, _TOKEN_DATA_LEN@GOTPAGE
Lloh4:
	ldr	x19, [x19, _TOKEN_DATA_LEN@GOTPAGEOFF]
	ldr	w8, [x19]
	sub	w2, w8, #32
	mov	x0, x21
	mov	x1, x20
	bl	_hmac_ctx_update
	add	x1, sp, #8
	mov	x0, x21
	bl	_hmac_ctx_final
	ldrsw	x8, [x19]
	add	x8, x20, x8, lsl #2
	sub	x1, x8, #128
	add	x0, sp, #8
	mov	w2, #32
	bl	_memcmp_constant_time
	cmp	x0, #0
	cset	w0, eq
	ldur	x8, [x29, #-40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TOKEN_DATA_LEN,4,2             ; @TOKEN_DATA_LEN
	.no_dead_strip	_check_hmac_token
.subsections_via_symbols
