	.file	"112888.c"
	.intel_syntax noprefix
	.text
	.globl	quit
	.bss
	.align 4
	.type	quit, @object
	.size	quit, 4
quit:
	.zero	4
	.globl	child_to_wait_for
	.align 4
	.type	child_to_wait_for, @object
	.size	child_to_wait_for, 4
child_to_wait_for:
	.zero	4
	.text
	.globl	handle_signal_chld
	.type	handle_signal_chld, @function
handle_signal_chld:
.LFB6:
	.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	eax, DWORD PTR child_to_wait_for[rip]
	add	eax, 1
	mov	DWORD PTR child_to_wait_for[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	handle_signal_chld, .-handle_signal_chld
	.globl	handle_signal_int
	.type	handle_signal_int, @function
handle_signal_int:
.LFB7:
	.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 quit[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	handle_signal_int, .-handle_signal_int
	.section	.rodata
	.align 8
.LC0:
	.string	"%04d_ABCDEFGHIJKL_This_line_is_64_bytes_long_ABCDEFGHIJKL_%04d\r\n"
	.align 8
.LC1:
	.string	"snprintf() returned %d in build_content()\n"
	.text
	.globl	build_content
	.type	build_content, @function
build_content:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	DWORD PTR -124[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -104[rbp], 0
	jmp	.L4
.L7:
	mov	ecx, DWORD PTR -104[rbp]
	mov	edx, DWORD PTR -104[rbp]
	lea	rax, -96[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	lea	rdx, .LC0[rip]
	mov	esi, 80
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 64
	je	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -100[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L5:
	add	DWORD PTR -104[rbp], 1
	cmp	DWORD PTR -124[rbp], 63
	jle	.L6
	lea	rcx, -96[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 64
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	add	QWORD PTR -120[rbp], 64
	sub	DWORD PTR -124[rbp], 64
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	lea	rcx, -96[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	add	QWORD PTR -120[rbp], rax
	mov	DWORD PTR -124[rbp], 0
.L4:
	cmp	DWORD PTR -124[rbp], 0
	jg	.L7
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	build_content, .-build_content
	.globl	build_crap
	.type	build_crap, @function
build_crap:
.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	DWORD PTR -28[rbp], esi
	jmp	.L10
.L12:
	mov	DWORD PTR -4[rbp], 8
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jle	.L11
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -4[rbp], eax
.L11:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, crap.0[rip]
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -28[rbp], eax
.L10:
	cmp	DWORD PTR -28[rbp], 0
	jg	.L12
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	build_crap, .-build_crap
	.section	.rodata
	.align 8
.LC2:
	.string	"HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\nTransfer-Encoding: chunked\r\n\r\n"
.LC3:
	.string	"%x\r\n"
.LC4:
	.string	"0\r\n\r\n"
	.align 8
.LC5:
	.string	"resp_length=%d buffer_length=%d content_length=%d\n"
	.text
	.globl	build_chunked_response
	.type	build_chunked_response, @function
build_chunked_response:
.LFB10:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, 256[rax]
	mov	eax, DWORD PTR -36[rbp]
	sar	eax, 4
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L14
	mov	eax, 0
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, .LC2[rip]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	rdx, QWORD PTR -48[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L15
.L16:
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	build_content
	mov	DWORD PTR -28[rbp], 0
	jmp	.L17
.L19:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1381296015
	shr	rdx, 32
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 199
	sub	eax, ecx
	mov	edx, eax
	lea	eax, 1[rdx]
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	cmp	DWORD PTR -36[rbp], eax
	jge	.L18
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -24[rbp], eax
.L18:
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, edx
	cdqe
	mov	rdx, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR [rdx]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -16[rbp]
	lea	rdi, [rcx+rdx]
	mov	edx, DWORD PTR -24[rbp]
	mov	ecx, edx
	lea	rdx, .LC3[rip]
	mov	rsi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	add	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -28[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, [rcx+rdx]
	mov	rdx, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR [rdx]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -16[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -24[rbp]
	add	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	DWORD PTR [rdx], ecx
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 13
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	DWORD PTR [rdx], ecx
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 10
.L17:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L19
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, 5
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 5[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	build_chunked_response, .-build_chunked_response
	.globl	build_favicon_content
	.type	build_favicon_content, @function
build_favicon_content:
.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
	cmp	DWORD PTR -28[rbp], 197
	jle	.L31
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 16
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 16
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 2
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], -80
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 22
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 40
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 16
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 32
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -4[rbp], 24
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	sub	DWORD PTR -4[rbp], 1
.L23:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L24
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], -1
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], -1
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], -1
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -4[rbp], 16
	jmp	.L25
.L28:
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 1
	test	eax, eax
	je	.L26
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 85
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 85
	jmp	.L27
.L26:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], -86
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], -86
.L27:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	sub	DWORD PTR -4[rbp], 1
.L25:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L28
	mov	DWORD PTR -4[rbp], 64
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	sub	DWORD PTR -4[rbp], 1
.L29:
	cmp	DWORD PTR -4[rbp], 0
	jg	.L30
	jmp	.L20
.L31:
	nop
.L20:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	build_favicon_content, .-build_favicon_content
	.globl	modes_array
	.section	.rodata
.LC6:
	.string	"chunked"
.LC7:
	.string	"addcrap"
.LC8:
	.string	"normal"
.LC9:
	.string	"favicon.ico"
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	modes_array, @object
	.size	modes_array, 80
modes_array:
	.long	1
	.zero	4
	.quad	.LC6
	.long	2
	.zero	4
	.quad	.LC7
	.long	3
	.zero	4
	.quad	.LC8
	.long	4
	.zero	4
	.quad	.LC9
	.long	0
	.zero	4
	.quad	0
	.section	.rodata
.LC10:
	.string	"write"
	.text
	.globl	send_response
	.type	send_response, @function
send_response:
.LFB12:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	jmp	.L33
.L38:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -1518422781
	shr	rdx, 32
	add	edx, eax
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 99
	sub	eax, ecx
	mov	edx, eax
	lea	eax, 1[rdx]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L34
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
.L34:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L35
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L36
	lea	rdi, .LC10[rip]
	call	perror@PLT
	jmp	.L32
.L35:
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	QWORD PTR -32[rbp], rax
.L36:
	mov	edi, 10000
	call	usleep@PLT
.L33:
	cmp	DWORD PTR -24[rbp], 0
	jg	.L38
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	send_response, .-send_response
	.section	.rodata
.LC11:
	.string	"read"
.LC12:
	.string	"\r\n\r\n"
	.align 8
.LC13:
	.string	"no HTTP header found in the request"
.LC14:
	.string	"headers :\n%.*s"
.LC15:
	.string	"Method = %s, URI = %s, %s\n"
.LC16:
	.string	"GET"
	.align 8
.LC17:
	.string	"HTTP/1.1 200 OK\r\nServer: minihttptestserver\r\nContent-Type: text/plain\r\nContent-Length: %d\r\n\r\n"
	.align 8
.LC18:
	.string	"HTTP/1.1 200 OK\r\nServer: minihttptestserver\r\nContent-Type: image/vnd.microsoft.icon\r\nContent-Length: %d\r\n\r\n"
	.align 8
.LC19:
	.string	"HTTP/1.1 200 OK\r\nServer: minihttptestserver\r\nContent-Type: text/plain\r\n\r\n"
	.text
	.globl	handle_http_connection
	.type	handle_http_connection, @function
handle_http_connection:
.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, 2480
	mov	DWORD PTR -2468[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2448[rbp], 0
	mov	DWORD PTR -2444[rbp], 0
	mov	DWORD PTR -2428[rbp], 16384
	jmp	.L40
.L49:
	mov	eax, DWORD PTR -2448[rbp]
	cdqe
	mov	edx, 2048
	sub	rdx, rax
	mov	eax, DWORD PTR -2448[rbp]
	cdqe
	lea	rcx, -2064[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -2468[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -2440[rbp], eax
	cmp	DWORD PTR -2440[rbp], 0
	jns	.L41
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L42
	jmp	.L40
.L42:
	lea	rdi, .LC11[rip]
	call	perror@PLT
	jmp	.L39
.L41:
	cmp	DWORD PTR -2440[rbp], 0
	je	.L86
	mov	eax, DWORD PTR -2440[rbp]
	add	DWORD PTR -2448[rbp], eax
	mov	DWORD PTR -2436[rbp], 0
	jmp	.L46
.L48:
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	lea	rdx, -2064[rbp]
	add	rax, rdx
	mov	edx, 4
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	jne	.L47
	mov	DWORD PTR -2444[rbp], 1
	jmp	.L40
.L47:
	add	DWORD PTR -2436[rbp], 1
.L46:
	mov	eax, DWORD PTR -2448[rbp]
	sub	eax, 3
	cmp	DWORD PTR -2436[rbp], eax
	jl	.L48
.L40:
	cmp	DWORD PTR -2448[rbp], 2047
	jg	.L45
	cmp	DWORD PTR -2444[rbp], 0
	je	.L49
	jmp	.L45
.L86:
	nop
.L45:
	cmp	DWORD PTR -2444[rbp], 0
	jne	.L50
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L39
.L50:
	lea	rdx, -2064[rbp]
	mov	eax, DWORD PTR -2448[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2064[rbp]
	mov	QWORD PTR -2424[rbp], rax
	mov	DWORD PTR -2436[rbp], 0
	jmp	.L51
.L53:
	mov	rax, QWORD PTR -2424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L52
	mov	rax, QWORD PTR -2424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	je	.L52
	mov	rax, QWORD PTR -2424[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	mov	BYTE PTR -2400[rbp+rax], dl
	add	QWORD PTR -2424[rbp], 1
	add	DWORD PTR -2436[rbp], 1
.L51:
	cmp	DWORD PTR -2436[rbp], 14
	jle	.L53
.L52:
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	mov	BYTE PTR -2400[rbp+rax], 0
	jmp	.L54
.L55:
	add	QWORD PTR -2424[rbp], 1
.L54:
	mov	rax, QWORD PTR -2424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L55
	mov	DWORD PTR -2436[rbp], 0
	jmp	.L56
.L58:
	mov	rax, QWORD PTR -2424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L57
	mov	rax, QWORD PTR -2424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	je	.L57
	mov	rax, QWORD PTR -2424[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	mov	BYTE PTR -2320[rbp+rax], dl
	add	QWORD PTR -2424[rbp], 1
	add	DWORD PTR -2436[rbp], 1
.L56:
	cmp	DWORD PTR -2436[rbp], 254
	jle	.L58
.L57:
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	mov	BYTE PTR -2320[rbp+rax], 0
	jmp	.L59
.L60:
	add	QWORD PTR -2424[rbp], 1
.L59:
	mov	rax, QWORD PTR -2424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L60
	mov	DWORD PTR -2436[rbp], 0
	jmp	.L61
.L63:
	mov	rax, QWORD PTR -2424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L62
	mov	rax, QWORD PTR -2424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	je	.L62
	mov	rax, QWORD PTR -2424[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	mov	BYTE PTR -2384[rbp+rax], dl
	add	QWORD PTR -2424[rbp], 1
	add	DWORD PTR -2436[rbp], 1
.L61:
	cmp	DWORD PTR -2436[rbp], 14
	jle	.L63
.L62:
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	mov	BYTE PTR -2384[rbp+rax], 0
	lea	rcx, -2384[rbp]
	lea	rdx, -2320[rbp]
	lea	rax, -2400[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2400[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L64
	movabs	rax, 3543824036068086856
	movabs	rdx, 8387194681774060576
	mov	QWORD PTR -2368[rbp], rax
	mov	QWORD PTR -2360[rbp], rdx
	movabs	rax, 2338616487853715304
	movabs	rdx, 965007783809018945
	mov	QWORD PTR -2352[rbp], rax
	mov	QWORD PTR -2344[rbp], rdx
	movabs	rax, 2322299878307021066
	movabs	rdx, 2829086591567175
	mov	QWORD PTR -2336[rbp], rax
	mov	QWORD PTR -2328[rbp], rdx
	mov	DWORD PTR -2440[rbp], 47
	lea	rax, -2368[rbp]
	mov	QWORD PTR -2408[rbp], rax
	jmp	.L65
.L68:
	mov	eax, DWORD PTR -2440[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -2408[rbp]
	mov	eax, DWORD PTR -2468[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -2436[rbp], eax
	cmp	DWORD PTR -2436[rbp], 0
	jns	.L66
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L65
	lea	rdi, .LC10[rip]
	call	perror@PLT
	jmp	.L39
.L66:
	mov	eax, DWORD PTR -2436[rbp]
	sub	DWORD PTR -2440[rbp], eax
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	add	QWORD PTR -2408[rbp], rax
.L65:
	cmp	DWORD PTR -2440[rbp], 0
	jg	.L68
	jmp	.L39
.L64:
	mov	DWORD PTR -2432[rbp], 0
	mov	DWORD PTR -2436[rbp], 0
	jmp	.L69
.L72:
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, modes_array[rip+8]
	mov	rdx, QWORD PTR [rdx+rax]
	lea	rax, -2320[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L70
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, modes_array[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -2432[rbp], eax
	jmp	.L71
.L70:
	add	DWORD PTR -2436[rbp], 1
.L69:
	mov	eax, DWORD PTR -2436[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, modes_array[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L72
.L71:
	cmp	DWORD PTR -2432[rbp], 4
	je	.L73
	cmp	DWORD PTR -2432[rbp], 4
	ja	.L74
	cmp	DWORD PTR -2432[rbp], 1
	je	.L75
	cmp	DWORD PTR -2432[rbp], 2
	je	.L76
	jmp	.L74
.L75:
	lea	rdx, -2452[rbp]
	mov	eax, DWORD PTR -2428[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	build_chunked_response
	mov	QWORD PTR -2416[rbp], rax
	jmp	.L77
.L76:
	mov	eax, DWORD PTR -2428[rbp]
	add	eax, 256
	mov	DWORD PTR -2452[rbp], eax
	mov	eax, DWORD PTR -2452[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -2416[rbp], rax
	cmp	QWORD PTR -2416[rbp], 0
	je	.L87
	mov	eax, DWORD PTR -2452[rbp]
	movsx	rsi, eax
	mov	edx, DWORD PTR -2428[rbp]
	mov	rax, QWORD PTR -2416[rbp]
	mov	ecx, edx
	lea	rdx, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -2440[rbp], eax
	mov	edx, DWORD PTR -2428[rbp]
	mov	eax, DWORD PTR -2440[rbp]
	add	eax, edx
	add	eax, 2048
	mov	DWORD PTR -2452[rbp], eax
	mov	eax, DWORD PTR -2452[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -2416[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -2424[rbp], rax
	cmp	QWORD PTR -2424[rbp], 0
	jne	.L79
	mov	rax, QWORD PTR -2416[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -2416[rbp], 0
	jmp	.L77
.L79:
	mov	rax, QWORD PTR -2424[rbp]
	mov	QWORD PTR -2416[rbp], rax
	mov	eax, DWORD PTR -2440[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -2416[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -2428[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	build_content
	mov	eax, DWORD PTR -2440[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -2428[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -2416[rbp]
	add	rax, rdx
	mov	esi, 2048
	mov	rdi, rax
	call	build_crap
	jmp	.L77
.L73:
	mov	DWORD PTR -2428[rbp], 198
	mov	eax, DWORD PTR -2428[rbp]
	add	eax, 256
	mov	DWORD PTR -2452[rbp], eax
	mov	eax, DWORD PTR -2452[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -2416[rbp], rax
	cmp	QWORD PTR -2416[rbp], 0
	je	.L88
	mov	eax, DWORD PTR -2452[rbp]
	movsx	rsi, eax
	mov	edx, DWORD PTR -2428[rbp]
	mov	rax, QWORD PTR -2416[rbp]
	mov	ecx, edx
	lea	rdx, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -2440[rbp], eax
	mov	eax, DWORD PTR -2440[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -2416[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -2428[rbp]
	mov	esi, eax
	mov	rdi, rdx
	call	build_favicon_content
	mov	edx, DWORD PTR -2428[rbp]
	mov	eax, DWORD PTR -2440[rbp]
	add	eax, edx
	mov	DWORD PTR -2452[rbp], eax
	jmp	.L77
.L74:
	mov	eax, DWORD PTR -2428[rbp]
	add	eax, 256
	mov	DWORD PTR -2452[rbp], eax
	mov	eax, DWORD PTR -2452[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -2416[rbp], rax
	cmp	QWORD PTR -2416[rbp], 0
	je	.L89
	mov	eax, DWORD PTR -2452[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -2416[rbp]
	lea	rdx, .LC19[rip]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -2440[rbp], eax
	mov	edx, DWORD PTR -2428[rbp]
	mov	eax, DWORD PTR -2440[rbp]
	add	eax, edx
	mov	DWORD PTR -2452[rbp], eax
	mov	eax, DWORD PTR -2452[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -2416[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -2424[rbp], rax
	cmp	QWORD PTR -2424[rbp], 0
	jne	.L82
	mov	rax, QWORD PTR -2416[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -2416[rbp], 0
	jmp	.L77
.L82:
	mov	rax, QWORD PTR -2424[rbp]
	mov	QWORD PTR -2416[rbp], rax
	mov	eax, DWORD PTR -2452[rbp]
	sub	eax, DWORD PTR -2440[rbp]
	mov	edx, DWORD PTR -2440[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -2416[rbp]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	build_content
	jmp	.L77
.L87:
	nop
	jmp	.L77
.L88:
	nop
	jmp	.L77
.L89:
	nop
.L77:
	cmp	QWORD PTR -2416[rbp], 0
	je	.L39
	mov	edx, DWORD PTR -2452[rbp]
	mov	rcx, QWORD PTR -2416[rbp]
	mov	eax, DWORD PTR -2468[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	send_response
	mov	rax, QWORD PTR -2416[rbp]
	mov	rdi, rax
	call	free@PLT
.L39:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L85
	call	__stack_chk_fail@PLT
.L85:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	handle_http_connection, .-handle_http_connection
	.section	.rodata
	.align 8
.LC20:
	.string	"unknown command line switch '%s'\n"
	.align 8
.LC21:
	.string	"unknown command line argument '%s'\n"
.LC22:
	.string	"sigaction"
.LC23:
	.string	"socket"
.LC24:
	.string	"bind"
.LC25:
	.string	"listen"
.LC26:
	.string	"getsockname"
.LC27:
	.string	"Listening on port %hu\n"
.LC28:
	.string	"wb"
.LC29:
	.string	"memory allocation error\n"
	.align 8
.LC30:
	.string	"error writing to file %s : %dbytes written (out of %d)\n"
	.align 8
.LC31:
	.string	"error opening file %s for writing\n"
.LC32:
	.string	"wait"
	.align 8
.LC33:
	.string	"child(%d) terminated with status %d\n"
.LC34:
	.string	"accept"
.LC35:
	.string	"accept..."
.LC36:
	.string	"fork"
.LC37:
	.string	"Bye..."
	.text
	.globl	main
	.type	main, @function
main:
.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, 528
	mov	DWORD PTR -516[rbp], edi
	mov	QWORD PTR -528[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -496[rbp], 0
	mov	WORD PTR -510[rbp], 0
	mov	DWORD PTR -484[rbp], 0
	mov	QWORD PTR -472[rbp], 0
	mov	DWORD PTR -488[rbp], 1
	jmp	.L91
.L100:
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L92
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 112
	je	.L93
	cmp	eax, 112
	jg	.L94
	cmp	eax, 54
	je	.L95
	cmp	eax, 101
	je	.L96
	jmp	.L94
.L95:
	mov	DWORD PTR -496[rbp], 1
	jmp	.L99
.L96:
	add	DWORD PTR -488[rbp], 1
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -472[rbp], rax
	jmp	.L99
.L93:
	add	DWORD PTR -488[rbp], 1
	mov	eax, DWORD PTR -488[rbp]
	cmp	eax, DWORD PTR -516[rbp]
	jge	.L142
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	WORD PTR -510[rbp], ax
	jmp	.L142
.L94:
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L99
.L92:
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -528[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L99
.L142:
	nop
.L99:
	add	DWORD PTR -488[rbp], 1
.L91:
	mov	eax, DWORD PTR -488[rbp]
	cmp	eax, DWORD PTR -516[rbp]
	jl	.L100
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rax, -160[rbp]
	mov	edx, 152
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, handle_signal_chld[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 17
	call	sigaction@PLT
	test	eax, eax
	jns	.L101
	lea	rdi, .LC22[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L140
.L101:
	lea	rax, handle_signal_int[rip]
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -160[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 2
	call	sigaction@PLT
	test	eax, eax
	jns	.L103
	lea	rdi, .LC22[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L140
.L103:
	cmp	DWORD PTR -496[rbp], 0
	je	.L104
	mov	eax, 10
	jmp	.L105
.L104:
	mov	eax, 2
.L105:
	mov	edx, 0
	mov	esi, 1
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -492[rbp], eax
	cmp	DWORD PTR -492[rbp], 0
	jns	.L106
	lea	rdi, .LC23[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L140
.L106:
	lea	rax, -416[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -288[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	cmp	DWORD PTR -496[rbp], 0
	je	.L107
	lea	rax, -416[rbp]
	mov	QWORD PTR -456[rbp], rax
	mov	rax, QWORD PTR -456[rbp]
	mov	WORD PTR [rax], 10
	movzx	eax, WORD PTR -510[rbp]
	mov	edi, eax
	call	htons@PLT
	mov	rdx, QWORD PTR -456[rbp]
	mov	WORD PTR 2[rdx], ax
	mov	rcx, QWORD PTR -456[rbp]
	mov	rax, QWORD PTR in6addr_loopback[rip]
	mov	rdx, QWORD PTR in6addr_loopback[rip+8]
	mov	QWORD PTR 8[rcx], rax
	mov	QWORD PTR 16[rcx], rdx
	jmp	.L108
.L107:
	lea	rax, -416[rbp]
	mov	QWORD PTR -464[rbp], rax
	mov	rax, QWORD PTR -464[rbp]
	mov	WORD PTR [rax], 2
	movzx	eax, WORD PTR -510[rbp]
	mov	edi, eax
	call	htons@PLT
	mov	rdx, QWORD PTR -464[rbp]
	mov	WORD PTR 2[rdx], ax
	mov	edi, 2130706433
	call	htonl@PLT
	mov	rdx, QWORD PTR -464[rbp]
	mov	DWORD PTR 4[rdx], eax
.L108:
	cmp	DWORD PTR -496[rbp], 0
	je	.L109
	mov	edx, 28
	jmp	.L110
.L109:
	mov	edx, 16
.L110:
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -492[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L111
	lea	rdi, .LC24[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L140
.L111:
	mov	eax, DWORD PTR -492[rbp]
	mov	esi, 5
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L112
	lea	rdi, .LC25[rip]
	call	perror@PLT
.L112:
	cmp	WORD PTR -510[rbp], 0
	jne	.L113
	mov	DWORD PTR -508[rbp], 128
	lea	rdx, -508[rbp]
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -492[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getsockname@PLT
	test	eax, eax
	jns	.L114
	lea	rdi, .LC26[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L140
.L114:
	cmp	DWORD PTR -496[rbp], 0
	je	.L115
	lea	rax, -416[rbp]
	mov	QWORD PTR -440[rbp], rax
	mov	rax, QWORD PTR -440[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	mov	WORD PTR -510[rbp], ax
	jmp	.L116
.L115:
	lea	rax, -416[rbp]
	mov	QWORD PTR -448[rbp], rax
	mov	rax, QWORD PTR -448[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	mov	WORD PTR -510[rbp], ax
.L116:
	movzx	eax, WORD PTR -510[rbp]
	mov	esi, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
.L113:
	cmp	QWORD PTR -472[rbp], 0
	je	.L122
	mov	rax, QWORD PTR -472[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -432[rbp], rax
	cmp	QWORD PTR -432[rbp], 0
	je	.L118
	mov	edi, 16384
	call	malloc@PLT
	mov	QWORD PTR -424[rbp], rax
	cmp	QWORD PTR -424[rbp], 0
	jne	.L119
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	jmp	.L120
.L119:
	mov	rax, QWORD PTR -424[rbp]
	mov	esi, 16384
	mov	rdi, rax
	call	build_content
	mov	rdx, QWORD PTR -432[rbp]
	mov	rax, QWORD PTR -424[rbp]
	mov	rcx, rdx
	mov	edx, 16384
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -488[rbp], eax
	cmp	DWORD PTR -488[rbp], 16384
	je	.L121
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -488[rbp]
	mov	rdx, QWORD PTR -472[rbp]
	mov	r8d, 16384
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L121:
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	free@PLT
.L120:
	mov	rax, QWORD PTR -432[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L122
.L118:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -472[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L122
.L126:
	lea	rax, -500[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	DWORD PTR -476[rbp], eax
	cmp	DWORD PTR -476[rbp], 0
	jns	.L124
	lea	rdi, .LC32[rip]
	call	perror@PLT
	jmp	.L125
.L124:
	mov	edx, DWORD PTR -500[rbp]
	mov	eax, DWORD PTR -476[rbp]
	mov	esi, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L125:
	mov	eax, DWORD PTR child_to_wait_for[rip]
	sub	eax, 1
	mov	DWORD PTR child_to_wait_for[rip], eax
.L123:
	mov	eax, DWORD PTR child_to_wait_for[rip]
	test	eax, eax
	jg	.L126
	mov	DWORD PTR -504[rbp], 128
	lea	rdx, -504[rbp]
	lea	rcx, -288[rbp]
	mov	eax, DWORD PTR -492[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -480[rbp], eax
	cmp	DWORD PTR -480[rbp], 0
	jns	.L127
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L122
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L122
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L129
	jmp	.L122
.L129:
	lea	rdi, .LC34[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L140
.L127:
	lea	rdi, .LC35[rip]
	call	puts@PLT
	call	fork@PLT
	mov	DWORD PTR -476[rbp], eax
	cmp	DWORD PTR -476[rbp], 0
	jns	.L130
	lea	rdi, .LC36[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L140
.L130:
	cmp	DWORD PTR -476[rbp], 0
	jne	.L131
	mov	DWORD PTR -484[rbp], 1
	mov	eax, DWORD PTR -492[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -492[rbp], -1
	mov	eax, DWORD PTR -480[rbp]
	mov	edi, eax
	call	handle_http_connection
.L131:
	mov	eax, DWORD PTR -480[rbp]
	mov	edi, eax
	call	close@PLT
.L122:
	cmp	DWORD PTR -484[rbp], 0
	jne	.L132
	mov	eax, DWORD PTR quit[rip]
	test	eax, eax
	je	.L123
.L132:
	cmp	DWORD PTR -492[rbp], 0
	js	.L134
	mov	eax, DWORD PTR -492[rbp]
	mov	edi, eax
	call	close@PLT
	mov	DWORD PTR -492[rbp], -1
.L134:
	cmp	DWORD PTR -484[rbp], 0
	jne	.L135
	jmp	.L136
.L139:
	lea	rax, -500[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	DWORD PTR -476[rbp], eax
	cmp	DWORD PTR -476[rbp], 0
	jns	.L137
	lea	rdi, .LC32[rip]
	call	perror@PLT
	jmp	.L138
.L137:
	mov	edx, DWORD PTR -500[rbp]
	mov	eax, DWORD PTR -476[rbp]
	mov	esi, eax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L138:
	mov	eax, DWORD PTR child_to_wait_for[rip]
	sub	eax, 1
	mov	DWORD PTR child_to_wait_for[rip], eax
.L136:
	mov	eax, DWORD PTR child_to_wait_for[rip]
	test	eax, eax
	jg	.L139
	lea	rdi, .LC37[rip]
	call	puts@PLT
.L135:
	mov	eax, 0
.L140:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L141
	call	__stack_chk_fail@PLT
.L141:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	crap.0, @object
	.size	crap.0, 9
crap.0:
	.string	"_CRAP_\r\n"
	.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	"112888.c"
	.text
	.global	quit
	.bss
	.align	2
	.type	quit, %object
	.size	quit, 4
quit:
	.space	4
	.global	child_to_wait_for
	.align	2
	.type	child_to_wait_for, %object
	.size	child_to_wait_for, 4
child_to_wait_for:
	.space	4
	.text
	.align	2
	.global	handle_signal_chld
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_signal_chld, %function
handle_signal_chld:
	@ 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, .L2
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L2
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	child_to_wait_for
	.size	handle_signal_chld, .-handle_signal_chld
	.align	2
	.global	handle_signal_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_signal_int, %function
handle_signal_int:
	@ 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, .L5
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	quit
	.size	handle_signal_int, .-handle_signal_int
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%04d_ABCDEFGHIJKL_This_line_is_64_bytes_long_ABCDEF"
	.ascii	"GHIJKL_%04d\015\012\000"
	.align	2
.LC1:
	.ascii	"snprintf() returned %d in build_content()\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	build_content
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_content, %function
build_content:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L8
.L11:
	sub	r0, fp, #88
	ldr	r3, [fp, #-96]
	str	r3, [sp]
	ldr	r3, [fp, #-96]
	ldr	r2, .L13+4
	mov	r1, #80
	bl	snprintf
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #64
	beq	.L9
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-92]
	ldr	r1, .L13+12
	mov	r0, r3
	bl	fprintf
.L9:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-108]
	cmp	r3, #63
	ble	.L10
	sub	r3, fp, #88
	mov	r2, #64
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	memcpy
	ldr	r3, [fp, #-104]
	add	r3, r3, #64
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-108]
	sub	r3, r3, #64
	str	r3, [fp, #-108]
	b	.L8
.L10:
	ldr	r2, [fp, #-108]
	sub	r3, fp, #88
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	memcpy
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-108]
.L8:
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bgt	.L11
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC2
	.word	.LC0
	.word	stderr
	.word	.LC1
	.size	build_content, .-build_content
	.align	2
	.global	build_crap
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_crap, %function
build_crap:
	@ 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]
	str	r1, [fp, #-20]
	b	.L16
.L18:
	mov	r3, #8
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L17
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
.L17:
	ldr	r3, [fp, #-8]
	mov	r2, r3
	ldr	r1, .L19
	ldr	r0, [fp, #-16]
	bl	memcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
.L16:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L18
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	crap.6781
	.size	build_crap, .-build_crap
	.section	.rodata
	.align	2
.LC3:
	.ascii	"HTTP/1.1 200 OK\015\012Content-Type: text/plain\015"
	.ascii	"\012Transfer-Encoding: chunked\015\012\015\012\000"
	.align	2
.LC4:
	.ascii	"%x\015\012\000"
	.align	2
.LC5:
	.ascii	"0\015\012\015\012\000"
	.align	2
.LC6:
	.ascii	"resp_length=%d buffer_length=%d content_length=%d\012"
	.ascii	"\000"
	.text
	.align	2
	.global	build_chunked_response
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_chunked_response, %function
build_chunked_response:
	@ 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, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r2, r3, #256
	ldr	r3, [fp, #-32]
	asr	r3, r3, #4
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L22
	mov	r3, #0
	b	.L23
.L22:
	ldr	r3, [fp, #-16]
	ldr	r2, .L28
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	snprintf
	mov	r2, r0
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L24
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #0
	b	.L23
.L24:
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-8]
	bl	build_content
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L25
.L27:
	bl	rand
	mov	r1, r0
	ldr	r3, .L28+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r0, r3, #5
	add	r3, r3, r0
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r1, r3
	add	r3, r2, #1
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bge	.L26
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
.L26:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r0, r3, r2
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	sub	r3, r2, r3
	mov	r1, r3
	ldr	r3, [fp, #-20]
	ldr	r2, .L28+8
	bl	snprintf
	mov	r2, r0
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r0, r3, r2
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-36]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r2, [fp, #-36]
	str	r1, [r2]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	mov	r2, #13
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r2, [fp, #-36]
	str	r1, [r2]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	mov	r2, #10
	strb	r2, [r3]
.L25:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	mov	r2, #5
	ldr	r1, .L28+12
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r2, r3, #5
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-36]
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r0, .L28+16
	bl	printf
	ldr	r3, [fp, #-12]
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC3
	.word	1381296015
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	build_chunked_response, .-build_chunked_response
	.align	2
	.global	build_favicon_content
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_favicon_content, %function
build_favicon_content:
	@ 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]
	ldr	r3, [fp, #-20]
	cmp	r3, #197
	ble	.L41
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #16
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #16
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #2
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mvn	r2, #79
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #22
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #40
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #16
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #24
	str	r3, [fp, #-8]
	b	.L33
.L34:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L33:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L34
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #16
	str	r3, [fp, #-8]
	b	.L35
.L38:
	ldr	r3, [fp, #-8]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #85
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #85
	strb	r2, [r3]
	b	.L37
.L36:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mvn	r2, #85
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mvn	r2, #85
	strb	r2, [r3]
.L37:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L35:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L38
	mov	r3, #64
	str	r3, [fp, #-8]
	b	.L39
.L40:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L39:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L40
	b	.L30
.L41:
	nop
.L30:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	build_favicon_content, .-build_favicon_content
	.global	modes_array
	.section	.rodata
	.align	2
.LC7:
	.ascii	"chunked\000"
	.align	2
.LC8:
	.ascii	"addcrap\000"
	.align	2
.LC9:
	.ascii	"normal\000"
	.align	2
.LC10:
	.ascii	"favicon.ico\000"
	.align	2
	.type	modes_array, %object
	.size	modes_array, 40
modes_array:
	.word	1
	.word	.LC7
	.word	2
	.word	.LC8
	.word	3
	.word	.LC9
	.word	4
	.word	.LC10
	.word	0
	.word	0
	.align	2
.LC11:
	.ascii	"write\000"
	.text
	.align	2
	.global	send_response
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_response, %function
send_response:
	@ 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]
	b	.L43
.L48:
	bl	rand
	mov	r2, r0
	ldr	r3, .L49
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #6
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #5
	add	r3, r3, r1
	sub	r1, r2, r3
	add	r3, r1, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L44
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
.L44:
	ldr	r3, [fp, #-8]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L45
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L46
	ldr	r0, .L49+4
	bl	perror
	b	.L42
.L45:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
.L46:
	ldr	r0, .L49+8
	bl	usleep
.L43:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L48
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	-1518422781
	.word	.LC11
	.word	10000
	.size	send_response, .-send_response
	.section	.rodata
	.align	2
.LC12:
	.ascii	"read\000"
	.align	2
.LC13:
	.ascii	"\015\012\015\012\000"
	.align	2
.LC14:
	.ascii	"no HTTP header found in the request\000"
	.align	2
.LC15:
	.ascii	"headers :\012%.*s\000"
	.align	2
.LC16:
	.ascii	"Method = %s, URI = %s, %s\012\000"
	.align	2
.LC17:
	.ascii	"GET\000"
	.align	2
.LC19:
	.ascii	"HTTP/1.1 200 OK\015\012Server: minihttptestserver\015"
	.ascii	"\012Content-Type: text/plain\015\012Content-Length:"
	.ascii	" %d\015\012\015\012\000"
	.align	2
.LC20:
	.ascii	"HTTP/1.1 200 OK\015\012Server: minihttptestserver\015"
	.ascii	"\012Content-Type: image/vnd.microsoft.icon\015\012C"
	.ascii	"ontent-Length: %d\015\012\015\012\000"
	.align	2
.LC21:
	.ascii	"HTTP/1.1 200 OK\015\012Server: minihttptestserver\015"
	.ascii	"\012Content-Type: text/plain\015\012\015\012\000"
	.align	2
.LC18:
	.ascii	"HTTP/1.1 405 Method Not Allowed\015\012Allow: GET\015"
	.ascii	"\012\015\012\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	handle_http_connection
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_http_connection, %function
handle_http_connection:
	@ args = 0, pretend = 0, frame = 2440
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2432
	sub	sp, sp, #8
	str	r0, [fp, #-2440]
	ldr	r3, .L102
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2428]
	mov	r3, #0
	str	r3, [fp, #-2424]
	mov	r3, #16384
	str	r3, [fp, #-2396]
	b	.L52
.L61:
	ldr	r2, [fp, #-2428]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r1, r3, r2
	ldr	r3, [fp, #-2428]
	rsb	r3, r3, #2048
	mov	r2, r3
	ldr	r0, [fp, #-2440]
	bl	read
	str	r0, [fp, #-2420]
	ldr	r3, [fp, #-2420]
	cmp	r3, #0
	bge	.L53
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L54
	b	.L52
.L54:
	ldr	r0, .L102+4
	bl	perror
	b	.L51
.L53:
	ldr	r3, [fp, #-2420]
	cmp	r3, #0
	beq	.L98
	ldr	r2, [fp, #-2428]
	ldr	r3, [fp, #-2420]
	add	r3, r2, r3
	str	r3, [fp, #-2428]
	mov	r3, #0
	str	r3, [fp, #-2416]
	b	.L58
.L60:
	ldr	r2, [fp, #-2416]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, r2
	mov	r2, #4
	ldr	r1, .L102+8
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L59
	mov	r3, #1
	str	r3, [fp, #-2424]
	b	.L52
.L59:
	ldr	r3, [fp, #-2416]
	add	r3, r3, #1
	str	r3, [fp, #-2416]
.L58:
	ldr	r3, [fp, #-2428]
	sub	r3, r3, #3
	ldr	r2, [fp, #-2416]
	cmp	r2, r3
	blt	.L60
.L52:
	ldr	r3, [fp, #-2428]
	cmp	r3, #2048
	bge	.L57
	ldr	r3, [fp, #-2424]
	cmp	r3, #0
	beq	.L61
	b	.L57
.L98:
	nop
.L57:
	ldr	r3, [fp, #-2424]
	cmp	r3, #0
	bne	.L62
	ldr	r0, .L102+12
	bl	puts
	b	.L51
.L62:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, [fp, #-2428]
	ldr	r0, .L102+16
	bl	printf
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-2412]
	mov	r3, #0
	str	r3, [fp, #-2416]
	b	.L63
.L65:
	ldr	r3, [fp, #-2412]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L64
	ldr	r3, [fp, #-2412]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L64
	ldr	r3, [fp, #-2412]
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #2384
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2416]
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-2412]
	add	r3, r3, #1
	str	r3, [fp, #-2412]
	ldr	r3, [fp, #-2416]
	add	r3, r3, #1
	str	r3, [fp, #-2416]
.L63:
	ldr	r3, [fp, #-2416]
	cmp	r3, #14
	ble	.L65
.L64:
	sub	r3, fp, #2384
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2416]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	b	.L66
.L67:
	ldr	r3, [fp, #-2412]
	add	r3, r3, #1
	str	r3, [fp, #-2412]
.L66:
	ldr	r3, [fp, #-2412]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L67
	mov	r3, #0
	str	r3, [fp, #-2416]
	b	.L68
.L70:
	ldr	r3, [fp, #-2412]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L69
	ldr	r3, [fp, #-2412]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L69
	ldr	r3, [fp, #-2412]
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #2304
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2416]
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-2412]
	add	r3, r3, #1
	str	r3, [fp, #-2412]
	ldr	r3, [fp, #-2416]
	add	r3, r3, #1
	str	r3, [fp, #-2416]
.L68:
	ldr	r3, [fp, #-2416]
	cmp	r3, #254
	ble	.L70
.L69:
	sub	r3, fp, #2304
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2416]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	b	.L71
.L72:
	ldr	r3, [fp, #-2412]
	add	r3, r3, #1
	str	r3, [fp, #-2412]
.L71:
	ldr	r3, [fp, #-2412]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L72
	mov	r3, #0
	str	r3, [fp, #-2416]
	b	.L73
.L75:
	ldr	r3, [fp, #-2412]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L74
	ldr	r3, [fp, #-2412]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L74
	ldr	r3, [fp, #-2412]
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #2368
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2416]
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-2412]
	add	r3, r3, #1
	str	r3, [fp, #-2412]
	ldr	r3, [fp, #-2416]
	add	r3, r3, #1
	str	r3, [fp, #-2416]
.L73:
	ldr	r3, [fp, #-2416]
	cmp	r3, #14
	ble	.L75
.L74:
	sub	r3, fp, #2368
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2416]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #2368
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r2, fp, #2304
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r1, fp, #2384
	sub	r1, r1, #4
	sub	r1, r1, #4
	ldr	r0, .L102+20
	bl	printf
	sub	r3, fp, #2384
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L102+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	ldr	r3, .L102+28
	sub	ip, fp, #2352
	sub	ip, ip, #4
	sub	ip, ip, #4
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #47
	str	r3, [fp, #-2420]
	sub	r3, fp, #2352
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-2400]
	b	.L77
.L80:
	ldr	r3, [fp, #-2420]
	mov	r2, r3
	ldr	r1, [fp, #-2400]
	ldr	r0, [fp, #-2440]
	bl	write
	str	r0, [fp, #-2416]
	ldr	r3, [fp, #-2416]
	cmp	r3, #0
	bge	.L78
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L77
	ldr	r0, .L102+32
	bl	perror
	b	.L51
.L78:
	ldr	r2, [fp, #-2420]
	ldr	r3, [fp, #-2416]
	sub	r3, r2, r3
	str	r3, [fp, #-2420]
	ldr	r3, [fp, #-2416]
	ldr	r2, [fp, #-2400]
	add	r3, r2, r3
	str	r3, [fp, #-2400]
.L77:
	ldr	r3, [fp, #-2420]
	cmp	r3, #0
	bgt	.L80
	b	.L51
.L76:
	mov	r3, #0
	str	r3, [fp, #-2404]
	mov	r3, #0
	str	r3, [fp, #-2416]
	b	.L81
.L84:
	ldr	r2, .L102+36
	ldr	r3, [fp, #-2416]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	sub	r3, fp, #2304
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L82
	ldr	r2, .L102+36
	ldr	r3, [fp, #-2416]
	ldr	r3, [r2, r3, lsl #3]
	str	r3, [fp, #-2404]
	b	.L83
.L82:
	ldr	r3, [fp, #-2416]
	add	r3, r3, #1
	str	r3, [fp, #-2416]
.L81:
	ldr	r2, .L102+36
	ldr	r3, [fp, #-2416]
	ldr	r3, [r2, r3, lsl #3]
	cmp	r3, #0
	bne	.L84
.L83:
	ldr	r3, [fp, #-2404]
	cmp	r3, #4
	beq	.L85
	ldr	r3, [fp, #-2404]
	cmp	r3, #4
	bhi	.L86
	ldr	r3, [fp, #-2404]
	cmp	r3, #1
	beq	.L87
	ldr	r3, [fp, #-2404]
	cmp	r3, #2
	beq	.L88
	b	.L86
.L87:
	sub	r3, fp, #2416
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-2396]
	bl	build_chunked_response
	str	r0, [fp, #-2408]
	b	.L89
.L88:
	ldr	r3, [fp, #-2396]
	add	r3, r3, #256
	str	r3, [fp, #-2432]
	ldr	r3, [fp, #-2432]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-2408]
	ldr	r3, [fp, #-2408]
	cmp	r3, #0
	beq	.L99
	ldr	r3, [fp, #-2432]
	mov	r1, r3
	ldr	r3, [fp, #-2396]
	ldr	r2, .L102+40
	ldr	r0, [fp, #-2408]
	bl	snprintf
	str	r0, [fp, #-2420]
	ldr	r2, [fp, #-2396]
	ldr	r3, [fp, #-2420]
	add	r3, r2, r3
	add	r3, r3, #2048
	str	r3, [fp, #-2432]
	ldr	r3, [fp, #-2432]
	mov	r1, r3
	ldr	r0, [fp, #-2408]
	bl	realloc
	str	r0, [fp, #-2412]
	ldr	r3, [fp, #-2412]
	cmp	r3, #0
	bne	.L91
	ldr	r0, [fp, #-2408]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-2408]
	b	.L89
.L91:
	ldr	r3, [fp, #-2412]
	str	r3, [fp, #-2408]
	ldr	r3, [fp, #-2420]
	ldr	r2, [fp, #-2408]
	add	r3, r2, r3
	ldr	r1, [fp, #-2396]
	mov	r0, r3
	bl	build_content
	ldr	r2, [fp, #-2420]
	ldr	r3, [fp, #-2396]
	add	r3, r2, r3
	ldr	r2, [fp, #-2408]
	add	r3, r2, r3
	mov	r1, #2048
	mov	r0, r3
	bl	build_crap
	b	.L89
.L85:
	mov	r3, #198
	str	r3, [fp, #-2396]
	ldr	r3, [fp, #-2396]
	add	r3, r3, #256
	str	r3, [fp, #-2432]
	ldr	r3, [fp, #-2432]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-2408]
	ldr	r3, [fp, #-2408]
	cmp	r3, #0
	beq	.L100
	ldr	r3, [fp, #-2432]
	mov	r1, r3
	ldr	r3, [fp, #-2396]
	ldr	r2, .L102+44
	ldr	r0, [fp, #-2408]
	bl	snprintf
	str	r0, [fp, #-2420]
	ldr	r3, [fp, #-2420]
	ldr	r2, [fp, #-2408]
	add	r3, r2, r3
	ldr	r1, [fp, #-2396]
	mov	r0, r3
	bl	build_favicon_content
	ldr	r2, [fp, #-2396]
	ldr	r3, [fp, #-2420]
	add	r3, r2, r3
	str	r3, [fp, #-2432]
	b	.L89
.L86:
	ldr	r3, [fp, #-2396]
	add	r3, r3, #256
	str	r3, [fp, #-2432]
	ldr	r3, [fp, #-2432]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-2408]
	ldr	r3, [fp, #-2408]
	cmp	r3, #0
	beq	.L101
	ldr	r3, [fp, #-2432]
	ldr	r2, .L102+48
	mov	r1, r3
	ldr	r0, [fp, #-2408]
	bl	snprintf
	str	r0, [fp, #-2420]
	ldr	r2, [fp, #-2396]
	ldr	r3, [fp, #-2420]
	add	r3, r2, r3
	str	r3, [fp, #-2432]
	ldr	r3, [fp, #-2432]
	mov	r1, r3
	ldr	r0, [fp, #-2408]
	bl	realloc
	str	r0, [fp, #-2412]
	ldr	r3, [fp, #-2412]
	cmp	r3, #0
	bne	.L94
	ldr	r0, [fp, #-2408]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-2408]
	b	.L89
.L94:
	ldr	r3, [fp, #-2412]
	str	r3, [fp, #-2408]
	ldr	r3, [fp, #-2420]
	ldr	r2, [fp, #-2408]
	add	r0, r2, r3
	ldr	r2, [fp, #-2432]
	ldr	r3, [fp, #-2420]
	sub	r3, r2, r3
	mov	r1, r3
	bl	build_content
	b	.L89
.L99:
	nop
	b	.L89
.L100:
	nop
	b	.L89
.L101:
	nop
.L89:
	ldr	r3, [fp, #-2408]
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-2432]
	mov	r2, r3
	ldr	r1, [fp, #-2408]
	ldr	r0, [fp, #-2440]
	bl	send_response
	ldr	r0, [fp, #-2408]
	bl	free
.L51:
	ldr	r3, .L102
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L97
	bl	__stack_chk_fail
.L97:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L103:
	.align	2
.L102:
	.word	.LC22
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC11
	.word	modes_array
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	handle_http_connection, .-handle_http_connection
	.section	.rodata
	.align	2
.LC23:
	.ascii	"unknown command line switch '%s'\012\000"
	.align	2
.LC24:
	.ascii	"unknown command line argument '%s'\012\000"
	.align	2
.LC25:
	.ascii	"sigaction\000"
	.align	2
.LC26:
	.ascii	"socket\000"
	.align	2
.LC27:
	.ascii	"bind\000"
	.align	2
.LC28:
	.ascii	"listen\000"
	.align	2
.LC29:
	.ascii	"getsockname\000"
	.align	2
.LC30:
	.ascii	"Listening on port %hu\012\000"
	.align	2
.LC31:
	.ascii	"wb\000"
	.align	2
.LC32:
	.ascii	"memory allocation error\012\000"
	.align	2
.LC33:
	.ascii	"error writing to file %s : %dbytes written (out of "
	.ascii	"%d)\012\000"
	.align	2
.LC34:
	.ascii	"error opening file %s for writing\012\000"
	.align	2
.LC35:
	.ascii	"wait\000"
	.align	2
.LC36:
	.ascii	"child(%d) terminated with status %d\012\000"
	.align	2
.LC37:
	.ascii	"accept\000"
	.align	2
.LC38:
	.ascii	"accept...\000"
	.align	2
.LC39:
	.ascii	"fork\000"
	.align	2
.LC40:
	.ascii	"Bye...\000"
	.align	2
.LC41:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 480
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #492
	str	r0, [fp, #-488]
	str	r1, [fp, #-492]
	ldr	r3, .L157
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-464]
	sub	r3, fp, #12
	sub	r3, r3, #464
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-452]
	mov	r3, #0
	str	r3, [fp, #-448]
	mov	r3, #1
	str	r3, [fp, #-456]
	b	.L105
.L114:
	ldr	r3, [fp, #-456]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-492]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L106
	ldr	r3, [fp, #-456]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-492]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #112
	beq	.L107
	cmp	r3, #112
	bgt	.L108
	cmp	r3, #54
	beq	.L109
	cmp	r3, #101
	beq	.L110
	b	.L108
.L109:
	mov	r3, #1
	str	r3, [fp, #-464]
	b	.L113
.L110:
	ldr	r3, [fp, #-456]
	add	r3, r3, #1
	str	r3, [fp, #-456]
	ldr	r3, [fp, #-456]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-492]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-448]
	b	.L113
.L107:
	ldr	r3, [fp, #-456]
	add	r3, r3, #1
	str	r3, [fp, #-456]
	ldr	r2, [fp, #-456]
	ldr	r3, [fp, #-488]
	cmp	r2, r3
	bge	.L156
	ldr	r3, [fp, #-456]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-492]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	sub	r3, fp, #12
	sub	r3, r3, #464
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
	b	.L156
.L108:
	ldr	r3, .L157+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-456]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-492]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L157+8
	bl	fprintf
	b	.L113
.L106:
	ldr	r3, .L157+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-456]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-492]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L157+12
	bl	fprintf
	b	.L113
.L156:
	nop
.L113:
	ldr	r3, [fp, #-456]
	add	r3, r3, #1
	str	r3, [fp, #-456]
.L105:
	ldr	r2, [fp, #-456]
	ldr	r3, [fp, #-488]
	cmp	r2, r3
	blt	.L114
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	sub	r3, fp, #156
	mov	r2, #140
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L157+16
	str	r3, [fp, #-156]
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #17
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bge	.L115
	ldr	r0, .L157+20
	bl	perror
	mov	r3, #1
	b	.L154
.L115:
	ldr	r3, .L157+24
	str	r3, [fp, #-156]
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	bge	.L117
	ldr	r0, .L157+20
	bl	perror
	mov	r3, #1
	b	.L154
.L117:
	ldr	r3, [fp, #-464]
	cmp	r3, #0
	beq	.L118
	mov	r3, #10
	b	.L119
.L118:
	mov	r3, #2
.L119:
	mov	r2, #0
	mov	r1, #1
	mov	r0, r3
	bl	socket
	str	r0, [fp, #-460]
	ldr	r3, [fp, #-460]
	cmp	r3, #0
	bge	.L120
	ldr	r0, .L157+28
	bl	perror
	mov	r3, #1
	b	.L154
.L120:
	sub	r3, fp, #412
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #284
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-464]
	cmp	r3, #0
	beq	.L121
	sub	r3, fp, #412
	str	r3, [fp, #-440]
	ldr	r3, [fp, #-440]
	mov	r2, #10
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #464
	sub	r3, r3, #2
	ldrh	r3, [r3]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-440]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-440]
	ldr	r2, .L157+32
	add	ip, r3, #8
	mov	r3, r2
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	b	.L122
.L121:
	sub	r3, fp, #412
	str	r3, [fp, #-444]
	ldr	r3, [fp, #-444]
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #464
	sub	r3, r3, #2
	ldrh	r3, [r3]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-444]
	strh	r2, [r3, #2]	@ movhi
	ldr	r0, .L157+36
	bl	htonl
	mov	r2, r0
	ldr	r3, [fp, #-444]
	str	r2, [r3, #4]
.L122:
	ldr	r3, [fp, #-464]
	cmp	r3, #0
	beq	.L123
	mov	r2, #28
	b	.L124
.L123:
	mov	r2, #16
.L124:
	sub	r3, fp, #412
	mov	r1, r3
	ldr	r0, [fp, #-460]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L125
	ldr	r0, .L157+40
	bl	perror
	mov	r3, #1
	b	.L154
.L125:
	mov	r1, #5
	ldr	r0, [fp, #-460]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L126
	ldr	r0, .L157+44
	bl	perror
.L126:
	sub	r3, fp, #12
	sub	r3, r3, #464
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #0
	bne	.L127
	mov	r3, #128
	str	r3, [fp, #-476]
	sub	r2, fp, #476
	sub	r3, fp, #412
	mov	r1, r3
	ldr	r0, [fp, #-460]
	bl	getsockname
	mov	r3, r0
	cmp	r3, #0
	bge	.L128
	ldr	r0, .L157+48
	bl	perror
	mov	r3, #1
	b	.L154
.L128:
	ldr	r3, [fp, #-464]
	cmp	r3, #0
	beq	.L129
	sub	r3, fp, #412
	str	r3, [fp, #-432]
	ldr	r3, [fp, #-432]
	ldrh	r3, [r3, #2]
	sub	r2, fp, #12
	sub	r4, r2, #464
	sub	r4, r4, #2
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	strh	r3, [r4]	@ movhi
	b	.L130
.L129:
	sub	r3, fp, #412
	str	r3, [fp, #-436]
	ldr	r3, [fp, #-436]
	ldrh	r3, [r3, #2]
	sub	r2, fp, #12
	sub	r4, r2, #464
	sub	r4, r4, #2
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	strh	r3, [r4]	@ movhi
.L130:
	sub	r3, fp, #12
	sub	r3, r3, #464
	sub	r3, r3, #2
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L157+52
	bl	printf
	ldr	r3, .L157+56
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L127:
	ldr	r3, [fp, #-448]
	cmp	r3, #0
	beq	.L136
	ldr	r1, .L157+60
	ldr	r0, [fp, #-448]
	bl	fopen
	str	r0, [fp, #-428]
	ldr	r3, [fp, #-428]
	cmp	r3, #0
	beq	.L132
	mov	r0, #16384
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-424]
	ldr	r3, [fp, #-424]
	cmp	r3, #0
	bne	.L133
	ldr	r3, .L157+4
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L157+64
	bl	fwrite
	b	.L134
.L133:
	mov	r1, #16384
	ldr	r0, [fp, #-424]
	bl	build_content
	ldr	r3, [fp, #-428]
	mov	r2, #16384
	mov	r1, #1
	ldr	r0, [fp, #-424]
	bl	fwrite
	mov	r3, r0
	str	r3, [fp, #-456]
	ldr	r3, [fp, #-456]
	cmp	r3, #16384
	beq	.L135
	ldr	r3, .L157+4
	ldr	r0, [r3]
	mov	r3, #16384
	str	r3, [sp]
	ldr	r3, [fp, #-456]
	ldr	r2, [fp, #-448]
	ldr	r1, .L157+68
	bl	fprintf
.L135:
	ldr	r0, [fp, #-424]
	bl	free
.L134:
	ldr	r0, [fp, #-428]
	bl	fclose
	b	.L136
.L132:
	ldr	r3, .L157+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-448]
	ldr	r1, .L157+72
	mov	r0, r3
	bl	fprintf
	b	.L136
.L140:
	sub	r3, fp, #468
	mov	r0, r3
	bl	wait
	str	r0, [fp, #-416]
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bge	.L138
	ldr	r0, .L157+76
	bl	perror
	b	.L139
.L138:
	ldr	r3, [fp, #-468]
	mov	r2, r3
	ldr	r1, [fp, #-416]
	ldr	r0, .L157+80
	bl	printf
.L139:
	ldr	r3, .L157+84
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L157+84
	str	r3, [r2]
.L137:
	ldr	r3, .L157+84
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L140
	mov	r3, #128
	str	r3, [fp, #-472]
	sub	r2, fp, #472
	sub	r3, fp, #284
	mov	r1, r3
	ldr	r0, [fp, #-460]
	bl	accept
	str	r0, [fp, #-420]
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	bge	.L141
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L136
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L136
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L143
	b	.L136
.L143:
	ldr	r0, .L157+88
	bl	perror
	mov	r3, #1
	b	.L154
.L141:
	ldr	r0, .L157+92
	bl	puts
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-416]
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bge	.L144
	ldr	r0, .L157+96
	bl	perror
	mov	r3, #1
	b	.L154
.L144:
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bne	.L145
	mov	r3, #1
	str	r3, [fp, #-452]
	ldr	r0, [fp, #-460]
	bl	close
	mvn	r3, #0
	str	r3, [fp, #-460]
	ldr	r0, [fp, #-420]
	bl	handle_http_connection
.L145:
	ldr	r0, [fp, #-420]
	bl	close
.L136:
	ldr	r3, [fp, #-452]
	cmp	r3, #0
	bne	.L146
	ldr	r3, .L157+100
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L137
.L146:
	ldr	r3, [fp, #-460]
	cmp	r3, #0
	blt	.L148
	ldr	r0, [fp, #-460]
	bl	close
	mvn	r3, #0
	str	r3, [fp, #-460]
.L148:
	ldr	r3, [fp, #-452]
	cmp	r3, #0
	bne	.L149
	b	.L150
.L153:
	sub	r3, fp, #468
	mov	r0, r3
	bl	wait
	str	r0, [fp, #-416]
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bge	.L151
	ldr	r0, .L157+76
	bl	perror
	b	.L152
.L151:
	ldr	r3, [fp, #-468]
	mov	r2, r3
	ldr	r1, [fp, #-416]
	ldr	r0, .L157+80
	bl	printf
.L152:
	ldr	r3, .L157+84
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L157+84
	str	r3, [r2]
.L150:
	ldr	r3, .L157+84
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L153
	ldr	r0, .L157+104
	bl	puts
.L149:
	mov	r3, #0
.L154:
	ldr	r2, .L157
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L155
	bl	__stack_chk_fail
.L155:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L158:
	.align	2
.L157:
	.word	.LC41
	.word	stderr
	.word	.LC23
	.word	.LC24
	.word	handle_signal_chld
	.word	.LC25
	.word	handle_signal_int
	.word	.LC26
	.word	in6addr_loopback
	.word	2130706433
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	stdout
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	child_to_wait_for
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	quit
	.word	.LC40
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	crap.6781, %object
	.size	crap.6781, 9
crap.6781:
	.ascii	"_CRAP_\015\012\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
