	.file	"316803.c"
	.intel_syntax noprefix
	.text
	.globl	lines
	.bss
	.align 4
	.type	lines, @object
	.size	lines, 4
lines:
	.zero	4
	.globl	words
	.align 4
	.type	words, @object
	.size	words, 4
words:
	.zero	4
	.globl	chars
	.align 4
	.type	chars, @object
	.size	chars, 4
chars:
	.zero	4
	.globl	total_lines
	.align 4
	.type	total_lines, @object
	.size	total_lines, 4
total_lines:
	.zero	4
	.globl	total_words
	.align 4
	.type	total_words, @object
	.size	total_words, 4
total_words:
	.zero	4
	.globl	total_chars
	.align 4
	.type	total_chars, @object
	.size	total_chars, 4
total_chars:
	.zero	4
	.text
	.globl	getCounts
	.type	getCounts, @function
getCounts:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR lines[rip], 0
	mov	DWORD PTR words[rip], 0
	mov	DWORD PTR chars[rip], 0
	mov	DWORD PTR -8[rbp], 32
	jmp	.L2
.L5:
	mov	eax, DWORD PTR chars[rip]
	add	eax, 1
	mov	DWORD PTR chars[rip], eax
	cmp	DWORD PTR -4[rbp], 10
	jne	.L3
	mov	eax, DWORD PTR lines[rip]
	add	eax, 1
	mov	DWORD PTR lines[rip], eax
.L3:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L4
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR words[rip]
	add	eax, 1
	mov	DWORD PTR words[rip], eax
.L4:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L5
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR words[rip]
	add	eax, 1
	mov	DWORD PTR words[rip], eax
.L6:
	mov	edx, DWORD PTR total_lines[rip]
	mov	eax, DWORD PTR lines[rip]
	add	eax, edx
	mov	DWORD PTR total_lines[rip], eax
	mov	edx, DWORD PTR total_words[rip]
	mov	eax, DWORD PTR words[rip]
	add	eax, edx
	mov	DWORD PTR total_words[rip], eax
	mov	edx, DWORD PTR total_chars[rip]
	mov	eax, DWORD PTR chars[rip]
	add	eax, edx
	mov	DWORD PTR total_chars[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getCounts, .-getCounts
	.section	.rodata
.LC0:
	.string	"\t%d"
.LC1:
	.string	"\t%s\n"
	.text
	.globl	printInfo
	.type	printInfo, @function
printInfo:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 3
	jle	.L9
	mov	eax, DWORD PTR lines[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -4[rbp], 4
.L9:
	cmp	DWORD PTR -4[rbp], 1
	jle	.L10
	mov	eax, DWORD PTR words[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -4[rbp], 2
.L10:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L11
	mov	eax, DWORD PTR chars[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printInfo, .-printInfo
	.section	.rodata
.LC2:
	.string	"--help"
	.align 8
.LC3:
	.ascii	"Usage: simple-wc [OPTION]... [FI"
	.string	"LE]...\nPrints line, word, and character counts for each FILE, and totals if more than one FILE is given.\nWhen no FILE is provided, or FILE is -, reads from standard input.\n\nOptions:\n-m : print character counts\n-w : print word counts\n-l : print line counts\n"
	.align 8
.LC4:
	.string	"simple-wc: invalid option -- '%c'\nTry 'simple-wc --help' for more information.\n"
.LC5:
	.string	"r"
	.align 8
.LC6:
	.string	"simple-wc: %s: No such file or directory\n"
.LC7:
	.string	""
.LC8:
	.string	"total"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 1
	jmp	.L13
.L22:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L14
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	jbe	.L14
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 288
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	mov	QWORD PTR -16[rbp], 1
	jmp	.L16
.L21:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 109
	je	.L17
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 108
	je	.L17
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 119
	je	.L17
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 109
	jne	.L18
	cmp	DWORD PTR -36[rbp], 0
	jne	.L18
	add	DWORD PTR -44[rbp], 1
	mov	DWORD PTR -36[rbp], 1
	jmp	.L19
.L18:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 119
	jne	.L20
	cmp	DWORD PTR -28[rbp], 0
	jne	.L20
	add	DWORD PTR -44[rbp], 2
	mov	DWORD PTR -28[rbp], 1
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 108
	jne	.L19
	cmp	DWORD PTR -32[rbp], 0
	jne	.L19
	add	DWORD PTR -44[rbp], 4
	mov	DWORD PTR -32[rbp], 1
.L19:
	add	QWORD PTR -16[rbp], 1
.L16:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	QWORD PTR -16[rbp], rax
	jb	.L21
	add	DWORD PTR -40[rbp], 1
.L14:
	add	DWORD PTR -24[rbp], 1
.L13:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L22
	cmp	DWORD PTR -40[rbp], 0
	jne	.L23
	mov	DWORD PTR -44[rbp], 7
.L23:
	mov	DWORD PTR -20[rbp], 1
	jmp	.L24
.L28:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L25
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 1
	jne	.L25
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getCounts
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	printInfo
	jmp	.L26
.L25:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L26
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L27
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	getCounts
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	printInfo
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L26:
	add	DWORD PTR -20[rbp], 1
.L24:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L28
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, DWORD PTR -40[rbp]
	cmp	eax, 1
	jg	.L29
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	getCounts
	mov	eax, DWORD PTR -44[rbp]
	lea	rsi, .LC7[rip]
	mov	edi, eax
	call	printInfo
.L29:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, DWORD PTR -40[rbp]
	cmp	eax, 2
	jle	.L30
	mov	eax, DWORD PTR total_lines[rip]
	mov	DWORD PTR lines[rip], eax
	mov	eax, DWORD PTR total_words[rip]
	mov	DWORD PTR words[rip], eax
	mov	eax, DWORD PTR total_chars[rip]
	mov	DWORD PTR chars[rip], eax
	mov	eax, DWORD PTR -44[rbp]
	lea	rsi, .LC8[rip]
	mov	edi, eax
	call	printInfo
.L30:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"316803.c"
	.text
	.global	lines
	.bss
	.align	2
	.type	lines, %object
	.size	lines, 4
lines:
	.space	4
	.global	words
	.align	2
	.type	words, %object
	.size	words, 4
words:
	.space	4
	.global	chars
	.align	2
	.type	chars, %object
	.size	chars, 4
chars:
	.space	4
	.global	total_lines
	.align	2
	.type	total_lines, %object
	.size	total_lines, 4
total_lines:
	.space	4
	.global	total_words
	.align	2
	.type	total_words, %object
	.size	total_words, 4
total_words:
	.space	4
	.global	total_chars
	.align	2
	.type	total_chars, %object
	.size	total_chars, 4
total_chars:
	.space	4
	.text
	.align	2
	.global	getCounts
	.syntax unified
	.arm
	.fpu softvfp
	.type	getCounts, %function
getCounts:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L8+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L8+8
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #32
	str	r3, [fp, #-12]
	b	.L2
.L5:
	ldr	r3, .L8+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+8
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L3
	ldr	r3, .L8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8
	str	r3, [r2]
.L3:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L4
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L8+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+4
	str	r3, [r2]
.L4:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L2:
	ldr	r0, [fp, #-16]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L5
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L8+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L8+4
	str	r3, [r2]
.L6:
	ldr	r3, .L8+12
	ldr	r2, [r3]
	ldr	r3, .L8
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L8+12
	str	r3, [r2]
	ldr	r3, .L8+16
	ldr	r2, [r3]
	ldr	r3, .L8+4
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L8+16
	str	r3, [r2]
	ldr	r3, .L8+20
	ldr	r2, [r3]
	ldr	r3, .L8+8
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L8+20
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	lines
	.word	words
	.word	chars
	.word	total_lines
	.word	total_words
	.word	total_chars
	.size	getCounts, .-getCounts
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\011%d\000"
	.align	2
.LC1:
	.ascii	"\011%s\012\000"
	.text
	.align	2
	.global	printInfo
	.syntax unified
	.arm
	.fpu softvfp
	.type	printInfo, %function
printInfo:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L11
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L14+4
	bl	printf
	ldr	r3, [fp, #-8]
	sub	r3, r3, #4
	str	r3, [fp, #-8]
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L12
	ldr	r3, .L14+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L14+4
	bl	printf
	ldr	r3, [fp, #-8]
	sub	r3, r3, #2
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L13
	ldr	r3, .L14+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L14+4
	bl	printf
.L13:
	ldr	r1, [fp, #-20]
	ldr	r0, .L14+16
	bl	printf
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	lines
	.word	.LC0
	.word	words
	.word	chars
	.word	.LC1
	.size	printInfo, .-printInfo
	.section	.rodata
	.align	2
.LC2:
	.ascii	"--help\000"
	.align	2
.LC3:
	.ascii	"Usage: simple-wc [OPTION]... [FILE]...\012Prints li"
	.ascii	"ne, word, and character counts for each FILE, and t"
	.ascii	"otals if more than one FILE is given.\012When no FI"
	.ascii	"LE is provided, or FILE is -, reads from standard i"
	.ascii	"nput.\012\012Options:\012-m : print character count"
	.ascii	"s\012-w : print word counts\012-l : print line coun"
	.ascii	"ts\012\000"
	.align	2
.LC4:
	.ascii	"simple-wc: invalid option -- '%c'\012Try 'simple-wc"
	.ascii	" --help' for more information.\012\000"
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"simple-wc: %s: No such file or directory\012\000"
	.align	2
.LC7:
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"total\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L17
.L26:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L18
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bls	.L18
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldr	r3, .L36+4
	ldr	r3, [r3]
	mov	r2, #288
	mov	r1, #1
	ldr	r0, .L36+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L19:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L20
.L25:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #109
	beq	.L21
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #108
	beq	.L21
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #119
	beq	.L21
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L36+12
	bl	fprintf
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #109
	bne	.L22
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L23
.L22:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #119
	bne	.L24
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-40]
	add	r3, r3, #2
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L23
.L24:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #108
	bne	.L23
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-28]
.L23:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L20:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-16]
	cmp	r3, r2
	bcc	.L25
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L18:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L17:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L27
	mov	r3, #7
	str	r3, [fp, #-40]
.L27:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L28
.L32:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L29
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #1
	bne	.L29
	ldr	r3, .L36+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	getCounts
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	printInfo
	b	.L30
.L29:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L30
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L36+20
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L36+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L36+24
	bl	fprintf
	b	.L30
.L31:
	ldr	r0, [fp, #-8]
	bl	getCounts
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	printInfo
	ldr	r0, [fp, #-8]
	bl	fclose
.L30:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L28:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L32
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	cmp	r3, #1
	bgt	.L33
	ldr	r3, .L36+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	getCounts
	ldr	r1, .L36+28
	ldr	r0, [fp, #-40]
	bl	printInfo
.L33:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	cmp	r3, #2
	ble	.L34
	ldr	r3, .L36+32
	ldr	r3, [r3]
	ldr	r2, .L36+36
	str	r3, [r2]
	ldr	r3, .L36+40
	ldr	r3, [r3]
	ldr	r2, .L36+44
	str	r3, [r2]
	ldr	r3, .L36+48
	ldr	r3, [r3]
	ldr	r2, .L36+52
	str	r3, [r2]
	ldr	r1, .L36+56
	ldr	r0, [fp, #-40]
	bl	printInfo
.L34:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	stdin
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	total_lines
	.word	lines
	.word	total_words
	.word	words
	.word	total_chars
	.word	chars
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
