	.file	"806041.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC1:
	.string	"Digite a matricula do aluno %d: "
.LC2:
	.string	"%d"
.LC3:
	.string	"Digite o nome do aluno %d: "
.LC4:
	.string	"%s"
.LC5:
	.string	"Digite a nota 1 do aluno %d: "
.LC6:
	.string	"%f"
.LC7:
	.string	"Digite a nota 2 do aluno %d: "
.LC9:
	.string	"Matricula: %d\n"
.LC10:
	.string	"Nome: %s\n"
.LC11:
	.string	"Media: %.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, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -272[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -268[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -264[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -260[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -256[rbp], xmm0
	mov	DWORD PTR -284[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -284[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -240[rbp]
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -284[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -240[rbp]
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -284[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -240[rbp]
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, 32
	add	rax, rcx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -284[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -240[rbp]
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, 32
	add	rax, rcx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -284[rbp], 1
.L2:
	cmp	DWORD PTR -284[rbp], 4
	jle	.L3
	mov	DWORD PTR -280[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -280[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 204
	movss	xmm1, DWORD PTR [rax]
	mov	eax, DWORD PTR -280[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 200
	movss	xmm0, DWORD PTR [rax]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC8[rip]
	divss	xmm0, xmm1
	mov	eax, DWORD PTR -280[rbp]
	cdqe
	movss	DWORD PTR -272[rbp+rax*4], xmm0
	add	DWORD PTR -280[rbp], 1
.L4:
	cmp	DWORD PTR -280[rbp], 4
	jle	.L5
	mov	DWORD PTR -276[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -276[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 240
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -240[rbp]
	mov	eax, DWORD PTR -276[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	movss	xmm0, DWORD PTR -272[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -276[rbp], 1
.L6:
	cmp	DWORD PTR -276[rbp], 4
	jle	.L7
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC8:
	.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	"806041.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Digite a matricula do aluno %d: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Digite o nome do aluno %d: \000"
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"Digite a nota 1 do aluno %d: \000"
	.align	2
.LC5:
	.ascii	"%f\000"
	.align	2
.LC6:
	.ascii	"Digite a nota 2 do aluno %d: \000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
.LC7:
	.ascii	"Matricula: %d\012\000"
	.align	2
.LC8:
	.ascii	"Nome: %s\012\000"
	.global	__aeabi_f2d
	.align	2
.LC9:
	.ascii	"Media: %.2f\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 256
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #256
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #248
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L2
.L3:
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L10+4
	bl	printf
	sub	r1, fp, #228
	ldr	r2, [fp, #-260]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L10+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	sub	r1, fp, #228
	ldr	r2, [fp, #-260]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L10+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L10+20
	bl	printf
	sub	r1, fp, #228
	ldr	r2, [fp, #-260]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #32
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L10+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L10+28
	bl	printf
	sub	r1, fp, #228
	ldr	r2, [fp, #-260]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #40
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L10+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L2:
	ldr	r3, [fp, #-260]
	cmp	r3, #4
	ble	.L3
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L4
.L5:
	ldr	r2, [fp, #-256]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #188
	ldr	r0, [r3]	@ float
	ldr	r2, [fp, #-256]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #184
	ldr	r3, [r3]	@ float
	mov	r1, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-256]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-244]	@ float
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L4:
	ldr	r3, [fp, #-256]
	cmp	r3, #4
	ble	.L5
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L6
.L7:
	ldr	r2, [fp, #-252]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #224
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+32
	bl	printf
	sub	r1, fp, #228
	ldr	r2, [fp, #-252]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L10+36
	bl	printf
	ldr	r3, [fp, #-252]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-244]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L10+40
	bl	printf
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L6:
	ldr	r3, [fp, #-252]
	cmp	r3, #4
	ble	.L7
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
