	.file	"37636995.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"color F"
.LC1:
	.string	"Portuguese"
	.align 8
.LC2:
	.string	" ______________________________________________________________________________________________________________________"
	.align 8
.LC3:
	.string	"|                                                                                                                      |"
	.align 8
.LC4:
	.string	"|                                         Bem vindo \303\240 SALUMAR LINHAS AEREAS!!!                                         |"
	.align 8
.LC5:
	.string	"|                      Digite as informa\303\247\303\265es abaixo para fazermos as verifica\303\247\303\265es necess\303\241rias.                         |"
	.align 8
.LC6:
	.string	"|______________________________________________________________________________________________________________________|\n"
	.align 8
.LC7:
	.string	"Informe o destino escolhido por nossos clientes: "
	.align 8
.LC8:
	.string	"Esse destino n\303\243o existe em nosso sistema, tente novamente!\n "
	.align 8
.LC9:
	.string	"Seus dados est\303\243o corretos! Prossiga com a opera\303\247\303\243o.\n"
	.align 8
.LC10:
	.string	"Informe quantos assentos est\303\243o d\303\255sponiveis para o voo em quest\303\243o: "
.LC11:
	.string	"%i"
	.align 8
.LC12:
	.string	"Neste voo n\303\243o e permitido esse quantitativo de assentos, por favor enforme novamente a quantidade."
	.align 8
.LC13:
	.string	"A informa\303\247\303\243o est\303\241 correta! Prossiga com a opera\303\247\303\243o.\n"
	.align 8
.LC14:
	.string	"Informe o valor da passagem em reais: "
	.align 8
.LC15:
	.string	"Valor da passagem est\303\241 invalido! Tente novamente.\n "
	.align 8
.LC16:
	.string	" ______________________________________________________________________________________________"
	.align 8
.LC17:
	.string	"|                                                                                              |"
	.align 8
.LC18:
	.string	"|   Logo abaixo ter\303\241 um menu onde a empresa poder\303\241 selecionar a op\303\247\303\243o que melhor satisfazela,  |"
	.align 8
.LC19:
	.string	"|   para ativar a op\303\247\303\243o desejada, digite o n\303\272mero o qual a op\303\247\303\243o est\303\241 indicada.                |"
	.align 8
.LC20:
	.string	"|______________________________________________________________________________________________|\n"
.LC21:
	.string	"\n"
	.align 8
.LC22:
	.string	" _______________________________________________________________"
	.align 8
.LC23:
	.string	"|                                                               |"
	.align 8
.LC24:
	.string	"|              Selecione uma op\303\247\303\243o abaixo:                      |"
	.align 8
.LC25:
	.string	"|             1 - Efetuar reserva.                              |"
	.align 8
.LC26:
	.string	"|             2 - Confirmar uma reserva.                        |"
	.align 8
.LC27:
	.string	"|             3 - Cancelar uma reserva.                         |"
	.align 8
.LC28:
	.string	"|             4 - Verificar ocupa\303\247\303\243o de um voo.                 |"
	.align 8
.LC29:
	.string	"|             5 - Relat\303\263rio de vendas.                          |"
	.align 8
.LC30:
	.string	"|             7 - Sair do programa                              |"
	.align 8
.LC31:
	.string	"|_______________________________________________________________|"
	.align 8
.LC32:
	.string	"\n\nQual op\303\247\303\243o deseja executar: "
.LC33:
	.string	"cls"
	.align 8
.LC34:
	.string	"|                 Mapa de calor do avi\303\243o abaixo:                |"
	.align 8
.LC35:
	.string	"|_______________________________________________________________|\n"
	.align 8
.LC36:
	.string	"\n\nDigite a poltrona que o senhor(a), deseja reservar:"
	.align 8
.LC37:
	.string	"\n\nLogo abaixo, ser\303\241 solicitado a idade, caso seja menor que 5 anos, a pssagem tem desconto de 50 por cento."
.LC38:
	.string	"Informe sua idade: "
	.align 8
.LC39:
	.string	"O valor a ser cobrado com desconto \303\251 de R$ %i,00. \n\n"
	.align 8
.LC40:
	.string	"O pre\303\247o da passagem a ser pago \303\251 de R$ %i,00. \n\n"
	.align 8
.LC41:
	.string	"|                 Confirma\303\247\303\243o de reserva:                       |"
	.align 8
.LC42:
	.string	"Informe o numero da reserva do sehnhor(a) para confirmamos a passagem:"
.LC43:
	.string	"Compra realizada com sucesso!"
.LC44:
	.string	"Lugar j\303\241 foi comprado"
	.align 8
.LC45:
	.string	"Este lugar esta sem reserva ou j\303\241 foi comprado. Fa\303\247a sua reserva primeiro!"
	.align 8
.LC46:
	.string	"\n\nInforme a poltrona que o senhor(a), deseja cancelar:"
	.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, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -264[rbp], 0
	mov	DWORD PTR -260[rbp], 0
	mov	DWORD PTR -284[rbp], 0
	mov	DWORD PTR -268[rbp], 0
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rsi, .LC1[rip]
	mov	edi, 6
	call	setlocale@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, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L4:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -256[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	movzx	eax, BYTE PTR -256[rbp]
	movzx	eax, al
	test	eax, eax
	jne	.L2
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L3:
	movzx	eax, BYTE PTR -256[rbp]
	movzx	eax, al
	test	eax, eax
	je	.L4
.L8:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -284[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -284[rbp]
	cmp	eax, 89
	jle	.L5
	mov	eax, DWORD PTR -284[rbp]
	cmp	eax, 199
	jle	.L6
.L5:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	jmp	.L7
.L6:
	lea	rdi, .LC13[rip]
	call	puts@PLT
.L7:
	mov	eax, DWORD PTR -284[rbp]
	cmp	eax, 89
	jle	.L8
	mov	eax, DWORD PTR -284[rbp]
	cmp	eax, 199
	jg	.L8
.L11:
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -268[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -268[rbp]
	test	eax, eax
	jne	.L9
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L9:
	lea	rdi, .LC13[rip]
	call	puts@PLT
.L10:
	mov	eax, DWORD PTR -268[rbp]
	test	eax, eax
	je	.L11
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -284[rbp]
	lea	rdx, -208[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	preencheVetor
	nop
	jmp	.L13
.L25:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rdi, .LC27[rip]
	call	puts@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC29[rip]
	call	puts@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -280[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -280[rbp]
	cmp	eax, 5
	ja	.L13
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L15[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L15[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L15:
	.long	.L13-.L15
	.long	.L19-.L15
	.long	.L18-.L15
	.long	.L17-.L15
	.long	.L16-.L15
	.long	.L14-.L15
	.text
.L19:
	lea	rdi, .LC33[rip]
	call	system@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC34[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -284[rbp]
	lea	rdx, -208[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	mostraStatus
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -276[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -276[rbp]
	lea	rdx, -208[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	preencherLugar
	lea	rdi, .LC37[rip]
	call	puts@PLT
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -272[rbp]
	cmp	eax, 5
	jg	.L20
	mov	eax, DWORD PTR -268[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -260[rbp], eax
	mov	eax, DWORD PTR -260[rbp]
	mov	esi, eax
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L20:
	mov	eax, DWORD PTR -272[rbp]
	cmp	eax, 5
	jle	.L13
	mov	eax, DWORD PTR -268[rbp]
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L18:
	lea	rdi, .LC33[rip]
	call	system@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC41[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC35[rip]
	call	puts@PLT
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -276[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -276[rbp]
	lea	rdx, -208[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	efetivarCompra
	mov	DWORD PTR -276[rbp], eax
	mov	eax, DWORD PTR -276[rbp]
	cmp	eax, 1
	jne	.L22
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L22:
	mov	eax, DWORD PTR -276[rbp]
	cmp	eax, 5
	jne	.L24
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L24:
	lea	rdi, .LC45[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L17:
	lea	rdi, .LC33[rip]
	call	system@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC34[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -284[rbp]
	lea	rdx, -208[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	mostraStatus
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -276[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -276[rbp]
	lea	rdx, -208[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	cancelarReserva
	jmp	.L13
.L16:
	lea	rdi, .LC33[rip]
	call	system@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC34[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -284[rbp]
	lea	rdx, -208[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	mostraStatus
	jmp	.L13
.L14:
	lea	rdi, .LC33[rip]
	call	system@PLT
	mov	eax, DWORD PTR -284[rbp]
	lea	rdx, -208[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	relatorio
	nop
.L13:
	mov	eax, DWORD PTR -280[rbp]
	cmp	eax, 7
	jne	.L25
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	preencheVetor
	.type	preencheVetor, @function
preencheVetor:
.LFB7:
	.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 68
	add	DWORD PTR -4[rbp], 1
.L29:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L30
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	preencheVetor, .-preencheVetor
	.section	.rodata
.LC47:
	.string	"[%i] = %c"
.LC48:
	.string	"\033[91m[%i] = %c\033[0m"
.LC49:
	.string	"\033[34m[%i] = %c\033[0m"
	.text
	.globl	mostraStatus
	.type	mostraStatus, @function
mostraStatus:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L32
.L35:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edx, DWORD PTR -4[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 82
	jne	.L33
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edx, DWORD PTR -4[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L34
.L33:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 67
	jne	.L34
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edx, DWORD PTR -4[rbp]
	lea	ecx, 1[rdx]
	mov	edx, eax
	mov	esi, ecx
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
.L34:
	add	DWORD PTR -4[rbp], 1
.L32:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L35
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	mostraStatus, .-mostraStatus
	.globl	preencherLugar
	.type	preencherLugar, @function
preencherLugar:
.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], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 82
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	preencherLugar, .-preencherLugar
	.globl	cancelarReserva
	.type	cancelarReserva, @function
cancelarReserva:
.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 -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 68
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	cancelarReserva, .-cancelarReserva
	.globl	efetivarCompra
	.type	efetivarCompra, @function
efetivarCompra:
.LFB11:
	.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], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 82
	jne	.L39
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 67
	mov	eax, 1
	jmp	.L40
.L39:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 67
	jne	.L41
	mov	eax, 5
	jmp	.L40
.L41:
	mov	eax, -1
.L40:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	efetivarCompra, .-efetivarCompra
	.section	.rodata
	.align 8
.LC50:
	.string	"|                 Relat\303\263rio da viagem abaixo:                   |"
.LC51:
	.string	"Assentos livres: %i. "
.LC52:
	.string	"\nAssentos comprados: %i. "
.LC53:
	.string	"\nAssentos reservados: %i. "
	.text
	.globl	relatorio
	.type	relatorio, @function
relatorio:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L43
.L47:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 82
	jne	.L44
	add	DWORD PTR -12[rbp], 1
	jmp	.L45
.L44:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 68
	jne	.L46
	add	DWORD PTR -20[rbp], 1
	jmp	.L45
.L46:
	add	DWORD PTR -16[rbp], 1
.L45:
	add	DWORD PTR -8[rbp], 1
.L43:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L47
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC50[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC52[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC53[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	relatorio, .-relatorio
	.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	"37636995.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"color F\000"
	.align	2
.LC1:
	.ascii	"Portuguese\000"
	.align	2
.LC2:
	.ascii	" __________________________________________________"
	.ascii	"___________________________________________________"
	.ascii	"_________________\000"
	.align	2
.LC3:
	.ascii	"|                                                  "
	.ascii	"                                                   "
	.ascii	"                 |\000"
	.align	2
.LC4:
	.ascii	"|                                         Bem vindo"
	.ascii	" \303\240 SALUMAR LINHAS AEREAS!!!                 "
	.ascii	"                        |\000"
	.align	2
.LC5:
	.ascii	"|                      Digite as informa\303\247\303"
	.ascii	"\265es abaixo para fazermos as verifica\303\247\303"
	.ascii	"\265es necess\303\241rias.                         "
	.ascii	"|\000"
	.align	2
.LC6:
	.ascii	"|__________________________________________________"
	.ascii	"___________________________________________________"
	.ascii	"_________________|\012\000"
	.align	2
.LC7:
	.ascii	"Informe o destino escolhido por nossos clientes: \000"
	.align	2
.LC8:
	.ascii	"Esse destino n\303\243o existe em nosso sistema, te"
	.ascii	"nte novamente!\012 \000"
	.align	2
.LC9:
	.ascii	"Seus dados est\303\243o corretos! Prossiga com a op"
	.ascii	"era\303\247\303\243o.\012\000"
	.align	2
.LC10:
	.ascii	"Informe quantos assentos est\303\243o d\303\255spon"
	.ascii	"iveis para o voo em quest\303\243o: \000"
	.align	2
.LC11:
	.ascii	"%i\000"
	.align	2
.LC12:
	.ascii	"Neste voo n\303\243o e permitido esse quantitativo "
	.ascii	"de assentos, por favor enforme novamente a quantida"
	.ascii	"de.\000"
	.align	2
.LC13:
	.ascii	"A informa\303\247\303\243o est\303\241 correta! Pro"
	.ascii	"ssiga com a opera\303\247\303\243o.\012\000"
	.align	2
.LC14:
	.ascii	"Informe o valor da passagem em reais: \000"
	.align	2
.LC15:
	.ascii	"Valor da passagem est\303\241 invalido! Tente novam"
	.ascii	"ente.\012 \000"
	.align	2
.LC16:
	.ascii	" __________________________________________________"
	.ascii	"____________________________________________\000"
	.align	2
.LC17:
	.ascii	"|                                                  "
	.ascii	"                                            |\000"
	.align	2
.LC18:
	.ascii	"|   Logo abaixo ter\303\241 um menu onde a empresa "
	.ascii	"poder\303\241 selecionar a op\303\247\303\243o que "
	.ascii	"melhor satisfazela,  |\000"
	.align	2
.LC19:
	.ascii	"|   para ativar a op\303\247\303\243o desejada, dig"
	.ascii	"ite o n\303\272mero o qual a op\303\247\303\243o es"
	.ascii	"t\303\241 indicada.                |\000"
	.align	2
.LC20:
	.ascii	"|__________________________________________________"
	.ascii	"____________________________________________|\012\000"
	.align	2
.LC21:
	.ascii	"\012\000"
	.align	2
.LC22:
	.ascii	" __________________________________________________"
	.ascii	"_____________\000"
	.align	2
.LC23:
	.ascii	"|                                                  "
	.ascii	"             |\000"
	.align	2
.LC24:
	.ascii	"|              Selecione uma op\303\247\303\243o ab"
	.ascii	"aixo:                      |\000"
	.align	2
.LC25:
	.ascii	"|             1 - Efetuar reserva.                 "
	.ascii	"             |\000"
	.align	2
.LC26:
	.ascii	"|             2 - Confirmar uma reserva.           "
	.ascii	"             |\000"
	.align	2
.LC27:
	.ascii	"|             3 - Cancelar uma reserva.            "
	.ascii	"             |\000"
	.align	2
.LC28:
	.ascii	"|             4 - Verificar ocupa\303\247\303\243o "
	.ascii	"de um voo.                 |\000"
	.align	2
.LC29:
	.ascii	"|             5 - Relat\303\263rio de vendas.      "
	.ascii	"                    |\000"
	.align	2
.LC30:
	.ascii	"|             7 - Sair do programa                 "
	.ascii	"             |\000"
	.align	2
.LC31:
	.ascii	"|__________________________________________________"
	.ascii	"_____________|\000"
	.align	2
.LC32:
	.ascii	"\012\012Qual op\303\247\303\243o deseja executar: \000"
	.align	2
.LC33:
	.ascii	"cls\000"
	.align	2
.LC34:
	.ascii	"|                 Mapa de calor do avi\303\243o aba"
	.ascii	"ixo:                |\000"
	.align	2
.LC35:
	.ascii	"|__________________________________________________"
	.ascii	"_____________|\012\000"
	.align	2
.LC36:
	.ascii	"\012\012Digite a poltrona que o senhor(a), deseja r"
	.ascii	"eservar:\000"
	.align	2
.LC37:
	.ascii	"\012\012Logo abaixo, ser\303\241 solicitado a idade"
	.ascii	", caso seja menor que 5 anos, a pssagem tem descont"
	.ascii	"o de 50 por cento.\000"
	.align	2
.LC38:
	.ascii	"Informe sua idade: \000"
	.align	2
.LC39:
	.ascii	"O valor a ser cobrado com desconto \303\251 de R$ %"
	.ascii	"i,00. \012\012\000"
	.align	2
.LC40:
	.ascii	"O pre\303\247o da passagem a ser pago \303\251 de R"
	.ascii	"$ %i,00. \012\012\000"
	.align	2
.LC41:
	.ascii	"|                 Confirma\303\247\303\243o de rese"
	.ascii	"rva:                       |\000"
	.align	2
.LC42:
	.ascii	"Informe o numero da reserva do sehnhor(a) para conf"
	.ascii	"irmamos a passagem:\000"
	.align	2
.LC43:
	.ascii	"Compra realizada com sucesso!\000"
	.align	2
.LC44:
	.ascii	"Lugar j\303\241 foi comprado\000"
	.align	2
.LC45:
	.ascii	"Este lugar esta sem reserva ou j\303\241 foi compra"
	.ascii	"do. Fa\303\247a sua reserva primeiro!\000"
	.align	2
.LC46:
	.ascii	"\012\012Informe a poltrona que o senhor(a), deseja "
	.ascii	"cancelar:\000"
	.align	2
.LC47:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-256]
	mov	r3, #0
	str	r3, [fp, #-252]
	mov	r3, #0
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-260]
	ldr	r0, .L28+4
	bl	system
	ldr	r1, .L28+8
	mov	r0, #6
	bl	setlocale
	ldr	r0, .L28+12
	bl	puts
	ldr	r0, .L28+16
	bl	puts
	ldr	r0, .L28+20
	bl	puts
	ldr	r0, .L28+24
	bl	puts
	ldr	r0, .L28+16
	bl	puts
	ldr	r0, .L28+28
	bl	puts
.L4:
	ldr	r0, .L28+32
	bl	printf
	ldr	r3, .L28+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #248
	mov	r0, r3
	bl	gets
	ldrb	r3, [fp, #-248]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L28+40
	bl	printf
	b	.L3
.L2:
	ldr	r0, .L28+44
	bl	puts
.L3:
	ldrb	r3, [fp, #-248]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
.L8:
	ldr	r0, .L28+48
	bl	printf
	ldr	r3, .L28+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #276
	mov	r1, r3
	ldr	r0, .L28+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-276]
	cmp	r3, #89
	ble	.L5
	ldr	r3, [fp, #-276]
	cmp	r3, #199
	ble	.L6
.L5:
	ldr	r0, .L28+56
	bl	puts
	b	.L7
.L6:
	ldr	r0, .L28+60
	bl	puts
.L7:
	ldr	r3, [fp, #-276]
	cmp	r3, #89
	ble	.L8
	ldr	r3, [fp, #-276]
	cmp	r3, #199
	bgt	.L8
.L11:
	ldr	r0, .L28+64
	bl	printf
	ldr	r3, .L28+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #260
	mov	r1, r3
	ldr	r0, .L28+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L28+68
	bl	printf
	b	.L10
.L9:
	ldr	r0, .L28+60
	bl	puts
.L10:
	ldr	r3, [fp, #-260]
	cmp	r3, #0
	beq	.L11
	ldr	r0, .L28+72
	bl	puts
	ldr	r0, .L28+76
	bl	puts
	ldr	r0, .L28+80
	bl	puts
	ldr	r0, .L28+84
	bl	puts
	ldr	r0, .L28+88
	bl	puts
	ldr	r3, [fp, #-276]
	sub	r2, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	preencheVetor
	nop
	b	.L13
.L25:
	ldr	r0, .L28+92
	bl	puts
	ldr	r0, .L28+96
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+104
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+108
	bl	puts
	ldr	r0, .L28+112
	bl	puts
	ldr	r0, .L28+116
	bl	puts
	ldr	r0, .L28+120
	bl	puts
	ldr	r0, .L28+124
	bl	puts
	ldr	r0, .L28+128
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+132
	bl	printf
	ldr	r0, .L28+136
	bl	printf
	ldr	r3, .L28+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, .L28+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-272]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L13
.L15:
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L14
.L19:
	ldr	r0, .L28+140
	bl	system
	ldr	r0, .L28+96
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+144
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+148
	bl	puts
	ldr	r3, [fp, #-276]
	sub	r2, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	mostraStatus
	ldr	r0, .L28+152
	bl	printf
	ldr	r3, .L28+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #268
	mov	r1, r3
	ldr	r0, .L28+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-268]
	sub	r2, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	preencherLugar
	ldr	r0, .L28+156
	bl	puts
	ldr	r0, .L28+160
	bl	printf
	ldr	r3, .L28+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L28+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-264]
	cmp	r3, #5
	bgt	.L20
	ldr	r3, [fp, #-260]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-252]
	ldr	r1, [fp, #-252]
	ldr	r0, .L28+164
	bl	printf
	b	.L13
.L20:
	ldr	r3, [fp, #-264]
	cmp	r3, #5
	ble	.L13
	ldr	r3, [fp, #-260]
	mov	r1, r3
	ldr	r0, .L28+168
	bl	printf
	b	.L13
.L18:
	ldr	r0, .L28+140
	bl	system
	ldr	r0, .L28+96
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+172
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+148
	bl	puts
	ldr	r0, .L28+176
	bl	printf
	ldr	r3, .L28+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #268
	mov	r1, r3
	ldr	r0, .L28+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-268]
	sub	r2, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	efetivarCompra
	mov	r3, r0
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #1
	bne	.L22
	ldr	r0, .L28+180
	bl	printf
	b	.L13
.L22:
	ldr	r3, [fp, #-268]
	cmp	r3, #5
	bne	.L24
	ldr	r0, .L28+184
	bl	printf
	b	.L13
.L24:
	ldr	r0, .L28+188
	bl	printf
	b	.L13
.L17:
	ldr	r0, .L28+140
	bl	system
	ldr	r0, .L28+96
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+144
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+148
	bl	puts
	ldr	r3, [fp, #-276]
	sub	r2, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	mostraStatus
	ldr	r0, .L28+192
	bl	printf
	ldr	r3, .L28+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #268
	mov	r1, r3
	ldr	r0, .L28+52
	bl	__isoc99_scanf
	ldr	r3, [fp, #-268]
	sub	r2, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	cancelarReserva
	b	.L13
.L16:
	ldr	r0, .L28+140
	bl	system
	ldr	r0, .L28+96
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+144
	bl	puts
	ldr	r0, .L28+100
	bl	puts
	ldr	r0, .L28+148
	bl	puts
	ldr	r3, [fp, #-276]
	sub	r2, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	mostraStatus
	b	.L13
.L14:
	ldr	r0, .L28+140
	bl	system
	ldr	r3, [fp, #-276]
	sub	r2, fp, #208
	mov	r1, r2
	mov	r0, r3
	bl	relatorio
	nop
.L13:
	ldr	r3, [fp, #-272]
	cmp	r3, #7
	bne	.L25
	mov	r3, #0
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC47
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	stdin
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.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
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.size	main, .-main
	.align	2
	.global	preencheVetor
	.syntax unified
	.arm
	.fpu softvfp
	.type	preencheVetor, %function
preencheVetor:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L31
.L32:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #68
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L31:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L32
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	preencheVetor, .-preencheVetor
	.section	.rodata
	.align	2
.LC48:
	.ascii	"[%i] = %c\000"
	.align	2
.LC49:
	.ascii	"\033[91m[%i] = %c\033[0m\000"
	.align	2
.LC50:
	.ascii	"\033[34m[%i] = %c\033[0m\000"
	.text
	.align	2
	.global	mostraStatus
	.syntax unified
	.arm
	.fpu softvfp
	.type	mostraStatus, %function
mostraStatus:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L34
.L37:
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L38
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #82
	bne	.L35
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L38+4
	bl	printf
	b	.L36
.L35:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #67
	bne	.L36
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, .L38+8
	bl	printf
.L36:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L34:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L37
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.size	mostraStatus, .-mostraStatus
	.align	2
	.global	preencherLugar
	.syntax unified
	.arm
	.fpu softvfp
	.type	preencherLugar, %function
preencherLugar:
	@ 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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #82
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	preencherLugar, .-preencherLugar
	.align	2
	.global	cancelarReserva
	.syntax unified
	.arm
	.fpu softvfp
	.type	cancelarReserva, %function
cancelarReserva:
	@ 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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #68
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cancelarReserva, .-cancelarReserva
	.align	2
	.global	efetivarCompra
	.syntax unified
	.arm
	.fpu softvfp
	.type	efetivarCompra, %function
efetivarCompra:
	@ 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
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #82
	bne	.L43
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #67
	strb	r2, [r3]
	mov	r3, #1
	b	.L44
.L43:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #67
	bne	.L45
	mov	r3, #5
	b	.L44
.L45:
	mvn	r3, #0
.L44:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	efetivarCompra, .-efetivarCompra
	.section	.rodata
	.align	2
.LC51:
	.ascii	"|                 Relat\303\263rio da viagem abaixo"
	.ascii	":                   |\000"
	.align	2
.LC52:
	.ascii	"Assentos livres: %i. \000"
	.align	2
.LC53:
	.ascii	"\012Assentos comprados: %i. \000"
	.align	2
.LC54:
	.ascii	"\012Assentos reservados: %i. \000"
	.text
	.align	2
	.global	relatorio
	.syntax unified
	.arm
	.fpu softvfp
	.type	relatorio, %function
relatorio:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L47
.L51:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #82
	bne	.L48
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L49
.L48:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #68
	bne	.L50
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L49
.L50:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L49:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L47:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L51
	ldr	r0, .L52
	bl	puts
	ldr	r0, .L52+4
	bl	puts
	ldr	r0, .L52+8
	bl	puts
	ldr	r0, .L52+4
	bl	puts
	ldr	r0, .L52+12
	bl	puts
	ldr	r1, [fp, #-24]
	ldr	r0, .L52+16
	bl	printf
	ldr	r1, [fp, #-20]
	ldr	r0, .L52+20
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r0, .L52+24
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC22
	.word	.LC23
	.word	.LC51
	.word	.LC35
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.size	relatorio, .-relatorio
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
