	.file	"449755.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Digite o numero de identifica\303\247\303\243o"
.LC1:
	.string	"%li"
.LC2:
	.string	"Digite 3 notas:"
.LC3:
	.string	"%lf %lf %lf"
	.align 8
.LC7:
	.string	"Numero de identificacao %i\nMedia dos exercicios %lf\nMedia de aproveitamento %lf A\n"
	.align 8
.LC9:
	.string	"Numero de identificacao %i\nMedia dos exercicios %lf\nMedia de aproveitamento %lf B\n"
	.align 8
.LC11:
	.string	"Numero de identificacao %i\nMedia dos exercicios %lf\nMedia de aproveitamento %lf C\n"
	.align 8
.LC13:
	.string	"Numero de identificacao %i\nMedia dos exercicios %lf\nMedia de aproveitamento %lf D\n"
	.align 8
.LC14:
	.string	"Numero de identificacao %i\nMedia dos exercicios %lf\nMedia de aproveitamento %lf E\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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -32[rbp]
	lea	rdx, -40[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	addsd	xmm1, xmm0
	movsd	xmm2, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, QWORD PTR .LC6[rip]
	jb	.L25
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L4
.L25:
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, QWORD PTR .LC8[rip]
	jbe	.L5
	movsd	xmm0, QWORD PTR .LC6[rip]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L5
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L4
.L5:
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, QWORD PTR .LC10[rip]
	jbe	.L8
	movsd	xmm0, QWORD PTR .LC8[rip]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L8
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L4
.L8:
	movsd	xmm0, QWORD PTR -16[rbp]
	comisd	xmm0, QWORD PTR .LC12[rip]
	jbe	.L11
	movsd	xmm0, QWORD PTR .LC10[rip]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L11
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 2
	call	printf@PLT
	jmp	.L4
.L11:
	movsd	xmm0, QWORD PTR .LC12[rip]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L4
	mov	rax, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 2
	call	printf@PLT
.L4:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC4:
	.long	0
	.long	1074266112
	.align 8
.LC5:
	.long	0
	.long	1075576832
	.align 8
.LC6:
	.long	0
	.long	1075970048
	.align 8
.LC8:
	.long	0
	.long	1075707904
	.align 8
.LC10:
	.long	0
	.long	1075314688
	.align 8
.LC12:
	.long	0
	.long	1074790400
	.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	"449755.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Digite o numero de identifica\303\247\303\243o\000"
	.align	2
.LC1:
	.ascii	"%li\000"
	.align	2
.LC2:
	.ascii	"Digite 3 notas:\000"
	.align	2
.LC3:
	.ascii	"%lf %lf %lf\000"
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dcmpge
	.align	2
.LC4:
	.ascii	"Numero de identificacao %i\012Media dos exercicios "
	.ascii	"%lf\012Media de aproveitamento %lf A\012\000"
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmplt
	.align	2
.LC5:
	.ascii	"Numero de identificacao %i\012Media dos exercicios "
	.ascii	"%lf\012Media de aproveitamento %lf B\012\000"
	.align	2
.LC6:
	.ascii	"Numero de identificacao %i\012Media dos exercicios "
	.ascii	"%lf\012Media de aproveitamento %lf C\012\000"
	.align	2
.LC7:
	.ascii	"Numero de identificacao %i\012Media dos exercicios "
	.ascii	"%lf\012Media de aproveitamento %lf D\012\000"
	.align	2
.LC8:
	.ascii	"Numero de identificacao %i\012Media dos exercicios "
	.ascii	"%lf\012Media de aproveitamento %lf E\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #64
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L26+4
	bl	printf
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L26+8
	bl	__isoc99_scanf
	ldr	r0, .L26+12
	bl	printf
	sub	r3, fp, #44
	sub	r2, fp, #52
	sub	r1, fp, #60
	ldr	r0, .L26+16
	bl	__isoc99_scanf
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L26+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	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, .L26+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	r0, r2
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L26+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	ldr	r3, .L26+28
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r1, [fp, #-64]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L26+32
	bl	printf
	b	.L4
.L25:
	mov	r2, #0
	ldr	r3, .L26+36
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	mov	r2, #0
	ldr	r3, .L26+28
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r1, [fp, #-64]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L26+40
	bl	printf
	b	.L4
.L5:
	mov	r2, #0
	ldr	r3, .L26+44
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	mov	r2, #0
	ldr	r3, .L26+36
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r1, [fp, #-64]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L26+48
	bl	printf
	b	.L4
.L8:
	mov	r2, #0
	ldr	r3, .L26+52
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	mov	r2, #0
	ldr	r3, .L26+44
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r1, [fp, #-64]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L26+56
	bl	printf
	b	.L4
.L11:
	mov	r2, #0
	ldr	r3, .L26+52
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r1, [fp, #-64]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L26+60
	bl	printf
.L4:
	mov	r3, #0
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1074266112
	.word	1075576832
	.word	1075970048
	.word	.LC4
	.word	1075707904
	.word	.LC5
	.word	1075314688
	.word	.LC6
	.word	1074790400
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
