	.file	"724591.c"
	.intel_syntax noprefix
	.text
	.local	ring
	.comm	ring,24000,32
	.local	ring_pos
	.comm	ring_pos,4,4
	.local	ring_files
	.comm	ring_files,4,4
	.local	current_bytes
	.comm	current_bytes,4,4
	.local	last_id
	.comm	last_id,4,4
	.local	start_id
	.comm	start_id,4,4
	.type	init_id, @function
init_id:
.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	esi, 0
	mov	rdi, rax
	call	gettimeofday@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR last_id[rip], eax
	mov	eax, DWORD PTR last_id[rip]
	test	eax, eax
	jne	.L2
	mov	DWORD PTR last_id[rip], 1
.L2:
	mov	eax, DWORD PTR last_id[rip]
	mov	DWORD PTR start_id[rip], eax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	init_id, .-init_id
	.type	new_id, @function
new_id:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR last_id[rip]
	add	eax, 1
	mov	DWORD PTR last_id[rip], eax
	mov	eax, DWORD PTR last_id[rip]
	test	eax, eax
	jne	.L5
	mov	DWORD PTR last_id[rip], 1
.L5:
	mov	eax, DWORD PTR last_id[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	new_id, .-new_id
	.section	.rodata
	.align 8
.LC0:
	.string	"Mem.Used: %u MiB across %u files;"
	.align 8
.LC1:
	.string	"Mem.Used: %u KiB across %u files;"
	.align 8
.LC2:
	.string	"Mem.Used: %u bytes across %u files;"
.LC3:
	.string	" Avg.Size: %u MiB\n"
.LC4:
	.string	" Avg.Size: %u KiB\n"
.LC5:
	.string	" Avg.Size: %u bytes\n"
	.text
	.type	save_file, @function
save_file:
.LFB8:
	.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	eax, DWORD PTR ring_files[rip]
	cmp	eax, 999
	ja	.L8
	mov	ecx, DWORD PTR ring_pos[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	ecx, ecx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, ring[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	ecx, DWORD PTR ring_pos[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	ecx, ecx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, ring[rip+4]
	mov	DWORD PTR [rcx+rax], edx
	mov	ecx, DWORD PTR ring_pos[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	ecx, ecx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, ring[rip+8]
	mov	QWORD PTR [rcx+rax], rdx
	mov	ecx, DWORD PTR ring_pos[rip]
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR 16[rax]
	mov	ecx, ecx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, ring[rip+16]
	mov	BYTE PTR [rcx+rax], dl
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR current_bytes[rip]
	add	eax, edx
	mov	DWORD PTR current_bytes[rip], eax
	mov	eax, DWORD PTR ring_files[rip]
	add	eax, 1
	mov	DWORD PTR ring_files[rip], eax
	jmp	.L9
.L8:
	mov	edx, DWORD PTR current_bytes[rip]
	mov	eax, DWORD PTR ring_pos[rip]
	mov	ecx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, ring[rip+4]
	mov	ecx, DWORD PTR [rcx+rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR current_bytes[rip], eax
	mov	eax, DWORD PTR ring_pos[rip]
	mov	edx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, ring[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	free@PLT
	mov	ecx, DWORD PTR ring_pos[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	ecx, ecx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, ring[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	ecx, DWORD PTR ring_pos[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	ecx, ecx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, ring[rip+4]
	mov	DWORD PTR [rcx+rax], edx
	mov	ecx, DWORD PTR ring_pos[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	ecx, ecx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, ring[rip+8]
	mov	QWORD PTR [rcx+rax], rdx
	mov	ecx, DWORD PTR ring_pos[rip]
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR 16[rax]
	mov	ecx, ecx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	lea	rax, ring[rip+16]
	mov	BYTE PTR [rcx+rax], dl
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR current_bytes[rip]
	add	eax, edx
	mov	DWORD PTR current_bytes[rip], eax
.L9:
	mov	eax, DWORD PTR ring_pos[rip]
	add	eax, 1
	mov	DWORD PTR ring_pos[rip], eax
	mov	edx, DWORD PTR ring_pos[rip]
	mov	eax, edx
	imul	rax, rax, 274877907
	shr	rax, 32
	shr	eax, 6
	imul	ecx, eax, 1000
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR ring_pos[rip], eax
	mov	eax, DWORD PTR current_bytes[rip]
	cmp	eax, 4194304
	jbe	.L10
	mov	eax, DWORD PTR ring_files[rip]
	mov	edx, DWORD PTR current_bytes[rip]
	mov	edx, edx
	imul	rdx, rdx, 1717525669
	shr	rdx, 32
	mov	ecx, edx
	shr	ecx, 22
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L10:
	mov	eax, DWORD PTR current_bytes[rip]
	cmp	eax, 4096
	jbe	.L12
	mov	eax, DWORD PTR ring_files[rip]
	mov	edx, DWORD PTR current_bytes[rip]
	shr	edx, 10
	mov	ecx, edx
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L12:
	mov	edx, DWORD PTR ring_files[rip]
	mov	eax, DWORD PTR current_bytes[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	eax, DWORD PTR current_bytes[rip]
	mov	esi, DWORD PTR ring_files[rip]
	mov	edx, 0
	div	esi
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 4194304
	jbe	.L13
	mov	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	imul	rax, rax, 1717525669
	shr	rax, 32
	shr	eax, 22
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L13:
	cmp	DWORD PTR -4[rbp], 4096
	jbe	.L15
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 10
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	save_file, .-save_file
	.type	find_file, @function
find_file:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	ja	.L18
	mov	eax, 0
	jmp	.L19
.L18:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	shr	eax
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, ring[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L20
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, ring[rip]
	add	rax, rdx
	jmp	.L19
.L20:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, ring[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -20[rbp], eax
	jbe	.L21
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	find_file
	jmp	.L19
.L21:
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	find_file
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	find_file, .-find_file
	.type	get_file, @function
get_file:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR ring_files[rip]
	test	eax, eax
	jne	.L23
	mov	eax, 0
	jmp	.L24
.L23:
	mov	eax, DWORD PTR ring_files[rip]
	cmp	eax, 999
	ja	.L25
	mov	edx, DWORD PTR ring_pos[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 0
	mov	edi, eax
	call	find_file
	jmp	.L24
.L25:
	mov	edx, DWORD PTR ring_pos[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 0
	mov	edi, eax
	call	find_file
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L26
	mov	ecx, DWORD PTR ring_pos[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 1000
	mov	esi, ecx
	mov	edi, eax
	call	find_file
	jmp	.L24
.L26:
	mov	eax, 0
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	get_file, .-get_file
	.type	copy_while_alphanumeric, @function
copy_while_alphanumeric:
.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L28
.L34:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L29
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L30
.L29:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jle	.L31
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 122
	jle	.L30
.L31:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jle	.L32
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 90
	jle	.L30
.L32:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L33
.L30:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR -4[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
.L28:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jnb	.L33
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L34
.L33:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	copy_while_alphanumeric, .-copy_while_alphanumeric
	.type	copy_while_numeric, @function
copy_while_numeric:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L37
.L39:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L38
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L38
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR -4[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
.L37:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jnb	.L38
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L39
.L38:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	copy_while_numeric, .-copy_while_numeric
	.section	.rodata
.LC6:
	.string	"GET"
.LC7:
	.string	"POST"
.LC8:
	.string	"Accept-Encoding: "
.LC9:
	.string	" deflate"
	.text
	.type	parse, @function
parse:
.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, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	DWORD PTR -52[rbp], r8d
	mov	QWORD PTR -64[rbp], r9
	mov	DWORD PTR -4[rbp], 0
	jmp	.L42
.L44:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR -4[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
.L42:
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jnb	.L43
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L44
.L43:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L45
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 1
	jmp	.L46
.L45:
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L46
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 2
.L46:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	eax, eax
	add	QWORD PTR -24[rbp], rax
	mov	edx, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	copy_while_alphanumeric
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L48
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	setne	al
	mov	edx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], dl
.L48:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	parse, .-parse
	.section	.rodata
.LC10:
	.string	"r"
	.text
	.type	load_file, @function
load_file:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 64
	mov	QWORD PTR -8248[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -8248[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8224[rbp], rax
	mov	DWORD PTR -8232[rbp], 0
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -8228[rbp]
	add	DWORD PTR -8232[rbp], eax
.L50:
	mov	eax, 8192
	sub	eax, DWORD PTR -8232[rbp]
	mov	esi, eax
	mov	rdx, QWORD PTR -8224[rbp]
	lea	rax, -8208[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -8228[rbp], eax
	cmp	DWORD PTR -8228[rbp], 0
	jg	.L51
	mov	rax, QWORD PTR -8224[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8216[rbp], rax
	mov	rax, QWORD PTR -8216[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -8216[rbp]
	mov	edx, DWORD PTR -8232[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -8216[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8216[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8216[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -8216[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rcx, -8208[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -8216[rbp]
	mov	BYTE PTR 16[rax], 0
	mov	rax, QWORD PTR -8216[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	load_file, .-load_file
	.type	full_write, @function
full_write:
.LFB15:
	.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	.L55
.L57:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -24[rbp], eax
.L55:
	cmp	DWORD PTR -24[rbp], 0
	je	.L58
	mov	edx, DWORD PTR -24[rbp]
	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
	jg	.L57
.L58:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	full_write, .-full_write
	.section	.rodata
	.align 8
.LC11:
	.string	"HTTP/1.0 %d %s\nContent-Length: %u\nServer: myn3\nContent-Encoding: deflate\r\n\r\n"
	.align 8
.LC12:
	.string	"HTTP/1.0 %d %s\nContent-Length: %u\nServer: myn3\r\n\r\n"
	.align 8
.LC13:
	.string	"Warning: Request answer buffer too small. Socket write failed."
.LC14:
	.string	"%d %s\n"
	.text
	.type	answer, @function
answer:
.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, 256
	mov	DWORD PTR -228[rbp], edi
	mov	QWORD PTR -240[rbp], rsi
	mov	QWORD PTR -248[rbp], rdx
	mov	DWORD PTR -232[rbp], ecx
	mov	eax, r8d
	mov	DWORD PTR -256[rbp], r9d
	mov	BYTE PTR -252[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	BYTE PTR -252[rbp], 0
	je	.L60
	mov	esi, DWORD PTR -232[rbp]
	mov	rcx, QWORD PTR -240[rbp]
	mov	edx, DWORD PTR -228[rbp]
	lea	rax, -208[rbp]
	mov	r9d, esi
	mov	r8, rcx
	mov	ecx, edx
	lea	rdx, .LC11[rip]
	mov	esi, 200
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -212[rbp], eax
	jmp	.L61
.L60:
	mov	esi, DWORD PTR -232[rbp]
	mov	rcx, QWORD PTR -240[rbp]
	mov	edx, DWORD PTR -228[rbp]
	lea	rax, -208[rbp]
	mov	r9d, esi
	mov	r8, rcx
	mov	ecx, edx
	lea	rdx, .LC12[rip]
	mov	esi, 200
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -212[rbp], eax
.L61:
	cmp	DWORD PTR -212[rbp], 0
	js	.L62
	cmp	DWORD PTR -212[rbp], 199
	jle	.L63
.L62:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L59
.L63:
	mov	edx, DWORD PTR -212[rbp]
	lea	rcx, -208[rbp]
	mov	eax, DWORD PTR -256[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	full_write
	mov	edx, DWORD PTR -232[rbp]
	mov	rcx, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR -256[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	full_write
	mov	rdx, QWORD PTR -240[rbp]
	mov	eax, DWORD PTR -228[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L59:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L65
	call	__stack_chk_fail@PLT
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	answer, .-answer
	.type	return_msg, @function
return_msg:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -8[rbp], ecx
	cmp	QWORD PTR -24[rbp], 0
	jne	.L67
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edi, eax
	mov	ecx, DWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r9d, ecx
	mov	r8d, 0
	mov	ecx, edi
	mov	edi, eax
	call	answer
	jmp	.L69
.L67:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edi, eax
	mov	ecx, DWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r9d, ecx
	mov	r8d, 0
	mov	ecx, edi
	mov	edi, eax
	call	answer
.L69:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	return_msg, .-return_msg
	.type	return_file, @function
return_file:
.LFB18:
	.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 -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -8[rbp], ecx
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR 16[rax]
	movsx	edi, al
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	r8d, DWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r9d, r8d
	mov	r8d, edi
	mov	edi, eax
	call	answer
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	return_file, .-return_file
	.section	.rodata
	.align 8
.LC15:
	.string	"<html><body>Your file is available <a href=\"%d\">here</a>.</body></html>"
.LC16:
	.string	"Create"
	.text
	.type	return_hyperlink_to_file, @function
return_hyperlink_to_file:
.LFB19:
	.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	rax, QWORD PTR -120[rbp]
	mov	edx, DWORD PTR [rax]
	lea	rax, -112[rbp]
	mov	ecx, edx
	lea	rdx, .LC15[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ecx, eax
	mov	edx, DWORD PTR -124[rbp]
	lea	rax, -112[rbp]
	mov	r9d, edx
	mov	r8d, 0
	mov	rdx, rax
	lea	rsi, .LC16[rip]
	mov	edi, 201
	call	answer
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L72
	call	__stack_chk_fail@PLT
.L72:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	return_hyperlink_to_file, .-return_hyperlink_to_file
	.type	find_mem, @function
find_mem:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L74
.L81:
	mov	DWORD PTR -4[rbp], 1
	mov	DWORD PTR -12[rbp], 0
	jmp	.L75
.L78:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L76
	mov	DWORD PTR -4[rbp], 0
	jmp	.L77
.L76:
	add	DWORD PTR -12[rbp], 1
.L75:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jb	.L78
.L77:
	cmp	DWORD PTR -4[rbp], 0
	je	.L79
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	jmp	.L80
.L79:
	add	DWORD PTR -8[rbp], 1
.L74:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, DWORD PTR -8[rbp]
	cmp	DWORD PTR -32[rbp], eax
	jbe	.L81
	mov	eax, 0
.L80:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	find_mem, .-find_mem
	.type	find_in_between, @function
find_in_between:
.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ecx, eax
	mov	rdx, QWORD PTR -40[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	find_mem
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L83
	mov	eax, 0
	jmp	.L84
.L83:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, QWORD PTR -24[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, edx
	mov	esi, eax
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	find_mem
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L85
	mov	eax, 0
	jmp	.L84
.L85:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -16[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
.L84:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	find_in_between, .-find_in_between
	.section	.rodata
.LC17:
	.string	"Content-Type: image/"
.LC18:
	.string	"\r"
.LC19:
	.string	" boundary="
.LC20:
	.string	"\r\n\r\n"
	.align 8
.LC21:
	.string	"File compressed with deflate zlib"
	.text
	.type	parse_data, @function
parse_data:
.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, 208
	mov	QWORD PTR -184[rbp], rdi
	mov	DWORD PTR -188[rbp], esi
	mov	QWORD PTR -200[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC17[rip]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ecx, eax
	mov	eax, 1024
	cmp	DWORD PTR -188[rbp], 1024
	cmovbe	eax, DWORD PTR -188[rbp]
	mov	esi, eax
	mov	rdx, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	find_mem
	test	rax, rax
	jne	.L87
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 1
	mov	eax, 0
	jmp	.L99
.L87:
	mov	eax, 1024
	cmp	DWORD PTR -188[rbp], 1024
	cmovbe	eax, DWORD PTR -188[rbp]
	mov	esi, eax
	lea	rdx, -172[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	r8, rdx
	lea	rcx, .LC18[rip]
	lea	rdx, .LC19[rip]
	mov	rdi, rax
	call	find_in_between
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	je	.L89
	mov	eax, DWORD PTR -172[rbp]
	cmp	eax, 99
	jbe	.L90
.L89:
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 3
	mov	eax, 0
	jmp	.L99
.L90:
	mov	eax, DWORD PTR -172[rbp]
	mov	edx, eax
	mov	rcx, QWORD PTR -144[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	eax, DWORD PTR -172[rbp]
	mov	eax, eax
	mov	BYTE PTR -112[rbp+rax], 0
	mov	rax, QWORD PTR -144[rbp]
	sub	rax, QWORD PTR -184[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -188[rbp]
	sub	eax, edx
	mov	esi, eax
	mov	rax, QWORD PTR -144[rbp]
	mov	ecx, 4
	lea	rdx, .LC20[rip]
	mov	rdi, rax
	call	find_mem
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L91
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 3
	mov	eax, 0
	jmp	.L99
.L91:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -144[rbp]
	sub	rax, QWORD PTR -184[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -188[rbp]
	sub	eax, edx
	mov	esi, eax
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	find_mem
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L92
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 3
	mov	eax, 0
	jmp	.L99
.L92:
	mov	rax, QWORD PTR -144[rbp]
	sub	rax, QWORD PTR -184[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -188[rbp]
	sub	eax, edx
	mov	esi, eax
	mov	rax, QWORD PTR -144[rbp]
	mov	ecx, 4
	lea	rdx, .LC20[rip]
	mov	rdi, rax
	call	find_mem
	mov	QWORD PTR -144[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L93
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 3
	mov	eax, 0
	jmp	.L99
.L93:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -144[rbp]
	sub	rax, QWORD PTR -184[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -188[rbp]
	sub	eax, edx
	mov	esi, eax
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	find_mem
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L94
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 2
	mov	eax, 0
	jmp	.L99
.L94:
	add	QWORD PTR -144[rbp], 4
	sub	QWORD PTR -136[rbp], 4
	mov	rax, QWORD PTR -136[rbp]
	sub	rax, QWORD PTR -144[rbp]
	mov	DWORD PTR -168[rbp], eax
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -128[rbp], rax
	cmp	QWORD PTR -128[rbp], 0
	jne	.L95
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 4
	mov	eax, 0
	jmp	.L99
.L95:
	mov	eax, 0
	call	new_id
	mov	rdx, QWORD PTR -128[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR -168[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L96
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 4
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L99
.L96:
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	eax, 65536
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L97
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 4
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L99
.L97:
	mov	edx, DWORD PTR -168[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -144[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	BYTE PTR 16[rax], 0
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	eax, 65536
	mov	eax, eax
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	ecx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR 8[rax]
	lea	rsi, -160[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	compress@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jne	.L98
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -160[rbp]
	cmp	rdx, rax
	jbe	.L98
	mov	rdx, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR -120[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -160[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -128[rbp]
	mov	BYTE PTR 16[rax], 1
	lea	rdi, .LC21[rip]
	call	puts@PLT
.L98:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -128[rbp]
.L99:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L100
	call	__stack_chk_fail@PLT
.L100:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	parse_data, .-parse_data
	.section	.rodata
.LC22:
	.string	"Content-Length: "
	.text
	.type	parse_content_length, @function
parse_content_length:
.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 -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC22[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L102
	mov	eax, 0
	jmp	.L106
.L102:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	QWORD PTR -32[rbp], rax
	lea	rcx, -23[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 15
	mov	rsi, rcx
	mov	rdi, rax
	call	copy_while_numeric
	lea	rax, -23[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jg	.L104
	mov	eax, 0
	jmp	.L106
.L104:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L105
	mov	eax, 0
	jmp	.L106
.L105:
	add	QWORD PTR -32[rbp], 4
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -56[rbp]
	add	rax, rdx
.L106:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L107
	call	__stack_chk_fail@PLT
.L107:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	parse_content_length, .-parse_content_length
	.type	close_socket, @function
close_socket:
.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, 560
	mov	DWORD PTR -548[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -548[rbp]
	mov	esi, 1
	mov	edi, eax
	call	shutdown@PLT
	nop
.L109:
	lea	rcx, -528[rbp]
	mov	eax, DWORD PTR -548[rbp]
	mov	edx, 512
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -532[rbp], eax
	cmp	DWORD PTR -532[rbp], 0
	jg	.L109
	mov	eax, DWORD PTR -548[rbp]
	mov	esi, 0
	mov	edi, eax
	call	shutdown@PLT
	mov	eax, DWORD PTR -548[rbp]
	mov	edi, eax
	call	close@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L110
	call	__stack_chk_fail@PLT
.L110:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	close_socket, .-close_socket
	.section	.rodata
	.align 8
.LC23:
	.string	"Failed to start ignoring pipe error signals."
.LC24:
	.string	"Starting... "
.LC25:
	.string	"Failed to create socket"
	.align 8
.LC26:
	.string	"Failed to bind socket with port %u\n"
.LC27:
	.string	"Failed to listen on socket"
.LC28:
	.string	"\rServer started"
.LC29:
	.string	"index.htm"
.LC30:
	.string	"Connection #%u established\n"
.LC31:
	.string	"Request Entity Too Large"
.LC32:
	.string	"%s %s\n"
.LC33:
	.string	"OK"
.LC34:
	.string	"No Content"
.LC35:
	.string	"Gone"
.LC36:
	.string	"Not Found"
.LC37:
	.string	"Precondition Failed"
.LC38:
	.string	"Not Content"
.LC39:
	.string	"Length Required"
.LC40:
	.string	"/"
.LC41:
	.string	"File is not an image."
.LC42:
	.string	"Unsupported Media Type"
	.align 8
.LC43:
	.string	"File is too large or the request was malformed."
.LC44:
	.string	"Bad Request"
.LC45:
	.string	"Malformed request."
.LC46:
	.string	"System out of memory."
	.align 8
.LC47:
	.string	"Unspecified error parsing request."
	.text
	.globl	main
	.type	main, @function
main:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -524288[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1248
	mov	DWORD PTR -525524[rbp], edi
	mov	QWORD PTR -525536[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	init_id
	lea	rax, -525472[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -525472[rbp], 1
	lea	rax, -525472[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 13
	call	sigaction@PLT
	test	eax, eax
	je	.L112
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L150
.L112:
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -525488[rbp], eax
	cmp	DWORD PTR -525488[rbp], -1
	jne	.L114
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L150
.L114:
	lea	rax, -525424[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -525424[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -525420[rbp], eax
	mov	edi, 81
	call	htons@PLT
	mov	WORD PTR -525422[rbp], ax
	lea	rcx, -525424[rbp]
	mov	eax, DWORD PTR -525488[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L115
	mov	esi, 81
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L150
.L115:
	mov	eax, DWORD PTR -525488[rbp]
	mov	esi, 128
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	je	.L116
	lea	rdi, .LC27[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L150
.L116:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC29[rip]
	call	load_file
	mov	QWORD PTR -525464[rbp], rax
	mov	DWORD PTR -525500[rbp], 0
.L149:
	mov	BYTE PTR -525328[rbp], 0
	mov	DWORD PTR -525504[rbp], 16
	lea	rdx, -525504[rbp]
	lea	rcx, -525408[rbp]
	mov	eax, DWORD PTR -525488[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -525484[rbp], eax
	mov	QWORD PTR -525440[rbp], 1
	mov	QWORD PTR -525432[rbp], 0
	lea	rdx, -525440[rbp]
	mov	eax, DWORD PTR -525484[rbp]
	mov	r8d, 16
	mov	rcx, rdx
	mov	edx, 20
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	add	DWORD PTR -525500[rbp], 1
	mov	eax, DWORD PTR -525500[rbp]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -525505[rbp], 0
	mov	DWORD PTR -525496[rbp], 0
	jmp	.L117
.L119:
	mov	eax, DWORD PTR -525480[rbp]
	add	DWORD PTR -525496[rbp], eax
	mov	eax, DWORD PTR -525496[rbp]
	mov	BYTE PTR -525328[rbp+rax], 0
	lea	rax, -525328[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L117
	mov	BYTE PTR -525505[rbp], 1
	jmp	.L118
.L117:
	cmp	DWORD PTR -525496[rbp], 1023
	ja	.L118
	mov	eax, 525312
	sub	eax, DWORD PTR -525496[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -525496[rbp]
	lea	rcx, -525328[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -525484[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -525480[rbp], eax
	cmp	DWORD PTR -525480[rbp], 0
	jg	.L119
.L118:
	cmp	BYTE PTR -525505[rbp], 0
	jne	.L120
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	mov	edx, 0
	lea	rsi, .LC31[rip]
	mov	edi, 413
	call	return_msg
	mov	eax, DWORD PTR -525484[rbp]
	mov	edi, eax
	call	close_socket
	jmp	.L149
.L120:
	mov	BYTE PTR -525508[rbp], 0
	mov	BYTE PTR -525507[rbp], 0
	lea	rdi, -525507[rbp]
	lea	rcx, -525373[rbp]
	lea	rdx, -525383[rbp]
	lea	rsi, -525508[rbp]
	lea	rax, -525328[rbp]
	mov	r9, rdi
	mov	r8d, 13
	mov	rdi, rax
	call	parse
	lea	rdx, -525373[rbp]
	lea	rax, -525383[rbp]
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -525508[rbp]
	movsx	eax, al
	cmp	eax, 1
	je	.L122
	cmp	eax, 2
	je	.L123
	jmp	.L152
.L122:
	movzx	eax, BYTE PTR -525373[rbp]
	cmp	al, 47
	jne	.L125
	movzx	eax, BYTE PTR -525372[rbp]
	test	al, al
	jne	.L126
	mov	edx, DWORD PTR -525484[rbp]
	mov	rax, QWORD PTR -525464[rbp]
	mov	ecx, edx
	mov	rdx, rax
	lea	rsi, .LC33[rip]
	mov	edi, 200
	call	return_file
	jmp	.L134
.L126:
	lea	rax, -525373[rbp]
	add	rax, 1
	lea	rcx, -525360[rbp]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	copy_while_numeric
	lea	rax, -525360[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -525476[rbp], eax
	cmp	DWORD PTR -525476[rbp], 0
	jg	.L128
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	mov	edx, 0
	lea	rsi, .LC34[rip]
	mov	edi, 204
	call	return_msg
	jmp	.L134
.L128:
	mov	eax, DWORD PTR -525476[rbp]
	mov	edi, eax
	call	get_file
	mov	QWORD PTR -525448[rbp], rax
	cmp	QWORD PTR -525448[rbp], 0
	jne	.L130
	mov	edx, DWORD PTR -525476[rbp]
	mov	eax, DWORD PTR start_id[rip]
	cmp	edx, eax
	jb	.L131
	mov	edx, DWORD PTR -525476[rbp]
	mov	eax, DWORD PTR last_id[rip]
	cmp	edx, eax
	jnb	.L131
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	mov	edx, 0
	lea	rsi, .LC35[rip]
	mov	edi, 410
	call	return_msg
	jmp	.L127
.L131:
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	mov	edx, 0
	lea	rsi, .LC36[rip]
	mov	edi, 404
	call	return_msg
	jmp	.L134
.L130:
	movzx	eax, BYTE PTR -525507[rbp]
	test	al, al
	jne	.L133
	mov	rax, QWORD PTR -525448[rbp]
	movzx	eax, BYTE PTR 16[rax]
	cmp	al, 1
	jne	.L133
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	mov	edx, 0
	lea	rsi, .LC37[rip]
	mov	edi, 412
	call	return_msg
	jmp	.L127
.L133:
	mov	edx, DWORD PTR -525484[rbp]
	mov	rax, QWORD PTR -525448[rbp]
	mov	ecx, edx
	mov	rdx, rax
	lea	rsi, .LC33[rip]
	mov	edi, 200
	call	return_file
	jmp	.L134
.L125:
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	mov	edx, 0
	lea	rsi, .LC38[rip]
	mov	edi, 204
	call	return_msg
	jmp	.L134
.L127:
	jmp	.L134
.L123:
	mov	edx, DWORD PTR -525496[rbp]
	lea	rax, -525328[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	parse_content_length
	mov	DWORD PTR -525492[rbp], eax
	cmp	DWORD PTR -525492[rbp], 525311
	jbe	.L135
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	mov	edx, 0
	lea	rsi, .LC31[rip]
	mov	edi, 413
	call	return_msg
	jmp	.L134
.L135:
	cmp	DWORD PTR -525492[rbp], 0
	jne	.L136
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	mov	edx, 0
	lea	rsi, .LC39[rip]
	mov	edi, 411
	call	return_msg
	jmp	.L134
.L136:
	mov	eax, DWORD PTR -525496[rbp]
	sub	DWORD PTR -525492[rbp], eax
	jmp	.L137
.L139:
	mov	eax, DWORD PTR -525480[rbp]
	add	DWORD PTR -525496[rbp], eax
	mov	eax, DWORD PTR -525480[rbp]
	sub	DWORD PTR -525492[rbp], eax
.L137:
	cmp	DWORD PTR -525492[rbp], 0
	je	.L138
	mov	edx, DWORD PTR -525492[rbp]
	mov	eax, DWORD PTR -525496[rbp]
	lea	rcx, -525328[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -525484[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -525480[rbp], eax
	cmp	DWORD PTR -525480[rbp], 0
	jg	.L139
.L138:
	lea	rax, -525373[rbp]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L140
	mov	BYTE PTR -525506[rbp], 0
	lea	rdx, -525506[rbp]
	mov	ecx, DWORD PTR -525496[rbp]
	lea	rax, -525328[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	parse_data
	mov	QWORD PTR -525456[rbp], rax
	movzx	eax, BYTE PTR -525506[rbp]
	movsx	eax, al
	cmp	eax, 4
	je	.L141
	cmp	eax, 4
	jg	.L142
	cmp	eax, 3
	je	.L143
	cmp	eax, 3
	jg	.L142
	cmp	eax, 1
	je	.L144
	cmp	eax, 2
	je	.L145
	jmp	.L142
.L144:
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	lea	rdx, .LC41[rip]
	lea	rsi, .LC42[rip]
	mov	edi, 415
	call	return_msg
	jmp	.L148
.L145:
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	lea	rdx, .LC43[rip]
	lea	rsi, .LC44[rip]
	mov	edi, 400
	call	return_msg
	jmp	.L148
.L143:
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	lea	rdx, .LC45[rip]
	lea	rsi, .LC44[rip]
	mov	edi, 400
	call	return_msg
	jmp	.L148
.L141:
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	lea	rdx, .LC46[rip]
	lea	rsi, .LC44[rip]
	mov	edi, 400
	call	return_msg
	jmp	.L148
.L142:
	cmp	QWORD PTR -525456[rbp], 0
	jne	.L147
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	lea	rdx, .LC47[rip]
	lea	rsi, .LC44[rip]
	mov	edi, 400
	call	return_msg
	jmp	.L134
.L147:
	mov	rax, QWORD PTR -525456[rbp]
	mov	rdi, rax
	call	save_file
	mov	edx, DWORD PTR -525484[rbp]
	mov	rax, QWORD PTR -525456[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	return_hyperlink_to_file
	mov	rax, QWORD PTR -525456[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L134
.L140:
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	mov	edx, 0
	lea	rsi, .LC38[rip]
	mov	edi, 204
	call	return_msg
	jmp	.L134
.L148:
	jmp	.L134
.L152:
	mov	eax, DWORD PTR -525484[rbp]
	mov	ecx, eax
	mov	edx, 0
	lea	rsi, .LC38[rip]
	mov	edi, 204
	call	return_msg
.L134:
	mov	eax, DWORD PTR -525484[rbp]
	mov	edi, eax
	call	close_socket
	jmp	.L149
.L150:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L151
	call	__stack_chk_fail@PLT
.L151:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	main, .-main
	.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	"724591.c"
	.text
	.local	ring
	.comm	ring,16000,4
	.local	ring_pos
	.comm	ring_pos,4,4
	.local	ring_files
	.comm	ring_files,4,4
	.local	current_bytes
	.comm	current_bytes,4,4
	.local	last_id
	.comm	last_id,4,4
	.local	start_id
	.comm	start_id,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_id, %function
init_id:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	gettimeofday
	ldr	r3, [fp, #-12]
	mov	r2, r3
	ldr	r3, .L4+4
	str	r2, [r3]
	ldr	r3, .L4+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L4+4
	mov	r2, #1
	str	r2, [r3]
.L2:
	ldr	r3, .L4+4
	ldr	r3, [r3]
	ldr	r2, .L4+8
	str	r3, [r2]
	nop
	ldr	r3, .L4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	last_id
	.word	start_id
	.size	init_id, .-init_id
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_id, %function
new_id:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L9
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9
	str	r3, [r2]
	ldr	r3, .L9
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L9
	mov	r2, #1
	str	r2, [r3]
.L7:
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	last_id
	.size	new_id, .-new_id
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Mem.Used: %u MiB across %u files;\000"
	.align	2
.LC2:
	.ascii	"Mem.Used: %u KiB across %u files;\000"
	.align	2
.LC3:
	.ascii	"Mem.Used: %u bytes across %u files;\000"
	.global	__aeabi_uidiv
	.align	2
.LC4:
	.ascii	" Avg.Size: %u MiB\012\000"
	.align	2
.LC5:
	.ascii	" Avg.Size: %u KiB\012\000"
	.align	2
.LC6:
	.ascii	" Avg.Size: %u bytes\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	save_file, %function
save_file:
	@ 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, .L21
	ldr	r3, [r3]
	cmp	r3, #1000
	bcs	.L12
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	ldr	r1, .L21+8
	str	r2, [r1, r3, lsl #4]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #4]
	ldr	r1, .L21+8
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #8]
	ldr	r1, .L21+8
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #8]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldrb	r1, [r2, #12]	@ zero_extendqisi2
	ldr	r2, .L21+8
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, .L21+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L21+12
	str	r3, [r2]
	ldr	r3, .L21
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21
	str	r3, [r2]
	b	.L13
.L12:
	ldr	r3, .L21+12
	ldr	r2, [r3]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r1, .L21+8
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	ldr	r2, .L21+12
	str	r3, [r2]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, .L21+8
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	ldr	r1, .L21+8
	str	r2, [r1, r3, lsl #4]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #4]
	ldr	r1, .L21+8
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #4]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #8]
	ldr	r1, .L21+8
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #8]
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldrb	r1, [r2, #12]	@ zero_extendqisi2
	ldr	r2, .L21+8
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, .L21+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L21+12
	str	r3, [r2]
.L13:
	ldr	r3, .L21+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L21+4
	str	r3, [r2]
	ldr	r3, .L21+4
	ldr	r1, [r3]
	ldr	r3, .L21+16
	umull	r2, r3, r1, r3
	lsr	r2, r3, #6
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	ldr	r3, .L21+4
	str	r2, [r3]
	ldr	r3, .L21+12
	ldr	r3, [r3]
	cmp	r3, #4194304
	bls	.L14
	ldr	r3, .L21+12
	ldr	r3, [r3]
	ldr	r2, .L21+20
	umull	r1, r3, r2, r3
	lsr	r3, r3, #22
	ldr	r2, .L21
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L21+24
	bl	printf
	b	.L15
.L14:
	ldr	r3, .L21+12
	ldr	r3, [r3]
	cmp	r3, #4096
	bls	.L16
	ldr	r3, .L21+12
	ldr	r3, [r3]
	lsr	r3, r3, #10
	ldr	r2, .L21
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L21+28
	bl	printf
	b	.L15
.L16:
	ldr	r3, .L21+12
	ldr	r3, [r3]
	ldr	r2, .L21
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L21+32
	bl	printf
.L15:
	ldr	r3, .L21+12
	ldr	r3, [r3]
	ldr	r2, .L21
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #4194304
	bls	.L17
	ldr	r3, [fp, #-8]
	ldr	r2, .L21+20
	umull	r1, r3, r2, r3
	lsr	r3, r3, #22
	mov	r1, r3
	ldr	r0, .L21+36
	bl	printf
	b	.L20
.L17:
	ldr	r3, [fp, #-8]
	cmp	r3, #4096
	bls	.L19
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #10
	mov	r1, r3
	ldr	r0, .L21+40
	bl	printf
	b	.L20
.L19:
	ldr	r1, [fp, #-8]
	ldr	r0, .L21+44
	bl	printf
.L20:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	ring_files
	.word	ring_pos
	.word	ring
	.word	current_bytes
	.word	274877907
	.word	1717525669
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	save_file, .-save_file
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_file, %function
find_file:
	@ 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	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bhi	.L24
	mov	r3, #0
	b	.L25
.L24:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	lsr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, .L28
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #4]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L26
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, .L28
	add	r3, r3, r2
	b	.L25
.L26:
	ldr	r2, .L28
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #4]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bls	.L27
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	find_file
	mov	r3, r0
	b	.L25
.L27:
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	find_file
	mov	r3, r0
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	ring
	.size	find_file, .-find_file
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_file, %function
get_file:
	@ 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, .L35
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	mov	r3, #0
	b	.L32
.L31:
	ldr	r3, .L35
	ldr	r3, [r3]
	cmp	r3, #1000
	bcs	.L33
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	find_file
	mov	r3, r0
	b	.L32
.L33:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	find_file
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L34
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r2, #1000
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	find_file
	mov	r3, r0
	b	.L32
.L34:
	mov	r3, #0
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	ring_files
	.word	ring_pos
	.size	get_file, .-get_file
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_while_alphanumeric, %function
copy_while_alphanumeric:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L38
.L44:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L39
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L40
.L39:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L41
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #122
	bls	.L40
.L41:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L42
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bls	.L40
.L42:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L43
.L40:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L38:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L43
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L44
.L43:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	copy_while_alphanumeric, .-copy_while_alphanumeric
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_while_numeric, %function
copy_while_numeric:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L47
.L49:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L48
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L48
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L47:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L48
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L49
.L48:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	copy_while_numeric, .-copy_while_numeric
	.section	.rodata
	.align	2
.LC7:
	.ascii	"GET\000"
	.align	2
.LC8:
	.ascii	"POST\000"
	.align	2
.LC9:
	.ascii	"Accept-Encoding: \000"
	.align	2
.LC10:
	.ascii	" deflate\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse, %function
parse:
	@ args = 8, 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]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L52
.L54:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r1, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L52:
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bcs	.L53
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L54
.L53:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L59
	ldr	r0, [fp, #-24]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-20]
	mov	r2, #1
	strb	r2, [r3]
	b	.L56
.L55:
	ldr	r1, .L59+4
	ldr	r0, [fp, #-24]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L56
	ldr	r3, [fp, #-20]
	mov	r2, #2
	strb	r2, [r3]
.L56:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	copy_while_alphanumeric
	ldr	r1, .L59+8
	ldr	r0, [fp, #-16]
	bl	strstr
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L58
	ldr	r1, .L59+12
	ldr	r0, [fp, #-16]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #8]
	strb	r2, [r3]
.L58:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	parse, .-parse
	.section	.rodata
	.align	2
.LC11:
	.ascii	"r\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_file, %function
load_file:
	@ args = 0, pretend = 0, frame = 8224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #36
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-28]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, .L66+4
	ldr	r0, [r3, #-28]
	bl	fopen
	str	r0, [r4, #-16]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	b	.L62
.L63:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-20]
	add	r3, r2, r3
	str	r3, [r1, #-20]
.L62:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	rsb	r2, r3, #8192
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r0, fp, #8192
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-16]
	mov	r1, #1
	bl	fread
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #0
	bgt	.L63
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	fclose
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-20]
	str	r2, [r3, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	str	r2, [r3, #8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	ldr	r0, [r3, #8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	ldr	r2, [r3, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	mov	r2, #0
	strb	r2, [r3, #12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC12
	.word	.LC11
	.size	load_file, .-load_file
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	full_write, %function
full_write:
	@ 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	.L69
.L71:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
.L69:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L72
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L71
.L72:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	full_write, .-full_write
	.section	.rodata
	.align	2
.LC13:
	.ascii	"HTTP/1.0 %d %s\012Content-Length: %u\012Server: myn"
	.ascii	"3\012Content-Encoding: deflate\015\012\015\012\000"
	.align	2
.LC14:
	.ascii	"HTTP/1.0 %d %s\012Content-Length: %u\012Server: myn"
	.ascii	"3\015\012\015\012\000"
	.align	2
.LC15:
	.ascii	"Warning: Request answer buffer too small. Socket wr"
	.ascii	"ite failed.\000"
	.align	2
.LC16:
	.ascii	"%d %s\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	answer, %function
answer:
	@ args = 8, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #232
	str	r0, [fp, #-216]
	str	r1, [fp, #-220]
	str	r2, [fp, #-224]
	str	r3, [fp, #-228]
	ldr	r3, .L80
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L74
	sub	r0, fp, #208
	ldr	r3, [fp, #-228]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-220]
	str	r3, [sp]
	ldr	r3, [fp, #-216]
	ldr	r2, .L80+4
	mov	r1, #200
	bl	snprintf
	str	r0, [fp, #-212]
	b	.L75
.L74:
	sub	r0, fp, #208
	ldr	r3, [fp, #-228]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-220]
	str	r3, [sp]
	ldr	r3, [fp, #-216]
	ldr	r2, .L80+8
	mov	r1, #200
	bl	snprintf
	str	r0, [fp, #-212]
.L75:
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	blt	.L76
	ldr	r3, [fp, #-212]
	cmp	r3, #199
	ble	.L77
.L76:
	ldr	r0, .L80+12
	bl	puts
	b	.L73
.L77:
	ldr	r2, [fp, #-212]
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, [fp, #8]
	bl	full_write
	ldr	r2, [fp, #-228]
	ldr	r1, [fp, #-224]
	ldr	r0, [fp, #8]
	bl	full_write
	ldr	r2, [fp, #-220]
	ldr	r1, [fp, #-216]
	ldr	r0, .L80+16
	bl	printf
.L73:
	ldr	r3, .L80
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC17
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	answer, .-answer
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	return_msg, %function
return_msg:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L83
	ldr	r0, [fp, #-12]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-20]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	answer
	b	.L85
.L83:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-20]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	answer
.L85:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	return_msg, .-return_msg
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	return_file, %function
return_file:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	ldr	r2, [fp, #-20]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	answer
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	return_file, .-return_file
	.section	.rodata
	.align	2
.LC18:
	.ascii	"<html><body>Your file is available <a href=\"%d\">h"
	.ascii	"ere</a>.</body></html>\000"
	.align	2
.LC19:
	.ascii	"Create\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	return_hyperlink_to_file, %function
return_hyperlink_to_file:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	sub	r0, fp, #108
	ldr	r2, .L89+4
	mov	r1, #100
	bl	snprintf
	sub	r3, fp, #108
	mov	r0, r3
	bl	strlen
	mov	r1, r0
	sub	r2, fp, #108
	ldr	r3, [fp, #-116]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L89+8
	mov	r0, #201
	bl	answer
	nop
	ldr	r3, .L89
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L88
	bl	__stack_chk_fail
.L88:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC20
	.word	.LC18
	.word	.LC19
	.size	return_hyperlink_to_file, .-return_hyperlink_to_file
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_mem, %function
find_mem:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L92
.L99:
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L93
.L96:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-32]
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L94
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L95
.L94:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L93:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcc	.L96
.L95:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L97
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	b	.L98
.L97:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L92:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bls	.L99
	mov	r3, #0
.L98:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	find_mem, .-find_mem
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_in_between, %function
find_in_between:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	find_mem
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L101
	mov	r3, #0
	b	.L102
.L101:
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-28]
	sub	r4, r3, r2
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r3, r0
	ldr	r2, [fp, #-36]
	mov	r1, r4
	ldr	r0, [fp, #-20]
	bl	find_mem
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L103
	mov	r3, #0
	b	.L102
.L103:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #4]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
.L102:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	find_in_between, .-find_in_between
	.section	.rodata
	.align	2
.LC21:
	.ascii	"Content-Type: image/\000"
	.align	2
.LC22:
	.ascii	"\015\000"
	.align	2
.LC23:
	.ascii	" boundary=\000"
	.align	2
.LC24:
	.ascii	"\015\012\015\012\000"
	.align	2
.LC25:
	.ascii	"File compressed with deflate zlib\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_data, %function
parse_data:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #172
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	str	r2, [fp, #-168]
	ldr	r3, .L119
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L119+4
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-164]
	cmp	r3, #1024
	movcc	r4, r3
	movcs	r4, #1024
	ldr	r0, [fp, #-144]
	bl	strlen
	mov	r3, r0
	ldr	r2, [fp, #-144]
	mov	r1, r4
	ldr	r0, [fp, #-160]
	bl	find_mem
	mov	r3, r0
	cmp	r3, #0
	bne	.L105
	ldr	r3, [fp, #-168]
	mov	r2, #1
	strb	r2, [r3]
	mov	r3, #0
	b	.L117
.L105:
	ldr	r3, [fp, #-164]
	cmp	r3, #1024
	movcc	r1, r3
	movcs	r1, #1024
	sub	r3, fp, #152
	str	r3, [sp]
	ldr	r3, .L119+8
	ldr	r2, .L119+12
	ldr	r0, [fp, #-160]
	bl	find_in_between
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	beq	.L107
	ldr	r3, [fp, #-152]
	cmp	r3, #99
	bls	.L108
.L107:
	ldr	r3, [fp, #-168]
	mov	r2, #3
	strb	r2, [r3]
	mov	r3, #0
	b	.L117
.L108:
	ldr	r2, [fp, #-152]
	sub	r3, fp, #116
	ldr	r1, [fp, #-140]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-152]
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-104]
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-160]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-164]
	sub	r1, r3, r2
	mov	r3, #4
	ldr	r2, .L119+16
	ldr	r0, [fp, #-140]
	bl	find_mem
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L109
	ldr	r3, [fp, #-168]
	mov	r2, #3
	strb	r2, [r3]
	mov	r3, #0
	b	.L117
.L109:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-160]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-164]
	sub	r4, r3, r2
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #116
	mov	r1, r4
	ldr	r0, [fp, #-140]
	bl	find_mem
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L110
	ldr	r3, [fp, #-168]
	mov	r2, #3
	strb	r2, [r3]
	mov	r3, #0
	b	.L117
.L110:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-160]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-164]
	sub	r1, r3, r2
	mov	r3, #4
	ldr	r2, .L119+16
	ldr	r0, [fp, #-140]
	bl	find_mem
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L111
	ldr	r3, [fp, #-168]
	mov	r2, #3
	strb	r2, [r3]
	mov	r3, #0
	b	.L117
.L111:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-160]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-164]
	sub	r4, r3, r2
	sub	r3, fp, #116
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #116
	mov	r1, r4
	ldr	r0, [fp, #-140]
	bl	find_mem
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L112
	ldr	r3, [fp, #-168]
	mov	r2, #2
	strb	r2, [r3]
	mov	r3, #0
	b	.L117
.L112:
	ldr	r3, [fp, #-140]
	add	r3, r3, #4
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-136]
	sub	r3, r3, #4
	str	r3, [fp, #-136]
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-140]
	sub	r3, r2, r3
	str	r3, [fp, #-132]
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L113
	ldr	r3, [fp, #-168]
	mov	r2, #4
	strb	r2, [r3]
	mov	r3, #0
	b	.L117
.L113:
	bl	new_id
	mov	r2, r0
	ldr	r3, [fp, #-128]
	str	r2, [r3]
	ldr	r3, [fp, #-128]
	ldr	r2, [fp, #-132]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-128]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L114
	ldr	r3, [fp, #-168]
	mov	r2, #4
	strb	r2, [r3]
	ldr	r0, [fp, #-128]
	bl	free
	mov	r3, #0
	b	.L117
.L114:
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #4]
	add	r3, r3, #65536
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L115
	ldr	r3, [fp, #-168]
	mov	r2, #4
	strb	r2, [r3]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-128]
	bl	free
	mov	r3, #0
	b	.L117
.L115:
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-132]
	ldr	r1, [fp, #-140]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-128]
	mov	r2, #0
	strb	r2, [r3, #12]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #4]
	add	r3, r3, #65536
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-128]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #4]
	sub	r1, fp, #148
	ldr	r0, [fp, #-124]
	bl	compress
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L116
	ldr	r3, [fp, #-128]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-148]
	cmp	r2, r3
	bls	.L116
	ldr	r3, [fp, #-128]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-148]
	ldr	r1, [fp, #-124]
	mov	r0, r3
	bl	memcpy
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-128]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-128]
	mov	r2, #1
	strb	r2, [r3, #12]
	ldr	r0, .L119+20
	bl	puts
.L116:
	ldr	r0, [fp, #-124]
	bl	free
	ldr	r3, [fp, #-128]
.L117:
	ldr	r2, .L119
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L118
	bl	__stack_chk_fail
.L118:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L120:
	.align	2
.L119:
	.word	.LC26
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	parse_data, .-parse_data
	.section	.rodata
	.align	2
.LC27:
	.ascii	"Content-Length: \000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_content_length, %function
parse_content_length:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L128
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L128+4
	str	r3, [fp, #-36]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-40]
	bl	strstr
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L122
	mov	r3, #0
	b	.L126
.L122:
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	str	r3, [fp, #-32]
	sub	r3, fp, #24
	mov	r2, #15
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	copy_while_numeric
	sub	r3, fp, #24
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bgt	.L124
	mov	r3, #0
	b	.L126
.L124:
	ldr	r1, .L128+8
	ldr	r0, [fp, #-32]
	bl	strstr
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L125
	mov	r3, #0
	b	.L126
.L125:
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	sub	r2, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
.L126:
	ldr	r2, .L128
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L127
	bl	__stack_chk_fail
.L127:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L129:
	.align	2
.L128:
	.word	.LC28
	.word	.LC27
	.word	.LC24
	.size	parse_content_length, .-parse_content_length
	.section	.rodata
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	close_socket, %function
close_socket:
	@ args = 0, pretend = 0, frame = 528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #528
	str	r0, [fp, #-528]
	ldr	r3, .L133
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #1
	ldr	r0, [fp, #-528]
	bl	shutdown
	nop
.L131:
	sub	r3, fp, #520
	mov	r2, #512
	mov	r1, r3
	ldr	r0, [fp, #-528]
	bl	read
	str	r0, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmp	r3, #0
	bgt	.L131
	mov	r1, #0
	ldr	r0, [fp, #-528]
	bl	shutdown
	ldr	r0, [fp, #-528]
	bl	close
	nop
	ldr	r3, .L133
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L132
	bl	__stack_chk_fail
.L132:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L134:
	.align	2
.L133:
	.word	.LC29
	.size	close_socket, .-close_socket
	.section	.rodata
	.align	2
.LC30:
	.ascii	"Failed to start ignoring pipe error signals.\000"
	.align	2
.LC31:
	.ascii	"Starting... \000"
	.align	2
.LC32:
	.ascii	"Failed to create socket\000"
	.align	2
.LC33:
	.ascii	"Failed to bind socket with port %u\012\000"
	.align	2
.LC34:
	.ascii	"Failed to listen on socket\000"
	.align	2
.LC35:
	.ascii	"\015Server started\000"
	.align	2
.LC36:
	.ascii	"index.htm\000"
	.align	2
.LC37:
	.ascii	"Connection #%u established\012\000"
	.align	2
.LC38:
	.ascii	"Request Entity Too Large\000"
	.align	2
.LC39:
	.ascii	"%s %s\012\000"
	.align	2
.LC40:
	.ascii	"OK\000"
	.align	2
.LC41:
	.ascii	"No Content\000"
	.align	2
.LC42:
	.ascii	"Gone\000"
	.align	2
.LC43:
	.ascii	"Not Found\000"
	.align	2
.LC44:
	.ascii	"Precondition Failed\000"
	.align	2
.LC45:
	.ascii	"Not Content\000"
	.align	2
.LC46:
	.ascii	"Length Required\000"
	.align	2
.LC47:
	.ascii	"/\000"
	.align	2
.LC48:
	.ascii	"File is not an image.\000"
	.align	2
.LC49:
	.ascii	"Unsupported Media Type\000"
	.align	2
.LC50:
	.ascii	"File is too large or the request was malformed.\000"
	.align	2
.LC51:
	.ascii	"Bad Request\000"
	.align	2
.LC52:
	.ascii	"Malformed request.\000"
	.align	2
.LC53:
	.ascii	"System out of memory.\000"
	.align	2
.LC54:
	.ascii	"Unspecified error parsing request.\000"
	.align	2
.LC55:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 525464
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #524288
	sub	sp, sp, #1184
	sub	sp, sp, #4
	sub	r3, fp, #524288
	sub	r3, r3, #12
	str	r0, [r3, #-1172]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	str	r1, [r3, #-1176]
	ldr	r3, .L178
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	bl	init_id
	ldr	r3, .L178+4
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1164]
	ldr	r3, .L178+4
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	mov	r1, r3
	mov	r0, #13
	bl	sigaction
	mov	r3, r0
	cmp	r3, #0
	beq	.L136
	ldr	r0, .L178+8
	bl	puts
	mov	r3, #1
	b	.L175
.L136:
	ldr	r0, .L178+12
	bl	printf
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [r4, #-1144]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1144]
	cmn	r3, #1
	bne	.L138
	ldr	r0, .L178+16
	bl	puts
	mov	r3, #1
	b	.L175
.L138:
	ldr	r3, .L178+20
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r3, r3, #1104
	sub	r3, r3, #4
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	sub	r2, fp, #524288
	sub	r2, r2, #12
	str	r3, [r2, #-1104]
	mov	r0, #81
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r3, r3, #1104
	sub	r3, r3, #4
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L178+20
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r2, fp, #524288
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [r0, #-1144]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L139
	mov	r1, #81
	ldr	r0, .L178+24
	bl	printf
	mov	r3, #1
	b	.L175
.L139:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r1, #128
	ldr	r0, [r3, #-1144]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	beq	.L140
	ldr	r0, .L178+28
	bl	puts
	mov	r3, #1
	b	.L175
.L140:
	ldr	r0, .L178+32
	bl	puts
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L178+36
	bl	load_file
	str	r0, [r4, #-1140]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1156]
.L174:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-1028]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #16
	str	r3, [r2, #-1160]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r2, .L178+40
	sub	r3, fp, #12
	add	r2, r3, r2
	ldr	r3, .L178+44
	sub	r1, fp, #12
	add	r3, r1, r3
	sub	r1, fp, #524288
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-1144]
	bl	accept
	str	r0, [r4, #-1136]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1116]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1112]
	ldr	r3, .L178+48
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r2, fp, #524288
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #8
	str	r2, [sp]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, [r0, #-1136]
	bl	setsockopt
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1156]
	add	r3, r3, #1
	str	r3, [r2, #-1156]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r1, [r3, #-1156]
	ldr	r0, .L178+52
	bl	printf
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-1165]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1152]
	b	.L141
.L143:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1132]
	sub	r2, fp, #524288
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #524288
	sub	r2, r2, #12
	ldr	r2, [r2, #-1152]
	add	r3, r2, r3
	str	r3, [r1, #-1152]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1152]
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L178+56
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, .L178+60
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L141
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, #1
	strb	r2, [r3, #-1165]
	b	.L142
.L141:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1152]
	cmp	r3, #1024
	bcs	.L142
	ldr	r3, .L178+56
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r2, fp, #524288
	sub	r2, r2, #12
	ldr	r2, [r2, #-1152]
	add	r1, r3, r2
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1152]
	rsb	r3, r3, #524288
	add	r3, r3, #1024
	sub	r2, fp, #524288
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #524288
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, r3
	ldr	r0, [r0, #-1136]
	bl	read
	str	r0, [r4, #-1132]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1132]
	cmp	r3, #0
	bgt	.L143
.L142:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldrb	r3, [r3, #-1165]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L144
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	mov	r2, #0
	ldr	r1, .L178+64
	ldr	r0, .L178+68
	bl	return_msg
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r0, [r3, #-1136]
	bl	close_socket
	b	.L174
.L144:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-1168]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-1167]
	ldr	ip, .L178+72
	sub	r3, fp, #12
	add	ip, r3, ip
	ldr	r2, .L178+76
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r1, fp, #524288
	sub	r1, r1, #12
	sub	r1, r1, #1168
	ldr	r0, .L178+56
	sub	r3, fp, #12
	add	r0, r3, r0
	ldr	r3, .L178+80
	sub	lr, fp, #12
	add	r3, lr, r3
	str	r3, [sp, #4]
	mov	r3, #13
	str	r3, [sp]
	mov	r3, ip
	bl	parse
	ldr	r2, .L178+72
	sub	r3, fp, #12
	add	r2, r3, r2
	ldr	r3, .L178+76
	sub	r1, fp, #12
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L178+84
	bl	printf
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldrb	r3, [r3, #-1168]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L146
	cmp	r3, #2
	beq	.L147
	b	.L177
.L146:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldrb	r3, [r3, #-1064]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L149
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldrb	r3, [r3, #-1063]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L150
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r2, fp, #524288
	sub	r2, r2, #12
	ldr	r3, [r3, #-1136]
	ldr	r2, [r2, #-1140]
	ldr	r1, .L178+88
	mov	r0, #200
	bl	return_file
	b	.L158
.L150:
	ldr	r3, .L178+72
	sub	r2, fp, #12
	add	r3, r2, r3
	add	r3, r3, #1
	ldr	r1, .L178+92
	sub	r2, fp, #12
	add	r1, r2, r1
	mov	r2, #20
	mov	r0, r3
	bl	copy_while_numeric
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r3, .L178+92
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-1124]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1124]
	cmp	r3, #0
	bgt	.L152
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	mov	r2, #0
	ldr	r1, .L178+96
	mov	r0, #204
	bl	return_msg
	b	.L158
.L152:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1124]
	sub	r2, fp, #524288
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	get_file
	str	r0, [r4, #-1120]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1120]
	cmp	r3, #0
	bne	.L154
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r2, [r3, #-1124]
	ldr	r3, .L178+100
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L155
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r2, [r3, #-1124]
	ldr	r3, .L178+104
	ldr	r3, [r3]
	cmp	r2, r3
	bcs	.L155
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	mov	r2, #0
	ldr	r1, .L178+108
	ldr	r0, .L178+112
	bl	return_msg
	b	.L151
.L155:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	mov	r2, #0
	ldr	r1, .L178+116
	mov	r0, #404
	bl	return_msg
	b	.L158
.L154:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldrb	r3, [r3, #-1167]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L157
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1120]
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L157
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	mov	r2, #0
	ldr	r1, .L178+120
	mov	r0, #412
	bl	return_msg
	b	.L151
.L157:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r2, fp, #524288
	sub	r2, r2, #12
	ldr	r3, [r3, #-1136]
	ldr	r2, [r2, #-1120]
	ldr	r1, .L178+88
	mov	r0, #200
	bl	return_file
	b	.L158
.L149:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	mov	r2, #0
	ldr	r1, .L178+124
	mov	r0, #204
	bl	return_msg
	b	.L158
.L151:
	b	.L158
.L147:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L178+56
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r1, [r2, #-1152]
	mov	r0, r3
	bl	parse_content_length
	mov	r3, r0
	sub	r2, fp, #524288
	sub	r2, r2, #12
	str	r3, [r2, #-1148]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1148]
	ldr	r2, .L178+128
	cmp	r3, r2
	bcc	.L159
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	mov	r2, #0
	ldr	r1, .L178+64
	ldr	r0, .L178+68
	bl	return_msg
	b	.L158
.L159:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1148]
	cmp	r3, #0
	bne	.L160
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	mov	r2, #0
	ldr	r1, .L178+132
	ldr	r0, .L178+136
	bl	return_msg
	b	.L158
.L160:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r2, [r2, #-1148]
	ldr	r3, [r3, #-1152]
	sub	r3, r2, r3
	str	r3, [r1, #-1148]
	b	.L161
.L163:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1132]
	sub	r2, fp, #524288
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #524288
	sub	r2, r2, #12
	ldr	r2, [r2, #-1152]
	add	r3, r2, r3
	str	r3, [r1, #-1152]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1132]
	sub	r2, fp, #524288
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #524288
	sub	r2, r2, #12
	ldr	r2, [r2, #-1148]
	sub	r3, r2, r3
	str	r3, [r1, #-1148]
.L161:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1148]
	cmp	r3, #0
	beq	.L162
	ldr	r3, .L178+56
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r2, fp, #524288
	sub	r2, r2, #12
	ldr	r2, [r2, #-1152]
	add	r3, r3, r2
	sub	r2, fp, #524288
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #524288
	sub	r2, r2, #12
	sub	r1, fp, #524288
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-1148]
	mov	r1, r3
	ldr	r0, [r0, #-1136]
	bl	read
	str	r0, [r4, #-1132]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1132]
	cmp	r3, #0
	bgt	.L163
.L162:
	ldr	r3, .L178+72
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, .L178+140
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L164
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-1166]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r2, .L178+144
	sub	r3, fp, #12
	add	r2, r3, r2
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r3, .L178+56
	sub	r0, fp, #12
	add	r3, r0, r3
	ldr	r1, [r1, #-1152]
	mov	r0, r3
	bl	parse_data
	str	r0, [r4, #-1128]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldrb	r3, [r3, #-1166]	@ zero_extendqisi2
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L165
.L167:
	.word	.L170
	.word	.L169
	.word	.L168
	.word	.L166
.L170:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	ldr	r2, .L178+148
	ldr	r1, .L178+152
	ldr	r0, .L178+156
	bl	return_msg
	b	.L173
.L169:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	ldr	r2, .L178+160
	ldr	r1, .L178+164
	mov	r0, #400
	bl	return_msg
	b	.L173
.L168:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	ldr	r2, .L178+168
	ldr	r1, .L178+164
	mov	r0, #400
	bl	return_msg
	b	.L173
.L166:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	ldr	r2, .L178+172
	ldr	r1, .L178+164
	mov	r0, #400
	bl	return_msg
	b	.L173
.L165:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1128]
	cmp	r3, #0
	bne	.L172
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	ldr	r2, .L178+176
	ldr	r1, .L178+164
	mov	r0, #400
	bl	return_msg
	b	.L158
.L172:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r0, [r3, #-1128]
	bl	save_file
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r1, [r2, #-1136]
	ldr	r0, [r3, #-1128]
	bl	return_hyperlink_to_file
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r0, [r3, #-1128]
	bl	free
	b	.L158
.L164:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	mov	r2, #0
	ldr	r1, .L178+124
	mov	r0, #204
	bl	return_msg
	b	.L158
.L173:
	b	.L158
.L177:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1136]
	mov	r2, #0
	ldr	r1, .L178+124
	mov	r0, #204
	bl	return_msg
.L158:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r0, [r3, #-1136]
	bl	close_socket
	b	.L174
.L175:
	ldr	r2, .L178
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L176
	bl	__stack_chk_fail
.L176:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L179:
	.align	2
.L178:
	.word	.LC55
	.word	-525452
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	-525396
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	-525448
	.word	-525380
	.word	-525404
	.word	.LC37
	.word	-525316
	.word	.LC24
	.word	.LC38
	.word	413
	.word	-525352
	.word	-525364
	.word	-525455
	.word	.LC39
	.word	.LC40
	.word	-525336
	.word	.LC41
	.word	start_id
	.word	last_id
	.word	.LC42
	.word	410
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	525312
	.word	.LC46
	.word	411
	.word	.LC47
	.word	-525454
	.word	.LC48
	.word	.LC49
	.word	415
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
