	.file	"948747.c"
	.intel_syntax noprefix
	.text
	.globl	j
	.bss
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	input
	.align 4
	.type	input, @object
	.size	input, 4
input:
	.zero	4
	.globl	v
	.align 16
	.type	v, @object
	.size	v, 20
v:
	.zero	20
	.section	.rodata
.LC0:
	.string	"Ingrese un n\303\272mero\n "
.LC1:
	.string	"%i"
	.text
	.globl	pedir
	.type	pedir, @function
pedir:
.LFB0:
	.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 i[rip], 0
	jmp	.L2
.L3:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, input[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR input[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, v[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 4
	jle	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	pedir, .-pedir
	.globl	orden
	.type	orden, @function
orden:
.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 i[rip], 0
	jmp	.L5
.L9:
	mov	DWORD PTR j[rip], 0
	jmp	.L6
.L8:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jl	.L7
	mov	eax, DWORD PTR j[rip]
	mov	edx, DWORD PTR j[rip]
	lea	ecx, 1[rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, ecx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, v[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR j[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, v[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L7:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L6:
	mov	eax, DWORD PTR i[rip]
	mov	edx, 4
	sub	edx, eax
	mov	eax, DWORD PTR j[rip]
	cmp	edx, eax
	jg	.L8
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L5:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 3
	jle	.L9
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	orden, .-orden
	.section	.rodata
.LC2:
	.string	"%i "
	.text
	.globl	imprimir
	.type	imprimir, @function
imprimir:
.LFB2:
	.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 i[rip], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, v[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L11:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 4
	jle	.L12
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	imprimir, .-imprimir
	.section	.rodata
.LC3:
	.string	"Vector original:"
.LC4:
	.string	"\nVector ordenado:"
	.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
	mov	eax, 0
	call	pedir
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	call	imprimir
	mov	eax, 0
	call	orden
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 0
	call	imprimir
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"948747.c"
	.text
	.comm	j,4,4
	.comm	i,4,4
	.comm	input,4,4
	.global	v
	.bss
	.align	2
	.type	v, %object
	.size	v, 20
v:
	.space	20
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Ingrese un n\303\272mero\012 \000"
	.align	2
.LC1:
	.ascii	"%i\000"
	.text
	.align	2
	.global	pedir
	.syntax unified
	.arm
	.fpu softvfp
	.type	pedir, %function
pedir:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L4
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r0, .L4+4
	bl	printf
	ldr	r1, .L4+8
	ldr	r0, .L4+12
	bl	__isoc99_scanf
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, .L4+8
	ldr	r2, [r2]
	ldr	r1, .L4+16
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L4
	str	r3, [r2]
.L2:
	ldr	r3, .L4
	ldr	r3, [r3]
	cmp	r3, #4
	ble	.L3
	nop
	nop
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	i
	.word	.LC0
	.word	input
	.word	.LC1
	.word	v
	.size	pedir, .-pedir
	.align	2
	.global	orden
	.syntax unified
	.arm
	.fpu softvfp
	.type	orden, %function
orden:
	@ 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
	ldr	r3, .L12
	mov	r2, #0
	str	r2, [r3]
	b	.L7
.L11:
	ldr	r3, .L12+4
	mov	r2, #0
	str	r2, [r3]
	b	.L8
.L10:
	ldr	r3, .L12+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12+8
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	ldr	r2, .L12+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L12+8
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	blt	.L9
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L12+8
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L12+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	ldr	r1, .L12+8
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
.L9:
	ldr	r3, .L12+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12+4
	str	r3, [r2]
.L8:
	ldr	r3, .L12
	ldr	r3, [r3]
	rsb	r2, r3, #4
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L10
	ldr	r3, .L12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L12
	str	r3, [r2]
.L7:
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L11
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	i
	.word	j
	.word	v
	.size	orden, .-orden
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%i \000"
	.text
	.align	2
	.global	imprimir
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprimir, %function
imprimir:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L17
	mov	r2, #0
	str	r2, [r3]
	b	.L15
.L16:
	ldr	r3, .L17
	ldr	r3, [r3]
	ldr	r2, .L17+4
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L17+8
	bl	printf
	ldr	r3, .L17
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L17
	str	r3, [r2]
.L15:
	ldr	r3, .L17
	ldr	r3, [r3]
	cmp	r3, #4
	ble	.L16
	nop
	nop
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	i
	.word	v
	.word	.LC2
	.size	imprimir, .-imprimir
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Vector original:\000"
	.align	2
.LC4:
	.ascii	"\012Vector ordenado:\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	pedir
	ldr	r0, .L21
	bl	puts
	bl	imprimir
	bl	orden
	ldr	r0, .L21+4
	bl	puts
	bl	imprimir
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
