	.file	"262962.c"
	.intel_syntax noprefix
	.text
	.globl	logP
	.bss
	.align 32
	.type	logP, @object
	.size	logP, 200800
logP:
	.zero	200800
	.globl	log
	.align 32
	.type	log, @object
	.size	log, 402400
log:
	.zero	402400
	.globl	opt
	.align 4
	.type	opt, @object
	.size	opt, 4
opt:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	">> Desenvolvida por ZeusXalocDev!"
	.align 8
.LC1:
	.string	"\n======================================="
.LC2:
	.string	"\n{1} - Cadastrar Cliente"
.LC3:
	.string	"{2} - Cliente"
.LC4:
	.string	"{3} - Alterar Cliente"
.LC5:
	.string	"{4} - Excluir Cliente"
.LC6:
	.string	"{5} - Cadastrar Pedido"
.LC7:
	.string	"{6} - Alterar Pedido"
.LC8:
	.string	"{7} - Excluir Pedido"
.LC9:
	.string	"\n{8} - Sair"
	.align 8
.LC10:
	.string	"\n========================================"
.LC11:
	.string	"\n\342\200\242Digite uma Op\303\247\303\243o: "
.LC12:
	.string	"%d"
	.align 8
.LC13:
	.string	"Voce selecionou a opcao 1 - Cadastrar Novo Cliente"
	.align 8
.LC14:
	.string	"\nEntre com um codigo de 1 a 200 para seu cadastro: "
	.align 8
.LC15:
	.string	"\nCodigo ja existente ou invalido pressione enter para voltar ao menu principal"
.LC16:
	.string	"cls"
	.align 8
.LC17:
	.string	"\nNao e possivel realizar mais cadastros!"
	.align 8
.LC18:
	.string	"Voce selecionou a opcao 2 - Clientes\n"
	.align 8
.LC19:
	.string	"1 - Pesquisar cliente por codigo"
.LC20:
	.string	"2 - Listar todos os clientes"
.LC21:
	.string	"3 - Voltar ao menu principal"
	.align 8
.LC22:
	.string	"Selecione uma opcao por favor: "
	.align 8
.LC23:
	.string	"Voce selecionou voltar ao menu principal, pressione ENTER para continuar"
.LC24:
	.string	"Opcao Invalida\n"
	.align 8
.LC25:
	.string	"Voce selecionou a opcao 3 - Alterar Cliente"
	.align 8
.LC26:
	.string	"Voce selecionou a opcao 4 - Excluir Cliente"
	.align 8
.LC27:
	.string	"Voce selecionou a opcao 5 - Cadastrar Pedido"
	.align 8
.LC28:
	.string	"Voce selecionou a opcao 6 - Alterar Pedido"
	.align 8
.LC29:
	.string	"Voce selecionou a opcao 7 - Excluir Pedido"
	.align 8
.LC30:
	.string	"Voce selecionou a opcao 8 - Sair"
	.align 8
.LC31:
	.string	"Opcao invalida, favor pressione enter para voltar ao menu principal"
	.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
.L23:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	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	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 1
	jne	.L2
	lea	rdi, .LC13[rip]
	call	puts@PLT
	call	verifica_pos
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], -1
	je	.L3
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	verifica_cod
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 1
	jne	.L4
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	cadastroP
	jmp	.L6
.L4:
	lea	rdi, .LC15[rip]
	call	puts@PLT
	call	getchar@PLT
	lea	rdi, .LC16[rip]
	call	system@PLT
	call	main
	jmp	.L6
.L3:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L6
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 2
	jne	.L7
	lea	rdi, .LC16[rip]
	call	system@PLT
.L15:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 1
	jne	.L8
	call	consultaCod
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 2
	jne	.L10
	mov	eax, 0
	call	list
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 3
	jne	.L11
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	lea	rdi, .LC16[rip]
	call	system@PLT
	jmp	.L9
.L11:
	lea	rdi, .LC24[rip]
	call	puts@PLT
.L9:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 3
	jg	.L12
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	js	.L12
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jne	.L13
.L12:
	mov	eax, 1
	jmp	.L14
.L13:
	mov	eax, 0
.L14:
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jne	.L15
	jmp	.L16
.L7:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 3
	jne	.L17
	lea	rdi, .LC25[rip]
	call	puts@PLT
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 4
	jne	.L18
	lea	rdi, .LC26[rip]
	call	puts@PLT
	call	excluirCliente
	jmp	.L16
.L18:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 5
	jne	.L19
	lea	rdi, .LC27[rip]
	call	puts@PLT
	mov	eax, 0
	call	cadastroPedido
	jmp	.L16
.L19:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 6
	jne	.L20
	lea	rdi, .LC28[rip]
	call	puts@PLT
	jmp	.L16
.L20:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 7
	jne	.L21
	lea	rdi, .LC29[rip]
	call	puts@PLT
	jmp	.L16
.L21:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 8
	jne	.L22
	lea	rdi, .LC30[rip]
	call	puts@PLT
	jmp	.L16
.L22:
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	lea	rdi, .LC16[rip]
	call	system@PLT
.L16:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 8
	jne	.L23
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 7
	jle	.L23
.L6:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC32:
	.string	"\nCodigo: %d \nNome: %s\nCPF: %s\nEndereco: %s\nTelefone: %s\n\n"
	.align 8
.LC33:
	.string	"Pressione enter para volta ao menu principal"
	.text
	.globl	list
	.type	list, @function
list:
.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	DWORD PTR -4[rbp], 0
	jmp	.L27
.L29:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip+1004]
	mov	eax, DWORD PTR [rax+rdx]
	test	eax, eax
	je	.L28
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 192[rax]
	lea	rax, log[rip]
	add	rax, rdx
	lea	r8, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 592[rax]
	lea	rax, log[rip]
	add	rax, rdx
	lea	rdi, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 400[rax]
	lea	rax, log[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rsi, log[rip+1004]
	mov	eax, DWORD PTR [rax+rsi]
	mov	r9, r8
	mov	r8, rdi
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	add	DWORD PTR -4[rbp], 1
.L27:
	cmp	DWORD PTR -4[rbp], 199
	jle	.L29
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	lea	rdi, .LC16[rip]
	call	system@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	list, .-list
	.section	.rodata
.LC34:
	.string	"\nDigite seu nome: "
.LC35:
	.string	"\nDigite seu CPF: "
.LC36:
	.string	"\nDigite seu Endereco: "
.LC37:
	.string	"\nDigite seu Telefone: "
	.text
	.globl	cadastroP
	.type	cadastroP, @function
cadastroP:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
.L31:
	call	verifica_pos
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rcx, log[rip+1004]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax+rcx], edx
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 400[rax]
	lea	rax, log[rip]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 592[rax]
	lea	rax, log[rip]
	add	rax, rdx
	add	rax, 8
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 192[rax]
	lea	rax, log[rip]
	add	rax, rdx
	add	rax, 8
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip+1000]
	mov	DWORD PTR [rax+rdx], 1
	call	getchar@PLT
	mov	eax, DWORD PTR opt[rip]
	cmp	eax, 1
	je	.L31
	lea	rdi, .LC16[rip]
	call	system@PLT
	call	main
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cadastroP, .-cadastroP
	.globl	verifica_pos
	.type	verifica_pos, @function
verifica_pos:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], 0
	jmp	.L33
.L36:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip+1000]
	mov	eax, DWORD PTR [rax+rdx]
	test	eax, eax
	jne	.L34
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L35
.L34:
	add	DWORD PTR -4[rbp], 1
.L33:
	cmp	DWORD PTR -4[rbp], 200
	jle	.L36
	mov	eax, -1
.L35:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	verifica_pos, .-verifica_pos
	.globl	verifica_cod
	.type	verifica_cod, @function
verifica_cod:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L38
.L41:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip+1004]
	mov	eax, DWORD PTR [rax+rdx]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L39
	mov	eax, 0
	jmp	.L40
.L39:
	add	DWORD PTR -4[rbp], 1
.L38:
	cmp	DWORD PTR -4[rbp], 200
	jle	.L41
	mov	eax, 1
.L40:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	verifica_cod, .-verifica_cod
	.section	.rodata
	.align 8
.LC38:
	.string	"\nDigite seu nome como esta no cadastro: "
.LC39:
	.string	"\nEscolha o seu pedido: "
.LC40:
	.string	"\n1- Sanduba esperto"
.LC41:
	.string	"\n2- Ceasar Salad"
.LC42:
	.string	"\n3- Raviolli\n:"
	.align 8
.LC43:
	.string	"\nVoce escolheu %s, seu pedido foi adicionado ao seu cadastro."
	.align 8
.LC44:
	.string	"\nPressione 1 para continuar pedindo ou 2 para volar ao menu principal: "
	.text
	.globl	cadastroPedido
	.type	cadastroPedido, @function
cadastroPedido:
.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, 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC16[rip]
	call	system@PLT
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	DWORD PTR -212[rbp], 0
	jmp	.L43
.L49:
	mov	eax, DWORD PTR -212[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 400[rax]
	lea	rax, log[rip]
	add	rdx, rax
	lea	rax, -208[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L44
.L48:
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -216[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -216[rbp]
	cmp	eax, 1
	jne	.L45
	mov	eax, DWORD PTR -212[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 1008[rax]
	lea	rax, log[rip]
	add	rax, rdx
	movabs	rsi, 2333254338290278739
	movabs	rdi, 31371757091844965
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	eax, DWORD PTR -212[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 1008[rax]
	lea	rax, log[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -220[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -212[rbp], 1
	jmp	.L46
.L45:
	mov	eax, DWORD PTR -216[rbp]
	cmp	eax, 2
	jne	.L47
	mov	eax, DWORD PTR -212[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 1008[rax]
	lea	rax, log[rip]
	add	rax, rdx
	movabs	rcx, 5989913267275916611
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 1684106337
	mov	BYTE PTR 12[rax], 0
	mov	eax, DWORD PTR -212[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 1008[rax]
	lea	rax, log[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -220[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -212[rbp], 1
	jmp	.L46
.L47:
	mov	eax, DWORD PTR -216[rbp]
	cmp	eax, 3
	jne	.L46
	mov	eax, DWORD PTR -212[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 1008[rax]
	lea	rax, log[rip]
	add	rax, rdx
	movabs	rcx, 7596565897233719634
	mov	QWORD PTR [rax], rcx
	mov	BYTE PTR 8[rax], 0
	mov	eax, DWORD PTR -212[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 1008[rax]
	lea	rax, log[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -220[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -212[rbp], 1
.L46:
	mov	eax, DWORD PTR -220[rbp]
	cmp	eax, 1
	je	.L48
	lea	rdi, .LC16[rip]
	call	system@PLT
.L44:
	add	DWORD PTR -212[rbp], 1
.L43:
	cmp	DWORD PTR -212[rbp], 199
	jle	.L49
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	cadastroPedido, .-cadastroPedido
	.section	.rodata
.LC45:
	.string	"\nEntre com o codigo"
.LC46:
	.string	"pause"
	.align 8
.LC47:
	.string	"\nCodigo nao encontrado, pressione enter para volar ao menu principal"
	.text
	.globl	consultaCod
	.type	consultaCod, @function
consultaCod:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	lea	rdi, .LC45[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC16[rip]
	call	system@PLT
	jmp	.L52
.L55:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip+1004]
	mov	edx, DWORD PTR [rax+rdx]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jne	.L53
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip+1000]
	mov	eax, DWORD PTR [rax+rdx]
	cmp	eax, 1
	jne	.L53
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 192[rax]
	lea	rax, log[rip]
	add	rax, rdx
	lea	r8, 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 592[rax]
	lea	rax, log[rip]
	add	rax, rdx
	lea	rdi, 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 400[rax]
	lea	rax, log[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rsi, log[rip+1004]
	mov	eax, DWORD PTR [rax+rsi]
	mov	r9, r8
	mov	r8, rdi
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC46[rip]
	call	system@PLT
	lea	rdi, .LC16[rip]
	call	system@PLT
	jmp	.L54
.L53:
	add	DWORD PTR -12[rbp], 1
	cmp	DWORD PTR -12[rbp], 200
	jle	.L52
	lea	rdi, .LC47[rip]
	call	puts@PLT
	call	getchar@PLT
	lea	rdi, .LC16[rip]
	call	system@PLT
.L52:
	cmp	DWORD PTR -12[rbp], 200
	jle	.L55
.L54:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	consultaCod, .-consultaCod
	.section	.rodata
	.align 8
.LC48:
	.string	"\nEntre com o codigo do registro que deseja excluir: "
	.align 8
.LC49:
	.string	"\nDeseja realmente exlucir? s/n: "
.LC50:
	.string	"%s"
.LC51:
	.string	"\nExclusao feita com sucesso"
.LC52:
	.string	"Exclusao cancelada!"
.LC53:
	.string	"\nCodigo nao encontrado"
	.text
	.globl	excluirCliente
	.type	excluirCliente, @function
excluirCliente:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	lea	rdi, .LC48[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L58
.L64:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip+1004]
	mov	edx, DWORD PTR [rax+rdx]
	mov	eax, DWORD PTR -16[rbp]
	cmp	edx, eax
	jne	.L59
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip+1000]
	mov	eax, DWORD PTR [rax+rdx]
	cmp	eax, 1
	jne	.L59
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 192[rax]
	lea	rax, log[rip]
	add	rax, rdx
	lea	r8, 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 592[rax]
	lea	rax, log[rip]
	add	rax, rdx
	lea	rdi, 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, 400[rax]
	lea	rax, log[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rsi, log[rip+1004]
	mov	eax, DWORD PTR [rax+rsi]
	mov	r9, r8
	mov	r8, rdi
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -17[rbp]
	mov	rsi, rax
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 83
	je	.L60
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 115
	jne	.L61
.L60:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip+1000]
	mov	DWORD PTR [rax+rdx], 0
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rax, rax, 2012
	lea	rdx, log[rip+1004]
	mov	DWORD PTR [rax+rdx], 0
	lea	rdi, .LC51[rip]
	call	puts@PLT
	jmp	.L62
.L61:
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 78
	je	.L63
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 110
	jne	.L59
.L63:
	lea	rdi, .LC52[rip]
	call	puts@PLT
	jmp	.L62
.L59:
	add	DWORD PTR -12[rbp], 1
	cmp	DWORD PTR -12[rbp], 200
	jle	.L58
	lea	rdi, .LC53[rip]
	call	puts@PLT
.L58:
	cmp	DWORD PTR -12[rbp], 200
	jle	.L64
.L62:
	lea	rdi, .LC46[rip]
	call	system@PLT
	lea	rdi, .LC16[rip]
	call	system@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L65
	call	__stack_chk_fail@PLT
.L65:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	excluirCliente, .-excluirCliente
	.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	"262962.c"
	.text
	.comm	logP,200800,4
	.comm	log,402400,4
	.comm	opt,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	">> Desenvolvida por ZeusXalocDev!\000"
	.align	2
.LC1:
	.ascii	"\012=======================================\000"
	.align	2
.LC2:
	.ascii	"\012{1} - Cadastrar Cliente\000"
	.align	2
.LC3:
	.ascii	"{2} - Cliente\000"
	.align	2
.LC4:
	.ascii	"{3} - Alterar Cliente\000"
	.align	2
.LC5:
	.ascii	"{4} - Excluir Cliente\000"
	.align	2
.LC6:
	.ascii	"{5} - Cadastrar Pedido\000"
	.align	2
.LC7:
	.ascii	"{6} - Alterar Pedido\000"
	.align	2
.LC8:
	.ascii	"{7} - Excluir Pedido\000"
	.align	2
.LC9:
	.ascii	"\012{8} - Sair\000"
	.align	2
.LC10:
	.ascii	"\012========================================\000"
	.align	2
.LC11:
	.ascii	"\012\342\200\242Digite uma Op\303\247\303\243o: \000"
	.align	2
.LC12:
	.ascii	"%d\000"
	.align	2
.LC13:
	.ascii	"Voce selecionou a opcao 1 - Cadastrar Novo Cliente\000"
	.align	2
.LC14:
	.ascii	"\012Entre com um codigo de 1 a 200 para seu cadastr"
	.ascii	"o: \000"
	.align	2
.LC15:
	.ascii	"\012Codigo ja existente ou invalido pressione enter"
	.ascii	" para voltar ao menu principal\000"
	.align	2
.LC16:
	.ascii	"cls\000"
	.align	2
.LC17:
	.ascii	"\012Nao e possivel realizar mais cadastros!\000"
	.align	2
.LC18:
	.ascii	"Voce selecionou a opcao 2 - Clientes\012\000"
	.align	2
.LC19:
	.ascii	"1 - Pesquisar cliente por codigo\000"
	.align	2
.LC20:
	.ascii	"2 - Listar todos os clientes\000"
	.align	2
.LC21:
	.ascii	"3 - Voltar ao menu principal\000"
	.align	2
.LC22:
	.ascii	"Selecione uma opcao por favor: \000"
	.align	2
.LC23:
	.ascii	"Voce selecionou voltar ao menu principal, pressione"
	.ascii	" ENTER para continuar\000"
	.align	2
.LC24:
	.ascii	"Opcao Invalida\012\000"
	.align	2
.LC25:
	.ascii	"Voce selecionou a opcao 3 - Alterar Cliente\000"
	.align	2
.LC26:
	.ascii	"Voce selecionou a opcao 4 - Excluir Cliente\000"
	.align	2
.LC27:
	.ascii	"Voce selecionou a opcao 5 - Cadastrar Pedido\000"
	.align	2
.LC28:
	.ascii	"Voce selecionou a opcao 6 - Alterar Pedido\000"
	.align	2
.LC29:
	.ascii	"Voce selecionou a opcao 7 - Excluir Pedido\000"
	.align	2
.LC30:
	.ascii	"Voce selecionou a opcao 8 - Sair\000"
	.align	2
.LC31:
	.ascii	"Opcao invalida, favor pressione enter para voltar a"
	.ascii	"o menu principal\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L23:
	ldr	r0, .L26+4
	bl	puts
	ldr	r0, .L26+8
	bl	puts
	ldr	r0, .L26+12
	bl	puts
	ldr	r0, .L26+16
	bl	puts
	ldr	r0, .L26+20
	bl	puts
	ldr	r0, .L26+24
	bl	puts
	ldr	r0, .L26+28
	bl	puts
	ldr	r0, .L26+32
	bl	puts
	ldr	r0, .L26+36
	bl	puts
	ldr	r0, .L26+40
	bl	puts
	ldr	r0, .L26+44
	bl	puts
	ldr	r0, .L26+48
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L26+52
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L2
	ldr	r0, .L26+56
	bl	puts
	bl	verifica_pos
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	beq	.L3
	ldr	r0, .L26+60
	bl	puts
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L26+52
	bl	__isoc99_scanf
	ldr	r3, .L26+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	verifica_cod
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L4
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	cadastroP
	b	.L6
.L4:
	ldr	r0, .L26+68
	bl	puts
	bl	getchar
	ldr	r0, .L26+72
	bl	system
	bl	main
	b	.L6
.L3:
	ldr	r0, .L26+76
	bl	puts
	b	.L6
.L2:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bne	.L7
	ldr	r0, .L26+72
	bl	system
.L15:
	ldr	r0, .L26+80
	bl	puts
	ldr	r0, .L26+84
	bl	puts
	ldr	r0, .L26+88
	bl	puts
	ldr	r0, .L26+92
	bl	puts
	ldr	r0, .L26+96
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L26+52
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L8
	bl	consultaCod
	b	.L9
.L8:
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	bne	.L10
	bl	list
	b	.L9
.L10:
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	bne	.L11
	ldr	r0, .L26+100
	bl	printf
	bl	getchar
	ldr	r0, .L26+72
	bl	system
	b	.L9
.L11:
	ldr	r0, .L26+104
	bl	puts
.L9:
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	bgt	.L12
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L12
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L13
.L12:
	mov	r3, #1
	b	.L14
.L13:
	mov	r3, #0
.L14:
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L15
	b	.L16
.L7:
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	bne	.L17
	ldr	r0, .L26+108
	bl	puts
	b	.L16
.L17:
	ldr	r3, [fp, #-28]
	cmp	r3, #4
	bne	.L18
	ldr	r0, .L26+112
	bl	puts
	bl	excluirCliente
	b	.L16
.L18:
	ldr	r3, [fp, #-28]
	cmp	r3, #5
	bne	.L19
	ldr	r0, .L26+116
	bl	puts
	bl	cadastroPedido
	b	.L16
.L19:
	ldr	r3, [fp, #-28]
	cmp	r3, #6
	bne	.L20
	ldr	r0, .L26+120
	bl	puts
	b	.L16
.L20:
	ldr	r3, [fp, #-28]
	cmp	r3, #7
	bne	.L21
	ldr	r0, .L26+124
	bl	puts
	b	.L16
.L21:
	ldr	r3, [fp, #-28]
	cmp	r3, #8
	bne	.L22
	ldr	r0, .L26+128
	bl	puts
	b	.L16
.L22:
	ldr	r0, .L26+132
	bl	printf
	bl	getchar
	ldr	r0, .L26+72
	bl	system
.L16:
	ldr	r3, [fp, #-28]
	cmp	r3, #8
	bne	.L23
	ldr	r3, [fp, #-28]
	cmp	r3, #7
	ble	.L23
.L6:
	mov	r3, #0
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC32
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	stdin
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	main, .-main
	.section	.rodata
	.align	2
.LC33:
	.ascii	"\012Codigo: %d \012Nome: %s\012CPF: %s\012Endereco:"
	.ascii	" %s\012Telefone: %s\012\012\000"
	.align	2
.LC34:
	.ascii	"Pressione enter para volta ao menu principal\000"
	.text
	.align	2
	.global	list
	.syntax unified
	.arm
	.fpu softvfp
	.type	list, %function
list:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L29
.L31:
	ldr	r1, .L32
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1004
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L30
	ldr	r1, .L32
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1004
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #400
	ldr	r2, .L32
	add	ip, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L32
	add	lr, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #600
	ldr	r2, .L32
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #200
	ldr	r2, .L32
	add	r3, r3, r2
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L32+4
	bl	printf
.L30:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L29:
	ldr	r3, [fp, #-8]
	cmp	r3, #199
	ble	.L31
	ldr	r0, .L32+8
	bl	printf
	bl	getchar
	ldr	r0, .L32+12
	bl	system
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	log
	.word	.LC33
	.word	.LC34
	.word	.LC16
	.size	list, .-list
	.section	.rodata
	.align	2
.LC35:
	.ascii	"\012Digite seu nome: \000"
	.align	2
.LC36:
	.ascii	"\012Digite seu CPF: \000"
	.align	2
.LC37:
	.ascii	"\012Digite seu Endereco: \000"
	.align	2
.LC38:
	.ascii	"\012Digite seu Telefone: \000"
	.text
	.align	2
	.global	cadastroP
	.syntax unified
	.arm
	.fpu softvfp
	.type	cadastroP, %function
cadastroP:
	@ 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]
.L35:
	bl	verifica_pos
	str	r0, [fp, #-12]
	ldr	r1, .L36
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1004
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r0, .L36+4
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #400
	ldr	r2, .L36
	add	r3, r3, r2
	mov	r0, r3
	bl	gets
	ldr	r0, .L36+8
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L36
	add	r3, r3, r2
	mov	r0, r3
	bl	gets
	ldr	r0, .L36+12
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #600
	ldr	r2, .L36
	add	r3, r3, r2
	mov	r0, r3
	bl	gets
	ldr	r0, .L36+16
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #200
	ldr	r2, .L36
	add	r3, r3, r2
	mov	r0, r3
	bl	gets
	ldr	r1, .L36
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1000
	mov	r2, #1
	str	r2, [r3]
	bl	getchar
	ldr	r3, .L36+20
	ldr	r3, [r3]
	cmp	r3, #1
	beq	.L35
	ldr	r0, .L36+24
	bl	system
	bl	main
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	log
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	opt
	.word	.LC16
	.size	cadastroP, .-cadastroP
	.align	2
	.global	verifica_pos
	.syntax unified
	.arm
	.fpu softvfp
	.type	verifica_pos, %function
verifica_pos:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L39
.L42:
	ldr	r1, .L43
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1000
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L40
	ldr	r3, [fp, #-8]
	b	.L41
.L40:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L39:
	ldr	r3, [fp, #-8]
	cmp	r3, #200
	ble	.L42
	mvn	r3, #0
.L41:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L44:
	.align	2
.L43:
	.word	log
	.size	verifica_pos, .-verifica_pos
	.align	2
	.global	verifica_cod
	.syntax unified
	.arm
	.fpu softvfp
	.type	verifica_cod, %function
verifica_cod:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L46
.L49:
	ldr	r1, .L50
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1004
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L47
	mov	r3, #0
	b	.L48
.L47:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L46:
	ldr	r3, [fp, #-8]
	cmp	r3, #200
	ble	.L49
	mov	r3, #1
.L48:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L51:
	.align	2
.L50:
	.word	log
	.size	verifica_cod, .-verifica_cod
	.section	.rodata
	.align	2
.LC39:
	.ascii	"\012Digite seu nome como esta no cadastro: \000"
	.align	2
.LC40:
	.ascii	"\012Escolha o seu pedido: \000"
	.align	2
.LC41:
	.ascii	"\0121- Sanduba esperto\000"
	.align	2
.LC42:
	.ascii	"\0122- Ceasar Salad\000"
	.align	2
.LC43:
	.ascii	"\0123- Raviolli\012:\000"
	.align	2
.LC44:
	.ascii	"Sanduba esperto\000"
	.align	2
.LC45:
	.ascii	"\012Voce escolheu %s, seu pedido foi adicionado ao "
	.ascii	"seu cadastro.\000"
	.align	2
.LC46:
	.ascii	"\012Pressione 1 para continuar pedindo ou 2 para vo"
	.ascii	"lar ao menu principal: \000"
	.align	2
.LC47:
	.ascii	"Ceasar Salad\000"
	.align	2
.LC48:
	.ascii	"Raviolli\000"
	.align	2
.LC49:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cadastroPedido
	.syntax unified
	.arm
	.fpu softvfp
	.type	cadastroPedido, %function
cadastroPedido:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L61+4
	bl	system
	ldr	r0, .L61+8
	bl	printf
	sub	r3, fp, #208
	mov	r0, r3
	bl	gets
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L53
.L59:
	ldr	r2, [fp, #-212]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #400
	ldr	r2, .L61+12
	add	r3, r3, r2
	sub	r2, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L54
.L58:
	ldr	r0, .L61+16
	bl	printf
	ldr	r0, .L61+20
	bl	printf
	ldr	r0, .L61+24
	bl	printf
	ldr	r0, .L61+28
	bl	printf
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L61+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-216]
	cmp	r3, #1
	bne	.L55
	ldr	r2, [fp, #-212]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1008
	ldr	r2, .L61+12
	add	r3, r3, r2
	ldr	r2, .L61+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #16
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-212]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1008
	ldr	r2, .L61+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L61+40
	bl	printf
	ldr	r0, .L61+44
	bl	printf
	sub	r3, fp, #220
	mov	r1, r3
	ldr	r0, .L61+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
	b	.L56
.L55:
	ldr	r3, [fp, #-216]
	cmp	r3, #2
	bne	.L57
	ldr	r2, [fp, #-212]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1008
	ldr	r2, .L61+12
	add	r3, r3, r2
	ldr	r2, .L61+48
	mov	r0, r3
	mov	r1, r2
	mov	r3, #13
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-212]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1008
	ldr	r2, .L61+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L61+40
	bl	printf
	ldr	r0, .L61+44
	bl	printf
	sub	r3, fp, #220
	mov	r1, r3
	ldr	r0, .L61+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
	b	.L56
.L57:
	ldr	r3, [fp, #-216]
	cmp	r3, #3
	bne	.L56
	ldr	r2, [fp, #-212]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1008
	ldr	r2, .L61+12
	add	r3, r3, r2
	ldr	r2, .L61+52
	mov	r0, r3
	mov	r1, r2
	mov	r3, #9
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-212]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #1008
	ldr	r2, .L61+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L61+40
	bl	printf
	ldr	r0, .L61+44
	bl	printf
	sub	r3, fp, #220
	mov	r1, r3
	ldr	r0, .L61+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L56:
	ldr	r3, [fp, #-220]
	cmp	r3, #1
	beq	.L58
	ldr	r0, .L61+4
	bl	system
.L54:
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L53:
	ldr	r3, [fp, #-212]
	cmp	r3, #199
	ble	.L59
	nop
	ldr	r3, .L61
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC49
	.word	.LC16
	.word	.LC39
	.word	log
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC12
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.size	cadastroPedido, .-cadastroPedido
	.section	.rodata
	.align	2
.LC50:
	.ascii	"\012Entre com o codigo\000"
	.align	2
.LC51:
	.ascii	"pause\000"
	.align	2
.LC52:
	.ascii	"\012Codigo nao encontrado, pressione enter para vol"
	.ascii	"ar ao menu principal\000"
	.align	2
.LC53:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	consultaCod
	.syntax unified
	.arm
	.fpu softvfp
	.type	consultaCod, %function
consultaCod:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L69+4
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L69+8
	bl	__isoc99_scanf
	ldr	r3, .L69+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L69+16
	bl	system
	b	.L64
.L67:
	ldr	r1, .L69+20
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1004
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L65
	ldr	r1, .L69+20
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1000
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L65
	ldr	r1, .L69+20
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1004
	ldr	r0, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #400
	ldr	r2, .L69+20
	add	ip, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L69+20
	add	lr, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #600
	ldr	r2, .L69+20
	add	r1, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #200
	ldr	r2, .L69+20
	add	r3, r3, r2
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L69+24
	bl	printf
	ldr	r0, .L69+28
	bl	system
	ldr	r0, .L69+16
	bl	system
	b	.L66
.L65:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #200
	ble	.L64
	ldr	r0, .L69+32
	bl	puts
	bl	getchar
	ldr	r0, .L69+16
	bl	system
.L64:
	ldr	r3, [fp, #-12]
	cmp	r3, #200
	ble	.L67
.L66:
	nop
	ldr	r3, .L69
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L68
	bl	__stack_chk_fail
.L68:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC53
	.word	.LC50
	.word	.LC12
	.word	stdin
	.word	.LC16
	.word	log
	.word	.LC33
	.word	.LC51
	.word	.LC52
	.size	consultaCod, .-consultaCod
	.section	.rodata
	.align	2
.LC54:
	.ascii	"\012Entre com o codigo do registro que deseja exclu"
	.ascii	"ir: \000"
	.align	2
.LC55:
	.ascii	"\012Deseja realmente exlucir? s/n: \000"
	.align	2
.LC56:
	.ascii	"%s\000"
	.align	2
.LC57:
	.ascii	"\012Exclusao feita com sucesso\000"
	.align	2
.LC58:
	.ascii	"Exclusao cancelada!\000"
	.align	2
.LC59:
	.ascii	"\012Codigo nao encontrado\000"
	.align	2
.LC60:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	excluirCliente
	.syntax unified
	.arm
	.fpu softvfp
	.type	excluirCliente, %function
excluirCliente:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L80
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L80+4
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L80+8
	bl	__isoc99_scanf
	b	.L72
.L78:
	ldr	r1, .L80+12
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1004
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bne	.L73
	ldr	r1, .L80+12
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1000
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L73
	ldr	r1, .L80+12
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1004
	ldr	r0, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #400
	ldr	r2, .L80+12
	add	ip, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L80+12
	add	lr, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #600
	ldr	r2, .L80+12
	add	r1, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #200
	ldr	r2, .L80+12
	add	r3, r3, r2
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L80+16
	bl	printf
	bl	getchar
	ldr	r0, .L80+20
	bl	printf
	sub	r3, fp, #17
	mov	r1, r3
	ldr	r0, .L80+24
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #83
	beq	.L74
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L75
.L74:
	ldr	r1, .L80+12
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1000
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L80+12
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1004
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L80+28
	bl	puts
	b	.L76
.L75:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #78
	beq	.L77
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L73
.L77:
	ldr	r0, .L80+32
	bl	puts
	b	.L76
.L73:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #200
	ble	.L72
	ldr	r0, .L80+36
	bl	puts
.L72:
	ldr	r3, [fp, #-12]
	cmp	r3, #200
	ble	.L78
.L76:
	ldr	r0, .L80+40
	bl	system
	ldr	r0, .L80+44
	bl	system
	nop
	ldr	r3, .L80
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC60
	.word	.LC54
	.word	.LC12
	.word	log
	.word	.LC33
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC51
	.word	.LC16
	.size	excluirCliente, .-excluirCliente
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
