	.file	"502087.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%lf %lf %lf %lf"
.LC5:
	.string	"Media: %.1f\n"
.LC7:
	.string	"Aluno reprovado."
.LC9:
	.string	"Aluno em exame."
.LC10:
	.string	"%lf"
.LC11:
	.string	"Nota do exame: %.1f\n"
.LC13:
	.string	"Media final: %.1f\n"
.LC14:
	.string	"Aluno aprovado."
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, -40[rbp]
	lea	rcx, -48[rbp]
	lea	rdx, -56[rbp]
	lea	rax, -64[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm1, xmm0
	movsd	xmm2, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movsd	xmm2, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movsd	xmm2, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR .LC6[rip]
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L15
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L4
.L15:
	movsd	xmm0, QWORD PTR .LC8[rip]
	comisd	xmm0, QWORD PTR -24[rbp]
	jbe	.L16
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC12[rip]
	mulsd	xmm1, xmm0
	movsd	xmm2, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC12[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L17
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L4
.L17:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L4
.L16:
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L4:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	-1717986918
	.long	1070176665
	.align 8
.LC2:
	.long	858993459
	.long	1070805811
	.align 8
.LC3:
	.long	-1717986918
	.long	1071225241
	.align 8
.LC4:
	.long	-1717986918
	.long	1069128089
	.align 8
.LC6:
	.long	0
	.long	1075052544
	.align 8
.LC8:
	.long	0
	.long	1075576832
	.align 8
.LC12:
	.long	0
	.long	1071644672
	.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	"502087.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lf %lf %lf %lf\000"
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
.LC1:
	.ascii	"Media: %.1f\012\000"
	.global	__aeabi_dcmplt
	.align	2
.LC2:
	.ascii	"Aluno reprovado.\000"
	.align	2
.LC3:
	.ascii	"Aluno em exame.\000"
	.align	2
.LC4:
	.ascii	"%lf\000"
	.align	2
.LC5:
	.ascii	"Nota do exame: %.1f\012\000"
	.align	2
.LC6:
	.ascii	"Media final: %.1f\012\000"
	.align	2
.LC7:
	.ascii	"Aluno aprovado.\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 = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r0, fp, #60
	sub	r2, fp, #68
	sub	r1, fp, #76
	sub	r3, fp, #52
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L18+4
	bl	__isoc99_scanf
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	ldr	r2, .L18+8
	ldr	r3, .L18+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	ldr	r2, .L18+16
	ldr	r3, .L18+20
	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
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	ldr	r2, .L18+8
	ldr	r3, .L18+24
	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
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	ldr	r2, .L18+8
	ldr	r3, .L18+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L18+32
	bl	printf
	mov	r2, #0
	ldr	r3, .L18+36
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L18+40
	bl	puts
	b	.L4
.L15:
	mov	r2, #0
	ldr	r3, .L18+44
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r0, .L18+48
	bl	puts
	ldr	r3, .L18+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L18+56
	bl	__isoc99_scanf
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L18+60
	bl	printf
	mov	r2, #0
	ldr	r3, .L18+64
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L18+64
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	ldr	r3, .L18+36
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L18+40
	bl	puts
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L18+68
	bl	printf
	b	.L4
.L17:
	ldr	r0, .L18+72
	bl	puts
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L18+68
	bl	printf
	b	.L4
.L16:
	ldr	r0, .L18+72
	bl	puts
.L4:
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC8
	.word	.LC0
	.word	-1717986918
	.word	1070176665
	.word	858993459
	.word	1070805811
	.word	1071225241
	.word	1069128089
	.word	.LC1
	.word	1075052544
	.word	.LC2
	.word	1075576832
	.word	.LC3
	.word	stdout
	.word	.LC4
	.word	.LC5
	.word	1071644672
	.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
