	.file	"610500.c"
	.intel_syntax noprefix
	.text
	.globl	PERSON_FORMAT_IN
	.section	.rodata
.LC0:
	.string	"%[a-zA-Z ], %[0-9], %d/%d/%d"
	.section	.data.rel.local,"aw"
	.align 8
	.type	PERSON_FORMAT_IN, @object
	.size	PERSON_FORMAT_IN, 8
PERSON_FORMAT_IN:
	.quad	.LC0
	.globl	PERSON_FORMAT
	.section	.rodata
.LC1:
	.string	"%s, %s, %d/%d/%d\n"
	.section	.data.rel.local
	.align 8
	.type	PERSON_FORMAT, @object
	.size	PERSON_FORMAT, 8
PERSON_FORMAT:
	.quad	.LC1
	.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
	mov	eax, 0
	call	menu
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.string	"-----------------------------------------------------"
.LC3:
	.string	"\n1- Inserir um contato"
.LC4:
	.string	"2- Editar um contato"
.LC5:
	.string	"3- Buscar contato"
.LC6:
	.string	"4- Buscar aniversariante"
.LC7:
	.string	"5- Excluir um contato"
.LC8:
	.string	"6- Listar Contatos"
.LC9:
	.string	"7- Sair"
.LC10:
	.string	"%d"
	.align 8
.LC11:
	.string	"opcao invalida tente novamente"
	.text
	.globl	menu
	.type	menu, @function
menu:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L15:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 7
	ja	.L4
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L4-.L6
	.long	.L12-.L6
	.long	.L11-.L6
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L18-.L6
	.text
.L12:
	mov	eax, 0
	call	inserirContato
	jmp	.L13
.L11:
	mov	eax, 0
	call	editarContato
	jmp	.L13
.L10:
	mov	eax, 0
	call	buscarContatoNome
	jmp	.L13
.L9:
	mov	eax, 0
	call	buscarContatoAniversario
	jmp	.L13
.L8:
	mov	eax, 0
	call	excluirContato
	jmp	.L13
.L7:
	mov	eax, 0
	call	listarContatos
	jmp	.L13
.L4:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	nop
.L13:
	jmp	.L15
.L18:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	menu, .-menu
	.section	.rodata
.LC12:
	.string	"a"
.LC13:
	.string	"agenda.txt"
.LC14:
	.string	"Error!"
.LC15:
	.string	"Digite o nome:"
.LC16:
	.string	"Digite o cpf:"
.LC17:
	.string	"Digite o dia: "
.LC18:
	.string	"%i"
.LC19:
	.string	"Digite o mes: "
.LC20:
	.string	"Digite o ano: "
	.text
	.globl	inserirContato
	.type	inserirContato, @function
inserirContato:
.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, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC12[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -136[rbp], rax
	cmp	QWORD PTR -136[rbp], 0
	jne	.L20
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L19
.L20:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -128[rbp]
	mov	esi, 96
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -128[rbp+rax], 0
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	lea	rdx, -128[rbp]
	lea	rcx, 96[rdx]
	mov	rdx, rax
	mov	esi, 12
	mov	rdi, rcx
	call	fgets@PLT
	lea	rax, -128[rbp]
	add	rax, 96
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -128[rbp+rax], 0
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	add	rax, 108
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	add	rax, 112
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	add	rax, 116
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, DWORD PTR -12[rbp]
	mov	r9d, DWORD PTR -16[rbp]
	mov	r8d, DWORD PTR -20[rbp]
	mov	rsi, QWORD PTR PERSON_FORMAT[rip]
	lea	rax, -128[rbp]
	lea	rcx, 96[rax]
	lea	rdx, -128[rbp]
	mov	rax, QWORD PTR -136[rbp]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L19:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	inserirContato, .-inserirContato
	.section	.rodata
.LC21:
	.string	"r"
.LC22:
	.string	"Erro ao abrir o arquivo!!"
.LC23:
	.string	"w"
	.align 8
.LC24:
	.string	"Erro ao abrir o arquivo temporario!!!"
	.align 8
.LC25:
	.string	"Qual o numero do contato que deseja editar? "
	.text
	.globl	editarContato
	.type	editarContato, @function
editarContato:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2896
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -15172[rbp], 0
	movabs	rax, 8371735841305093985
	mov	QWORD PTR -15019[rbp], rax
	mov	WORD PTR -15011[rbp], 29816
	mov	BYTE PTR -15009[rbp], 0
	movabs	rax, 8392585648408454516
	mov	QWORD PTR -15028[rbp], rax
	mov	BYTE PTR -15020[rbp], 0
	lea	rax, -15019[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -15168[rbp], rax
	cmp	QWORD PTR -15168[rbp], 0
	jne	.L24
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L23
.L24:
	lea	rax, -15028[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -15160[rbp], rax
	cmp	QWORD PTR -15160[rbp], 0
	jne	.L26
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -15168[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L23
.L26:
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -15176[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	jmp	.L27
.L29:
	mov	BYTE PTR -15008[rbp], 0
	mov	rdx, QWORD PTR -15168[rbp]
	lea	rax, -15008[rbp]
	mov	esi, 15000
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -15168[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L27
	add	DWORD PTR -15172[rbp], 1
	mov	eax, DWORD PTR -15176[rbp]
	cmp	DWORD PTR -15172[rbp], eax
	je	.L28
	mov	rdx, QWORD PTR -15160[rbp]
	lea	rax, -15008[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -15176[rbp]
	cmp	DWORD PTR -15172[rbp], eax
	jne	.L27
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -15152[rbp]
	mov	esi, 96
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -15152[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -15152[rbp+rax], 0
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	lea	rdx, -15152[rbp]
	lea	rcx, 96[rdx]
	mov	rdx, rax
	mov	esi, 12
	mov	rdi, rcx
	call	fgets@PLT
	lea	rax, -15152[rbp]
	add	rax, 96
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -15152[rbp+rax], 0
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -15152[rbp]
	add	rax, 108
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -15152[rbp]
	add	rax, 112
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -15152[rbp]
	add	rax, 116
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, DWORD PTR -15036[rbp]
	mov	r9d, DWORD PTR -15040[rbp]
	mov	r8d, DWORD PTR -15044[rbp]
	mov	rsi, QWORD PTR PERSON_FORMAT[rip]
	lea	rax, -15152[rbp]
	lea	rcx, 96[rax]
	lea	rdx, -15152[rbp]
	mov	rax, QWORD PTR -15160[rbp]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 16
.L27:
	mov	rax, QWORD PTR -15168[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L29
	mov	rax, QWORD PTR -15168[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -15160[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -15019[rbp]
	mov	rdi, rax
	call	remove@PLT
	lea	rdx, -15019[rbp]
	lea	rax, -15028[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rename@PLT
	mov	rax, QWORD PTR -15168[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L23:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	editarContato, .-editarContato
	.section	.rodata
	.align 8
.LC26:
	.string	"Qual o nome do contato voce quer buscar?"
.LC27:
	.string	"%[a-zA-Z ]"
.LC28:
	.string	"Nenhum contato encontrado."
	.text
	.globl	buscarContatoNome
	.type	buscarContatoNome, @function
buscarContatoNome:
.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, 400
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC21[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -392[rbp], rax
	cmp	QWORD PTR -392[rbp], 0
	jne	.L33
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L32
.L33:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rax, -256[rbp]
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -396[rbp], 0
	jmp	.L35
.L37:
	mov	rsi, QWORD PTR PERSON_FORMAT_IN[rip]
	lea	rax, -384[rbp]
	lea	r9, 112[rax]
	lea	rax, -384[rbp]
	lea	r8, 108[rax]
	lea	rax, -384[rbp]
	lea	rcx, 96[rax]
	lea	rdx, -384[rbp]
	lea	rax, -160[rbp]
	sub	rsp, 8
	lea	rdi, -384[rbp]
	add	rdi, 116
	push	rdi
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	add	rsp, 16
	lea	rdx, -384[rbp]
	lea	rax, -256[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L36
	add	DWORD PTR -396[rbp], 1
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, DWORD PTR -268[rbp]
	mov	ecx, DWORD PTR -272[rbp]
	mov	edx, DWORD PTR -276[rbp]
	lea	rax, -384[rbp]
	lea	rsi, 96[rax]
	lea	rax, -384[rbp]
	mov	r9d, edi
	mov	r8d, ecx
	mov	ecx, edx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L36:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rax, -160[rbp]
	mov	esi, 150
	mov	rdi, rax
	call	fgets@PLT
.L35:
	mov	rax, QWORD PTR -392[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L37
	cmp	DWORD PTR -396[rbp], 0
	jne	.L38
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
.L38:
	mov	rax, QWORD PTR -392[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L32:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	buscarContatoNome, .-buscarContatoNome
	.section	.rodata
	.align 8
.LC29:
	.string	"Qual dia/mes voce quer buscar nos contatos?  (ex: 1/12)"
.LC30:
	.string	"%d/%d"
	.text
	.globl	buscarContatoAniversario
	.type	buscarContatoAniversario, @function
buscarContatoAniversario:
.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, 320
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC21[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -296[rbp], rax
	cmp	QWORD PTR -296[rbp], 0
	jne	.L41
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L40
.L41:
	lea	rdi, .LC29[rip]
	call	puts@PLT
	lea	rdx, -304[rbp]
	lea	rax, -308[rbp]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L43
.L45:
	mov	rsi, QWORD PTR PERSON_FORMAT_IN[rip]
	lea	rax, -288[rbp]
	lea	r9, 112[rax]
	lea	rax, -288[rbp]
	lea	r8, 108[rax]
	lea	rax, -288[rbp]
	lea	rcx, 96[rax]
	lea	rdx, -288[rbp]
	lea	rax, -160[rbp]
	sub	rsp, 8
	lea	rdi, -288[rbp]
	add	rdi, 116
	push	rdi
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	add	rsp, 16
	mov	DWORD PTR -300[rbp], 0
	mov	edx, DWORD PTR -180[rbp]
	mov	eax, DWORD PTR -308[rbp]
	cmp	edx, eax
	jne	.L44
	mov	edx, DWORD PTR -176[rbp]
	mov	eax, DWORD PTR -304[rbp]
	cmp	edx, eax
	jne	.L44
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, DWORD PTR -172[rbp]
	mov	ecx, DWORD PTR -176[rbp]
	mov	edx, DWORD PTR -180[rbp]
	lea	rax, -288[rbp]
	lea	rsi, 96[rax]
	lea	rax, -288[rbp]
	mov	r9d, edi
	mov	r8d, ecx
	mov	ecx, edx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L44:
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -160[rbp]
	mov	esi, 150
	mov	rdi, rax
	call	fgets@PLT
.L43:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L45
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L40:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	buscarContatoAniversario, .-buscarContatoAniversario
	.section	.rodata
	.align 8
.LC31:
	.string	"Qual o numero do contato que deseja excluir? "
	.text
	.globl	excluirContato
	.type	excluirContato, @function
excluirContato:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2768
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -15052[rbp], 0
	movabs	rax, 8371735841305093985
	mov	QWORD PTR -15019[rbp], rax
	mov	WORD PTR -15011[rbp], 29816
	mov	BYTE PTR -15009[rbp], 0
	movabs	rax, 8392585648408454516
	mov	QWORD PTR -15028[rbp], rax
	mov	BYTE PTR -15020[rbp], 0
	lea	rax, -15019[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -15048[rbp], rax
	cmp	QWORD PTR -15048[rbp], 0
	jne	.L48
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L47
.L48:
	lea	rax, -15028[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -15040[rbp], rax
	cmp	QWORD PTR -15040[rbp], 0
	jne	.L50
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -15048[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L47
.L50:
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -15056[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L51
.L52:
	mov	BYTE PTR -15008[rbp], 0
	mov	rdx, QWORD PTR -15048[rbp]
	lea	rax, -15008[rbp]
	mov	esi, 15000
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -15048[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L51
	add	DWORD PTR -15052[rbp], 1
	mov	eax, DWORD PTR -15056[rbp]
	cmp	DWORD PTR -15052[rbp], eax
	je	.L51
	mov	rdx, QWORD PTR -15040[rbp]
	lea	rax, -15008[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L51:
	mov	rax, QWORD PTR -15048[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L52
	mov	rax, QWORD PTR -15048[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -15040[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -15019[rbp]
	mov	rdi, rax
	call	remove@PLT
	lea	rdx, -15019[rbp]
	lea	rax, -15028[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rename@PLT
	mov	rax, QWORD PTR -15048[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L47:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	excluirContato, .-excluirContato
	.section	.rodata
.LC32:
	.string	"%i -> %s, %s, %d/%d/%d\n"
	.align 8
.LC33:
	.string	"Nenhum contato encontrado na sua agenda."
.LC34:
	.string	"\n"
.LC35:
	.string	"PAUSE"
	.text
	.globl	listarContatos
	.type	listarContatos, @function
listarContatos:
.LFB13:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC21[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -296[rbp], rax
	cmp	QWORD PTR -296[rbp], 0
	jne	.L56
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L56:
	mov	DWORD PTR -300[rbp], 0
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -160[rbp]
	mov	esi, 150
	mov	rdi, rax
	call	fgets@PLT
	jmp	.L58
.L59:
	add	DWORD PTR -300[rbp], 1
	mov	rsi, QWORD PTR PERSON_FORMAT_IN[rip]
	lea	rax, -288[rbp]
	lea	r9, 112[rax]
	lea	rax, -288[rbp]
	lea	r8, 108[rax]
	lea	rax, -288[rbp]
	lea	rcx, 96[rax]
	lea	rdx, -288[rbp]
	lea	rax, -160[rbp]
	sub	rsp, 8
	lea	rdi, -288[rbp]
	add	rdi, 116
	push	rdi
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	add	rsp, 16
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	esi, DWORD PTR -172[rbp]
	mov	r8d, DWORD PTR -176[rbp]
	mov	edi, DWORD PTR -180[rbp]
	lea	rax, -288[rbp]
	lea	rcx, 96[rax]
	lea	rdx, -288[rbp]
	mov	eax, DWORD PTR -300[rbp]
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -160[rbp]
	mov	esi, 150
	mov	rdi, rax
	call	fgets@PLT
.L58:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L59
	cmp	DWORD PTR -300[rbp], 0
	jne	.L60
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC33[rip]
	call	puts@PLT
.L60:
	mov	rax, QWORD PTR -296[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC34[rip]
	call	puts@PLT
	lea	rdi, .LC35[rip]
	call	system@PLT
.L55:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	listarContatos, .-listarContatos
	.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	"610500.c"
	.text
	.global	PERSON_FORMAT_IN
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%[a-zA-Z ], %[0-9], %d/%d/%d\000"
	.data
	.align	2
	.type	PERSON_FORMAT_IN, %object
	.size	PERSON_FORMAT_IN, 4
PERSON_FORMAT_IN:
	.word	.LC0
	.global	PERSON_FORMAT
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%s, %s, %d/%d/%d\012\000"
	.data
	.align	2
	.type	PERSON_FORMAT, %object
	.size	PERSON_FORMAT, 4
PERSON_FORMAT:
	.word	.LC1
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	menu
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	"---------------------------------------------------"
	.ascii	"--\000"
	.align	2
.LC3:
	.ascii	"\0121- Inserir um contato\000"
	.align	2
.LC4:
	.ascii	"2- Editar um contato\000"
	.align	2
.LC5:
	.ascii	"3- Buscar contato\000"
	.align	2
.LC6:
	.ascii	"4- Buscar aniversariante\000"
	.align	2
.LC7:
	.ascii	"5- Excluir um contato\000"
	.align	2
.LC8:
	.ascii	"6- Listar Contatos\000"
	.align	2
.LC9:
	.ascii	"7- Sair\000"
	.align	2
.LC10:
	.ascii	"%d\000"
	.align	2
.LC11:
	.ascii	"opcao invalida tente novamente\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L15:
	ldr	r0, .L19+4
	bl	puts
	ldr	r0, .L19+8
	bl	puts
	ldr	r0, .L19+12
	bl	puts
	ldr	r0, .L19+16
	bl	puts
	ldr	r0, .L19+20
	bl	puts
	ldr	r0, .L19+24
	bl	puts
	ldr	r0, .L19+28
	bl	puts
	ldr	r0, .L19+32
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L19+36
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L18
.L12:
	bl	inserirContato
	b	.L13
.L11:
	bl	editarContato
	b	.L13
.L10:
	bl	buscarContatoNome
	b	.L13
.L9:
	bl	buscarContatoAniversario
	b	.L13
.L8:
	bl	excluirContato
	b	.L13
.L7:
	bl	listarContatos
	b	.L13
.L4:
	ldr	r0, .L19+40
	bl	puts
	nop
.L13:
	b	.L15
.L18:
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC12
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	menu, .-menu
	.section	.rodata
	.align	2
.LC13:
	.ascii	"a\000"
	.align	2
.LC14:
	.ascii	"agenda.txt\000"
	.align	2
.LC15:
	.ascii	"Error!\000"
	.align	2
.LC16:
	.ascii	"Digite o nome:\000"
	.align	2
.LC17:
	.ascii	"Digite o cpf:\000"
	.align	2
.LC18:
	.ascii	"Digite o dia: \000"
	.align	2
.LC19:
	.ascii	"%i\000"
	.align	2
.LC20:
	.ascii	"Digite o mes: \000"
	.align	2
.LC21:
	.ascii	"Digite o ano: \000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inserirContato
	.syntax unified
	.arm
	.fpu softvfp
	.type	inserirContato, %function
inserirContato:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L25+4
	ldr	r0, .L25+8
	bl	fopen
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L25+12
	bl	printf
	b	.L21
.L22:
	ldr	r0, .L25+16
	bl	puts
	ldr	r3, .L25+20
	ldr	r2, [r3]
	sub	r3, fp, #128
	mov	r1, #96
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #128
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-124]
	ldr	r0, .L25+24
	bl	puts
	ldr	r3, .L25+20
	ldr	r2, [r3]
	sub	r3, fp, #128
	add	r3, r3, #96
	mov	r1, #12
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #128
	add	r3, r3, #96
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-124]
	ldr	r0, .L25+28
	bl	printf
	sub	r3, fp, #128
	add	r3, r3, #108
	mov	r1, r3
	ldr	r0, .L25+32
	bl	__isoc99_scanf
	ldr	r0, .L25+36
	bl	printf
	sub	r3, fp, #128
	add	r3, r3, #112
	mov	r1, r3
	ldr	r0, .L25+32
	bl	__isoc99_scanf
	ldr	r0, .L25+40
	bl	printf
	sub	r3, fp, #128
	add	r3, r3, #116
	mov	r1, r3
	ldr	r0, .L25+32
	bl	__isoc99_scanf
	ldr	r3, .L25+44
	ldr	ip, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	sub	r0, fp, #128
	add	lr, r0, #96
	sub	r0, fp, #128
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, r0
	mov	r1, ip
	ldr	r0, [fp, #-132]
	bl	fprintf
	ldr	r0, [fp, #-132]
	bl	fclose
.L21:
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC22
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	stdin
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	PERSON_FORMAT
	.size	inserirContato, .-inserirContato
	.section	.rodata
	.align	2
.LC24:
	.ascii	"r\000"
	.align	2
.LC25:
	.ascii	"Erro ao abrir o arquivo!!\000"
	.align	2
.LC26:
	.ascii	"w\000"
	.align	2
.LC27:
	.ascii	"Erro ao abrir o arquivo temporario!!!\000"
	.align	2
.LC28:
	.ascii	"Qual o numero do contato que deseja editar? \000"
	.align	2
.LC23:
	.ascii	"temp.txt\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	editarContato
	.syntax unified
	.arm
	.fpu softvfp
	.type	editarContato, %function
editarContato:
	@ args = 0, pretend = 0, frame = 15168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #15168
	sub	sp, sp, #20
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2872]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, .L36+4
	sub	r3, r3, #2720
	sub	r3, r3, #8
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, .L36+8
	sub	r3, r3, #2736
	sub	r3, r3, #4
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r1, .L36+12
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-2868]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2868]
	cmp	r3, #0
	bne	.L28
	ldr	r0, .L36+16
	bl	puts
	b	.L27
.L28:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #52
	ldr	r1, .L36+20
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-2864]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2864]
	cmp	r3, #0
	bne	.L30
	ldr	r0, .L36+24
	bl	puts
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2868]
	bl	fclose
	b	.L27
.L30:
	ldr	r0, .L36+28
	bl	printf
	sub	r3, fp, #15104
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r1, r3
	ldr	r0, .L36+32
	bl	__isoc99_scanf
	bl	getchar
	b	.L31
.L33:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-2716]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #28
	ldr	r2, [r2, #-2868]
	ldr	r1, .L36+36
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2868]
	bl	feof
	mov	r2, r0
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2872]
	str	r3, [r1, #-2872]
	cmp	r2, #0
	bne	.L31
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2872]
	add	r3, r3, #1
	str	r3, [r2, #-2872]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2876]
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r2, [r2, #-2872]
	cmp	r2, r3
	beq	.L32
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #28
	ldr	r1, [r2, #-2864]
	mov	r0, r3
	bl	fputs
	b	.L31
.L32:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2876]
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r2, [r2, #-2872]
	cmp	r2, r3
	bne	.L31
	ldr	r0, .L36+40
	bl	puts
	ldr	r3, .L36+44
	ldr	r2, [r3]
	sub	r3, fp, #15104
	sub	r3, r3, #12
	sub	r3, r3, #44
	mov	r1, #96
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #15104
	sub	r3, r3, #12
	sub	r3, r3, #44
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #12288
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-2860]
	ldr	r0, .L36+48
	bl	puts
	ldr	r3, .L36+44
	ldr	r2, [r3]
	sub	r3, fp, #15104
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r3, r3, #96
	mov	r1, #12
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #15104
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r3, r3, #96
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #12288
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-2860]
	ldr	r0, .L36+52
	bl	printf
	sub	r3, fp, #15104
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r3, r3, #108
	mov	r1, r3
	ldr	r0, .L36+56
	bl	__isoc99_scanf
	ldr	r0, .L36+60
	bl	printf
	sub	r3, fp, #15104
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r3, r3, #112
	mov	r1, r3
	ldr	r0, .L36+56
	bl	__isoc99_scanf
	ldr	r0, .L36+64
	bl	printf
	sub	r3, fp, #15104
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r3, r3, #116
	mov	r1, r3
	ldr	r0, .L36+56
	bl	__isoc99_scanf
	ldr	r3, .L36+68
	ldr	lr, [r3]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r1, [r3, #-2752]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2748]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	ip, [r3, #-2744]
	sub	r3, fp, #15104
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r3, r3, #96
	sub	r2, fp, #15104
	sub	r2, r2, #12
	sub	r2, r2, #44
	sub	r4, fp, #12288
	sub	r4, r4, #12
	str	ip, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r1, lr
	ldr	r0, [r4, #-2864]
	bl	fprintf
.L31:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2868]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2868]
	bl	fclose
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2864]
	bl	fclose
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #40
	mov	r0, r3
	bl	remove
	sub	r2, fp, #14976
	sub	r2, r2, #12
	sub	r2, r2, #40
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #52
	mov	r1, r2
	mov	r0, r3
	bl	rename
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2868]
	bl	fclose
.L27:
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC29
	.word	.LC14
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC10
	.word	15000
	.word	.LC16
	.word	stdin
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	PERSON_FORMAT
	.size	editarContato, .-editarContato
	.section	.rodata
	.align	2
.LC30:
	.ascii	"Qual o nome do contato voce quer buscar?\000"
	.align	2
.LC31:
	.ascii	"%[a-zA-Z ]\000"
	.align	2
.LC32:
	.ascii	"Nenhum contato encontrado.\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	buscarContatoNome
	.syntax unified
	.arm
	.fpu softvfp
	.type	buscarContatoNome, %function
buscarContatoNome:
	@ args = 0, pretend = 0, frame = 384
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #400
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L46+4
	ldr	r0, .L46+8
	bl	fopen
	str	r0, [fp, #-380]
	ldr	r3, [fp, #-380]
	cmp	r3, #0
	bne	.L39
	ldr	r0, .L46+12
	bl	printf
	b	.L38
.L39:
	ldr	r0, .L46+16
	bl	puts
	sub	r3, fp, #256
	mov	r1, r3
	ldr	r0, .L46+20
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-384]
	b	.L41
.L43:
	ldr	r3, .L46+24
	ldr	r1, [r3]
	sub	r3, fp, #376
	add	ip, r3, #96
	sub	r2, fp, #376
	sub	r0, fp, #160
	sub	r3, fp, #376
	add	r3, r3, #116
	str	r3, [sp, #8]
	sub	r3, fp, #376
	add	r3, r3, #112
	str	r3, [sp, #4]
	sub	r3, fp, #376
	add	r3, r3, #108
	str	r3, [sp]
	mov	r3, ip
	bl	__isoc99_sscanf
	sub	r2, fp, #376
	sub	r3, fp, #256
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-384]
	add	r3, r3, #1
	str	r3, [fp, #-384]
	ldr	r0, .L46+28
	bl	puts
	ldr	ip, [fp, #-268]
	ldr	r3, [fp, #-264]
	ldr	r2, [fp, #-260]
	sub	r1, fp, #376
	add	r0, r1, #96
	sub	r1, fp, #376
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L46+32
	bl	printf
.L42:
	sub	r3, fp, #160
	ldr	r2, [fp, #-380]
	mov	r1, #150
	mov	r0, r3
	bl	fgets
.L41:
	ldr	r0, [fp, #-380]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bne	.L44
	ldr	r0, .L46+28
	bl	puts
	ldr	r0, .L46+36
	bl	puts
.L44:
	ldr	r0, [fp, #-380]
	bl	fclose
.L38:
	ldr	r3, .L46
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L45
	bl	__stack_chk_fail
.L45:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC33
	.word	.LC24
	.word	.LC14
	.word	.LC15
	.word	.LC30
	.word	.LC31
	.word	PERSON_FORMAT_IN
	.word	.LC2
	.word	.LC1
	.word	.LC32
	.size	buscarContatoNome, .-buscarContatoNome
	.section	.rodata
	.align	2
.LC34:
	.ascii	"Qual dia/mes voce quer buscar nos contatos?  (ex: 1"
	.ascii	"/12)\000"
	.align	2
.LC35:
	.ascii	"%d/%d\000"
	.align	2
.LC36:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	buscarContatoAniversario
	.syntax unified
	.arm
	.fpu softvfp
	.type	buscarContatoAniversario, %function
buscarContatoAniversario:
	@ args = 0, pretend = 0, frame = 296
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #312
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L55+4
	ldr	r0, .L55+8
	bl	fopen
	str	r0, [fp, #-288]
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	bne	.L49
	ldr	r0, .L55+12
	bl	printf
	b	.L48
.L49:
	ldr	r0, .L55+16
	bl	puts
	sub	r2, fp, #292
	sub	r3, fp, #296
	mov	r1, r3
	ldr	r0, .L55+20
	bl	__isoc99_scanf
	b	.L51
.L53:
	ldr	r3, .L55+24
	ldr	r1, [r3]
	sub	r3, fp, #280
	add	ip, r3, #96
	sub	r2, fp, #280
	sub	r0, fp, #160
	sub	r3, fp, #280
	add	r3, r3, #116
	str	r3, [sp, #8]
	sub	r3, fp, #280
	add	r3, r3, #112
	str	r3, [sp, #4]
	sub	r3, fp, #280
	add	r3, r3, #108
	str	r3, [sp]
	mov	r3, ip
	bl	__isoc99_sscanf
	mov	r3, #0
	str	r3, [fp, #-284]
	ldr	r2, [fp, #-172]
	ldr	r3, [fp, #-296]
	cmp	r2, r3
	bne	.L52
	ldr	r2, [fp, #-168]
	ldr	r3, [fp, #-292]
	cmp	r2, r3
	bne	.L52
	ldr	r0, .L55+28
	bl	puts
	ldr	ip, [fp, #-172]
	ldr	r3, [fp, #-168]
	ldr	r2, [fp, #-164]
	sub	r1, fp, #280
	add	r0, r1, #96
	sub	r1, fp, #280
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L55+32
	bl	printf
.L52:
	sub	r3, fp, #160
	ldr	r2, [fp, #-288]
	mov	r1, #150
	mov	r0, r3
	bl	fgets
.L51:
	ldr	r0, [fp, #-288]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r0, [fp, #-288]
	bl	fclose
.L48:
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC36
	.word	.LC24
	.word	.LC14
	.word	.LC15
	.word	.LC34
	.word	.LC35
	.word	PERSON_FORMAT_IN
	.word	.LC2
	.word	.LC1
	.size	buscarContatoAniversario, .-buscarContatoAniversario
	.section	.rodata
	.align	2
.LC37:
	.ascii	"Qual o numero do contato que deseja excluir? \000"
	.align	2
.LC38:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	excluirContato
	.syntax unified
	.arm
	.fpu softvfp
	.type	excluirContato, %function
excluirContato:
	@ args = 0, pretend = 0, frame = 15048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #15040
	sub	sp, sp, #12
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2752]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, .L65+4
	sub	r3, r3, #2720
	sub	r3, r3, #8
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, .L65+8
	sub	r3, r3, #2736
	sub	r3, r3, #4
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #40
	ldr	r1, .L65+12
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-2748]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2748]
	cmp	r3, #0
	bne	.L58
	ldr	r0, .L65+16
	bl	puts
	b	.L57
.L58:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #52
	ldr	r1, .L65+20
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-2744]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2744]
	cmp	r3, #0
	bne	.L60
	ldr	r0, .L65+24
	bl	puts
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2748]
	bl	fclose
	b	.L57
.L60:
	ldr	r0, .L65+28
	bl	printf
	sub	r3, fp, #15040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L65+32
	bl	__isoc99_scanf
	b	.L61
.L62:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-2716]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #28
	ldr	r2, [r2, #-2748]
	ldr	r1, .L65+36
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2748]
	bl	feof
	mov	r2, r0
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2752]
	str	r3, [r1, #-2752]
	cmp	r2, #0
	bne	.L61
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2752]
	add	r3, r3, #1
	str	r3, [r2, #-2752]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-2756]
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r2, [r2, #-2752]
	cmp	r2, r3
	beq	.L61
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #28
	ldr	r1, [r2, #-2744]
	mov	r0, r3
	bl	fputs
.L61:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2748]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L62
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2748]
	bl	fclose
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2744]
	bl	fclose
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #40
	mov	r0, r3
	bl	remove
	sub	r2, fp, #14976
	sub	r2, r2, #12
	sub	r2, r2, #40
	sub	r3, fp, #14976
	sub	r3, r3, #12
	sub	r3, r3, #52
	mov	r1, r2
	mov	r0, r3
	bl	rename
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-2748]
	bl	fclose
.L57:
	ldr	r3, .L65
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC38
	.word	.LC14
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC37
	.word	.LC10
	.word	15000
	.size	excluirContato, .-excluirContato
	.section	.rodata
	.align	2
.LC39:
	.ascii	"%i -> %s, %s, %d/%d/%d\012\000"
	.align	2
.LC40:
	.ascii	"Nenhum contato encontrado na sua agenda.\000"
	.align	2
.LC41:
	.ascii	"\012\000"
	.align	2
.LC42:
	.ascii	"PAUSE\000"
	.align	2
.LC43:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	listarContatos
	.syntax unified
	.arm
	.fpu softvfp
	.type	listarContatos, %function
listarContatos:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #304
	ldr	r3, .L74
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L74+4
	ldr	r0, .L74+8
	bl	fopen
	str	r0, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L68
	ldr	r0, .L74+12
	bl	printf
	b	.L67
.L68:
	mov	r3, #0
	str	r3, [fp, #-288]
	sub	r3, fp, #160
	ldr	r2, [fp, #-284]
	mov	r1, #150
	mov	r0, r3
	bl	fgets
	b	.L70
.L71:
	ldr	r3, [fp, #-288]
	add	r3, r3, #1
	str	r3, [fp, #-288]
	ldr	r3, .L74+16
	ldr	r1, [r3]
	sub	r3, fp, #280
	add	ip, r3, #96
	sub	r2, fp, #280
	sub	r0, fp, #160
	sub	r3, fp, #280
	add	r3, r3, #116
	str	r3, [sp, #8]
	sub	r3, fp, #280
	add	r3, r3, #112
	str	r3, [sp, #4]
	sub	r3, fp, #280
	add	r3, r3, #108
	str	r3, [sp]
	mov	r3, ip
	bl	__isoc99_sscanf
	ldr	r0, .L74+20
	bl	puts
	ldr	r3, [fp, #-172]
	ldr	r2, [fp, #-168]
	ldr	r1, [fp, #-164]
	sub	r0, fp, #280
	add	ip, r0, #96
	sub	r0, fp, #280
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r1, [fp, #-288]
	ldr	r0, .L74+24
	bl	printf
	sub	r3, fp, #160
	ldr	r2, [fp, #-284]
	mov	r1, #150
	mov	r0, r3
	bl	fgets
.L70:
	ldr	r0, [fp, #-284]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L71
	ldr	r3, [fp, #-288]
	cmp	r3, #0
	bne	.L72
	ldr	r0, .L74+20
	bl	puts
	ldr	r0, .L74+28
	bl	puts
.L72:
	ldr	r0, [fp, #-284]
	bl	fclose
	ldr	r0, .L74+32
	bl	puts
	ldr	r0, .L74+36
	bl	system
.L67:
	ldr	r3, .L74
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L73
	bl	__stack_chk_fail
.L73:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC43
	.word	.LC24
	.word	.LC14
	.word	.LC15
	.word	PERSON_FORMAT_IN
	.word	.LC2
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.size	listarContatos, .-listarContatos
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
