	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auth_token_fail_invalid_key
_auth_token_fail_invalid_key:           ## @auth_token_fail_invalid_key
	.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
	movq	(%rdi), %r15
	leaq	12(%r15), %r14
	leaq	4(%r15), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_generate_auth_token
	movl	8(%r15), %esi
	movl	12(%r15), %edi
	callq	_strcpy
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_verify_auth_token
	movq	_AUTH_TOKEN_HMAC_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_assert_int_equal
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movl	$49, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_free_key_ctx
	leaq	16(%r15), %r13
	leaq	L_.str(%rip), %r8
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_init_key_ctx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_verify_auth_token
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_assert_int_equal
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_free_key_ctx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	leaq	L_.str(%rip), %r8
	callq	_init_key_ctx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_verify_auth_token
	movq	_AUTH_TOKEN_HMAC_OK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_assert_int_equal
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTH_TOKEN_HMAC_OK,4,2         ## @AUTH_TOKEN_HMAC_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TEST"

	.no_dead_strip	_auth_token_fail_invalid_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auth_token_fail_invalid_key
_auth_token_fail_invalid_key:           ; @auth_token_fail_invalid_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	x19, [x0]
	add	x20, x19, #12
	add	x21, x19, #4
	mov	x0, x20
	mov	x1, x21
	bl	_generate_auth_token
	ldp	w1, w0, [x19, #8]
	bl	_strcpy
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
Lloh0:
	adrp	x24, _AUTH_TOKEN_HMAC_OK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AUTH_TOKEN_HMAC_OK@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_assert_int_equal
	add	x0, sp, #8
	mov	w1, #49
	mov	w2, #4
	bl	_memset
	mov	x0, x21
	bl	_free_key_ctx
	add	x22, x19, #16
Lloh2:
	adrp	x23, l_.str@PAGE
Lloh3:
	add	x23, x23, l_.str@PAGEOFF
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x22
	mov	w3, #0
	mov	x4, x23
	bl	_init_key_ctx
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
	mov	w1, #0
	bl	_assert_int_equal
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x21
	bl	_free_key_ctx
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x22
	mov	w3, #0
	mov	x4, x23
	bl	_init_key_ctx
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
	ldr	w1, [x24]
	bl	_assert_int_equal
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTH_TOKEN_HMAC_OK,4,2         ; @AUTH_TOKEN_HMAC_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TEST"

	.no_dead_strip	_auth_token_fail_invalid_key
.subsections_via_symbols
