	.file	"452264.c"
	.intel_syntax noprefix
	.text
	.globl	estoque_refri
	.data
	.align 4
	.type	estoque_refri, @object
	.size	estoque_refri, 4
estoque_refri:
	.long	300
	.globl	estoque_bolas
	.align 4
	.type	estoque_bolas, @object
	.size	estoque_bolas, 4
estoque_bolas:
	.long	700
	.globl	cont
	.bss
	.align 4
	.type	cont, @object
	.size	cont, 4
cont:
	.zero	4
	.globl	vendas
	.align 32
	.type	vendas, @object
	.size	vendas, 8000
vendas:
	.zero	8000
	.section	.rodata
	.align 8
.LC0:
	.string	"\n========= PRODUTOS DA SORVETERIA ========="
	.align 8
.LC1:
	.string	"Codigo 10 - Refrigerante        R$ 2,50"
	.align 8
.LC2:
	.string	"Codigo 15 - Casquinha simples   R$ 1,50"
	.align 8
.LC3:
	.string	"Codigo 20 - Casquinha dupla     R$ 2,50"
	.text
	.globl	produtos
	.type	produtos, @function
produtos:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	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
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	produtos, .-produtos
	.globl	armazenar_informacoes
	.type	armazenar_informacoes, @function
armazenar_informacoes:
.LFB1:
	.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	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR cont[rip]
	cdqe
	add	rax, 1000
	lea	rcx, 0[0+rax*4]
	lea	rdx, vendas[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR cont[rip]
	cdqe
	add	rax, 2000
	lea	rcx, 0[0+rax*4]
	lea	rdx, vendas[rip]
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	cmp	DWORD PTR -4[rbp], 10
	jne	.L3
	mov	eax, DWORD PTR estoque_refri[rip]
	mov	edx, DWORD PTR cont[rip]
	movsx	rdx, edx
	add	rdx, 2000
	lea	rcx, 0[0+rdx*4]
	lea	rdx, vendas[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	mov	DWORD PTR estoque_refri[rip], eax
	jmp	.L6
.L3:
	cmp	DWORD PTR -4[rbp], 15
	jne	.L5
	mov	eax, DWORD PTR estoque_bolas[rip]
	mov	edx, DWORD PTR cont[rip]
	movsx	rdx, edx
	add	rdx, 2000
	lea	rcx, 0[0+rdx*4]
	lea	rdx, vendas[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	mov	DWORD PTR estoque_bolas[rip], eax
	jmp	.L6
.L5:
	cmp	DWORD PTR -4[rbp], 20
	jne	.L6
	mov	eax, DWORD PTR estoque_bolas[rip]
	mov	edx, DWORD PTR cont[rip]
	movsx	rdx, edx
	add	rdx, 2000
	lea	rcx, 0[0+rdx*4]
	lea	rdx, vendas[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	add	edx, edx
	sub	eax, edx
	mov	DWORD PTR estoque_bolas[rip], eax
.L6:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	armazenar_informacoes, .-armazenar_informacoes
	.section	.rodata
	.align 8
.LC7:
	.string	"\n==========RELATORIO FINAL DO EXPEDIENTE=========="
.LC8:
	.string	"\nFOI VENDIDO:"
.LC9:
	.string	"\n%d Refrigerantes"
.LC10:
	.string	"\n%d Casquinhas simples"
.LC11:
	.string	"\n%d Casquinhas duplas"
.LC12:
	.string	"\nVALOR FATURADO: "
.LC13:
	.string	"\nR$ %.2f Refrigerantes"
.LC14:
	.string	"\nR$ %.2f Casquinhas simples"
.LC15:
	.string	"\nR$ %.2f Casquinhas duplas"
.LC16:
	.string	"\nTotal arrecadado: R$ %.2f"
	.align 8
.LC17:
	.string	"\nMedia do valor pago por pedido: R$ %.2f"
	.align 8
.LC18:
	.string	"\nEstoque de latas de refrigerante: %d"
	.align 8
.LC19:
	.string	"\nEstoque de bolas de sorvete: %d"
	.text
	.globl	emitir_relatorio
	.type	emitir_relatorio, @function
emitir_relatorio:
.LFB2:
	.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
	pxor	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -36[rbp], xmm0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 1
	jmp	.L8
.L12:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 1000
	lea	rdx, 0[0+rax*4]
	lea	rax, vendas[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 10
	jne	.L9
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 2000
	lea	rdx, 0[0+rax*4]
	lea	rax, vendas[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -32[rbp], eax
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 1000
	lea	rdx, 0[0+rax*4]
	lea	rax, vendas[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 15
	jne	.L11
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 2000
	lea	rdx, 0[0+rax*4]
	lea	rax, vendas[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -28[rbp], eax
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 1000
	lea	rdx, 0[0+rax*4]
	lea	rax, vendas[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 20
	jne	.L10
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 2000
	lea	rdx, 0[0+rax*4]
	lea	rax, vendas[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -24[rbp], eax
.L10:
	add	DWORD PTR -20[rbp], 1
.L8:
	cmp	DWORD PTR -20[rbp], 999
	jle	.L12
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR .LC6[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR -16[rbp]
	addss	xmm0, DWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR -8[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	mov	eax, DWORD PTR cont[rip]
	test	eax, eax
	jle	.L13
	mov	eax, DWORD PTR cont[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -4[rbp]
	divss	xmm0, xmm1
	movss	DWORD PTR -36[rbp], xmm0
.L13:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -16[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -12[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC14[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -8[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -4[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, DWORD PTR -36[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR estoque_refri[rip]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR estoque_bolas[rip]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	emitir_relatorio, .-emitir_relatorio
	.section	.rodata
	.align 8
.LC20:
	.string	"\n=============== MENU ==============="
	.align 8
.LC21:
	.string	"0 - efetuar uma nova venda\n1 - encerrar o movimento do dia"
.LC22:
	.string	"\nOpcao: "
.LC23:
	.string	" %d"
	.align 8
.LC24:
	.string	"\nDigite codigo do produto comprado: "
.LC25:
	.string	"Digite quantidade comprada: "
.LC26:
	.string	"\nNAO TEM ESTOQUE"
	.align 8
.LC27:
	.string	"\n0 - efetuar uma nova venda\n1 - encerrar o movimento do dia"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L15
.L20:
	mov	eax, 0
	call	produtos
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 10
	jne	.L16
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR estoque_refri[rip]
	cmp	edx, eax
	jle	.L16
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L17
.L16:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 15
	jne	.L18
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR estoque_bolas[rip]
	cmp	edx, eax
	jle	.L18
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 20
	jne	.L19
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR estoque_bolas[rip]
	cmp	edx, eax
	jle	.L19
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L17
.L19:
	mov	eax, DWORD PTR cont[rip]
	add	eax, 1
	mov	DWORD PTR cont[rip], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	armazenar_informacoes
.L17:
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L15:
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	je	.L20
	mov	eax, 0
	call	emitir_relatorio
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.long	0
	.long	1074003968
	.align 8
.LC6:
	.long	0
	.long	1073217536
	.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	"452264.c"
	.text
	.global	estoque_refri
	.data
	.align	2
	.type	estoque_refri, %object
	.size	estoque_refri, 4
estoque_refri:
	.word	300
	.global	estoque_bolas
	.align	2
	.type	estoque_bolas, %object
	.size	estoque_bolas, 4
estoque_bolas:
	.word	700
	.global	cont
	.bss
	.align	2
	.type	cont, %object
	.size	cont, 4
cont:
	.space	4
	.comm	vendas,8000,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012========= PRODUTOS DA SORVETERIA =========\000"
	.align	2
.LC1:
	.ascii	"Codigo 10 - Refrigerante        R$ 2,50\000"
	.align	2
.LC2:
	.ascii	"Codigo 15 - Casquinha simples   R$ 1,50\000"
	.align	2
.LC3:
	.ascii	"Codigo 20 - Casquinha dupla     R$ 2,50\000"
	.text
	.align	2
	.global	produtos
	.syntax unified
	.arm
	.fpu softvfp
	.type	produtos, %function
produtos:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	ldr	r0, .L2+4
	bl	puts
	ldr	r0, .L2+8
	bl	puts
	ldr	r0, .L2+12
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	produtos, .-produtos
	.align	2
	.global	armazenar_informacoes
	.syntax unified
	.arm
	.fpu softvfp
	.type	armazenar_informacoes, %function
armazenar_informacoes:
	@ 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, .L9
	ldr	r3, [r3]
	ldr	r1, .L9+4
	add	r3, r3, #1000
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r1, .L9+4
	add	r3, r3, #2000
	ldr	r2, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L5
	ldr	r3, .L9+8
	ldr	r2, [r3]
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r1, .L9+4
	add	r3, r3, #2000
	ldr	r3, [r1, r3, lsl #2]
	sub	r3, r2, r3
	ldr	r2, .L9+8
	str	r3, [r2]
	b	.L8
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	bne	.L7
	ldr	r3, .L9+12
	ldr	r2, [r3]
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r1, .L9+4
	add	r3, r3, #2000
	ldr	r3, [r1, r3, lsl #2]
	sub	r3, r2, r3
	ldr	r2, .L9+12
	str	r3, [r2]
	b	.L8
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #20
	bne	.L8
	ldr	r3, .L9+12
	ldr	r2, [r3]
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r1, .L9+4
	add	r3, r3, #2000
	ldr	r3, [r1, r3, lsl #2]
	lsl	r3, r3, #1
	sub	r3, r2, r3
	ldr	r2, .L9+12
	str	r3, [r2]
.L8:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	cont
	.word	vendas
	.word	estoque_refri
	.word	estoque_bolas
	.size	armazenar_informacoes, .-armazenar_informacoes
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.global	__aeabi_fadd
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012==========RELATORIO FINAL DO EXPEDIENTE========"
	.ascii	"==\000"
	.align	2
.LC5:
	.ascii	"\012FOI VENDIDO:\000"
	.align	2
.LC6:
	.ascii	"\012%d Refrigerantes\000"
	.align	2
.LC7:
	.ascii	"\012%d Casquinhas simples\000"
	.align	2
.LC8:
	.ascii	"\012%d Casquinhas duplas\000"
	.align	2
.LC9:
	.ascii	"\012VALOR FATURADO: \000"
	.global	__aeabi_f2d
	.align	2
.LC10:
	.ascii	"\012R$ %.2f Refrigerantes\000"
	.align	2
.LC11:
	.ascii	"\012R$ %.2f Casquinhas simples\000"
	.align	2
.LC12:
	.ascii	"\012R$ %.2f Casquinhas duplas\000"
	.align	2
.LC13:
	.ascii	"\012Total arrecadado: R$ %.2f\000"
	.align	2
.LC14:
	.ascii	"\012Media do valor pago por pedido: R$ %.2f\000"
	.align	2
.LC15:
	.ascii	"\012Estoque de latas de refrigerante: %d\000"
	.align	2
.LC16:
	.ascii	"\012Estoque de bolas de sorvete: %d\000"
	.text
	.align	2
	.global	emitir_relatorio
	.syntax unified
	.arm
	.fpu softvfp
	.type	emitir_relatorio, %function
emitir_relatorio:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-12]	@ float
	mov	r3, #0
	str	r3, [fp, #-8]	@ float
	mov	r3, #0
	str	r3, [fp, #-40]	@ float
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L12
.L16:
	ldr	r2, .L18
	ldr	r3, [fp, #-24]
	add	r3, r3, #1000
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #10
	bne	.L13
	ldr	r2, .L18
	ldr	r3, [fp, #-24]
	add	r3, r3, #2000
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-36]
	b	.L14
.L13:
	ldr	r2, .L18
	ldr	r3, [fp, #-24]
	add	r3, r3, #1000
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #15
	bne	.L15
	ldr	r2, .L18
	ldr	r3, [fp, #-24]
	add	r3, r3, #2000
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	b	.L14
.L15:
	ldr	r2, .L18
	ldr	r3, [fp, #-24]
	add	r3, r3, #1000
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #20
	bne	.L14
	ldr	r2, .L18
	ldr	r3, [fp, #-24]
	add	r3, r3, #2000
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L14:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L12:
	ldr	r3, [fp, #-24]
	cmp	r3, #1000
	blt	.L16
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L18+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L18+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L18+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r1, [fp, #-16]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r3, .L18+12
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L17
	ldr	r3, .L18+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
.L17:
	ldr	r0, .L18+16
	bl	printf
	ldr	r0, .L18+20
	bl	printf
	ldr	r1, [fp, #-36]
	ldr	r0, .L18+24
	bl	printf
	ldr	r1, [fp, #-32]
	ldr	r0, .L18+28
	bl	printf
	ldr	r1, [fp, #-28]
	ldr	r0, .L18+32
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r0, .L18+36
	bl	printf
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+40
	bl	printf
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+44
	bl	printf
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+48
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+52
	bl	printf
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+56
	bl	printf
	ldr	r3, .L18+60
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+64
	bl	printf
	ldr	r3, .L18+68
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+72
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	vendas
	.word	1074003968
	.word	1073217536
	.word	cont
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	estoque_refri
	.word	.LC15
	.word	estoque_bolas
	.word	.LC16
	.size	emitir_relatorio, .-emitir_relatorio
	.section	.rodata
	.align	2
.LC17:
	.ascii	"\012=============== MENU ===============\000"
	.align	2
.LC18:
	.ascii	"0 - efetuar uma nova venda\0121 - encerrar o movime"
	.ascii	"nto do dia\000"
	.align	2
.LC19:
	.ascii	"\012Opcao: \000"
	.align	2
.LC20:
	.ascii	" %d\000"
	.align	2
.LC21:
	.ascii	"\012Digite codigo do produto comprado: \000"
	.align	2
.LC22:
	.ascii	"Digite quantidade comprada: \000"
	.align	2
.LC23:
	.ascii	"\012NAO TEM ESTOQUE\000"
	.align	2
.LC24:
	.ascii	"\0120 - efetuar uma nova venda\0121 - encerrar o mo"
	.ascii	"vimento do dia\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L29+4
	bl	puts
	ldr	r0, .L29+8
	bl	printf
	ldr	r0, .L29+12
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L29+16
	bl	__isoc99_scanf
	b	.L21
.L26:
	bl	produtos
	ldr	r0, .L29+20
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L29+16
	bl	__isoc99_scanf
	ldr	r0, .L29+24
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L29+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	bne	.L22
	ldr	r2, [fp, #-12]
	ldr	r3, .L29+28
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L22
	ldr	r0, .L29+32
	bl	puts
	b	.L23
.L22:
	ldr	r3, [fp, #-16]
	cmp	r3, #15
	bne	.L24
	ldr	r2, [fp, #-12]
	ldr	r3, .L29+36
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L24
	ldr	r0, .L29+32
	bl	puts
	b	.L23
.L24:
	ldr	r3, [fp, #-16]
	cmp	r3, #20
	bne	.L25
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #1
	ldr	r3, .L29+36
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L25
	ldr	r0, .L29+32
	bl	puts
	b	.L23
.L25:
	ldr	r3, .L29+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L29+40
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	armazenar_informacoes
.L23:
	ldr	r0, .L29+44
	bl	printf
	ldr	r0, .L29+12
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L29+16
	bl	__isoc99_scanf
.L21:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L26
	bl	emitir_relatorio
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC25
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	estoque_refri
	.word	.LC23
	.word	estoque_bolas
	.word	cont
	.word	.LC24
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
