	.file	"207276.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"usage: %s <port>\n"
.LC1:
	.string	"ERROR opening socket"
.LC2:
	.string	"ERROR on binding"
.LC3:
	.string	"ERROR on listen"
.LC4:
	.string	"%s:%d Disconnect on fd %d\n"
.LC5:
	.string	"%s:%d Error on fd %d\n"
.LC6:
	.string	"%s:%d Invalid on fd %d\n"
.LC7:
	.string	"ERROR on accept"
	.align 8
.LC8:
	.string	"%s:%d exceeded max FDs supported\n"
	.align 8
.LC9:
	.string	"server established connection on [%d].%d\n"
	.align 8
.LC10:
	.string	"server established connection on [%d].%d with %s\n"
	.align 8
.LC11:
	.string	"server established connection on [%d].%d with %s (%s:%d)\n"
.LC12:
	.string	"%s:%d\n"
.LC13:
	.string	"/tmp/cmdin"
.LC14:
	.string	"open"
.LC15:
	.string	"calloc"
.LC16:
	.string	"read"
.LC17:
	.string	"%s:%d fds[%d].fd=%d rc %d\n%s\n"
.LC18:
	.string	"send"
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	DWORD PTR -8228[rbp], edi
	mov	QWORD PTR -8240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -8228[rbp], 2
	je	.L2
	mov	rax, QWORD PTR -8240[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -8240[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -8188[rbp], eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -8184[rbp], eax
	cmp	DWORD PTR -8184[rbp], 0
	jns	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	DWORD PTR -8212[rbp], 1
	lea	rdx, -8212[rbp]
	mov	eax, DWORD PTR -8184[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	lea	rax, -8144[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -8144[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -8140[rbp], eax
	mov	eax, DWORD PTR -8188[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -8142[rbp], ax
	lea	rcx, -8144[rbp]
	mov	eax, DWORD PTR -8184[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L4
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR -8184[rbp]
	mov	esi, 15
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L5
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	DWORD PTR -8216[rbp], 16
	mov	DWORD PTR -8180[rbp], 10000
	lea	rax, -8112[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 500
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	eax, DWORD PTR -8184[rbp]
	mov	DWORD PTR -8112[rbp], eax
	mov	WORD PTR -8108[rbp], 1
	mov	DWORD PTR -8104[rbp], 0
	mov	WORD PTR -8100[rbp], 1
	mov	DWORD PTR -8192[rbp], 2
.L34:
	mov	eax, DWORD PTR -8192[rbp]
	movsx	rcx, eax
	lea	rax, -8112[rbp]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	poll@PLT
	mov	DWORD PTR -8176[rbp], eax
	cmp	DWORD PTR -8176[rbp], 0
	jle	.L36
	mov	DWORD PTR -8208[rbp], 0
	jmp	.L8
.L33:
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	movzx	eax, WORD PTR -8106[rbp+rax*8]
	test	ax, ax
	je	.L37
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	movzx	eax, WORD PTR -8106[rbp+rax*8]
	cwde
	and	eax, 16
	test	eax, eax
	je	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -8200[rbp]
	mov	r8d, edx
	mov	ecx, 126
	lea	rdx, __FUNCTION__.0[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -8104[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	DWORD PTR -8112[rbp+rax*8], -1
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	WORD PTR -8108[rbp+rax*8], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	movzx	eax, WORD PTR -8106[rbp+rax*8]
	cwde
	and	eax, 8
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -8200[rbp]
	mov	r8d, edx
	mov	ecx, 134
	lea	rdx, __FUNCTION__.0[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	eax, DWORD PTR -8112[rbp+rax*8]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	DWORD PTR -8112[rbp+rax*8], -1
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	WORD PTR -8108[rbp+rax*8], 0
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	movzx	eax, WORD PTR -8106[rbp+rax*8]
	cwde
	and	eax, 32
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -8200[rbp]
	mov	r8d, edx
	mov	ecx, 142
	lea	rdx, __FUNCTION__.0[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	eax, DWORD PTR -8112[rbp+rax*8]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	DWORD PTR -8112[rbp+rax*8], -1
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	WORD PTR -8108[rbp+rax*8], 0
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	eax, DWORD PTR -8112[rbp+rax*8]
	cmp	DWORD PTR -8184[rbp], eax
	jne	.L14
	lea	rdx, -8216[rbp]
	lea	rcx, -8128[rbp]
	mov	eax, DWORD PTR -8184[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -8172[rbp], eax
	cmp	DWORD PTR -8172[rbp], 0
	jns	.L15
	lea	rdi, .LC7[rip]
	call	perror@PLT
	jmp	.L10
.L15:
	cmp	DWORD PTR -8192[rbp], 500
	jle	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 157
	lea	rdx, __FUNCTION__.0[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L10
.L16:
	mov	DWORD PTR -8204[rbp], 0
	jmp	.L17
.L20:
	mov	eax, DWORD PTR -8204[rbp]
	cdqe
	mov	eax, DWORD PTR -8112[rbp+rax*8]
	cmp	eax, -1
	jne	.L18
	mov	eax, DWORD PTR -8204[rbp]
	cdqe
	mov	edx, DWORD PTR -8172[rbp]
	mov	DWORD PTR -8112[rbp+rax*8], edx
	mov	eax, DWORD PTR -8204[rbp]
	cdqe
	mov	WORD PTR -8108[rbp+rax*8], 1
	mov	eax, DWORD PTR -8204[rbp]
	mov	DWORD PTR -8196[rbp], eax
	jmp	.L19
.L18:
	add	DWORD PTR -8204[rbp], 1
.L17:
	mov	eax, DWORD PTR -8204[rbp]
	cmp	eax, DWORD PTR -8192[rbp]
	jl	.L20
.L19:
	mov	eax, DWORD PTR -8204[rbp]
	cmp	eax, DWORD PTR -8192[rbp]
	jl	.L21
	mov	eax, DWORD PTR -8192[rbp]
	cdqe
	mov	edx, DWORD PTR -8172[rbp]
	mov	DWORD PTR -8112[rbp+rax*8], edx
	mov	eax, DWORD PTR -8192[rbp]
	cdqe
	mov	WORD PTR -8108[rbp+rax*8], 1
	mov	eax, DWORD PTR -8192[rbp]
	mov	DWORD PTR -8196[rbp], eax
	add	DWORD PTR -8192[rbp], 1
.L21:
	lea	rax, -8128[rbp]
	add	rax, 4
	mov	edx, 2
	mov	esi, 4
	mov	rdi, rax
	call	gethostbyaddr@PLT
	mov	QWORD PTR -8160[rbp], rax
	cmp	QWORD PTR -8160[rbp], 0
	jne	.L22
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -8172[rbp]
	mov	edx, DWORD PTR -8196[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L10
.L22:
	mov	eax, DWORD PTR -8124[rbp]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	QWORD PTR -8152[rbp], rax
	cmp	QWORD PTR -8152[rbp], 0
	jne	.L23
	mov	rax, QWORD PTR -8160[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -8172[rbp]
	mov	edx, DWORD PTR -8196[rbp]
	mov	r8, rsi
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L10
.L23:
	movzx	eax, WORD PTR -8126[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	movzx	esi, ax
	mov	rax, QWORD PTR -8160[rbp]
	mov	rdi, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	r8, QWORD PTR -8152[rbp]
	mov	ecx, DWORD PTR -8172[rbp]
	mov	edx, DWORD PTR -8196[rbp]
	sub	rsp, 8
	push	rsi
	mov	r9, r8
	mov	r8, rdi
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	jmp	.L7
.L14:
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	eax, DWORD PTR -8112[rbp+rax*8]
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 85
	jne	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, 204
	lea	rdx, __FUNCTION__.0[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	esi, 0
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8200[rbp], eax
	cmp	DWORD PTR -8200[rbp], 0
	jns	.L25
	lea	rdi, .LC14[rip]
	call	perror@PLT
	jmp	.L10
.L25:
	mov	esi, 4096
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8168[rbp], rax
	cmp	QWORD PTR -8168[rbp], 0
	jne	.L26
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -8200[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L10
.L26:
	mov	rcx, QWORD PTR -8168[rbp]
	mov	eax, DWORD PTR -8200[rbp]
	mov	edx, 4096
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -8176[rbp], eax
	cmp	DWORD PTR -8176[rbp], 0
	jg	.L27
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -8168[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -8200[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L10
.L27:
	mov	DWORD PTR -8204[rbp], 2
	jmp	.L28
.L30:
	mov	eax, DWORD PTR -8204[rbp]
	cdqe
	mov	eax, DWORD PTR -8112[rbp+rax*8]
	cmp	eax, -1
	je	.L29
	mov	eax, DWORD PTR -8204[rbp]
	cdqe
	mov	eax, DWORD PTR -8112[rbp+rax*8]
	cmp	eax, 2
	jle	.L29
	mov	eax, DWORD PTR -8204[rbp]
	cdqe
	mov	esi, DWORD PTR -8112[rbp+rax*8]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -8204[rbp]
	push	QWORD PTR -8168[rbp]
	mov	edx, DWORD PTR -8176[rbp]
	push	rdx
	mov	r9d, esi
	mov	r8d, ecx
	mov	ecx, 226
	lea	rdx, __FUNCTION__.0[rip]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -8176[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8204[rbp]
	cdqe
	mov	eax, DWORD PTR -8112[rbp+rax*8]
	mov	rsi, QWORD PTR -8168[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	test	rax, rax
	jns	.L29
	lea	rdi, .LC18[rip]
	call	perror@PLT
.L29:
	add	DWORD PTR -8204[rbp], 1
.L28:
	mov	eax, DWORD PTR -8204[rbp]
	cmp	eax, DWORD PTR -8192[rbp]
	jl	.L30
	mov	eax, DWORD PTR -8200[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -8168[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L10
.L24:
	lea	rax, -4112[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 512
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	eax, DWORD PTR -8112[rbp+rax*8]
	lea	rsi, -4112[rbp]
	mov	ecx, 64
	mov	edx, 4096
	mov	edi, eax
	call	recv@PLT
	mov	DWORD PTR -8176[rbp], eax
	cmp	DWORD PTR -8176[rbp], 0
	js	.L38
	cmp	DWORD PTR -8176[rbp], 0
	jne	.L32
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	eax, DWORD PTR -8112[rbp+rax*8]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	DWORD PTR -8112[rbp+rax*8], -1
	mov	eax, DWORD PTR -8208[rbp]
	cdqe
	mov	WORD PTR -8108[rbp+rax*8], 0
.L32:
	mov	eax, DWORD PTR -8176[rbp]
	movsx	rdx, eax
	lea	rax, -4112[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	jmp	.L24
.L37:
	nop
	jmp	.L10
.L38:
	nop
.L10:
	add	DWORD PTR -8208[rbp], 1
.L8:
	mov	eax, DWORD PTR -8208[rbp]
	cmp	eax, DWORD PTR -8192[rbp]
	jl	.L33
	jmp	.L34
.L36:
	nop
.L7:
	jmp	.L34
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.type	__FUNCTION__.0, @object
	.size	__FUNCTION__.0, 5
__FUNCTION__.0:
	.string	"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	"207276.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: %s <port>\012\000"
	.align	2
.LC1:
	.ascii	"ERROR opening socket\000"
	.align	2
.LC2:
	.ascii	"ERROR on binding\000"
	.align	2
.LC3:
	.ascii	"ERROR on listen\000"
	.align	2
.LC4:
	.ascii	"%s:%d Disconnect on fd %d\012\000"
	.align	2
.LC5:
	.ascii	"%s:%d Error on fd %d\012\000"
	.align	2
.LC6:
	.ascii	"%s:%d Invalid on fd %d\012\000"
	.align	2
.LC7:
	.ascii	"ERROR on accept\000"
	.align	2
.LC8:
	.ascii	"%s:%d exceeded max FDs supported\012\000"
	.align	2
.LC9:
	.ascii	"server established connection on [%d].%d\012\000"
	.align	2
.LC10:
	.ascii	"server established connection on [%d].%d with %s\012"
	.ascii	"\000"
	.align	2
.LC11:
	.ascii	"server established connection on [%d].%d with %s (%"
	.ascii	"s:%d)\012\000"
	.align	2
.LC12:
	.ascii	"%s:%d\012\000"
	.align	2
.LC13:
	.ascii	"/tmp/cmdin\000"
	.align	2
.LC14:
	.ascii	"open\000"
	.align	2
.LC15:
	.ascii	"calloc\000"
	.align	2
.LC16:
	.ascii	"read\000"
	.align	2
.LC17:
	.ascii	"%s:%d fds[%d].fd=%d rc %d\012%s\012\000"
	.align	2
.LC18:
	.ascii	"send\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8192
	sub	sp, sp, #24
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-8]
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-4]
	cmp	r3, #2
	beq	.L2
	ldr	r3, .L39+4
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L39+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	atoi
	str	r0, [r4, #-4068]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [r4, #-4064]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4064]
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L39+12
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-4092]
	sub	r3, fp, #8128
	sub	r3, r3, #12
	sub	r3, r3, #60
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [r0, #-4064]
	bl	setsockopt
	sub	r3, fp, #8128
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4032
	sub	r3, r3, #4
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-4032]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4068]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4032
	sub	r3, r3, #4
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #8128
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [r0, #-4064]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r0, .L39+16
	bl	perror
	mov	r0, #1
	bl	exit
.L4:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #15
	ldr	r0, [r3, #-4064]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L39+20
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #16
	str	r3, [r2]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L39+24
	str	r3, [r2, #-4060]
	sub	r3, fp, #8064
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r0, r3
	mov	r3, #4000
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4064]
	str	r3, [r2, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	mov	r2, #1
	strh	r2, [r3, #4]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3996]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	mov	r2, #1
	strh	r2, [r3, #12]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-4072]
.L34:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-4072]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8064
	sub	r3, r3, #12
	sub	r3, r3, #36
	mvn	r2, #0
	mov	r0, r3
	bl	poll
	str	r0, [r4, #-4056]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4056]
	cmp	r3, #0
	ble	.L36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4088]
	b	.L8
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4088]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #6
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L37
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4088]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #6
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L39+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4080]
	str	r3, [sp]
	mov	r3, #126
	ldr	r2, .L39+28
	ldr	r1, .L39+32
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3996]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4088]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L10
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4088]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #6
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L39+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4080]
	str	r3, [sp]
	mov	r3, #134
	ldr	r2, .L39+28
	ldr	r1, .L39+36
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4088]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L10
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4088]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #6
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L39+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4080]
	str	r3, [sp]
	mov	r3, #142
	ldr	r2, .L39+28
	ldr	r1, .L39+40
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4088]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L10
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4064]
	cmp	r2, r3
	bne	.L14
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	sub	r3, fp, #8064
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-4064]
	bl	accept
	str	r0, [r4, #-4048]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4048]
	cmp	r3, #0
	bge	.L15
	ldr	r0, .L39+44
	bl	perror
	b	.L10
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4072]
	cmp	r3, #500
	ble	.L16
	ldr	r3, .L39+4
	ldr	r0, [r3]
	mov	r3, #157
	ldr	r2, .L39+28
	ldr	r1, .L39+48
	bl	fprintf
	b	.L10
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-4084]
	b	.L17
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	cmn	r3, #1
	bne	.L18
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4048]
	str	r2, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4084]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	str	r3, [r2, #-4076]
	b	.L19
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	add	r3, r3, #1
	str	r3, [r2, #-4084]
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-4084]
	ldr	r3, [r3, #-4072]
	cmp	r2, r3
	blt	.L20
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-4084]
	ldr	r3, [r3, #-4072]
	cmp	r2, r3
	blt	.L21
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4072]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4048]
	str	r2, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4072]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4072]
	str	r3, [r2, #-4076]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4072]
	add	r3, r3, #1
	str	r3, [r2, #-4072]
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8064
	sub	r3, r3, #12
	sub	r3, r3, #52
	add	r3, r3, #4
	mov	r2, #2
	mov	r1, #4
	mov	r0, r3
	bl	gethostbyaddr
	str	r0, [r4, #-4044]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4044]
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L39+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r3, [r3, #-4048]
	ldr	r2, [r2, #-4076]
	ldr	r1, .L39+52
	bl	fprintf
	b	.L10
.L22:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4016]
	bl	inet_ntoa
	str	r0, [r4, #-4040]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4040]
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L39+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4044]
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [sp]
	ldr	r3, [r1, #-4048]
	ldr	r2, [r2, #-4076]
	ldr	r1, .L39+56
	bl	fprintf
	b	.L10
.L23:
	ldr	r3, .L39+4
	ldr	r5, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4044]
	ldr	r4, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4016
	sub	r3, r3, #4
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	htons
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [sp, #8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4040]
	str	r3, [sp, #4]
	str	r4, [sp]
	ldr	r3, [r1, #-4048]
	ldr	r2, [r2, #-4076]
	ldr	r1, .L39+60
	mov	r0, r5
	bl	fprintf
	b	.L7
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	cmp	r3, #0
	bne	.L24
	ldr	r3, .L39+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	cmp	r3, #85
	bne	.L10
	ldr	r3, .L39+4
	ldr	r0, [r3]
	mov	r3, #204
	ldr	r2, .L39+28
	ldr	r1, .L39+68
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #0
	ldr	r0, .L39+72
	bl	open
	str	r0, [r4, #-4080]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4080]
	cmp	r3, #0
	bge	.L25
	ldr	r0, .L39+76
	bl	perror
	b	.L10
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #4096
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [r4, #-4052]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4052]
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L39+80
	bl	perror
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4080]
	bl	close
	b	.L10
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #4096
	ldr	r1, [r1, #-4052]
	ldr	r0, [r3, #-4080]
	bl	read
	str	r0, [r4, #-4056]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4056]
	cmp	r3, #0
	bgt	.L27
	ldr	r0, .L39+84
	bl	perror
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4052]
	bl	free
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4080]
	bl	close
	b	.L10
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-4084]
	b	.L28
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	cmn	r3, #1
	beq	.L29
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	cmp	r3, #2
	ble	.L29
	ldr	r3, .L39+4
	ldr	r0, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4052]
	str	r2, [sp, #12]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4056]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	str	r3, [sp]
	mov	r3, #226
	ldr	r2, .L39+28
	ldr	r1, .L39+88
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r0, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-4056]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, #0
	ldr	r1, [r1, #-4052]
	bl	send
	mov	r3, r0
	cmp	r3, #0
	bge	.L29
	ldr	r0, .L39+92
	bl	perror
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4084]
	add	r3, r3, #1
	str	r3, [r2, #-4084]
.L28:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-4084]
	ldr	r3, [r3, #-4072]
	cmp	r2, r3
	blt	.L30
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4080]
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-4052]
	bl	free
	b	.L10
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #4096
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r0, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #4096
	sub	r1, r1, #12
	sub	r1, r1, #4
	mov	r3, #64
	mov	r2, #4096
	bl	recv
	str	r0, [r4, #-4056]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4056]
	cmp	r3, #0
	blt	.L38
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4056]
	cmp	r3, #0
	bne	.L32
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4000
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-4088]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-4056]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, #1
	bl	write
	b	.L24
.L37:
	nop
	b	.L10
.L38:
	nop
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-4088]
	add	r3, r3, #1
	str	r3, [r2, #-4088]
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-4088]
	ldr	r3, [r3, #-4072]
	cmp	r2, r3
	blt	.L33
	b	.L34
.L36:
	nop
.L7:
	b	.L34
.L40:
	.align	2
.L39:
	.word	.LC19
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	10000
	.word	__FUNCTION__.7243
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	stdin
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__FUNCTION__.7243, %object
	.size	__FUNCTION__.7243, 5
__FUNCTION__.7243:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
