	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auth_token_test_timeout
_auth_token_test_timeout:               ## @auth_token_test_timeout
	.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), %rbx
	movq	_now@GOTPCREL(%rip), %rax
	movl	$100000, (%rax)                 ## imm = 0x186A0
	movq	%rax, %r13
	leaq	32(%rbx), %r14
	leaq	8(%rbx), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_generate_auth_token
	movl	16(%rbx), %esi
	movl	32(%rbx), %edi
	callq	_strcpy
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_verify_auth_token
	movq	_AUTH_TOKEN_HMAC_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_assert_int_equal
	movl	$99900, (%r13)                  ## imm = 0x1863C
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_verify_auth_token
	movq	_AUTH_TOKEN_EXPIRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%r12), %esi
	movl	%eax, %edi
	callq	_assert_int_equal
	movq	(%rbx), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	addl	$99980, %eax                    ## imm = 0x1868C
	movl	%eax, (%r13)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_verify_auth_token
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_assert_int_equal
	movq	(%rbx), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	addl	$100020, %eax                   ## imm = 0x186B4
	movl	%eax, (%r13)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_verify_auth_token
	movq	_AUTH_TOKEN_EXPIRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%r12), %esi
	movl	%eax, %edi
	callq	_assert_int_equal
	movl	32(%rbx), %edi
	callq	_strdup
	movq	%rax, 24(%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_verify_auth_token
	movl	(%r12), %esi
	movl	%eax, %edi
	callq	_assert_int_equal
	movq	(%rbx), %rax
	movl	$100001, %ecx                   ## imm = 0x186A1
	movl	4(%rax), %eax
	addl	%ecx, %eax
	movl	%eax, (%r13)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_verify_auth_token
	movq	_AUTH_TOKEN_EXPIRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r12, %r13
	orl	(%r12), %esi
	movl	%eax, %edi
	callq	_assert_int_equal
	movq	24(%rbx), %rdi
	callq	_free
	movq	_now@GOTPCREL(%rip), %r12
	movq	$0, 24(%rbx)
	movl	$100000, (%r12)                 ## imm = 0x186A0
	movq	(%rbx), %rax
	cmpl	$0, 4(%rax)
	js	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_verify_auth_token
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_assert_int_equal
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_generate_auth_token
	movl	16(%rbx), %esi
	movl	32(%rbx), %edi
	callq	_strcpy
	movq	(%rbx), %rax
	movl	(%r12), %ecx
	addl	(%rax), %ecx
	movl	%ecx, (%r12)
	movl	4(%rax), %eax
	movl	$100001, %esi                   ## imm = 0x186A1
	addl	%esi, %eax
	cmpl	%eax, %ecx
	jl	LBB0_1
LBB0_2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_verify_auth_token
	movq	_AUTH_TOKEN_EXPIRED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%r13), %esi
	movl	%eax, %edi
	callq	_assert_int_equal
	movq	$0, 8(%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_verify_auth_token
	movl	(%r13), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert_int_equal               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_now,4,2                        ## @now
	.comm	_AUTH_TOKEN_HMAC_OK,4,2         ## @AUTH_TOKEN_HMAC_OK
	.comm	_AUTH_TOKEN_EXPIRED,4,2         ## @AUTH_TOKEN_EXPIRED
	.no_dead_strip	_auth_token_test_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auth_token_test_timeout
_auth_token_test_timeout:               ; @auth_token_test_timeout
	.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	w22, #34464
	movk	w22, #1, lsl #16
	ldr	x19, [x0]
Lloh0:
	adrp	x24, _now@GOTPAGE
Lloh1:
	ldr	x24, [x24, _now@GOTPAGEOFF]
	str	w22, [x24]
	add	x20, x19, #32
	add	x21, x19, #8
	mov	x0, x20
	mov	x1, x21
	bl	_generate_auth_token
	ldr	w0, [x19, #32]
	ldr	w1, [x19, #16]
	bl	_strcpy
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
Lloh2:
	adrp	x23, _AUTH_TOKEN_HMAC_OK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _AUTH_TOKEN_HMAC_OK@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_assert_int_equal
	sub	w8, w22, #100
	str	w8, [x24]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
	ldr	w8, [x23]
Lloh4:
	adrp	x25, _AUTH_TOKEN_EXPIRED@GOTPAGE
Lloh5:
	ldr	x25, [x25, _AUTH_TOKEN_EXPIRED@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w1, w9, w8
	bl	_assert_int_equal
	ldr	x8, [x19]
	ldr	w8, [x8]
	add	w8, w22, w8, lsl #1
	sub	w8, w8, #20
	str	w8, [x24]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
	ldr	w1, [x23]
	bl	_assert_int_equal
	ldr	x8, [x19]
	ldr	w8, [x8]
	add	w8, w22, w8, lsl #1
	add	w8, w8, #20
	str	w8, [x24]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
	ldr	w8, [x23]
	ldr	w9, [x25]
	orr	w1, w9, w8
	bl	_assert_int_equal
	ldr	w0, [x19, #32]
	bl	_strdup
	str	x0, [x19, #24]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
	ldr	w1, [x23]
	bl	_assert_int_equal
	ldr	x8, [x19]
	ldr	w8, [x8, #4]
	add	w8, w8, w22
	add	w8, w8, #1
	str	w8, [x24]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
	ldr	w8, [x23]
	ldr	w9, [x25]
	orr	w1, w9, w8
	bl	_assert_int_equal
	ldr	x0, [x19, #24]
	bl	_free
	str	xzr, [x19, #24]
	str	w22, [x24]
	ldr	x8, [x19]
	ldr	w8, [x8, #4]
	tbnz	w8, #31, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
	ldr	w1, [x23]
	bl	_assert_int_equal
	mov	x0, x20
	mov	x1, x21
	bl	_generate_auth_token
	ldr	w0, [x19, #32]
	ldr	w1, [x19, #16]
	bl	_strcpy
	ldr	x8, [x19]
	ldr	w9, [x24]
	ldp	w10, w8, [x8]
	add	w8, w22, w8
	add	w8, w8, #1
	add	w9, w9, w10
	cmp	w9, w8
	str	w9, [x24]
	b.lt	LBB0_1
LBB0_2:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
	ldr	w8, [x23]
	ldr	w9, [x25]
	orr	w1, w9, w8
	bl	_assert_int_equal
	str	xzr, [x19, #8]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_verify_auth_token
	ldr	w1, [x23]
	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
	b	_assert_int_equal
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_now,4,2                        ; @now
	.comm	_AUTH_TOKEN_HMAC_OK,4,2         ; @AUTH_TOKEN_HMAC_OK
	.comm	_AUTH_TOKEN_EXPIRED,4,2         ; @AUTH_TOKEN_EXPIRED
	.no_dead_strip	_auth_token_test_timeout
.subsections_via_symbols
