	.file	"92328982.c"
	.intel_syntax noprefix
	.text
	.globl	alunos
	.bss
	.align 32
	.type	alunos, @object
	.size	alunos, 1360
alunos:
	.zero	1360
	.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, 16
	mov	eax, 0
	call	listenToInputs
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	highestGrade
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	calculateAverage
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	mov	eax, 0
	call	finaljudgment
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.string	"\n\nBOLETIM FINAL\n-----------------------------"
.LC2:
	.string	"ALUNO: %s (%i)"
.LC3:
	.string	"\nMEDIA: %.2f"
.LC5:
	.string	"\nRESULTADO: Reprovado\n\n"
.LC6:
	.string	"\nRESULTADO: Aprovado!\n\n"
	.text
	.globl	finaljudgment
	.type	finaljudgment, @function
finaljudgment:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+56]
	movss	xmm1, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+60]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+64]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC1[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	add	rax, rcx
	sal	rax, 2
	lea	rcx, alunos[rip]
	add	rax, rcx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -4[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR .LC4[rip]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L10
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L10:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	add	DWORD PTR -8[rbp], 1
.L4:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L8
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	finaljudgment, .-finaljudgment
	.section	.rodata
	.align 8
.LC9:
	.string	"\n\nMEDIAS\n---------------------\nMaior Media:\nALUNO: %s\nNOTAS: %.2f, %.2f, %.2f\nMEDIA: %.2f"
	.align 8
.LC10:
	.string	"\n---------------------\nMenor Media:\nALUNO: %s\nNOTAS: %.2f, %.2f, %.2f\nMEDIA: %.2f\n"
	.text
	.globl	calculateAverage
	.type	calculateAverage, @function
calculateAverage:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR .LC8[rip]
	movss	DWORD PTR -12[rbp], xmm0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L12
.L17:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+56]
	movss	xmm1, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+60]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+64]
	movss	xmm0, DWORD PTR [rdx+rax]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC1[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm1, DWORD PTR -4[rbp]
	movss	xmm0, DWORD PTR -20[rbp]
	comiss	xmm0, xmm1
	jbe	.L13
	movss	xmm0, DWORD PTR -20[rbp]
	movss	DWORD PTR -4[rbp], xmm0
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -8[rbp], eax
.L13:
	movss	xmm0, DWORD PTR -12[rbp]
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L15
	movss	xmm0, DWORD PTR -20[rbp]
	movss	DWORD PTR -12[rbp], xmm0
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -16[rbp], eax
.L15:
	add	DWORD PTR -24[rbp], 1
.L12:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L17
	movss	xmm0, DWORD PTR -4[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+64]
	movss	xmm0, DWORD PTR [rdx+rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+60]
	movss	xmm0, DWORD PTR [rdx+rax]
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+56]
	movss	xmm3, DWORD PTR [rdx+rax]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm3
	movq	rdx, xmm4
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	add	rax, rcx
	sal	rax, 2
	lea	rcx, alunos[rip]
	add	rax, rcx
	add	rax, 4
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 4
	call	printf@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+64]
	movss	xmm0, DWORD PTR [rdx+rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+60]
	movss	xmm0, DWORD PTR [rdx+rax]
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+56]
	movss	xmm3, DWORD PTR [rdx+rax]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm3
	movq	rdx, xmm5
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	add	rax, rcx
	sal	rax, 2
	lea	rcx, alunos[rip]
	add	rax, rcx
	add	rax, 4
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 4
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	calculateAverage, .-calculateAverage
	.section	.rodata
	.align 8
.LC11:
	.string	"\n\nMAIORES NOTAS NAS PROVAS\n----------------------\nProva 1:\nALUNO: %s (%i)\nNOTA: %.2f"
	.align 8
.LC12:
	.string	"\n----------------------\nProva 2:\nALUNO: %s (%i)\nNOTA: %.2f"
	.align 8
.LC13:
	.string	"\n----------------------\nProva 3:\nALUNO: %s (%i)\nNOTA: %.2f"
	.text
	.globl	highestGrade
	.type	highestGrade, @function
highestGrade:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L21
.L28:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+56]
	movss	xmm0, DWORD PTR [rdx+rax]
	movss	xmm1, DWORD PTR -20[rbp]
	comiss	xmm0, xmm1
	jbe	.L22
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+56]
	movss	xmm0, DWORD PTR [rdx+rax]
	movss	DWORD PTR -20[rbp], xmm0
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -24[rbp], eax
.L22:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+60]
	movss	xmm0, DWORD PTR [rdx+rax]
	movss	xmm1, DWORD PTR -12[rbp]
	comiss	xmm0, xmm1
	jbe	.L24
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+60]
	movss	xmm0, DWORD PTR [rdx+rax]
	movss	DWORD PTR -12[rbp], xmm0
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -16[rbp], eax
.L24:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+64]
	movss	xmm0, DWORD PTR [rdx+rax]
	movss	xmm1, DWORD PTR -4[rbp]
	comiss	xmm0, xmm1
	jbe	.L26
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip+64]
	movss	xmm0, DWORD PTR [rdx+rax]
	movss	DWORD PTR -4[rbp], xmm0
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -8[rbp], eax
.L26:
	add	DWORD PTR -28[rbp], 1
.L21:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L28
	movss	xmm0, DWORD PTR -20[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rcx, xmm2
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	add	rax, rsi
	sal	rax, 2
	lea	rsi, alunos[rip]
	add	rax, rsi
	add	rax, 4
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rcx, xmm3
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	add	rax, rsi
	sal	rax, 2
	lea	rsi, alunos[rip]
	add	rax, rsi
	add	rax, 4
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -4[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rcx, xmm4
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, alunos[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	add	rax, rsi
	sal	rax, 2
	lea	rsi, alunos[rip]
	add	rax, rsi
	add	rax, 4
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	highestGrade, .-highestGrade
	.section	.rodata
	.align 8
.LC14:
	.string	"Vamos comecar recebendo os dados dos alunos"
	.align 8
.LC15:
	.string	"Deseja parar de adicionar dados? (s/N)"
.LC16:
	.string	"%c"
.LC17:
	.string	"\nQual a matricula do aluno?"
.LC18:
	.string	"%i"
.LC19:
	.string	"\nQual o nome deste aluno?: "
	.align 8
.LC20:
	.string	"\nAgora, entre as 3 notas deste aluno, separado por espacos"
.LC21:
	.string	"%f %f %f"
	.align 8
.LC22:
	.string	"\n====================================="
	.text
	.globl	listenToInputs
	.type	listenToInputs, @function
listenToInputs:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L35:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	cmp	DWORD PTR -12[rbp], 0
	je	.L33
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 115
	je	.L38
.L33:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, alunos[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, alunos[rip]
	add	rax, rdx
	add	rax, 4
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 48[rax]
	lea	rax, alunos[rip]
	add	rax, rdx
	lea	rcx, 16[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 48[rax]
	lea	rax, alunos[rip]
	add	rax, rdx
	lea	rdx, 12[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	add	rax, rsi
	sal	rax, 2
	lea	rsi, 48[rax]
	lea	rax, alunos[rip]
	add	rax, rsi
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -12[rbp], 1
	cmp	DWORD PTR -12[rbp], 19
	jle	.L35
	jmp	.L34
.L38:
	nop
.L34:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	listenToInputs, .-listenToInputs
	.section	.rodata
	.align 4
.LC1:
	.long	1077936128
	.align 4
.LC4:
	.long	1086324736
	.align 4
.LC8:
	.long	1092616192
	.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	"92328982.c"
	.text
	.comm	alunos,1360,4
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	listenToInputs
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	highestGrade
	ldr	r0, [fp, #-8]
	bl	calculateAverage
	ldr	r0, [fp, #-8]
	bl	finaljudgment
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\012BOLETIM FINAL\012--------------------------"
	.ascii	"---\000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
.LC1:
	.ascii	"ALUNO: %s (%i)\000"
	.global	__aeabi_f2d
	.align	2
.LC2:
	.ascii	"\012MEDIA: %.2f\000"
	.global	__aeabi_fcmplt
	.align	2
.LC3:
	.ascii	"\012RESULTADO: Reprovado\012\012\000"
	.align	2
.LC4:
	.ascii	"\012RESULTADO: Aprovado!\012\012\000"
	.text
	.align	2
	.global	finaljudgment
	.syntax unified
	.arm
	.fpu softvfp
	.type	finaljudgment, %function
finaljudgment:
	@ 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]
	ldr	r0, .L11
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L8:
	ldr	r1, .L11+4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #56
	ldr	r0, [r3]	@ float
	ldr	r1, .L11+4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #60
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	ldr	r1, .L11+4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #64
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, .L11+8
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L11+4
	add	r3, r3, r2
	add	r1, r3, #4
	ldr	r0, .L11+4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L11+12
	bl	printf
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L11+16
	bl	printf
	ldr	r1, .L11+20
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L11+24
	bl	printf
	b	.L7
.L10:
	ldr	r0, .L11+28
	bl	printf
.L7:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L8
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	alunos
	.word	1077936128
	.word	.LC1
	.word	.LC2
	.word	1086324736
	.word	.LC3
	.word	.LC4
	.size	finaljudgment, .-finaljudgment
	.global	__aeabi_fcmpgt
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\012\012MEDIAS\012---------------------\012Maior Me"
	.ascii	"dia:\012ALUNO: %s\012NOTAS: %.2f, %.2f, %.2f\012MED"
	.ascii	"IA: %.2f\000"
	.align	2
.LC6:
	.ascii	"\012---------------------\012Menor Media:\012ALUNO:"
	.ascii	" %s\012NOTAS: %.2f, %.2f, %.2f\012MEDIA: %.2f\012\000"
	.text
	.align	2
	.global	calculateAverage
	.syntax unified
	.arm
	.fpu softvfp
	.type	calculateAverage, %function
calculateAverage:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-40]	@ float
	ldr	r3, .L22
	str	r3, [fp, #-48]	@ float
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L14
.L19:
	ldr	r1, .L22+4
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #56
	ldr	r0, [r3]	@ float
	ldr	r1, .L22+4
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #60
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	ldr	r1, .L22+4
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #64
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, .L22+8
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-56]	@ float
	ldr	r3, [fp, #-40]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-56]	@ float
	str	r3, [fp, #-40]	@ float
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-44]
.L15:
	ldr	r3, [fp, #-48]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-56]	@ float
	str	r3, [fp, #-48]	@ float
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-52]
.L17:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L14:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L19
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L22+4
	add	r3, r3, r2
	add	r10, r3, #4
	ldr	r2, [fp, #-44]
	ldr	r1, .L22+4
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #56
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	ldr	r2, [fp, #-44]
	ldr	r1, .L22+4
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #60
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-44]
	ldr	r1, .L22+4
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #64
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r8
	mov	r3, r9
	mov	r1, r10
	ldr	r0, .L22+12
	bl	printf
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L22+4
	add	r3, r3, r2
	add	r10, r3, #4
	ldr	r2, [fp, #-52]
	ldr	r1, .L22+4
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #56
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	ldr	r2, [fp, #-52]
	ldr	r1, .L22+4
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #60
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-52]
	ldr	r1, .L22+4
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #64
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-48]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r8
	mov	r3, r9
	mov	r1, r10
	ldr	r0, .L22+16
	bl	printf
	nop
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	.align	2
.L22:
	.word	1092616192
	.word	alunos
	.word	1077936128
	.word	.LC5
	.word	.LC6
	.size	calculateAverage, .-calculateAverage
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\012\012MAIORES NOTAS NAS PROVAS\012---------------"
	.ascii	"-------\012Prova 1:\012ALUNO: %s (%i)\012NOTA: %.2f"
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"\012----------------------\012Prova 2:\012ALUNO: %s"
	.ascii	" (%i)\012NOTA: %.2f\000"
	.align	2
.LC9:
	.ascii	"\012----------------------\012Prova 3:\012ALUNO: %s"
	.ascii	" (%i)\012NOTA: %.2f\000"
	.text
	.align	2
	.global	highestGrade
	.syntax unified
	.arm
	.fpu softvfp
	.type	highestGrade, %function
highestGrade:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-32]	@ float
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L25
.L32:
	ldr	r1, .L36
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #56
	ldr	r3, [r3]	@ float
	ldr	r2, [fp, #-32]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r1, .L36
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #56
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-36]
.L26:
	ldr	r1, .L36
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #60
	ldr	r3, [r3]	@ float
	ldr	r2, [fp, #-24]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r1, .L36
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #60
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-28]
.L28:
	ldr	r1, .L36
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #64
	ldr	r3, [r3]	@ float
	ldr	r2, [fp, #-16]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r1, .L36
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #64
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-20]
.L30:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L25:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L32
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L36
	add	r3, r3, r2
	add	r4, r3, #4
	ldr	r2, [fp, #-36]
	ldr	r1, .L36
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r5, [r3]
	ldr	r3, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L36+4
	bl	printf
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L36
	add	r3, r3, r2
	add	r4, r3, #4
	ldr	r2, [fp, #-28]
	ldr	r1, .L36
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r5, [r3]
	ldr	r3, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L36+8
	bl	printf
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L36
	add	r3, r3, r2
	add	r4, r3, #4
	ldr	r2, [fp, #-20]
	ldr	r1, .L36
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r5, [r3]
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r5
	mov	r1, r4
	ldr	r0, .L36+12
	bl	printf
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L37:
	.align	2
.L36:
	.word	alunos
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	highestGrade, .-highestGrade
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Vamos comecar recebendo os dados dos alunos\000"
	.align	2
.LC11:
	.ascii	"Deseja parar de adicionar dados? (s/N)\000"
	.align	2
.LC12:
	.ascii	"%c\000"
	.align	2
.LC13:
	.ascii	"\012Qual a matricula do aluno?\000"
	.align	2
.LC14:
	.ascii	"%i\000"
	.align	2
.LC15:
	.ascii	"\012Qual o nome deste aluno?: \000"
	.align	2
.LC16:
	.ascii	"\012Agora, entre as 3 notas deste aluno, separado p"
	.ascii	"or espacos\000"
	.align	2
.LC17:
	.ascii	"%f %f %f\000"
	.align	2
.LC18:
	.ascii	"\012=====================================\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	listenToInputs
	.syntax unified
	.arm
	.fpu softvfp
	.type	listenToInputs, %function
listenToInputs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L45+4
	bl	puts
.L41:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L39
	ldr	r0, .L45+12
	bl	printf
	sub	r3, fp, #13
	mov	r1, r3
	ldr	r0, .L45+16
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L44
.L39:
	ldr	r0, .L45+20
	bl	puts
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L45+24
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L45+28
	bl	__isoc99_scanf
	ldr	r3, .L45+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L45+32
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L45+24
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r0, r3
	bl	gets
	ldr	r0, .L45+36
	bl	puts
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #56
	ldr	r2, .L45+24
	add	r1, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #56
	ldr	r2, .L45+24
	add	r3, r3, r2
	add	r0, r3, #4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #64
	ldr	r2, .L45+24
	add	r3, r3, r2
	mov	r2, r0
	ldr	r0, .L45+40
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #19
	ble	.L41
	b	.L40
.L44:
	nop
.L40:
	ldr	r0, .L45+44
	bl	puts
	ldr	r3, [fp, #-12]
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC19
	.word	.LC10
	.word	stdin
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	alunos
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	listenToInputs, .-listenToInputs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
