	.file	"15763070.c"
	.intel_syntax noprefix
	.text
	.globl	cadastro
	.bss
	.align 32
	.type	cadastro, @object
	.size	cadastro, 1200
cadastro:
	.zero	1200
	.section	.rodata
.LC0:
	.string	"Digite o nome do produto:"
.LC1:
	.string	"%s"
.LC2:
	.string	"Digite o codigo do produto:"
.LC3:
	.string	"Digite o preco do produto:"
.LC4:
	.string	"%f"
	.align 8
.LC5:
	.string	"Digite a quantidade do produto"
.LC6:
	.string	"%d"
	.align 8
.LC7:
	.string	"Digite o tipo do produto (0 para perecivel e 1 para nao perecivel)"
	.align 8
.LC8:
	.string	"\nErro!\nAperte 'enter' para voltar ao menu."
	.align 8
.LC9:
	.string	"Digite a data de validade do produto (DD/MM/AAAA)"
	.text
	.globl	cadastrar_produto
	.type	cadastrar_produto, @function
cadastrar_produto:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 20
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 36
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 40
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 44
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 44[rax]
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 44[rax]
	cmp	eax, 1
	je	.L2
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L4
.L2:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 44[rax]
	test	eax, eax
	jne	.L4
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 48
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cadastrar_produto, .-cadastrar_produto
	.section	.rodata
	.align 8
.LC10:
	.string	"\nNome: %s\ncodigo: %s\npreco: %.2f\nquantidade: %d\n"
.LC11:
	.string	"Tipo: %d\n"
.LC12:
	.string	"Tipo: %d\nValidade: %s\n"
	.text
	.globl	exibe_preco
	.type	exibe_preco, @function
exibe_preco:
.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
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -21[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 20[rax]
	lea	rax, -21[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L7
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR 40[rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR 36[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rdx, xmm1
	mov	eax, DWORD PTR -32[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	sub	rax, rsi
	sal	rax, 2
	mov	rsi, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rsi
	lea	rsi, 20[rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdi, eax
	mov	rax, rdi
	sal	rax, 4
	sub	rax, rdi
	sal	rax, 2
	mov	rdi, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdi
	movq	xmm0, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 44[rax]
	cmp	eax, 1
	jne	.L8
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 44[rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 48[rax]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 44[rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	add	DWORD PTR -32[rbp], 1
.L6:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L9
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	exibe_preco, .-exibe_preco
	.section	.rodata
	.align 8
.LC13:
	.string	"\nDigite o novo preco do produto: "
	.text
	.globl	altera_preco
	.type	altera_preco, @function
altera_preco:
.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -21[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 20[rax]
	lea	rax, -21[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L13
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	add	rax, 36
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L13:
	add	DWORD PTR -32[rbp], 1
.L12:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L14
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	altera_preco, .-altera_preco
	.section	.rodata
	.align 8
.LC14:
	.string	"\n1 - Cadastrar novo produto\n2 - Exibir pre\357\277\275o de um produto\n3 - Alterar pre\357\277\275o de um produto\n4 - Encerrar sistema"
	.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L17
.L22:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 4
	je	.L25
	cmp	eax, 4
	jg	.L17
	cmp	eax, 3
	je	.L19
	cmp	eax, 3
	jg	.L17
	cmp	eax, 1
	je	.L20
	cmp	eax, 2
	je	.L21
	jmp	.L17
.L20:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, cadastro[rip]
	call	cadastrar_produto
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L17
.L21:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, cadastro[rip]
	call	exibe_preco
	jmp	.L17
.L19:
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, cadastro[rip]
	call	altera_preco
	jmp	.L17
.L25:
	nop
.L17:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 4
	jne	.L22
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	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	"15763070.c"
	.text
	.comm	cadastro,1200,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Digite o nome do produto:\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"Digite o codigo do produto:\000"
	.align	2
.LC3:
	.ascii	"Digite o preco do produto:\000"
	.align	2
.LC4:
	.ascii	"%f\000"
	.align	2
.LC5:
	.ascii	"Digite a quantidade do produto\000"
	.align	2
.LC6:
	.ascii	"%d\000"
	.align	2
.LC7:
	.ascii	"Digite o tipo do produto (0 para perecivel e 1 para"
	.ascii	" nao perecivel)\000"
	.align	2
.LC8:
	.ascii	"\012Erro!\012Aperte 'enter' para voltar ao menu.\000"
	.align	2
.LC9:
	.ascii	"Digite a data de validade do produto (DD/MM/AAAA)\000"
	.text
	.align	2
	.global	cadastrar_produto
	.syntax unified
	.arm
	.fpu softvfp
	.type	cadastrar_produto, %function
cadastrar_produto:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, .L5
	bl	puts
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L5+4
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+8
	bl	puts
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #20
	mov	r1, r3
	ldr	r0, .L5+4
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+12
	bl	puts
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #36
	mov	r1, r3
	ldr	r0, .L5+16
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+20
	bl	puts
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #40
	mov	r1, r3
	ldr	r0, .L5+24
	bl	__isoc99_scanf
	bl	getchar
	ldr	r0, .L5+28
	bl	puts
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #44
	mov	r1, r3
	ldr	r0, .L5+24
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #44]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #44]
	cmp	r3, #1
	beq	.L2
	ldr	r0, .L5+32
	bl	puts
	b	.L4
.L2:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #44]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L5+36
	bl	puts
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #48
	mov	r1, r3
	ldr	r0, .L5+4
	bl	__isoc99_scanf
	bl	getchar
.L4:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	cadastrar_produto, .-cadastrar_produto
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\012Nome: %s\012codigo: %s\012preco: %.2f\012quanti"
	.ascii	"dade: %d\012\000"
	.align	2
.LC11:
	.ascii	"Tipo: %d\012\000"
	.align	2
.LC12:
	.ascii	"Tipo: %d\012Validade: %s\012\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	exibe_preco
	.syntax unified
	.arm
	.fpu softvfp
	.type	exibe_preco, %function
exibe_preco:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L13+4
	bl	puts
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L13+8
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L8
.L11:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	add	r3, r3, #20
	sub	r2, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L9
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	mov	r5, r3
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	add	r4, r3, #20
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	ldr	r3, [r3, #36]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	ldr	r3, [r3, #40]
	str	r3, [sp, #8]
	stm	sp, {r0-r1}
	mov	r2, r4
	mov	r1, r5
	ldr	r0, .L13+12
	bl	printf
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	ldr	r3, [r3, #44]
	cmp	r3, #1
	bne	.L10
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	ldr	r3, [r3, #44]
	mov	r1, r3
	ldr	r0, .L13+16
	bl	printf
	b	.L9
.L10:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	ldr	r1, [r3, #44]
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r3, r2
	add	r3, r3, #48
	mov	r2, r3
	ldr	r0, .L13+20
	bl	printf
.L9:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L8:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L11
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC13
	.word	.LC2
	.word	.LC1
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	exibe_preco, .-exibe_preco
	.section	.rodata
	.align	2
.LC14:
	.ascii	"\012Digite o novo preco do produto: \000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	altera_preco
	.syntax unified
	.arm
	.fpu softvfp
	.type	altera_preco, %function
altera_preco:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L20+4
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L16
.L18:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	add	r3, r3, #20
	sub	r2, fp, #24
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L20+12
	bl	printf
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, r2
	add	r3, r3, #36
	mov	r1, r3
	ldr	r0, .L20+16
	bl	__isoc99_scanf
.L17:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L16:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L18
	nop
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC15
	.word	.LC2
	.word	.LC1
	.word	.LC14
	.word	.LC4
	.size	altera_preco, .-altera_preco
	.section	.rodata
	.align	2
.LC16:
	.ascii	"\0121 - Cadastrar novo produto\0122 - Exibir pre\357"
	.ascii	"\277\275o de um produto\0123 - Alterar pre\357\277\275"
	.ascii	"o de um produto\0124 - Encerrar sistema\000"
	.align	2
.LC17:
	.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, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	nop
	b	.L24
.L30:
	ldr	r0, .L34+4
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L34+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L24
.L26:
	.word	.L29
	.word	.L28
	.word	.L27
	.word	.L33
.L29:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L34+12
	bl	cadastrar_produto
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L24
.L28:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L34+12
	bl	exibe_preco
	b	.L24
.L27:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L34+12
	bl	altera_preco
	b	.L24
.L33:
	nop
.L24:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	bne	.L30
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC17
	.word	.LC16
	.word	.LC6
	.word	cadastro
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
