	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_retry_calc_cidpair_hash ## -- Begin function quicly_retry_calc_cidpair_hash
	.p2align	4, 0x90
_quicly_retry_calc_cidpair_hash:        ## @quicly_retry_calc_cidpair_hash
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PTLS_SHA256_DIGEST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_QUICLY_MAX_CID_LEN_V1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	addl	$2, %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	leaq	8(%r13), %rdi
	movq	%r14, (%r13)
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_memcpy
	leaq	8(,%r14,8), %rbx
	addq	%r13, %rbx
	leaq	16(%r13,%r14,8), %rdi
	movq	%r12, 8(%r13,%r14,8)
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	callq	_memcpy
	leaq	(%rbx,%r12,8), %rcx
	addq	$8, %rcx
	subq	%r13, %rcx
	shrq	$3, %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r13, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_ptls_calc_hash
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r15, -80(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_quicly_decode64
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PTLS_SHA256_DIGEST_SIZE,4,2    ## @PTLS_SHA256_DIGEST_SIZE
	.comm	_QUICLY_MAX_CID_LEN_V1,4,2      ## @QUICLY_MAX_CID_LEN_V1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_retry_calc_cidpair_hash ; -- Begin function quicly_retry_calc_cidpair_hash
	.p2align	2
_quicly_retry_calc_cidpair_hash:        ; @quicly_retry_calc_cidpair_hash
	.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
	sub	sp, sp, #16
	mov	x19, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _PTLS_SHA256_DIGEST_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PTLS_SHA256_DIGEST_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh8:
	adrp	x8, _QUICLY_MAX_CID_LEN_V1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QUICLY_MAX_CID_LEN_V1@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	w8, w8, #1
	add	w8, w8, #2
	lsl	x8, x8, #3
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x25, x9, x8
	mov	sp, x25
	mov	x26, x25
	str	x1, [x26], #8
	mov	x0, x26
	mov	x1, x2
	mov	x2, x23
	bl	_memcpy
	add	x23, x26, x23, lsl #3
	str	x22, [x23], #8
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	add	x8, x23, x22, lsl #3
	sub	x8, x8, x25
	lsr	x3, x8, #3
	mov	x0, x24
	mov	x1, x20
	mov	x2, x25
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_ptls_calc_hash
	mov	x21, x0
	cbnz	w0, LBB0_2
; %bb.1:
	stur	x20, [x29, #-80]
	sub	x0, x29, #80
	bl	_quicly_decode64
	str	w0, [x19]
LBB0_2:
	ldur	x8, [x29, #-72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	sub	sp, x29, #64
	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
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PTLS_SHA256_DIGEST_SIZE,4,2    ; @PTLS_SHA256_DIGEST_SIZE
	.comm	_QUICLY_MAX_CID_LEN_V1,4,2      ; @QUICLY_MAX_CID_LEN_V1
.subsections_via_symbols
