	.file	"109922.c"
	.intel_syntax noprefix
	.text
	.type	uepoch, @function
uepoch:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	clock_gettime@PLT
	mov	rax, QWORD PTR -32[rbp]
	imul	rcx, rax, 1000
	mov	rax, QWORD PTR -24[rbp]
	movabs	rdx, 4835703278458516699
	mul	rdx
	mov	rax, rdx
	shr	rax, 18
	add	rax, rcx
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	uepoch, .-uepoch
	.local	loglevel
	.comm	loglevel,4,4
	.section	.rodata
.LC0:
	.string	"%Y-%m-%dT%H:%M:%S"
.LC1:
	.string	"%s.%03lldZ "
	.text
	.type	logmsg, @function
logmsg:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 384
	mov	DWORD PTR -372[rbp], edi
	mov	QWORD PTR -384[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L5
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L5:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR loglevel[rip]
	cmp	DWORD PTR -372[rbp], eax
	ja	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -364[rbp], eax
	call	uepoch
	mov	QWORD PTR -352[rbp], rax
	mov	rcx, QWORD PTR -352[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -360[rbp], rax
	lea	rdx, -320[rbp]
	lea	rax, -360[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gmtime_r@PLT
	mov	rdx, rax
	lea	rax, -256[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	mov	esi, 64
	mov	rdi, rax
	call	strftime@PLT
	mov	rcx, QWORD PTR -352[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	imul	rdx, rax, 1000
	mov	rax, rcx
	sub	rax, rdx
	lea	rcx, -256[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -344[rbp], 16
	mov	DWORD PTR -340[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -336[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -328[rbp], rax
	lea	rdx, -344[rbp]
	mov	rax, QWORD PTR -384[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	vprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -364[rbp]
	mov	DWORD PTR [rax], edx
.L8:
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	logmsg, .-logmsg
	.section	.rodata
	.align 8
.LC2:
	.string	"setsockopt(%d, SO_RCVBUF, %d) = %d"
.LC3:
	.string	"errno = %d, %s"
	.text
	.type	client_new, @function
client_new:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 216
	.cfi_offset 3, -24
	mov	DWORD PTR -212[rbp], edi
	mov	QWORD PTR -224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edi, 88
	call	malloc@PLT
	mov	QWORD PTR -184[rbp], rax
	cmp	QWORD PTR -184[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -184[rbp]
	mov	BYTE PTR [rax], 0
	call	uepoch
	mov	rdx, QWORD PTR -184[rbp]
	mov	QWORD PTR 48[rdx], rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rdx, QWORD PTR -224[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR 64[rax], 0
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR 72[rax], 0
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, DWORD PTR -212[rbp]
	mov	DWORD PTR 84[rax], edx
	mov	DWORD PTR -196[rbp], 1
	lea	rdx, -196[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	DWORD PTR -188[rbp], eax
	mov	edx, DWORD PTR -196[rbp]
	mov	ecx, DWORD PTR -188[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -188[rbp], -1
	jne	.L11
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rcx, rbx
	mov	edx, eax
	lea	rsi, .LC3[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
.L11:
	mov	DWORD PTR -192[rbp], 128
	lea	rdx, -192[rbp]
	lea	rcx, -160[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getpeername@PLT
	cmp	eax, -1
	je	.L10
	movzx	eax, WORD PTR -160[rbp]
	cmp	ax, 2
	jne	.L13
	lea	rax, -160[rbp]
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	edx, ax
	mov	rax, QWORD PTR -184[rbp]
	mov	DWORD PTR 80[rax], edx
	mov	rax, QWORD PTR -184[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	lea	rsi, 4[rdx]
	mov	ecx, 46
	mov	rdx, rax
	mov	edi, 2
	call	inet_ntop@PLT
	jmp	.L10
.L13:
	lea	rax, -160[rbp]
	mov	QWORD PTR -176[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	edx, ax
	mov	rax, QWORD PTR -184[rbp]
	mov	DWORD PTR 80[rax], edx
	mov	rax, QWORD PTR -184[rbp]
	mov	rdx, QWORD PTR -176[rbp]
	lea	rsi, 8[rdx]
	mov	ecx, 46
	mov	rdx, rax
	mov	edi, 10
	call	inet_ntop@PLT
.L10:
	mov	rax, QWORD PTR -184[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	client_new, .-client_new
	.section	.rodata
.LC4:
	.string	"close(%d)"
	.align 8
.LC5:
	.string	"CLOSE host=%s port=%d fd=%d time=%lld.%03lld bytes=%lld"
	.text
	.type	client_destroy, @function
client_destroy:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 84[rax]
	mov	edx, eax
	lea	rsi, .LC4[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	call	uepoch
	mov	rdx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 48[rdx]
	sub	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, QWORD PTR 64[rax]
	mov	rsi, QWORD PTR -8[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rsi
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	mov	rdx, rsi
	sar	rdx, 63
	sub	rax, rdx
	mov	rcx, rax
	imul	rax, rcx, 1000
	mov	rcx, rsi
	sub	rcx, rax
	mov	rsi, QWORD PTR -8[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rsi
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rsi, 63
	mov	rdx, rsi
	sub	rax, rdx
	mov	r8, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, DWORD PTR 84[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 80[rax]
	mov	rax, QWORD PTR -24[rbp]
	push	rdi
	push	rcx
	mov	r9, r8
	mov	r8d, esi
	mov	ecx, edx
	mov	rdx, rax
	lea	rsi, .LC5[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	add	rsp, 16
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 84[rax]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	client_destroy, .-client_destroy
	.type	queue_init, @function
queue_init:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 16[rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	queue_init, .-queue_init
	.type	queue_remove, @function
queue_remove:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L19
.L26:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 84[rax]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L20
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR -16[rbp], rax
	jne	.L23
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 72[rax], 0
	jmp	.L22
.L23:
	cmp	QWORD PTR -8[rbp], 0
	je	.L24
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 72[rax], rdx
	jmp	.L22
.L24:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
.L22:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 72[rax], 0
	jmp	.L25
.L20:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 72[rax]
	mov	QWORD PTR -16[rbp], rax
.L19:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L26
.L25:
	mov	rax, QWORD PTR -16[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	queue_remove, .-queue_remove
	.type	queue_append, @function
queue_append:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L29
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L30
.L29:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 72[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
.L30:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 16[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 16[rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	queue_append, .-queue_append
	.type	queue_destroy, @function
queue_destroy:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L32
.L33:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 72[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	client_destroy
.L32:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L33
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 16[rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	queue_destroy, .-queue_destroy
	.section	.rodata
	.align 8
.LC6:
	.string	"endlessh: pollvec initialization failed\n"
	.text
	.type	pollvec_init, @function
pollvec_init:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], 4
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L36
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	pollvec_init, .-pollvec_init
	.type	pollvec_clear, @function
pollvec_clear:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	pollvec_clear, .-pollvec_clear
	.type	pollvec_push, @function
pollvec_push:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, edx
	mov	WORD PTR -32[rbp], ax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jne	.L39
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	sal	rax, 4
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	sal	rax, 3
	cmp	QWORD PTR -16[rbp], rax
	jnb	.L40
	mov	eax, 0
	jmp	.L41
.L40:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L42
	mov	eax, 0
	jmp	.L41
.L42:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
.L39:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	sal	rax, 3
	add	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	sal	rax, 3
	add	rdx, rax
	movzx	eax, WORD PTR -32[rbp]
	mov	WORD PTR 4[rdx], ax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	eax, 1
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	pollvec_push, .-pollvec_push
	.type	pollvec_free, @function
pollvec_free:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	pollvec_free, .-pollvec_free
	.section	.rodata
.LC7:
	.string	"endlessh: fatal: %s\n"
	.text
	.type	die, @function
die:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE18:
	.size	die, .-die
	.type	rand16, @function
rand16:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	imul	rax, rax, 1103515245
	lea	rdx, 12345[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	shr	rax, 16
	movzx	eax, ax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	rand16, .-rand16
	.section	.rodata
.LC8:
	.string	"SSH-"
	.text
	.type	randline, @function
randline:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	rand16
	mov	edx, DWORD PTR -28[rbp]
	sub	edx, 2
	mov	ecx, edx
	mov	edx, 0
	div	ecx
	mov	eax, edx
	add	eax, 3
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L48
.L49:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	rand16
	mov	edx, eax
	imul	rdx, rdx, 1491936009
	mov	rcx, rdx
	shr	rcx, 32
	mov	edx, eax
	sub	edx, ecx
	shr	edx
	add	edx, ecx
	shr	edx, 6
	imul	ecx, edx, 95
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	lea	ecx, 32[rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -8[rbp], 1
.L48:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 2
	cmp	DWORD PTR -8[rbp], eax
	jl	.L49
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, -2[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 13
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 10
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 4
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	jne	.L50
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 88
.L50:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	randline, .-randline
	.data
	.align 4
	.type	running, @object
	.size	running, 4
running:
	.long	1
	.text
	.type	sigterm_handler, @function
sigterm_handler:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR running[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	sigterm_handler, .-sigterm_handler
	.local	reload
	.comm	reload,4,4
	.type	sighup_handler, @function
sighup_handler:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR reload[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	sighup_handler, .-sighup_handler
	.section	.rodata
.LC9:
	.string	"endlessh: Invalid port: %s\n"
	.text
	.type	config_set_port, @function
config_set_port:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rcx, -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -16[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L55
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L55
	cmp	QWORD PTR -16[rbp], 0
	jle	.L55
	cmp	QWORD PTR -16[rbp], 65535
	jle	.L56
.L55:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -48[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -52[rbp], 0
	je	.L58
	mov	edi, 1
	call	exit@PLT
.L56:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L58:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	config_set_port, .-config_set_port
	.section	.rodata
.LC10:
	.string	"endlessh: Invalid delay: %s\n"
	.text
	.type	config_set_delay, @function
config_set_delay:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rcx, -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -16[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L61
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L61
	cmp	QWORD PTR -16[rbp], 0
	jle	.L61
	mov	eax, 2147483648
	cmp	QWORD PTR -16[rbp], rax
	jl	.L62
.L61:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -48[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -52[rbp], 0
	je	.L64
	mov	edi, 1
	call	exit@PLT
.L62:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 4[rax], edx
.L64:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L65
	call	__stack_chk_fail@PLT
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	config_set_delay, .-config_set_delay
	.section	.rodata
	.align 8
.LC11:
	.string	"endlessh: Invalid max clients: %s\n"
	.text
	.type	config_set_max_clients, @function
config_set_max_clients:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rcx, -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -16[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L67
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L67
	cmp	QWORD PTR -16[rbp], 0
	jle	.L67
	mov	eax, 2147483648
	cmp	QWORD PTR -16[rbp], rax
	jl	.L68
.L67:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -48[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -52[rbp], 0
	je	.L70
	mov	edi, 1
	call	exit@PLT
.L68:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 12[rax], edx
.L70:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L71
	call	__stack_chk_fail@PLT
.L71:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	config_set_max_clients, .-config_set_max_clients
	.section	.rodata
	.align 8
.LC12:
	.string	"endlessh: Invalid line length: %s\n"
	.text
	.type	config_set_max_line_length, @function
config_set_max_line_length:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rcx, -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -16[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L73
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L73
	cmp	QWORD PTR -16[rbp], 2
	jle	.L73
	cmp	QWORD PTR -16[rbp], 255
	jle	.L74
.L73:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -48[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -52[rbp], 0
	je	.L76
	mov	edi, 1
	call	exit@PLT
.L74:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 8[rax], edx
.L76:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L77
	call	__stack_chk_fail@PLT
.L77:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	config_set_max_line_length, .-config_set_max_line_length
	.type	config_key_parse, @function
config_key_parse:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 1
	jmp	.L79
.L82:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, table.0[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L80
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L81
.L80:
	add	QWORD PTR -8[rbp], 1
.L79:
	cmp	QWORD PTR -8[rbp], 5
	jbe	.L82
	mov	eax, 0
.L81:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	config_key_parse, .-config_key_parse
	.section	.rodata
.LC13:
	.string	"r"
.LC14:
	.string	" \r\n"
.LC15:
	.string	"%s:%ld: Missing value\n"
.LC16:
	.string	"%s:%ld: Too many values\n"
.LC17:
	.string	"%s:%ld: Unknown option '%s'\n"
	.align 8
.LC18:
	.string	"%s:%ld: Invalid log level '%s'\n"
	.text
	.type	config_load, @function
config_load:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	DWORD PTR -132[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -72[rbp], 0
	mov	rax, QWORD PTR -128[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	je	.L115
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	jmp	.L85
.L113:
	add	QWORD PTR -72[rbp], 1
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 35
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L86
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], 0
.L86:
	mov	QWORD PTR -88[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	jmp	.L87
.L92:
	cmp	DWORD PTR -112[rbp], 0
	jne	.L88
	mov	rax, QWORD PTR -96[rbp]
	jmp	.L89
.L88:
	mov	eax, 0
.L89:
	lea	rdx, -88[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strtok_r@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L116
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR -32[rbp+rax*8], rdx
	add	DWORD PTR -112[rbp], 1
.L87:
	cmp	DWORD PTR -112[rbp], 2
	jle	.L92
	jmp	.L91
.L116:
	nop
.L91:
	cmp	DWORD PTR -112[rbp], 3
	je	.L93
	cmp	DWORD PTR -112[rbp], 3
	jg	.L94
	cmp	DWORD PTR -112[rbp], 2
	je	.L117
	cmp	DWORD PTR -112[rbp], 2
	jg	.L94
	cmp	DWORD PTR -112[rbp], 0
	je	.L118
	cmp	DWORD PTR -112[rbp], 1
	jne	.L94
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -132[rbp], 0
	je	.L119
	mov	edi, 1
	call	exit@PLT
.L93:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -132[rbp], 0
	je	.L120
	mov	edi, 1
	call	exit@PLT
.L117:
	nop
.L94:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	config_key_parse
	mov	DWORD PTR -108[rbp], eax
	cmp	DWORD PTR -108[rbp], 5
	ja	.L85
	mov	eax, DWORD PTR -108[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L103[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L103[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L103:
	.long	.L108-.L103
	.long	.L107-.L103
	.long	.L106-.L103
	.long	.L105-.L103
	.long	.L104-.L103
	.long	.L102-.L103
	.text
.L108:
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	mov	r8, rsi
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L85
.L107:
	mov	rcx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_port
	jmp	.L85
.L106:
	mov	rcx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_delay
	jmp	.L85
.L105:
	mov	rcx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_max_line_length
	jmp	.L85
.L104:
	mov	rcx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_max_clients
	jmp	.L85
.L102:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, -80[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -40[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L109
	mov	rax, QWORD PTR -80[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L109
	cmp	QWORD PTR -40[rbp], 0
	js	.L109
	cmp	QWORD PTR -40[rbp], 2
	jle	.L110
.L109:
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	mov	r8, rsi
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -132[rbp], 0
	je	.L112
	mov	edi, 1
	call	exit@PLT
.L110:
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR loglevel[rip], eax
	jmp	.L121
.L112:
.L121:
	nop
	jmp	.L85
.L118:
	nop
	jmp	.L85
.L119:
	nop
	jmp	.L85
.L120:
	nop
.L85:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rcx, -104[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	cmp	rax, -1
	jne	.L113
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L115:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L114
	call	__stack_chk_fail@PLT
.L114:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	config_load, .-config_load
	.section	.rodata
.LC19:
	.string	"Port %d"
.LC20:
	.string	"Delay %ld"
.LC21:
	.string	"MaxLineLength %d"
.LC22:
	.string	"MaxClients %d"
	.text
	.type	config_log, @function
config_log:
.LFB29:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, eax
	lea	rsi, .LC19[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, eax
	lea	rsi, .LC20[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	edx, eax
	lea	rsi, .LC21[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	edx, eax
	lea	rsi, .LC22[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	config_log, .-config_log
	.section	.rodata
	.align 8
.LC23:
	.string	"Usage: endlessh [-vh] [-d MS] [-f CONFIG] [-l LEN] [-m LIMIT] [-p PORT]\n"
	.align 8
.LC24:
	.string	"  -d INT    Message millisecond delay [10000]\n"
	.align 8
.LC25:
	.string	"  -f        Set and load config file [/etc/endlessh/config]\n"
	.align 8
.LC26:
	.string	"  -h        Print this help message and exit\n"
	.align 8
.LC27:
	.string	"  -l INT    Maximum banner line length (3-255) [32]\n"
	.align 8
.LC28:
	.string	"  -m INT    Maximum number of clients [4096]\n"
	.align 8
.LC29:
	.string	"  -p INT    Listening port [2222]\n"
	.align 8
.LC30:
	.string	"  -v        Print diagnostics to standard output (repeatable)\n"
	.text
	.type	usage, @function
usage:
.LFB30:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 72
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 60
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 62
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	usage, .-usage
	.section	.rodata
.LC31:
	.string	"socket() = %d"
	.align 8
.LC32:
	.string	"setsockopt(%d, SO_REUSEADDR, true) = %d"
.LC33:
	.string	"bind(%d, port=%d) = %d"
.LC34:
	.string	"listen(%d) = %d"
	.text
	.type	server_create, @function
server_create:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	DWORD PTR -84[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 10
	call	socket@PLT
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, eax
	lea	rsi, .LC31[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -72[rbp], -1
	jne	.L125
	call	die
.L125:
	mov	DWORD PTR -76[rbp], 1
	lea	rdx, -76[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC32[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -68[rbp], -1
	jne	.L126
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rbx, rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rcx, rbx
	mov	edx, eax
	lea	rsi, .LC3[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
.L126:
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	WORD PTR -64[rbp], 10
	mov	eax, DWORD PTR -84[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -62[rbp], ax
	mov	rax, QWORD PTR in6addr_any[rip]
	mov	rdx, QWORD PTR in6addr_any[rip+8]
	mov	QWORD PTR -56[rbp], rax
	mov	QWORD PTR -48[rbp], rdx
	lea	rcx, -64[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, 28
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	ecx, DWORD PTR -68[rbp]
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC33[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -68[rbp], -1
	jne	.L127
	call	die
.L127:
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, 2147483647
	mov	edi, eax
	call	listen@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC34[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -68[rbp], -1
	jne	.L128
	call	die
.L128:
	mov	eax, DWORD PTR -72[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L130
	call	__stack_chk_fail@PLT
.L130:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	server_create, .-server_create
	.section	.rodata
.LC35:
	.string	"/etc/endlessh/config"
.LC36:
	.string	"d:f:hl:m:p:v"
.LC37:
	.string	"endlessh: too many arguments\n"
.LC38:
	.string	" (no accept)"
.LC39:
	.string	""
.LC40:
	.string	"poll(%zu, %d)%s"
.LC41:
	.string	"= %d"
.LC42:
	.string	"EINTR"
.LC43:
	.string	"accept() = %d"
.LC44:
	.string	"endlessh: warning: %s\n"
	.align 8
.LC45:
	.string	"endlessh: warning: out of memory\n"
	.align 8
.LC46:
	.string	"ACCEPT host=%s port=%d fd=%d n=%d/%d"
.LC47:
	.string	"send(%d) = %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB32:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 624
	mov	DWORD PTR -612[rbp], edi
	mov	QWORD PTR -624[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -480[rbp], 2222
	mov	DWORD PTR -476[rbp], 10000
	mov	DWORD PTR -472[rbp], 32
	mov	DWORD PTR -468[rbp], 4096
	lea	rax, .LC35[rip]
	mov	QWORD PTR -552[rbp], rax
	mov	rcx, QWORD PTR -552[rbp]
	lea	rax, -480[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_load
	jmp	.L132
.L143:
	mov	eax, DWORD PTR -588[rbp]
	sub	eax, 100
	cmp	eax, 18
	ja	.L133
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L135[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L135[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L135:
	.long	.L141-.L135
	.long	.L133-.L135
	.long	.L140-.L135
	.long	.L133-.L135
	.long	.L139-.L135
	.long	.L133-.L135
	.long	.L133-.L135
	.long	.L133-.L135
	.long	.L138-.L135
	.long	.L137-.L135
	.long	.L133-.L135
	.long	.L133-.L135
	.long	.L136-.L135
	.long	.L133-.L135
	.long	.L133-.L135
	.long	.L133-.L135
	.long	.L133-.L135
	.long	.L133-.L135
	.long	.L134-.L135
	.text
.L141:
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -480[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_delay
	jmp	.L132
.L140:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -552[rbp], rax
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -480[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_load
	jmp	.L132
.L139:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	usage
	mov	edi, 0
	call	exit@PLT
.L138:
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -480[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_max_line_length
	jmp	.L132
.L137:
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -480[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_max_clients
	jmp	.L132
.L136:
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -480[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_port
	jmp	.L132
.L134:
	mov	eax, DWORD PTR loglevel[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR loglevel[rip], edx
	test	eax, eax
	jne	.L132
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	jmp	.L132
.L133:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	usage
	mov	edi, 1
	call	exit@PLT
.L132:
	mov	rcx, QWORD PTR -624[rbp]
	mov	eax, DWORD PTR -612[rbp]
	lea	rdx, .LC36[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	__posix_getopt@PLT
	mov	DWORD PTR -588[rbp], eax
	cmp	DWORD PTR -588[rbp], -1
	jne	.L143
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -624[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L144
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC37[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L144:
	lea	rax, -480[rbp]
	mov	rdi, rax
	call	config_log
	mov	esi, 1
	mov	edi, 13
	call	__sysv_signal@PLT
	lea	rdx, -432[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	lea	rax, sigterm_handler[rip]
	mov	QWORD PTR -432[rbp], rax
	lea	rax, -432[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 15
	call	sigaction@PLT
	mov	DWORD PTR -584[rbp], eax
	cmp	DWORD PTR -584[rbp], -1
	jne	.L145
	call	die
.L145:
	lea	rdx, -432[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	lea	rax, sighup_handler[rip]
	mov	QWORD PTR -432[rbp], rax
	lea	rax, -432[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	sigaction@PLT
	mov	DWORD PTR -580[rbp], eax
	cmp	DWORD PTR -580[rbp], -1
	jne	.L146
	call	die
.L146:
	lea	rax, -464[rbp]
	mov	rdi, rax
	call	queue_init
	lea	rax, -432[rbp]
	mov	rdi, rax
	call	pollvec_init
	call	uepoch
	mov	QWORD PTR -560[rbp], rax
	mov	eax, DWORD PTR -480[rbp]
	mov	edi, eax
	call	server_create
	mov	DWORD PTR -596[rbp], eax
	jmp	.L147
.L177:
	mov	eax, DWORD PTR reload[rip]
	test	eax, eax
	je	.L148
	mov	eax, DWORD PTR -480[rbp]
	mov	DWORD PTR -576[rbp], eax
	mov	rcx, QWORD PTR -552[rbp]
	lea	rax, -480[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	config_load
	lea	rax, -480[rbp]
	mov	rdi, rax
	call	config_log
	mov	eax, DWORD PTR -480[rbp]
	cmp	DWORD PTR -576[rbp], eax
	je	.L149
	mov	eax, DWORD PTR -596[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -480[rbp]
	mov	edi, eax
	call	server_create
	mov	DWORD PTR -596[rbp], eax
.L149:
	mov	DWORD PTR reload[rip], 0
.L148:
	lea	rax, -432[rbp]
	mov	rdi, rax
	call	pollvec_clear
	mov	edx, DWORD PTR -448[rbp]
	mov	eax, DWORD PTR -468[rbp]
	cmp	edx, eax
	jge	.L150
	mov	ecx, DWORD PTR -596[rbp]
	lea	rax, -432[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	pollvec_push
	jmp	.L151
.L150:
	lea	rax, -432[rbp]
	mov	edx, 0
	mov	esi, -1
	mov	rdi, rax
	call	pollvec_push
.L151:
	mov	DWORD PTR -592[rbp], -1
	call	uepoch
	mov	QWORD PTR -528[rbp], rax
	mov	rax, QWORD PTR -464[rbp]
	mov	QWORD PTR -544[rbp], rax
	jmp	.L152
.L156:
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR 56[rax]
	cmp	QWORD PTR -528[rbp], rax
	jl	.L153
	mov	rax, QWORD PTR -544[rbp]
	mov	ecx, DWORD PTR 84[rax]
	lea	rax, -432[rbp]
	mov	edx, 4
	mov	esi, ecx
	mov	rdi, rax
	call	pollvec_push
	jmp	.L180
.L153:
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -528[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -592[rbp], eax
	jmp	.L155
.L180:
	mov	rax, QWORD PTR -544[rbp]
	mov	rax, QWORD PTR 72[rax]
	mov	QWORD PTR -544[rbp], rax
.L152:
	cmp	QWORD PTR -544[rbp], 0
	jne	.L156
.L155:
	mov	edx, DWORD PTR -448[rbp]
	mov	eax, DWORD PTR -468[rbp]
	cmp	edx, eax
	jl	.L157
	lea	rax, .LC38[rip]
	jmp	.L158
.L157:
	lea	rax, .LC39[rip]
.L158:
	mov	rdx, QWORD PTR -424[rbp]
	mov	ecx, DWORD PTR -592[rbp]
	mov	r8, rax
	lea	rsi, .LC40[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	mov	rcx, QWORD PTR -424[rbp]
	mov	rax, QWORD PTR -416[rbp]
	mov	edx, DWORD PTR -592[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	poll@PLT
	mov	DWORD PTR -572[rbp], eax
	mov	eax, DWORD PTR -572[rbp]
	mov	edx, eax
	lea	rsi, .LC41[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -572[rbp], -1
	jne	.L159
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L160
	lea	rsi, .LC42[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	jmp	.L147
.L160:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L159:
	mov	rax, QWORD PTR -416[rbp]
	movzx	eax, WORD PTR 6[rax]
	cwde
	and	eax, 1
	test	eax, eax
	je	.L161
	mov	eax, DWORD PTR -596[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -568[rbp], eax
	mov	eax, DWORD PTR -568[rbp]
	mov	edx, eax
	lea	rsi, .LC43[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -568[rbp], -1
	jne	.L162
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	QWORD PTR -504[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 105
	jg	.L163
	cmp	eax, 71
	jge	.L164
	cmp	eax, 24
	jg	.L163
	cmp	eax, 23
	jge	.L165
	cmp	eax, 4
	je	.L166
	cmp	eax, 12
	je	.L166
	jmp	.L163
.L164:
	sub	eax, 71
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	movabs	rax, 21474836481
	and	rax, rdx
	test	rax, rax
	setne	al
	test	al, al
	jne	.L166
	jmp	.L163
.L165:
	mov	eax, DWORD PTR -448[rbp]
	mov	DWORD PTR -468[rbp], eax
	mov	eax, DWORD PTR -448[rbp]
	mov	edx, eax
	lea	rsi, .LC22[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	jmp	.L161
.L166:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -504[rbp]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L161
.L163:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -504[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L162:
	call	uepoch
	mov	rdx, rax
	mov	eax, DWORD PTR -476[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	cdqe
	add	rax, rdx
	mov	QWORD PTR -520[rbp], rax
	mov	rdx, QWORD PTR -520[rbp]
	mov	eax, DWORD PTR -568[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	client_new
	mov	QWORD PTR -512[rbp], rax
	cmp	QWORD PTR -512[rbp], 0
	jne	.L168
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC45[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -568[rbp]
	mov	edi, eax
	call	close@PLT
.L168:
	mov	rdx, QWORD PTR -512[rbp]
	lea	rax, -464[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	queue_append
	mov	ecx, DWORD PTR -468[rbp]
	mov	edi, DWORD PTR -448[rbp]
	mov	rax, QWORD PTR -512[rbp]
	mov	esi, DWORD PTR 84[rax]
	mov	rax, QWORD PTR -512[rbp]
	mov	edx, DWORD PTR 80[rax]
	mov	rax, QWORD PTR -512[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9d, edi
	mov	r8d, esi
	mov	ecx, edx
	mov	rdx, rax
	lea	rsi, .LC46[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	add	rsp, 16
.L161:
	mov	QWORD PTR -536[rbp], 1
	jmp	.L169
.L176:
	mov	rdx, QWORD PTR -416[rbp]
	mov	rax, QWORD PTR -536[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	WORD PTR -600[rbp], ax
	mov	rdx, QWORD PTR -416[rbp]
	mov	rax, QWORD PTR -536[rbp]
	sal	rax, 3
	add	rax, rdx
	movzx	eax, WORD PTR 6[rax]
	mov	WORD PTR -598[rbp], ax
	movsx	edx, WORD PTR -600[rbp]
	lea	rax, -464[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	queue_remove
	mov	QWORD PTR -496[rbp], rax
	movsx	eax, WORD PTR -598[rbp]
	and	eax, 16
	test	eax, eax
	je	.L170
	mov	rax, QWORD PTR -496[rbp]
	mov	rdi, rax
	call	client_destroy
	jmp	.L171
.L170:
	movsx	eax, WORD PTR -598[rbp]
	and	eax, 4
	test	eax, eax
	je	.L171
	mov	ecx, DWORD PTR -472[rbp]
	lea	rdx, -560[rbp]
	lea	rax, -272[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	randline
	mov	DWORD PTR -564[rbp], eax
.L173:
	mov	eax, DWORD PTR -564[rbp]
	movsx	rdx, eax
	movsx	eax, WORD PTR -600[rbp]
	lea	rsi, -272[rbp]
	mov	ecx, 64
	mov	edi, eax
	call	send@PLT
	mov	QWORD PTR -488[rbp], rax
	cmp	QWORD PTR -488[rbp], -1
	jne	.L172
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L172
	jmp	.L173
.L172:
	cmp	QWORD PTR -488[rbp], -1
	jne	.L174
	mov	rax, QWORD PTR -496[rbp]
	mov	rdi, rax
	call	client_destroy
	jmp	.L171
.L174:
	mov	rax, QWORD PTR -488[rbp]
	mov	edx, eax
	movsx	eax, WORD PTR -600[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC47[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	mov	rax, QWORD PTR -496[rbp]
	mov	rdx, QWORD PTR 64[rax]
	mov	rax, QWORD PTR -488[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -496[rbp]
	mov	QWORD PTR 64[rax], rdx
	call	uepoch
	mov	rdx, rax
	mov	eax, DWORD PTR -476[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -496[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rdx, QWORD PTR -496[rbp]
	lea	rax, -464[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	queue_append
	nop
.L171:
	add	QWORD PTR -536[rbp], 1
.L169:
	mov	rax, QWORD PTR -424[rbp]
	cmp	QWORD PTR -536[rbp], rax
	jb	.L176
.L147:
	mov	eax, DWORD PTR running[rip]
	test	eax, eax
	jne	.L177
	lea	rax, -432[rbp]
	mov	rdi, rax
	call	pollvec_free
	lea	rax, -464[rbp]
	mov	rdi, rax
	call	queue_destroy
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L179
	call	__stack_chk_fail@PLT
.L179:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	main, .-main
	.section	.rodata
.LC48:
	.string	"Port"
.LC49:
	.string	"Delay"
.LC50:
	.string	"MaxLineLength"
.LC51:
	.string	"MaxClients"
.LC52:
	.string	"LogLevel"
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	table.0, @object
	.size	table.0, 48
table.0:
	.zero	8
	.quad	.LC48
	.quad	.LC49
	.quad	.LC50
	.quad	.LC51
	.quad	.LC52
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"109922.c"
	.text
	.global	__aeabi_uldivmod
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uepoch, %function
uepoch:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #32
	mov	r1, r3
	mov	r0, #0
	bl	clock_gettime
	ldr	r3, [fp, #-32]
	mov	r0, r3
	asr	r1, r0, #31
	mov	r2, r0
	mov	r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #5
	orr	r5, r5, r2, lsr #27
	lsl	r4, r2, #5
	mov	r2, r4
	mov	r3, r5
	subs	r2, r2, r0
	sbc	r3, r3, r1
	mov	r4, #0
	mov	r5, #0
	lsl	r5, r3, #2
	orr	r5, r5, r2, lsr #30
	lsl	r4, r2, #2
	mov	r2, r4
	mov	r3, r5
	adds	r2, r2, r0
	adc	r3, r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-28]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r2, .L4+4
	mov	r3, #0
	bl	__aeabi_uldivmod
	mov	r2, r0
	mov	r3, r1
	adds	r6, r4, r2
	adc	r7, r5, r3
	mov	r2, r6
	mov	r3, r7
	ldr	r1, .L4
	ldr	r0, [r1]
	ldr	r1, [fp, #-24]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC1
	.word	1000000
	.size	uepoch, .-uepoch
	.local	loglevel
	.comm	loglevel,4,4
	.global	__aeabi_ldivmod
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%Y-%m-%dT%H:%M:%S\000"
	.align	2
.LC3:
	.ascii	"%s.%03lldZ \000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	logmsg, %function
logmsg:
	@ args = 4, pretend = 12, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #148
	str	r0, [fp, #-148]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-152]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3,#0
	ldr	r3, .L10+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	bhi	.L9
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-132]
	bl	uepoch
	str	r0, [fp, #-128]
	str	r1, [fp, #-124]
	sub	r1, fp, #128
	ldmia	r1, {r0-r1}
	mov	r2, #1000
	mov	r3, #0
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	str	r3, [fp, #-140]
	sub	r2, fp, #120
	sub	r3, fp, #140
	mov	r1, r2
	mov	r0, r3
	bl	gmtime_r
	mov	r3, r0
	sub	r0, fp, #76
	ldr	r2, .L10+8
	mov	r1, #64
	bl	strftime
	sub	r1, fp, #128
	ldmia	r1, {r0-r1}
	mov	r2, #1000
	mov	r3, #0
	bl	__aeabi_ldivmod
	sub	r1, fp, #76
	ldr	r0, .L10+12
	bl	printf
	add	r3, fp, #8
	str	r3, [fp, #-136]
	ldr	r1, [fp, #-136]
	ldr	r0, [fp, #-152]
	bl	vprintf
	ldr	r3, .L10+16
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-132]
	str	r3, [r2]
.L9:
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #12
	bx	lr
.L11:
	.align	2
.L10:
	.word	.LC4
	.word	loglevel
	.word	.LC2
	.word	.LC3
	.word	stdout
	.size	logmsg, .-logmsg
	.section	.rodata
	.align	2
.LC5:
	.ascii	"setsockopt(%d, SO_RCVBUF, %d) = %d\000"
	.align	2
.LC6:
	.ascii	"errno = %d, %s\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	client_new, %function
client_new:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #188
	str	r0, [fp, #-176]
	str	r2, [fp, #-188]
	str	r3, [fp, #-184]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #88
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-160]
	mov	r2, #0
	strb	r2, [r3]
	bl	uepoch
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-160]
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	ldr	r1, [fp, #-160]
	sub	r3, fp, #188
	ldmia	r3, {r2-r3}
	str	r2, [r1, #56]
	str	r3, [r1, #60]
	ldr	r1, [fp, #-160]
	mov	r2, #0
	mov	r3, #0
	str	r2, [r1, #64]
	str	r3, [r1, #68]
	ldr	r3, [fp, #-160]
	mov	r2, #0
	str	r2, [r3, #72]
	ldr	r3, [fp, #-160]
	ldr	r2, [fp, #-176]
	str	r2, [r3, #80]
	mov	r3, #1
	str	r3, [fp, #-168]
	sub	r3, fp, #168
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, [fp, #-176]
	bl	setsockopt
	str	r0, [fp, #-156]
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-156]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-176]
	ldr	r1, .L19+4
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-156]
	cmn	r3, #1
	bne	.L14
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r4
	ldr	r1, .L19+8
	mov	r0, #2
	bl	logmsg
.L14:
	mov	r3, #128
	str	r3, [fp, #-164]
	sub	r2, fp, #164
	sub	r3, fp, #144
	mov	r1, r3
	ldr	r0, [fp, #-176]
	bl	getpeername
	mov	r3, r0
	cmn	r3, #1
	beq	.L13
	ldrh	r3, [fp, #-144]
	cmp	r3, #2
	bne	.L16
	sub	r3, fp, #144
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-148]
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-160]
	str	r2, [r3, #76]
	ldr	r3, [fp, #-148]
	add	r1, r3, #4
	ldr	r2, [fp, #-160]
	mov	r3, #46
	mov	r0, #2
	bl	inet_ntop
	b	.L13
.L16:
	sub	r3, fp, #144
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-152]
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-160]
	str	r2, [r3, #76]
	ldr	r3, [fp, #-152]
	add	r1, r3, #8
	ldr	r2, [fp, #-160]
	mov	r3, #46
	mov	r0, #10
	bl	inet_ntop
.L13:
	ldr	r3, [fp, #-160]
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC7
	.word	.LC5
	.word	.LC6
	.size	client_new, .-client_new
	.section	.rodata
	.align	2
.LC8:
	.ascii	"close(%d)\000"
	.align	2
.LC9:
	.ascii	"CLOSE host=%s port=%d fd=%d time=%lld.%03lld bytes="
	.ascii	"%lld\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	client_destroy, %function
client_destroy:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #52
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #80]
	mov	r2, r3
	ldr	r1, .L22
	mov	r0, #2
	bl	logmsg
	bl	uepoch
	ldr	r3, [fp, #-40]
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	subs	r4, r0, r2
	sbc	r5, r1, r3
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
	ldr	r7, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r8, [r3, #76]
	ldr	r3, [fp, #-40]
	ldr	r6, [r3, #80]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #1000
	mov	r3, #0
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, #1000
	mov	r3, #0
	bl	__aeabi_ldivmod
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #64
	ldmia	r3, {r2-r3}
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	str	r0, [sp, #16]
	str	r1, [sp, #20]
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	str	r6, [sp]
	mov	r3, r8
	mov	r2, r7
	ldr	r1, .L22+4
	mov	r0, #1
	bl	logmsg
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #80]
	mov	r0, r3
	bl	close
	ldr	r0, [fp, #-40]
	bl	free
	nop
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC8
	.word	.LC9
	.size	client_destroy, .-client_destroy
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	queue_init, %function
queue_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	queue_init, .-queue_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	queue_remove, %function
queue_remove:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L26
.L33:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #80]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L27
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L29
.L28:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L30
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #72]
	b	.L29
.L30:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #72]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #72]
	b	.L29
.L31:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #72]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L29:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #72]
	b	.L32
.L27:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #72]
	str	r3, [fp, #-12]
.L26:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L33
.L32:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	queue_remove, .-queue_remove
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	queue_append, %function
queue_append:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	b	.L37
.L36:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #72]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
.L37:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	queue_append, .-queue_append
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	queue_destroy, %function
queue_destroy:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L39
.L40:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #72]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	client_destroy
.L39:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #8]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	queue_destroy, .-queue_destroy
	.section	.rodata
	.align	2
.LC10:
	.ascii	"endlessh: pollvec initialization failed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pollvec_init, %function
pollvec_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #4
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L44
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L44+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L43:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	stderr
	.word	.LC10
	.size	pollvec_init, .-pollvec_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pollvec_clear, %function
pollvec_clear:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	pollvec_clear, .-pollvec_clear
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pollvec_push, %function
pollvec_push:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, r2
	strh	r3, [fp, #-22]	@ movhi
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L48
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcs	.L49
	mov	r3, #0
	b	.L50
.L49:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	realloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L51
	mov	r3, #0
	b	.L50
.L51:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L48:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldrh	r2, [fp, #-22]	@ movhi
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	mov	r3, #1
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pollvec_push, .-pollvec_push
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pollvec_free, %function
pollvec_free:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pollvec_free, .-pollvec_free
	.section	.rodata
	.align	2
.LC11:
	.ascii	"endlessh: fatal: %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	die, %function
die:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L54
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L54+4
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L55:
	.align	2
.L54:
	.word	stderr
	.word	.LC11
	.size	die, .-die
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand16, %function
rand16:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, .L58
	mul	r3, r2, r3
	add	r3, r3, #12288
	add	r3, r3, #57
	ldr	r2, [fp, #-8]
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsr	r3, r3, #16
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L59:
	.align	2
.L58:
	.word	1103515245
	.size	rand16, .-rand16
	.global	__aeabi_uidivmod
	.section	.rodata
	.align	2
.LC12:
	.ascii	"SSH-\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	randline, %function
randline:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	rand16
	mov	r2, r0
	ldr	r3, [fp, #-20]
	sub	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_uidivmod
	mov	r3, r1
	add	r3, r3, #3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L61
.L62:
	ldr	r0, [fp, #-24]
	bl	rand16
	mov	r1, r0
	ldr	r3, .L65
	umull	r2, r3, r1, r3
	sub	r2, r1, r3
	lsr	r2, r2, #1
	add	r3, r3, r2
	lsr	r2, r3, #6
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	sub	r2, r1, r3
	and	r2, r2, #255
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	add	r2, r2, #32
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L61:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #2
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L62
	ldr	r3, [fp, #-8]
	sub	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #13
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #10
	strb	r2, [r3]
	mov	r2, #4
	ldr	r1, .L65+4
	ldr	r0, [fp, #-16]
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L63
	ldr	r3, [fp, #-16]
	mov	r2, #88
	strb	r2, [r3]
.L63:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	1491936009
	.word	.LC12
	.size	randline, .-randline
	.data
	.align	2
	.type	running, %object
	.size	running, 4
running:
	.word	1
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sigterm_handler, %function
sigterm_handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L68
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L69:
	.align	2
.L68:
	.word	running
	.size	sigterm_handler, .-sigterm_handler
	.local	reload
	.comm	reload,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sighup_handler, %function
sighup_handler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L71
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L72:
	.align	2
.L71:
	.word	reload
	.size	sighup_handler, .-sighup_handler
	.section	.rodata
	.align	2
.LC13:
	.ascii	"endlessh: Invalid port: %s\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_set_port, %function
config_set_port:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L79
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #16
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	strtol
	str	r0, [fp, #-12]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L74
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L74
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L74
	ldr	r3, [fp, #-12]
	cmp	r3, #65536
	blt	.L75
.L74:
	ldr	r3, .L79+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L79+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L77
	mov	r0, #1
	bl	exit
.L75:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
.L77:
	nop
	ldr	r3, .L79
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L78
	bl	__stack_chk_fail
.L78:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	.LC14
	.word	stderr
	.word	.LC13
	.size	config_set_port, .-config_set_port
	.section	.rodata
	.align	2
.LC15:
	.ascii	"endlessh: Invalid delay: %s\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_set_delay, %function
config_set_delay:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L87
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #16
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	strtol
	str	r0, [fp, #-12]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L82
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L83
.L82:
	ldr	r3, .L87+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L87+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L85
	mov	r0, #1
	bl	exit
.L83:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
.L85:
	nop
	ldr	r3, .L87
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L86
	bl	__stack_chk_fail
.L86:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC16
	.word	stderr
	.word	.LC15
	.size	config_set_delay, .-config_set_delay
	.section	.rodata
	.align	2
.LC17:
	.ascii	"endlessh: Invalid max clients: %s\012\000"
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_set_max_clients, %function
config_set_max_clients:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L95
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #16
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	strtol
	str	r0, [fp, #-12]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L91
.L90:
	ldr	r3, .L95+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L95+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L93
	mov	r0, #1
	bl	exit
.L91:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #12]
.L93:
	nop
	ldr	r3, .L95
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L94
	bl	__stack_chk_fail
.L94:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L96:
	.align	2
.L95:
	.word	.LC18
	.word	stderr
	.word	.LC17
	.size	config_set_max_clients, .-config_set_max_clients
	.section	.rodata
	.align	2
.LC19:
	.ascii	"endlessh: Invalid line length: %s\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_set_max_line_length, %function
config_set_max_line_length:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L103
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #16
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	strtol
	str	r0, [fp, #-12]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L98
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L98
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L98
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	ble	.L99
.L98:
	ldr	r3, .L103+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L103+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L101
	mov	r0, #1
	bl	exit
.L99:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
.L101:
	nop
	ldr	r3, .L103
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L102
	bl	__stack_chk_fail
.L102:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L104:
	.align	2
.L103:
	.word	.LC20
	.word	stderr
	.word	.LC19
	.size	config_set_max_line_length, .-config_set_max_line_length
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_key_parse, %function
config_key_parse:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L106
.L109:
	ldr	r2, .L110
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L107
	ldr	r3, [fp, #-8]
	b	.L108
.L107:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L106:
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bls	.L109
	mov	r3, #0
.L108:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L111:
	.align	2
.L110:
	.word	table.6302
	.size	config_key_parse, .-config_key_parse
	.section	.rodata
	.align	2
.LC21:
	.ascii	"r\000"
	.align	2
.LC22:
	.ascii	" \015\012\000"
	.align	2
.LC23:
	.ascii	"%s:%ld: Missing value\012\000"
	.align	2
.LC24:
	.ascii	"%s:%ld: Too many values\012\000"
	.align	2
.LC25:
	.ascii	"%s:%ld: Unknown option '%s'\012\000"
	.align	2
.LC26:
	.ascii	"%s:%ld: Invalid log level '%s'\012\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_load, %function
config_load:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	ldr	r3, .L151
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r1, .L151+4
	ldr	r0, [fp, #-76]
	bl	fopen
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L145
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L114
.L143:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-60]
	mov	r1, #35
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L115
	ldr	r3, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3]
.L115:
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L116
.L121:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L117
	ldr	r3, [fp, #-60]
	b	.L118
.L117:
	mov	r3, #0
.L118:
	sub	r2, fp, #56
	ldr	r1, .L151+8
	mov	r0, r3
	bl	strtok_r
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L146
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	str	r2, [r3, #-16]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L116:
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	ble	.L121
	b	.L120
.L146:
	nop
.L120:
	ldr	r3, [fp, #-44]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L122
.L124:
	.word	.L147
	.word	.L126
	.word	.L122
	.word	.L123
.L126:
	ldr	r3, .L151+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-76]
	ldr	r1, .L151+16
	bl	fprintf
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L148
	mov	r0, #1
	bl	exit
.L123:
	ldr	r3, .L151+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-76]
	ldr	r1, .L151+20
	bl	fprintf
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L149
	mov	r0, #1
	bl	exit
.L122:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	config_key_parse
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L114
.L133:
	.word	.L138
	.word	.L137
	.word	.L136
	.word	.L135
	.word	.L134
	.word	.L132
.L138:
	ldr	r3, .L151+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-76]
	ldr	r1, .L151+24
	bl	fprintf
	b	.L114
.L137:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-80]
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	config_set_port
	b	.L114
.L136:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-80]
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	config_set_delay
	b	.L114
.L135:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-80]
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	config_set_max_line_length
	b	.L114
.L134:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-80]
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	config_set_max_clients
	b	.L114
.L132:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, fp, #52
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-24]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L139
	ldr	r3, [fp, #-52]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L139
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L139
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	ble	.L140
.L139:
	ldr	r3, .L151+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-76]
	ldr	r1, .L151+28
	bl	fprintf
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L142
	mov	r0, #1
	bl	exit
.L140:
	ldr	r3, [fp, #-24]
	ldr	r2, .L151+32
	str	r3, [r2]
	b	.L150
.L142:
.L150:
	nop
	b	.L114
.L147:
	nop
	b	.L114
.L148:
	nop
	b	.L114
.L149:
	nop
.L114:
	sub	r1, fp, #64
	sub	r3, fp, #60
	ldr	r2, [fp, #-40]
	mov	r0, r3
	bl	getline
	mov	r3, r0
	cmn	r3, #1
	bne	.L143
	ldr	r3, [fp, #-60]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-40]
	bl	fclose
.L145:
	nop
	ldr	r3, .L151
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L144
	bl	__stack_chk_fail
.L144:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L152:
	.align	2
.L151:
	.word	.LC27
	.word	.LC21
	.word	.LC22
	.word	stderr
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	loglevel
	.size	config_load, .-config_load
	.section	.rodata
	.align	2
.LC28:
	.ascii	"Port %d\000"
	.align	2
.LC29:
	.ascii	"Delay %ld\000"
	.align	2
.LC30:
	.ascii	"MaxLineLength %d\000"
	.align	2
.LC31:
	.ascii	"MaxClients %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_log, %function
config_log:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L154
	mov	r0, #1
	bl	logmsg
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r1, .L154+4
	mov	r0, #1
	bl	logmsg
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r1, .L154+8
	mov	r0, #1
	bl	logmsg
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r2, r3
	ldr	r1, .L154+12
	mov	r0, #1
	bl	logmsg
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L155:
	.align	2
.L154:
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	config_log, .-config_log
	.section	.rodata
	.align	2
.LC32:
	.ascii	"Usage: endlessh [-vh] [-d MS] [-f CONFIG] [-l LEN] "
	.ascii	"[-m LIMIT] [-p PORT]\012\000"
	.align	2
.LC33:
	.ascii	"  -d INT    Message millisecond delay [10000]\012\000"
	.align	2
.LC34:
	.ascii	"  -f        Set and load config file [/etc/endlessh"
	.ascii	"/config]\012\000"
	.align	2
.LC35:
	.ascii	"  -h        Print this help message and exit\012\000"
	.align	2
.LC36:
	.ascii	"  -l INT    Maximum banner line length (3-255) [32]"
	.ascii	"\012\000"
	.align	2
.LC37:
	.ascii	"  -m INT    Maximum number of clients [4096]\012\000"
	.align	2
.LC38:
	.ascii	"  -p INT    Listening port [2222]\012\000"
	.align	2
.LC39:
	.ascii	"  -v        Print diagnostics to standard output (r"
	.ascii	"epeatable)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #72
	mov	r1, #1
	ldr	r0, .L157
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L157+4
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #60
	mov	r1, #1
	ldr	r0, .L157+8
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L157+12
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L157+16
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L157+20
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L157+24
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #62
	mov	r1, #1
	ldr	r0, .L157+28
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L158:
	.align	2
.L157:
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC40:
	.ascii	"socket() = %d\000"
	.align	2
.LC41:
	.ascii	"setsockopt(%d, SO_REUSEADDR, true) = %d\000"
	.align	2
.LC42:
	.ascii	"bind(%d, port=%d) = %d\000"
	.align	2
.LC43:
	.ascii	"listen(%d) = %d\000"
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	server_create, %function
server_create:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-64]
	ldr	r3, .L166
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #10
	bl	socket
	str	r0, [fp, #-52]
	ldr	r2, [fp, #-52]
	ldr	r1, .L166+4
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	bne	.L160
	bl	die
.L160:
	mov	r3, #1
	str	r3, [fp, #-56]
	sub	r3, fp, #56
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	setsockopt
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	ldr	r1, .L166+8
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L161
	bl	__errno_location
	mov	r3, r0
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r4
	ldr	r1, .L166+12
	mov	r0, #2
	bl	logmsg
.L161:
	sub	r3, fp, #44
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	mov	r3, #10
	strh	r3, [fp, #-44]	@ movhi
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-42]	@ movhi
	ldr	r3, .L166+16
	sub	ip, fp, #36
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #44
	mov	r2, #28
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	bind
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-52]
	ldr	r1, .L166+20
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L162
	bl	die
.L162:
	mvn	r1, #-2147483648
	ldr	r0, [fp, #-52]
	bl	listen
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	ldr	r1, .L166+24
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L163
	bl	die
.L163:
	ldr	r3, [fp, #-52]
	ldr	r2, .L166
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L165
	bl	__stack_chk_fail
.L165:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L167:
	.align	2
.L166:
	.word	.LC44
	.word	.LC40
	.word	.LC41
	.word	.LC6
	.word	in6addr_any
	.word	.LC42
	.word	.LC43
	.size	server_create, .-server_create
	.section	.rodata
	.align	2
.LC45:
	.ascii	"/etc/endlessh/config\000"
	.align	2
.LC46:
	.ascii	"d:f:hl:m:p:v\000"
	.align	2
.LC47:
	.ascii	"endlessh: too many arguments\012\000"
	.align	2
.LC48:
	.ascii	" (no accept)\000"
	.align	2
.LC49:
	.ascii	"\000"
	.align	2
.LC50:
	.ascii	"poll(%zu, %d)%s\000"
	.align	2
.LC51:
	.ascii	"= %d\000"
	.align	2
.LC52:
	.ascii	"EINTR\000"
	.align	2
.LC53:
	.ascii	"accept() = %d\000"
	.align	2
.LC54:
	.ascii	"endlessh: warning: %s\012\000"
	.align	2
.LC55:
	.ascii	"endlessh: warning: out of memory\012\000"
	.align	2
.LC56:
	.ascii	"ACCEPT host=%s port=%d fd=%d n=%d/%d\000"
	.align	2
.LC57:
	.ascii	"send(%d) = %d\000"
	.align	2
.LC0:
	.word	2222
	.word	10000
	.word	32
	.word	4096
	.align	2
.LC58:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #544
	str	r0, [fp, #-552]
	str	r1, [fp, #-556]
	ldr	r3, .L217
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r3, .L217+4
	sub	ip, fp, #456
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L217+8
	str	r3, [fp, #-540]
	sub	r3, fp, #456
	mov	r2, #1
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	config_load
	b	.L169
.L180:
	ldr	r3, [fp, #-520]
	sub	r3, r3, #100
	cmp	r3, #18
	ldrls	pc, [pc, r3, asl #2]
	b	.L170
.L172:
	.word	.L178
	.word	.L170
	.word	.L177
	.word	.L170
	.word	.L176
	.word	.L170
	.word	.L170
	.word	.L170
	.word	.L175
	.word	.L174
	.word	.L170
	.word	.L170
	.word	.L173
	.word	.L170
	.word	.L170
	.word	.L170
	.word	.L170
	.word	.L170
	.word	.L171
.L178:
	ldr	r3, .L217+12
	ldr	r1, [r3]
	sub	r3, fp, #456
	mov	r2, #1
	mov	r0, r3
	bl	config_set_delay
	b	.L169
.L177:
	ldr	r3, .L217+12
	ldr	r3, [r3]
	str	r3, [fp, #-540]
	ldr	r3, .L217+12
	ldr	r1, [r3]
	sub	r3, fp, #456
	mov	r2, #1
	mov	r0, r3
	bl	config_load
	b	.L169
.L176:
	ldr	r3, .L217+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r0, #0
	bl	exit
.L175:
	ldr	r3, .L217+12
	ldr	r1, [r3]
	sub	r3, fp, #456
	mov	r2, #1
	mov	r0, r3
	bl	config_set_max_line_length
	b	.L169
.L174:
	ldr	r3, .L217+12
	ldr	r1, [r3]
	sub	r3, fp, #456
	mov	r2, #1
	mov	r0, r3
	bl	config_set_max_clients
	b	.L169
.L173:
	ldr	r3, .L217+12
	ldr	r1, [r3]
	sub	r3, fp, #456
	mov	r2, #1
	mov	r0, r3
	bl	config_set_port
	b	.L169
.L171:
	ldr	r3, .L217+20
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L217+20
	str	r2, [r1]
	cmp	r3, #0
	bne	.L169
	ldr	r3, .L217+16
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #1
	mov	r1, #0
	bl	setvbuf
	b	.L169
.L170:
	ldr	r3, .L217+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r0, #1
	bl	exit
.L169:
	ldr	r2, .L217+28
	ldr	r1, [fp, #-556]
	ldr	r0, [fp, #-552]
	bl	__posix_getopt
	str	r0, [fp, #-520]
	ldr	r3, [fp, #-520]
	cmn	r3, #1
	bne	.L180
	ldr	r3, .L217+32
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-556]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L181
	ldr	r3, .L217+24
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L217+36
	bl	fwrite
	mov	r0, #1
	bl	exit
.L181:
	sub	r3, fp, #456
	mov	r0, r3
	bl	config_log
	mov	r1, #1
	mov	r0, #13
	bl	__sysv_signal
	sub	r3, fp, #428
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L217+40
	str	r3, [fp, #-428]
	sub	r3, fp, #428
	mov	r2, #0
	mov	r1, r3
	mov	r0, #15
	bl	sigaction
	str	r0, [fp, #-516]
	ldr	r3, [fp, #-516]
	cmn	r3, #1
	bne	.L182
	bl	die
.L182:
	sub	r3, fp, #428
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L217+44
	str	r3, [fp, #-428]
	sub	r3, fp, #428
	mov	r2, #0
	mov	r1, r3
	mov	r0, #1
	bl	sigaction
	str	r0, [fp, #-512]
	ldr	r3, [fp, #-512]
	cmn	r3, #1
	bne	.L183
	bl	die
.L183:
	sub	r3, fp, #440
	mov	r0, r3
	bl	queue_init
	sub	r3, fp, #428
	mov	r0, r3
	bl	pollvec_init
	bl	uepoch
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	str	r3, [fp, #-544]
	ldr	r3, [fp, #-456]
	mov	r0, r3
	bl	server_create
	str	r0, [fp, #-536]
	b	.L184
.L213:
	ldr	r3, .L217+48
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L185
	ldr	r3, [fp, #-456]
	str	r3, [fp, #-508]
	sub	r3, fp, #456
	mov	r2, #0
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	config_load
	sub	r3, fp, #456
	mov	r0, r3
	bl	config_log
	ldr	r3, [fp, #-456]
	ldr	r2, [fp, #-508]
	cmp	r2, r3
	beq	.L186
	ldr	r0, [fp, #-536]
	bl	close
	ldr	r3, [fp, #-456]
	mov	r0, r3
	bl	server_create
	str	r0, [fp, #-536]
.L186:
	ldr	r3, .L217+48
	mov	r2, #0
	str	r2, [r3]
.L185:
	sub	r3, fp, #428
	mov	r0, r3
	bl	pollvec_clear
	ldr	r2, [fp, #-432]
	ldr	r3, [fp, #-444]
	cmp	r2, r3
	bge	.L187
	sub	r3, fp, #428
	mov	r2, #1
	ldr	r1, [fp, #-536]
	mov	r0, r3
	bl	pollvec_push
	b	.L188
.L187:
	sub	r3, fp, #428
	mov	r2, #0
	mvn	r1, #0
	mov	r0, r3
	bl	pollvec_push
.L188:
	mvn	r3, #0
	str	r3, [fp, #-532]
	bl	uepoch
	str	r0, [fp, #-476]
	str	r1, [fp, #-472]
	ldr	r3, [fp, #-440]
	str	r3, [fp, #-528]
	b	.L189
.L193:
	ldr	r3, [fp, #-528]
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	sub	r1, fp, #476
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L190
	ldr	r3, [fp, #-528]
	ldr	r1, [r3, #80]
	sub	r3, fp, #428
	mov	r2, #4
	mov	r0, r3
	bl	pollvec_push
	b	.L216
.L190:
	ldr	r3, [fp, #-528]
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	ldr	r3, [fp, #-476]
	sub	r3, r2, r3
	str	r3, [fp, #-532]
	b	.L192
.L216:
	ldr	r3, [fp, #-528]
	ldr	r3, [r3, #72]
	str	r3, [fp, #-528]
.L189:
	ldr	r3, [fp, #-528]
	cmp	r3, #0
	bne	.L193
.L192:
	ldr	r1, [fp, #-424]
	ldr	r2, [fp, #-432]
	ldr	r3, [fp, #-444]
	cmp	r2, r3
	blt	.L194
	ldr	r3, .L217+52
	b	.L195
.L194:
	ldr	r3, .L217+56
.L195:
	str	r3, [sp]
	ldr	r3, [fp, #-532]
	mov	r2, r1
	ldr	r1, .L217+60
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-420]
	ldr	r1, [fp, #-424]
	ldr	r2, [fp, #-532]
	mov	r0, r3
	bl	poll
	str	r0, [fp, #-504]
	ldr	r2, [fp, #-504]
	ldr	r1, .L217+64
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-504]
	cmn	r3, #1
	bne	.L196
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L197
	ldr	r1, .L217+68
	mov	r0, #2
	bl	logmsg
	b	.L184
.L197:
	ldr	r3, .L217+24
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L217+72
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L196:
	ldr	r3, [fp, #-420]
	ldrsh	r3, [r3, #6]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L198
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-536]
	bl	accept
	str	r0, [fp, #-500]
	ldr	r2, [fp, #-500]
	ldr	r1, .L217+76
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-500]
	cmn	r3, #1
	bne	.L199
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	str	r0, [fp, #-492]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #105
	beq	.L200
	cmp	r3, #105
	bgt	.L201
	cmp	r3, #103
	beq	.L200
	cmp	r3, #103
	bgt	.L201
	cmp	r3, #71
	beq	.L200
	cmp	r3, #71
	bgt	.L201
	cmp	r3, #24
	bgt	.L201
	cmp	r3, #23
	bge	.L202
	cmp	r3, #4
	beq	.L200
	cmp	r3, #12
	beq	.L200
	b	.L201
.L202:
	ldr	r3, [fp, #-432]
	str	r3, [fp, #-444]
	ldr	r3, [fp, #-432]
	mov	r2, r3
	ldr	r1, .L217+80
	mov	r0, #1
	bl	logmsg
	b	.L198
.L200:
	ldr	r3, .L217+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-492]
	ldr	r1, .L217+84
	mov	r0, r3
	bl	fprintf
	b	.L198
.L201:
	ldr	r3, .L217+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-492]
	ldr	r1, .L217+72
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L199:
	bl	uepoch
	ldr	r3, [fp, #-452]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	asr	r3, r2, #31
	adds	r8, r0, r2
	adc	r9, r1, r3
	str	r8, [fp, #-468]
	str	r9, [fp, #-464]
	sub	r3, fp, #468
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-500]
	bl	client_new
	str	r0, [fp, #-496]
	ldr	r3, [fp, #-496]
	cmp	r3, #0
	bne	.L204
	ldr	r3, .L217+24
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L217+88
	bl	fwrite
	ldr	r0, [fp, #-500]
	bl	close
.L204:
	sub	r3, fp, #440
	ldr	r1, [fp, #-496]
	mov	r0, r3
	bl	queue_append
	ldr	r0, [fp, #-496]
	ldr	r3, [fp, #-496]
	ldr	ip, [r3, #76]
	ldr	r3, [fp, #-496]
	ldr	r3, [r3, #80]
	ldr	r2, [fp, #-432]
	ldr	r1, [fp, #-444]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L217+92
	mov	r0, #1
	bl	logmsg
.L198:
	mov	r3, #1
	str	r3, [fp, #-524]
	b	.L205
.L212:
	ldr	r2, [fp, #-420]
	ldr	r3, [fp, #-524]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #28
	sub	r3, r3, #520
	strh	r2, [r3]	@ movhi
	ldr	r2, [fp, #-420]
	ldr	r3, [fp, #-524]
	lsl	r3, r3, #3
	add	r2, r2, r3
	sub	r3, fp, #28
	sub	r3, r3, #516
	sub	r3, r3, #2
	ldrh	r2, [r2, #6]	@ movhi
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #28
	sub	r3, r3, #520
	ldrsh	r2, [r3]
	sub	r3, fp, #440
	mov	r1, r2
	mov	r0, r3
	bl	queue_remove
	str	r0, [fp, #-488]
	sub	r3, fp, #28
	sub	r3, r3, #516
	sub	r3, r3, #2
	ldrh	r3, [r3]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L206
	ldr	r0, [fp, #-488]
	bl	client_destroy
	b	.L207
.L206:
	sub	r3, fp, #28
	sub	r3, r3, #516
	sub	r3, r3, #2
	ldrh	r3, [r3]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L207
	ldr	r1, [fp, #-448]
	sub	r2, fp, #544
	sub	r3, fp, #288
	mov	r0, r3
	bl	randline
	str	r0, [fp, #-484]
.L209:
	sub	r3, fp, #28
	sub	r3, r3, #520
	ldrsh	r0, [r3]
	ldr	r2, [fp, #-484]
	sub	r1, fp, #288
	mov	r3, #64
	bl	send
	str	r0, [fp, #-480]
	ldr	r3, [fp, #-480]
	cmn	r3, #1
	bne	.L208
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L208
	b	.L209
.L208:
	ldr	r3, [fp, #-480]
	cmn	r3, #1
	bne	.L210
	ldr	r0, [fp, #-488]
	bl	client_destroy
	b	.L207
.L210:
	sub	r3, fp, #28
	sub	r3, r3, #520
	ldrsh	r2, [r3]
	ldr	r3, [fp, #-480]
	ldr	r1, .L217+96
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-488]
	add	r1, r3, #64
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-480]
	mov	r2, r3
	asr	r3, r2, #31
	adds	r4, r0, r2
	adc	r5, r1, r3
	ldr	r3, [fp, #-488]
	str	r4, [r3, #64]
	str	r5, [r3, #68]
	bl	uepoch
	ldr	r3, [fp, #-452]
	mov	r2, r3
	asr	r3, r2, #31
	adds	r6, r0, r2
	adc	r7, r1, r3
	ldr	r3, [fp, #-488]
	str	r6, [r3, #56]
	str	r7, [r3, #60]
	sub	r3, fp, #440
	ldr	r1, [fp, #-488]
	mov	r0, r3
	bl	queue_append
	nop
.L207:
	ldr	r3, [fp, #-524]
	add	r3, r3, #1
	str	r3, [fp, #-524]
.L205:
	ldr	r3, [fp, #-424]
	ldr	r2, [fp, #-524]
	cmp	r2, r3
	bcc	.L212
.L184:
	ldr	r3, .L217+100
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L213
	sub	r3, fp, #428
	mov	r0, r3
	bl	pollvec_free
	sub	r3, fp, #440
	mov	r0, r3
	bl	queue_destroy
	mov	r3, #0
	ldr	r2, .L217
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L215
	bl	__stack_chk_fail
.L215:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L218:
	.align	2
.L217:
	.word	.LC58
	.word	.LC0
	.word	.LC45
	.word	optarg
	.word	stdout
	.word	loglevel
	.word	stderr
	.word	.LC46
	.word	optind
	.word	.LC47
	.word	sigterm_handler
	.word	sighup_handler
	.word	reload
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC11
	.word	.LC53
	.word	.LC31
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	running
	.size	main, .-main
	.section	.rodata
	.align	2
.LC59:
	.ascii	"Port\000"
	.align	2
.LC60:
	.ascii	"Delay\000"
	.align	2
.LC61:
	.ascii	"MaxLineLength\000"
	.align	2
.LC62:
	.ascii	"MaxClients\000"
	.align	2
.LC63:
	.ascii	"LogLevel\000"
	.align	2
	.type	table.6302, %object
	.size	table.6302, 24
table.6302:
	.space	4
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
