	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_receive                 ## -- Begin function quicly_receive
	.p2align	4, 0x90
_quicly_receive:                        ## @quicly_receive
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_QUICLY_FRAME_TYPE_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	56(%rdi), %edi
	callq	_update_now
	movq	_RECEIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	callq	_probe_now
	movl	%eax, %ebx
	movl	40(%r13), %esi
	movl	44(%r13), %edi
	callq	_QUICLY_PROBE_HEXDUMP
	movslq	%eax, %rcx
	movq	8(%r13), %r8
	movq	16(%r13), %r9
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_QUICLY_PROBE
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_is_stateless_reset
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%r15, %rdi
	callq	_handle_stateless_reset
LBB0_2:
	movl	%eax, %r12d
LBB0_3:
	cmpl	$134, %r12d
	je	LBB0_79
## %bb.4:
	testl	%r12d, %r12d
	je	LBB0_76
## %bb.5:
	movl	-52(%rbp), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_initiate_close
	xorl	%r12d, %r12d
	jmp	LBB0_79
LBB0_6:
	movl	16(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_76
## %bb.7:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.8:
	movl	$128, 16(%r15)
	movl	$0, 4(%r15)
LBB0_76:
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, (%r15)
	jge	LBB0_78
## %bb.77:
	movl	%eax, (%r15)
LBB0_78:
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_assert_consistency
LBB0_79:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	8(%r13), %rax
	movl	(%rax), %edi
	callq	_QUICLY_PACKET_IS_LONG_HEADER
	testq	%rax, %rax
	je	LBB0_34
## %bb.10:
	movl	16(%r15), %eax
	movq	_QUICLY_STATE_FIRSTFLIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_12
## %bb.11:
	cmpq	$0, (%r13)
	je	LBB0_80
LBB0_12:
	movq	8(%r13), %rdx
	movq	_QUICLY_PACKET_TYPE_BITMASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	(%rdx), %esi
	movl	$134, %r12d
	addl	$-130, %esi
	cmpl	$3, %esi
	ja	LBB0_79
## %bb.13:
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rsi,4), %rsi
	addq	%rdi, %rsi
	jmpq	*%rsi
LBB0_14:
	movq	48(%r13), %rax
	movq	_QUICLY_MAX_TOKEN_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_79
## %bb.15:
	movslq	64(%r13), %rax
	leaq	(%rdx,%rax,4), %rdi
	movq	56(%r13), %rsi
	subq	%rdi, %rsi
	sarq	$2, %rsi
	callq	_ptls_iovec_init
	leaq	32(%r15), %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_quicly_cid_is_equal
	testl	%eax, %eax
	je	LBB0_79
## %bb.16:
	movq	24(%r13), %rsi
	movq	32(%r13), %rdx
	movq	%r14, %rdi
	callq	_quicly_cid_is_equal
	testl	%eax, %eax
	jne	LBB0_79
## %bb.17:
	cmpq	$0, 96(%r15)
	jne	LBB0_79
## %bb.18:
	movq	112(%r15), %rdi
	callq	_free
	movq	48(%r13), %r12
	movq	%r12, %rdi
	callq	_malloc
	movq	%rax, 112(%r15)
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	leaq	96(%r15), %rbx
	movq	56(%r13), %rsi
	movq	%rax, %rdi
	movq	%r12, %rdx
	callq	_memcpy
	movq	48(%r13), %rax
	movq	%rax, 120(%r15)
	movups	(%r14), %xmm0
	movups	%xmm0, (%rbx)
	movq	24(%r13), %rsi
	movq	32(%r13), %rdx
	movq	%r14, %rdi
	callq	_set_cid
	movq	80(%r15), %rdi
	callq	_dispose_cipher
	movq	80(%r15), %rdi
	addq	$16, %rdi
	callq	_dispose_cipher
	movl	56(%r15), %edi
	callq	_get_aes128gcmsha256
	movl	%eax, %r14d
	movq	80(%r15), %rbx
	leaq	16(%rbx), %r12
	movq	32(%r15), %rsi
	movq	40(%r15), %rdi
	callq	_ptls_iovec_init
	movq	%rdx, %r8
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movq	%rax, %rcx
	movl	$1, %r9d
	callq	_setup_initial_encryption
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.21:
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_discard_sentmap_by_epoch
	jmp	LBB0_2
LBB0_34:
	movq	88(%r15), %rdx
	movl	$134, %r12d
	testq	%rdx, %rdx
	je	LBB0_79
## %bb.35:
	movq	8(%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_79
## %bb.36:
	leaq	88(%r15), %r12
	movq	(%rdx), %rsi
	movl	$137, %eax
	jmp	LBB0_37
LBB0_80:
	movq	%r15, %rdi
	movq	%r13, %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_handle_version_negotiation_packet ## TAILCALL
LBB0_22:
	movq	80(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_79
## %bb.23:
	movq	8(%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_79
## %bb.24:
	leaq	80(%r15), %r12
	cmpl	%ecx, %eax
	jne	LBB0_26
## %bb.25:
	movq	%r15, %rdi
	callq	_quicly_is_client
	movl	%eax, %edi
	callq	_assert
	movq	40(%r15), %rdi
	movq	24(%r13), %rsi
	movq	32(%r13), %rdx
	callq	_memcpy
	movq	32(%r13), %rax
	movq	%rax, 32(%r15)
	movq	80(%r15), %rdx
LBB0_26:
	movl	$135, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	jmp	LBB0_38
LBB0_27:
	movq	72(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_79
## %bb.28:
	movq	16(%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_79
## %bb.29:
	leaq	72(%r15), %r12
	movq	%rdx, %rsi
	addq	$8, %rsi
	movl	$136, %eax
	jmp	LBB0_37
LBB0_30:
	movq	%r15, %rdi
	callq	_quicly_is_client
	testl	%eax, %eax
	jne	LBB0_79
## %bb.31:
	movq	88(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_79
## %bb.32:
	movq	16(%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_79
## %bb.33:
	leaq	88(%r15), %r12
	movq	(%rdx), %rsi
	movq	_QUICLY_EPOCH_0RTT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_37:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_38:
	leaq	-44(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r13, %rcx
	callq	_decrypt_packet
	testq	%rax, %rax
	je	LBB0_39
## %bb.40:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_41
## %bb.42:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	_CRYPTO_DECRYPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	-44(%rbp), %edx
	movq	%r15, %rsi
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_QUICLY_PROBE
	movq	_QUICTRACE_RECV@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	callq	_probe_now
	movslq	-44(%rbp), %rcx
	movl	%r12d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_QUICLY_PROBE
	movl	16(%r15), %eax
	movq	_QUICLY_STATE_FIRSTFLIGHT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_44
## %bb.43:
	movq	_QUICLY_STATE_CONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
LBB0_44:
	incl	52(%r15)
	movl	16(%r13), %eax
	addl	%eax, 48(%r15)
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	cmpq	$136, %r13
	jne	LBB0_48
## %bb.45:
	cmpq	$0, 80(%r15)
	je	LBB0_48
## %bb.46:
	movq	%r15, %rdi
	callq	_discard_initial_context
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.47:
	movq	%r15, %rdi
	callq	_update_loss_alarm
	movl	$1, 28(%r15)
LBB0_48:
	leaq	-52(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	callq	_handle_payload
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.49:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_51
## %bb.50:
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movq	%r15, %rdi
	movq	%r13, %r8
	callq	_record_receipt
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_3
LBB0_51:
	cmpq	$137, %r13
	je	LBB0_72
## %bb.52:
	cmpq	$136, %r13
	je	LBB0_59
## %bb.53:
	cmpq	$135, %r13
	jne	LBB0_75
## %bb.54:
	xorl	%edi, %edi
	cmpq	$0, 80(%r15)
	setne	%dil
	callq	_assert
	movq	%r15, %rdi
	callq	_quicly_is_client
	testl	%eax, %eax
	je	LBB0_75
## %bb.55:
	movq	72(%r15), %rax
	testq	%rax, %rax
	je	LBB0_75
## %bb.56:
	cmpq	$0, (%rax)
	je	LBB0_75
## %bb.57:
	movq	%r15, %rdi
	callq	_discard_initial_context
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.58:
	movq	%r15, %rdi
	callq	_update_loss_alarm
	jmp	LBB0_75
LBB0_39:
	movl	$134, %r12d
	jmp	LBB0_79
LBB0_41:
	movq	_QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_3
LBB0_72:
	cmpl	$0, -48(%rbp)
	jne	LBB0_75
## %bb.73:
	movq	%r15, %rdi
	callq	_should_send_max_data
	testl	%eax, %eax
	je	LBB0_75
## %bb.74:
	movl	$0, 4(%r15)
	jmp	LBB0_75
LBB0_59:
	cmpl	$0, 64(%r15)
	je	LBB0_60
LBB0_65:
	movq	%r15, %rdi
	callq	_quicly_is_client
	testl	%eax, %eax
	je	LBB0_75
## %bb.66:
	testq	%r14, %r14
	je	LBB0_75
## %bb.67:
	movl	20(%r15), %eax
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_75
## %bb.68:
	cmpl	%eax, (%r14)
	je	LBB0_75
## %bb.69:
	movl	68(%r15), %edi
	callq	_ptls_handshake_is_complete
	testl	%eax, %eax
	je	LBB0_75
## %bb.70:
	cmpl	$0, 24(%r15)
	je	LBB0_75
## %bb.71:
	leaq	20(%r15), %rdi
	movq	%r14, %rsi
	callq	_set_address
LBB0_75:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_update_idle_timeout
	jmp	LBB0_76
LBB0_60:
	movl	68(%r15), %edi
	callq	_ptls_handshake_is_complete
	testl	%eax, %eax
	je	LBB0_65
## %bb.61:
	movq	%r15, %rdi
	movl	$-137, %esi
	callq	_quicly_get_stream
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	jne	LBB0_65
## %bb.62:
	leaq	12(%r15), %rbx
	movl	8(%r15), %esi
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$136, %ecx
	movq	%rbx, %rdi
	callq	_quicly_sentmap_prepare
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.63:
	movq	_discard_handshake_context@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_quicly_sentmap_allocate
	testq	%rax, %rax
	je	LBB0_19
## %bb.64:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_quicly_sentmap_commit
	incl	8(%r15)
	movl	$1, 64(%r15)
	jmp	LBB0_65
LBB0_19:
	movq	_PTLS_ERROR_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_3
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_22
	.long	L0_0_set_27
	.long	L0_0_set_30
	.end_data_region
                                        ## -- End function
	.comm	_QUICLY_FRAME_TYPE_PADDING,4,2  ## @QUICLY_FRAME_TYPE_PADDING
	.comm	_RECEIVE,4,2                    ## @RECEIVE
	.comm	_QUICLY_STATE_FIRSTFLIGHT,4,2   ## @QUICLY_STATE_FIRSTFLIGHT
	.comm	_QUICLY_PACKET_TYPE_BITMASK,4,2 ## @QUICLY_PACKET_TYPE_BITMASK
	.comm	_QUICLY_MAX_TOKEN_LEN,8,3       ## @QUICLY_MAX_TOKEN_LEN
	.comm	_PTLS_ERROR_NO_MEMORY,4,2       ## @PTLS_ERROR_NO_MEMORY
	.comm	_QUICLY_EPOCH_0RTT,8,3          ## @QUICLY_EPOCH_0RTT
	.comm	_QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION,4,2 ## @QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION
	.comm	_CRYPTO_DECRYPT,4,2             ## @CRYPTO_DECRYPT
	.comm	_QUICTRACE_RECV,4,2             ## @QUICTRACE_RECV
	.comm	_QUICLY_STATE_CONNECTED,4,2     ## @QUICLY_STATE_CONNECTED
	.comm	_now,4,2                        ## @now
	.comm	_discard_handshake_context,4,2  ## @discard_handshake_context
	.comm	_AF_UNSPEC,4,2                  ## @AF_UNSPEC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quicly_receive                 ; -- Begin function quicly_receive
	.p2align	2
_quicly_receive:                        ; @quicly_receive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x3
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _QUICLY_FRAME_TYPE_PADDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QUICLY_FRAME_TYPE_PADDING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	w0, [x0, #56]
	bl	_update_now
Lloh3:
	adrp	x8, _RECEIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RECEIVE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	bl	_probe_now
	mov	x23, x0
	ldp	w1, w0, [x21, #40]
	bl	_QUICLY_PROBE_HEXDUMP
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x3, w0
	ldp	x8, x9, [x21, #8]
	stp	x8, x9, [sp]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	bl	_QUICLY_PROBE
	mov	x0, x19
	mov	x1, x21
	bl	_is_stateless_reset
	cbz	x0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	_handle_stateless_reset
LBB0_2:
	mov	x1, x0
LBB0_3:
	cmp	w1, #134
	b.eq	LBB0_13
; %bb.4:
	cbz	w1, LBB0_9
; %bb.5:
	ldr	w2, [sp, #24]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_initiate_close
	b	LBB0_12
LBB0_6:
	ldr	w8, [x19, #16]
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.7:
	cmp	w8, #129
	b.ne	LBB0_14
; %bb.8:
	mov	w8, #128
	str	w8, [x19, #16]
	str	wzr, [x19, #4]
LBB0_9:
	ldr	w9, [x19]
Lloh8:
	adrp	x8, _now@GOTPAGE
Lloh9:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w9, w8
	b.ge	LBB0_11
; %bb.10:
	str	w8, [x19]
LBB0_11:
	mov	x0, x19
	mov	w1, #0
	bl	_assert_consistency
LBB0_12:
	mov	w1, #0
LBB0_13:
	mov	x0, x1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_14:
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_QUICLY_PACKET_IS_LONG_HEADER
	cbz	x0, LBB0_26
; %bb.15:
	ldr	w8, [x19, #16]
Lloh11:
	adrp	x9, _QUICLY_STATE_FIRSTFLIGHT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _QUICLY_STATE_FIRSTFLIGHT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.16:
	ldr	x10, [x21]
	cbz	x10, LBB0_29
LBB0_17:
	ldr	x10, [x21, #8]
	ldr	w11, [x10]
Lloh14:
	adrp	x12, _QUICLY_PACKET_TYPE_BITMASK@GOTPAGE
Lloh15:
	ldr	x12, [x12, _QUICLY_PACKET_TYPE_BITMASK@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	and	w11, w12, w11
	sub	w11, w11, #130
	cmp	w11, #3
	b.hi	LBB0_61
; %bb.18:
Lloh17:
	adrp	x12, lJTI0_0@PAGE
Lloh18:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_19
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_19:
	ldr	x8, [x21, #48]
Lloh19:
	adrp	x9, _QUICLY_MAX_TOKEN_LEN@GOTPAGE
Lloh20:
	ldr	x9, [x9, _QUICLY_MAX_TOKEN_LEN@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_61
; %bb.20:
	ldrsw	x8, [x21, #64]
	add	x0, x10, x8, lsl #2
	ldr	x8, [x21, #56]
	sub	x8, x8, x0
	asr	x1, x8, #2
	bl	_ptls_iovec_init
	mov	x2, x0
	mov	x3, x1
	add	x20, x19, #32
	mov	x0, x20
	mov	x1, x2
	mov	x2, x3
	bl	_quicly_cid_is_equal
	cbz	w0, LBB0_61
; %bb.21:
	ldp	x1, x2, [x21, #24]
	mov	x0, x20
	bl	_quicly_cid_is_equal
	cbnz	w0, LBB0_61
; %bb.22:
	mov	x23, x19
	ldr	x8, [x23, #96]!
	cbnz	x8, LBB0_61
; %bb.23:
	ldr	x0, [x19, #112]
	bl	_free
	ldr	x22, [x21, #48]
	mov	x0, x22
	bl	_malloc
	str	x0, [x19, #112]
	cbz	x0, LBB0_80
; %bb.24:
	ldr	x1, [x21, #56]
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [x21, #48]
	str	x8, [x19, #120]
	ldr	q0, [x20]
	str	q0, [x23]
	ldp	x1, x2, [x21, #24]
	mov	x0, x20
	bl	_set_cid
	ldr	x0, [x19, #80]
	bl	_dispose_cipher
	ldr	x8, [x19, #80]
	add	x0, x8, #16
	bl	_dispose_cipher
	ldr	w0, [x19, #56]
	bl	_get_aes128gcmsha256
	mov	x20, x0
	ldr	x21, [x19, #80]
	add	x22, x21, #16
	ldp	x1, x0, [x19, #32]
	bl	_ptls_iovec_init
	mov	x3, x0
	mov	x4, x1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w5, #1
	bl	_setup_initial_encryption
	mov	x1, x0
	cbnz	w0, LBB0_3
; %bb.25:
	mov	x0, x19
	mov	w1, #-1
	bl	_discard_sentmap_by_epoch
	b	LBB0_2
LBB0_26:
	mov	x26, x19
	ldr	x2, [x26, #88]!
	cbz	x2, LBB0_61
; %bb.27:
	ldr	x23, [x2, #8]
	cbz	x23, LBB0_61
; %bb.28:
	ldr	x1, [x2]
	mov	w22, #137
	b	LBB0_42
LBB0_29:
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_handle_version_negotiation_packet
LBB0_30:
	mov	x26, x19
	ldr	x2, [x26, #80]!
	cbz	x2, LBB0_61
; %bb.31:
	ldr	x23, [x2, #8]
	cbz	x23, LBB0_61
; %bb.32:
	cmp	w8, w9
	b.ne	LBB0_34
; %bb.33:
	mov	x0, x19
	bl	_quicly_is_client
	bl	_assert
	ldr	x0, [x19, #40]
	ldp	x1, x2, [x21, #24]
	bl	_memcpy
	ldr	x8, [x21, #32]
	str	x8, [x19, #32]
	ldr	x2, [x19, #80]
LBB0_34:
	mov	w22, #135
	mov	x1, x2
	b	LBB0_42
LBB0_35:
	mov	x26, x19
	ldr	x2, [x26, #72]!
	cbz	x2, LBB0_61
; %bb.36:
	ldr	x23, [x2, #16]
	cbz	x23, LBB0_61
; %bb.37:
	add	x1, x2, #8
	mov	w22, #136
	b	LBB0_42
LBB0_38:
	mov	x0, x19
	bl	_quicly_is_client
	cbnz	w0, LBB0_61
; %bb.39:
	mov	x26, x19
	ldr	x2, [x26, #88]!
	cbz	x2, LBB0_61
; %bb.40:
	ldr	x23, [x2, #16]
	cbz	x23, LBB0_61
; %bb.41:
	ldr	x1, [x2]
Lloh22:
	adrp	x8, _QUICLY_EPOCH_0RTT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _QUICLY_EPOCH_0RTT@GOTPAGEOFF]
Lloh24:
	ldr	x22, [x8]
LBB0_42:
	add	x4, sp, #28
	mov	x0, x23
	mov	x3, x21
	bl	_decrypt_packet
	cbz	x0, LBB0_61
; %bb.43:
	mov	x24, x1
	cbz	x1, LBB0_62
; %bb.44:
	mov	x23, x0
Lloh25:
	adrp	x8, _CRYPTO_DECRYPT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _CRYPTO_DECRYPT@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	w2, [sp, #28]
	str	x24, [sp]
	mov	x1, x19
	mov	x3, x23
	bl	_QUICLY_PROBE
Lloh28:
	adrp	x8, _QUICTRACE_RECV@GOTPAGE
Lloh29:
	ldr	x8, [x8, _QUICTRACE_RECV@GOTPAGEOFF]
Lloh30:
	ldr	w25, [x8]
	bl	_probe_now
	mov	x2, x0
	ldrsw	x3, [sp, #28]
	mov	x0, x25
	mov	x1, x19
	bl	_QUICLY_PROBE
	ldr	w8, [x19, #16]
Lloh31:
	adrp	x9, _QUICLY_STATE_FIRSTFLIGHT@GOTPAGE
Lloh32:
	ldr	x9, [x9, _QUICLY_STATE_FIRSTFLIGHT@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_46
; %bb.45:
Lloh34:
	adrp	x8, _QUICLY_STATE_CONNECTED@GOTPAGE
Lloh35:
	ldr	x8, [x8, _QUICLY_STATE_CONNECTED@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	w8, [x19, #16]
LBB0_46:
	add	x8, x21, #16
	ldr	d0, [x19, #48]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x8]
	add.2s	v0, v0, v1
	str	d0, [x19, #48]
	cmp	x22, #136
	b.ne	LBB0_50
; %bb.47:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_50
; %bb.48:
	mov	x0, x19
	bl	_discard_initial_context
	mov	x1, x0
	cbnz	w0, LBB0_3
; %bb.49:
	mov	x0, x19
	bl	_update_loss_alarm
	mov	w8, #1
	str	w8, [x19, #28]
LBB0_50:
	add	x4, sp, #24
	add	x5, sp, #20
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_handle_payload
	mov	x1, x0
	cbnz	w0, LBB0_3
; %bb.51:
	ldr	x1, [x26]
	cbz	x1, LBB0_53
; %bb.52:
	ldr	w2, [sp, #28]
	ldr	w3, [sp, #20]
	mov	x0, x19
	mov	x4, x22
	bl	_record_receipt
	mov	x1, x0
	cbnz	w0, LBB0_3
LBB0_53:
	cmp	x22, #137
	b.eq	LBB0_63
; %bb.54:
	cmp	x22, #136
	b.eq	LBB0_66
; %bb.55:
	cmp	x22, #135
	b.ne	LBB0_74
; %bb.56:
	ldr	x8, [x19, #80]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	bl	_quicly_is_client
	cbz	w0, LBB0_74
; %bb.57:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_74
; %bb.58:
	ldr	x8, [x8]
	cbz	x8, LBB0_74
; %bb.59:
	mov	x0, x19
	bl	_discard_initial_context
	mov	x1, x0
	cbnz	w0, LBB0_3
; %bb.60:
	mov	x0, x19
	bl	_update_loss_alarm
	b	LBB0_74
LBB0_61:
	mov	w1, #134
	b	LBB0_13
LBB0_62:
Lloh37:
	adrp	x8, _QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION@GOTPAGE
Lloh38:
	ldr	x8, [x8, _QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	b	LBB0_3
LBB0_63:
	ldr	w8, [sp, #20]
	cbnz	w8, LBB0_74
; %bb.64:
	mov	x0, x19
	bl	_should_send_max_data
	cbz	w0, LBB0_74
; %bb.65:
	str	wzr, [x19, #4]
	b	LBB0_74
LBB0_66:
	ldr	w8, [x19, #64]
	cbz	w8, LBB0_75
LBB0_67:
	mov	x0, x19
	bl	_quicly_is_client
	cbz	w0, LBB0_74
; %bb.68:
	cbz	x20, LBB0_74
; %bb.69:
	mov	x21, x19
	ldr	w8, [x21, #20]!
Lloh40:
	adrp	x9, _AF_UNSPEC@GOTPAGE
Lloh41:
	ldr	x9, [x9, _AF_UNSPEC@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_74
; %bb.70:
	ldr	w9, [x20]
	cmp	w9, w8
	b.eq	LBB0_74
; %bb.71:
	ldr	w0, [x19, #68]
	bl	_ptls_handshake_is_complete
	cbz	w0, LBB0_74
; %bb.72:
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_74
; %bb.73:
	mov	x0, x21
	mov	x1, x20
	bl	_set_address
LBB0_74:
	mov	x0, x19
	mov	w1, #1
	bl	_update_idle_timeout
	b	LBB0_9
LBB0_75:
	ldr	w0, [x19, #68]
	bl	_ptls_handshake_is_complete
	cbz	w0, LBB0_67
; %bb.76:
	mov	x0, x19
	mov	w1, #-137
	bl	_quicly_get_stream
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x21]
	ldr	w8, [x8]
	cbnz	w8, LBB0_67
; %bb.77:
	add	x21, x19, #12
	ldr	w1, [x19, #8]
Lloh43:
	adrp	x8, _now@GOTPAGE
Lloh44:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w3, #136
	bl	_quicly_sentmap_prepare
	mov	x1, x0
	cbnz	w0, LBB0_3
; %bb.78:
Lloh46:
	adrp	x8, _discard_handshake_context@GOTPAGE
Lloh47:
	ldr	x8, [x8, _discard_handshake_context@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_quicly_sentmap_allocate
	cbz	x0, LBB0_80
; %bb.79:
	mov	x0, x21
	mov	w1, #0
	bl	_quicly_sentmap_commit
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	mov	w8, #1
	str	w8, [x19, #64]
	b	LBB0_67
LBB0_80:
Lloh49:
	adrp	x8, _PTLS_ERROR_NO_MEMORY@GOTPAGE
Lloh50:
	ldr	x8, [x8, _PTLS_ERROR_NO_MEMORY@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_19-LBB0_19)>>2
	.byte	(LBB0_30-LBB0_19)>>2
	.byte	(LBB0_35-LBB0_19)>>2
	.byte	(LBB0_38-LBB0_19)>>2
                                        ; -- End function
	.comm	_QUICLY_FRAME_TYPE_PADDING,4,2  ; @QUICLY_FRAME_TYPE_PADDING
	.comm	_RECEIVE,4,2                    ; @RECEIVE
	.comm	_QUICLY_STATE_FIRSTFLIGHT,4,2   ; @QUICLY_STATE_FIRSTFLIGHT
	.comm	_QUICLY_PACKET_TYPE_BITMASK,4,2 ; @QUICLY_PACKET_TYPE_BITMASK
	.comm	_QUICLY_MAX_TOKEN_LEN,8,3       ; @QUICLY_MAX_TOKEN_LEN
	.comm	_PTLS_ERROR_NO_MEMORY,4,2       ; @PTLS_ERROR_NO_MEMORY
	.comm	_QUICLY_EPOCH_0RTT,8,3          ; @QUICLY_EPOCH_0RTT
	.comm	_QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION,4,2 ; @QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION
	.comm	_CRYPTO_DECRYPT,4,2             ; @CRYPTO_DECRYPT
	.comm	_QUICTRACE_RECV,4,2             ; @QUICTRACE_RECV
	.comm	_QUICLY_STATE_CONNECTED,4,2     ; @QUICLY_STATE_CONNECTED
	.comm	_now,4,2                        ; @now
	.comm	_discard_handshake_context,4,2  ; @discard_handshake_context
	.comm	_AF_UNSPEC,4,2                  ; @AF_UNSPEC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

.subsections_via_symbols
