	.file	"59512730.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Digite a #%d nota do #%d aluno: "
.LC1:
	.string	"%f"
.LC2:
	.string	"\nTABELA DE NOTAS POR ALUNO: "
.LC3:
	.string	"%.2f "
.LC4:
	.string	"- "
	.align 8
.LC6:
	.string	"\nTABELA DE NOTAS E MEDIAS POR ALUNO: "
.LC7:
	.string	"Aluno %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
	sub	rsp, 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -216[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -212[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -216[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -212[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -208[rbp]
	mov	eax, DWORD PTR -212[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -212[rbp], 1
.L3:
	cmp	DWORD PTR -212[rbp], 1
	jle	.L4
	add	DWORD PTR -216[rbp], 1
.L2:
	cmp	DWORD PTR -216[rbp], 9
	jle	.L5
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -216[rbp], 0
	jmp	.L6
.L10:
	mov	DWORD PTR -212[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movss	xmm0, DWORD PTR -208[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	cmp	DWORD PTR -212[rbp], 0
	jg	.L8
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	add	DWORD PTR -212[rbp], 1
.L7:
	cmp	DWORD PTR -212[rbp], 1
	jle	.L9
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -216[rbp], 1
.L6:
	cmp	DWORD PTR -216[rbp], 9
	jle	.L10
	mov	DWORD PTR -216[rbp], 0
	jmp	.L11
.L16:
	mov	DWORD PTR -212[rbp], 0
	jmp	.L12
.L15:
	cmp	DWORD PTR -212[rbp], 2
	jne	.L13
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	movss	xmm1, DWORD PTR -208[rbp+rax*8]
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	movss	xmm0, DWORD PTR -204[rbp+rax*8]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC5[rip]
	divss	xmm0, xmm1
	mov	eax, DWORD PTR -212[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movss	DWORD PTR -128[rbp+rax*4], xmm0
	jmp	.L14
.L13:
	mov	eax, DWORD PTR -212[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -216[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movss	xmm0, DWORD PTR -208[rbp+rax*4]
	mov	eax, DWORD PTR -212[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movss	DWORD PTR -128[rbp+rax*4], xmm0
.L14:
	add	DWORD PTR -212[rbp], 1
.L12:
	cmp	DWORD PTR -212[rbp], 2
	jle	.L15
	add	DWORD PTR -216[rbp], 1
.L11:
	cmp	DWORD PTR -216[rbp], 9
	jle	.L16
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -216[rbp], 0
	jmp	.L17
.L21:
	mov	eax, DWORD PTR -216[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -212[rbp], 0
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -212[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rcx
	movss	xmm0, DWORD PTR -128[rbp+rax*4]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	cmp	DWORD PTR -212[rbp], 1
	jg	.L19
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	add	DWORD PTR -212[rbp], 1
.L18:
	cmp	DWORD PTR -212[rbp], 2
	jle	.L20
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -216[rbp], 1
.L17:
	cmp	DWORD PTR -216[rbp], 9
	jle	.L21
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC5:
	.long	1073741824
	.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	"59512730.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Digite a #%d nota do #%d aluno: \000"
	.align	2
.LC1:
	.ascii	"%f\000"
	.align	2
.LC2:
	.ascii	"\012TABELA DE NOTAS POR ALUNO: \000"
	.global	__aeabi_f2d
	.align	2
.LC3:
	.ascii	"%.2f \000"
	.align	2
.LC4:
	.ascii	"- \000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
.LC5:
	.ascii	"\012TABELA DE NOTAS E MEDIAS POR ALUNO: \000"
	.align	2
.LC6:
	.ascii	"Aluno %d: \000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L3
.L4:
	ldr	r3, [fp, #-212]
	add	r1, r3, #1
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r0, .L24+4
	bl	printf
	sub	r2, fp, #208
	ldr	r3, [fp, #-216]
	lsl	r1, r3, #1
	ldr	r3, [fp, #-212]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L24+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L3:
	ldr	r3, [fp, #-212]
	cmp	r3, #1
	ble	.L4
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L2:
	ldr	r3, [fp, #-216]
	cmp	r3, #9
	ble	.L5
	ldr	r0, .L24+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L6
.L10:
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L7
.L9:
	ldr	r3, [fp, #-216]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-204]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L24+16
	bl	printf
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	bgt	.L8
	ldr	r0, .L24+20
	bl	printf
.L8:
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L7:
	ldr	r3, [fp, #-212]
	cmp	r3, #1
	ble	.L9
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L6:
	ldr	r3, [fp, #-216]
	cmp	r3, #9
	ble	.L10
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L11
.L16:
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L12
.L15:
	ldr	r3, [fp, #-212]
	cmp	r3, #2
	bne	.L13
	ldr	r3, [fp, #-216]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-204]	@ float
	ldr	r3, [fp, #-216]
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-200]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	ldr	r2, [fp, #-216]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-212]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-124]	@ float
	b	.L14
.L13:
	ldr	r3, [fp, #-216]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-204]	@ float
	ldr	r2, [fp, #-216]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-212]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-124]	@ float
.L14:
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L12:
	ldr	r3, [fp, #-212]
	cmp	r3, #2
	ble	.L15
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L11:
	ldr	r3, [fp, #-216]
	cmp	r3, #9
	ble	.L16
	ldr	r0, .L24+24
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-216]
	b	.L17
.L21:
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L24+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L18
.L20:
	ldr	r2, [fp, #-216]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-212]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-124]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L24+16
	bl	printf
	ldr	r3, [fp, #-212]
	cmp	r3, #1
	bgt	.L19
	ldr	r0, .L24+20
	bl	printf
.L19:
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L18:
	ldr	r3, [fp, #-212]
	cmp	r3, #2
	ble	.L20
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L17:
	ldr	r3, [fp, #-216]
	cmp	r3, #9
	ble	.L21
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
