	.file	"extr_cli.c_run_server.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"socket(2) failed"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"setsockopt(SO_REUSEADDR) failed"
	.section	.rodata.str1.1
.LC2:
	.string	"bind(2) failed"
.LC3:
	.string	"recvmsg"
.LC4:
	.string	"sendmsg failed"
	.text
	.p2align 4
	.type	run_server, @function
run_server:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	r11, -16384[rsp]
	.cfi_def_cfa 11, 16440
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	sub	rsp, 296
	.cfi_def_cfa_offset 16736
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 16664[rsp], rax
	xor	eax, eax
	mov	rbp, rdi
	mov	r12d, esi
	mov	edi, DWORD PTR SIGINT[rip]
	mov	esi, DWORD PTR on_signal[rip]
	call	signal@PLT
	mov	esi, DWORD PTR on_signal[rip]
	mov	edi, DWORD PTR SIGHUP[rip]
	call	signal@PLT
	mov	edx, DWORD PTR IPPROTO_UDP[rip]
	mov	esi, DWORD PTR SOCK_DGRAM[rip]
	mov	edi, DWORD PTR 0[rbp]
	call	socket@PLT
	mov	DWORD PTR 24[rsp], eax
	cmp	eax, -1
	je	.L76
	mov	edx, DWORD PTR SO_REUSEADDR[rip]
	mov	esi, DWORD PTR SOL_SOCKET[rip]
	lea	rcx, 88[rsp]
	mov	r8d, 4
	mov	edi, DWORD PTR 24[rsp]
	mov	DWORD PTR 88[rsp], 1
	call	setsockopt@PLT
	test	rax, rax
	jne	.L77
	mov	ebx, DWORD PTR 24[rsp]
	mov	edx, r12d
	mov	rsi, rbp
	mov	edi, ebx
	call	bind@PLT
	test	rax, rax
	jne	.L5
	lea	rcx, 112[rsp]
	lea	eax, 1[rbx]
	mov	QWORD PTR 32[rsp], rcx
	lea	rcx, 92[rsp]
	lea	rbp, 96[rsp]
	mov	QWORD PTR 8[rsp], rcx
	lea	rcx, 144[rsp]
	lea	rbx, 176[rsp]
	mov	QWORD PTR 64[rsp], rcx
	lea	rcx, 272[rsp]
	mov	QWORD PTR 16[rsp], rcx
	lea	rcx, 128[rsp]
	mov	QWORD PTR 56[rsp], rcx
	lea	rcx, 100[rsp]
	mov	QWORD PTR 48[rsp], rcx
	lea	rcx, 240[rsp]
	mov	QWORD PTR 72[rsp], rcx
	lea	rcx, 104[rsp]
	mov	QWORD PTR 40[rsp], rcx
	mov	DWORD PTR 28[rsp], eax
	mov	rax, QWORD PTR num_conns[rip]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r13, QWORD PTR INT64_MAX[rip]
	xor	r12d, r12d
	test	rax, rax
	je	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR conns[rip]
	mov	rdi, QWORD PTR [rax+r12*8]
	call	quicly_get_first_timeout@PLT
	cmp	r13, rax
	cmovg	r13, rax
	add	r12, 1
	cmp	QWORD PTR num_conns[rip], r12
	jne	.L7
	cmp	QWORD PTR INT64_MAX[rip], r13
	je	.L9
	mov	rax, QWORD PTR ctx[rip]
	mov	rdi, rax
	call	[QWORD PTR [rax]]
	sub	r13, rax
	test	r13, r13
	jle	.L10
	movabs	rax, 2361183241434822607
	mov	r12, QWORD PTR 32[rsp]
	imul	r13
	mov	rax, r13
	sar	rax, 63
	sar	rdx, 7
	sub	rdx, rax
	mov	QWORD PTR 120[rsp], rdx
	imul	rdx, rdx, 1000
	sub	r13, rdx
	imul	r13, r13, 1000
	mov	QWORD PTR 112[rsp], r13
.L8:
	mov	r14, QWORD PTR 8[rsp]
	mov	rdi, r14
	call	FD_ZERO@PLT
	mov	edi, DWORD PTR 24[rsp]
	mov	rsi, r14
	call	FD_SET@PLT
	mov	edi, DWORD PTR 28[rsp]
	xor	ecx, ecx
	xor	edx, edx
	mov	r8, r12
	mov	rsi, r14
	call	select@PLT
	cmp	eax, -1
	jne	.L11
	mov	rcx, QWORD PTR EINTR[rip]
	cmp	QWORD PTR errno[rip], rcx
	mov	rax, QWORD PTR num_conns[rip]
	je	.L6
.L11:
	mov	rsi, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 24[rsp]
	call	FD_ISSET@PLT
	test	rax, rax
	jne	.L78
.L13:
	cmp	QWORD PTR num_conns[rip], 0
	je	.L9
	mov	QWORD PTR [rsp], rbx
	mov	r15d, DWORD PTR 24[rsp]
	xor	r14d, r14d
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L72:
	mov	rax, QWORD PTR num_conns[rip]
	mov	r14, rbx
	cmp	r14, rax
	je	.L79
.L43:
	mov	rax, QWORD PTR conns[rip]
	lea	r13, 0[0+r14*8]
	lea	rbx, 1[r14]
	mov	rdi, QWORD PTR [rax+r14*8]
	call	quicly_get_first_timeout@PLT
	mov	r12, rax
	mov	rax, QWORD PTR ctx[rip]
	mov	rdi, rax
	call	[QWORD PTR [rax]]
	cmp	r12, rax
	jg	.L72
	mov	rax, QWORD PTR conns[rip]
	mov	edi, r15d
	mov	rsi, QWORD PTR [rax+r14*8]
	call	send_pending@PLT
	test	rax, rax
	je	.L72
	mov	rax, QWORD PTR conns[rip]
	mov	rdi, QWORD PTR [rax+r13]
	call	quicly_free@PLT
	mov	rdi, QWORD PTR conns[rip]
	mov	rdx, r14
	not	rdx
	add	rdx, QWORD PTR num_conns[rip]
	lea	rsi, 8[rdi+r13]
	sal	rdx, 3
	add	rdi, r13
	call	memmove@PLT
	mov	rax, QWORD PTR num_conns[rip]
	sub	rax, 1
	mov	QWORD PTR num_conns[rip], rax
	cmp	r14, rax
	jne	.L43
	.p2align 4,,10
	.p2align 3
.L79:
	mov	rbx, QWORD PTR [rsp]
	mov	r13, QWORD PTR INT64_MAX[rip]
	xor	r12d, r12d
	test	rax, rax
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	xor	r12d, r12d
	jmp	.L8
.L76:
	lea	rdi, .LC0[rip]
	call	perror@PLT
.L3:
	mov	rax, QWORD PTR 16664[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L80
	add	rsp, 16680
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	QWORD PTR 120[rsp], 0
	mov	r12, QWORD PTR 32[rsp]
	mov	QWORD PTR 112[rsp], 0
	jmp	.L8
.L78:
	mov	r13, QWORD PTR 64[rsp]
	mov	edx, 24
	xor	esi, esi
	mov	rdi, r13
	call	memset@PLT
	mov	rax, QWORD PTR 16[rsp]
	mov	r12d, DWORD PTR 24[rsp]
	mov	QWORD PTR 160[rsp], rbp
	mov	DWORD PTR 136[rsp], 16384
	mov	QWORD PTR 128[rsp], rax
	mov	rax, QWORD PTR 56[rsp]
	mov	QWORD PTR 152[rsp], rax
	movabs	rax, 4294967300
	mov	QWORD PTR 144[rsp], rax
	.p2align 4,,10
	.p2align 3
.L14:
	xor	edx, edx
	mov	rsi, r13
	mov	edi, r12d
	call	recvmsg@PLT
	test	rax, rax
	je	.L14
	cmp	DWORD PTR verbosity[rip], 1
	mov	r15, rax
	jle	.L15
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdx, rax
	lea	rdi, .LC3[rip]
	call	hexdump@PLT
.L15:
	mov	QWORD PTR [rsp], r15
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L37:
	mov	rcx, QWORD PTR [rsp]
	mov	rax, QWORD PTR 16[rsp]
	mov	rsi, rbx
	lea	rdi, ctx[rip]
	sub	rcx, r14
	lea	rdx, [rax+r14*4]
	call	quicly_decode_packet@PLT
	cmp	QWORD PTR SIZE_MAX[rip], rax
	mov	r13, rax
	je	.L13
	mov	rax, QWORD PTR 224[rsp]
	mov	edi, DWORD PTR [rax]
	call	QUICLY_PACKET_IS_LONG_HEADER@PLT
	test	rax, rax
	je	.L17
	mov	rax, QWORD PTR QUICLY_PROTOCOL_VERSION[rip]
	cmp	QWORD PTR 176[rsp], rax
	jne	.L81
	mov	rax, QWORD PTR QUICLY_MAX_CID_LEN_V1[rip]
	cmp	QWORD PTR 184[rsp], rax
	jg	.L13
	cmp	rax, QWORD PTR 216[rsp]
	jl	.L13
.L17:
	cmp	QWORD PTR num_conns[rip], 0
	mov	QWORD PTR 104[rsp], 0
	je	.L20
	xor	r15d, r15d
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L21:
	add	r15, 1
	cmp	QWORD PTR num_conns[rip], r15
	je	.L82
.L23:
	mov	rax, QWORD PTR conns[rip]
	xor	esi, esi
	mov	rcx, rbx
	mov	rdx, rbp
	lea	r12, 0[0+r15*8]
	mov	rdi, QWORD PTR [rax+r15*8]
	call	quicly_is_destination@PLT
	test	rax, rax
	je	.L21
	mov	rax, QWORD PTR conns[rip]
	mov	rdi, QWORD PTR [rax+r12]
	mov	QWORD PTR 104[rsp], rdi
	test	rdi, rdi
	je	.L20
.L83:
	mov	rcx, rbx
	mov	rdx, rbp
	xor	esi, esi
	call	quicly_receive@PLT
.L24:
	add	r14, r13
	cmp	QWORD PTR [rsp], r14
	jne	.L37
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L82:
	mov	rdi, QWORD PTR 104[rsp]
	test	rdi, rdi
	jne	.L83
.L20:
	mov	rax, QWORD PTR 224[rsp]
	mov	edi, DWORD PTR [rax]
	call	QUICLY_PACKET_IS_INITIAL@PLT
	test	rax, rax
	je	.L25
	mov	ecx, DWORD PTR 232[rsp]
	test	ecx, ecx
	jne	.L26
.L70:
	cmp	QWORD PTR enforce_retry[rip], 0
	je	.L27
	cmp	QWORD PTR 184[rsp], 7
	jg	.L84
.L27:
	xor	r9d, r9d
.L31:
	lea	rax, next_cid[rip]
	push	0
	.cfi_def_cfa_offset 16744
	mov	rcx, rbp
	xor	edx, edx
	push	rax
	.cfi_def_cfa_offset 16752
	mov	rdi, QWORD PTR 56[rsp]
	mov	r8, rbx
	lea	rsi, ctx[rip]
	call	quicly_accept@PLT
	pop	rdx
	.cfi_def_cfa_offset 16744
	pop	rcx
	.cfi_def_cfa_offset 16736
	test	eax, eax
	jne	.L33
	xor	edi, edi
	cmp	QWORD PTR 104[rsp], 0
	setne	dil
	call	assert@PLT
	mov	rax, QWORD PTR num_conns[rip]
	mov	rdi, QWORD PTR conns[rip]
	add	DWORD PTR next_cid[rip], 1
	lea	esi, 8[0+rax*8]
	call	realloc@PLT
	xor	edi, edi
	test	rax, rax
	mov	QWORD PTR conns[rip], rax
	setne	dil
	call	assert@PLT
	mov	rax, QWORD PTR num_conns[rip]
	mov	rcx, QWORD PTR 104[rsp]
	lea	rdx, 1[rax]
	mov	QWORD PTR num_conns[rip], rdx
	mov	rdx, QWORD PTR conns[rip]
	mov	QWORD PTR [rdx+rax*8], rcx
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L33:
	xor	edi, edi
	cmp	QWORD PTR 104[rsp], 0
	sete	dil
	call	assert@PLT
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rax, QWORD PTR 224[rsp]
	mov	edi, DWORD PTR [rax]
	call	QUICLY_PACKET_IS_LONG_HEADER@PLT
	mov	r8, rax
	mov	rax, QWORD PTR 200[rsp]
	or	rax, QWORD PTR 208[rsp]
	or	rax, r8
	jne	.L24
	mov	ecx, DWORD PTR 192[rsp]
	xor	edx, edx
	mov	rsi, rbp
	lea	rdi, ctx[rip]
	call	quicly_send_stateless_reset@PLT
	mov	edi, DWORD PTR 24[rsp]
	mov	rsi, rax
	call	send_one@PLT
	cmp	eax, -1
	jne	.L24
	lea	rdi, .LC4[rip]
	call	perror@PLT
	jmp	.L24
.L26:
	mov	edx, DWORD PTR 236[rsp]
	mov	rsi, QWORD PTR 48[rsp]
	xor	r8d, r8d
	mov	edi, DWORD PTR address_token_aead[rip+4]
	call	quicly_decrypt_address_token@PLT
	test	rax, rax
	jne	.L70
	mov	r8, QWORD PTR 48[rsp]
	mov	rdx, QWORD PTR 184[rsp]
	mov	rdi, rbp
	mov	rcx, QWORD PTR 192[rsp]
	mov	rsi, QWORD PTR 216[rsp]
	call	validate_token@PLT
	test	rax, rax
	je	.L70
	mov	r9, QWORD PTR 48[rsp]
	jmp	.L31
.L81:
	mov	r8, QWORD PTR 184[rsp]
	mov	r9, QWORD PTR 192[rsp]
	xor	ecx, ecx
	mov	rsi, rbp
	mov	rdx, QWORD PTR 216[rsp]
	lea	rdi, ctx[rip]
	call	quicly_send_version_negotiation@PLT
	mov	r12, rax
.L74:
	xor	edi, edi
	test	r12, r12
	setne	dil
	call	assert@PLT
	mov	edi, DWORD PTR 24[rsp]
	mov	rsi, r12
	call	send_one@PLT
	cmp	eax, -1
	jne	.L13
	lea	rdi, .LC4[rip]
	call	perror@PLT
	jmp	.L13
.L84:
	mov	r14, QWORD PTR 72[rsp]
	mov	esi, DWORD PTR 192[rsp]
	mov	edx, 32
	mov	rdi, r14
	call	memcpy@PLT
	xor	esi, esi
	xor	edi, edi
	xor	DWORD PTR 240[rsp], 255
	call	ptls_iovec_init@PLT
	xor	esi, esi
	xor	edi, edi
	mov	r13d, eax
	call	ptls_iovec_init@PLT
	mov	esi, 32
	mov	rdi, r14
	mov	r12d, eax
	call	ptls_iovec_init@PLT
	push	r13
	.cfi_def_cfa_offset 16744
	xor	r8d, r8d
	mov	rdx, rbp
	push	r12
	.cfi_def_cfa_offset 16752
	mov	r9d, eax
	lea	rax, address_token_aead[rip]
	lea	rdi, ctx[rip]
	push	QWORD PTR 208[rsp]
	.cfi_def_cfa_offset 16760
	push	QWORD PTR 208[rsp]
	.cfi_def_cfa_offset 16768
	mov	rcx, QWORD PTR 248[rsp]
	mov	esi, DWORD PTR [rax]
	call	quicly_send_retry@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 16736
	mov	r12, rax
	jmp	.L74
.L77:
	lea	rdi, .LC1[rip]
	call	perror@PLT
	jmp	.L3
.L5:
	lea	rdi, .LC2[rip]
	call	perror@PLT
	jmp	.L3
.L80:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	run_server, .-run_server
	.comm	verbosity,4,4
	.comm	on_signal,4,4
	.comm	num_conns,8,8
	.comm	next_cid,4,4
	.comm	errno,8,8
	.comm	enforce_retry,8,8
	.comm	ctx,8,8
	.comm	conns,8,8
	.comm	address_token_aead,8,8
	.comm	SO_REUSEADDR,4,4
	.comm	SOL_SOCKET,4,4
	.comm	SOCK_DGRAM,4,4
	.comm	SIZE_MAX,8,8
	.comm	SIGINT,4,4
	.comm	SIGHUP,4,4
	.comm	QUICLY_PROTOCOL_VERSION,8,8
	.comm	QUICLY_MAX_CID_LEN_V1,8,8
	.comm	IPPROTO_UDP,4,4
	.comm	INT64_MAX,8,8
	.comm	EINTR,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_cli.c_run_server.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"socket(2) failed\000"
	.align	2
.LC1:
	.ascii	"setsockopt(SO_REUSEADDR) failed\000"
	.align	2
.LC2:
	.ascii	"bind(2) failed\000"
	.align	2
.LC3:
	.ascii	"recvmsg\000"
	.align	2
.LC4:
	.ascii	"sendmsg failed\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_server, %function
run_server:
	@ args = 0, pretend = 0, frame = 16528
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r3, .L91
	sub	sp, sp, #16384
	sub	sp, sp, #172
	ldr	r6, .L91+4
	ldr	r2, .L91+8
	ldr	r0, [r3]
	add	r3, sp, #16384
	mov	r5, r1
	ldr	r1, [r6]
	ldr	r2, [r2]
	str	r2, [r3, #164]
	mov	r2,#0
	add	r3, r3, #164
	bl	signal
	ldr	r3, .L91+12
	ldr	r1, [r6]
	ldr	r0, [r3]
	bl	signal
	ldr	r3, .L91+16
	ldr	r2, .L91+20
	ldr	r0, [r4]
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	socket
	cmn	r0, #1
	beq	.L83
	mov	r1, #1
	mov	ip, #4
	add	r3, sp, #168
	str	r1, [r3, #-124]!
	ldr	r2, .L91+24
	ldr	r1, .L91+28
	str	ip, [sp]
	ldr	r2, [r2]
	ldr	r1, [r1]
	mov	fp, r0
	bl	setsockopt
	cmp	r0, #0
	bne	.L84
	mov	r2, r5
	mov	r1, r4
	mov	r0, fp
	bl	bind
	cmp	r0, #0
	bne	.L5
	ldr	r6, .L91+32
	add	r2, fp, #1
	str	r2, [sp, #32]
	ldr	r10, .L91+36
	add	r2, sp, #8
	ldr	r3, [r6]
	ldr	r5, .L91+40
	str	r0, [sp, #28]
	str	r2, [sp, #36]
.L6:
	cmp	r3, #0
	ldr	r3, .L91+44
	movne	r4, #0
	ldr	r7, [r3]
	beq	.L9
.L7:
	ldr	r3, [r5]
	ldr	r0, [r3, r4, lsl #2]
	bl	quicly_get_first_timeout
	ldr	r3, [r6]
	cmp	r7, r0
	add	r4, r4, #1
	movge	r7, r0
	cmp	r3, r4
	bne	.L7
	ldr	r3, .L91+44
	ldr	r3, [r3]
	cmp	r3, r7
	beq	.L9
	ldr	r0, [r10]
	ldr	r3, [r0]
	blx	r3
	sub	r7, r7, r0
	cmp	r7, #0
	ble	.L10
	ldr	r2, .L91+48
	add	r4, sp, #64
	smull	r3, r2, r7, r2
	asr	r3, r7, #31
	rsb	r3, r3, r2, asr #6
	rsb	r2, r3, r3, lsl #5
	add	r2, r3, r2, lsl #2
	sub	r7, r7, r2, lsl #3
	rsb	r2, r7, r7, lsl #5
	add	r7, r7, r2, lsl #2
	lsl	r7, r7, #3
	str	r3, [sp, #68]
	str	r7, [sp, #64]
.L8:
	add	r0, sp, #48
	bl	FD_ZERO
	add	r1, sp, #48
	mov	r0, fp
	bl	FD_SET
	mov	r3, #0
	ldr	r0, [sp, #32]
	mov	r2, r3
	str	r4, [sp]
	add	r1, sp, #48
	bl	select
	cmn	r0, #1
	bne	.L11
	ldr	r3, .L91+52
	ldr	r2, [r3]
	ldr	r3, .L91+56
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L11
	ldr	r3, [r6]
	b	.L6
.L83:
	ldr	r0, .L91+60
	bl	perror
.L3:
	add	r3, sp, #16384
	ldr	r2, .L91+8
	add	r3, r3, #164
	ldr	r1, [r2]
	ldr	r2, [r3]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L85
	mov	r0, #1
	add	sp, sp, #16384
	add	sp, sp, #172
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r0, fp
	add	r1, sp, #48
	bl	FD_ISSET
	cmp	r0, #0
	bne	.L86
.L13:
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L9
	mov	r4, #0
	b	.L43
.L79:
	mov	r4, r7
	ldr	r3, [r6]
.L41:
	cmp	r4, r3
	beq	.L6
.L43:
	ldr	r3, [r5]
	lsl	r8, r4, #2
	ldr	r0, [r3, r4, lsl #2]
	bl	quicly_get_first_timeout
	mov	r7, r0
	ldr	r0, [r10]
	ldr	r3, [r0]
	blx	r3
	cmp	r7, r0
	add	r7, r4, #1
	bgt	.L79
	ldr	r3, [r5]
	mov	r0, fp
	ldr	r1, [r3, r4, lsl #2]
	bl	send_pending
	cmp	r0, #0
	beq	.L79
	ldr	r3, [r5]
	ldr	r0, [r3, r8]
	bl	quicly_free
	ldr	r2, [r6]
	ldr	r0, [r5]
	sub	r2, r2, #1
	sub	r2, r2, r4
	add	r1, r8, #4
	add	r1, r0, r1
	lsl	r2, r2, #2
	add	r0, r0, r8
	bl	memmove
	ldr	r3, [r6]
	sub	r3, r3, #1
	str	r3, [r6]
	b	.L41
.L9:
	mov	r4, #0
	b	.L8
.L10:
	ldr	r3, [sp, #28]
	add	r4, sp, #64
	str	r3, [sp, #68]
	str	r3, [sp, #64]
	b	.L8
.L86:
	mov	r1, #4
	mov	r2, #16384
	mov	r3, #1
	add	r0, sp, #52
	str	r0, [sp, #92]
	add	r0, sp, #164
	str	r0, [sp, #72]
	add	r0, sp, #72
	str	r0, [sp, #88]
	str	r1, [sp, #80]
	str	r2, [sp, #76]
	str	r3, [sp, #84]
.L14:
	mov	r2, #0
	mov	r0, fp
	add	r1, sp, #80
	bl	recvmsg
	cmp	r0, #0
	beq	.L14
	ldr	r3, .L91+64
	mov	r9, r0
	ldr	r3, [r3]
	cmp	r3, #1
	ble	.L15
	mov	r2, r0
	add	r1, sp, #164
	ldr	r0, .L91+68
	bl	hexdump
.L15:
	mov	r8, #0
.L37:
	add	r2, sp, #164
	sub	r3, r9, r8
	ldr	r0, .L91+36
	add	r2, r2, r8, lsl #2
	add	r1, sp, #96
	bl	quicly_decode_packet
	ldr	r3, .L91+72
	mov	r7, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L13
	ldr	r3, [sp, #120]
	ldr	r0, [r3]
	bl	QUICLY_PACKET_IS_LONG_HEADER
	cmp	r0, #0
	beq	.L17
	ldr	r3, .L91+76
	ldr	r2, [sp, #96]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L87
	ldr	r3, .L91+80
	ldr	r2, [sp, #100]
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L13
	ldr	r2, [sp, #116]
	cmp	r3, r2
	blt	.L13
.L17:
	ldr	r3, [r6]
	ldr	r2, [sp, #28]
	cmp	r3, #0
	str	r2, [sp, #56]
	beq	.L20
	mov	r4, #0
	b	.L23
.L21:
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	beq	.L88
.L23:
	ldr	r2, [r5]
	add	r3, sp, #96
	ldr	r0, [r2, r4, lsl #2]
	mov	r1, #0
	add	r2, sp, #52
	bl	quicly_is_destination
	cmp	r0, #0
	lsl	r3, r4, #2
	beq	.L21
	ldr	r2, [r5]
	ldr	r0, [r2, r3]
	cmp	r0, #0
	str	r0, [sp, #56]
	beq	.L20
.L89:
	mov	r1, #0
	add	r3, sp, #96
	add	r2, sp, #52
	bl	quicly_receive
.L24:
	add	r8, r8, r7
	cmp	r9, r8
	bne	.L37
	b	.L13
.L88:
	ldr	r0, [sp, #56]
	cmp	r0, #0
	bne	.L89
.L20:
	ldr	r3, [sp, #120]
	ldr	r0, [r3]
	bl	QUICLY_PACKET_IS_INITIAL
	cmp	r0, #0
	beq	.L25
	ldr	r3, [sp, #124]
	cmp	r3, #0
	bne	.L26
.L77:
	ldr	r3, .L91+84
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L27
	ldr	r3, [sp, #100]
	cmp	r3, #7
	bgt	.L90
.L27:
	mov	r3, #0
.L31:
	ldr	r4, .L91+88
	ldr	r2, [sp, #28]
	stmib	sp, {r3, r4}
	add	r3, sp, #96
	str	r2, [sp, #12]
	str	r3, [sp]
	mov	r2, #0
	ldr	r1, .L91+36
	add	r3, sp, #52
	add	r0, sp, #56
	bl	quicly_accept
	cmp	r0, #0
	ldr	r0, [sp, #56]
	bne	.L33
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	ldr	r1, [r6]
	ldr	r3, [r4]
	add	r1, r1, #1
	lsl	r1, r1, #2
	add	r3, r3, #1
	ldr	r0, [r5]
	str	r3, [r4]
	bl	realloc
	mov	r3, r0
	subs	r0, r0, #0
	movne	r0, #1
	str	r3, [r5]
	bl	assert
	ldr	r3, [r6]
	ldr	r2, [r5]
	ldr	r1, [sp, #56]
	add	r0, r3, #1
	str	r0, [r6]
	str	r1, [r2, r3, lsl #2]
	b	.L24
.L33:
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	b	.L24
.L25:
	ldr	r3, [sp, #120]
	ldr	r0, [r3]
	bl	QUICLY_PACKET_IS_LONG_HEADER
	ldr	r2, [sp, #112]
	ldr	r3, [sp, #108]
	orr	r3, r3, r2
	orrs	r2, r3, r0
	bne	.L24
	ldr	r3, [sp, #104]
	add	r1, sp, #52
	ldr	r0, .L91+36
	bl	quicly_send_stateless_reset
	mov	r1, r0
	mov	r0, fp
	bl	send_one
	cmn	r0, #1
	bne	.L24
	ldr	r0, .L91+92
	bl	perror
	b	.L24
.L26:
	ldr	r2, [sp, #28]
	ldr	r0, .L91+96
	str	r2, [sp]
	ldr	r0, [r0, #4]
	ldr	r2, [sp, #128]
	add	r1, sp, #60
	bl	quicly_decrypt_address_token
	cmp	r0, #0
	bne	.L77
	add	r3, sp, #60
	str	r3, [sp]
	ldr	r2, [sp, #100]
	ldr	r3, [sp, #104]
	ldr	r1, [sp, #116]
	add	r0, sp, #52
	bl	validate_token
	cmp	r0, #0
	beq	.L77
	add	r3, sp, #60
	b	.L31
.L87:
	ldr	r1, [sp, #104]
	ldr	r0, [sp, #100]
	mov	r3, #0
	stm	sp, {r0, r1}
	ldr	r2, [sp, #116]
	ldr	r0, .L91+36
	add	r1, sp, #52
	bl	quicly_send_version_negotiation
.L81:
	mov	r4, r0
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	mov	r1, r4
	mov	r0, fp
	bl	send_one
	cmn	r0, #1
	bne	.L13
	ldr	r0, .L91+92
	bl	perror
	b	.L13
.L90:
	mov	r2, #32
	ldr	r1, [sp, #104]
	add	r0, sp, #132
	bl	memcpy
	ldr	r3, [sp, #132]
	mov	r1, #32
	eor	r3, r3, #255
	str	r3, [sp, #132]
	ldr	r3, .L91+96
	add	r0, sp, #132
	ldr	r8, [r3]
	bl	ptls_iovec_init
	mov	r1, #0
	mov	r4, r0
	mov	r0, r1
	bl	ptls_iovec_init
	mov	r1, #0
	mov	r7, r0
	mov	r0, r1
	bl	ptls_iovec_init
	mov	r3, r0
	ldr	r1, [sp, #104]
	ldr	r0, [sp, #100]
	ldr	r2, [sp, #36]
	str	r3, [sp, #20]
	str	r7, [sp, #16]
	ldr	r3, [sp, #116]
	stm	r2, {r0, r1}
	ldr	r0, [sp, #28]
	mov	r1, r8
	str	r0, [sp]
	add	r2, sp, #52
	str	r4, [sp, #4]
	ldr	r0, .L91+36
	bl	quicly_send_retry
	b	.L81
.L84:
	ldr	r0, .L91+100
	bl	perror
	b	.L3
.L5:
	ldr	r0, .L91+104
	bl	perror
	b	.L3
.L85:
	bl	__stack_chk_fail
.L92:
	.align	2
.L91:
	.word	SIGINT
	.word	on_signal
	.word	.LC5
	.word	SIGHUP
	.word	SOCK_DGRAM
	.word	IPPROTO_UDP
	.word	SO_REUSEADDR
	.word	SOL_SOCKET
	.word	num_conns
	.word	ctx
	.word	conns
	.word	INT64_MAX
	.word	274877907
	.word	errno
	.word	EINTR
	.word	.LC0
	.word	verbosity
	.word	.LC3
	.word	SIZE_MAX
	.word	QUICLY_PROTOCOL_VERSION
	.word	QUICLY_MAX_CID_LEN_V1
	.word	enforce_retry
	.word	next_cid
	.word	.LC4
	.word	address_token_aead
	.word	.LC1
	.word	.LC2
	.size	run_server, .-run_server
	.comm	verbosity,4,4
	.comm	on_signal,4,4
	.comm	num_conns,4,4
	.comm	next_cid,4,4
	.comm	errno,4,4
	.comm	enforce_retry,4,4
	.comm	ctx,4,4
	.comm	conns,4,4
	.comm	address_token_aead,8,4
	.comm	SO_REUSEADDR,4,4
	.comm	SOL_SOCKET,4,4
	.comm	SOCK_DGRAM,4,4
	.comm	SIZE_MAX,4,4
	.comm	SIGINT,4,4
	.comm	SIGHUP,4,4
	.comm	QUICLY_PROTOCOL_VERSION,4,4
	.comm	QUICLY_MAX_CID_LEN_V1,4,4
	.comm	IPPROTO_UDP,4,4
	.comm	INT64_MAX,4,4
	.comm	EINTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
