	.file	"165764691.c"
	.intel_syntax noprefix
	.text
	.globl	name
	.bss
	.align 32
	.type	name, @object
	.size	name, 150
name:
	.zero	150
	.globl	phone
	.align 32
	.type	phone, @object
	.size	phone, 150
phone:
	.zero	150
	.globl	cpf
	.align 32
	.type	cpf, @object
	.size	cpf, 150
cpf:
	.zero	150
	.globl	titulo
	.align 32
	.type	titulo, @object
	.size	titulo, 150
titulo:
	.zero	150
	.globl	ano
	.align 32
	.type	ano, @object
	.size	ano, 150
ano:
	.zero	150
	.globl	autor
	.align 32
	.type	autor, @object
	.size	autor, 150
autor:
	.zero	150
	.globl	livrolocado
	.align 8
	.type	livrolocado, @object
	.size	livrolocado, 12
livrolocado:
	.zero	12
	.globl	data_de_entrega
	.align 32
	.type	data_de_entrega, @object
	.size	data_de_entrega, 150
data_de_entrega:
	.zero	150
	.globl	ocupadoCliente
	.align 4
	.type	ocupadoCliente, @object
	.size	ocupadoCliente, 4
ocupadoCliente:
	.zero	4
	.globl	ocupadoLivro
	.align 4
	.type	ocupadoLivro, @object
	.size	ocupadoLivro, 4
ocupadoLivro:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"MENU---------------------------------"
	.align 8
.LC1:
	.string	"0. Sair------------------------------"
	.align 8
.LC2:
	.string	"1. Listar Clientes-------------------"
	.align 8
.LC3:
	.string	"2. Cadastrar clientes pelo codigo----"
	.align 8
.LC4:
	.string	"3. Pesquisar cliente pelo nome-------"
	.align 8
.LC5:
	.string	"4. Excluir cliente pelo codigo-------"
	.align 8
.LC6:
	.string	"5. Listar livros --------------------"
	.align 8
.LC7:
	.string	"6. Cadastrar livro ------------------"
	.align 8
.LC8:
	.string	"7. Pesquisar livro pelo nome---------"
	.align 8
.LC9:
	.string	"8. Excluir livros pelo codigo--------"
	.align 8
.LC10:
	.string	"9. Listar livros locados-------------"
	.align 8
.LC11:
	.string	"10.Locar livro-----------------------"
	.align 8
.LC12:
	.string	"11.Devolver livro pelo codigo--------"
	.text
	.globl	MostrarMenu
	.type	MostrarMenu, @function
MostrarMenu:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 10
	call	putchar@PLT
	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]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	MostrarMenu, .-MostrarMenu
	.section	.rodata
.LC13:
	.string	"cls"
	.align 8
.LC14:
	.string	"===================LISTA DE CLIENTES==========================="
	.align 8
.LC15:
	.string	"CODIGO---------NOME-------------PHONE--------------CPF---------"
.LC16:
	.string	"  %d :\t\t%s\t\t%s\t\t\t%s"
	.text
	.globl	ListarClientes
	.type	ListarClientes, @function
ListarClientes:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC13[rip]
	call	system@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, name[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, phone[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, cpf[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L5
.L4:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, cpf[rip]
	lea	rsi, [rax+rdx]
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, phone[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, name[rip]
	add	rdx, rax
	mov	eax, DWORD PTR i[rip]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L5:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L3:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L6
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ListarClientes, .-ListarClientes
	.section	.rodata
.LC17:
	.string	"Informe o nome do cliente: "
.LC18:
	.string	"%[^\n]"
	.align 8
.LC19:
	.string	"Informe o telefone do cliente: "
.LC20:
	.string	"Informe o cpf do cliente: "
	.align 8
.LC21:
	.string	"Todas as posicoes estao ocupadas"
	.text
	.globl	CadastrarCliente
	.type	CadastrarCliente, @function
CadastrarCliente:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR ocupadoCliente[rip]
	cmp	eax, 2
	jg	.L8
	mov	DWORD PTR i[rip], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, name[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L10
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, phone[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L10
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, cpf[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L10
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, name[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, phone[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, cpf[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR ocupadoCliente[rip]
	add	eax, 1
	mov	DWORD PTR ocupadoCliente[rip], eax
	nop
	jmp	.L14
.L10:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L9:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L12
	jmp	.L14
.L8:
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
.L14:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	CadastrarCliente, .-CadastrarCliente
	.section	.rodata
	.align 8
.LC22:
	.string	"===================LISTA DE LIVROS==============================="
	.align 8
.LC23:
	.string	"CODIGO---------TITULO-------------ANO--------------AUTOR---------"
	.text
	.globl	ListarLivros
	.type	ListarLivros, @function
ListarLivros:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L16
.L19:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, titulo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L17
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, ano[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L17
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, autor[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L18
.L17:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, autor[rip]
	lea	rsi, [rax+rdx]
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, ano[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, titulo[rip]
	add	rdx, rax
	mov	eax, DWORD PTR i[rip]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L18:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L16:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L19
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ListarLivros, .-ListarLivros
	.section	.rodata
	.align 8
.LC24:
	.string	"===================LISTA DE LIVROS LOCADOS======================="
	.text
	.globl	ListarLivrosLocados
	.type	ListarLivrosLocados, @function
ListarLivrosLocados:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L21
.L24:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, livrolocado[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	je	.L22
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, titulo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L23
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, ano[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L23
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, autor[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L22
.L23:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, autor[rip]
	lea	rsi, [rax+rdx]
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, ano[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, titulo[rip]
	add	rdx, rax
	mov	eax, DWORD PTR i[rip]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
.L22:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L21:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L24
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	ListarLivrosLocados, .-ListarLivrosLocados
	.section	.rodata
.LC25:
	.string	"Informe o titulo do livro: "
.LC26:
	.string	"Informe o ano do livro: "
.LC27:
	.string	"Informe o autor do autor: "
	.text
	.globl	CadastrarLivro
	.type	CadastrarLivro, @function
CadastrarLivro:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR ocupadoCliente[rip]
	cmp	eax, 2
	jg	.L26
	mov	DWORD PTR i[rip], 0
	jmp	.L27
.L30:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, titulo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L28
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, ano[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L28
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, autor[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	jne	.L28
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, titulo[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, ano[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC27[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, autor[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR ocupadoLivro[rip]
	add	eax, 1
	mov	DWORD PTR ocupadoLivro[rip], eax
	nop
	jmp	.L32
.L28:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L27:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L30
	jmp	.L32
.L26:
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
.L32:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	CadastrarLivro, .-CadastrarLivro
	.section	.rodata
.LC28:
	.string	"O que deseja fazer? "
.LC29:
	.string	"%d"
.LC30:
	.string	"PESQUISAR CLIENTE PELO NOME: "
.LC31:
	.string	"CLIENTE ENCONTRADO "
.LC32:
	.string	"\tCodigo: %d   \n"
.LC33:
	.string	"\tNome: %s\t \n"
.LC34:
	.string	"\tTelefone: %s \n"
.LC35:
	.string	"\tCPF: %s\t\t \n"
.LC36:
	.string	"NAO ENCONTRADO"
	.align 8
.LC37:
	.string	"--------------------EXCLUIR CLIENTE----------------------------"
	.align 8
.LC38:
	.string	"Qual o codigo do cliente: (0-%d) \n"
.LC39:
	.string	"CLIENTE EXCLUIDO COM SUCESSO "
.LC40:
	.string	"CLIENTE NAO ENCONTRADO "
	.align 8
.LC41:
	.string	"Este cliente tem livro locado. "
	.align 8
.LC42:
	.string	"Ele precisa devolver antes de ser excluido. "
.LC43:
	.string	"Codigo invalido! "
.LC44:
	.string	"PESQUISAR LIVRO PELO NOME: "
.LC45:
	.string	"LIVRO ENCONTRADO "
.LC46:
	.string	"\tTitulo: %s\t \n"
.LC47:
	.string	"\tAno: %s \n"
.LC48:
	.string	"\tautor: %s\t \n"
	.align 8
.LC49:
	.string	"--------------------EXCLUIR LIVRO----------------------------"
	.align 8
.LC50:
	.string	"Qual o codigo do livro: (0-%d) \n"
.LC51:
	.string	"LIVRO EXCLUIDO COM SUCESSO "
.LC52:
	.string	"LIVRO NAO ENCONTRADO "
.LC53:
	.string	"Este livro esta locado. "
	.align 8
.LC54:
	.string	"Ele precisa ser devolvido antes de ser excluido. "
	.align 8
.LC55:
	.string	"Informe o codigo do cliente (0-%d): \n"
	.align 8
.LC56:
	.string	"Informe o codigo do livro para locar (0-%d): \n"
	.align 8
.LC57:
	.string	"Livro ja locado por outro cliente. "
.LC58:
	.string	"Informe a data de entrega: "
.LC59:
	.string	"LIVRO LOCADO COM SUCESSO"
	.align 8
.LC60:
	.string	"Este cliente ja tem livro locado."
	.align 8
.LC61:
	.string	"Ele precisa devolver antes de locar outro."
.LC62:
	.string	"Informe o codigo do cliente: "
.LC63:
	.string	"LIVRO DEVOLVIDO COM SUCESSO. "
	.align 8
.LC64:
	.string	"Este cliente nao tem livro locado. "
.LC65:
	.string	"Codigo invalido!"
.LC66:
	.string	"ENTRADA INVALIDA"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -88[rbp], -1
.L84:
	mov	eax, 0
	call	MostrarMenu
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -84[rbp]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, 11
	ja	.L34
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L36[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L36[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L36:
	.long	.L87-.L36
	.long	.L46-.L36
	.long	.L45-.L36
	.long	.L44-.L36
	.long	.L43-.L36
	.long	.L42-.L36
	.long	.L41-.L36
	.long	.L40-.L36
	.long	.L39-.L36
	.long	.L38-.L36
	.long	.L37-.L36
	.long	.L35-.L36
	.text
.L46:
	mov	eax, 0
	call	ListarClientes
	jmp	.L48
.L45:
	mov	eax, 0
	call	CadastrarCliente
	jmp	.L48
.L44:
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	WORD PTR -16[rbp], 0
	lea	rdi, .LC30[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR i[rip], 0
	jmp	.L49
.L51:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, name[rip]
	add	rdx, rax
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L50
	mov	DWORD PTR -68[rbp], 1
	mov	eax, DWORD PTR i[rip]
	mov	DWORD PTR -88[rbp], eax
.L50:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L49:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L51
	cmp	DWORD PTR -68[rbp], 1
	jne	.L52
	lea	rdi, .LC31[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -88[rbp]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, name[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, phone[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, cpf[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L52:
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L43:
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	eax, 0
	call	ListarClientes
	lea	rdi, .LC37[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 0
.L60:
	mov	esi, 2
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -68[rbp], 0
	mov	eax, DWORD PTR -88[rbp]
	test	eax, eax
	js	.L54
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, 2
	jg	.L54
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, livrolocado[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	jne	.L55
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, name[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L56
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, phone[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L56
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, cpf[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L56
	mov	DWORD PTR -68[rbp], 1
	mov	DWORD PTR -72[rbp], 1
.L56:
	cmp	DWORD PTR -68[rbp], 1
	jne	.L57
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, name[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	lea	rcx, name[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, phone[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	lea	rcx, phone[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, cpf[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	lea	rcx, cpf[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, name[rip]
	mov	BYTE PTR [rdx+rax], 0
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, phone[rip]
	mov	BYTE PTR [rdx+rax], 0
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, cpf[rip]
	mov	BYTE PTR [rdx+rax], 0
	lea	rdi, .LC39[rip]
	call	puts@PLT
	mov	eax, DWORD PTR ocupadoCliente[rip]
	sub	eax, 1
	mov	DWORD PTR ocupadoCliente[rip], eax
	mov	DWORD PTR -72[rbp], 1
	jmp	.L59
.L57:
	lea	rdi, .LC40[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 1
	jmp	.L59
.L55:
	lea	rdi, .LC41[rip]
	call	puts@PLT
	lea	rdi, .LC42[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 1
	jmp	.L59
.L54:
	lea	rdi, .LC43[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 0
.L59:
	cmp	DWORD PTR -72[rbp], 1
	jne	.L60
	jmp	.L48
.L42:
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	eax, 0
	call	ListarLivros
	jmp	.L48
.L41:
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	eax, 0
	call	CadastrarLivro
	jmp	.L48
.L40:
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	WORD PTR -16[rbp], 0
	lea	rdi, .LC44[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR i[rip], 0
	jmp	.L61
.L63:
	mov	eax, DWORD PTR i[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, titulo[rip]
	add	rdx, rax
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L62
	mov	DWORD PTR -68[rbp], 1
	mov	eax, DWORD PTR i[rip]
	mov	DWORD PTR -88[rbp], eax
.L62:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L61:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L63
	cmp	DWORD PTR -68[rbp], 1
	jne	.L64
	lea	rdi, .LC45[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -88[rbp]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, titulo[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, ano[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, autor[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L64:
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L39:
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	eax, 0
	call	ListarLivros
	lea	rdi, .LC49[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 0
.L72:
	mov	esi, 2
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -88[rbp]
	test	eax, eax
	js	.L66
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, 2
	jg	.L66
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, livrolocado[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	jne	.L67
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, titulo[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L68
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, ano[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L68
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, autor[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L68
	mov	DWORD PTR -68[rbp], 1
	mov	DWORD PTR -72[rbp], 1
.L68:
	cmp	DWORD PTR -68[rbp], 1
	jne	.L69
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, titulo[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	lea	rcx, titulo[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, ano[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	lea	rcx, ano[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, autor[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -88[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	lea	rcx, autor[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, titulo[rip]
	mov	BYTE PTR [rdx+rax], 0
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, ano[rip]
	mov	BYTE PTR [rdx+rax], 0
	mov	eax, DWORD PTR -88[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, autor[rip]
	mov	BYTE PTR [rdx+rax], 0
	lea	rdi, .LC51[rip]
	call	puts@PLT
	mov	eax, DWORD PTR ocupadoLivro[rip]
	sub	eax, 1
	mov	DWORD PTR ocupadoLivro[rip], eax
	mov	DWORD PTR -72[rbp], 1
	jmp	.L71
.L69:
	lea	rdi, .LC52[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 1
	jmp	.L71
.L67:
	lea	rdi, .LC53[rip]
	call	puts@PLT
	lea	rdi, .LC54[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 1
	jmp	.L71
.L66:
	lea	rdi, .LC43[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 0
.L71:
	cmp	DWORD PTR -72[rbp], 1
	jne	.L72
	jmp	.L48
.L38:
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	eax, 0
	call	ListarLivrosLocados
	jmp	.L48
.L37:
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	DWORD PTR -72[rbp], 0
.L78:
	mov	DWORD PTR -80[rbp], -1
	mov	DWORD PTR -76[rbp], -1
	mov	DWORD PTR -68[rbp], 0
	mov	eax, 0
	call	ListarClientes
	mov	eax, DWORD PTR ocupadoCliente[rip]
	sub	eax, 1
	mov	esi, eax
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, livrolocado[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	jne	.L73
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	eax, 0
	call	ListarLivros
	mov	eax, DWORD PTR ocupadoLivro[rip]
	sub	eax, 1
	mov	esi, eax
	lea	rdi, .LC56[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -76[rbp]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L74
.L76:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, livrolocado[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -76[rbp]
	cmp	edx, eax
	jne	.L75
	lea	rdi, .LC57[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, livrolocado[rip]
	mov	DWORD PTR [rdx+rax], -1
	mov	DWORD PTR -68[rbp], 1
	mov	DWORD PTR -72[rbp], 1
.L75:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L74:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L76
	cmp	DWORD PTR -68[rbp], 1
	je	.L77
	mov	edx, DWORD PTR -80[rbp]
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, livrolocado[rip]
	mov	DWORD PTR [rcx+rdx], eax
	lea	rdi, .LC58[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	lea	rdx, data_de_entrega[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC59[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -72[rbp], 1
	jmp	.L77
.L73:
	lea	rdi, .LC60[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC61[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -72[rbp], 1
.L77:
	cmp	DWORD PTR -72[rbp], 1
	jne	.L78
	jmp	.L48
.L35:
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	DWORD PTR -72[rbp], 0
.L83:
	mov	DWORD PTR -72[rbp], 1
	mov	eax, 0
	call	ListarClientes
	lea	rdi, .LC62[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -88[rbp]
	test	eax, eax
	js	.L79
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, 2
	jg	.L79
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, livrolocado[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, -1
	je	.L80
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, livrolocado[rip]
	mov	DWORD PTR [rdx+rax], -1
	mov	eax, DWORD PTR -88[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	lea	rax, data_de_entrega[rip]
	mov	BYTE PTR [rdx+rax], 0
	lea	rdi, .LC63[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 1
	jmp	.L82
.L80:
	lea	rdi, .LC64[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 1
	jmp	.L82
.L79:
	lea	rdi, .LC65[rip]
	mov	eax, 0
	call	printf@PLT
.L82:
	cmp	DWORD PTR -72[rbp], 1
	jne	.L83
	jmp	.L48
.L34:
	lea	rdi, .LC13[rip]
	call	system@PLT
	lea	rdi, .LC66[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L87:
	nop
.L48:
	mov	eax, DWORD PTR -84[rbp]
	test	eax, eax
	jne	.L84
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L86
	call	__stack_chk_fail@PLT
.L86:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"165764691.c"
	.text
	.global	name
	.bss
	.align	2
	.type	name, %object
	.size	name, 150
name:
	.space	150
	.global	phone
	.align	2
	.type	phone, %object
	.size	phone, 150
phone:
	.space	150
	.global	cpf
	.align	2
	.type	cpf, %object
	.size	cpf, 150
cpf:
	.space	150
	.global	titulo
	.align	2
	.type	titulo, %object
	.size	titulo, 150
titulo:
	.space	150
	.global	ano
	.align	2
	.type	ano, %object
	.size	ano, 150
ano:
	.space	150
	.global	autor
	.align	2
	.type	autor, %object
	.size	autor, 150
autor:
	.space	150
	.comm	livrolocado,12,4
	.global	data_de_entrega
	.align	2
	.type	data_de_entrega, %object
	.size	data_de_entrega, 150
data_de_entrega:
	.space	150
	.global	ocupadoCliente
	.align	2
	.type	ocupadoCliente, %object
	.size	ocupadoCliente, 4
ocupadoCliente:
	.space	4
	.global	ocupadoLivro
	.align	2
	.type	ocupadoLivro, %object
	.size	ocupadoLivro, 4
ocupadoLivro:
	.space	4
	.global	i
	.align	2
	.type	i, %object
	.size	i, 4
i:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"MENU---------------------------------\000"
	.align	2
.LC1:
	.ascii	"0. Sair------------------------------\000"
	.align	2
.LC2:
	.ascii	"1. Listar Clientes-------------------\000"
	.align	2
.LC3:
	.ascii	"2. Cadastrar clientes pelo codigo----\000"
	.align	2
.LC4:
	.ascii	"3. Pesquisar cliente pelo nome-------\000"
	.align	2
.LC5:
	.ascii	"4. Excluir cliente pelo codigo-------\000"
	.align	2
.LC6:
	.ascii	"5. Listar livros --------------------\000"
	.align	2
.LC7:
	.ascii	"6. Cadastrar livro ------------------\000"
	.align	2
.LC8:
	.ascii	"7. Pesquisar livro pelo nome---------\000"
	.align	2
.LC9:
	.ascii	"8. Excluir livros pelo codigo--------\000"
	.align	2
.LC10:
	.ascii	"9. Listar livros locados-------------\000"
	.align	2
.LC11:
	.ascii	"10.Locar livro-----------------------\000"
	.align	2
.LC12:
	.ascii	"11.Devolver livro pelo codigo--------\000"
	.text
	.align	2
	.global	MostrarMenu
	.syntax unified
	.arm
	.fpu softvfp
	.type	MostrarMenu, %function
MostrarMenu:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #10
	bl	putchar
	ldr	r0, .L2
	bl	puts
	ldr	r0, .L2+4
	bl	puts
	ldr	r0, .L2+8
	bl	puts
	ldr	r0, .L2+12
	bl	puts
	ldr	r0, .L2+16
	bl	puts
	ldr	r0, .L2+20
	bl	puts
	ldr	r0, .L2+24
	bl	puts
	ldr	r0, .L2+28
	bl	puts
	ldr	r0, .L2+32
	bl	puts
	ldr	r0, .L2+36
	bl	puts
	ldr	r0, .L2+40
	bl	puts
	ldr	r0, .L2+44
	bl	puts
	ldr	r0, .L2+48
	bl	puts
	mov	r0, #10
	bl	putchar
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.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
	.size	MostrarMenu, .-MostrarMenu
	.section	.rodata
	.align	2
.LC13:
	.ascii	"cls\000"
	.align	2
.LC14:
	.ascii	"===================LISTA DE CLIENTES==============="
	.ascii	"============\000"
	.align	2
.LC15:
	.ascii	"CODIGO---------NOME-------------PHONE--------------"
	.ascii	"CPF---------\000"
	.align	2
.LC16:
	.ascii	"  %d :\011\011%s\011\011%s\011\011\011%s\000"
	.text
	.align	2
	.global	ListarClientes
	.syntax unified
	.arm
	.fpu softvfp
	.type	ListarClientes, %function
ListarClientes:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L9
	bl	system
	ldr	r0, .L9+4
	bl	puts
	ldr	r0, .L9+8
	bl	puts
	ldr	r3, .L9+12
	mov	r2, #0
	str	r2, [r3]
	b	.L5
.L8:
	ldr	r3, .L9+12
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L9+16
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L9+12
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L9+20
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L9+12
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L9+24
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
.L6:
	ldr	r3, .L9+12
	ldr	r1, [r3]
	ldr	r3, .L9+12
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L9+16
	add	r0, r3, r2
	ldr	r3, .L9+12
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L9+20
	add	ip, r3, r2
	ldr	r3, .L9+12
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L9+24
	add	r3, r3, r2
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L9+28
	bl	printf
	mov	r0, #10
	bl	putchar
.L7:
	ldr	r3, .L9+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9+12
	str	r3, [r2]
.L5:
	ldr	r3, .L9+12
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L8
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	i
	.word	name
	.word	phone
	.word	cpf
	.word	.LC16
	.size	ListarClientes, .-ListarClientes
	.section	.rodata
	.align	2
.LC17:
	.ascii	"Informe o nome do cliente: \000"
	.align	2
.LC18:
	.ascii	"%[^\012]\000"
	.align	2
.LC19:
	.ascii	"Informe o telefone do cliente: \000"
	.align	2
.LC20:
	.ascii	"Informe o cpf do cliente: \000"
	.align	2
.LC21:
	.ascii	"Todas as posicoes estao ocupadas\000"
	.text
	.align	2
	.global	CadastrarCliente
	.syntax unified
	.arm
	.fpu softvfp
	.type	CadastrarCliente, %function
CadastrarCliente:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L19
	ldr	r3, [r3]
	cmp	r3, #2
	bgt	.L12
	ldr	r3, .L19+4
	mov	r2, #0
	str	r2, [r3]
	b	.L13
.L16:
	ldr	r3, .L19+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L19+8
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L19+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L19+12
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L19+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L19+16
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L14
	ldr	r0, .L19+20
	bl	puts
	ldr	r3, .L19+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L19+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L19+8
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L19+28
	bl	__isoc99_scanf
	ldr	r0, .L19+32
	bl	puts
	ldr	r3, .L19+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L19+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L19+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L19+28
	bl	__isoc99_scanf
	ldr	r0, .L19+36
	bl	puts
	ldr	r3, .L19+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L19+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L19+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L19+28
	bl	__isoc99_scanf
	ldr	r3, .L19
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L19
	str	r3, [r2]
	nop
	b	.L18
.L14:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L19+4
	str	r3, [r2]
.L13:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L16
	b	.L18
.L12:
	ldr	r0, .L19+40
	bl	printf
.L18:
	nop
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	ocupadoCliente
	.word	i
	.word	name
	.word	phone
	.word	cpf
	.word	.LC17
	.word	stdin
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	CadastrarCliente, .-CadastrarCliente
	.section	.rodata
	.align	2
.LC22:
	.ascii	"===================LISTA DE LIVROS================="
	.ascii	"==============\000"
	.align	2
.LC23:
	.ascii	"CODIGO---------TITULO-------------ANO--------------"
	.ascii	"AUTOR---------\000"
	.text
	.align	2
	.global	ListarLivros
	.syntax unified
	.arm
	.fpu softvfp
	.type	ListarLivros, %function
ListarLivros:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L26
	bl	puts
	ldr	r0, .L26+4
	bl	puts
	ldr	r3, .L26+8
	mov	r2, #0
	str	r2, [r3]
	b	.L22
.L25:
	ldr	r3, .L26+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L26+12
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L26+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L26+16
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L26+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L26+20
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
.L23:
	ldr	r3, .L26+8
	ldr	r1, [r3]
	ldr	r3, .L26+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L26+12
	add	r0, r3, r2
	ldr	r3, .L26+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L26+16
	add	ip, r3, r2
	ldr	r3, .L26+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L26+20
	add	r3, r3, r2
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L26+24
	bl	printf
	mov	r0, #10
	bl	putchar
.L24:
	ldr	r3, .L26+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L26+8
	str	r3, [r2]
.L22:
	ldr	r3, .L26+8
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L25
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC22
	.word	.LC23
	.word	i
	.word	titulo
	.word	ano
	.word	autor
	.word	.LC16
	.size	ListarLivros, .-ListarLivros
	.section	.rodata
	.align	2
.LC24:
	.ascii	"===================LISTA DE LIVROS LOCADOS========="
	.ascii	"==============\000"
	.text
	.align	2
	.global	ListarLivrosLocados
	.syntax unified
	.arm
	.fpu softvfp
	.type	ListarLivrosLocados, %function
ListarLivrosLocados:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L33
	bl	puts
	ldr	r0, .L33+4
	bl	puts
	ldr	r3, .L33+8
	mov	r2, #0
	str	r2, [r3]
	b	.L29
.L32:
	ldr	r3, .L33+8
	ldr	r3, [r3]
	ldr	r2, .L33+12
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	beq	.L30
	ldr	r3, .L33+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L33+16
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L33+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L33+20
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L33+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L33+24
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L30
.L31:
	ldr	r3, .L33+8
	ldr	r1, [r3]
	ldr	r3, .L33+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L33+16
	add	r0, r3, r2
	ldr	r3, .L33+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L33+20
	add	ip, r3, r2
	ldr	r3, .L33+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L33+24
	add	r3, r3, r2
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L33+28
	bl	printf
	mov	r0, #10
	bl	putchar
.L30:
	ldr	r3, .L33+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+8
	str	r3, [r2]
.L29:
	ldr	r3, .L33+8
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L32
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC24
	.word	.LC23
	.word	i
	.word	livrolocado
	.word	titulo
	.word	ano
	.word	autor
	.word	.LC16
	.size	ListarLivrosLocados, .-ListarLivrosLocados
	.section	.rodata
	.align	2
.LC25:
	.ascii	"Informe o titulo do livro: \000"
	.align	2
.LC26:
	.ascii	"Informe o ano do livro: \000"
	.align	2
.LC27:
	.ascii	"Informe o autor do autor: \000"
	.text
	.align	2
	.global	CadastrarLivro
	.syntax unified
	.arm
	.fpu softvfp
	.type	CadastrarLivro, %function
CadastrarLivro:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L43
	ldr	r3, [r3]
	cmp	r3, #2
	bgt	.L36
	ldr	r3, .L43+4
	mov	r2, #0
	str	r2, [r3]
	b	.L37
.L40:
	ldr	r3, .L43+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L43+8
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L38
	ldr	r3, .L43+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L43+12
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L38
	ldr	r3, .L43+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L43+16
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L38
	ldr	r0, .L43+20
	bl	puts
	ldr	r3, .L43+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L43+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L43+8
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L43+28
	bl	__isoc99_scanf
	ldr	r0, .L43+32
	bl	puts
	ldr	r3, .L43+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L43+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L43+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L43+28
	bl	__isoc99_scanf
	ldr	r0, .L43+36
	bl	puts
	ldr	r3, .L43+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L43+4
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L43+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L43+28
	bl	__isoc99_scanf
	ldr	r3, .L43+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+40
	str	r3, [r2]
	nop
	b	.L42
.L38:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+4
	str	r3, [r2]
.L37:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L40
	b	.L42
.L36:
	ldr	r0, .L43+44
	bl	printf
.L42:
	nop
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	ocupadoCliente
	.word	i
	.word	titulo
	.word	ano
	.word	autor
	.word	.LC25
	.word	stdin
	.word	.LC18
	.word	.LC26
	.word	.LC27
	.word	ocupadoLivro
	.word	.LC21
	.size	CadastrarLivro, .-CadastrarLivro
	.section	.rodata
	.align	2
.LC28:
	.ascii	"O que deseja fazer? \000"
	.align	2
.LC29:
	.ascii	"%d\000"
	.align	2
.LC30:
	.ascii	"PESQUISAR CLIENTE PELO NOME: \000"
	.align	2
.LC31:
	.ascii	"CLIENTE ENCONTRADO \000"
	.align	2
.LC32:
	.ascii	"\011Codigo: %d   \012\000"
	.align	2
.LC33:
	.ascii	"\011Nome: %s\011 \012\000"
	.align	2
.LC34:
	.ascii	"\011Telefone: %s \012\000"
	.align	2
.LC35:
	.ascii	"\011CPF: %s\011\011 \012\000"
	.align	2
.LC36:
	.ascii	"NAO ENCONTRADO\000"
	.align	2
.LC37:
	.ascii	"--------------------EXCLUIR CLIENTE----------------"
	.ascii	"------------\000"
	.align	2
.LC38:
	.ascii	"Qual o codigo do cliente: (0-%d) \012\000"
	.align	2
.LC39:
	.ascii	"CLIENTE EXCLUIDO COM SUCESSO \000"
	.align	2
.LC40:
	.ascii	"CLIENTE NAO ENCONTRADO \000"
	.align	2
.LC41:
	.ascii	"Este cliente tem livro locado. \000"
	.align	2
.LC42:
	.ascii	"Ele precisa devolver antes de ser excluido. \000"
	.align	2
.LC43:
	.ascii	"Codigo invalido! \000"
	.align	2
.LC44:
	.ascii	"PESQUISAR LIVRO PELO NOME: \000"
	.align	2
.LC45:
	.ascii	"LIVRO ENCONTRADO \000"
	.align	2
.LC46:
	.ascii	"\011Titulo: %s\011 \012\000"
	.align	2
.LC47:
	.ascii	"\011Ano: %s \012\000"
	.align	2
.LC48:
	.ascii	"\011autor: %s\011 \012\000"
	.align	2
.LC49:
	.ascii	"--------------------EXCLUIR LIVRO------------------"
	.ascii	"----------\000"
	.align	2
.LC50:
	.ascii	"Qual o codigo do livro: (0-%d) \012\000"
	.align	2
.LC51:
	.ascii	"LIVRO EXCLUIDO COM SUCESSO \000"
	.align	2
.LC52:
	.ascii	"LIVRO NAO ENCONTRADO \000"
	.align	2
.LC53:
	.ascii	"Este livro esta locado. \000"
	.align	2
.LC54:
	.ascii	"Ele precisa ser devolvido antes de ser excluido. \000"
	.align	2
.LC55:
	.ascii	"Informe o codigo do cliente (0-%d): \012\000"
	.align	2
.LC56:
	.ascii	"Informe o codigo do livro para locar (0-%d): \012\000"
	.align	2
.LC57:
	.ascii	"Livro ja locado por outro cliente. \000"
	.align	2
.LC58:
	.ascii	"Informe a data de entrega: \000"
	.align	2
.LC59:
	.ascii	"LIVRO LOCADO COM SUCESSO\000"
	.align	2
.LC60:
	.ascii	"Este cliente ja tem livro locado.\000"
	.align	2
.LC61:
	.ascii	"Ele precisa devolver antes de locar outro.\000"
	.align	2
.LC62:
	.ascii	"Informe o codigo do cliente: \000"
	.align	2
.LC63:
	.ascii	"LIVRO DEVOLVIDO COM SUCESSO. \000"
	.align	2
.LC64:
	.ascii	"Este cliente nao tem livro locado. \000"
	.align	2
.LC65:
	.ascii	"Codigo invalido!\000"
	.align	2
.LC66:
	.ascii	"ENTRADA INVALIDA\000"
	.align	2
.LC67:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L100
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-68]
	mvn	r3, #0
	str	r3, [fp, #-84]
.L96:
	bl	MostrarMenu
	ldr	r0, .L100+4
	bl	puts
	ldr	r3, .L100+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #80
	mov	r1, r3
	ldr	r0, .L100+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-80]
	cmp	r3, #11
	ldrls	pc, [pc, r3, asl #2]
	b	.L46
.L48:
	.word	.L99
	.word	.L58
	.word	.L57
	.word	.L56
	.word	.L55
	.word	.L54
	.word	.L53
	.word	.L52
	.word	.L51
	.word	.L50
	.word	.L49
	.word	.L47
.L58:
	bl	ListarClientes
	b	.L60
.L57:
	bl	CadastrarCliente
	b	.L60
.L56:
	ldr	r0, .L100+16
	bl	system
	mov	r3, #0
	str	r3, [fp, #-60]
	sub	r3, fp, #56
	mov	r2, #46
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L100+20
	bl	puts
	ldr	r0, .L100+24
	bl	puts
	ldr	r3, .L100+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L100+28
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, .L100+32
	mov	r2, #0
	str	r2, [r3]
	b	.L61
.L63:
	ldr	r3, .L100+32
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+36
	add	r2, r3, r2
	sub	r3, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L62
	mov	r3, #1
	str	r3, [fp, #-64]
	ldr	r3, .L100+32
	ldr	r3, [r3]
	str	r3, [fp, #-84]
.L62:
	ldr	r3, .L100+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L100+32
	str	r3, [r2]
.L61:
	ldr	r3, .L100+32
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L63
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	bne	.L64
	ldr	r0, .L100+40
	bl	puts
	ldr	r3, [fp, #-84]
	mov	r1, r3
	ldr	r0, .L100+44
	bl	printf
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+36
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L100+48
	bl	printf
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+52
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L100+56
	bl	printf
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+60
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L100+64
	bl	printf
	b	.L60
.L64:
	ldr	r0, .L100+68
	bl	printf
	b	.L60
.L55:
	ldr	r0, .L100+16
	bl	system
	bl	ListarClientes
	ldr	r0, .L100+72
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-68]
.L72:
	mov	r1, #2
	ldr	r0, .L100+76
	bl	printf
	ldr	r3, .L100+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L100+12
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	blt	.L66
	ldr	r3, [fp, #-84]
	cmp	r3, #2
	bgt	.L66
	ldr	r3, [fp, #-84]
	ldr	r2, .L100+80
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	bne	.L67
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+36
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L68
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+52
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L68
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+60
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L68
	mov	r3, #1
	str	r3, [fp, #-64]
	mov	r3, #1
	str	r3, [fp, #-68]
.L68:
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	bne	.L69
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+36
	add	r0, r3, r2
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+36
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+52
	add	r0, r3, r2
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+52
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+60
	add	r0, r3, r2
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+60
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	ldr	r1, .L100+36
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	ldr	r1, .L100+52
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	ldr	r1, .L100+60
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, .L100+84
	bl	puts
	ldr	r3, .L100+88
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L100+88
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L71
.L69:
	ldr	r0, .L100+92
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L71
.L67:
	ldr	r0, .L100+96
	bl	puts
	ldr	r0, .L100+100
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L71
.L66:
	ldr	r0, .L100+104
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-68]
.L71:
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	bne	.L72
	b	.L60
.L54:
	ldr	r0, .L100+16
	bl	system
	bl	ListarLivros
	b	.L60
.L53:
	ldr	r0, .L100+16
	bl	system
	bl	CadastrarLivro
	b	.L60
.L52:
	ldr	r0, .L100+16
	bl	system
	mov	r3, #0
	str	r3, [fp, #-60]
	sub	r3, fp, #56
	mov	r2, #46
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L100+108
	bl	puts
	ldr	r0, .L100+112
	bl	puts
	ldr	r3, .L100+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #60
	mov	r1, r3
	ldr	r0, .L100+28
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, .L100+32
	mov	r2, #0
	str	r2, [r3]
	b	.L73
.L75:
	ldr	r3, .L100+32
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+116
	add	r2, r3, r2
	sub	r3, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L74
	mov	r3, #1
	str	r3, [fp, #-64]
	ldr	r3, .L100+32
	ldr	r3, [r3]
	str	r3, [fp, #-84]
.L74:
	ldr	r3, .L100+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L100+32
	str	r3, [r2]
.L73:
	ldr	r3, .L100+32
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L75
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	bne	.L76
	ldr	r0, .L100+120
	bl	puts
	ldr	r3, [fp, #-84]
	mov	r1, r3
	ldr	r0, .L100+44
	bl	printf
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+116
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L100+124
	bl	printf
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+128
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L100+132
	bl	printf
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+136
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L100+140
	bl	printf
	b	.L60
.L76:
	ldr	r0, .L100+68
	bl	printf
	b	.L60
.L51:
	ldr	r0, .L100+16
	bl	system
	bl	ListarLivros
	ldr	r0, .L100+144
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-68]
.L84:
	mov	r1, #2
	ldr	r0, .L100+148
	bl	printf
	ldr	r3, .L100+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L100+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	blt	.L78
	ldr	r3, [fp, #-84]
	cmp	r3, #2
	bgt	.L78
	ldr	r3, [fp, #-84]
	ldr	r2, .L100+80
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	bne	.L79
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+116
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L80
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+128
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L80
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+136
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L80
	mov	r3, #1
	str	r3, [fp, #-64]
	mov	r3, #1
	str	r3, [fp, #-68]
.L80:
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	bne	.L81
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+116
	add	r0, r3, r2
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+116
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+128
	add	r0, r3, r2
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+128
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r2, [fp, #-84]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+136
	add	r0, r3, r2
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+136
	add	r3, r3, r2
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	ldr	r1, .L100+116
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	ldr	r1, .L100+128
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	ldr	r1, .L100+136
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, .L100+152
	bl	puts
	ldr	r3, .L100+156
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L100+156
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L83
.L81:
	ldr	r0, .L100+160
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L83
.L79:
	ldr	r0, .L100+164
	bl	puts
	ldr	r0, .L100+168
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L83
.L78:
	ldr	r0, .L100+104
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-68]
.L83:
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	bne	.L84
	b	.L60
.L50:
	ldr	r0, .L100+16
	bl	system
	bl	ListarLivrosLocados
	b	.L60
.L49:
	ldr	r0, .L100+16
	bl	system
	mov	r3, #0
	str	r3, [fp, #-68]
.L90:
	mvn	r3, #0
	str	r3, [fp, #-76]
	mvn	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-64]
	bl	ListarClientes
	ldr	r3, .L100+88
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L100+172
	bl	printf
	ldr	r3, .L100+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L100+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-76]
	ldr	r2, .L100+80
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	bne	.L85
	ldr	r0, .L100+16
	bl	system
	bl	ListarLivros
	ldr	r3, .L100+156
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L100+176
	bl	printf
	ldr	r3, .L100+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L100+12
	bl	__isoc99_scanf
	ldr	r3, .L100+32
	mov	r2, #0
	str	r2, [r3]
	b	.L86
.L88:
	ldr	r3, .L100+32
	ldr	r3, [r3]
	ldr	r2, .L100+80
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bne	.L87
	ldr	r0, .L100+180
	bl	puts
	ldr	r3, [fp, #-76]
	ldr	r2, .L100+80
	mvn	r1, #0
	str	r1, [r2, r3, lsl #2]
	mov	r3, #1
	str	r3, [fp, #-64]
	mov	r3, #1
	str	r3, [fp, #-68]
.L87:
	ldr	r3, .L100+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L100+32
	str	r3, [r2]
.L86:
	ldr	r3, .L100+32
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L88
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	beq	.L89
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-72]
	ldr	r1, .L100+80
	str	r2, [r1, r3, lsl #2]
	ldr	r0, .L100+184
	bl	puts
	ldr	r3, .L100+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L100+188
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L100+28
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	ldr	r0, .L100+192
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L89
.L85:
	ldr	r0, .L100+196
	bl	printf
	ldr	r0, .L100+200
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-68]
.L89:
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	bne	.L90
	b	.L60
.L47:
	ldr	r0, .L100+16
	bl	system
	mov	r3, #0
	str	r3, [fp, #-68]
.L95:
	mov	r3, #1
	str	r3, [fp, #-68]
	bl	ListarClientes
	ldr	r0, .L100+204
	bl	puts
	ldr	r3, .L100+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L100+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	blt	.L91
	ldr	r3, [fp, #-84]
	cmp	r3, #2
	bgt	.L91
	ldr	r3, [fp, #-84]
	ldr	r2, .L100+80
	ldr	r3, [r2, r3, lsl #2]
	cmn	r3, #1
	beq	.L92
	ldr	r3, [fp, #-84]
	ldr	r2, .L100+80
	mvn	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-84]
	ldr	r1, .L100+188
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, .L100+208
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L94
.L92:
	ldr	r0, .L100+212
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L94
.L91:
	ldr	r0, .L100+216
	bl	printf
.L94:
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	bne	.L95
	b	.L60
.L46:
	ldr	r0, .L100+16
	bl	system
	ldr	r0, .L100+220
	bl	printf
	b	.L60
.L99:
	nop
.L60:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L96
	mov	r3, #0
	ldr	r2, .L100
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L98
	bl	__stack_chk_fail
.L98:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L101:
	.align	2
.L100:
	.word	.LC67
	.word	.LC28
	.word	stdin
	.word	.LC29
	.word	.LC13
	.word	.LC30
	.word	.LC17
	.word	.LC18
	.word	i
	.word	name
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	phone
	.word	.LC34
	.word	cpf
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	livrolocado
	.word	.LC39
	.word	ocupadoCliente
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC25
	.word	titulo
	.word	.LC45
	.word	.LC46
	.word	ano
	.word	.LC47
	.word	autor
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	ocupadoLivro
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	data_de_entrega
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
