	.file	"433497.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"clear"
	.align 8
.LC1:
	.string	"Informe o nome do arquivo texto.:\n:"
.LC2:
	.string	"%s"
.LC3:
	.string	"r"
.LC4:
	.string	"could not find the file"
.LC5:
	.string	"a"
.LC6:
	.string	"wortW.txt"
.LC7:
	.string	"Erro!"
.LC8:
	.string	"pause"
	.align 8
.LC9:
	.string	"Informe a palavra para procurar no arquivo [%s].:\n:"
.LC10:
	.string	"%25[^\n]"
	.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, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -176[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -192[rbp], rax
	cmp	QWORD PTR -192[rbp], 0
	jne	.L2
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -184[rbp], rax
	cmp	QWORD PTR -184[rbp], 0
	jne	.L3
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	call	system@PLT
	mov	eax, 1
	jmp	.L7
.L3:
	mov	rax, QWORD PTR stdin[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L5
.L6:
	lea	rdx, -144[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L5
	mov	rdx, QWORD PTR stdout[rip]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L5:
	mov	rdx, QWORD PTR -192[rbp]
	lea	rax, -112[rbp]
	mov	esi, 100
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L6
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L7:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"433497.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"clear\000"
	.align	2
.LC1:
	.ascii	"Informe o nome do arquivo texto.:\012:\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"r\000"
	.align	2
.LC4:
	.ascii	"could not find the file\000"
	.align	2
.LC5:
	.ascii	"a\000"
	.align	2
.LC6:
	.ascii	"wortW.txt\000"
	.align	2
.LC7:
	.ascii	"Erro!\000"
	.align	2
.LC8:
	.ascii	"pause\000"
	.align	2
.LC9:
	.ascii	"Informe a palavra para procurar no arquivo [%s].:\012"
	.ascii	":\000"
	.align	2
.LC10:
	.ascii	"%25[^\012]\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L9+4
	bl	system
	ldr	r0, .L9+8
	bl	printf
	sub	r3, fp, #164
	mov	r1, r3
	ldr	r0, .L9+12
	bl	__isoc99_scanf
	sub	r3, fp, #164
	ldr	r1, .L9+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-172]
	ldr	r3, [fp, #-172]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L9+20
	bl	perror
	mov	r0, #0
	bl	exit
.L2:
	ldr	r1, .L9+24
	ldr	r0, .L9+28
	bl	fopen
	str	r0, [fp, #-168]
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L9+32
	bl	printf
	ldr	r0, .L9+36
	bl	system
	mov	r3, #1
	b	.L7
.L3:
	ldr	r3, .L9+40
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	sub	r3, fp, #164
	mov	r1, r3
	ldr	r0, .L9+44
	bl	printf
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L9+48
	bl	__isoc99_scanf
	b	.L5
.L6:
	sub	r2, fp, #136
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L9+52
	ldr	r2, [r3]
	sub	r3, fp, #108
	mov	r1, r2
	mov	r0, r3
	bl	fputs
.L5:
	sub	r3, fp, #108
	ldr	r2, [fp, #-172]
	mov	r1, #100
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r0, [fp, #-172]
	bl	fclose
	ldr	r0, [fp, #-168]
	bl	fclose
	mov	r3, #0
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	stdin
	.word	.LC9
	.word	.LC10
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
