	.file	"122016611.c"
	.intel_syntax noprefix
	.text
	.globl	pid
	.bss
	.align 4
	.type	pid, @object
	.size	pid, 4
pid:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"\345\273\272\347\253\213 sockets \345\244\261\350\264\245\357\274\201 exit(1) "
.LC1:
	.string	"\345\273\272\347\253\213socket -> %d \n"
	.align 8
.LC2:
	.string	"bind serversock \345\244\261\350\264\245\357\274\201exit(1) "
	.align 8
.LC3:
	.string	"bind serversock -> %d, port -> %d \n"
.LC4:
	.string	"re_port -> %d \n"
	.align 8
.LC5:
	.string	"listen serversock \345\244\261\350\264\245\357\274\201exit(1) "
.LC6:
	.string	"listen serversock -> %d \n"
	.align 8
.LC7:
	.string	"server start, ready accept! \n\n"
.LC8:
	.string	"accept \345\244\261\350\264\245\357\274\201exit(1) "
.LC9:
	.string	"\345\273\272\347\253\213 clientsock -> %d \n"
.LC10:
	.string	"create pid -> %d \n"
.LC11:
	.string	"fork \345\244\261\350\264\245, pid -> %d \n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 8989
	mov	DWORD PTR -60[rbp], 128
	mov	edx, 6
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	jns	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -48[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -46[rbp], ax
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L3
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -64[rbp], 0
	jne	.L4
	mov	DWORD PTR -68[rbp], 16
	lea	rdx, -68[rbp]
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getsockname@PLT
	cmp	eax, -1
	jne	.L5
	mov	edi, 1
	call	exit@PLT
.L5:
	movzx	eax, WORD PTR -46[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	eax, ax
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L4:
	mov	edx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, edx
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L6
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -68[rbp], 16
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L10:
	lea	rdx, -68[rbp]
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L7
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	call	fork@PLT
	mov	DWORD PTR pid[rip], eax
	mov	eax, DWORD PTR pid[rip]
	test	eax, eax
	jne	.L8
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	son_process
	jmp	.L10
.L8:
	mov	eax, DWORD PTR pid[rip]
	test	eax, eax
	jns	.L10
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC12:
	.string	"son_process start! "
.LC13:
	.string	"read_line 1 number = %d \n"
.LC14:
	.string	"method = %s"
.LC15:
	.string	"GE2T"
.LC16:
	.string	"PO2ST"
	.align 8
.LC17:
	.string	"\345\217\221\351\200\201\346\225\260\346\215\256\345\256\214\346\210\220\357\274\214\345\205\263\351\227\255\351\223\276\346\216\245"
.LC18:
	.string	"\345\255\220\350\277\233\347\250\213\351\200\200\345\207\272\n\n"
	.text
	.globl	son_process
	.type	son_process, @function
son_process:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1328
	mov	DWORD PTR -1316[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -1316[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read_line
	mov	DWORD PTR -1300[rbp], eax
	mov	eax, DWORD PTR -1300[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -1308[rbp], 0
	mov	DWORD PTR -1304[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -1304[rbp]
	cdqe
	movzx	edx, BYTE PTR -1040[rbp+rax]
	mov	eax, DWORD PTR -1308[rbp]
	cdqe
	mov	BYTE PTR -1296[rbp+rax], dl
	add	DWORD PTR -1308[rbp], 1
	add	DWORD PTR -1304[rbp], 1
.L13:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1304[rbp]
	cdqe
	movzx	eax, BYTE PTR -1040[rbp+rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR -1308[rbp]
	cmp	eax, 253
	jbe	.L15
.L14:
	mov	eax, DWORD PTR -1308[rbp]
	cdqe
	mov	BYTE PTR -1296[rbp+rax], 0
	lea	rax, -1296[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1296[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	je	.L16
	lea	rax, -1296[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	je	.L16
	mov	eax, DWORD PTR -1316[rbp]
	mov	edi, eax
	call	unimplemented
.L16:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -1316[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	son_process, .-son_process
	.globl	execute_cgi
	.type	execute_cgi, @function
execute_cgi:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	execute_cgi, .-execute_cgi
	.section	.rodata
.LC19:
	.string	"Value of errno: %d\n"
	.text
	.globl	read_line
	.type	read_line, @function
read_line:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -40[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -21[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L20
.L27:
	lea	rsi, -21[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L21
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L28
.L21:
	cmp	DWORD PTR -12[rbp], 0
	jle	.L23
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 13
	jne	.L24
	lea	rsi, -21[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, 2
	mov	edx, 1
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jle	.L25
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 10
	jne	.L25
	lea	rsi, -21[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	edi, eax
	call	recv@PLT
	jmp	.L24
.L25:
	mov	BYTE PTR -21[rbp], 10
.L24:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -21[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -20[rbp], 1
	jmp	.L20
.L23:
	mov	BYTE PTR -21[rbp], 10
.L20:
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jge	.L26
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 10
	jne	.L27
.L26:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -20[rbp]
.L28:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	read_line, .-read_line
	.section	.rodata
	.align 8
.LC20:
	.string	"HTTP/1.0 501 Method Not Implemented\r\n"
.LC21:
	.string	"Server: jdbhttpd/0.1.0\r\n"
.LC22:
	.string	"Content-Type: text/html\r\n"
.LC23:
	.string	"\r\n"
	.align 8
.LC24:
	.string	"<HTML><HEAD><TITLE>Method Not Implemented\r\n"
.LC25:
	.string	"</TITLE></HEAD>\r\n"
	.align 8
.LC26:
	.string	"<BODY><P>HTTP request method not supported.\r\n"
.LC27:
	.string	"</BODY></HTML>\r\n"
	.text
	.globl	unimplemented
	.type	unimplemented, @function
unimplemented:
.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, 1056
	mov	DWORD PTR -1044[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1040[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rax, -1040[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rax, -1040[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rax, -1040[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rax, -1040[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rax, -1040[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rax, -1040[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rax, -1040[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	unimplemented, .-unimplemented
	.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	"122016611.c"
	.text
	.comm	pid,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\345\273\272\347\253\213 sockets \345\244\261\350\264"
	.ascii	"\245\357\274\201 exit(1) \000"
	.align	2
.LC1:
	.ascii	"\345\273\272\347\253\213socket -> %d \012\000"
	.align	2
.LC2:
	.ascii	"bind serversock \345\244\261\350\264\245\357\274\201"
	.ascii	"exit(1) \000"
	.align	2
.LC3:
	.ascii	"bind serversock -> %d, port -> %d \012\000"
	.align	2
.LC4:
	.ascii	"re_port -> %d \012\000"
	.align	2
.LC5:
	.ascii	"listen serversock \345\244\261\350\264\245\357\274\201"
	.ascii	"exit(1) \000"
	.align	2
.LC6:
	.ascii	"listen serversock -> %d \012\000"
	.align	2
.LC7:
	.ascii	"server start, ready accept! \012\012\000"
	.align	2
.LC8:
	.ascii	"accept \345\244\261\350\264\245\357\274\201exit(1) "
	.ascii	"\000"
	.align	2
.LC9:
	.ascii	"\345\273\272\347\253\213 clientsock -> %d \012\000"
	.align	2
.LC10:
	.ascii	"create pid -> %d \012\000"
	.align	2
.LC11:
	.ascii	"fork \345\244\261\350\264\245, pid -> %d \012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L12+4
	str	r3, [fp, #-56]
	mov	r3, #128
	str	r3, [fp, #-52]
	mov	r2, #6
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L12+8
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r1, [fp, #-48]
	ldr	r0, .L12+12
	bl	printf
	sub	r3, fp, #40
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	strh	r3, [fp, #-40]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-38]	@ movhi
	sub	r3, fp, #40
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L12+16
	bl	puts
	mov	r0, #1
	bl	exit
.L3:
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-48]
	ldr	r0, .L12+20
	bl	printf
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L4
	mov	r3, #16
	str	r3, [fp, #-60]
	sub	r2, fp, #60
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	getsockname
	mov	r3, r0
	cmn	r3, #1
	bne	.L5
	mov	r0, #1
	bl	exit
.L5:
	ldrh	r3, [fp, #-38]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	str	r3, [fp, #-56]
	ldr	r1, [fp, #-56]
	ldr	r0, .L12+24
	bl	printf
.L4:
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L6
	ldr	r0, .L12+28
	bl	puts
	mov	r0, #1
	bl	exit
.L6:
	ldr	r1, [fp, #-48]
	ldr	r0, .L12+32
	bl	printf
	mov	r3, #16
	str	r3, [fp, #-60]
	ldr	r0, .L12+36
	bl	puts
.L10:
	sub	r2, fp, #60
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	accept
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L7
	ldr	r0, .L12+40
	bl	puts
	mov	r0, #1
	bl	exit
.L7:
	bl	fork
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L12+44
	str	r2, [r3]
	ldr	r3, .L12+44
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
	ldr	r1, [fp, #-44]
	ldr	r0, .L12+48
	bl	printf
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L12+52
	bl	printf
	ldr	r0, [fp, #-44]
	bl	son_process
	b	.L10
.L8:
	ldr	r3, .L12+44
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L10
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L12+56
	bl	printf
	b	.L10
.L13:
	.align	2
.L12:
	.word	.LC12
	.word	8989
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	pid
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.section	.rodata
	.align	2
.LC13:
	.ascii	"son_process start! \000"
	.align	2
.LC14:
	.ascii	"read_line 1 number = %d \012\000"
	.align	2
.LC15:
	.ascii	"method = %s\000"
	.align	2
.LC16:
	.ascii	"GE2T\000"
	.align	2
.LC17:
	.ascii	"PO2ST\000"
	.align	2
.LC18:
	.ascii	"\345\217\221\351\200\201\346\225\260\346\215\256\345"
	.ascii	"\256\214\346\210\220\357\274\214\345\205\263\351\227"
	.ascii	"\255\351\223\276\346\216\245\000"
	.align	2
.LC19:
	.ascii	"\345\255\220\350\277\233\347\250\213\351\200\200\345"
	.ascii	"\207\272\012\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	son_process
	.syntax unified
	.arm
	.fpu softvfp
	.type	son_process, %function
son_process:
	@ args = 0, pretend = 0, frame = 1304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1296
	sub	sp, sp, #8
	str	r0, [fp, #-1304]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L20+4
	bl	puts
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-1304]
	bl	read_line
	str	r0, [fp, #-1292]
	ldr	r1, [fp, #-1292]
	ldr	r0, .L20+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-1300]
	mov	r3, #0
	str	r3, [fp, #-1296]
	b	.L15
.L17:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1296]
	add	r3, r3, r2
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1300]
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-1300]
	add	r3, r3, #1
	str	r3, [fp, #-1300]
	ldr	r3, [fp, #-1296]
	add	r3, r3, #1
	str	r3, [fp, #-1296]
.L15:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1296]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-1300]
	cmp	r3, #253
	bls	.L17
.L16:
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1300]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L20+12
	bl	printf
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L20+16
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #1280
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L20+20
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r0, [fp, #-1304]
	bl	unimplemented
.L18:
	ldr	r0, .L20+24
	bl	puts
	ldr	r0, [fp, #-1304]
	bl	close
	ldr	r0, .L20+28
	bl	puts
	mov	r0, #0
	bl	exit
.L21:
	.align	2
.L20:
	.word	.LC20
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	son_process, .-son_process
	.align	2
	.global	execute_cgi
	.syntax unified
	.arm
	.fpu softvfp
	.type	execute_cgi, %function
execute_cgi:
	@ 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
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	execute_cgi, .-execute_cgi
	.section	.rodata
	.align	2
.LC21:
	.ascii	"Value of errno: %d\012\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_line, %function
read_line:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-29]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L24
.L31:
	sub	r1, fp, #29
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [fp, #-40]
	bl	recv
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L25
	ldr	r3, .L34+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L34+8
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	b	.L32
.L25:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L27
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L28
	sub	r1, fp, #29
	mov	r3, #2
	mov	r2, #1
	ldr	r0, [fp, #-40]
	bl	recv
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L29
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L29
	sub	r1, fp, #29
	mov	r3, #0
	mov	r2, #1
	ldr	r0, [fp, #-40]
	bl	recv
	b	.L28
.L29:
	mov	r3, #10
	strb	r3, [fp, #-29]
.L28:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldrb	r2, [fp, #-29]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L24
.L27:
	mov	r3, #10
	strb	r3, [fp, #-29]
.L24:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bge	.L30
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L31
.L30:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
.L32:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC22
	.word	stderr
	.word	.LC21
	.size	read_line, .-read_line
	.section	.rodata
	.align	2
.LC23:
	.ascii	"HTTP/1.0 501 Method Not Implemented\015\012\000"
	.align	2
.LC24:
	.ascii	"Server: jdbhttpd/0.1.0\015\012\000"
	.align	2
.LC25:
	.ascii	"Content-Type: text/html\015\012\000"
	.align	2
.LC26:
	.ascii	"\015\012\000"
	.align	2
.LC27:
	.ascii	"<HTML><HEAD><TITLE>Method Not Implemented\015\012\000"
	.align	2
.LC28:
	.ascii	"</TITLE></HEAD>\015\012\000"
	.align	2
.LC29:
	.ascii	"<BODY><P>HTTP request method not supported.\015\012"
	.ascii	"\000"
	.align	2
.LC30:
	.ascii	"</BODY></HTML>\015\012\000"
	.align	2
.LC31:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	unimplemented
	.syntax unified
	.arm
	.fpu softvfp
	.type	unimplemented, %function
unimplemented:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	str	r0, [fp, #-1040]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L38+4
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1040]
	bl	send
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L38+8
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1040]
	bl	send
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L38+12
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1040]
	bl	send
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L38+16
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1040]
	bl	send
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L38+20
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1040]
	bl	send
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L38+24
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1040]
	bl	send
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L38+28
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1040]
	bl	send
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L38+32
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1040]
	bl	send
	nop
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC31
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.size	unimplemented, .-unimplemented
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
