	.file	"886050.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"0 - sair"
.LC1:
	.string	"1 - ordem direta"
.LC2:
	.string	"2 - ordem inversa"
.LC3:
	.string	"Digite o codigo: "
.LC4:
	.string	"%d"
.LC5:
	.string	"Codigo invalido"
	.align 8
.LC6:
	.string	"Digite um valor para o vetor %d/5: "
.LC7:
	.string	"%f"
.LC8:
	.string	"Vetor[%d] = %.2f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	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]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L3:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L2:
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	js	.L3
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 2
	jg	.L3
	jmp	.L4
.L16:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -36[rbp], 1
.L5:
	cmp	DWORD PTR -36[rbp], 4
	jle	.L6
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 1
	je	.L7
	cmp	eax, 2
	je	.L8
	jmp	.L9
.L7:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	movss	xmm0, DWORD PTR -32[rbp+rax*4]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	mov	edx, DWORD PTR -36[rbp]
	add	edx, 1
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L10:
	cmp	DWORD PTR -36[rbp], 4
	jle	.L11
	jmp	.L9
.L8:
	mov	DWORD PTR -36[rbp], 4
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	movss	xmm0, DWORD PTR -32[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	mov	edx, DWORD PTR -36[rbp]
	add	edx, 1
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	sub	DWORD PTR -36[rbp], 1
.L12:
	cmp	DWORD PTR -36[rbp], 0
	jns	.L13
	nop
.L9:
	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]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L14
.L15:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L14:
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	js	.L15
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 2
	jg	.L15
.L4:
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	jne	.L16
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"886050.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"0 - sair\000"
	.align	2
.LC1:
	.ascii	"1 - ordem direta\000"
	.align	2
.LC2:
	.ascii	"2 - ordem inversa\000"
	.align	2
.LC3:
	.ascii	"Digite o codigo: \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"Codigo invalido\000"
	.align	2
.LC6:
	.ascii	"Digite um valor para o vetor %d/5: \000"
	.align	2
.LC7:
	.ascii	"%f\000"
	.global	__aeabi_f2d
	.align	2
.LC8:
	.ascii	"Vetor[%d] = %.2f\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L19+4
	bl	puts
	ldr	r0, .L19+8
	bl	puts
	ldr	r0, .L19+12
	bl	puts
	ldr	r0, .L19+16
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L19+20
	bl	__isoc99_scanf
	b	.L2
.L3:
	ldr	r0, .L19+24
	bl	puts
	ldr	r0, .L19+16
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L19+20
	bl	__isoc99_scanf
.L2:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	blt	.L3
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	bgt	.L3
	b	.L4
.L16:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L5
.L6:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L19+28
	bl	printf
	sub	r2, fp, #36
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L19+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L5:
	ldr	r3, [fp, #-40]
	cmp	r3, #4
	ble	.L6
	ldr	r3, [fp, #-44]
	cmp	r3, #1
	beq	.L7
	cmp	r3, #2
	beq	.L8
	b	.L9
.L7:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L10
.L11:
	ldr	r3, [fp, #-40]
	add	r4, r3, #1
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L19+36
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L10:
	ldr	r3, [fp, #-40]
	cmp	r3, #4
	ble	.L11
	b	.L9
.L8:
	mov	r3, #4
	str	r3, [fp, #-40]
	b	.L12
.L13:
	ldr	r3, [fp, #-40]
	add	r4, r3, #1
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L19+36
	bl	printf
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
.L12:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bge	.L13
	nop
.L9:
	ldr	r0, .L19+4
	bl	puts
	ldr	r0, .L19+8
	bl	puts
	ldr	r0, .L19+12
	bl	puts
	ldr	r0, .L19+16
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L19+20
	bl	__isoc99_scanf
	b	.L14
.L15:
	ldr	r0, .L19+24
	bl	puts
	ldr	r0, .L19+16
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L19+20
	bl	__isoc99_scanf
.L14:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	blt	.L15
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	bgt	.L15
.L4:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L16
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
