	.file	"719533.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC4:
	.string	"Calificaciones del colegio %d:\n\t"
.LC5:
	.string	"Promedio del colegio: %.2f\n\t"
	.align 8
.LC6:
	.string	"Calificaciones del grupo %d:\n\t\t"
.LC7:
	.string	"Promedio del grupo: %.2f\n\t\t"
.LC8:
	.string	"\n\n"
.LC9:
	.string	", "
.LC10:
	.string	"%d%s"
	.align 8
.LC11:
	.string	"Promedio de todos los alumnos: %.2f\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 336
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	QWORD PTR -296[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -332[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -328[rbp], xmm0
	mov	DWORD PTR -324[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -320[rbp], 0
	jmp	.L3
.L6:
	pxor	xmm0, xmm0
	movss	DWORD PTR -332[rbp], xmm0
	mov	DWORD PTR -316[rbp], 0
	jmp	.L4
.L5:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 715827883
	shr	rax, 32
	mov	esi, edx
	sar	esi, 31
	mov	ecx, eax
	sub	ecx, esi
	mov	eax, ecx
	add	eax, eax
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	lea	eax, 5[rcx]
	mov	DWORD PTR -300[rbp], eax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -300[rbp]
	movss	xmm1, DWORD PTR -332[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -332[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -300[rbp]
	movss	xmm1, DWORD PTR -328[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -328[rbp], xmm0
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	movss	xmm1, DWORD PTR -296[rbp+rax*4]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -300[rbp]
	addss	xmm0, xmm1
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	movss	DWORD PTR -296[rbp+rax*4], xmm0
	mov	eax, DWORD PTR -316[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	mov	edx, DWORD PTR -320[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 4
	sub	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rdx
	lea	rdx, [rax+rsi]
	mov	eax, DWORD PTR -300[rbp]
	mov	DWORD PTR -256[rbp+rdx*4], eax
	add	DWORD PTR -316[rbp], 1
.L4:
	cmp	DWORD PTR -316[rbp], 9
	jle	.L5
	movss	xmm0, DWORD PTR -332[rbp]
	movss	xmm1, DWORD PTR .LC1[rip]
	divss	xmm0, xmm1
	mov	eax, DWORD PTR -320[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -324[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movss	DWORD PTR -288[rbp+rax*4], xmm0
	add	DWORD PTR -320[rbp], 1
.L3:
	cmp	DWORD PTR -320[rbp], 2
	jle	.L6
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	movss	xmm0, DWORD PTR -296[rbp+rax*4]
	movss	xmm1, DWORD PTR .LC2[rip]
	divss	xmm0, xmm1
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	movss	DWORD PTR -296[rbp+rax*4], xmm0
	add	DWORD PTR -324[rbp], 1
.L2:
	cmp	DWORD PTR -324[rbp], 1
	jle	.L7
	movss	xmm0, DWORD PTR -328[rbp]
	movss	xmm1, DWORD PTR .LC3[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -328[rbp], xmm0
	mov	DWORD PTR -312[rbp], 0
	jmp	.L8
.L15:
	mov	eax, DWORD PTR -312[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	movss	xmm0, DWORD PTR -296[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -308[rbp], 0
	jmp	.L9
.L14:
	mov	eax, DWORD PTR -308[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -308[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movss	xmm0, DWORD PTR -288[rbp+rax*4]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -304[rbp], 0
	jmp	.L10
.L13:
	cmp	DWORD PTR -304[rbp], 9
	jne	.L11
	lea	rcx, .LC8[rip]
	jmp	.L12
.L11:
	lea	rcx, .LC9[rip]
.L12:
	mov	eax, DWORD PTR -304[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	edx, DWORD PTR -308[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	sal	rdx, 4
	sub	rdx, rax
	lea	rax, [rdx+rdx]
	mov	rdx, rax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	add	rax, rax
	add	rax, rdx
	add	rax, rdi
	mov	eax, DWORD PTR -256[rbp+rax*4]
	mov	rdx, rcx
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -304[rbp], 1
.L10:
	cmp	DWORD PTR -304[rbp], 9
	jle	.L13
	mov	edi, 9
	call	putchar@PLT
	add	DWORD PTR -308[rbp], 1
.L9:
	cmp	DWORD PTR -308[rbp], 2
	jle	.L14
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -312[rbp], 1
.L8:
	cmp	DWORD PTR -312[rbp], 1
	jle	.L15
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -328[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC1:
	.long	1092616192
	.align 4
.LC2:
	.long	1106247680
	.align 4
.LC3:
	.long	1114636288
	.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	"719533.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Calificaciones del colegio %d:\012\011\000"
	.global	__aeabi_f2d
	.align	2
.LC1:
	.ascii	"Promedio del colegio: %.2f\012\011\000"
	.align	2
.LC2:
	.ascii	"Calificaciones del grupo %d:\012\011\011\000"
	.align	2
.LC3:
	.ascii	"Promedio del grupo: %.2f\012\011\011\000"
	.align	2
.LC4:
	.ascii	"\012\012\000"
	.align	2
.LC5:
	.ascii	", \000"
	.align	2
.LC6:
	.ascii	"%d%s\000"
	.align	2
.LC7:
	.ascii	"Promedio de todos los alumnos: %.2f\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 312
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #316
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	sub	r3, fp, #288
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-324]	@ float
	mov	r3, #0
	str	r3, [fp, #-320]	@ float
	mov	r3, #0
	str	r3, [fp, #-316]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-312]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-324]	@ float
	mov	r3, #0
	str	r3, [fp, #-308]
	b	.L4
.L5:
	bl	rand
	mov	r1, r0
	ldr	r3, .L18+4
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	add	r3, r2, #5
	str	r3, [fp, #-292]
	ldr	r0, [fp, #-292]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-324]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-324]	@ float
	ldr	r0, [fp, #-292]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-320]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-320]	@ float
	ldr	r3, [fp, #-316]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-276]	@ float
	ldr	r0, [fp, #-292]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-316]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-276]	@ float
	ldr	r3, [fp, #-312]
	ldr	r1, [fp, #-316]
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #1
	add	r2, r2, r3
	ldr	r3, [fp, #-308]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-292]
	str	r2, [r3, #-244]
	ldr	r3, [fp, #-308]
	add	r3, r3, #1
	str	r3, [fp, #-308]
.L4:
	ldr	r3, [fp, #-308]
	cmp	r3, #9
	ble	.L5
	ldr	r1, .L18+8
	ldr	r0, [fp, #-324]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	ldr	r2, [fp, #-316]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-312]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r1, [r3, #-268]	@ float
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-312]
.L3:
	ldr	r3, [fp, #-312]
	cmp	r3, #2
	ble	.L6
	ldr	r3, [fp, #-316]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-276]	@ float
	ldr	r1, .L18+12
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-316]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-276]	@ float
	ldr	r3, [fp, #-316]
	add	r3, r3, #1
	str	r3, [fp, #-316]
.L2:
	ldr	r3, [fp, #-316]
	cmp	r3, #1
	ble	.L7
	ldr	r1, .L18+16
	ldr	r0, [fp, #-320]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-320]	@ float
	mov	r3, #0
	str	r3, [fp, #-304]
	b	.L8
.L15:
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L18+20
	bl	printf
	ldr	r3, [fp, #-304]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-276]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L9
.L14:
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L18+28
	bl	printf
	ldr	r2, [fp, #-304]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-300]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-268]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+32
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-296]
	b	.L10
.L13:
	ldr	r3, [fp, #-300]
	ldr	r1, [fp, #-304]
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #1
	add	r2, r2, r3
	ldr	r3, [fp, #-296]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, [r3, #-244]
	ldr	r3, [fp, #-296]
	cmp	r3, #9
	bne	.L11
	ldr	r3, .L18+36
	b	.L12
.L11:
	ldr	r3, .L18+40
.L12:
	mov	r2, r3
	ldr	r0, .L18+44
	bl	printf
	ldr	r3, [fp, #-296]
	add	r3, r3, #1
	str	r3, [fp, #-296]
.L10:
	ldr	r3, [fp, #-296]
	cmp	r3, #9
	ble	.L13
	mov	r0, #9
	bl	putchar
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
.L9:
	ldr	r3, [fp, #-300]
	cmp	r3, #2
	ble	.L14
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	str	r3, [fp, #-304]
.L8:
	ldr	r3, [fp, #-304]
	cmp	r3, #1
	ble	.L15
	ldr	r0, [fp, #-320]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+48
	bl	printf
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC8
	.word	715827883
	.word	1092616192
	.word	1106247680
	.word	1114636288
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
