	.file	"104642.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"usage: %s [-v] -f pipe/file\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC1:
	.string	"vhf:"
.LC2:
	.string	"calloc"
.LC3:
	.string	"ERROR opening socket"
.LC4:
	.string	"unlink"
.LC5:
	.string	"ERROR on binding"
.LC6:
	.string	"ERROR on listen"
.LC7:
	.string	"chmod"
.LC8:
	.string	"%s:%d Disconnect on fd %d\n"
.LC9:
	.string	"%s:%d Error on fd %d\n"
.LC10:
	.string	"%s:%d Invalid on fd %d\n"
.LC11:
	.string	"ERROR on accept"
	.align 8
.LC12:
	.string	"%s:%d exceeded max FDs supported\n"
	.align 8
.LC13:
	.string	"server established connection on [%d].%d\n"
.LC14:
	.string	"%s:%d\n"
.LC15:
	.string	"/tmp/cmdin"
.LC16:
	.string	"open"
.LC17:
	.string	"read"
.LC18:
	.string	"%s:%d fds[%d].fd=%d rc %d\n%s\n"
.LC19:
	.string	"write"
.LC20:
	.string	"/tmp/protstats.log"
.LC21:
	.string	"%d\n"
.LC22:
	.string	"Closed: total %ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 320
	mov	DWORD PTR -4404[rbp], edi
	mov	QWORD PTR -4416[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -4364[rbp], 0
	cmp	DWORD PTR -4404[rbp], 1
	jg	.L4
	mov	rax, QWORD PTR -4416[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
	jmp	.L4
.L7:
	cmp	DWORD PTR -4356[rbp], 102
	je	.L5
	cmp	DWORD PTR -4356[rbp], 118
	jne	.L6
	add	DWORD PTR -4364[rbp], 1
	jmp	.L4
.L5:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -4336[rbp], rax
	jmp	.L4
.L6:
	mov	rax, QWORD PTR -4416[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	usage
	nop
.L4:
	mov	rcx, QWORD PTR -4416[rbp]
	mov	eax, DWORD PTR -4404[rbp]
	lea	rdx, .LC1[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4356[rbp], eax
	cmp	DWORD PTR -4356[rbp], 0
	jg	.L7
	mov	esi, 16777216
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -4320[rbp], rax
	cmp	QWORD PTR -4320[rbp], 0
	jne	.L8
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L8:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -4352[rbp], eax
	cmp	DWORD PTR -4352[rbp], 0
	jns	.L9
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	DWORD PTR -4388[rbp], 1
	lea	rdx, -4388[rbp]
	mov	eax, DWORD PTR -4352[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	lea	rax, -4304[rbp]
	mov	rdx, rax
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	WORD PTR [rdx], ax
	add	rdx, 2
	mov	WORD PTR -4304[rbp], 1
	mov	rax, QWORD PTR -4336[rbp]
	lea	rdx, -4304[rbp]
	lea	rcx, 2[rdx]
	mov	edx, 107
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	rax, QWORD PTR -4336[rbp]
	mov	rdi, rax
	call	unlink@PLT
	cmp	eax, -1
	jne	.L10
	lea	rdi, .LC4[rip]
	call	perror@PLT
.L10:
	lea	rcx, -4304[rbp]
	mov	eax, DWORD PTR -4352[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	jns	.L11
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	eax, DWORD PTR -4352[rbp]
	mov	esi, 15
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L12
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	rax, QWORD PTR -4336[rbp]
	mov	esi, 511
	mov	rdi, rax
	call	chmod@PLT
	cmp	eax, -1
	jne	.L13
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L13:
	mov	DWORD PTR -4392[rbp], 110
	mov	DWORD PTR -4348[rbp], 10000
	lea	rax, -4080[rbp]
	mov	rsi, rax
	mov	eax, 0
	mov	edx, 500
	mov	rdi, rsi
	mov	rcx, rdx
	rep stosq
	mov	eax, DWORD PTR -4352[rbp]
	mov	DWORD PTR -4080[rbp], eax
	mov	WORD PTR -4076[rbp], 1
	mov	DWORD PTR -4072[rbp], 0
	mov	WORD PTR -4068[rbp], 1
	mov	DWORD PTR -4368[rbp], 2
.L46:
	mov	eax, DWORD PTR -4368[rbp]
	movsx	rcx, eax
	lea	rax, -4080[rbp]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	poll@PLT
	mov	DWORD PTR -4344[rbp], eax
	cmp	DWORD PTR -4344[rbp], 0
	jle	.L48
	mov	DWORD PTR -4384[rbp], 0
	jmp	.L16
.L45:
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	movzx	eax, WORD PTR -4074[rbp+rax*8]
	test	ax, ax
	je	.L49
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	movzx	eax, WORD PTR -4074[rbp+rax*8]
	cwde
	and	eax, 16
	test	eax, eax
	je	.L19
	mov	eax, DWORD PTR -4376[rbp]
	mov	ecx, eax
	mov	edx, 130
	lea	rsi, __FUNCTION__.0[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4072[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	DWORD PTR -4080[rbp+rax*8], -1
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	WORD PTR -4076[rbp+rax*8], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	movzx	eax, WORD PTR -4074[rbp+rax*8]
	cwde
	and	eax, 8
	test	eax, eax
	je	.L20
	mov	eax, DWORD PTR -4376[rbp]
	mov	ecx, eax
	mov	edx, 138
	lea	rsi, __FUNCTION__.0[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	eax, DWORD PTR -4080[rbp+rax*8]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	DWORD PTR -4080[rbp+rax*8], -1
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	WORD PTR -4076[rbp+rax*8], 0
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	movzx	eax, WORD PTR -4074[rbp+rax*8]
	cwde
	and	eax, 32
	test	eax, eax
	je	.L21
	mov	eax, DWORD PTR -4376[rbp]
	mov	ecx, eax
	mov	edx, 146
	lea	rsi, __FUNCTION__.0[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	eax, DWORD PTR -4080[rbp+rax*8]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	DWORD PTR -4080[rbp+rax*8], -1
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	WORD PTR -4076[rbp+rax*8], 0
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	eax, DWORD PTR -4080[rbp+rax*8]
	cmp	DWORD PTR -4352[rbp], eax
	jne	.L22
	lea	rdx, -4392[rbp]
	lea	rcx, -4192[rbp]
	mov	eax, DWORD PTR -4352[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -4340[rbp], eax
	cmp	DWORD PTR -4340[rbp], 0
	jns	.L23
	lea	rdi, .LC11[rip]
	call	perror@PLT
	jmp	.L18
.L23:
	cmp	DWORD PTR -4368[rbp], 500
	jle	.L24
	mov	edx, 161
	lea	rsi, __FUNCTION__.0[rip]
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L24:
	mov	DWORD PTR -4380[rbp], 0
	jmp	.L25
.L28:
	mov	eax, DWORD PTR -4380[rbp]
	cdqe
	mov	eax, DWORD PTR -4080[rbp+rax*8]
	cmp	eax, -1
	jne	.L26
	mov	eax, DWORD PTR -4380[rbp]
	cdqe
	mov	edx, DWORD PTR -4340[rbp]
	mov	DWORD PTR -4080[rbp+rax*8], edx
	mov	eax, DWORD PTR -4380[rbp]
	cdqe
	mov	WORD PTR -4076[rbp+rax*8], 1
	mov	eax, DWORD PTR -4380[rbp]
	mov	DWORD PTR -4372[rbp], eax
	jmp	.L27
.L26:
	add	DWORD PTR -4380[rbp], 1
.L25:
	mov	eax, DWORD PTR -4380[rbp]
	cmp	eax, DWORD PTR -4368[rbp]
	jl	.L28
.L27:
	mov	eax, DWORD PTR -4380[rbp]
	cmp	eax, DWORD PTR -4368[rbp]
	jl	.L29
	mov	eax, DWORD PTR -4368[rbp]
	cdqe
	mov	edx, DWORD PTR -4340[rbp]
	mov	DWORD PTR -4080[rbp+rax*8], edx
	mov	eax, DWORD PTR -4368[rbp]
	cdqe
	mov	WORD PTR -4076[rbp+rax*8], 1
	mov	eax, DWORD PTR -4368[rbp]
	mov	DWORD PTR -4372[rbp], eax
	add	DWORD PTR -4368[rbp], 1
.L29:
	mov	edx, DWORD PTR -4340[rbp]
	mov	eax, DWORD PTR -4372[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L15
.L22:
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	eax, DWORD PTR -4080[rbp+rax*8]
	test	eax, eax
	jne	.L30
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 85
	jne	.L18
	mov	edx, 190
	lea	rsi, __FUNCTION__.0[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 0
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4376[rbp], eax
	cmp	DWORD PTR -4376[rbp], 0
	jns	.L31
	lea	rdi, .LC16[rip]
	call	perror@PLT
	jmp	.L18
.L31:
	mov	esi, 16777216
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -4312[rbp], rax
	cmp	QWORD PTR -4312[rbp], 0
	jne	.L32
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -4376[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L18
.L32:
	mov	rcx, QWORD PTR -4312[rbp]
	mov	eax, DWORD PTR -4376[rbp]
	mov	edx, 16777216
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -4344[rbp], eax
	cmp	DWORD PTR -4344[rbp], 0
	jg	.L33
	lea	rdi, .LC17[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -4312[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -4376[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L18
.L33:
	mov	DWORD PTR -4380[rbp], 2
	jmp	.L34
.L36:
	mov	eax, DWORD PTR -4380[rbp]
	cdqe
	mov	eax, DWORD PTR -4080[rbp+rax*8]
	cmp	eax, -1
	je	.L35
	mov	eax, DWORD PTR -4380[rbp]
	cdqe
	mov	eax, DWORD PTR -4080[rbp+rax*8]
	cmp	eax, 2
	jle	.L35
	mov	eax, DWORD PTR -4380[rbp]
	cdqe
	mov	edx, DWORD PTR -4080[rbp+rax*8]
	mov	ecx, DWORD PTR -4344[rbp]
	mov	eax, DWORD PTR -4380[rbp]
	sub	rsp, 8
	push	QWORD PTR -4312[rbp]
	mov	r9d, ecx
	mov	r8d, edx
	mov	ecx, eax
	mov	edx, 212
	lea	rsi, __FUNCTION__.0[rip]
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	eax, DWORD PTR -4344[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -4380[rbp]
	cdqe
	mov	eax, DWORD PTR -4080[rbp+rax*8]
	mov	rcx, QWORD PTR -4312[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	test	rax, rax
	jns	.L35
	lea	rdi, .LC19[rip]
	call	perror@PLT
.L35:
	add	DWORD PTR -4380[rbp], 1
.L34:
	mov	eax, DWORD PTR -4380[rbp]
	cmp	eax, DWORD PTR -4368[rbp]
	jl	.L36
	mov	eax, DWORD PTR -4376[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -4312[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L18
.L30:
	mov	QWORD PTR -4328[rbp], 0
	mov	edx, 226
	lea	rsi, __FUNCTION__.0[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -4364[rbp], 2
	jle	.L44
	mov	esi, 1090
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4360[rbp], eax
	cmp	DWORD PTR -4360[rbp], 0
	jns	.L44
	lea	rdi, .LC16[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L44:
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	eax, DWORD PTR -4080[rbp+rax*8]
	mov	rcx, QWORD PTR -4320[rbp]
	mov	edx, 16777216
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -4344[rbp], eax
	cmp	DWORD PTR -4344[rbp], 0
	jns	.L38
	lea	rdi, .LC17[rip]
	call	perror@PLT
.L38:
	cmp	DWORD PTR -4344[rbp], 0
	jle	.L39
	cmp	DWORD PTR -4364[rbp], 0
	jle	.L40
	mov	eax, DWORD PTR -4344[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
.L40:
	mov	eax, DWORD PTR -4344[rbp]
	cdqe
	add	QWORD PTR -4328[rbp], rax
.L39:
	cmp	DWORD PTR -4344[rbp], 0
	jne	.L41
	mov	eax, DWORD PTR -4384[rbp]
	cdqe
	mov	eax, DWORD PTR -4080[rbp+rax*8]
	mov	edi, eax
	call	close@PLT
	mov	rdx, QWORD PTR -4328[rbp]
	lea	rax, -80[rbp]
	mov	rcx, rdx
	lea	rdx, .LC22[rip]
	mov	esi, 64
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	puts@PLT
	cmp	DWORD PTR -4364[rbp], 2
	jle	.L50
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -80[rbp]
	mov	eax, DWORD PTR -4360[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -4360[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L50
.L41:
	cmp	DWORD PTR -4364[rbp], 1
	jle	.L44
	mov	eax, DWORD PTR -4344[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -4320[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	jmp	.L44
.L49:
	nop
	jmp	.L18
.L50:
	nop
.L18:
	add	DWORD PTR -4384[rbp], 1
.L16:
	mov	eax, DWORD PTR -4384[rbp]
	cmp	eax, DWORD PTR -4368[rbp]
	jl	.L45
	jmp	.L46
.L48:
	nop
.L15:
	jmp	.L46
	.cfi_endproc
.LFE7:
	.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	"104642.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: %s [-v] -f pipe/file\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ 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	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+4
	mov	r0, r3
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"vhf:\000"
	.align	2
.LC2:
	.ascii	"calloc\000"
	.align	2
.LC3:
	.ascii	"ERROR opening socket\000"
	.align	2
.LC4:
	.ascii	"unlink\000"
	.align	2
.LC5:
	.ascii	"ERROR on binding\000"
	.align	2
.LC6:
	.ascii	"ERROR on listen\000"
	.align	2
.LC7:
	.ascii	"chmod\000"
	.align	2
.LC8:
	.ascii	"%s:%d Disconnect on fd %d\012\000"
	.align	2
.LC9:
	.ascii	"%s:%d Error on fd %d\012\000"
	.align	2
.LC10:
	.ascii	"%s:%d Invalid on fd %d\012\000"
	.align	2
.LC11:
	.ascii	"ERROR on accept\000"
	.align	2
.LC12:
	.ascii	"%s:%d exceeded max FDs supported\012\000"
	.align	2
.LC13:
	.ascii	"server established connection on [%d].%d\012\000"
	.align	2
.LC14:
	.ascii	"%s:%d\012\000"
	.align	2
.LC15:
	.ascii	"/tmp/cmdin\000"
	.align	2
.LC16:
	.ascii	"open\000"
	.align	2
.LC17:
	.ascii	"read\000"
	.align	2
.LC18:
	.ascii	"%s:%d fds[%d].fd=%d rc %d\012%s\012\000"
	.align	2
.LC19:
	.ascii	"write\000"
	.align	2
.LC20:
	.ascii	"/tmp/protstats.log\000"
	.align	2
.LC21:
	.ascii	"%d\012\000"
	.align	2
.LC22:
	.ascii	"Closed: total %ld\012\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4384
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #4352
	sub	sp, sp, #52
	sub	r3, fp, #4096
	sub	r3, r3, #20
	str	r0, [r3, #-284]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	str	r1, [r3, #-288]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-244]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-284]
	cmp	r3, #1
	bgt	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-288]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	b	.L6
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-236]
	cmp	r3, #102
	beq	.L7
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-236]
	cmp	r3, #118
	bne	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-244]
	add	r3, r3, #1
	str	r3, [r2, #-244]
	b	.L6
.L7:
	ldr	r3, .L53+4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r6, r2
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [r6, #-268]
	b	.L6
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-288]
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	nop
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, .L53+8
	ldr	r1, [r1, #-288]
	ldr	r0, [r3, #-284]
	bl	getopt
	str	r0, [r6, #-236]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-236]
	cmp	r3, #0
	bgt	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	mov	r1, #16777216
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [r6, #-232]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-232]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L53+12
	bl	perror
	mvn	r0, #0
	bl	exit
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [r6, #-228]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-228]
	cmp	r3, #0
	bge	.L11
	ldr	r0, .L53+16
	bl	perror
	mov	r0, #1
	bl	exit
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-272]
	sub	r3, fp, #4352
	sub	r3, r3, #20
	sub	r3, r3, #16
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r0, r2
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [r0, #-228]
	bl	setsockopt
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #110
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, #1
	strh	r2, [r3, #-196]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #4
	add	r3, r3, #2
	mov	r2, #107
	ldr	r1, [r1, #-268]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-268]
	bl	unlink
	mov	r3, r0
	cmn	r3, #1
	bne	.L12
	ldr	r0, .L53+20
	bl	perror
.L12:
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r0, r2
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [r0, #-228]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	bge	.L13
	ldr	r0, .L53+24
	bl	perror
	mov	r0, #1
	bl	exit
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, #15
	ldr	r0, [r3, #-228]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L14
	ldr	r0, .L53+28
	bl	perror
	mov	r0, #1
	bl	exit
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r1, .L53+32
	ldr	r0, [r3, #-268]
	bl	chmod
	mov	r3, r0
	cmn	r3, #1
	bne	.L15
	ldr	r0, .L53+36
	bl	perror
	mvn	r0, #0
	bl	exit
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #110
	str	r3, [r2, #-276]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	ldr	r3, .L53+40
	str	r3, [r2, #-224]
	sub	r3, fp, #4080
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, #4000
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-228]
	str	r3, [fp, #-4088]
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	mov	r2, #1
	strh	r2, [r3, #4]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-4080]
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	mov	r2, #1
	strh	r2, [r3, #12]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-248]
.L48:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r1, [r3, #-248]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	sub	r3, fp, #4080
	sub	r3, r3, #4
	sub	r3, r3, #4
	mvn	r2, #0
	mov	r0, r3
	bl	poll
	str	r0, [r6, #-220]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-220]
	cmp	r3, #0
	ble	.L50
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-264]
	b	.L18
.L47:
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-264]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #6
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L51
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-264]
	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	.L21
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-256]
	mov	r2, #130
	ldr	r1, .L53+44
	ldr	r0, .L53+48
	bl	printf
	ldr	r3, [fp, #-4080]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-4068]
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-264]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L20
.L21:
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-264]
	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	.L22
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-256]
	mov	r2, #138
	ldr	r1, .L53+44
	ldr	r0, .L53+52
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-4068]
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-264]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L20
.L22:
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-264]
	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	.L23
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-256]
	mov	r2, #146
	ldr	r1, .L53+44
	ldr	r0, .L53+56
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #-4068]
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-264]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L20
.L23:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-228]
	cmp	r2, r3
	bne	.L24
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	sub	r2, fp, #4352
	sub	r2, r2, #20
	sub	r2, r2, #20
	sub	r3, fp, #4160
	sub	r3, r3, #20
	sub	r3, r3, #20
	sub	r1, fp, #4096
	sub	r1, r1, #20
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-228]
	bl	accept
	str	r0, [r6, #-212]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-212]
	cmp	r3, #0
	bge	.L25
	ldr	r0, .L53+60
	bl	perror
	b	.L20
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-248]
	cmp	r3, #500
	ble	.L26
	mov	r2, #161
	ldr	r1, .L53+44
	ldr	r0, .L53+64
	bl	printf
	b	.L20
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-260]
	b	.L27
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-260]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	cmn	r3, #1
	bne	.L28
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-260]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-212]
	str	r2, [r3, #-4068]
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-260]
	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, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-260]
	str	r3, [r2, #-252]
	b	.L29
.L28:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-260]
	add	r3, r3, #1
	str	r3, [r2, #-260]
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-260]
	ldr	r3, [r3, #-248]
	cmp	r2, r3
	blt	.L30
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-260]
	ldr	r3, [r3, #-248]
	cmp	r2, r3
	blt	.L31
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-248]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-212]
	str	r2, [r3, #-4068]
	sub	r3, fp, #20
	sub	r3, r3, #4064
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-248]
	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, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-248]
	str	r3, [r2, #-252]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-248]
	add	r3, r3, #1
	str	r3, [r2, #-248]
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-212]
	ldr	r1, [r3, #-252]
	ldr	r0, .L53+68
	bl	printf
	b	.L17
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L53+72
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	cmp	r3, #85
	bne	.L20
	mov	r2, #190
	ldr	r1, .L53+44
	ldr	r0, .L53+76
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	mov	r1, #0
	ldr	r0, .L53+80
	bl	open
	str	r0, [r6, #-256]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-256]
	cmp	r3, #0
	bge	.L33
	ldr	r0, .L53+84
	bl	perror
	b	.L20
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	mov	r1, #16777216
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [r6, #-216]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-216]
	cmp	r3, #0
	bne	.L34
	ldr	r0, .L53+12
	bl	perror
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-256]
	bl	close
	b	.L20
.L34:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, #16777216
	ldr	r1, [r1, #-216]
	ldr	r0, [r3, #-256]
	bl	read
	str	r0, [r6, #-220]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-220]
	cmp	r3, #0
	bgt	.L35
	ldr	r0, .L53+88
	bl	perror
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-216]
	bl	free
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-256]
	bl	close
	b	.L20
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-260]
	b	.L36
.L38:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-260]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	cmn	r3, #1
	beq	.L37
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-260]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	cmp	r3, #2
	ble	.L37
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-260]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-216]
	str	r2, [sp, #8]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-220]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [r1, #-260]
	mov	r2, #212
	ldr	r1, .L53+44
	ldr	r0, .L53+92
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-260]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	ldr	r2, [r2, #-220]
	sub	r1, fp, #4096
	sub	r1, r1, #20
	ldr	r1, [r1, #-216]
	mov	r0, r3
	bl	write
	mov	r3, r0
	cmp	r3, #0
	bge	.L37
	ldr	r0, .L53+96
	bl	perror
.L37:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-260]
	add	r3, r3, #1
	str	r3, [r2, #-260]
.L36:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-260]
	ldr	r3, [r3, #-248]
	cmp	r2, r3
	blt	.L38
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-256]
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-216]
	bl	free
	b	.L20
.L32:
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #16
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r2, #226
	ldr	r1, .L53+44
	ldr	r0, .L53+76
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-244]
	cmp	r3, #2
	ble	.L46
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r6, r3
	ldr	r1, .L53+100
	ldr	r0, .L53+104
	bl	open
	str	r0, [r6, #-240]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-240]
	cmp	r3, #0
	bge	.L46
	ldr	r0, .L53+84
	bl	perror
	mvn	r0, #0
	bl	exit
.L46:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r6, r2
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r1, r2
	mov	r2, #16777216
	ldr	r1, [r1, #-232]
	mov	r0, r3
	bl	read
	str	r0, [r6, #-220]
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-220]
	cmp	r3, #0
	bge	.L40
	ldr	r0, .L53+88
	bl	perror
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-220]
	cmp	r3, #0
	ble	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-244]
	cmp	r3, #0
	ble	.L42
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r1, [r3, #-220]
	ldr	r0, .L53+108
	bl	printf
.L42:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-220]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #4288
	sub	r1, r1, #20
	sub	r1, r1, #16
	mov	ip, r1
	sub	r1, fp, #4288
	sub	r1, r1, #20
	sub	r1, r1, #16
	ldmia	r1, {r0-r1}
	adds	r4, r0, r2
	adc	r5, r1, r3
	stm	ip, {r4-r5}
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-220]
	cmp	r3, #0
	bne	.L43
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-4068]
	mov	r0, r3
	bl	close
	sub	r0, fp, #88
	sub	r3, fp, #4288
	sub	r3, r3, #20
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, .L53+112
	mov	r1, #64
	bl	snprintf
	sub	r3, fp, #88
	mov	r0, r3
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-244]
	cmp	r3, #2
	ble	.L52
	sub	r3, fp, #88
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #88
	sub	r1, fp, #4096
	sub	r1, r1, #20
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-240]
	bl	write
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r0, [r3, #-240]
	bl	close
	b	.L52
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-244]
	cmp	r3, #1
	ble	.L46
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-220]
	sub	r2, fp, #4096
	sub	r2, r2, #20
	mov	r1, r2
	mov	r2, r3
	ldr	r1, [r1, #-232]
	mov	r0, #1
	bl	write
	b	.L46
.L51:
	nop
	b	.L20
.L52:
	nop
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r3, [r3, #-264]
	add	r3, r3, #1
	str	r3, [r2, #-264]
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #20
	ldr	r2, [r2, #-264]
	ldr	r3, [r3, #-248]
	cmp	r2, r3
	blt	.L47
	b	.L48
.L50:
	nop
.L17:
	b	.L48
.L54:
	.align	2
.L53:
	.word	.LC23
	.word	optarg
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	511
	.word	.LC7
	.word	10000
	.word	__FUNCTION__.6772
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	stdin
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	1090
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__FUNCTION__.6772, %object
	.size	__FUNCTION__.6772, 5
__FUNCTION__.6772:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
