	.file	"551567.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC2:
	.string	"\nDigite o dado do Aluno: matricula, nome, P1, P2, P3"
.LC3:
	.string	"Aluno %d: "
.LC4:
	.string	"%d %s %f %f %f"
	.align 8
.LC6:
	.string	"\nAluno com maior media geral(%.2f): %s"
	.align 8
.LC7:
	.string	"\nAluno com menor media geral(%.2f): %s"
	.align 8
.LC8:
	.string	"\nAluno com maior Nota P1(%.2f): %s"
.LC10:
	.string	"\nAPROVADO!"
.LC11:
	.string	"\nREPROVADO!"
	.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, 880
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -872[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -868[rbp], xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -864[rbp], xmm0
	mov	DWORD PTR -860[rbp], 0
	jmp	.L2
.L9:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -860[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -816[rbp]
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, 112
	lea	rdi, [rdx+rax]
	lea	rdx, -816[rbp]
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, 96
	add	rax, rdx
	lea	rsi, 12[rax]
	lea	rdx, -816[rbp]
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, 96
	add	rax, rdx
	lea	rcx, 8[rax]
	lea	rdx, -816[rbp]
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	r8, -816[rbp]
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, r8
	mov	r9, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, rbp
	sub	rax, 712
	movss	xmm1, DWORD PTR [rax]
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, rbp
	sub	rax, 708
	movss	xmm0, DWORD PTR [rax]
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, rbp
	sub	rax, 704
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC5[rip]
	divss	xmm0, xmm1
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	movss	DWORD PTR -848[rbp+rax*4], xmm0
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	movss	xmm1, DWORD PTR -848[rbp+rax*4]
	movss	xmm0, DWORD PTR -864[rbp]
	comiss	xmm0, xmm1
	jbe	.L3
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	movss	xmm0, DWORD PTR -848[rbp+rax*4]
	movss	DWORD PTR -864[rbp], xmm0
	lea	rdx, -816[rbp]
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L3:
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	movss	xmm0, DWORD PTR -848[rbp+rax*4]
	comiss	xmm0, DWORD PTR -868[rbp]
	jbe	.L5
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	movss	xmm0, DWORD PTR -848[rbp+rax*4]
	movss	DWORD PTR -868[rbp], xmm0
	lea	rdx, -816[rbp]
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L5:
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, rbp
	sub	rax, 712
	movss	xmm0, DWORD PTR [rax]
	comiss	xmm0, DWORD PTR -872[rbp]
	jbe	.L7
	mov	eax, DWORD PTR -860[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, rbp
	sub	rax, 712
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -872[rbp], xmm0
.L7:
	add	DWORD PTR -860[rbp], 1
.L2:
	cmp	DWORD PTR -860[rbp], 4
	jle	.L9
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -868[rbp]
	movq	rax, xmm2
	lea	rdx, -224[rbp]
	mov	rsi, rdx
	movq	xmm0, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -864[rbp]
	movq	rax, xmm3
	lea	rdx, -112[rbp]
	mov	rsi, rdx
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	DWORD PTR -856[rbp], 0
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -856[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, rbp
	sub	rax, 712
	movss	xmm0, DWORD PTR [rax]
	ucomiss	xmm0, DWORD PTR -872[rbp]
	jp	.L11
	ucomiss	xmm0, DWORD PTR -872[rbp]
	jne	.L11
	lea	rdx, -816[rbp]
	mov	eax, DWORD PTR -856[rbp]
	cdqe
	imul	rax, rax, 116
	add	rax, rdx
	lea	rdx, 4[rax]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -872[rbp]
	movq	rax, xmm4
	mov	rsi, rdx
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
.L11:
	add	DWORD PTR -856[rbp], 1
.L10:
	cmp	DWORD PTR -856[rbp], 4
	jle	.L13
	mov	DWORD PTR -852[rbp], 0
	jmp	.L14
.L18:
	mov	eax, DWORD PTR -852[rbp]
	cdqe
	movss	xmm0, DWORD PTR -848[rbp+rax*4]
	comiss	xmm0, DWORD PTR .LC9[rip]
	jbe	.L26
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L26:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L17:
	add	DWORD PTR -852[rbp], 1
.L14:
	cmp	DWORD PTR -852[rbp], 4
	jle	.L18
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC1:
	.long	1176255488
	.align 4
.LC5:
	.long	1077936128
	.align 4
.LC9:
	.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	"551567.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Digite o dado do Aluno: matricula, nome, P1, P2"
	.ascii	", P3\000"
	.align	2
.LC1:
	.ascii	"Aluno %d: \000"
	.align	2
.LC2:
	.ascii	"%d %s %f %f %f\000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_fcmpgt
	.global	__aeabi_fcmplt
	.global	__aeabi_f2d
	.align	2
.LC3:
	.ascii	"\012Aluno com maior media geral(%.2f): %s\000"
	.align	2
.LC4:
	.ascii	"\012Aluno com menor media geral(%.2f): %s\000"
	.global	__aeabi_fcmpeq
	.align	2
.LC5:
	.ascii	"\012Aluno com maior Nota P1(%.2f): %s\000"
	.align	2
.LC6:
	.ascii	"\012APROVADO!\000"
	.align	2
.LC7:
	.ascii	"\012REPROVADO!\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 = 832
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #844
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-840]	@ float
	mov	r3, #0
	str	r3, [fp, #-836]	@ float
	ldr	r3, .L27+4
	str	r3, [fp, #-832]	@ float
	mov	r3, #0
	str	r3, [fp, #-828]
	b	.L2
.L9:
	ldr	r0, .L27+8
	bl	puts
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L27+12
	bl	printf
	sub	r1, fp, #796
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	ip, r1, r3
	sub	r1, fp, #796
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	lr, r3, #4
	sub	r1, fp, #796
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #104
	add	r4, r1, r3
	sub	r1, fp, #796
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #104
	add	r3, r1, r3
	add	r1, r3, #4
	sub	r0, fp, #796
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #112
	add	r3, r0, r3
	str	r3, [sp, #4]
	str	r1, [sp]
	mov	r3, r4
	mov	r2, lr
	mov	r1, ip
	ldr	r0, .L27+16
	bl	__isoc99_scanf
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #680
	ldr	r0, [r3]	@ float
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #676
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #672
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, .L27+20
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-828]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-804]	@ float
	ldr	r3, [fp, #-828]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-804]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-832]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-828]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-804]	@ float
	str	r3, [fp, #-832]	@ float
	sub	r1, fp, #796
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r3, #4
	sub	r3, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L3:
	ldr	r3, [fp, #-828]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-804]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-836]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-828]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-804]	@ float
	str	r3, [fp, #-836]	@ float
	sub	r1, fp, #796
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r2, r3, #4
	sub	r3, fp, #216
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L5:
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #680
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-840]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r2, [fp, #-828]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #680
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-840]	@ float
.L7:
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	str	r3, [fp, #-828]
.L2:
	ldr	r3, [fp, #-828]
	cmp	r3, #4
	ble	.L9
	ldr	r0, [fp, #-836]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #216
	str	r1, [sp]
	ldr	r0, .L27+24
	bl	printf
	ldr	r0, [fp, #-832]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #116
	str	r1, [sp]
	ldr	r0, .L27+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-824]
	b	.L10
.L13:
	ldr	r2, [fp, #-824]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #680
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-840]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r0, [fp, #-840]	@ float
	bl	__aeabi_f2d
	sub	ip, fp, #796
	ldr	r2, [fp, #-824]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, ip, r3
	add	r3, r3, #4
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L27+32
	bl	printf
.L11:
	ldr	r3, [fp, #-824]
	add	r3, r3, #1
	str	r3, [fp, #-824]
.L10:
	ldr	r3, [fp, #-824]
	cmp	r3, #4
	ble	.L13
	mov	r3, #0
	str	r3, [fp, #-820]
	b	.L14
.L18:
	ldr	r3, [fp, #-820]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-804]	@ float
	ldr	r1, .L27+36
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	ldr	r0, .L27+40
	bl	printf
	b	.L17
.L26:
	ldr	r0, .L27+44
	bl	printf
.L17:
	ldr	r3, [fp, #-820]
	add	r3, r3, #1
	str	r3, [fp, #-820]
.L14:
	ldr	r3, [fp, #-820]
	cmp	r3, #4
	ble	.L18
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC8
	.word	1176255488
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1077936128
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1114636288
	.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
