	.file	"658449.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%f"
.LC4:
	.string	"Media: %.1f\n"
.LC6:
	.string	"Aluno aprovado."
.LC8:
	.string	"Aluno reprovado."
.LC9:
	.string	"Aluno em exame."
.LC10:
	.string	"Nota do exame: %.1f\n"
.LC12:
	.string	"Media final: %.1f\n"
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], 0
	jmp	.L2
.L3:
	lea	rdx, -32[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -40[rbp], 1
.L2:
	cmp	DWORD PTR -40[rbp], 3
	jle	.L3
	movss	xmm0, DWORD PTR -32[rbp]
	cvtss2sd	xmm0, xmm0
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movss	xmm0, DWORD PTR -28[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movss	xmm0, DWORD PTR -24[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	cvtss2sd	xmm0, xmm0
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -36[rbp], xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -36[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -36[rbp]
	comiss	xmm0, DWORD PTR .LC5[rip]
	jb	.L17
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L6
.L17:
	movss	xmm0, DWORD PTR .LC7[rip]
	comiss	xmm0, DWORD PTR -36[rbp]
	jbe	.L18
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L6
.L18:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm0, DWORD PTR -44[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR -44[rbp]
	addss	xmm0, DWORD PTR -36[rbp]
	movss	xmm1, DWORD PTR .LC11[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -36[rbp], xmm0
	movss	xmm0, DWORD PTR -36[rbp]
	comiss	xmm0, DWORD PTR .LC7[rip]
	jb	.L19
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L11
.L19:
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L11:
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, DWORD PTR -36[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
.L6:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1074266112
	.align 8
.LC2:
	.long	0
	.long	1074790400
	.align 8
.LC3:
	.long	0
	.long	1076101120
	.align 4
.LC5:
	.long	1088421888
	.align 4
.LC7:
	.long	1084227584
	.align 4
.LC11:
	.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	"658449.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%f\000"
	.global	__aeabi_f2d
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_d2f
	.align	2
.LC1:
	.ascii	"Media: %.1f\012\000"
	.global	__aeabi_fcmpge
	.align	2
.LC2:
	.ascii	"Aluno aprovado.\000"
	.global	__aeabi_fcmplt
	.align	2
.LC3:
	.ascii	"Aluno reprovado.\000"
	.align	2
.LC4:
	.ascii	"Aluno em exame.\000"
	.align	2
.LC5:
	.ascii	"Nota do exame: %.1f\012\000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
.LC6:
	.ascii	"Media final: %.1f\012\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 = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L3:
	sub	r2, fp, #32
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L20+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	ble	.L3
	ldr	r3, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L20+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L20+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L20+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L20+20
	bl	printf
	ldr	r1, .L20+24
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L20+28
	bl	puts
	b	.L6
.L17:
	ldr	r1, .L20+32
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L20+36
	bl	puts
	b	.L6
.L18:
	ldr	r0, .L20+40
	bl	puts
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L20+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L20+44
	bl	printf
	ldr	r3, [fp, #-44]	@ float
	ldr	r1, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldr	r1, .L20+32
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L20+28
	bl	puts
	b	.L11
.L19:
	ldr	r0, .L20+36
	bl	puts
.L11:
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L20+48
	bl	printf
.L6:
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC7
	.word	.LC0
	.word	1074266112
	.word	1074790400
	.word	1076101120
	.word	.LC1
	.word	1088421888
	.word	.LC2
	.word	1084227584
	.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
