	.file	"1139709.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"Digite o valor da %d prova:\t"
.LC2:
	.string	"%f"
	.align 8
.LC3:
	.string	"Digite um valor entre 0 e 10 para a prova %d\t"
.LC7:
	.string	"O aluno foi pra recuperacao."
	.align 8
.LC8:
	.string	"Digite o valor da %d prova de recuperacao:\t"
	.align 8
.LC9:
	.string	"Digite um valor entre 0 e 10 para a %d prova de recuperacao:\t"
.LC10:
	.string	"REPROVADO"
.LC11:
	.string	"APROVADO"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	mov	DWORD PTR -16[rbp], 1
	mov	DWORD PTR -12[rbp], 1
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L3:
	movss	xmm0, DWORD PTR -24[rbp]
	comiss	xmm0, DWORD PTR .LC4[rip]
	ja	.L4
	movss	xmm0, DWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	add	DWORD PTR -16[rbp], 1
.L2:
	cmp	DWORD PTR -16[rbp], 4
	jle	.L5
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm2, DWORD PTR .LC5[rip]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC6[rip]
	comiss	xmm0, xmm1
	jbe	.L19
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L8
.L11:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L9:
	movss	xmm0, DWORD PTR -24[rbp]
	comiss	xmm0, DWORD PTR .LC4[rip]
	ja	.L10
	movss	xmm0, DWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR -20[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -20[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L8:
	cmp	DWORD PTR -12[rbp], 4
	jle	.L11
	movss	xmm0, DWORD PTR -20[rbp]
	movss	xmm2, DWORD PTR .LC5[rip]
	movaps	xmm1, xmm0
	divss	xmm1, xmm2
	movss	xmm0, DWORD PTR .LC6[rip]
	comiss	xmm0, xmm1
	jbe	.L20
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L14
.L20:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L14
.L19:
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L14:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC4:
	.long	1092616192
	.align 4
.LC5:
	.long	1082130432
	.align 4
.LC6:
	.long	1088421888
	.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	"1139709.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Digite o valor da %d prova:\011\000"
	.align	2
.LC1:
	.ascii	"%f\000"
	.align	2
.LC2:
	.ascii	"Digite um valor entre 0 e 10 para a prova %d\011\000"
	.global	__aeabi_fcmpgt
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_fcmplt
	.align	2
.LC3:
	.ascii	"O aluno foi pra recuperacao.\000"
	.align	2
.LC4:
	.ascii	"Digite o valor da %d prova de recuperacao:\011\000"
	.align	2
.LC5:
	.ascii	"Digite um valor entre 0 e 10 para a %d prova de rec"
	.ascii	"uperacao:\011\000"
	.align	2
.LC6:
	.ascii	"REPROVADO\000"
	.align	2
.LC7:
	.ascii	"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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #1
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L2
.L5:
	ldr	r1, [fp, #-16]
	ldr	r0, .L21+4
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	b	.L3
.L4:
	ldr	r1, [fp, #-16]
	ldr	r0, .L21+12
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
.L3:
	ldr	r3, [fp, #-24]	@ float
	ldr	r1, .L21+16
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	ble	.L5
	ldr	r1, .L21+20
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L21+24
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r0, .L21+28
	bl	puts
	b	.L8
.L11:
	ldr	r1, [fp, #-12]
	ldr	r0, .L21+32
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	b	.L9
.L10:
	ldr	r1, [fp, #-12]
	ldr	r0, .L21+36
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
.L9:
	ldr	r3, [fp, #-24]	@ float
	ldr	r1, .L21+16
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-24]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L11
	ldr	r1, .L21+20
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L21+24
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r0, .L21+40
	bl	puts
	b	.L14
.L20:
	ldr	r0, .L21+44
	bl	puts
	b	.L14
.L19:
	ldr	r0, .L21+44
	bl	puts
.L14:
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1092616192
	.word	1082130432
	.word	1088421888
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.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
