	.file	"407171.c"
	.intel_syntax noprefix
	.text
	.globl	media
	.type	media, @function
media:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	pxor	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -8[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L3
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -28[rbp]
	movss	xmm0, DWORD PTR -8[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	media, .-media
	.section	.rodata
	.align 8
.LC1:
	.string	"\nVeiculos com valor de compra acima da media:"
.LC2:
	.string	"%i. %s\t R$ %.2f\n"
	.text
	.globl	acimamedia
	.type	acimamedia, @function
acimamedia:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	movss	DWORD PTR -20[rbp], xmm0
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L7
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 5
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	mov	ecx, DWORD PTR -4[rbp]
	add	ecx, 1
	movq	xmm0, rax
	mov	esi, ecx
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
.L7:
	add	DWORD PTR -4[rbp], 1
.L6:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	acimamedia, .-acimamedia
	.globl	lucrodecr
	.type	lucrodecr, @function
lucrodecr:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -16[rbp], 0
	jmp	.L12
.L17:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, xmm1
	jbe	.L14
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -4[rbp], xmm0
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movss	xmm0, DWORD PTR [rdx]
	movss	DWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR [rax], xmm0
.L14:
	add	DWORD PTR -12[rbp], 1
.L13:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L16
	add	DWORD PTR -16[rbp], 1
.L12:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L17
	mov	DWORD PTR -8[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 5
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	mov	ecx, DWORD PTR -8[rbp]
	add	ecx, 1
	movq	xmm0, rax
	mov	esi, ecx
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L18:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L19
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	lucrodecr, .-lucrodecr
	.section	.rodata
.LC3:
	.string	"cls"
	.align 8
.LC4:
	.string	"====<<<< Gerenciamento de carros da Revenda >>>>===="
.LC5:
	.string	"1. Cadastrar veiculo"
.LC6:
	.string	"2. Listar veiculos"
.LC7:
	.string	"3. Media de valores de compra"
.LC8:
	.string	"4. Lucro de cada veiculo"
.LC9:
	.string	"5. Sair"
	.align 8
.LC10:
	.string	"=====================<<<<  >>>>====================="
.LC11:
	.string	"Digite a opcao desejada: "
.LC12:
	.string	"%i"
	.align 8
.LC13:
	.string	"====<<<< Cadastro de veiculos >>>>===="
	.align 8
.LC14:
	.string	"(Digite 'Sair' no Modelo do carro para voltar ao menu)"
	.align 8
.LC15:
	.string	"Informe os dados do veiculo %i:\n"
.LC16:
	.string	"Modelo do carro: "
.LC17:
	.string	"%s"
.LC18:
	.string	"Sair"
.LC19:
	.string	"Valor da compra: R$ "
.LC20:
	.string	"%f"
.LC21:
	.string	"Valor de venda: R$ "
	.align 8
.LC22:
	.string	"====<<<< Lista de veiculos >>>>===="
	.align 8
.LC23:
	.string	"\t Modelo \t|\t Valor da compra \t|\t Valor de venda \t"
.LC24:
	.string	"\t %s \t\t\t R$ %.2f \t\t\t R$ %.2f\n"
	.align 8
.LC25:
	.string	"\nPressione Enter para voltar. . . "
.LC26:
	.string	"%c"
	.align 8
.LC27:
	.string	"====<<<< Media de valores de compra >>>>===="
.LC28:
	.string	"Media: %.2f\n"
	.align 8
.LC29:
	.string	"====<<<< Lucro de cada veiculo >>>>===="
.LC30:
	.string	"\nOpcao invalida!!"
.LC31:
	.string	"\nFinalizando o programa. . ."
.LC32:
	.string	"pause"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 512
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -508[rbp], 0
	mov	DWORD PTR -500[rbp], 0
	mov	DWORD PTR -496[rbp], 0
	mov	DWORD PTR -504[rbp], 0
	jmp	.L22
.L43:
	lea	rdi, .LC3[rip]
	call	system@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -508[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -508[rbp]
	cmp	eax, 5
	ja	.L23
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L25[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L25[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L25:
	.long	.L23-.L25
	.long	.L29-.L25
	.long	.L33-.L25
	.long	.L37-.L25
	.long	.L39-.L25
	.long	.L22-.L25
	.text
.L29:
	lea	rdi, .LC3[rip]
	call	system@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L30
.L32:
	mov	eax, DWORD PTR -500[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -336[rbp]
	mov	eax, DWORD PTR -500[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -336[rbp]
	mov	eax, DWORD PTR -500[rbp]
	cdqe
	sal	rax, 5
	add	rax, rdx
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L31
	mov	DWORD PTR -496[rbp], 1
	jmp	.L30
.L31:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -480[rbp]
	mov	eax, DWORD PTR -500[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -432[rbp]
	mov	eax, DWORD PTR -500[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -500[rbp], 1
.L30:
	cmp	DWORD PTR -496[rbp], 1
	jne	.L32
	mov	DWORD PTR -496[rbp], 0
	jmp	.L22
.L36:
	lea	rdi, .LC3[rip]
	call	system@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	DWORD PTR -492[rbp], 0
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -492[rbp]
	cdqe
	movss	xmm0, DWORD PTR -432[rbp+rax*4]
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR -492[rbp]
	cdqe
	movss	xmm1, DWORD PTR -480[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm1
	movq	rax, xmm2
	lea	rcx, -336[rbp]
	mov	edx, DWORD PTR -492[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	add	rdx, rcx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	mov	rsi, rdx
	lea	rdi, .LC24[rip]
	mov	eax, 2
	call	printf@PLT
	add	DWORD PTR -492[rbp], 1
.L34:
	mov	eax, DWORD PTR -492[rbp]
	cmp	eax, DWORD PTR -500[rbp]
	jl	.L35
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -504[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -504[rbp], eax
.L33:
	mov	eax, DWORD PTR -504[rbp]
	cmp	eax, 10
	jne	.L36
	mov	DWORD PTR -504[rbp], 0
	jmp	.L22
.L38:
	lea	rdi, .LC3[rip]
	call	system@PLT
	lea	rdi, .LC27[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -500[rbp]
	lea	rax, -480[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	media
	movd	eax, xmm0
	mov	DWORD PTR -484[rbp], eax
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -484[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC28[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edx, DWORD PTR -500[rbp]
	lea	rsi, -336[rbp]
	lea	rcx, -480[rbp]
	mov	eax, DWORD PTR -484[rbp]
	mov	rdi, rcx
	movd	xmm0, eax
	call	acimamedia
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -504[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -504[rbp], eax
.L37:
	mov	eax, DWORD PTR -504[rbp]
	cmp	eax, 10
	jne	.L38
	mov	DWORD PTR -504[rbp], 0
	jmp	.L22
.L42:
	lea	rdi, .LC3[rip]
	call	system@PLT
	lea	rdi, .LC29[rip]
	call	puts@PLT
	mov	DWORD PTR -488[rbp], 0
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	movss	xmm0, DWORD PTR -432[rbp+rax*4]
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	movss	xmm1, DWORD PTR -480[rbp+rax*4]
	subss	xmm0, xmm1
	mov	eax, DWORD PTR -488[rbp]
	cdqe
	movss	DWORD PTR -384[rbp+rax*4], xmm0
	add	DWORD PTR -488[rbp], 1
.L40:
	mov	eax, DWORD PTR -488[rbp]
	cmp	eax, DWORD PTR -500[rbp]
	jl	.L41
	mov	edx, DWORD PTR -500[rbp]
	lea	rcx, -336[rbp]
	lea	rax, -384[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	lucrodecr
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -504[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -504[rbp], eax
.L39:
	mov	eax, DWORD PTR -504[rbp]
	cmp	eax, 10
	jne	.L42
	mov	DWORD PTR -504[rbp], 0
	jmp	.L22
.L23:
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L22:
	mov	eax, DWORD PTR -508[rbp]
	cmp	eax, 5
	jne	.L43
	lea	rdi, .LC31[rip]
	call	puts@PLT
	lea	rdi, .LC32[rip]
	call	system@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"407171.c"
	.text
	.global	__aeabi_fadd
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.align	2
	.global	media
	.syntax unified
	.arm
	.fpu softvfp
	.type	media, %function
media:
	@ 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, #-12]	@ float
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L3
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r3, [fp, #-12]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	media, .-media
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Veiculos com valor de compra acima da media:\000"
	.global	__aeabi_fcmplt
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"%i. %s\011 R$ %.2f\012\000"
	.text
	.align	2
	.global	acimamedia
	.syntax unified
	.arm
	.fpu softvfp
	.type	acimamedia, %function
acimamedia:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-24]	@ float
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r0, .L11
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L6
.L9:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-16]
	add	r4, r3, #1
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-32]
	add	r5, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L11+4
	bl	printf
.L7:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L9
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC1
	.size	acimamedia, .-acimamedia
	.align	2
	.global	lucrodecr
	.syntax unified
	.arm
	.fpu softvfp
	.type	lucrodecr, %function
lucrodecr:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L14
.L19:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L15
.L18:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r0, [r3]	@ float
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldr	r2, [r2]	@ float
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]	@ float
	str	r2, [r3]	@ float
.L16:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L15:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L18
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L14:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L19
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L20
.L21:
	ldr	r3, [fp, #-20]
	add	r4, r3, #1
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-36]
	add	r5, r2, r3
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L23
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L20:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L21
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC1
	.size	lucrodecr, .-lucrodecr
	.section	.rodata
	.align	2
.LC2:
	.ascii	"cls\000"
	.align	2
.LC3:
	.ascii	"====<<<< Gerenciamento de carros da Revenda >>>>==="
	.ascii	"=\000"
	.align	2
.LC4:
	.ascii	"1. Cadastrar veiculo\000"
	.align	2
.LC5:
	.ascii	"2. Listar veiculos\000"
	.align	2
.LC6:
	.ascii	"3. Media de valores de compra\000"
	.align	2
.LC7:
	.ascii	"4. Lucro de cada veiculo\000"
	.align	2
.LC8:
	.ascii	"5. Sair\000"
	.align	2
.LC9:
	.ascii	"=====================<<<<  >>>>===================="
	.ascii	"=\000"
	.align	2
.LC10:
	.ascii	"Digite a opcao desejada: \000"
	.align	2
.LC11:
	.ascii	"%i\000"
	.align	2
.LC12:
	.ascii	"====<<<< Cadastro de veiculos >>>>====\000"
	.align	2
.LC13:
	.ascii	"(Digite 'Sair' no Modelo do carro para voltar ao me"
	.ascii	"nu)\000"
	.align	2
.LC14:
	.ascii	"Informe os dados do veiculo %i:\012\000"
	.align	2
.LC15:
	.ascii	"Modelo do carro: \000"
	.align	2
.LC16:
	.ascii	"%s\000"
	.align	2
.LC17:
	.ascii	"Sair\000"
	.align	2
.LC18:
	.ascii	"Valor da compra: R$ \000"
	.align	2
.LC19:
	.ascii	"%f\000"
	.align	2
.LC20:
	.ascii	"Valor de venda: R$ \000"
	.align	2
.LC21:
	.ascii	"====<<<< Lista de veiculos >>>>====\000"
	.align	2
.LC22:
	.ascii	"\011 Modelo \011|\011 Valor da compra \011|\011 Val"
	.ascii	"or de venda \011\000"
	.align	2
.LC23:
	.ascii	"\011 %s \011\011\011 R$ %.2f \011\011\011 R$ %.2f\012"
	.ascii	"\000"
	.align	2
.LC24:
	.ascii	"\012Pressione Enter para voltar. . . \000"
	.align	2
.LC25:
	.ascii	"%c\000"
	.align	2
.LC26:
	.ascii	"====<<<< Media de valores de compra >>>>====\000"
	.align	2
.LC27:
	.ascii	"Media: %.2f\012\000"
	.align	2
.LC28:
	.ascii	"====<<<< Lucro de cada veiculo >>>>====\000"
	.global	__aeabi_fsub
	.align	2
.LC29:
	.ascii	"\012Opcao invalida!!\000"
	.align	2
.LC30:
	.ascii	"\012Finalizando o programa. . .\000"
	.align	2
.LC31:
	.ascii	"pause\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 472
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #484
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-492]
	mov	r3, #0
	str	r3, [fp, #-484]
	mov	r3, #0
	str	r3, [fp, #-480]
	mov	r3, #0
	str	r3, [fp, #-488]
	b	.L26
.L47:
	ldr	r0, .L50+4
	bl	system
	ldr	r0, .L50+8
	bl	puts
	ldr	r0, .L50+12
	bl	puts
	ldr	r0, .L50+16
	bl	puts
	ldr	r0, .L50+20
	bl	puts
	ldr	r0, .L50+24
	bl	puts
	ldr	r0, .L50+28
	bl	puts
	ldr	r0, .L50+32
	bl	puts
	ldr	r0, .L50+36
	bl	printf
	sub	r3, fp, #492
	mov	r1, r3
	ldr	r0, .L50+40
	bl	__isoc99_scanf
	ldr	r3, [fp, #-492]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L27
.L29:
	.word	.L33
	.word	.L37
	.word	.L41
	.word	.L43
	.word	.L26
.L33:
	ldr	r0, .L50+4
	bl	system
	ldr	r0, .L50+44
	bl	puts
	ldr	r0, .L50+48
	bl	puts
	b	.L34
.L36:
	ldr	r3, [fp, #-484]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L50+52
	bl	printf
	ldr	r0, .L50+56
	bl	printf
	sub	r2, fp, #344
	ldr	r3, [fp, #-484]
	lsl	r3, r3, #5
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L50+60
	bl	__isoc99_scanf
	sub	r2, fp, #344
	ldr	r3, [fp, #-484]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r1, .L50+64
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	mov	r3, #1
	str	r3, [fp, #-480]
	b	.L34
.L35:
	ldr	r0, .L50+68
	bl	printf
	sub	r2, fp, #464
	ldr	r3, [fp, #-484]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L50+72
	bl	__isoc99_scanf
	ldr	r0, .L50+76
	bl	printf
	sub	r2, fp, #424
	ldr	r3, [fp, #-484]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L50+72
	bl	__isoc99_scanf
	ldr	r3, [fp, #-484]
	add	r3, r3, #1
	str	r3, [fp, #-484]
.L34:
	ldr	r3, [fp, #-480]
	cmp	r3, #1
	bne	.L36
	mov	r3, #0
	str	r3, [fp, #-480]
	b	.L26
.L40:
	ldr	r0, .L50+4
	bl	system
	ldr	r0, .L50+80
	bl	puts
	ldr	r0, .L50+84
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-476]
	b	.L38
.L39:
	sub	r2, fp, #344
	ldr	r3, [fp, #-476]
	lsl	r3, r3, #5
	add	r6, r2, r3
	ldr	r3, [fp, #-476]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-444]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-476]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r3, [r3, #-404]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	mov	r1, r6
	ldr	r0, .L50+88
	bl	printf
	ldr	r3, [fp, #-476]
	add	r3, r3, #1
	str	r3, [fp, #-476]
.L38:
	ldr	r2, [fp, #-476]
	ldr	r3, [fp, #-484]
	cmp	r2, r3
	blt	.L39
	ldr	r0, .L50+92
	bl	printf
	sub	r3, fp, #488
	mov	r1, r3
	ldr	r0, .L50+96
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, r0
	str	r3, [fp, #-488]
.L37:
	ldr	r3, [fp, #-488]
	cmp	r3, #10
	bne	.L40
	mov	r3, #0
	str	r3, [fp, #-488]
	b	.L26
.L42:
	ldr	r0, .L50+4
	bl	system
	ldr	r0, .L50+100
	bl	puts
	sub	r3, fp, #464
	ldr	r1, [fp, #-484]
	mov	r0, r3
	bl	media
	str	r0, [fp, #-468]	@ float
	ldr	r0, [fp, #-468]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L50+104
	bl	printf
	sub	r2, fp, #344
	sub	r1, fp, #464
	ldr	r3, [fp, #-484]
	ldr	r0, [fp, #-468]	@ float
	bl	acimamedia
	ldr	r0, .L50+92
	bl	printf
	sub	r3, fp, #488
	mov	r1, r3
	ldr	r0, .L50+96
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, r0
	str	r3, [fp, #-488]
.L41:
	ldr	r3, [fp, #-488]
	cmp	r3, #10
	bne	.L42
	mov	r3, #0
	str	r3, [fp, #-488]
	b	.L26
.L46:
	ldr	r0, .L50+4
	bl	system
	ldr	r0, .L50+108
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-472]
	b	.L44
.L45:
	ldr	r3, [fp, #-472]
	lsl	r3, r3, #2
	sub	r2, fp, #20
	add	r3, r2, r3
	ldr	r2, [r3, #-404]	@ float
	ldr	r3, [fp, #-472]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	ldr	r3, [r3, #-444]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-472]
	lsl	r3, r3, #2
	sub	r1, fp, #20
	add	r3, r1, r3
	str	r2, [r3, #-364]	@ float
	ldr	r3, [fp, #-472]
	add	r3, r3, #1
	str	r3, [fp, #-472]
.L44:
	ldr	r2, [fp, #-472]
	ldr	r3, [fp, #-484]
	cmp	r2, r3
	blt	.L45
	sub	r1, fp, #344
	sub	r3, fp, #384
	ldr	r2, [fp, #-484]
	mov	r0, r3
	bl	lucrodecr
	ldr	r0, .L50+92
	bl	printf
	sub	r3, fp, #488
	mov	r1, r3
	ldr	r0, .L50+96
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, r0
	str	r3, [fp, #-488]
.L43:
	ldr	r3, [fp, #-488]
	cmp	r3, #10
	bne	.L46
	mov	r3, #0
	str	r3, [fp, #-488]
	b	.L26
.L27:
	ldr	r0, .L50+112
	bl	printf
	nop
.L26:
	ldr	r3, [fp, #-492]
	cmp	r3, #5
	bne	.L47
	ldr	r0, .L50+116
	bl	puts
	ldr	r0, .L50+120
	bl	system
	mov	r3, #0
	ldr	r2, .L50
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC32
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
