	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_recvstate_reset         ## -- Begin function quicly_recvstate_reset
	.p2align	4, 0x90
_quicly_recvstate_reset:                ## @quicly_recvstate_reset
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_quicly_recvstate_transfer_complete
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	(%rbx), %rax
	cmpq	%r15, %rax
	je	LBB0_3
## %bb.1:
	movq	_UINT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_3:
	movq	16(%rbx), %rax
	movslq	8(%rbx), %rcx
	movq	-8(%rax,%rcx,8), %rax
	cmpq	%r15, %rax
	jle	LBB0_4
LBB0_2:
	movq	_QUICLY_TRANSPORT_ERROR_FINAL_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	addq	$8, %rbx
	subq	%rax, %r15
	movq	%r15, (%r14)
	movq	%rbx, %rdi
	callq	_quicly_ranges_clear
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,8,3                 ## @UINT64_MAX
	.comm	_QUICLY_TRANSPORT_ERROR_FINAL_OFFSET,4,2 ## @QUICLY_TRANSPORT_ERROR_FINAL_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_recvstate_reset         ; -- Begin function quicly_recvstate_reset
	.p2align	2
_quicly_recvstate_reset:                ; @quicly_recvstate_reset
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x1
	mov	x20, x0
	bl	_quicly_recvstate_transfer_complete
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _UINT64_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UINT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x21
	ccmp	x8, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldrsw	x8, [x20, #8]!
	ldr	x9, [x20, #8]
	add	x8, x9, x8, lsl #3
	ldur	x8, [x8, #-8]
	cmp	x8, x21
	b.le	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _QUICLY_TRANSPORT_ERROR_FINAL_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QUICLY_TRANSPORT_ERROR_FINAL_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_3:
	sub	x8, x21, x8
	str	x8, [x19]
	mov	x0, x20
	bl	_quicly_ranges_clear
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,8,3                 ; @UINT64_MAX
	.comm	_QUICLY_TRANSPORT_ERROR_FINAL_OFFSET,4,2 ; @QUICLY_TRANSPORT_ERROR_FINAL_OFFSET
.subsections_via_symbols
