	.file	"857088.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"digite o nome do aluno %i:"
.LC1:
	.string	"digite a nota do aluno:"
.LC2:
	.string	"%f"
.LC3:
	.string	"cls"
.LC4:
	.string	"color fc"
.LC5:
	.string	"aluno\tnota"
.LC6:
	.string	"%s\t%.2f\n"
.LC7:
	.string	"media da classe %.2f"
	.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, 704
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -692[rbp], 1
	mov	DWORD PTR -700[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -700[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rcx, -688[rbp]
	mov	eax, DWORD PTR -700[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -688[rbp]
	mov	eax, DWORD PTR -700[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, 48
	add	rax, rcx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -700[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 636
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -696[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -696[rbp], xmm0
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	system@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	system@PLT
	add	DWORD PTR -700[rbp], 1
.L2:
	cmp	DWORD PTR -700[rbp], 7
	jle	.L3
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -700[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -700[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 636
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rcx, xmm2
	lea	rsi, -688[rbp]
	mov	eax, DWORD PTR -700[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -700[rbp], 1
.L4:
	cmp	DWORD PTR -700[rbp], 7
	jle	.L5
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -696[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"857088.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"digite o nome do aluno %i:\000"
	.align	2
.LC1:
	.ascii	"digite a nota do aluno:\000"
	.align	2
.LC2:
	.ascii	"%f\000"
	.global	__aeabi_fadd
	.align	2
.LC3:
	.ascii	"cls\000"
	.align	2
.LC4:
	.ascii	"color fc\000"
	.align	2
.LC5:
	.ascii	"aluno\011nota\000"
	.global	__aeabi_f2d
	.align	2
.LC6:
	.ascii	"%s\011%.2f\012\000"
	.align	2
.LC7:
	.ascii	"media da classe %.2f\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 = 688
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #692
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-692]
	mov	r3, #0
	str	r3, [fp, #-700]
	b	.L2
.L3:
	ldr	r3, [fp, #-700]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L8+4
	bl	printf
	ldr	r3, .L8+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r1, fp, #688
	ldr	r2, [fp, #-700]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r3, r1, r2
	mov	r0, r3
	bl	gets
	ldr	r0, .L8+12
	bl	printf
	sub	r1, fp, #688
	ldr	r2, [fp, #-700]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #48
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L8+16
	bl	__isoc99_scanf
	ldr	r2, [fp, #-700]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #624
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-696]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-696]	@ float
	ldr	r0, .L8+20
	bl	system
	ldr	r0, .L8+24
	bl	system
	ldr	r3, [fp, #-700]
	add	r3, r3, #1
	str	r3, [fp, #-700]
.L2:
	ldr	r3, [fp, #-700]
	cmp	r3, #7
	ble	.L3
	ldr	r0, .L8+28
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-700]
	b	.L4
.L5:
	sub	r1, fp, #688
	ldr	r2, [fp, #-700]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	add	r4, r1, r2
	ldr	r2, [fp, #-700]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #624
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L8+32
	bl	printf
	ldr	r3, [fp, #-700]
	add	r3, r3, #1
	str	r3, [fp, #-700]
.L4:
	ldr	r3, [fp, #-700]
	cmp	r3, #7
	ble	.L5
	ldr	r0, [fp, #-696]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L8+36
	bl	printf
	mov	r3, #0
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC8
	.word	.LC0
	.word	stdin
	.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
