	.file	"282339.c"
	.intel_syntax noprefix
	.text
	.globl	status_line
	.type	status_line, @function
status_line:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	cmp	DWORD PTR -12[rbp], 501
	je	.L2
	cmp	DWORD PTR -12[rbp], 501
	jg	.L3
	cmp	DWORD PTR -12[rbp], 500
	je	.L4
	cmp	DWORD PTR -12[rbp], 500
	jg	.L3
	cmp	DWORD PTR -12[rbp], 200
	je	.L5
	cmp	DWORD PTR -12[rbp], 404
	je	.L6
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -8[rbp]
	movabs	rdx, 3543824036068086856
	movabs	rcx, 741773563298591264
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	mov	BYTE PTR 16[rax], 0
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -8[rbp]
	movabs	rsi, 3543824036068086856
	movabs	rdi, 8390010531036017696
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rdx, 2925175346513440
	mov	QWORD PTR 16[rax], rdx
	jmp	.L7
.L4:
	mov	rax, QWORD PTR -8[rbp]
	movabs	rdx, 3543824036068086856
	movabs	rcx, 8389723558434059552
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	movabs	rsi, 7301215070760890981
	movabs	rdi, 8246729873329321586
	mov	QWORD PTR 16[rax], rsi
	mov	QWORD PTR 24[rax], rdi
	mov	DWORD PTR 32[rax], 684655
	jmp	.L7
.L2:
	mov	rax, QWORD PTR -8[rbp]
	movabs	rdx, 3543824036068086856
	movabs	rcx, 8390010530985686304
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	movabs	rcx, 7308609286709266720
	mov	QWORD PTR 16[rax], rcx
	mov	DWORD PTR 24[rax], 1684370542
	mov	WORD PTR 28[rax], 10
	jmp	.L7
.L3:
	mov	rax, QWORD PTR -8[rbp]
	movabs	rsi, 3543824036068086856
	movabs	rdi, 8390010531036017696
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rsi, 2925175346513440
	mov	QWORD PTR 16[rax], rsi
	nop
.L7:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	status_line, .-status_line
	.globl	headers
	.type	headers, @function
headers:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movabs	rsi, 3275364211029339971
	movabs	rdi, 7310503530311219540
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rdx, 4281917692454073464
	movabs	rcx, 8387236816145113888
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR 24[rax], rcx
	movabs	rcx, 2876516871722301
	mov	QWORD PTR 32[rax], rcx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	headers, .-headers
	.globl	crlf
	.type	crlf, @function
crlf:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 10
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	crlf, .-crlf
	.globl	body
	.type	body, @function
body:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	body, .-body
	.globl	build_response
	.type	build_response, @function
build_response:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	status_line
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	headers
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	crlf
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	body
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	build_response, .-build_response
	.section	.rodata
.LC0:
	.string	"/"
.LC1:
	.string	"/index.html"
	.align 8
.LC2:
	.string	"<body><h1>Hello world!</h1></body>"
	.align 8
.LC3:
	.string	"<body><p>Page is not found.</p></body>"
	.text
	.globl	route
	.type	route, @function
route:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
.L13:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, .LC2[rip]
	mov	esi, 200
	mov	rdi, rax
	call	build_response
	jmp	.L12
.L14:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, .LC3[rip]
	mov	esi, 404
	mov	rdi, rax
	call	build_response
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	route, .-route
	.section	.rodata
.LC4:
	.string	"socket failed"
.LC5:
	.string	"error: fail to create socket\n"
.LC6:
	.string	"bind failed"
.LC7:
	.string	"error: fail to bind socket\n"
.LC8:
	.string	"listen failed"
.LC9:
	.string	"error: fail to listen socket\n"
	.align 8
.LC10:
	.string	"LOG: wait a message from client\n"
.LC11:
	.string	"error: fail to accept socket\n"
.LC12:
	.string	" "
.LC13:
	.string	"GET"
	.align 8
.LC14:
	.string	"Methods not GET are not supported."
	.text
	.globl	start
	.type	start, @function
start:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 1080
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1088[rbp], 16
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -1084[rbp], eax
	cmp	DWORD PTR -1084[rbp], -1
	jne	.L17
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edx, 29
	lea	rsi, .LC5[rip]
	mov	edi, 1
	call	write@PLT
	mov	eax, DWORD PTR -1084[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	WORD PTR -1040[rbp], 2
	mov	DWORD PTR -1036[rbp], 0
	mov	edi, 8888
	call	htons@PLT
	mov	WORD PTR -1038[rbp], ax
	mov	eax, DWORD PTR -1088[rbp]
	mov	edx, eax
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -1084[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L18
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edx, 27
	lea	rsi, .LC7[rip]
	mov	edi, 1
	call	write@PLT
	mov	eax, DWORD PTR -1084[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	eax, DWORD PTR -1084[rbp]
	mov	esi, 3
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L19
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edx, 29
	lea	rsi, .LC9[rip]
	mov	edi, 1
	call	write@PLT
	mov	eax, DWORD PTR -1084[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	edx, 32
	lea	rsi, .LC10[rip]
	mov	edi, 1
	call	write@PLT
	lea	rdx, -1088[rbp]
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -1084[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -1080[rbp], eax
	cmp	DWORD PTR -1080[rbp], -1
	jne	.L20
	mov	edx, 29
	lea	rsi, .LC11[rip]
	mov	edi, 1
	call	write@PLT
	mov	eax, DWORD PTR -1084[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -1080[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	exit@PLT
.L20:
	lea	rcx, -1024[rbp]
	mov	eax, DWORD PTR -1080[rbp]
	mov	edx, 1000
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -1076[rbp], eax
	mov	eax, DWORD PTR -1076[rbp]
	movsx	rdx, eax
	lea	rax, -1024[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	lea	rax, -1024[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1072[rbp], rax
	lea	rsi, .LC12[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1064[rbp], rax
	lea	rsi, .LC12[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -1056[rbp], rax
	mov	edi, 10000
	call	malloc@PLT
	mov	QWORD PTR -1048[rbp], rax
	mov	rax, QWORD PTR -1072[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	mov	rdx, QWORD PTR -1064[rbp]
	mov	rax, QWORD PTR -1048[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	route
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -1048[rbp]
	lea	rdx, .LC14[rip]
	mov	esi, 501
	mov	rdi, rax
	call	build_response
.L22:
	mov	eax, DWORD PTR -1088[rbp]
	mov	ebx, eax
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -1040[rbp]
	mov	rsi, QWORD PTR -1048[rbp]
	mov	eax, DWORD PTR -1080[rbp]
	mov	r9d, ebx
	mov	r8, rcx
	mov	ecx, 0
	mov	edi, eax
	call	sendto@PLT
	mov	eax, DWORD PTR -1080[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L19
	.cfi_endproc
.LFE12:
	.size	start, .-start
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, 0
	call	start
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE13:
	.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	"282339.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"HTTP/1.1 200 OK\012\000"
	.align	2
.LC1:
	.ascii	"HTTP/1.1 404 Not Found\012\000"
	.align	2
.LC2:
	.ascii	"HTTP/1.1 500 Internal Server Error\012\000"
	.align	2
.LC3:
	.ascii	"HTTP/1.1 501 Not Implemented\012\000"
	.text
	.align	2
	.global	status_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	status_line, %function
status_line:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, .L8
	cmp	r3, r2
	beq	.L2
	ldr	r3, [fp, #-12]
	ldr	r2, .L8
	cmp	r3, r2
	bgt	.L3
	ldr	r3, [fp, #-12]
	cmp	r3, #500
	beq	.L4
	ldr	r3, [fp, #-12]
	cmp	r3, #500
	bgt	.L3
	ldr	r3, [fp, #-12]
	cmp	r3, #200
	beq	.L5
	ldr	r3, [fp, #-12]
	cmp	r3, #404
	beq	.L6
	b	.L3
.L5:
	ldr	r3, [fp, #-8]
	ldr	r2, .L8+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #17
	mov	r2, r3
	bl	memcpy
	b	.L7
.L6:
	ldr	r3, [fp, #-8]
	ldr	r2, .L8+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #24
	mov	r2, r3
	bl	memcpy
	b	.L7
.L4:
	ldr	r3, [fp, #-8]
	ldr	r2, .L8+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #36
	mov	r2, r3
	bl	memcpy
	b	.L7
.L2:
	ldr	r3, [fp, #-8]
	ldr	r2, .L8+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #30
	mov	r2, r3
	bl	memcpy
	b	.L7
.L3:
	ldr	r3, [fp, #-8]
	ldr	r2, .L8+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #24
	mov	r2, r3
	bl	memcpy
	nop
.L7:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	501
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	status_line, .-status_line
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Content-Type: text/html; charset=UTF-8\012\000"
	.text
	.align	2
	.global	headers
	.syntax unified
	.arm
	.fpu softvfp
	.type	headers, %function
headers:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, .L11
	mov	r0, r3
	mov	r1, r2
	mov	r3, #40
	mov	r2, r3
	bl	memcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC4
	.size	headers, .-headers
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012\000"
	.text
	.align	2
	.global	crlf
	.syntax unified
	.arm
	.fpu softvfp
	.type	crlf, %function
crlf:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, .L14
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC5
	.size	crlf, .-crlf
	.align	2
	.global	body
	.syntax unified
	.arm
	.fpu softvfp
	.type	body, %function
body:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	strcat
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	body, .-body
	.align	2
	.global	build_response
	.syntax unified
	.arm
	.fpu softvfp
	.type	build_response, %function
build_response:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	status_line
	ldr	r0, [fp, #-8]
	bl	headers
	ldr	r0, [fp, #-8]
	bl	crlf
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	body
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	build_response, .-build_response
	.section	.rodata
	.align	2
.LC6:
	.ascii	"/\000"
	.align	2
.LC7:
	.ascii	"/index.html\000"
	.align	2
.LC8:
	.ascii	"<body><h1>Hello world!</h1></body>\000"
	.align	2
.LC9:
	.ascii	"<body><p>Page is not found.</p></body>\000"
	.text
	.align	2
	.global	route
	.syntax unified
	.arm
	.fpu softvfp
	.type	route, %function
route:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, .L22
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r1, .L22+4
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
.L19:
	ldr	r2, .L22+8
	mov	r1, #200
	ldr	r0, [fp, #-8]
	bl	build_response
	b	.L18
.L20:
	ldr	r2, .L22+12
	mov	r1, #404
	ldr	r0, [fp, #-8]
	bl	build_response
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	route, .-route
	.section	.rodata
	.align	2
.LC10:
	.ascii	"socket failed\000"
	.align	2
.LC11:
	.ascii	"error: fail to create socket\012\000"
	.align	2
.LC12:
	.ascii	"bind failed\000"
	.align	2
.LC13:
	.ascii	"error: fail to bind socket\012\000"
	.align	2
.LC14:
	.ascii	"listen failed\000"
	.align	2
.LC15:
	.ascii	"error: fail to listen socket\012\000"
	.align	2
.LC16:
	.ascii	"LOG: wait a message from client\012\000"
	.align	2
.LC17:
	.ascii	"error: fail to accept socket\012\000"
	.align	2
.LC18:
	.ascii	" \000"
	.align	2
.LC19:
	.ascii	"GET\000"
	.align	2
.LC20:
	.ascii	"Methods not GET are not supported.\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	start
	.syntax unified
	.arm
	.fpu softvfp
	.type	start, %function
start:
	@ args = 0, pretend = 0, frame = 1056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1056
	sub	sp, sp, #8
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #16
	str	r3, [fp, #-1056]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-1052]
	ldr	r3, [fp, #-1052]
	cmn	r3, #1
	bne	.L25
	ldr	r0, .L32+4
	bl	perror
	mov	r2, #29
	ldr	r1, .L32+8
	mov	r0, #1
	bl	write
	ldr	r0, [fp, #-1052]
	bl	close
	mov	r0, #1
	bl	exit
.L25:
	sub	r3, fp, #4
	sub	r3, r3, #1020
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-1020]
	ldr	r0, .L32+12
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #1020
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-1056]
	mov	r2, r3
	sub	r3, fp, #1024
	mov	r1, r3
	ldr	r0, [fp, #-1052]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L26
	ldr	r0, .L32+16
	bl	perror
	mov	r2, #27
	ldr	r1, .L32+20
	mov	r0, #1
	bl	write
	ldr	r0, [fp, #-1052]
	bl	close
	mov	r0, #1
	bl	exit
.L26:
	mov	r1, #3
	ldr	r0, [fp, #-1052]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L27
	ldr	r0, .L32+24
	bl	perror
	mov	r2, #29
	ldr	r1, .L32+28
	mov	r0, #1
	bl	write
	ldr	r0, [fp, #-1052]
	bl	close
	mov	r0, #1
	bl	exit
.L27:
	mov	r2, #32
	ldr	r1, .L32+32
	mov	r0, #1
	bl	write
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #12
	sub	r1, fp, #1024
	mov	r2, r3
	ldr	r0, [fp, #-1052]
	bl	accept
	str	r0, [fp, #-1048]
	ldr	r3, [fp, #-1048]
	cmn	r3, #1
	bne	.L28
	mov	r2, #29
	ldr	r1, .L32+36
	mov	r0, #1
	bl	write
	ldr	r0, [fp, #-1052]
	bl	close
	ldr	r0, [fp, #-1048]
	bl	close
	mov	r0, #1
	bl	exit
.L28:
	sub	r3, fp, #1008
	mov	r2, #1000
	mov	r1, r3
	ldr	r0, [fp, #-1048]
	bl	read
	str	r0, [fp, #-1044]
	ldr	r2, [fp, #-1044]
	sub	r3, fp, #1008
	mov	r1, r3
	mov	r0, #1
	bl	write
	sub	r3, fp, #1008
	ldr	r1, .L32+40
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-1040]
	ldr	r1, .L32+40
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1036]
	ldr	r1, .L32+40
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-1032]
	ldr	r0, .L32+44
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1028]
	ldr	r1, .L32+48
	ldr	r0, [fp, #-1040]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	ldr	r1, [fp, #-1036]
	ldr	r0, [fp, #-1028]
	bl	route
	b	.L30
.L29:
	ldr	r2, .L32+52
	ldr	r1, .L32+56
	ldr	r0, [fp, #-1028]
	bl	build_response
.L30:
	ldr	r0, [fp, #-1028]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1056]
	str	r3, [sp, #4]
	sub	r3, fp, #1024
	str	r3, [sp]
	mov	r3, #0
	ldr	r1, [fp, #-1028]
	ldr	r0, [fp, #-1048]
	bl	sendto
	ldr	r0, [fp, #-1048]
	bl	close
	b	.L27
.L33:
	.align	2
.L32:
	.word	.LC21
	.word	.LC10
	.word	.LC11
	.word	8888
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	10000
	.word	.LC19
	.word	.LC20
	.word	501
	.size	start, .-start
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	bl	start
	mov	r0, #0
	bl	exit
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
