	.file	"98574944.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"lusiadas-utf8.txt"
.LC2:
	.string	"Erro a abrir "
.LC3:
	.string	"Letra A com til: %d\n"
.LC4:
	.string	"Letra O com til: %d\n"
.LC5:
	.string	"Letra C com cedilha: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 272
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -256[rbp], 0
	lea	rdx, -224[rbp]
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -248[rbp], rax
	cmp	QWORD PTR -248[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L12
.L2:
	mov	QWORD PTR -236[rbp], 0
	mov	DWORD PTR -228[rbp], 0
	mov	DWORD PTR -260[rbp], 0
	jmp	.L4
.L11:
	cmp	DWORD PTR -260[rbp], 195
	jne	.L5
	cmp	DWORD PTR -252[rbp], 131
	je	.L6
	cmp	DWORD PTR -252[rbp], 163
	jne	.L7
.L6:
	mov	eax, DWORD PTR -236[rbp]
	add	eax, 1
	mov	DWORD PTR -236[rbp], eax
	jmp	.L5
.L7:
	cmp	DWORD PTR -252[rbp], 149
	je	.L8
	cmp	DWORD PTR -252[rbp], 181
	jne	.L9
.L8:
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	DWORD PTR -232[rbp], eax
	jmp	.L5
.L9:
	cmp	DWORD PTR -252[rbp], 135
	je	.L10
	cmp	DWORD PTR -252[rbp], 167
	jne	.L5
.L10:
	mov	eax, DWORD PTR -228[rbp]
	add	eax, 1
	mov	DWORD PTR -228[rbp], eax
.L5:
	mov	eax, DWORD PTR -252[rbp]
	mov	DWORD PTR -260[rbp], eax
.L4:
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -252[rbp], eax
	cmp	DWORD PTR -252[rbp], -1
	jne	.L11
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -236[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -232[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -228[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
.L12:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"98574944.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"lusiadas-utf8.txt\000"
	.align	2
.LC2:
	.ascii	"Erro a abrir \000"
	.align	2
.LC3:
	.ascii	"Letra A com til: %d\012\000"
	.align	2
.LC4:
	.ascii	"Letra O com til: %d\012\000"
	.align	2
.LC5:
	.ascii	"Letra C com cedilha: %d\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #240
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-236]
	sub	r3, fp, #212
	mov	r2, #104
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r1, .L14+4
	ldr	r0, .L14+8
	bl	fopen
	str	r0, [fp, #-232]
	ldr	r3, [fp, #-232]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L14+12
	bl	puts
	mvn	r3, #0
	b	.L12
.L2:
	sub	r3, fp, #224
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	mov	r3, #0
	str	r3, [fp, #-240]
	b	.L4
.L11:
	ldr	r3, [fp, #-240]
	cmp	r3, #195
	bne	.L5
	ldr	r3, [fp, #-228]
	cmp	r3, #131
	beq	.L6
	ldr	r3, [fp, #-228]
	cmp	r3, #163
	bne	.L7
.L6:
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
	b	.L5
.L7:
	ldr	r3, [fp, #-228]
	cmp	r3, #149
	beq	.L8
	ldr	r3, [fp, #-228]
	cmp	r3, #181
	bne	.L9
.L8:
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
	b	.L5
.L9:
	ldr	r3, [fp, #-228]
	cmp	r3, #135
	beq	.L10
	ldr	r3, [fp, #-228]
	cmp	r3, #167
	bne	.L5
.L10:
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L5:
	ldr	r3, [fp, #-228]
	str	r3, [fp, #-240]
.L4:
	ldr	r0, [fp, #-232]
	bl	getc
	str	r0, [fp, #-228]
	ldr	r3, [fp, #-228]
	cmn	r3, #1
	bne	.L11
	ldr	r0, [fp, #-232]
	bl	fclose
	ldr	r3, [fp, #-224]
	mov	r1, r3
	ldr	r0, .L14+16
	bl	printf
	ldr	r3, [fp, #-220]
	mov	r1, r3
	ldr	r0, .L14+20
	bl	printf
	ldr	r3, [fp, #-216]
	mov	r1, r3
	ldr	r0, .L14+24
	bl	printf
	mov	r3, #0
.L12:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
