	.file	"854788.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	fifo_init, @function
fifo_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	fifo_init, .-fifo_init
	.type	fifo_pop, @function
fifo_pop:
.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	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 72[rax], 0
	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	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], 0
.L19:
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	fifo_pop, .-fifo_pop
	.type	fifo_append, @function
fifo_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	.L22
	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	.L23
.L22:
	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
.L23:
	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	fifo_append, .-fifo_append
	.type	fifo_destroy, @function
fifo_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	.L25
.L26:
	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
.L25:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L26
	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	fifo_destroy, .-fifo_destroy
	.section	.rodata
.LC6:
	.string	"endlessh: fatal: %s\n"
	.text
	.type	die, @function
die:
.LFB14:
	.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, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE14:
	.size	die, .-die
	.type	rand16, @function
rand16:
.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	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
.LFE15:
	.size	rand16, .-rand16
	.section	.rodata
.LC7:
	.string	"SSH-"
	.text
	.type	randline, @function
randline:
.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, 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	.L31
.L32:
	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
.L31:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 2
	cmp	DWORD PTR -8[rbp], eax
	jl	.L32
	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, .LC7[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	jne	.L33
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 88
.L33:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	randline, .-randline
	.data
	.align 4
	.type	running, @object
	.size	running, 4
running:
	.long	1
	.text
	.type	sigterm_handler, @function
sigterm_handler:
.LFB17:
	.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
.LFE17:
	.size	sigterm_handler, .-sigterm_handler
	.local	reload
	.comm	reload,4,4
	.type	sighup_handler, @function
sighup_handler:
.LFB18:
	.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
.LFE18:
	.size	sighup_handler, .-sighup_handler
	.section	.rodata
.LC8:
	.string	"endlessh: Invalid port: %s\n"
	.text
	.type	config_set_port, @function
config_set_port:
.LFB19:
	.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	.L38
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L38
	cmp	QWORD PTR -16[rbp], 0
	jle	.L38
	cmp	QWORD PTR -16[rbp], 65535
	jle	.L39
.L38:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -48[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -52[rbp], 0
	je	.L41
	mov	edi, 1
	call	exit@PLT
.L39:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 4[rax], edx
.L41:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	config_set_port, .-config_set_port
	.section	.rodata
.LC9:
	.string	"endlessh: Invalid delay: %s\n"
	.text
	.type	config_set_delay, @function
config_set_delay:
.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, 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	.L44
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L44
	cmp	QWORD PTR -16[rbp], 0
	jle	.L44
	mov	eax, 2147483648
	cmp	QWORD PTR -16[rbp], rax
	jl	.L45
.L44:
	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	.L47
	mov	edi, 1
	call	exit@PLT
.L45:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 8[rax], edx
.L47:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	config_set_delay, .-config_set_delay
	.section	.rodata
	.align 8
.LC10:
	.string	"endlessh: Invalid max clients: %s\n"
	.text
	.type	config_set_max_clients, @function
config_set_max_clients:
.LFB21:
	.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	.L50
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L50
	cmp	QWORD PTR -16[rbp], 0
	jle	.L50
	mov	eax, 2147483648
	cmp	QWORD PTR -16[rbp], rax
	jl	.L51
.L50:
	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	.L53
	mov	edi, 1
	call	exit@PLT
.L51:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 16[rax], edx
.L53:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	config_set_max_clients, .-config_set_max_clients
	.section	.rodata
	.align 8
.LC11:
	.string	"endlessh: Invalid line length: %s\n"
	.text
	.type	config_set_max_line_length, @function
config_set_max_line_length:
.LFB22:
	.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	.L56
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L56
	cmp	QWORD PTR -16[rbp], 2
	jle	.L56
	cmp	QWORD PTR -16[rbp], 255
	jle	.L57
.L56:
	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	.L59
	mov	edi, 1
	call	exit@PLT
.L57:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 12[rax], edx
.L59:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	config_set_max_line_length, .-config_set_max_line_length
	.section	.rodata
.LC12:
	.string	"endlessh: Invalid domain: %s\n"
	.text
	.type	config_set_domain, @function
config_set_domain:
.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	.L62
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L62
	cmp	QWORD PTR -16[rbp], 4
	je	.L63
	cmp	QWORD PTR -16[rbp], 6
	je	.L63
.L62:
	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	.L65
	mov	edi, 1
	call	exit@PLT
.L63:
	cmp	QWORD PTR -16[rbp], 4
	jne	.L66
	mov	edx, 2
	jmp	.L67
.L66:
	mov	edx, 10
.L67:
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L65:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	config_set_domain, .-config_set_domain
	.type	config_key_parse, @function
config_key_parse:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -8[rbp], 1
	jmp	.L70
.L73:
	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	.L71
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L72
.L71:
	add	QWORD PTR -8[rbp], 1
.L70:
	cmp	QWORD PTR -8[rbp], 6
	jbe	.L73
	mov	eax, 0
.L72:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.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:
.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, 400
	mov	QWORD PTR -376[rbp], rdi
	mov	QWORD PTR -384[rbp], rsi
	mov	DWORD PTR -388[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -344[rbp], 0
	mov	rax, QWORD PTR -384[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -336[rbp], rax
	cmp	QWORD PTR -336[rbp], 0
	je	.L107
	jmp	.L76
.L105:
	add	QWORD PTR -344[rbp], 1
	lea	rax, -272[rbp]
	mov	esi, 35
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -328[rbp], rax
	cmp	QWORD PTR -328[rbp], 0
	je	.L77
	mov	rax, QWORD PTR -328[rbp]
	mov	BYTE PTR [rax], 0
.L77:
	mov	QWORD PTR -360[rbp], 0
	mov	DWORD PTR -368[rbp], 0
	jmp	.L78
.L83:
	cmp	DWORD PTR -368[rbp], 0
	jne	.L79
	lea	rax, -272[rbp]
	jmp	.L80
.L79:
	mov	eax, 0
.L80:
	lea	rdx, -360[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strtok_r@PLT
	mov	QWORD PTR -320[rbp], rax
	cmp	QWORD PTR -320[rbp], 0
	je	.L108
	mov	eax, DWORD PTR -368[rbp]
	cdqe
	mov	rdx, QWORD PTR -320[rbp]
	mov	QWORD PTR -304[rbp+rax*8], rdx
	add	DWORD PTR -368[rbp], 1
.L78:
	cmp	DWORD PTR -368[rbp], 2
	jle	.L83
	jmp	.L82
.L108:
	nop
.L82:
	cmp	DWORD PTR -368[rbp], 3
	je	.L84
	cmp	DWORD PTR -368[rbp], 3
	jg	.L85
	cmp	DWORD PTR -368[rbp], 2
	je	.L109
	cmp	DWORD PTR -368[rbp], 2
	jg	.L85
	cmp	DWORD PTR -368[rbp], 0
	je	.L110
	cmp	DWORD PTR -368[rbp], 1
	jne	.L85
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -344[rbp]
	mov	rdx, QWORD PTR -384[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -388[rbp], 0
	je	.L111
	mov	edi, 1
	call	exit@PLT
.L84:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -344[rbp]
	mov	rdx, QWORD PTR -384[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -388[rbp], 0
	je	.L112
	mov	edi, 1
	call	exit@PLT
.L109:
	nop
.L85:
	mov	rax, QWORD PTR -304[rbp]
	mov	rdi, rax
	call	config_key_parse
	mov	DWORD PTR -364[rbp], eax
	cmp	DWORD PTR -364[rbp], 6
	ja	.L76
	mov	eax, DWORD PTR -364[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L94[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L94[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L94:
	.long	.L100-.L94
	.long	.L99-.L94
	.long	.L98-.L94
	.long	.L97-.L94
	.long	.L96-.L94
	.long	.L95-.L94
	.long	.L93-.L94
	.text
.L100:
	mov	rsi, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -344[rbp]
	mov	rdx, QWORD PTR -384[rbp]
	mov	r8, rsi
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L76
.L99:
	mov	rcx, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR -388[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_port
	jmp	.L76
.L98:
	mov	rcx, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR -388[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_delay
	jmp	.L76
.L97:
	mov	rcx, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR -388[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_max_line_length
	jmp	.L76
.L96:
	mov	rcx, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR -388[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_max_clients
	jmp	.L76
.L95:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -296[rbp]
	lea	rcx, -352[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -312[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L101
	mov	rax, QWORD PTR -352[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L101
	cmp	QWORD PTR -312[rbp], 0
	js	.L101
	cmp	QWORD PTR -312[rbp], 2
	jle	.L102
.L101:
	mov	rsi, QWORD PTR -296[rbp]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -344[rbp]
	mov	rdx, QWORD PTR -384[rbp]
	mov	r8, rsi
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -388[rbp], 0
	je	.L104
	mov	edi, 1
	call	exit@PLT
.L102:
	mov	rax, QWORD PTR -312[rbp]
	mov	DWORD PTR loglevel[rip], eax
	jmp	.L76
.L104:
	jmp	.L76
.L93:
	mov	rcx, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR -388[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_domain
	nop
	jmp	.L76
.L110:
	nop
	jmp	.L76
.L111:
	nop
	jmp	.L76
.L112:
	nop
.L76:
	mov	rdx, QWORD PTR -336[rbp]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L105
	mov	rax, QWORD PTR -336[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L107:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L106
	call	__stack_chk_fail@PLT
.L106:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	config_load, .-config_load
	.section	.rodata
.LC19:
	.string	"Port %d"
.LC20:
	.string	"Delay %ld"
.LC21:
	.string	"MaxLineLength %d"
.LC22:
	.string	"MaxClients %d"
.LC23:
	.string	"AF_INET"
.LC24:
	.string	"AF_INET6"
.LC25:
	.string	"Domain %s"
	.text
	.type	config_log, @function
config_log:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[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 8[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 12[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 16[rax]
	mov	edx, eax
	lea	rsi, .LC22[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L114
	lea	rax, .LC23[rip]
	jmp	.L115
.L114:
	lea	rax, .LC24[rip]
.L115:
	mov	rdx, rax
	lea	rsi, .LC25[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	config_log, .-config_log
	.section	.rodata
	.align 8
.LC26:
	.string	"Usage: endlessh [-vh] [-d MS] [-f CONFIG] [-l LEN] [-m LIMIT] [-p PORT] [-4]\n"
	.align 8
.LC27:
	.string	"  -d INT    Message millisecond delay [10000]\n"
	.align 8
.LC28:
	.string	"  -f        Set and load config file [/etc/endlessh/config]\n"
	.align 8
.LC29:
	.string	"  -h        Print this help message and exit\n"
	.align 8
.LC30:
	.string	"  -l INT    Maximum banner line length (3-255) [32]\n"
	.align 8
.LC31:
	.string	"  -m INT    Maximum number of clients [4096]\n"
	.align 8
.LC32:
	.string	"  -p INT    Listening port [2222]\n"
	.align 8
.LC33:
	.string	"  -4        Listen only on IPv4\n"
	.align 8
.LC34:
	.string	"  -v        Print diagnostics to standard output (repeatable)\n"
	.align 8
.LC35:
	.string	"  -V        Print version information and exit\n"
	.text
	.type	usage, @function
usage:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 77
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 60
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC31[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC32[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 62
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 47
	mov	esi, 1
	lea	rdi, .LC35[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	usage, .-usage
	.section	.rodata
.LC36:
	.string	"Endlessh 0.1"
	.text
	.type	print_version, @function
print_version:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC36[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	print_version, .-print_version
	.section	.rodata
.LC37:
	.string	"socket() = %d"
	.align 8
.LC38:
	.string	"setsockopt(%d, SO_REUSEADDR, true) = %d"
.LC39:
	.string	"bind(%d, port=%d) = %d"
.LC40:
	.string	"listen(%d) = %d"
	.text
	.type	server_create, @function
server_create:
.LFB29:
	.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	DWORD PTR -88[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, 0
	mov	esi, 1
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, eax
	lea	rsi, .LC37[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -72[rbp], -1
	jne	.L119
	call	die
.L119:
	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, .LC38[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -68[rbp], -1
	jne	.L120
	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
.L120:
	cmp	DWORD PTR -84[rbp], 2
	jne	.L121
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	WORD PTR -64[rbp], 2
	mov	eax, DWORD PTR -88[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -62[rbp], ax
	lea	rcx, -64[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	edx, 16
	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 -88[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC39[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -68[rbp], -1
	jne	.L123
	call	die
	jmp	.L123
.L121:
	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 -88[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 -88[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC39[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -68[rbp], -1
	jne	.L123
	call	die
.L123:
	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, .LC40[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -68[rbp], -1
	jne	.L125
	call	die
.L125:
	mov	eax, DWORD PTR -72[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L127
	call	__stack_chk_fail@PLT
.L127:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	server_create, .-server_create
	.section	.rodata
.LC41:
	.string	"write(%d) = %d"
	.text
	.type	sendline, @function
sendline:
.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, 320
	mov	QWORD PTR -296[rbp], rdi
	mov	DWORD PTR -300[rbp], esi
	mov	QWORD PTR -312[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -312[rbp]
	mov	ecx, DWORD PTR -300[rbp]
	lea	rax, -272[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	randline
	mov	DWORD PTR -284[rbp], eax
.L131:
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -296[rbp]
	mov	eax, DWORD PTR 84[rax]
	lea	rcx, -272[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	QWORD PTR -280[rbp], rax
	mov	rax, QWORD PTR -280[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -296[rbp]
	mov	eax, DWORD PTR 84[rax]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC41[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	QWORD PTR -280[rbp], -1
	jne	.L129
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L130
	jmp	.L131
.L130:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L132
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	jne	.L133
.L132:
	mov	rax, QWORD PTR -296[rbp]
	jmp	.L135
.L133:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	client_destroy
	mov	eax, 0
	jmp	.L135
.L129:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdx, QWORD PTR 64[rax]
	mov	rax, QWORD PTR -280[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -296[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	rax, QWORD PTR -296[rbp]
.L135:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L136
	call	__stack_chk_fail@PLT
.L136:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	sendline, .-sendline
	.section	.rodata
.LC42:
	.string	"/etc/endlessh/config"
.LC43:
	.string	"4"
.LC44:
	.string	"d:f:hl:m:p:vV4"
.LC45:
	.string	"endlessh: too many arguments\n"
.LC46:
	.string	"poll(%d, %d)"
.LC47:
	.string	"= %d"
.LC48:
	.string	"EINTR"
.LC49:
	.string	"accept() = %d"
.LC50:
	.string	"endlessh: warning: %s\n"
	.align 8
.LC51:
	.string	"endlessh: warning: out of memory\n"
	.align 8
.LC52:
	.string	"ACCEPT host=%s port=%d fd=%d n=%d/%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	DWORD PTR -308[rbp], edi
	mov	QWORD PTR -320[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -192[rbp], 10
	mov	DWORD PTR -188[rbp], 2222
	mov	DWORD PTR -184[rbp], 10000
	mov	DWORD PTR -180[rbp], 32
	mov	DWORD PTR -176[rbp], 4096
	lea	rax, .LC42[rip]
	mov	QWORD PTR -248[rbp], rax
	mov	rcx, QWORD PTR -248[rbp]
	lea	rax, -192[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_load
	jmp	.L138
.L151:
	mov	eax, DWORD PTR -292[rbp]
	sub	eax, 52
	cmp	eax, 66
	ja	.L139
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L141[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L141[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L141:
	.long	.L149-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L148-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L147-.L141
	.long	.L139-.L141
	.long	.L146-.L141
	.long	.L139-.L141
	.long	.L145-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L144-.L141
	.long	.L143-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L142-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L139-.L141
	.long	.L140-.L141
	.text
.L147:
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -192[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_delay
	jmp	.L138
.L146:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -248[rbp], rax
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -192[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_load
	jmp	.L138
.L145:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	usage
	mov	edi, 0
	call	exit@PLT
.L144:
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -192[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_max_line_length
	jmp	.L138
.L143:
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -192[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_max_clients
	jmp	.L138
.L142:
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -192[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	config_set_port
	jmp	.L138
.L149:
	lea	rax, -192[rbp]
	mov	edx, 1
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	call	config_set_domain
	jmp	.L138
.L140:
	mov	eax, DWORD PTR loglevel[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR loglevel[rip], edx
	test	eax, eax
	jne	.L138
	mov	rax, QWORD PTR stdout[rip]
	mov	ecx, 0
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	setvbuf@PLT
	jmp	.L138
.L148:
	call	print_version
	mov	edi, 0
	call	exit@PLT
.L139:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	usage
	mov	edi, 1
	call	exit@PLT
.L138:
	mov	rcx, QWORD PTR -320[rbp]
	mov	eax, DWORD PTR -308[rbp]
	lea	rdx, .LC44[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -292[rbp], eax
	cmp	DWORD PTR -292[rbp], -1
	jne	.L151
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -320[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L152
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC45[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L152:
	lea	rax, -192[rbp]
	mov	rdi, rax
	call	config_log
	mov	esi, 1
	mov	edi, 13
	call	__sysv_signal@PLT
	lea	rdx, -160[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	lea	rax, sigterm_handler[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 15
	call	sigaction@PLT
	mov	DWORD PTR -288[rbp], eax
	cmp	DWORD PTR -288[rbp], -1
	jne	.L153
	call	die
.L153:
	lea	rdx, -160[rbp]
	mov	eax, 0
	mov	ecx, 19
	mov	rdi, rdx
	rep stosq
	lea	rax, sighup_handler[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	sigaction@PLT
	mov	DWORD PTR -284[rbp], eax
	cmp	DWORD PTR -284[rbp], -1
	jne	.L154
	call	die
.L154:
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	fifo_init
	call	uepoch
	mov	QWORD PTR -256[rbp], rax
	mov	edx, DWORD PTR -188[rbp]
	mov	eax, DWORD PTR -192[rbp]
	mov	esi, edx
	mov	edi, eax
	call	server_create
	mov	DWORD PTR -300[rbp], eax
	jmp	.L155
.L173:
	mov	eax, DWORD PTR reload[rip]
	test	eax, eax
	je	.L156
	mov	eax, DWORD PTR -188[rbp]
	mov	DWORD PTR -280[rbp], eax
	mov	eax, DWORD PTR -192[rbp]
	mov	DWORD PTR -276[rbp], eax
	mov	rcx, QWORD PTR -248[rbp]
	lea	rax, -192[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	config_load
	lea	rax, -192[rbp]
	mov	rdi, rax
	call	config_log
	mov	eax, DWORD PTR -188[rbp]
	cmp	DWORD PTR -280[rbp], eax
	jne	.L157
	mov	eax, DWORD PTR -192[rbp]
	cmp	DWORD PTR -276[rbp], eax
	je	.L158
.L157:
	mov	eax, DWORD PTR -300[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edx, DWORD PTR -188[rbp]
	mov	eax, DWORD PTR -192[rbp]
	mov	esi, edx
	mov	edi, eax
	call	server_create
	mov	DWORD PTR -300[rbp], eax
.L158:
	mov	DWORD PTR reload[rip], 0
.L156:
	mov	DWORD PTR -296[rbp], -1
	call	uepoch
	mov	QWORD PTR -240[rbp], rax
	jmp	.L159
.L162:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 56[rax]
	cmp	QWORD PTR -240[rbp], rax
	jl	.L160
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	fifo_pop
	mov	QWORD PTR -232[rbp], rax
	mov	ecx, DWORD PTR -180[rbp]
	lea	rdx, -256[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	sendline
	test	rax, rax
	je	.L159
	mov	eax, DWORD PTR -184[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -240[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -232[rbp]
	mov	QWORD PTR 56[rax], rdx
	mov	rdx, QWORD PTR -232[rbp]
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fifo_append
	jmp	.L159
.L160:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR 56[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -240[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -296[rbp], eax
	jmp	.L161
.L159:
	mov	rax, QWORD PTR -160[rbp]
	test	rax, rax
	jne	.L162
.L161:
	mov	eax, DWORD PTR -300[rbp]
	mov	DWORD PTR -200[rbp], eax
	mov	WORD PTR -196[rbp], 1
	mov	WORD PTR -194[rbp], 0
	mov	edx, DWORD PTR -144[rbp]
	mov	eax, DWORD PTR -176[rbp]
	cmp	edx, eax
	setl	al
	movzx	eax, al
	mov	DWORD PTR -272[rbp], eax
	mov	edx, DWORD PTR -296[rbp]
	mov	eax, DWORD PTR -272[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC46[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	mov	eax, DWORD PTR -272[rbp]
	movsx	rcx, eax
	mov	edx, DWORD PTR -296[rbp]
	lea	rax, -200[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	poll@PLT
	mov	DWORD PTR -268[rbp], eax
	mov	eax, DWORD PTR -268[rbp]
	mov	edx, eax
	lea	rsi, .LC47[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -268[rbp], -1
	jne	.L163
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L164
	lea	rsi, .LC48[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	jmp	.L155
.L164:
	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, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L163:
	movzx	eax, WORD PTR -194[rbp]
	cwde
	and	eax, 1
	test	eax, eax
	je	.L155
	mov	eax, DWORD PTR -300[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -264[rbp], eax
	mov	eax, DWORD PTR -264[rbp]
	mov	edx, eax
	lea	rsi, .LC49[rip]
	mov	edi, 2
	mov	eax, 0
	call	logmsg
	cmp	DWORD PTR -264[rbp], -1
	jne	.L166
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	QWORD PTR -208[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 105
	jg	.L167
	cmp	eax, 71
	jge	.L168
	cmp	eax, 24
	jg	.L167
	cmp	eax, 23
	jge	.L169
	cmp	eax, 4
	je	.L170
	cmp	eax, 12
	je	.L170
	jmp	.L167
.L168:
	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	.L170
	jmp	.L167
.L169:
	mov	eax, DWORD PTR -144[rbp]
	mov	DWORD PTR -176[rbp], eax
	mov	eax, DWORD PTR -144[rbp]
	mov	edx, eax
	lea	rsi, .LC22[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	jmp	.L155
.L170:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -208[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L155
.L167:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -208[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L166:
	call	uepoch
	mov	rdx, rax
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	add	rax, rdx
	mov	QWORD PTR -224[rbp], rax
	mov	rdx, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR -264[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	client_new
	mov	QWORD PTR -216[rbp], rax
	mov	eax, DWORD PTR -264[rbp]
	mov	edx, 0
	mov	esi, 3
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	mov	DWORD PTR -260[rbp], eax
	mov	eax, DWORD PTR -260[rbp]
	or	ah, 8
	mov	edx, eax
	mov	eax, DWORD PTR -264[rbp]
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	fcntl@PLT
	cmp	QWORD PTR -216[rbp], 0
	jne	.L172
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC51[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -264[rbp]
	mov	edi, eax
	call	close@PLT
.L172:
	mov	rdx, QWORD PTR -216[rbp]
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fifo_append
	mov	ecx, DWORD PTR -176[rbp]
	mov	edi, DWORD PTR -144[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, DWORD PTR 84[rax]
	mov	rax, QWORD PTR -216[rbp]
	mov	edx, DWORD PTR 80[rax]
	mov	rax, QWORD PTR -216[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9d, edi
	mov	r8d, esi
	mov	ecx, edx
	mov	rdx, rax
	lea	rsi, .LC52[rip]
	mov	edi, 1
	mov	eax, 0
	call	logmsg
	add	rsp, 16
.L155:
	mov	eax, DWORD PTR running[rip]
	test	eax, eax
	jne	.L173
	lea	rax, -160[rbp]
	mov	rdi, rax
	call	fifo_destroy
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L175
	call	__stack_chk_fail@PLT
.L175:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	main, .-main
	.section	.rodata
.LC53:
	.string	"Port"
.LC54:
	.string	"Delay"
.LC55:
	.string	"MaxLineLength"
.LC56:
	.string	"MaxClients"
.LC57:
	.string	"LogLevel"
.LC58:
	.string	"Domain"
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	table.0, @object
	.size	table.0, 56
table.0:
	.zero	8
	.quad	.LC53
	.quad	.LC54
	.quad	.LC55
	.quad	.LC56
	.quad	.LC57
	.quad	.LC58
	.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	"854788.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	fifo_init, %function
fifo_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	fifo_init, .-fifo_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fifo_pop, %function
fifo_pop:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [r3, #72]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #72]
	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	.L26
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #4]
.L26:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	fifo_pop, .-fifo_pop
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fifo_append, %function
fifo_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	.L29
	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	.L30
.L29:
	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]
.L30:
	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	fifo_append, .-fifo_append
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fifo_destroy, %function
fifo_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	.L32
.L33:
	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
.L32:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L33
	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	fifo_destroy, .-fifo_destroy
	.section	.rodata
	.align	2
.LC10:
	.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, .L35
	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, .L35+4
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L36:
	.align	2
.L35:
	.word	stderr
	.word	.LC10
	.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, .L39
	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
.L40:
	.align	2
.L39:
	.word	1103515245
	.size	rand16, .-rand16
	.global	__aeabi_uidivmod
	.section	.rodata
	.align	2
.LC11:
	.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	.L42
.L43:
	ldr	r0, [fp, #-24]
	bl	rand16
	mov	r1, r0
	ldr	r3, .L46
	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]
.L42:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #2
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L43
	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, .L46+4
	ldr	r0, [fp, #-16]
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-16]
	mov	r2, #88
	strb	r2, [r3]
.L44:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	1491936009
	.word	.LC11
	.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, .L49
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L50:
	.align	2
.L49:
	.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, .L52
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L53:
	.align	2
.L52:
	.word	reload
	.size	sighup_handler, .-sighup_handler
	.section	.rodata
	.align	2
.LC12:
	.ascii	"endlessh: Invalid port: %s\012\000"
	.align	2
.LC13:
	.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, .L60
	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	.L55
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L55
	ldr	r3, [fp, #-12]
	cmp	r3, #65536
	blt	.L56
.L55:
	ldr	r3, .L60+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L60+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L58
	mov	r0, #1
	bl	exit
.L56:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
.L58:
	nop
	ldr	r3, .L60
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	.LC13
	.word	stderr
	.word	.LC12
	.size	config_set_port, .-config_set_port
	.section	.rodata
	.align	2
.LC14:
	.ascii	"endlessh: Invalid delay: %s\012\000"
	.align	2
.LC15:
	.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, .L68
	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	.L63
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L63
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L64
.L63:
	ldr	r3, .L68+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L68+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L66
	mov	r0, #1
	bl	exit
.L64:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
.L66:
	nop
	ldr	r3, .L68
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L67
	bl	__stack_chk_fail
.L67:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	.LC15
	.word	stderr
	.word	.LC14
	.size	config_set_delay, .-config_set_delay
	.section	.rodata
	.align	2
.LC16:
	.ascii	"endlessh: Invalid max clients: %s\012\000"
	.align	2
.LC17:
	.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, .L76
	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	.L71
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L71
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L72
.L71:
	ldr	r3, .L76+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L76+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L74
	mov	r0, #1
	bl	exit
.L72:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #16]
.L74:
	nop
	ldr	r3, .L76
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L75
	bl	__stack_chk_fail
.L75:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC17
	.word	stderr
	.word	.LC16
	.size	config_set_max_clients, .-config_set_max_clients
	.section	.rodata
	.align	2
.LC18:
	.ascii	"endlessh: Invalid line length: %s\012\000"
	.align	2
.LC19:
	.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, .L84
	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	.L79
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L79
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L79
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	ble	.L80
.L79:
	ldr	r3, .L84+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L84+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L82
	mov	r0, #1
	bl	exit
.L80:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #12]
.L82:
	nop
	ldr	r3, .L84
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L83
	bl	__stack_chk_fail
.L83:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L85:
	.align	2
.L84:
	.word	.LC19
	.word	stderr
	.word	.LC18
	.size	config_set_max_line_length, .-config_set_max_line_length
	.section	.rodata
	.align	2
.LC20:
	.ascii	"endlessh: Invalid domain: %s\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_set_domain, %function
config_set_domain:
	@ 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, .L94
	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	.L87
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	beq	.L88
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	beq	.L88
.L87:
	ldr	r3, .L94+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, .L94+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L90
	mov	r0, #1
	bl	exit
.L88:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	bne	.L91
	mov	r2, #2
	b	.L92
.L91:
	mov	r2, #10
.L92:
	ldr	r3, [fp, #-24]
	str	r2, [r3]
.L90:
	nop
	ldr	r3, .L94
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L93
	bl	__stack_chk_fail
.L93:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L95:
	.align	2
.L94:
	.word	.LC21
	.word	stderr
	.word	.LC20
	.size	config_set_domain, .-config_set_domain
	.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	.L97
.L100:
	ldr	r2, .L101
	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	.L98
	ldr	r3, [fp, #-8]
	b	.L99
.L98:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L97:
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	bls	.L100
	mov	r3, #0
.L99:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	table.6346
	.size	config_key_parse, .-config_key_parse
	.section	.rodata
	.align	2
.LC22:
	.ascii	"r\000"
	.align	2
.LC23:
	.ascii	" \015\012\000"
	.align	2
.LC24:
	.ascii	"%s:%ld: Missing value\012\000"
	.align	2
.LC25:
	.ascii	"%s:%ld: Too many values\012\000"
	.align	2
.LC26:
	.ascii	"%s:%ld: Unknown option '%s'\012\000"
	.align	2
.LC27:
	.ascii	"%s:%ld: Invalid log level '%s'\012\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	config_load, %function
config_load:
	@ args = 0, pretend = 0, frame = 328
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #336
	str	r0, [fp, #-320]
	str	r1, [fp, #-324]
	str	r2, [fp, #-328]
	ldr	r3, .L142
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-304]
	ldr	r1, .L142+4
	ldr	r0, [fp, #-324]
	bl	fopen
	str	r0, [fp, #-296]
	ldr	r3, [fp, #-296]
	cmp	r3, #0
	beq	.L137
	b	.L105
.L135:
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	str	r3, [fp, #-304]
	sub	r3, fp, #264
	mov	r1, #35
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-292]
	ldr	r3, [fp, #-292]
	cmp	r3, #0
	beq	.L106
	ldr	r3, [fp, #-292]
	mov	r2, #0
	strb	r2, [r3]
.L106:
	mov	r3, #0
	str	r3, [fp, #-312]
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L107
.L112:
	ldr	r3, [fp, #-300]
	cmp	r3, #0
	bne	.L108
	sub	r3, fp, #264
	b	.L109
.L108:
	mov	r3, #0
.L109:
	sub	r2, fp, #312
	ldr	r1, .L142+8
	mov	r0, r3
	bl	strtok_r
	str	r0, [fp, #-288]
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	beq	.L138
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-288]
	str	r2, [r3, #-272]
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L107:
	ldr	r3, [fp, #-300]
	cmp	r3, #2
	ble	.L112
	b	.L111
.L138:
	nop
.L111:
	ldr	r3, [fp, #-300]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L113
.L115:
	.word	.L139
	.word	.L117
	.word	.L113
	.word	.L114
.L117:
	ldr	r3, .L142+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-304]
	ldr	r2, [fp, #-324]
	ldr	r1, .L142+16
	bl	fprintf
	ldr	r3, [fp, #-328]
	cmp	r3, #0
	beq	.L140
	mov	r0, #1
	bl	exit
.L114:
	ldr	r3, .L142+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-304]
	ldr	r2, [fp, #-324]
	ldr	r1, .L142+20
	bl	fprintf
	ldr	r3, [fp, #-328]
	cmp	r3, #0
	beq	.L141
	mov	r0, #1
	bl	exit
.L113:
	ldr	r3, [fp, #-276]
	mov	r0, r3
	bl	config_key_parse
	str	r0, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L105
.L124:
	.word	.L130
	.word	.L129
	.word	.L128
	.word	.L127
	.word	.L126
	.word	.L125
	.word	.L123
.L130:
	ldr	r3, .L142+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-276]
	str	r3, [sp]
	ldr	r3, [fp, #-304]
	ldr	r2, [fp, #-324]
	ldr	r1, .L142+24
	bl	fprintf
	b	.L105
.L129:
	ldr	r3, [fp, #-272]
	ldr	r2, [fp, #-328]
	mov	r1, r3
	ldr	r0, [fp, #-320]
	bl	config_set_port
	b	.L105
.L128:
	ldr	r3, [fp, #-272]
	ldr	r2, [fp, #-328]
	mov	r1, r3
	ldr	r0, [fp, #-320]
	bl	config_set_delay
	b	.L105
.L127:
	ldr	r3, [fp, #-272]
	ldr	r2, [fp, #-328]
	mov	r1, r3
	ldr	r0, [fp, #-320]
	bl	config_set_max_line_length
	b	.L105
.L126:
	ldr	r3, [fp, #-272]
	ldr	r2, [fp, #-328]
	mov	r1, r3
	ldr	r0, [fp, #-320]
	bl	config_set_max_clients
	b	.L105
.L125:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-272]
	sub	r1, fp, #308
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-280]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L131
	ldr	r3, [fp, #-308]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L131
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	blt	.L131
	ldr	r3, [fp, #-280]
	cmp	r3, #2
	ble	.L132
.L131:
	ldr	r3, .L142+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-272]
	str	r3, [sp]
	ldr	r3, [fp, #-304]
	ldr	r2, [fp, #-324]
	ldr	r1, .L142+28
	bl	fprintf
	ldr	r3, [fp, #-328]
	cmp	r3, #0
	beq	.L134
	mov	r0, #1
	bl	exit
.L132:
	ldr	r3, [fp, #-280]
	ldr	r2, .L142+32
	str	r3, [r2]
	b	.L105
.L134:
	b	.L105
.L123:
	ldr	r3, [fp, #-272]
	ldr	r2, [fp, #-328]
	mov	r1, r3
	ldr	r0, [fp, #-320]
	bl	config_set_domain
	nop
	b	.L105
.L139:
	nop
	b	.L105
.L140:
	nop
	b	.L105
.L141:
	nop
.L105:
	sub	r3, fp, #264
	ldr	r2, [fp, #-296]
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L135
	ldr	r0, [fp, #-296]
	bl	fclose
.L137:
	nop
	ldr	r3, .L142
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L136
	bl	__stack_chk_fail
.L136:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L143:
	.align	2
.L142:
	.word	.LC28
	.word	.LC22
	.word	.LC23
	.word	stderr
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	loglevel
	.size	config_load, .-config_load
	.section	.rodata
	.align	2
.LC29:
	.ascii	"Port %d\000"
	.align	2
.LC30:
	.ascii	"Delay %ld\000"
	.align	2
.LC31:
	.ascii	"MaxLineLength %d\000"
	.align	2
.LC32:
	.ascii	"MaxClients %d\000"
	.align	2
.LC33:
	.ascii	"AF_INET\000"
	.align	2
.LC34:
	.ascii	"AF_INET6\000"
	.align	2
.LC35:
	.ascii	"Domain %s\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, #4]
	mov	r2, r3
	ldr	r1, .L147
	mov	r0, #1
	bl	logmsg
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r2, r3
	ldr	r1, .L147+4
	mov	r0, #1
	bl	logmsg
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r2, r3
	ldr	r1, .L147+8
	mov	r0, #1
	bl	logmsg
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r1, .L147+12
	mov	r0, #1
	bl	logmsg
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L145
	ldr	r3, .L147+16
	b	.L146
.L145:
	ldr	r3, .L147+20
.L146:
	mov	r2, r3
	ldr	r1, .L147+24
	mov	r0, #1
	bl	logmsg
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L148:
	.align	2
.L147:
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.size	config_log, .-config_log
	.section	.rodata
	.align	2
.LC36:
	.ascii	"Usage: endlessh [-vh] [-d MS] [-f CONFIG] [-l LEN] "
	.ascii	"[-m LIMIT] [-p PORT] [-4]\012\000"
	.align	2
.LC37:
	.ascii	"  -d INT    Message millisecond delay [10000]\012\000"
	.align	2
.LC38:
	.ascii	"  -f        Set and load config file [/etc/endlessh"
	.ascii	"/config]\012\000"
	.align	2
.LC39:
	.ascii	"  -h        Print this help message and exit\012\000"
	.align	2
.LC40:
	.ascii	"  -l INT    Maximum banner line length (3-255) [32]"
	.ascii	"\012\000"
	.align	2
.LC41:
	.ascii	"  -m INT    Maximum number of clients [4096]\012\000"
	.align	2
.LC42:
	.ascii	"  -p INT    Listening port [2222]\012\000"
	.align	2
.LC43:
	.ascii	"  -4        Listen only on IPv4\012\000"
	.align	2
.LC44:
	.ascii	"  -v        Print diagnostics to standard output (r"
	.ascii	"epeatable)\012\000"
	.align	2
.LC45:
	.ascii	"  -V        Print version information and exit\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, #77
	mov	r1, #1
	ldr	r0, .L150
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L150+4
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #60
	mov	r1, #1
	ldr	r0, .L150+8
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L150+12
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L150+16
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L150+20
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L150+24
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L150+28
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #62
	mov	r1, #1
	ldr	r0, .L150+32
	bl	fwrite
	ldr	r3, [fp, #-8]
	mov	r2, #47
	mov	r1, #1
	ldr	r0, .L150+36
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L151:
	.align	2
.L150:
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC46:
	.ascii	"Endlessh 0.1\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_version, %function
print_version:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L153
	bl	puts
	nop
	pop	{fp, pc}
.L154:
	.align	2
.L153:
	.word	.LC46
	.size	print_version, .-print_version
	.section	.rodata
	.align	2
.LC47:
	.ascii	"socket() = %d\000"
	.align	2
.LC48:
	.ascii	"setsockopt(%d, SO_REUSEADDR, true) = %d\000"
	.align	2
.LC49:
	.ascii	"bind(%d, port=%d) = %d\000"
	.align	2
.LC50:
	.ascii	"listen(%d) = %d\000"
	.align	2
.LC51:
	.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]
	str	r1, [fp, #-68]
	ldr	r3, .L165
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	ldr	r0, [fp, #-64]
	bl	socket
	str	r0, [fp, #-52]
	ldr	r2, [fp, #-52]
	ldr	r1, .L165+4
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	bne	.L156
	bl	die
.L156:
	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, .L165+8
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L157
	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, .L165+12
	mov	r0, #2
	bl	logmsg
.L157:
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	bne	.L158
	sub	r3, fp, #44
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r3, #2
	strh	r3, [fp, #-44]	@ movhi
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-42]	@ movhi
	sub	r3, fp, #44
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	bind
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	str	r3, [sp]
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-52]
	ldr	r1, .L165+16
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L160
	bl	die
	b	.L160
.L158:
	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, #-68]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-42]	@ movhi
	ldr	r3, .L165+20
	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, #-68]
	ldr	r2, [fp, #-52]
	ldr	r1, .L165+16
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L160
	bl	die
.L160:
	mvn	r1, #-2147483648
	ldr	r0, [fp, #-52]
	bl	listen
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	ldr	r1, .L165+24
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-48]
	cmn	r3, #1
	bne	.L162
	bl	die
.L162:
	ldr	r3, [fp, #-52]
	ldr	r2, .L165
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L164
	bl	__stack_chk_fail
.L164:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L166:
	.align	2
.L165:
	.word	.LC51
	.word	.LC47
	.word	.LC48
	.word	.LC6
	.word	.LC49
	.word	in6addr_any
	.word	.LC50
	.size	server_create, .-server_create
	.section	.rodata
	.align	2
.LC52:
	.ascii	"write(%d) = %d\000"
	.align	2
.LC53:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sendline, %function
sendline:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #288
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	str	r2, [fp, #-296]
	ldr	r3, .L176
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #272
	ldr	r2, [fp, #-296]
	ldr	r1, [fp, #-292]
	mov	r0, r3
	bl	randline
	str	r0, [fp, #-280]
.L170:
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #80]
	ldr	r2, [fp, #-280]
	sub	r1, fp, #272
	mov	r0, r3
	bl	write
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-288]
	ldr	r2, [r3, #80]
	ldr	r3, [fp, #-276]
	ldr	r1, .L176+4
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-276]
	cmn	r3, #1
	bne	.L168
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L169
	b	.L170
.L169:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L171
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	bne	.L172
.L171:
	ldr	r3, [fp, #-288]
	b	.L174
.L172:
	ldr	r0, [fp, #-288]
	bl	client_destroy
	mov	r3, #0
	b	.L174
.L168:
	ldr	r3, [fp, #-288]
	add	r1, r3, #64
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-276]
	mov	r2, r3
	asr	r3, r2, #31
	adds	r4, r0, r2
	adc	r5, r1, r3
	ldr	r3, [fp, #-288]
	str	r4, [r3, #64]
	str	r5, [r3, #68]
	ldr	r3, [fp, #-288]
.L174:
	ldr	r2, .L176
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L175
	bl	__stack_chk_fail
.L175:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L177:
	.align	2
.L176:
	.word	.LC53
	.word	.LC52
	.size	sendline, .-sendline
	.section	.rodata
	.align	2
.LC54:
	.ascii	"/etc/endlessh/config\000"
	.align	2
.LC55:
	.ascii	"4\000"
	.align	2
.LC56:
	.ascii	"d:f:hl:m:p:vV4\000"
	.align	2
.LC57:
	.ascii	"endlessh: too many arguments\012\000"
	.align	2
.LC58:
	.ascii	"poll(%d, %d)\000"
	.align	2
.LC59:
	.ascii	"= %d\000"
	.align	2
.LC60:
	.ascii	"EINTR\000"
	.align	2
.LC61:
	.ascii	"accept() = %d\000"
	.align	2
.LC62:
	.ascii	"endlessh: warning: %s\012\000"
	.align	2
.LC63:
	.ascii	"endlessh: warning: out of memory\012\000"
	.align	2
.LC64:
	.ascii	"ACCEPT host=%s port=%d fd=%d n=%d/%d\000"
	.align	2
.LC0:
	.word	10
	.word	2222
	.word	10000
	.word	32
	.word	4096
	.align	2
.LC65:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #280
	str	r0, [fp, #-280]
	str	r1, [fp, #-284]
	ldr	r3, .L216
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, .L216+4
	sub	ip, fp, #184
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L216+8
	str	r3, [fp, #-272]
	sub	r3, fp, #184
	mov	r2, #1
	ldr	r1, [fp, #-272]
	mov	r0, r3
	bl	config_load
	b	.L179
.L192:
	ldr	r3, [fp, #-260]
	sub	r3, r3, #52
	cmp	r3, #66
	ldrls	pc, [pc, r3, asl #2]
	b	.L180
.L182:
	.word	.L190
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L189
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L188
	.word	.L180
	.word	.L187
	.word	.L180
	.word	.L186
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L185
	.word	.L184
	.word	.L180
	.word	.L180
	.word	.L183
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L180
	.word	.L181
.L188:
	ldr	r3, .L216+12
	ldr	r1, [r3]
	sub	r3, fp, #184
	mov	r2, #1
	mov	r0, r3
	bl	config_set_delay
	b	.L179
.L187:
	ldr	r3, .L216+12
	ldr	r3, [r3]
	str	r3, [fp, #-272]
	ldr	r3, .L216+12
	ldr	r1, [r3]
	sub	r3, fp, #184
	mov	r2, #1
	mov	r0, r3
	bl	config_load
	b	.L179
.L186:
	ldr	r3, .L216+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r0, #0
	bl	exit
.L185:
	ldr	r3, .L216+12
	ldr	r1, [r3]
	sub	r3, fp, #184
	mov	r2, #1
	mov	r0, r3
	bl	config_set_max_line_length
	b	.L179
.L184:
	ldr	r3, .L216+12
	ldr	r1, [r3]
	sub	r3, fp, #184
	mov	r2, #1
	mov	r0, r3
	bl	config_set_max_clients
	b	.L179
.L183:
	ldr	r3, .L216+12
	ldr	r1, [r3]
	sub	r3, fp, #184
	mov	r2, #1
	mov	r0, r3
	bl	config_set_port
	b	.L179
.L190:
	sub	r3, fp, #184
	mov	r2, #1
	ldr	r1, .L216+20
	mov	r0, r3
	bl	config_set_domain
	b	.L179
.L181:
	ldr	r3, .L216+24
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L216+24
	str	r2, [r1]
	cmp	r3, #0
	bne	.L179
	ldr	r3, .L216+16
	ldr	r0, [r3]
	mov	r3, #0
	mov	r2, #1
	mov	r1, #0
	bl	setvbuf
	b	.L179
.L189:
	bl	print_version
	mov	r0, #0
	bl	exit
.L180:
	ldr	r3, .L216+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r0, #1
	bl	exit
.L179:
	ldr	r2, .L216+32
	ldr	r1, [fp, #-284]
	ldr	r0, [fp, #-280]
	bl	getopt
	str	r0, [fp, #-260]
	ldr	r3, [fp, #-260]
	cmn	r3, #1
	bne	.L192
	ldr	r3, .L216+36
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-284]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L193
	ldr	r3, .L216+28
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L216+40
	bl	fwrite
	mov	r0, #1
	bl	exit
.L193:
	sub	r3, fp, #184
	mov	r0, r3
	bl	config_log
	mov	r1, #1
	mov	r0, #13
	bl	__sysv_signal
	sub	r3, fp, #164
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L216+44
	str	r3, [fp, #-164]
	sub	r3, fp, #164
	mov	r2, #0
	mov	r1, r3
	mov	r0, #15
	bl	sigaction
	str	r0, [fp, #-256]
	ldr	r3, [fp, #-256]
	cmn	r3, #1
	bne	.L194
	bl	die
.L194:
	sub	r3, fp, #164
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L216+48
	str	r3, [fp, #-164]
	sub	r3, fp, #164
	mov	r2, #0
	mov	r1, r3
	mov	r0, #1
	bl	sigaction
	str	r0, [fp, #-252]
	ldr	r3, [fp, #-252]
	cmn	r3, #1
	bne	.L195
	bl	die
.L195:
	sub	r3, fp, #164
	mov	r0, r3
	bl	fifo_init
	bl	uepoch
	mov	r2, r0
	mov	r3, r1
	mov	r3, r2
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-180]
	mov	r1, r2
	mov	r0, r3
	bl	server_create
	str	r0, [fp, #-268]
	b	.L196
.L213:
	ldr	r3, .L216+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L197
	ldr	r3, [fp, #-180]
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-184]
	str	r3, [fp, #-244]
	sub	r3, fp, #184
	mov	r2, #0
	ldr	r1, [fp, #-272]
	mov	r0, r3
	bl	config_load
	sub	r3, fp, #184
	mov	r0, r3
	bl	config_log
	ldr	r3, [fp, #-180]
	ldr	r2, [fp, #-248]
	cmp	r2, r3
	bne	.L198
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-244]
	cmp	r2, r3
	beq	.L199
.L198:
	ldr	r0, [fp, #-268]
	bl	close
	ldr	r3, [fp, #-184]
	ldr	r2, [fp, #-180]
	mov	r1, r2
	mov	r0, r3
	bl	server_create
	str	r0, [fp, #-268]
.L199:
	ldr	r3, .L216+52
	mov	r2, #0
	str	r2, [r3]
.L197:
	mvn	r3, #0
	str	r3, [fp, #-264]
	bl	uepoch
	str	r0, [fp, #-212]
	str	r1, [fp, #-208]
	b	.L200
.L203:
	ldr	r3, [fp, #-164]
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	sub	r1, fp, #212
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	blt	.L201
	sub	r3, fp, #164
	mov	r0, r3
	bl	fifo_pop
	str	r0, [fp, #-240]
	ldr	r3, [fp, #-172]
	sub	r2, fp, #276
	mov	r1, r3
	ldr	r0, [fp, #-240]
	bl	sendline
	mov	r3, r0
	cmp	r3, #0
	beq	.L200
	ldr	r3, [fp, #-176]
	mov	r0, r3
	asr	r1, r0, #31
	sub	r3, fp, #212
	ldmia	r3, {r2-r3}
	adds	r4, r0, r2
	adc	r5, r1, r3
	ldr	r3, [fp, #-240]
	str	r4, [r3, #56]
	str	r5, [r3, #60]
	sub	r3, fp, #164
	ldr	r1, [fp, #-240]
	mov	r0, r3
	bl	fifo_append
	b	.L200
.L201:
	ldr	r3, [fp, #-164]
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	ldr	r3, [fp, #-212]
	sub	r3, r2, r3
	str	r3, [fp, #-264]
	b	.L202
.L200:
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	bne	.L203
.L202:
	ldr	r3, [fp, #-268]
	str	r3, [fp, #-192]
	mov	r3, #1
	strh	r3, [fp, #-188]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-186]	@ movhi
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-168]
	cmp	r2, r3
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-236]
	ldr	r3, [fp, #-264]
	ldr	r2, [fp, #-236]
	ldr	r1, .L216+56
	mov	r0, #2
	bl	logmsg
	ldr	r1, [fp, #-236]
	sub	r3, fp, #192
	ldr	r2, [fp, #-264]
	mov	r0, r3
	bl	poll
	str	r0, [fp, #-232]
	ldr	r2, [fp, #-232]
	ldr	r1, .L216+60
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-232]
	cmn	r3, #1
	bne	.L204
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L205
	ldr	r1, .L216+64
	mov	r0, #2
	bl	logmsg
	b	.L196
.L205:
	ldr	r3, .L216+28
	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, .L216+68
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L204:
	ldrsh	r3, [fp, #-186]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L196
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-268]
	bl	accept
	str	r0, [fp, #-228]
	ldr	r2, [fp, #-228]
	ldr	r1, .L216+72
	mov	r0, #2
	bl	logmsg
	ldr	r3, [fp, #-228]
	cmn	r3, #1
	bne	.L207
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	str	r0, [fp, #-216]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #105
	beq	.L208
	cmp	r3, #105
	bgt	.L209
	cmp	r3, #103
	beq	.L208
	cmp	r3, #103
	bgt	.L209
	cmp	r3, #71
	beq	.L208
	cmp	r3, #71
	bgt	.L209
	cmp	r3, #24
	bgt	.L209
	cmp	r3, #23
	bge	.L210
	cmp	r3, #4
	beq	.L208
	cmp	r3, #12
	beq	.L208
	b	.L209
.L210:
	ldr	r3, [fp, #-156]
	str	r3, [fp, #-168]
	ldr	r3, [fp, #-156]
	mov	r2, r3
	ldr	r1, .L216+76
	mov	r0, #1
	bl	logmsg
	b	.L196
.L208:
	ldr	r3, .L216+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-216]
	ldr	r1, .L216+80
	mov	r0, r3
	bl	fprintf
	b	.L196
.L209:
	ldr	r3, .L216+28
	ldr	r3, [r3]
	ldr	r2, [fp, #-216]
	ldr	r1, .L216+68
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L207:
	bl	uepoch
	ldr	r3, [fp, #-176]
	mov	r2, r3
	asr	r3, r2, #31
	adds	r6, r0, r2
	adc	r7, r1, r3
	str	r6, [fp, #-204]
	str	r7, [fp, #-200]
	sub	r3, fp, #204
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-228]
	bl	client_new
	str	r0, [fp, #-224]
	mov	r2, #0
	mov	r1, #3
	ldr	r0, [fp, #-228]
	bl	fcntl
	str	r0, [fp, #-220]
	ldr	r3, [fp, #-220]
	orr	r3, r3, #2048
	mov	r2, r3
	mov	r1, #4
	ldr	r0, [fp, #-228]
	bl	fcntl
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L212
	ldr	r3, .L216+28
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L216+84
	bl	fwrite
	ldr	r0, [fp, #-228]
	bl	close
.L212:
	sub	r3, fp, #164
	ldr	r1, [fp, #-224]
	mov	r0, r3
	bl	fifo_append
	ldr	r0, [fp, #-224]
	ldr	r3, [fp, #-224]
	ldr	ip, [r3, #76]
	ldr	r3, [fp, #-224]
	ldr	r3, [r3, #80]
	ldr	r2, [fp, #-156]
	ldr	r1, [fp, #-168]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, .L216+88
	mov	r0, #1
	bl	logmsg
.L196:
	ldr	r3, .L216+92
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L213
	sub	r3, fp, #164
	mov	r0, r3
	bl	fifo_destroy
	mov	r3, #0
	ldr	r2, .L216
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L215
	bl	__stack_chk_fail
.L215:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L217:
	.align	2
.L216:
	.word	.LC65
	.word	.LC0
	.word	.LC54
	.word	optarg
	.word	stdout
	.word	.LC55
	.word	loglevel
	.word	stderr
	.word	.LC56
	.word	optind
	.word	.LC57
	.word	sigterm_handler
	.word	sighup_handler
	.word	reload
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC10
	.word	.LC61
	.word	.LC32
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	running
	.size	main, .-main
	.section	.rodata
	.align	2
.LC66:
	.ascii	"Port\000"
	.align	2
.LC67:
	.ascii	"Delay\000"
	.align	2
.LC68:
	.ascii	"MaxLineLength\000"
	.align	2
.LC69:
	.ascii	"MaxClients\000"
	.align	2
.LC70:
	.ascii	"LogLevel\000"
	.align	2
.LC71:
	.ascii	"Domain\000"
	.align	2
	.type	table.6346, %object
	.size	table.6346, 28
table.6346:
	.space	4
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
