	.file	"187502.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%f"
.LC1:
	.string	"%.1f %d %d"
	.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
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -96[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	DWORD PTR -120[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -120[rbp], 1
.L2:
	cmp	DWORD PTR -120[rbp], 19
	jle	.L3
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	cal_mean
	movd	eax, xmm0
	mov	DWORD PTR -116[rbp], eax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	below
	mov	DWORD PTR -112[rbp], eax
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	high
	mov	DWORD PTR -108[rbp], eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -116[rbp]
	movq	rax, xmm1
	mov	edx, DWORD PTR -108[rbp]
	mov	ecx, DWORD PTR -112[rbp]
	mov	esi, ecx
	movq	xmm0, rax
	lea	rdi, .LC1[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	cal_mean
	.type	cal_mean, @function
cal_mean:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	pxor	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -8[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
	add	DWORD PTR -4[rbp], 4
.L7:
	cmp	DWORD PTR -4[rbp], 19
	jle	.L8
	movss	xmm0, DWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR .LC3[rip]
	divss	xmm0, xmm1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	cal_mean, .-cal_mean
	.globl	below
	.type	below, @function
below:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L11
.L17:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L12
.L15:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movss	xmm1, DWORD PTR [rax]
	movss	xmm0, DWORD PTR .LC4[rip]
	comiss	xmm0, xmm1
	jbe	.L13
	add	DWORD PTR -24[rbp], 1
.L13:
	add	DWORD PTR -12[rbp], 1
.L12:
	cmp	DWORD PTR -12[rbp], 3
	jle	.L15
	cmp	DWORD PTR -24[rbp], 1
	jle	.L16
	add	DWORD PTR -20[rbp], 1
.L16:
	mov	DWORD PTR -24[rbp], 0
	add	DWORD PTR -16[rbp], 4
.L11:
	cmp	DWORD PTR -16[rbp], 19
	jle	.L17
	mov	eax, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	below, .-below
	.globl	high
	.type	high, @function
high:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L21
.L29:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR .LC5[rip]
	jb	.L23
	add	DWORD PTR -24[rbp], 1
.L23:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L22:
	cmp	DWORD PTR -12[rbp], 3
	jle	.L25
	cmp	DWORD PTR -24[rbp], 4
	je	.L26
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm1, DWORD PTR .LC6[rip]
	divss	xmm0, xmm1
	comiss	xmm0, DWORD PTR .LC7[rip]
	jb	.L27
.L26:
	add	DWORD PTR -28[rbp], 1
.L27:
	mov	DWORD PTR -24[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	add	DWORD PTR -16[rbp], 4
.L21:
	cmp	DWORD PTR -16[rbp], 19
	jle	.L29
	mov	eax, DWORD PTR -28[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	high, .-high
	.section	.rodata
	.align 4
.LC3:
	.long	1084227584
	.align 4
.LC4:
	.long	1114636288
	.align 4
.LC5:
	.long	1118437376
	.align 4
.LC6:
	.long	1082130432
	.align 4
.LC7:
	.long	1119092736
	.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	"187502.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%f\000"
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"%.1f %d %d\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #88
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L2
.L3:
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L6+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L2:
	ldr	r3, [fp, #-108]
	cmp	r3, #19
	ble	.L3
	ldr	r0, [fp, #-104]
	bl	cal_mean
	str	r0, [fp, #-100]	@ float
	ldr	r0, [fp, #-104]
	bl	below
	str	r0, [fp, #-96]
	ldr	r0, [fp, #-104]
	bl	high
	str	r0, [fp, #-92]
	ldr	r0, [fp, #-100]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-92]
	str	r1, [sp, #4]
	ldr	r1, [fp, #-96]
	str	r1, [sp]
	ldr	r0, .L6+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
	.global	cal_mean
	.syntax unified
	.arm
	.fpu softvfp
	.type	cal_mean, %function
cal_mean:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]	@ float
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L10:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #19
	ble	.L10
	ldr	r1, .L12
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	1084227584
	.size	cal_mean, .-cal_mean
	.global	__aeabi_fcmplt
	.align	2
	.global	below
	.syntax unified
	.arm
	.fpu softvfp
	.type	below, %function
below:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L15
.L21:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L16
.L19:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	ldr	r1, .L24
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L17:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L16:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L19
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L20
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L20:
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
.L15:
	ldr	r3, [fp, #-16]
	cmp	r3, #19
	ble	.L21
	ldr	r3, [fp, #-20]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	1114636288
	.size	below, .-below
	.global	__aeabi_fcmpge
	.align	2
	.global	high
	.syntax unified
	.arm
	.fpu softvfp
	.type	high, %function
high:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L27
.L35:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L28
.L31:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	ldr	r1, .L38
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L29:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L28:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L31
	ldr	r3, [fp, #-24]
	cmp	r3, #4
	beq	.L32
	ldr	r1, .L38+4
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L38+8
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
.L32:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L33:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
.L27:
	ldr	r3, [fp, #-16]
	cmp	r3, #19
	ble	.L35
	ldr	r3, [fp, #-28]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	1118437376
	.word	1082130432
	.word	1119092736
	.size	high, .-high
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
