	.file	"392172.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	">>> Menu de opcoes <<<"
	.align 8
.LC1:
	.string	"\n1 - Para criar os arquivos\n2 - Para cadastrar clientes\n3 - Para incluir recebimentos\n4 - Para excluir clientes e recebimentos"
	.align 8
.LC2:
	.string	"\n5 - Para alterar cadastro de clientes\n6 - Para alterar recebimento\n7 - Para mostrar recebimentos em um periodo\n8 - Para mostrar recebimentos de um cliente\n0 - Para sair"
.LC3:
	.string	"\nO que deseja fazer? "
.LC4:
	.string	"%d"
.LC5:
	.string	"Saindo..."
.LC6:
	.string	"Informe um numero valido!"
.LC7:
	.string	"\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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L15:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 8
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L13-.L5
	.long	.L12-.L5
	.long	.L11-.L5
	.long	.L10-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L12:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	criarArquivo
	jmp	.L14
.L11:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	cadastrarCliente
	jmp	.L14
.L10:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	incluirRecebimentos
	jmp	.L14
.L9:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	excluirDadosCliente
	jmp	.L14
.L8:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	alterarCadastroCliente
	jmp	.L14
.L7:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	alterarRecebimento
	jmp	.L14
.L6:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	mostrarRecPorVenci
	jmp	.L14
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	mostrarRecPorCli
	jmp	.L14
.L13:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L14
.L3:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L2:
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC8:
	.string	"a+"
.LC9:
	.string	"clientes.txt"
.LC10:
	.string	"recebimentos.txt"
.LC11:
	.string	"\nErro ao criar arquivos..."
.LC12:
	.string	"\nArquivos criados com sucesso"
	.text
	.globl	criarArquivo
	.type	criarArquivo, @function
criarArquivo:
.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rsi, .LC8[rip]
	lea	rdi, .LC10[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L19
	cmp	QWORD PTR -16[rbp], 0
	jne	.L20
.L19:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L21
.L20:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L21:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	criarArquivo, .-criarArquivo
	.section	.rodata
.LC13:
	.string	"r"
	.text
	.globl	gerarCodigo
	.type	gerarCodigo, @function
gerarCodigo:
.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, 1040
	mov	QWORD PTR -1032[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1020[rbp], 1
	lea	rsi, .LC13[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -1032[rbp], rax
	jmp	.L23
.L24:
	mov	DWORD PTR -1020[rbp], 0
.L23:
	mov	rdx, QWORD PTR -1032[rbp]
	lea	rax, -1008[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L24
	cmp	DWORD PTR -1020[rbp], 1
	jne	.L25
	mov	DWORD PTR -1024[rbp], 1000
	jmp	.L26
.L25:
	lea	rdx, -1008[rbp]
	lea	rax, -1013[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -1013[rbp]
	mov	rdi, rax
	call	atoi@PLT
	add	eax, 1
	mov	DWORD PTR -1024[rbp], eax
.L26:
	mov	eax, DWORD PTR -1024[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	gerarCodigo, .-gerarCodigo
	.section	.rodata
.LC14:
	.string	"a"
.LC15:
	.string	"\nSeu codigo e: %d"
.LC16:
	.string	"\nDigite o nome: "
.LC17:
	.string	"Digite o endereco: "
.LC18:
	.string	"%d|%s-%s*\n"
	.text
	.globl	cadastrarCliente
	.type	cadastrarCliente, @function
cadastrarCliente:
.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, 560
	mov	QWORD PTR -552[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -552[rbp]
	mov	rdi, rax
	call	gerarCodigo
	mov	DWORD PTR -532[rbp], eax
	lea	rsi, .LC14[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -552[rbp], rax
	mov	eax, DWORD PTR -532[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -528[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rsi, -272[rbp]
	lea	rcx, -528[rbp]
	mov	edx, DWORD PTR -532[rbp]
	mov	rax, QWORD PTR -552[rbp]
	mov	r8, rsi
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -552[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	cadastrarCliente, .-cadastrarCliente
	.section	.rodata
.LC19:
	.string	"Qual o codigo do cliente? "
.LC20:
	.string	"Informe um codigo cadastrado"
.LC21:
	.string	"\nNumero do documento? "
.LC22:
	.string	"\nValor do documento? "
.LC23:
	.string	"%f"
.LC24:
	.string	"\nData da emissao:"
.LC25:
	.string	"\nDia: "
.LC26:
	.string	"Mes: "
.LC27:
	.string	"Ano: "
.LC28:
	.string	"\nData do vencimento: "
	.align 8
.LC29:
	.string	"%d|%d:%.2f-e%d/%d/%d-v%d/%d/%d#%d*\n"
.LC30:
	.string	"\nRecebimento incluso!"
	.text
	.globl	incluirRecebimentos
	.type	incluirRecebimentos, @function
incluirRecebimentos:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 1072
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -1080[rbp], rdi
	mov	QWORD PTR -1088[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1036[rbp], 0
	lea	rsi, .LC13[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -1080[rbp], rax
.L37:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1072[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L32
.L35:
	lea	rax, -1029[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -1072[rbp]
	cmp	eax, edx
	jne	.L33
	mov	DWORD PTR -1036[rbp], 1
.L33:
	mov	rdx, QWORD PTR -1080[rbp]
	lea	rax, -1024[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
.L32:
	mov	rdx, QWORD PTR -1080[rbp]
	lea	rax, -1029[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L34
	cmp	DWORD PTR -1036[rbp], 0
	je	.L35
.L34:
	cmp	DWORD PTR -1036[rbp], 0
	jne	.L36
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L36:
	mov	rax, QWORD PTR -1080[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	cmp	DWORD PTR -1036[rbp], 0
	je	.L37
	mov	rax, QWORD PTR -1080[rbp]
	mov	rdi, rax
	call	fclose@PLT
	cmp	DWORD PTR -1036[rbp], 1
	jne	.L38
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1068[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1064[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1060[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1056[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1052[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1048[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1044[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L38:
	lea	rsi, .LC14[rip]
	lea	rdi, .LC10[rip]
	call	fopen@PLT
	mov	QWORD PTR -1088[rbp], rax
	mov	r11d, DWORD PTR -1072[rbp]
	mov	r10d, DWORD PTR -1040[rbp]
	mov	r9d, DWORD PTR -1044[rbp]
	mov	r8d, DWORD PTR -1048[rbp]
	mov	edi, DWORD PTR -1052[rbp]
	mov	r12d, DWORD PTR -1056[rbp]
	mov	ebx, DWORD PTR -1060[rbp]
	movss	xmm0, DWORD PTR -1064[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rsi, xmm1
	mov	ecx, DWORD PTR -1068[rbp]
	mov	edx, DWORD PTR -1072[rbp]
	mov	rax, QWORD PTR -1088[rbp]
	sub	rsp, 8
	push	r11
	push	r10
	push	r9
	push	r8
	push	rdi
	mov	r9d, r12d
	mov	r8d, ebx
	movq	xmm0, rsi
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	rsp, 48
	mov	rax, QWORD PTR -1088[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	incluirRecebimentos, .-incluirRecebimentos
	.section	.rodata
.LC31:
	.string	"w"
.LC32:
	.string	"apagar.txt"
.LC33:
	.string	"r+"
	.text
	.globl	excluirDadosCliente
	.type	excluirDadosCliente, @function
excluirDadosCliente:
.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, 1056
	mov	QWORD PTR -1048[rbp], rdi
	mov	QWORD PTR -1056[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC31[rip]
	lea	rdi, .LC32[rip]
	call	fopen@PLT
	mov	QWORD PTR -1024[rbp], rax
	mov	DWORD PTR -1028[rbp], 0
	lea	rsi, .LC33[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -1048[rbp], rax
.L45:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1032[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L41
.L43:
	lea	rax, -1013[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -1032[rbp]
	cmp	eax, edx
	je	.L42
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	ftell@PLT
	lea	rcx, -4[rax]
	mov	rax, QWORD PTR -1048[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -1048[rbp]
	lea	rax, -1008[rbp]
	mov	esi, 999
	mov	rdi, rax
	call	fgets@PLT
	mov	rdx, QWORD PTR -1024[rbp]
	lea	rax, -1008[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	jmp	.L41
.L42:
	mov	DWORD PTR -1028[rbp], 1
	mov	rdx, QWORD PTR -1048[rbp]
	lea	rax, -1008[rbp]
	mov	esi, 999
	mov	rdi, rax
	call	fgets@PLT
.L41:
	mov	rdx, QWORD PTR -1048[rbp]
	lea	rax, -1013[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L43
	cmp	DWORD PTR -1028[rbp], 0
	jne	.L44
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L44:
	mov	rax, QWORD PTR -1048[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	cmp	DWORD PTR -1028[rbp], 0
	je	.L45
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -1024[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC9[rip]
	call	remove@PLT
	lea	rsi, .LC9[rip]
	lea	rdi, .LC32[rip]
	call	rename@PLT
	mov	edx, DWORD PTR -1032[rbp]
	mov	rcx, QWORD PTR -1056[rbp]
	lea	rax, -1013[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	excluirDadosRecebimentos
	nop
	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	excluirDadosCliente, .-excluirDadosCliente
	.section	.rodata
.LC34:
	.string	"\nDados excluidos!"
	.text
	.globl	excluirDadosRecebimentos
	.type	excluirDadosRecebimentos, @function
excluirDadosRecebimentos:
.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, 1072
	mov	QWORD PTR -1048[rbp], rdi
	mov	QWORD PTR -1056[rbp], rsi
	mov	DWORD PTR -1060[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC31[rip]
	lea	rdi, .LC32[rip]
	call	fopen@PLT
	mov	QWORD PTR -1016[rbp], rax
	mov	DWORD PTR -1024[rbp], 1
	mov	DWORD PTR -1020[rbp], 0
	lea	rsi, .LC33[rip]
	lea	rdi, .LC10[rip]
	call	fopen@PLT
	mov	QWORD PTR -1056[rbp], rax
.L52:
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -1025[rbp], al
	cmp	BYTE PTR -1025[rbp], 35
	jne	.L48
	mov	rdx, QWORD PTR -1056[rbp]
	mov	rax, QWORD PTR -1048[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cmp	DWORD PTR -1060[rbp], eax
	je	.L49
	mov	rax, QWORD PTR -1056[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -1020[rbp], 1
	jmp	.L50
.L51:
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -1008[rbp]
	mov	esi, 999
	mov	rdi, rax
	call	fgets@PLT
	add	DWORD PTR -1020[rbp], 1
.L50:
	mov	eax, DWORD PTR -1020[rbp]
	cmp	eax, DWORD PTR -1024[rbp]
	jl	.L51
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -1008[rbp]
	mov	esi, 999
	mov	rdi, rax
	call	fgets@PLT
	mov	rdx, QWORD PTR -1016[rbp]
	lea	rax, -1008[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L49:
	add	DWORD PTR -1024[rbp], 1
.L48:
	cmp	BYTE PTR -1025[rbp], -1
	jne	.L52
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC10[rip]
	call	remove@PLT
	lea	rsi, .LC10[rip]
	lea	rdi, .LC32[rip]
	call	rename@PLT
	lea	rdi, .LC34[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	excluirDadosRecebimentos, .-excluirDadosRecebimentos
	.section	.rodata
.LC35:
	.string	"%s-%s*"
.LC36:
	.string	"\nCadastro alterado!"
	.text
	.globl	alterarCadastroCliente
	.type	alterarCadastroCliente, @function
alterarCadastroCliente:
.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, 1568
	mov	QWORD PTR -1560[rbp], rdi
	mov	QWORD PTR -1568[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1544[rbp], 0
	mov	DWORD PTR -1532[rbp], 0
	mov	DWORD PTR -1540[rbp], 0
	mov	DWORD PTR -1536[rbp], 0
	lea	rsi, .LC33[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -1560[rbp], rax
.L63:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1548[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L55
.L61:
	lea	rax, -1525[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -1548[rbp]
	cmp	eax, edx
	jne	.L56
	mov	DWORD PTR -1544[rbp], 1
	mov	rax, QWORD PTR -1560[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -1532[rbp], eax
	mov	eax, DWORD PTR -1532[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	rax, QWORD PTR -1560[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
.L57:
	add	DWORD PTR -1536[rbp], 1
	mov	rax, QWORD PTR -1560[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 42
	jne	.L57
	mov	eax, DWORD PTR -1532[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	rax, QWORD PTR -1560[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -1540[rbp], 0
	jmp	.L58
.L59:
	mov	rax, QWORD PTR -1560[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	add	DWORD PTR -1540[rbp], 1
.L58:
	mov	eax, DWORD PTR -1540[rbp]
	cmp	eax, DWORD PTR -1536[rbp]
	jl	.L59
	mov	rax, QWORD PTR -1560[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	edx, DWORD PTR -1536[rbp]
	sub	eax, edx
	mov	DWORD PTR -1532[rbp], eax
	mov	eax, DWORD PTR -1532[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -1560[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	QWORD PTR -1520[rbp], 0
	mov	QWORD PTR -1512[rbp], 0
	lea	rdx, -1504[rbp]
	mov	eax, 0
	mov	ecx, 29
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	WORD PTR [rdx], ax
	add	rdx, 2
	mov	QWORD PTR -1264[rbp], 0
	mov	QWORD PTR -1256[rbp], 0
	lea	rdx, -1248[rbp]
	mov	eax, 0
	mov	ecx, 29
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	WORD PTR [rdx], ax
	add	rdx, 2
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1520[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1264[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rcx, -1264[rbp]
	lea	rdx, -1520[rbp]
	mov	rax, QWORD PTR -1560[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -1560[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC33[rip]
	lea	rdi, .LC9[rip]
	call	fopen@PLT
	mov	QWORD PTR -1560[rbp], rax
	mov	rax, QWORD PTR -1560[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -1560[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -1560[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L56:
	mov	rdx, QWORD PTR -1560[rbp]
	lea	rax, -1008[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
.L55:
	mov	rdx, QWORD PTR -1560[rbp]
	lea	rax, -1525[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L60
	cmp	DWORD PTR -1544[rbp], 0
	je	.L61
.L60:
	cmp	DWORD PTR -1544[rbp], 0
	jne	.L62
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L62:
	mov	rax, QWORD PTR -1560[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	cmp	DWORD PTR -1544[rbp], 0
	je	.L63
	lea	rdi, .LC36[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	alterarCadastroCliente, .-alterarCadastroCliente
	.section	.rodata
	.align 8
.LC37:
	.string	"Digite o codigo do documento: "
	.align 8
.LC38:
	.string	"%d:%.2f-e%d/%d/%d-v%d/%d/%d#%d*"
.LC39:
	.string	"\nRecebimento alterado!"
	.text
	.globl	alterarRecebimento
	.type	alterarRecebimento, @function
alterarRecebimento:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 1096
	.cfi_offset 3, -24
	mov	QWORD PTR -1096[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1048[rbp], 0
	mov	DWORD PTR -1036[rbp], 0
	mov	DWORD PTR -1044[rbp], 0
	mov	DWORD PTR -1040[rbp], 0
	lea	rsi, .LC33[rip]
	lea	rdi, .LC10[rip]
	call	fopen@PLT
	mov	QWORD PTR -1096[rbp], rax
.L74:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1084[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L66
.L72:
	lea	rax, -1029[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -1084[rbp]
	cmp	eax, edx
	jne	.L67
	mov	DWORD PTR -1048[rbp], 1
	mov	rax, QWORD PTR -1096[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -1036[rbp], eax
	mov	eax, DWORD PTR -1036[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	rax, QWORD PTR -1096[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
.L68:
	add	DWORD PTR -1040[rbp], 1
	mov	rax, QWORD PTR -1096[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 42
	jne	.L68
	mov	eax, DWORD PTR -1036[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	rax, QWORD PTR -1096[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -1044[rbp], 0
	jmp	.L69
.L70:
	mov	rax, QWORD PTR -1096[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	add	DWORD PTR -1044[rbp], 1
.L69:
	mov	eax, DWORD PTR -1044[rbp]
	cmp	eax, DWORD PTR -1040[rbp]
	jl	.L70
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1080[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1036[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	rax, QWORD PTR -1096[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1076[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1072[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1068[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1064[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1060[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1056[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1052[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	r10d, DWORD PTR -1084[rbp]
	mov	r9d, DWORD PTR -1052[rbp]
	mov	r8d, DWORD PTR -1056[rbp]
	mov	edi, DWORD PTR -1060[rbp]
	mov	ebx, DWORD PTR -1064[rbp]
	mov	r11d, DWORD PTR -1068[rbp]
	mov	ecx, DWORD PTR -1072[rbp]
	movss	xmm0, DWORD PTR -1076[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rsi, xmm1
	mov	edx, DWORD PTR -1080[rbp]
	mov	rax, QWORD PTR -1096[rbp]
	push	r10
	push	r9
	push	r8
	push	rdi
	mov	r9d, ebx
	mov	r8d, r11d
	movq	xmm0, rsi
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -1096[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC33[rip]
	lea	rdi, .LC10[rip]
	call	fopen@PLT
	mov	QWORD PTR -1096[rbp], rax
	mov	rax, QWORD PTR -1096[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -1096[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -1096[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L67:
	mov	rdx, QWORD PTR -1096[rbp]
	lea	rax, -1024[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
.L66:
	mov	rdx, QWORD PTR -1096[rbp]
	lea	rax, -1029[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L71
	cmp	DWORD PTR -1048[rbp], 0
	je	.L72
.L71:
	cmp	DWORD PTR -1048[rbp], 0
	jne	.L73
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L73:
	mov	rax, QWORD PTR -1096[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	cmp	DWORD PTR -1048[rbp], 0
	je	.L74
	mov	rax, QWORD PTR -1096[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC39[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L75
	call	__stack_chk_fail@PLT
.L75:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	alterarRecebimento, .-alterarRecebimento
	.section	.rodata
.LC40:
	.string	"\nDigite uma data: "
.LC41:
	.string	"\n%s"
.LC42:
	.string	"\nFIM"
	.text
	.globl	mostrarRecPorVenci
	.type	mostrarRecPorVenci, @function
mostrarRecPorVenci:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1040
	mov	QWORD PTR -1032[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC33[rip]
	lea	rdi, .LC10[rip]
	call	fopen@PLT
	mov	QWORD PTR -1032[rbp], rax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1020[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1016[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1012[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L77
.L78:
	mov	rdx, QWORD PTR -1032[rbp]
	lea	rax, -1008[rbp]
	mov	esi, 999
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1008[rbp]
	mov	rsi, rax
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
.L77:
	mov	rax, QWORD PTR -1032[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L78
	mov	rax, QWORD PTR -1032[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	mostrarRecPorVenci, .-mostrarRecPorVenci
	.section	.rodata
.LC43:
	.string	"%s"
.LC44:
	.string	"FIM"
	.text
	.globl	mostrarRecPorCli
	.type	mostrarRecPorCli, @function
mostrarRecPorCli:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2064
	mov	QWORD PTR -2056[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2040[rbp], 0
	mov	DWORD PTR -2036[rbp], 0
	mov	DWORD PTR -2032[rbp], 0
	mov	DWORD PTR -2028[rbp], 0
	lea	rsi, .LC33[rip]
	lea	rdi, .LC10[rip]
	call	fopen@PLT
	mov	QWORD PTR -2056[rbp], rax
.L86:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -2044[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L81
.L84:
	lea	rax, -2021[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	edx, DWORD PTR -2044[rbp]
	cmp	eax, edx
	jne	.L82
	mov	DWORD PTR -2040[rbp], 1
	mov	rax, QWORD PTR -2056[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -2036[rbp], eax
	mov	eax, DWORD PTR -2036[rbp]
	add	eax, 1
	movsx	rcx, eax
	mov	rax, QWORD PTR -2056[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -2056[rbp]
	lea	rax, -2016[rbp]
	mov	esi, 999
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -2016[rbp]
	mov	rsi, rax
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
.L82:
	mov	rdx, QWORD PTR -2056[rbp]
	lea	rax, -1008[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
.L81:
	mov	rdx, QWORD PTR -2056[rbp]
	lea	rax, -2021[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L83
	cmp	DWORD PTR -2040[rbp], 0
	je	.L84
.L83:
	cmp	DWORD PTR -2040[rbp], 0
	jne	.L85
	lea	rdi, .LC20[rip]
	call	puts@PLT
.L85:
	mov	rax, QWORD PTR -2056[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	cmp	DWORD PTR -2040[rbp], 0
	je	.L86
	mov	rax, QWORD PTR -2056[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L87
	call	__stack_chk_fail@PLT
.L87:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	mostrarRecPorCli, .-mostrarRecPorCli
	.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	"392172.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	">>> Menu de opcoes <<<\000"
	.align	2
.LC1:
	.ascii	"\0121 - Para criar os arquivos\0122 - Para cadastra"
	.ascii	"r clientes\0123 - Para incluir recebimentos\0124 - "
	.ascii	"Para excluir clientes e recebimentos\000"
	.align	2
.LC2:
	.ascii	"\0125 - Para alterar cadastro de clientes\0126 - Pa"
	.ascii	"ra alterar recebimento\0127 - Para mostrar recebime"
	.ascii	"ntos em um periodo\0128 - Para mostrar recebimentos"
	.ascii	" de um cliente\0120 - Para sair\000"
	.align	2
.LC3:
	.ascii	"\012O que deseja fazer? \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"Saindo...\000"
	.align	2
.LC6:
	.ascii	"Informe um numero valido!\000"
	.align	2
.LC7:
	.ascii	"\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L15:
	ldr	r0, .L18+4
	bl	printf
	ldr	r0, .L18+8
	bl	printf
	ldr	r0, .L18+12
	bl	printf
	ldr	r0, .L18+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L18+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L12:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	criarArquivo
	b	.L14
.L11:
	ldr	r0, [fp, #-16]
	bl	cadastrarCliente
	b	.L14
.L10:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	incluirRecebimentos
	b	.L14
.L9:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	excluirDadosCliente
	b	.L14
.L8:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	alterarCadastroCliente
	b	.L14
.L7:
	ldr	r0, [fp, #-12]
	bl	alterarRecebimento
	b	.L14
.L6:
	ldr	r0, [fp, #-12]
	bl	mostrarRecPorVenci
	b	.L14
.L4:
	ldr	r0, [fp, #-12]
	bl	mostrarRecPorCli
	b	.L14
.L13:
	ldr	r0, .L18+24
	bl	printf
	b	.L14
.L3:
	ldr	r0, .L18+28
	bl	printf
.L14:
	ldr	r0, .L18+32
	bl	puts
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L15
	ldr	r0, [fp, #-16]
	bl	fclose
	ldr	r0, [fp, #-12]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.section	.rodata
	.align	2
.LC9:
	.ascii	"a+\000"
	.align	2
.LC10:
	.ascii	"clientes.txt\000"
	.align	2
.LC11:
	.ascii	"recebimentos.txt\000"
	.align	2
.LC12:
	.ascii	"\012Erro ao criar arquivos...\000"
	.align	2
.LC13:
	.ascii	"\012Arquivos criados com sucesso\000"
	.text
	.align	2
	.global	criarArquivo
	.syntax unified
	.arm
	.fpu softvfp
	.type	criarArquivo, %function
criarArquivo:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r1, .L24
	ldr	r0, .L24+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r1, .L24
	ldr	r0, .L24+8
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L22
.L21:
	ldr	r0, .L24+12
	bl	printf
	b	.L23
.L22:
	ldr	r0, .L24+16
	bl	printf
	nop
.L23:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	criarArquivo, .-criarArquivo
	.section	.rodata
	.align	2
.LC14:
	.ascii	"r\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gerarCodigo
	.syntax unified
	.arm
	.fpu softvfp
	.type	gerarCodigo, %function
gerarCodigo:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1024
	sub	sp, sp, #8
	str	r0, [fp, #-1032]
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-1020]
	ldr	r1, .L33+4
	ldr	r0, .L33+8
	bl	fopen
	str	r0, [fp, #-1032]
	b	.L27
.L28:
	mov	r3, #0
	str	r3, [fp, #-1020]
.L27:
	sub	r3, fp, #1008
	ldr	r2, [fp, #-1032]
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-1020]
	cmp	r3, #1
	bne	.L29
	mov	r3, #1000
	str	r3, [fp, #-1024]
	b	.L30
.L29:
	sub	r2, fp, #1008
	sub	r3, fp, #1016
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #1016
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-1024]
.L30:
	ldr	r3, [fp, #-1024]
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC15
	.word	.LC14
	.word	.LC10
	.size	gerarCodigo, .-gerarCodigo
	.section	.rodata
	.align	2
.LC16:
	.ascii	"a\000"
	.align	2
.LC17:
	.ascii	"\012Seu codigo e: %d\000"
	.align	2
.LC18:
	.ascii	"\012Digite o nome: \000"
	.align	2
.LC19:
	.ascii	"Digite o endereco: \000"
	.align	2
.LC20:
	.ascii	"%d|%s-%s*\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cadastrarCliente
	.syntax unified
	.arm
	.fpu softvfp
	.type	cadastrarCliente, %function
cadastrarCliente:
	@ args = 0, pretend = 0, frame = 520
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #528
	str	r0, [fp, #-520]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-520]
	bl	gerarCodigo
	str	r0, [fp, #-516]
	ldr	r1, .L37+4
	ldr	r0, .L37+8
	bl	fopen
	str	r0, [fp, #-520]
	ldr	r1, [fp, #-516]
	ldr	r0, .L37+12
	bl	printf
	ldr	r3, .L37+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L37+20
	bl	printf
	sub	r3, fp, #512
	mov	r0, r3
	bl	gets
	ldr	r3, .L37+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L37+24
	bl	printf
	sub	r3, fp, #260
	mov	r0, r3
	bl	gets
	sub	r2, fp, #512
	sub	r3, fp, #260
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-516]
	ldr	r1, .L37+28
	ldr	r0, [fp, #-520]
	bl	fprintf
	ldr	r0, [fp, #-520]
	bl	fclose
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC21
	.word	.LC16
	.word	.LC10
	.word	.LC17
	.word	stdin
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	cadastrarCliente, .-cadastrarCliente
	.section	.rodata
	.align	2
.LC22:
	.ascii	"Qual o codigo do cliente? \000"
	.align	2
.LC23:
	.ascii	"Informe um codigo cadastrado\000"
	.align	2
.LC24:
	.ascii	"\012Numero do documento? \000"
	.align	2
.LC25:
	.ascii	"\012Valor do documento? \000"
	.align	2
.LC26:
	.ascii	"%f\000"
	.align	2
.LC27:
	.ascii	"\012Data da emissao:\000"
	.align	2
.LC28:
	.ascii	"\012Dia: \000"
	.align	2
.LC29:
	.ascii	"Mes: \000"
	.align	2
.LC30:
	.ascii	"Ano: \000"
	.align	2
.LC31:
	.ascii	"\012Data do vencimento: \000"
	.global	__aeabi_f2d
	.align	2
.LC32:
	.ascii	"%d|%d:%.2f-e%d/%d/%d-v%d/%d/%d#%d*\012\000"
	.align	2
.LC33:
	.ascii	"\012Recebimento incluso!\000"
	.align	2
.LC34:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	incluirRecebimentos
	.syntax unified
	.arm
	.fpu softvfp
	.type	incluirRecebimentos, %function
incluirRecebimentos:
	@ args = 0, pretend = 0, frame = 1064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #1104
	sub	sp, sp, #4
	str	r0, [fp, #-1088]
	str	r1, [fp, #-1092]
	ldr	r3, .L48
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1044]
	ldr	r1, .L48+4
	ldr	r0, .L48+8
	bl	fopen
	str	r0, [fp, #-1088]
.L45:
	ldr	r0, .L48+12
	bl	printf
	sub	r3, fp, #1056
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L48+16
	bl	__isoc99_scanf
	b	.L40
.L43:
	sub	r3, fp, #1040
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-1080]
	cmp	r2, r3
	bne	.L41
	mov	r3, #1
	str	r3, [fp, #-1044]
.L41:
	sub	r3, fp, #1024
	sub	r3, r3, #8
	ldr	r2, [fp, #-1088]
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
.L40:
	sub	r3, fp, #1040
	ldr	r2, [fp, #-1088]
	mov	r1, #5
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	beq	.L43
.L42:
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	bne	.L44
	ldr	r0, .L48+20
	bl	puts
.L44:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1088]
	bl	fseek
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	beq	.L45
	ldr	r0, [fp, #-1088]
	bl	fclose
	ldr	r3, [fp, #-1044]
	cmp	r3, #1
	bne	.L46
	ldr	r0, .L48+24
	bl	printf
	sub	r3, fp, #1056
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L48+16
	bl	__isoc99_scanf
	ldr	r0, .L48+28
	bl	printf
	sub	r3, fp, #1056
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L48+32
	bl	__isoc99_scanf
	ldr	r0, .L48+36
	bl	printf
	ldr	r0, .L48+40
	bl	printf
	sub	r3, fp, #1056
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L48+16
	bl	__isoc99_scanf
	ldr	r0, .L48+44
	bl	printf
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L48+16
	bl	__isoc99_scanf
	ldr	r0, .L48+48
	bl	printf
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L48+16
	bl	__isoc99_scanf
	ldr	r0, .L48+52
	bl	printf
	ldr	r0, .L48+40
	bl	printf
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L48+16
	bl	__isoc99_scanf
	ldr	r0, .L48+44
	bl	printf
	sub	r3, fp, #1040
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L48+16
	bl	__isoc99_scanf
	ldr	r0, .L48+48
	bl	printf
	sub	r3, fp, #1040
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L48+16
	bl	__isoc99_scanf
.L46:
	ldr	r1, .L48+56
	ldr	r0, .L48+60
	bl	fopen
	str	r0, [fp, #-1092]
	ldr	r7, [fp, #-1080]
	ldr	r8, [fp, #-1076]
	ldr	r3, [fp, #-1072]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-1068]
	ldr	r0, [fp, #-1064]
	ldr	ip, [fp, #-1060]
	ldr	lr, [fp, #-1056]
	ldr	r4, [fp, #-1052]
	ldr	r5, [fp, #-1048]
	ldr	r6, [fp, #-1080]
	str	r6, [sp, #32]
	str	r5, [sp, #28]
	str	r4, [sp, #24]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	mov	r3, r8
	mov	r2, r7
	ldr	r1, .L48+64
	ldr	r0, [fp, #-1092]
	bl	fprintf
	ldr	r0, [fp, #-1092]
	bl	fclose
	ldr	r0, .L48+68
	bl	puts
	nop
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC34
	.word	.LC14
	.word	.LC10
	.word	.LC22
	.word	.LC4
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC16
	.word	.LC11
	.word	.LC32
	.word	.LC33
	.size	incluirRecebimentos, .-incluirRecebimentos
	.section	.rodata
	.align	2
.LC35:
	.ascii	"w\000"
	.align	2
.LC36:
	.ascii	"apagar.txt\000"
	.align	2
.LC37:
	.ascii	"r+\000"
	.align	2
.LC38:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	excluirDadosCliente
	.syntax unified
	.arm
	.fpu softvfp
	.type	excluirDadosCliente, %function
excluirDadosCliente:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1024
	sub	sp, sp, #8
	str	r0, [fp, #-1032]
	str	r1, [fp, #-1036]
	ldr	r3, .L57
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L57+4
	ldr	r0, .L57+8
	bl	fopen
	str	r0, [fp, #-1020]
	mov	r3, #0
	str	r3, [fp, #-1024]
	ldr	r1, .L57+12
	ldr	r0, .L57+16
	bl	fopen
	str	r0, [fp, #-1032]
.L55:
	ldr	r0, .L57+20
	bl	printf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L57+24
	bl	__isoc99_scanf
	b	.L51
.L53:
	sub	r3, fp, #1016
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-1028]
	cmp	r2, r3
	beq	.L52
	ldr	r0, [fp, #-1032]
	bl	ftell
	mov	r3, r0
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1032]
	bl	fseek
	sub	r3, fp, #1008
	ldr	r2, [fp, #-1032]
	ldr	r1, .L57+28
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1008
	ldr	r1, [fp, #-1020]
	mov	r0, r3
	bl	fputs
	b	.L51
.L52:
	mov	r3, #1
	str	r3, [fp, #-1024]
	sub	r3, fp, #1008
	ldr	r2, [fp, #-1032]
	ldr	r1, .L57+28
	mov	r0, r3
	bl	fgets
.L51:
	sub	r3, fp, #1016
	ldr	r2, [fp, #-1032]
	mov	r1, #5
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldr	r3, [fp, #-1024]
	cmp	r3, #0
	bne	.L54
	ldr	r0, .L57+32
	bl	puts
.L54:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1032]
	bl	fseek
	ldr	r3, [fp, #-1024]
	cmp	r3, #0
	beq	.L55
	ldr	r0, [fp, #-1032]
	bl	fclose
	ldr	r0, [fp, #-1020]
	bl	fclose
	ldr	r0, .L57+16
	bl	remove
	ldr	r1, .L57+16
	ldr	r0, .L57+8
	bl	rename
	ldr	r2, [fp, #-1028]
	sub	r3, fp, #1016
	ldr	r1, [fp, #-1036]
	mov	r0, r3
	bl	excluirDadosRecebimentos
	nop
	ldr	r3, .L57
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L56
	bl	__stack_chk_fail
.L56:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	.LC38
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC10
	.word	.LC22
	.word	.LC4
	.word	999
	.word	.LC23
	.size	excluirDadosCliente, .-excluirDadosCliente
	.section	.rodata
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	excluirDadosRecebimentos
	.syntax unified
	.arm
	.fpu softvfp
	.type	excluirDadosRecebimentos, %function
excluirDadosRecebimentos:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	str	r0, [fp, #-1032]
	str	r1, [fp, #-1036]
	str	r2, [fp, #-1040]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L66+4
	ldr	r0, .L66+8
	bl	fopen
	str	r0, [fp, #-1012]
	mov	r3, #1
	str	r3, [fp, #-1020]
	mov	r3, #0
	str	r3, [fp, #-1016]
	ldr	r1, .L66+12
	ldr	r0, .L66+16
	bl	fopen
	str	r0, [fp, #-1036]
.L64:
	ldr	r0, [fp, #-1036]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-1021]
	ldrb	r3, [fp, #-1021]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L64
	ldr	r2, [fp, #-1036]
	mov	r1, #5
	ldr	r0, [fp, #-1032]
	bl	fgets
	ldr	r0, [fp, #-1032]
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-1040]
	cmp	r3, r2
	beq	.L61
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1036]
	bl	fseek
	mov	r3, #1
	str	r3, [fp, #-1016]
	b	.L62
.L63:
	sub	r3, fp, #1008
	ldr	r2, [fp, #-1036]
	ldr	r1, .L66+20
	mov	r0, r3
	bl	fgets
	ldr	r3, [fp, #-1016]
	add	r3, r3, #1
	str	r3, [fp, #-1016]
.L62:
	ldr	r2, [fp, #-1016]
	ldr	r3, [fp, #-1020]
	cmp	r2, r3
	blt	.L63
	sub	r3, fp, #1008
	ldr	r2, [fp, #-1036]
	ldr	r1, .L66+20
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1008
	ldr	r1, [fp, #-1012]
	mov	r0, r3
	bl	fputs
.L61:
	ldr	r3, [fp, #-1020]
	add	r3, r3, #1
	str	r3, [fp, #-1020]
	b	.L64
.L67:
	.align	2
.L66:
	.word	.LC39
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC11
	.word	999
	.size	excluirDadosRecebimentos, .-excluirDadosRecebimentos
	.section	.rodata
	.align	2
.LC40:
	.ascii	"%s-%s*\000"
	.align	2
.LC41:
	.ascii	"\012Cadastro alterado!\000"
	.align	2
.LC42:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	alterarCadastroCliente
	.syntax unified
	.arm
	.fpu softvfp
	.type	alterarCadastroCliente, %function
alterarCadastroCliente:
	@ args = 0, pretend = 0, frame = 1544
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1536
	sub	sp, sp, #8
	str	r0, [fp, #-1544]
	str	r1, [fp, #-1548]
	ldr	r3, .L79
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1536]
	mov	r3, #0
	str	r3, [fp, #-1524]
	mov	r3, #0
	str	r3, [fp, #-1532]
	mov	r3, #0
	str	r3, [fp, #-1528]
	ldr	r1, .L79+4
	ldr	r0, .L79+8
	bl	fopen
	str	r0, [fp, #-1544]
.L77:
	ldr	r0, .L79+12
	bl	printf
	sub	r3, fp, #1536
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L79+16
	bl	__isoc99_scanf
	b	.L69
.L75:
	sub	r3, fp, #1504
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-1540]
	cmp	r2, r3
	bne	.L70
	mov	r3, #1
	str	r3, [fp, #-1536]
	ldr	r0, [fp, #-1544]
	bl	ftell
	str	r0, [fp, #-1524]
	ldr	r3, [fp, #-1524]
	add	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1544]
	bl	fseek
.L71:
	ldr	r3, [fp, #-1528]
	add	r3, r3, #1
	str	r3, [fp, #-1528]
	ldr	r0, [fp, #-1544]
	bl	fgetc
	mov	r3, r0
	cmp	r3, #42
	bne	.L71
	ldr	r3, [fp, #-1524]
	add	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1544]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-1532]
	b	.L72
.L73:
	ldr	r1, [fp, #-1544]
	mov	r0, #0
	bl	fputc
	ldr	r3, [fp, #-1532]
	add	r3, r3, #1
	str	r3, [fp, #-1532]
.L72:
	ldr	r2, [fp, #-1532]
	ldr	r3, [fp, #-1528]
	cmp	r2, r3
	blt	.L73
	ldr	r0, [fp, #-1544]
	bl	ftell
	mov	r2, r0
	ldr	r3, [fp, #-1528]
	sub	r3, r2, r3
	str	r3, [fp, #-1524]
	mov	r2, #0
	ldr	r1, [fp, #-1524]
	ldr	r0, [fp, #-1544]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-1512]
	sub	r3, fp, #1504
	sub	r3, r3, #4
	mov	r2, #246
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1260]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #246
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L79+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L79+24
	bl	printf
	sub	r3, fp, #1504
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	gets
	ldr	r3, .L79+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L79+28
	bl	printf
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	gets
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #8
	sub	r2, fp, #1504
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, .L79+32
	ldr	r0, [fp, #-1544]
	bl	fprintf
	ldr	r0, [fp, #-1544]
	bl	fclose
	ldr	r1, .L79+4
	ldr	r0, .L79+8
	bl	fopen
	str	r0, [fp, #-1544]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-1544]
	bl	fseek
	ldr	r1, [fp, #-1544]
	mov	r0, #10
	bl	fputc
	ldr	r0, [fp, #-1544]
	bl	fclose
.L70:
	sub	r3, fp, #1008
	ldr	r2, [fp, #-1544]
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
.L69:
	sub	r3, fp, #1504
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1544]
	mov	r1, #5
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	ldr	r3, [fp, #-1536]
	cmp	r3, #0
	beq	.L75
.L74:
	ldr	r3, [fp, #-1536]
	cmp	r3, #0
	bne	.L76
	ldr	r0, .L79+36
	bl	puts
.L76:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1544]
	bl	fseek
	ldr	r3, [fp, #-1536]
	cmp	r3, #0
	beq	.L77
	ldr	r0, .L79+40
	bl	puts
	nop
	ldr	r3, .L79
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L78
	bl	__stack_chk_fail
.L78:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	.LC42
	.word	.LC37
	.word	.LC10
	.word	.LC22
	.word	.LC4
	.word	stdin
	.word	.LC18
	.word	.LC19
	.word	.LC40
	.word	.LC23
	.word	.LC41
	.size	alterarCadastroCliente, .-alterarCadastroCliente
	.section	.rodata
	.align	2
.LC43:
	.ascii	"Digite o codigo do documento: \000"
	.align	2
.LC44:
	.ascii	"%d:%.2f-e%d/%d/%d-v%d/%d/%d#%d*\000"
	.align	2
.LC45:
	.ascii	"\012Recebimento alterado!\000"
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	alterarRecebimento
	.syntax unified
	.arm
	.fpu softvfp
	.type	alterarRecebimento, %function
alterarRecebimento:
	@ args = 0, pretend = 0, frame = 1072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #1104
	sub	sp, sp, #8
	str	r0, [fp, #-1088]
	ldr	r3, .L92
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1048]
	mov	r3, #0
	str	r3, [fp, #-1036]
	mov	r3, #0
	str	r3, [fp, #-1044]
	mov	r3, #0
	str	r3, [fp, #-1040]
	ldr	r1, .L92+4
	ldr	r0, .L92+8
	bl	fopen
	str	r0, [fp, #-1088]
.L90:
	ldr	r0, .L92+12
	bl	printf
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L92+16
	bl	__isoc99_scanf
	b	.L82
.L88:
	sub	r3, fp, #1024
	sub	r3, r3, #8
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-1084]
	cmp	r2, r3
	bne	.L83
	mov	r3, #1
	str	r3, [fp, #-1048]
	ldr	r0, [fp, #-1088]
	bl	ftell
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	add	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1088]
	bl	fseek
.L84:
	ldr	r3, [fp, #-1040]
	add	r3, r3, #1
	str	r3, [fp, #-1040]
	ldr	r0, [fp, #-1088]
	bl	fgetc
	mov	r3, r0
	cmp	r3, #42
	bne	.L84
	ldr	r3, [fp, #-1036]
	add	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1088]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-1044]
	b	.L85
.L86:
	ldr	r1, [fp, #-1088]
	mov	r0, #0
	bl	fputc
	ldr	r3, [fp, #-1044]
	add	r3, r3, #1
	str	r3, [fp, #-1044]
.L85:
	ldr	r2, [fp, #-1044]
	ldr	r3, [fp, #-1040]
	cmp	r2, r3
	blt	.L86
	ldr	r0, .L92+20
	bl	printf
	sub	r3, fp, #1072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L92+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-1036]
	add	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1088]
	bl	fseek
	ldr	r0, .L92+24
	bl	printf
	sub	r3, fp, #1072
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L92+28
	bl	__isoc99_scanf
	ldr	r0, .L92+32
	bl	printf
	ldr	r0, .L92+36
	bl	printf
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L92+16
	bl	__isoc99_scanf
	ldr	r0, .L92+40
	bl	printf
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L92+16
	bl	__isoc99_scanf
	ldr	r0, .L92+44
	bl	printf
	sub	r3, fp, #1056
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L92+16
	bl	__isoc99_scanf
	ldr	r0, .L92+48
	bl	printf
	ldr	r0, .L92+36
	bl	printf
	sub	r3, fp, #1056
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L92+16
	bl	__isoc99_scanf
	ldr	r0, .L92+40
	bl	printf
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L92+16
	bl	__isoc99_scanf
	ldr	r0, .L92+44
	bl	printf
	sub	r3, fp, #1040
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L92+16
	bl	__isoc99_scanf
	ldr	r7, [fp, #-1080]
	ldr	r3, [fp, #-1076]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-1072]
	ldr	r0, [fp, #-1068]
	ldr	ip, [fp, #-1064]
	ldr	lr, [fp, #-1060]
	ldr	r4, [fp, #-1056]
	ldr	r5, [fp, #-1052]
	ldr	r6, [fp, #-1084]
	str	r6, [sp, #32]
	str	r5, [sp, #28]
	str	r4, [sp, #24]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r7
	ldr	r1, .L92+52
	ldr	r0, [fp, #-1088]
	bl	fprintf
	ldr	r0, [fp, #-1088]
	bl	fclose
	ldr	r1, .L92+4
	ldr	r0, .L92+8
	bl	fopen
	str	r0, [fp, #-1088]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-1088]
	bl	fseek
	ldr	r1, [fp, #-1088]
	mov	r0, #10
	bl	fputc
	ldr	r0, [fp, #-1088]
	bl	fclose
.L83:
	sub	r3, fp, #1024
	ldr	r2, [fp, #-1088]
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
.L82:
	sub	r3, fp, #1024
	sub	r3, r3, #8
	ldr	r2, [fp, #-1088]
	mov	r1, #5
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L87
	ldr	r3, [fp, #-1048]
	cmp	r3, #0
	beq	.L88
.L87:
	ldr	r3, [fp, #-1048]
	cmp	r3, #0
	bne	.L89
	ldr	r0, .L92+56
	bl	puts
.L89:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1088]
	bl	fseek
	ldr	r3, [fp, #-1048]
	cmp	r3, #0
	beq	.L90
	ldr	r0, [fp, #-1088]
	bl	fclose
	ldr	r0, .L92+60
	bl	puts
	nop
	ldr	r3, .L92
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L91
	bl	__stack_chk_fail
.L91:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L93:
	.align	2
.L92:
	.word	.LC46
	.word	.LC37
	.word	.LC11
	.word	.LC22
	.word	.LC4
	.word	.LC43
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC44
	.word	.LC23
	.word	.LC45
	.size	alterarRecebimento, .-alterarRecebimento
	.section	.rodata
	.align	2
.LC47:
	.ascii	"\012Digite uma data: \000"
	.align	2
.LC48:
	.ascii	"\012%s\000"
	.align	2
.LC49:
	.ascii	"\012FIM\000"
	.align	2
.LC50:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mostrarRecPorVenci
	.syntax unified
	.arm
	.fpu softvfp
	.type	mostrarRecPorVenci, %function
mostrarRecPorVenci:
	@ args = 0, pretend = 0, frame = 1024
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1024
	str	r0, [fp, #-1024]
	ldr	r3, .L98
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L98+4
	ldr	r0, .L98+8
	bl	fopen
	str	r0, [fp, #-1024]
	ldr	r0, .L98+12
	bl	printf
	ldr	r0, .L98+16
	bl	printf
	sub	r3, fp, #1020
	mov	r1, r3
	ldr	r0, .L98+20
	bl	__isoc99_scanf
	ldr	r0, .L98+24
	bl	printf
	sub	r3, fp, #1016
	mov	r1, r3
	ldr	r0, .L98+20
	bl	__isoc99_scanf
	ldr	r0, .L98+28
	bl	printf
	sub	r3, fp, #1012
	mov	r1, r3
	ldr	r0, .L98+20
	bl	__isoc99_scanf
	b	.L95
.L96:
	sub	r3, fp, #1008
	ldr	r2, [fp, #-1024]
	ldr	r1, .L98+32
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1008
	mov	r1, r3
	ldr	r0, .L98+36
	bl	printf
.L95:
	ldr	r0, [fp, #-1024]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L96
	ldr	r0, [fp, #-1024]
	bl	fclose
	ldr	r0, .L98+40
	bl	printf
	nop
	ldr	r3, .L98
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L97
	bl	__stack_chk_fail
.L97:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L99:
	.align	2
.L98:
	.word	.LC50
	.word	.LC37
	.word	.LC11
	.word	.LC47
	.word	.LC28
	.word	.LC4
	.word	.LC29
	.word	.LC30
	.word	999
	.word	.LC48
	.word	.LC49
	.size	mostrarRecPorVenci, .-mostrarRecPorVenci
	.section	.rodata
	.align	2
.LC51:
	.ascii	"%s\000"
	.align	2
.LC52:
	.ascii	"FIM\000"
	.align	2
.LC53:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mostrarRecPorCli
	.syntax unified
	.arm
	.fpu softvfp
	.type	mostrarRecPorCli, %function
mostrarRecPorCli:
	@ args = 0, pretend = 0, frame = 2040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2032
	sub	sp, sp, #8
	str	r0, [fp, #-2040]
	ldr	r3, .L108
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2032]
	mov	r3, #0
	str	r3, [fp, #-2028]
	mov	r3, #0
	str	r3, [fp, #-2024]
	mov	r3, #0
	str	r3, [fp, #-2020]
	ldr	r1, .L108+4
	ldr	r0, .L108+8
	bl	fopen
	str	r0, [fp, #-2040]
.L106:
	ldr	r0, .L108+12
	bl	printf
	sub	r3, fp, #2032
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L108+16
	bl	__isoc99_scanf
	b	.L101
.L104:
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-2036]
	cmp	r2, r3
	bne	.L102
	mov	r3, #1
	str	r3, [fp, #-2032]
	ldr	r0, [fp, #-2040]
	bl	ftell
	str	r0, [fp, #-2028]
	ldr	r3, [fp, #-2028]
	add	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-2040]
	bl	fseek
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2040]
	ldr	r1, .L108+20
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L108+24
	bl	printf
.L102:
	sub	r3, fp, #1008
	ldr	r2, [fp, #-2040]
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
.L101:
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-2040]
	mov	r1, #5
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L103
	ldr	r3, [fp, #-2032]
	cmp	r3, #0
	beq	.L104
.L103:
	ldr	r3, [fp, #-2032]
	cmp	r3, #0
	bne	.L105
	ldr	r0, .L108+28
	bl	puts
.L105:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-2040]
	bl	fseek
	ldr	r3, [fp, #-2032]
	cmp	r3, #0
	beq	.L106
	ldr	r0, [fp, #-2040]
	bl	fclose
	ldr	r0, .L108+32
	bl	printf
	nop
	ldr	r3, .L108
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L107
	bl	__stack_chk_fail
.L107:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L109:
	.align	2
.L108:
	.word	.LC53
	.word	.LC37
	.word	.LC11
	.word	.LC22
	.word	.LC4
	.word	999
	.word	.LC51
	.word	.LC23
	.word	.LC52
	.size	mostrarRecPorCli, .-mostrarRecPorCli
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
