	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_token
_validate_token:                        ## @validate_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	(%rdi), %rax
	movq	(%rax), %rdi
	callq	*(%rdi)
	movq	%rax, %rbx
	subq	(%r13), %rbx
	xorl	%r14d, %r14d
	testq	%rbx, %rbx
	cmovleq	%r14, %rbx
	leaq	24(%r13), %rsi
	movq	16(%r13), %rdx
	movq	%r15, %rdi
	callq	_h2o_socket_compare_address
	testq	%rax, %rax
	je	LBB0_1
LBB0_7:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpq	$0, 16(%r13)
	je	LBB0_5
## %bb.2:
	cmpq	$30000, %rbx                    ## imm = 0x7530
	ja	LBB0_7
## %bb.3:
	movq	_ptls_openssl_sha256@GOTPCREL(%rip), %rdi
	leaq	-56(%rbp), %rcx
	movl	%r12d, %esi
	callq	_quicly_retry_calc_cidpair_hash
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	movq	8(%r13), %rax
	cmpq	-56(%rbp), %rax
	jne	LBB0_7
	jmp	LBB0_6
LBB0_5:
	cmpq	$600000, %rbx                   ## imm = 0x927C0
	ja	LBB0_7
LBB0_6:
	movl	$1, %r14d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ptls_openssl_sha256,4,2        ## @ptls_openssl_sha256
	.no_dead_strip	_validate_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_token
_validate_token:                        ; @validate_token
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	ldr	x8, [x0]
	ldr	x0, [x8]
	ldr	x8, [x0]
	blr	x8
	ldr	x8, [x19]
	sub	x8, x0, x8
	cmp	x8, #0
	csel	x23, x8, xzr, gt
	add	x1, x19, #24
	ldr	x2, [x19, #16]
	mov	x0, x22
	bl	_h2o_socket_compare_address
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #0
LBB0_2:
	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
LBB0_3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.4:
	mov	w8, #30000
	cmp	x23, x8
	b.hi	LBB0_1
; %bb.5:
Lloh0:
	adrp	x0, _ptls_openssl_sha256@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ptls_openssl_sha256@GOTPAGEOFF]
	add	x3, sp, #8
	mov	x1, x21
	mov	x2, x20
	bl	_quicly_retry_calc_cidpair_hash
	cbnz	x0, LBB0_1
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.ne	LBB0_1
	b	LBB0_8
LBB0_7:
	mov	w8, #10176
	movk	w8, #9, lsl #16
	cmp	x23, x8
	b.hi	LBB0_1
LBB0_8:
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ptls_openssl_sha256,4,2        ; @ptls_openssl_sha256
	.no_dead_strip	_validate_token
.subsections_via_symbols
