	.file	"294328.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"a"
.LC1:
	.string	"database.txt"
.LC2:
	.string	"%s %s %s\n"
.LC3:
	.string	"Contato Gravado com sucesso."
.LC4:
	.string	"cls"
	.text
	.globl	adicionarContato
	.type	adicionarContato, @function
adicionarContato:
.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rsi, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	system@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	adicionarContato, .-adicionarContato
	.section	.rodata
.LC5:
	.string	"r"
.LC6:
	.string	"w"
.LC7:
	.string	"databasetemp.txt"
.LC8:
	.string	"Contato a ser removido:%s\n"
	.align 8
.LC9:
	.string	"Gravando altera\303\247\303\265es no banco..."
	.align 8
.LC10:
	.string	"Mudan\303\247as gravadas com sucesso."
	.align 8
.LC11:
	.string	"Algo de errado ocorreu na grava\303\247\303\243o!"
	.text
	.globl	removerContato
	.type	removerContato, @function
removerContato:
.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, 304
	mov	QWORD PTR -296[rbp], rdi
	mov	QWORD PTR -304[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -296[rbp], rax
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	jmp	.L3
.L5:
	mov	rdx, QWORD PTR -304[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L4
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L3
.L4:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -272[rbp]
	mov	esi, 255
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L5
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	remove@PLT
	test	eax, eax
	jne	.L6
	lea	rsi, .LC1[rip]
	lea	rdi, .LC7[rip]
	call	rename@PLT
	test	eax, eax
	jne	.L6
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L7
.L6:
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L7:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	removerContato, .-removerContato
	.section	.rodata
.LC12:
	.string	"Encontrado: %s"
	.text
	.globl	buscarContatoNome
	.type	buscarContatoNome, @function
buscarContatoNome:
.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, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	jmp	.L10
.L11:
	mov	rdx, QWORD PTR -288[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L10
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	esi, 255
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	buscarContatoNome, .-buscarContatoNome
	.section	.rodata
.LC13:
	.string	"%s"
	.text
	.globl	listarArquivo
	.type	listarArquivo, @function
listarArquivo:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	jmp	.L14
.L15:
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	esi, 255
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L15
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	listarArquivo, .-listarArquivo
	.globl	listarArquivoNome
	.type	listarArquivoNome, @function
listarArquivoNome:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -284[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	jmp	.L18
.L19:
	movzx	eax, BYTE PTR -272[rbp]
	cmp	BYTE PTR -284[rbp], al
	jne	.L18
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	esi, 255
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L19
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	listarArquivoNome, .-listarArquivoNome
	.globl	buscarPeloMes
	.type	buscarPeloMes, @function
buscarPeloMes:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC5[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	jmp	.L22
.L23:
	mov	rdx, QWORD PTR -288[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L22
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	mov	rdx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	mov	esi, 255
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L23
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	buscarPeloMes, .-buscarPeloMes
	.section	.rodata
.LC14:
	.string	"portuguese"
	.align 8
.LC15:
	.string	"1-Fun\357\277\275\357\277\275es:\nAdiciona novo contato:1\n2-Remover contato pelo nome\n3-Buscar contato pelo nome\n4-Lista Arquivos\n5-Lista Nomes come\357\277\275ados por uma letra\n6-Aniversariantes do m\303\252s"
.LC16:
	.string	"%d"
	.align 8
.LC17:
	.string	"Entre com: Nome, Telefone, Aniversiao [dd/mm/aa]"
.LC18:
	.string	"Entre com: Nome"
	.align 8
.LC19:
	.string	"Entre com o nome a ser buscado"
.LC20:
	.string	"Insira uma letra"
.LC21:
	.string	"%c"
.LC22:
	.string	"Insira um m\303\252s (n\303\272mero dele)"
.LC23:
	.string	"Op\357\277\275\357\277\275o inv\357\277\275lida"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 368
	mov	DWORD PTR -356[rbp], edi
	mov	QWORD PTR -368[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC14[rip]
	mov	edi, 6
	call	setlocale@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	lea	rax, -348[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -348[rbp]
	cmp	eax, 6
	ja	.L26
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L28[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L28[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L28:
	.long	.L26-.L28
	.long	.L33-.L28
	.long	.L32-.L28
	.long	.L31-.L28
	.long	.L30-.L28
	.long	.L29-.L28
	.long	.L27-.L28
	.text
.L33:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -336[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -304[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rcx, -304[rbp]
	lea	rdx, -336[rbp]
	lea	rsi, -272[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	adicionarContato
	jmp	.L34
.L32:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	removerContato
	jmp	.L34
.L31:
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	buscarContatoNome
	jmp	.L34
.L30:
	mov	rax, QWORD PTR -344[rbp]
	mov	rdi, rax
	call	listarArquivo
	jmp	.L34
.L29:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -349[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -349[rbp]
	movsx	edx, al
	mov	rax, QWORD PTR -344[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	listarArquivoNome
	jmp	.L34
.L27:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rax, -304[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -304[rbp]
	mov	rax, QWORD PTR -344[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	buscarPeloMes
	jmp	.L34
.L26:
	lea	rdi, .LC23[rip]
	call	puts@PLT
.L34:
	mov	eax, 0
	call	getch@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"294328.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"a\000"
	.align	2
.LC1:
	.ascii	"database.txt\000"
	.align	2
.LC2:
	.ascii	"%s %s %s\012\000"
	.align	2
.LC3:
	.ascii	"Contato Gravado com sucesso.\000"
	.align	2
.LC4:
	.ascii	"cls\000"
	.text
	.align	2
	.global	adicionarContato
	.syntax unified
	.arm
	.fpu softvfp
	.type	adicionarContato, %function
adicionarContato:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r1, .L2
	ldr	r0, .L2+4
	bl	fopen
	str	r0, [fp, #-8]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	fseek
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r1, .L2+8
	ldr	r0, [fp, #-8]
	bl	fprintf
	ldr	r0, .L2+12
	bl	puts
	ldr	r0, .L2+16
	bl	system
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	adicionarContato, .-adicionarContato
	.section	.rodata
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"w\000"
	.align	2
.LC7:
	.ascii	"databasetemp.txt\000"
	.align	2
.LC8:
	.ascii	"Contato a ser removido:%s\012\000"
	.align	2
.LC9:
	.ascii	"Gravando altera\303\247\303\265es no banco...\000"
	.align	2
.LC10:
	.ascii	"Mudan\303\247as gravadas com sucesso.\000"
	.align	2
.LC11:
	.ascii	"Algo de errado ocorreu na grava\303\247\303\243o!\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	removerContato
	.syntax unified
	.arm
	.fpu softvfp
	.type	removerContato, %function
removerContato:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	str	r1, [fp, #-276]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L11+4
	ldr	r0, .L11+8
	bl	fopen
	str	r0, [fp, #-272]
	ldr	r1, .L11+12
	ldr	r0, .L11+16
	bl	fopen
	str	r0, [fp, #-268]
	b	.L5
.L7:
	sub	r3, fp, #264
	ldr	r1, [fp, #-276]
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-268]
	bl	fprintf
	b	.L5
.L6:
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L11+20
	bl	printf
.L5:
	sub	r3, fp, #264
	ldr	r2, [fp, #-272]
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L11+24
	bl	puts
	ldr	r0, .L11+8
	bl	remove
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r1, .L11+8
	ldr	r0, .L11+16
	bl	rename
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L11+28
	bl	puts
	b	.L9
.L8:
	ldr	r0, .L11+32
	bl	puts
.L9:
	ldr	r0, [fp, #-272]
	bl	fclose
	ldr	r0, [fp, #-268]
	bl	fclose
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC12
	.word	.LC5
	.word	.LC1
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	removerContato, .-removerContato
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Encontrado: %s\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	buscarContatoNome
	.syntax unified
	.arm
	.fpu softvfp
	.type	buscarContatoNome, %function
buscarContatoNome:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	str	r1, [fp, #-276]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L17+4
	ldr	r0, .L17+8
	bl	fopen
	str	r0, [fp, #-272]
	b	.L14
.L15:
	sub	r3, fp, #264
	ldr	r1, [fp, #-276]
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L17+12
	bl	printf
.L14:
	sub	r3, fp, #264
	ldr	r2, [fp, #-272]
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r0, [fp, #-272]
	bl	fclose
	nop
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC14
	.word	.LC5
	.word	.LC1
	.word	.LC13
	.size	buscarContatoNome, .-buscarContatoNome
	.section	.rodata
	.align	2
.LC15:
	.ascii	"%s\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	listarArquivo
	.syntax unified
	.arm
	.fpu softvfp
	.type	listarArquivo, %function
listarArquivo:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L23+4
	ldr	r0, .L23+8
	bl	fopen
	str	r0, [fp, #-272]
	b	.L20
.L21:
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L23+12
	bl	printf
.L20:
	sub	r3, fp, #264
	ldr	r2, [fp, #-272]
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-272]
	bl	fclose
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC16
	.word	.LC5
	.word	.LC1
	.word	.LC15
	.size	listarArquivo, .-listarArquivo
	.section	.rodata
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	listarArquivoNome
	.syntax unified
	.arm
	.fpu softvfp
	.type	listarArquivoNome, %function
listarArquivoNome:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	mov	r3, r1
	strb	r3, [fp, #-273]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L29+4
	ldr	r0, .L29+8
	bl	fopen
	str	r0, [fp, #-272]
	b	.L26
.L27:
	ldrb	r3, [fp, #-264]	@ zero_extendqisi2
	ldrb	r2, [fp, #-273]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L26
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L29+12
	bl	printf
.L26:
	sub	r3, fp, #264
	ldr	r2, [fp, #-272]
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r0, [fp, #-272]
	bl	fclose
	nop
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC17
	.word	.LC5
	.word	.LC1
	.word	.LC15
	.size	listarArquivoNome, .-listarArquivoNome
	.section	.rodata
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	buscarPeloMes
	.syntax unified
	.arm
	.fpu softvfp
	.type	buscarPeloMes, %function
buscarPeloMes:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	str	r1, [fp, #-276]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L35+4
	ldr	r0, .L35+8
	bl	fopen
	str	r0, [fp, #-272]
	b	.L32
.L33:
	sub	r3, fp, #264
	ldr	r1, [fp, #-276]
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L35+12
	bl	printf
.L32:
	sub	r3, fp, #264
	ldr	r2, [fp, #-272]
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	nop
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC18
	.word	.LC5
	.word	.LC1
	.word	.LC13
	.size	buscarPeloMes, .-buscarPeloMes
	.section	.rodata
	.align	2
.LC19:
	.ascii	"portuguese\000"
	.align	2
.LC20:
	.ascii	"1-Fun\357\277\275\357\277\275es:\012Adiciona novo c"
	.ascii	"ontato:1\0122-Remover contato pelo nome\0123-Buscar"
	.ascii	" contato pelo nome\0124-Lista Arquivos\0125-Lista N"
	.ascii	"omes come\357\277\275ados por uma letra\0126-Aniver"
	.ascii	"sariantes do m\303\252s\000"
	.align	2
.LC21:
	.ascii	"%d\000"
	.align	2
.LC22:
	.ascii	"Entre com: Nome, Telefone, Aniversiao [dd/mm/aa]\000"
	.align	2
.LC23:
	.ascii	"Entre com: Nome\000"
	.align	2
.LC24:
	.ascii	"Entre com o nome a ser buscado\000"
	.align	2
.LC25:
	.ascii	"Insira uma letra\000"
	.align	2
.LC26:
	.ascii	"%c\000"
	.align	2
.LC27:
	.ascii	"Insira um m\303\252s (n\303\272mero dele)\000"
	.align	2
.LC28:
	.ascii	"Op\357\277\275\357\277\275o inv\357\277\275lida\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #320
	str	r0, [fp, #-320]
	str	r1, [fp, #-324]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L49+4
	mov	r0, #6
	bl	setlocale
	ldr	r0, .L49+8
	bl	puts
	sub	r3, fp, #312
	mov	r1, r3
	ldr	r0, .L49+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-312]
	sub	r3, r3, #1
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L38
.L40:
	.word	.L45
	.word	.L44
	.word	.L43
	.word	.L42
	.word	.L41
	.word	.L39
.L45:
	ldr	r0, .L49+16
	bl	puts
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L49+20
	bl	__isoc99_scanf
	sub	r3, fp, #304
	mov	r1, r3
	ldr	r0, .L49+20
	bl	__isoc99_scanf
	sub	r3, fp, #284
	mov	r1, r3
	ldr	r0, .L49+20
	bl	__isoc99_scanf
	sub	r3, fp, #284
	sub	r2, fp, #304
	sub	r1, fp, #264
	ldr	r0, [fp, #-308]
	bl	adicionarContato
	b	.L46
.L44:
	ldr	r0, .L49+24
	bl	puts
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L49+20
	bl	__isoc99_scanf
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-308]
	bl	removerContato
	b	.L46
.L43:
	ldr	r0, .L49+28
	bl	puts
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L49+20
	bl	__isoc99_scanf
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-308]
	bl	buscarContatoNome
	b	.L46
.L42:
	ldr	r0, [fp, #-308]
	bl	listarArquivo
	b	.L46
.L41:
	ldr	r0, .L49+32
	bl	puts
	ldr	r3, .L49+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #312
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L49+40
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-313]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-308]
	bl	listarArquivoNome
	b	.L46
.L39:
	ldr	r0, .L49+44
	bl	puts
	sub	r3, fp, #284
	mov	r1, r3
	ldr	r0, .L49+20
	bl	__isoc99_scanf
	sub	r3, fp, #284
	mov	r1, r3
	ldr	r0, [fp, #-308]
	bl	buscarPeloMes
	b	.L46
.L38:
	ldr	r0, .L49+48
	bl	puts
.L46:
	bl	getch
	mov	r3, #0
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC29
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC15
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	stdin
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
