	.file	"523086.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\nInforme seu nome: "
.LC1:
	.string	"%s"
.LC2:
	.string	"\nInforme sua primeira nota: "
.LC3:
	.string	"%f"
.LC4:
	.string	"\nInforme sua segunda nota: "
.LC5:
	.string	"\nInforme sua terceira nota: "
.LC8:
	.string	"\nAlunos Aprovados:"
.LC9:
	.string	"\nNome   |   Nota\n"
.LC10:
	.string	"%s   |   %0.2f\n"
.LC11:
	.string	"\nAlunos Reprovados:"
	.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -84[rbp], 0
	jmp	.L2
.L10:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	cmp	DWORD PTR -84[rbp], 2
	je	.L3
	cmp	DWORD PTR -84[rbp], 2
	jg	.L4
	cmp	DWORD PTR -84[rbp], 0
	je	.L5
	cmp	DWORD PTR -84[rbp], 1
	je	.L6
	jmp	.L4
.L5:
	lea	rax, -38[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L4
.L6:
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L4
.L3:
	lea	rax, -18[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	nop
.L4:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -96[rbp]
	movd	xmm0, eax
	call	valorValido
	movd	eax, xmm0
	mov	DWORD PTR -96[rbp], eax
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -92[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -92[rbp]
	movd	xmm0, eax
	call	valorValido
	movd	eax, xmm0
	mov	DWORD PTR -92[rbp], eax
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rax, -88[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -88[rbp]
	movd	xmm0, eax
	call	valorValido
	movd	eax, xmm0
	mov	DWORD PTR -88[rbp], eax
	movss	xmm1, DWORD PTR -96[rbp]
	movss	xmm0, DWORD PTR -92[rbp]
	addss	xmm1, xmm0
	movss	xmm0, DWORD PTR -88[rbp]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC6[rip]
	divss	xmm0, xmm1
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movss	DWORD PTR -64[rbp+rax*4], xmm0
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movss	xmm0, DWORD PTR -64[rbp+rax*4]
	comiss	xmm0, DWORD PTR .LC7[rip]
	jb	.L25
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 1
	jmp	.L9
.L25:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], 0
.L9:
	add	DWORD PTR -84[rbp], 1
.L2:
	cmp	DWORD PTR -84[rbp], 2
	jle	.L10
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -84[rbp], 0
	jmp	.L11
.L16:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	cmp	eax, 1
	jne	.L26
	cmp	DWORD PTR -84[rbp], 2
	je	.L13
	cmp	DWORD PTR -84[rbp], 2
	jg	.L12
	cmp	DWORD PTR -84[rbp], 0
	je	.L14
	cmp	DWORD PTR -84[rbp], 1
	je	.L15
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movss	xmm0, DWORD PTR -64[rbp+rax*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rdx, xmm2
	lea	rax, -38[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L12
.L15:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movss	xmm0, DWORD PTR -64[rbp+rax*4]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rdx, xmm3
	lea	rax, -28[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movss	xmm0, DWORD PTR -64[rbp+rax*4]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rdx, xmm4
	lea	rax, -18[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L12
.L26:
	nop
.L12:
	add	DWORD PTR -84[rbp], 1
.L11:
	cmp	DWORD PTR -84[rbp], 2
	jle	.L16
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -84[rbp], 0
	jmp	.L17
.L22:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	test	eax, eax
	jne	.L27
	cmp	DWORD PTR -84[rbp], 2
	je	.L19
	cmp	DWORD PTR -84[rbp], 2
	jg	.L18
	cmp	DWORD PTR -84[rbp], 0
	je	.L20
	cmp	DWORD PTR -84[rbp], 1
	je	.L21
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movss	xmm0, DWORD PTR -64[rbp+rax*4]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rdx, xmm5
	lea	rax, -38[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movss	xmm0, DWORD PTR -64[rbp+rax*4]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rdx, xmm6
	lea	rax, -28[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movss	xmm0, DWORD PTR -64[rbp+rax*4]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movq	rdx, xmm7
	lea	rax, -18[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L18
.L27:
	nop
.L18:
	add	DWORD PTR -84[rbp], 1
.L17:
	cmp	DWORD PTR -84[rbp], 2
	jle	.L22
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC12:
	.string	"Valor inv\303\241lido. Digite novamente"
	.text
	.globl	valorValido
	.type	valorValido, @function
valorValido:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	movss	DWORD PTR -20[rbp], xmm0
	jmp	.L29
.L30:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L29:
	movss	xmm1, DWORD PTR -20[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	ja	.L30
	movss	xmm0, DWORD PTR -20[rbp]
	comiss	xmm0, DWORD PTR .LC14[rip]
	ja	.L30
	movss	xmm0, DWORD PTR -20[rbp]
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	valorValido, .-valorValido
	.section	.rodata
	.align 4
.LC6:
	.long	1077936128
	.align 4
.LC7:
	.long	1088421888
	.align 4
.LC14:
	.long	1092616192
	.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	"523086.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Informe seu nome: \000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"\012Informe sua primeira nota: \000"
	.align	2
.LC3:
	.ascii	"%f\000"
	.align	2
.LC4:
	.ascii	"\012Informe sua segunda nota: \000"
	.align	2
.LC5:
	.ascii	"\012Informe sua terceira nota: \000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_fcmpge
	.align	2
.LC6:
	.ascii	"\012Alunos Aprovados:\000"
	.align	2
.LC7:
	.ascii	"\012Nome   |   Nota\012\000"
	.global	__aeabi_f2d
	.align	2
.LC8:
	.ascii	"%s   |   %0.2f\012\000"
	.align	2
.LC9:
	.ascii	"\012Alunos Reprovados:\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 = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L2
.L10:
	ldr	r0, .L28+4
	bl	puts
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	beq	.L3
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	bgt	.L4
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-80]
	cmp	r3, #1
	beq	.L6
	b	.L4
.L5:
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L28+8
	bl	__isoc99_scanf
	b	.L4
.L6:
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L28+8
	bl	__isoc99_scanf
	b	.L4
.L3:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L28+8
	bl	__isoc99_scanf
	nop
.L4:
	ldr	r0, .L28+12
	bl	puts
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L28+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-92]	@ float
	mov	r0, r3
	bl	valorValido
	mov	r3, r0
	str	r3, [fp, #-92]	@ float
	ldr	r0, .L28+20
	bl	puts
	sub	r3, fp, #88
	mov	r1, r3
	ldr	r0, .L28+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-88]	@ float
	mov	r0, r3
	bl	valorValido
	mov	r3, r0
	str	r3, [fp, #-88]	@ float
	ldr	r0, .L28+24
	bl	puts
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L28+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-84]	@ float
	mov	r0, r3
	bl	valorValido
	mov	r3, r0
	str	r3, [fp, #-84]	@ float
	ldr	r3, [fp, #-92]	@ float
	ldr	r2, [fp, #-88]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-84]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, .L28+28
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-56]	@ float
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]	@ float
	ldr	r1, .L28+32
	mov	r0, r3
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-72]
	b	.L9
.L25:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-72]
.L9:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L2:
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	ble	.L10
	ldr	r0, .L28+36
	bl	printf
	ldr	r0, .L28+40
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L11
.L16:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-72]
	cmp	r3, #1
	bne	.L26
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	beq	.L13
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	bgt	.L12
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-80]
	cmp	r3, #1
	beq	.L15
	b	.L12
.L14:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldr	r0, .L28+44
	bl	printf
	b	.L12
.L15:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #32
	ldr	r0, .L28+44
	bl	printf
	b	.L12
.L13:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldr	r0, .L28+44
	bl	printf
	b	.L12
.L26:
	nop
.L12:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L11:
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	ble	.L16
	ldr	r0, .L28+48
	bl	printf
	ldr	r0, .L28+40
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L17
.L22:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-72]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	beq	.L19
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	bgt	.L18
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-80]
	cmp	r3, #1
	beq	.L21
	b	.L18
.L20:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldr	r0, .L28+44
	bl	printf
	b	.L18
.L21:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #32
	ldr	r0, .L28+44
	bl	printf
	b	.L18
.L19:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldr	r0, .L28+44
	bl	printf
	b	.L18
.L27:
	nop
.L18:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L17:
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	ble	.L22
	nop
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1077936128
	.word	1088421888
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Valor inv\303\241lido. Digite novamente\000"
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpgt
	.text
	.align	2
	.global	valorValido
	.syntax unified
	.arm
	.fpu softvfp
	.type	valorValido, %function
valorValido:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]	@ float
	b	.L31
.L32:
	ldr	r0, .L34
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L34+4
	bl	__isoc99_scanf
.L31:
	ldr	r3, [fp, #-16]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-16]	@ float
	ldr	r1, .L34+8
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-16]	@ float
	str	r3, [fp, #-8]	@ float
	ldr	r3, [fp, #-8]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC11
	.word	.LC3
	.word	1092616192
	.size	valorValido, .-valorValido
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
