	.file	"89665.c"
	.intel_syntax noprefix
	.text
	.globl	x
	.bss
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	max
	.align 4
	.type	max, @object
	.size	max, 4
max:
	.zero	4
	.globl	min
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.zero	4
	.globl	med
	.align 4
	.type	med, @object
	.size	med, 4
med:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"\302\241Bienvenido! Ingrese valores enteros de alturas y para terminar ingrese un valor negativo"
.LC1:
	.string	"Ingrese una altura: "
.LC2:
	.string	"%d"
.LC3:
	.string	"Ingrese otra altura: "
.LC4:
	.string	"No ingres\303\263 alturas v\303\241lidas"
	.align 8
.LC5:
	.string	"De los valores ingresados: La media es: %f, \n El valor m\303\241ximo es: %d \n El valor m\303\255nimo es: %d \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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rsi, x[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR max[rip], eax
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR min[rip], eax
	jmp	.L2
.L5:
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
	mov	eax, DWORD PTR x[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR med[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR med[rip], xmm0
	mov	edx, DWORD PTR x[rip]
	mov	eax, DWORD PTR max[rip]
	cmp	edx, eax
	jle	.L3
	mov	eax, DWORD PTR x[rip]
	mov	DWORD PTR max[rip], eax
.L3:
	mov	edx, DWORD PTR x[rip]
	mov	eax, DWORD PTR min[rip]
	cmp	edx, eax
	jge	.L4
	mov	eax, DWORD PTR min[rip]
	mov	DWORD PTR x[rip], eax
.L4:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rsi, x[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L2:
	mov	eax, DWORD PTR x[rip]
	test	eax, eax
	jns	.L5
	mov	eax, DWORD PTR n[rip]
	test	eax, eax
	jne	.L6
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L7
.L6:
	mov	edx, DWORD PTR min[rip]
	mov	ecx, DWORD PTR max[rip]
	movss	xmm0, DWORD PTR med[rip]
	mov	eax, DWORD PTR n[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	divss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	mov	esi, ecx
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
.L7:
	mov	eax, 0
	pop	rbp
	.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	"89665.c"
	.text
	.global	x
	.bss
	.align	2
	.type	x, %object
	.size	x, 4
x:
	.space	4
	.global	n
	.align	2
	.type	n, %object
	.size	n, 4
n:
	.space	4
	.global	max
	.align	2
	.type	max, %object
	.size	max, 4
max:
	.space	4
	.global	min
	.align	2
	.type	min, %object
	.size	min, 4
min:
	.space	4
	.global	med
	.align	2
	.type	med, %object
	.size	med, 4
med:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\302\241Bienvenido! Ingrese valores enteros de altu"
	.ascii	"ras y para terminar ingrese un valor negativo\000"
	.align	2
.LC1:
	.ascii	"Ingrese una altura: \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.align	2
.LC3:
	.ascii	"Ingrese otra altura: \000"
	.align	2
.LC4:
	.ascii	"No ingres\303\263 alturas v\303\241lidas\000"
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC5:
	.ascii	"De los valores ingresados: La media es: %f, \012 El"
	.ascii	" valor m\303\241ximo es: %d \012 El valor m\303\255"
	.ascii	"nimo es: %d \012\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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	ldr	r0, .L9
	bl	puts
	ldr	r0, .L9+4
	bl	puts
	ldr	r1, .L9+8
	ldr	r0, .L9+12
	bl	__isoc99_scanf
	ldr	r3, .L9+8
	ldr	r3, [r3]
	ldr	r2, .L9+16
	str	r3, [r2]
	ldr	r3, .L9+8
	ldr	r3, [r3]
	ldr	r2, .L9+20
	str	r3, [r2]
	b	.L2
.L5:
	ldr	r3, .L9+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9+24
	str	r3, [r2]
	ldr	r3, .L9+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, .L9+28
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L9+28
	str	r2, [r3]	@ float
	ldr	r3, .L9+8
	ldr	r2, [r3]
	ldr	r3, .L9+16
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L3
	ldr	r3, .L9+8
	ldr	r3, [r3]
	ldr	r2, .L9+16
	str	r3, [r2]
.L3:
	ldr	r3, .L9+8
	ldr	r2, [r3]
	ldr	r3, .L9+20
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L4
	ldr	r3, .L9+20
	ldr	r3, [r3]
	ldr	r2, .L9+8
	str	r3, [r2]
.L4:
	ldr	r0, .L9+32
	bl	puts
	ldr	r1, .L9+8
	ldr	r0, .L9+12
	bl	__isoc99_scanf
.L2:
	ldr	r3, .L9+8
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L5
	ldr	r3, .L9+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	ldr	r0, .L9+36
	bl	puts
	b	.L7
.L6:
	ldr	r3, .L9+28
	ldr	r4, [r3]	@ float
	ldr	r3, .L9+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L9+16
	ldr	r1, [r1]
	ldr	r0, .L9+20
	ldr	r0, [r0]
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r0, .L9+40
	bl	printf
.L7:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.word	x
	.word	.LC2
	.word	max
	.word	min
	.word	n
	.word	med
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
