	.file	"484704.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Informe o nome do arquivo de entrada: "
.LC1:
	.string	"%s"
	.text
	.globl	lerNomeArquivo
	.type	lerNomeArquivo, @function
lerNomeArquivo:
.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
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	lerNomeArquivo, .-lerNomeArquivo
	.section	.rodata
.LC2:
	.string	"r"
	.text
	.globl	numeroPalavras
	.type	numeroPalavras, @function
numeroPalavras:
.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, 208
	mov	QWORD PTR -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -200[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	rdx, QWORD PTR -168[rbp]
	lea	rax, -160[rbp]
	mov	esi, 150
	mov	rdi, rax
	call	fgets@PLT
	mov	DWORD PTR -180[rbp], 0
	mov	DWORD PTR -172[rbp], 0
	mov	DWORD PTR -176[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	movzx	eax, BYTE PTR -160[rbp+rax]
	cmp	al, 32
	jne	.L4
	add	DWORD PTR -180[rbp], 1
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	movzx	eax, BYTE PTR -160[rbp+rax]
	test	al, al
	je	.L5
	add	DWORD PTR -172[rbp], 1
.L5:
	add	DWORD PTR -176[rbp], 1
.L3:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	movzx	eax, BYTE PTR -160[rbp+rax]
	test	al, al
	jne	.L6
	cmp	DWORD PTR -172[rbp], 0
	jle	.L7
	add	DWORD PTR -180[rbp], 1
.L7:
	mov	rax, QWORD PTR -168[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -180[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	numeroPalavras, .-numeroPalavras
	.section	.rodata
.LC3:
	.string	"%i\n"
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	lerNomeArquivo
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	numeroPalavras
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	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	"484704.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Informe o nome do arquivo de entrada: \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.text
	.align	2
	.global	lerNomeArquivo
	.syntax unified
	.arm
	.fpu softvfp
	.type	lerNomeArquivo, %function
lerNomeArquivo:
	@ 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, .L2
	bl	printf
	ldr	r3, .L2+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	ldr	r1, [fp, #-8]
	ldr	r0, .L2+8
	bl	__isoc99_scanf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	stdin
	.word	.LC1
	.size	lerNomeArquivo, .-lerNomeArquivo
	.section	.rodata
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	numeroPalavras
	.syntax unified
	.arm
	.fpu softvfp
	.type	numeroPalavras, %function
numeroPalavras:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #184
	str	r0, [fp, #-184]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L12+4
	ldr	r0, [fp, #-184]
	bl	fopen
	str	r0, [fp, #-164]
	sub	r3, fp, #160
	ldr	r2, [fp, #-164]
	mov	r1, #150
	mov	r0, r3
	bl	fgets
	mov	r3, #0
	str	r3, [fp, #-176]
	mov	r3, #0
	str	r3, [fp, #-168]
	mov	r3, #0
	str	r3, [fp, #-172]
	b	.L5
.L8:
	sub	r2, fp, #160
	ldr	r3, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L6
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
	b	.L7
.L6:
	sub	r2, fp, #160
	ldr	r3, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	str	r3, [fp, #-168]
.L7:
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
.L5:
	sub	r2, fp, #160
	ldr	r3, [fp, #-172]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	ble	.L9
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L9:
	ldr	r0, [fp, #-164]
	bl	fclose
	ldr	r3, [fp, #-176]
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	.LC2
	.size	numeroPalavras, .-numeroPalavras
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%i\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #28
	mov	r0, r3
	bl	lerNomeArquivo
	sub	r3, fp, #28
	mov	r0, r3
	bl	numeroPalavras
	str	r0, [fp, #-32]
	ldr	r1, [fp, #-32]
	ldr	r0, .L17+4
	bl	printf
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC5
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
