	.file	"736984.c"
	.intel_syntax noprefix
	.text
	.globl	RemoveBarraN
	.type	RemoveBarraN, @function
RemoveBarraN:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L3
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	RemoveBarraN, .-RemoveBarraN
	.section	.rodata
	.align 8
.LC0:
	.string	"\t------------------------- SEJA BEM VINDO! -------------------------"
	.align 8
.LC1:
	.string	"\tEsse programa lhe auxiliara no controle das notas da sua disciplina"
	.align 8
.LC2:
	.string	"\t-------------------------------------------------------------------"
.LC3:
	.string	"\n\nVamos comecar?"
	.align 8
.LC4:
	.string	"\n\t--------------------- CADASTRO DA DISCIPLINA ---------------------"
	.align 8
.LC5:
	.string	"\nEm primeiro lugar, digite o nome da disciplina (max %d caracteres)\n"
.LC6:
	.string	"\tNOME DA DISCIPLINA: "
	.align 8
.LC7:
	.string	"\nAgora, digite o numero de alunos na disciplina de %s (max %d alunos)\n"
.LC8:
	.string	"\tNUMERO DE ALUNOS: "
.LC9:
	.string	"%d%*c"
	.align 8
.LC10:
	.string	"\t=================================================================="
	.align 8
.LC11:
	.string	"\n\t------------------------ CADASTRO DISCENTE ------------------------"
	.align 8
.LC12:
	.string	"\nDando continuidade, vamos cadastrar os %d discentes...\n"
	.align 8
.LC13:
	.string	"\nDigite a matricula e o nome do #%d discente\n"
.LC14:
	.string	"\tMATRICULA: "
.LC15:
	.string	"\tNOME (max %d caracteres): "
	.align 8
.LC16:
	.string	"\t==================================================================="
	.align 8
.LC17:
	.string	"\n\t------------------------- CADASTRO NOTAS -------------------------"
	.align 8
.LC18:
	.string	"\nAgora, vamos cadastrar as 3 notas dos %d discentes...\n"
	.align 8
.LC19:
	.string	"\nCadastro de notas do discente %s (matricula: %d):\n"
.LC20:
	.string	"\tDigite a #1 NOTA: "
.LC21:
	.string	"%lf%*c"
.LC22:
	.string	"\tDigite a #2 NOTA: "
.LC23:
	.string	"\tDigite a #3 NOTA: "
	.align 8
.LC27:
	.string	"\nQual a NOTA DE RECUPERACAO do discente %s (MEDIA ATUAL = %.1lf): "
.LC28:
	.string	"%lf"
	.align 8
.LC29:
	.string	"\n\t========================================================================================="
.LC30:
	.string	"\tDISCIPLINA: %s"
	.align 8
.LC31:
	.string	"\tMATRICULA\tNOME\t\tNOTA1\tNOTA2\tNOTA3\tRECUPERACAO\tMEDIA\tSITUACAO"
.LC34:
	.string	"\t6%d"
.LC35:
	.string	"\t\t%s"
.LC36:
	.string	"\t\t%03.1lf"
.LC37:
	.string	"\t%03.1lf"
.LC38:
	.string	"\tAPROVADO"
.LC39:
	.string	"\tREPROVADO"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 120
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	esi, 50
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -112[rbp]
	mov	esi, 51
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	RemoveBarraN
	lea	rax, -112[rbp]
	mov	edx, 30
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -152[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	ecx, DWORD PTR -152[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -136[rbp], rax
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	imul	rdx, r15, 640
	imul	rax, r14, 0
	lea	rsi, [rdx+rax]
	mov	eax, 640
	mul	r14
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	movsx	rax, ecx
	mov	r12, rax
	mov	r13d, 0
	imul	rdx, r13, 640
	imul	rax, r12, 0
	lea	rsi, [rdx+rax]
	mov	eax, 640
	mul	r12
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, ecx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L5:
	cmp	rsp, rdx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L7
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -128[rbp], rax
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -152[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -148[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -148[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	esi, 40
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 4
	mov	rcx, QWORD PTR -128[rbp]
	add	rax, rcx
	add	rax, 4
	mov	esi, 41
	mov	rdi, rax
	call	fgets@PLT
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, QWORD PTR -128[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rdi, rax
	call	RemoveBarraN
	add	DWORD PTR -148[rbp], 1
.L8:
	mov	eax, DWORD PTR -152[rbp]
	cmp	DWORD PTR -148[rbp], eax
	jl	.L9
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -152[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -148[rbp], 0
	jmp	.L10
.L11:
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 4
	mov	rcx, QWORD PTR -128[rbp]
	add	rax, rcx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, 48[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, 48[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -148[rbp], 1
.L10:
	mov	eax, DWORD PTR -152[rbp]
	cmp	DWORD PTR -148[rbp], eax
	jl	.L11
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	DWORD PTR -148[rbp], 0
	jmp	.L12
.L16:
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 48
	movsd	xmm1, QWORD PTR [rax]
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 56
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm1, xmm0
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 64
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC24[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -144[rbp], xmm0
	movsd	xmm0, QWORD PTR -144[rbp]
	comisd	xmm0, QWORD PTR .LC25[rip]
	jb	.L13
	movsd	xmm0, QWORD PTR .LC26[rip]
	comisd	xmm0, QWORD PTR -144[rbp]
	jbe	.L13
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, QWORD PTR -128[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -144[rbp]
	movq	xmm0, rax
	mov	rsi, rdx
	lea	rdi, .LC27[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L13:
	add	DWORD PTR -148[rbp], 1
.L12:
	mov	eax, DWORD PTR -152[rbp]
	cmp	DWORD PTR -148[rbp], eax
	jl	.L16
	lea	rdi, .LC29[rip]
	call	puts@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC29[rip]
	call	puts@PLT
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC29[rip]
	call	puts@PLT
	mov	DWORD PTR -148[rbp], 0
	jmp	.L17
.L24:
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 48
	movsd	xmm1, QWORD PTR [rax]
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 56
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm1, xmm0
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 64
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC24[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -144[rbp], xmm0
	movsd	xmm0, QWORD PTR -144[rbp]
	comisd	xmm0, QWORD PTR .LC25[rip]
	jb	.L18
	movsd	xmm0, QWORD PTR .LC26[rip]
	comisd	xmm0, QWORD PTR -144[rbp]
	jbe	.L18
	movsd	xmm1, QWORD PTR -144[rbp]
	movsd	xmm0, QWORD PTR .LC32[rip]
	mulsd	xmm1, xmm0
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 72
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC25[rip]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC33[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR -120[rbp]
	movsd	QWORD PTR -144[rbp], xmm0
.L18:
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, QWORD PTR -128[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC36[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC37[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC37[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rcx, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 72
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC37[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -144[rbp]
	movq	xmm0, rax
	lea	rdi, .LC36[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -144[rbp]
	comisd	xmm0, QWORD PTR .LC26[rip]
	jb	.L32
	lea	rdi, .LC38[rip]
	call	puts@PLT
	jmp	.L23
.L32:
	lea	rdi, .LC39[rip]
	call	puts@PLT
.L23:
	add	DWORD PTR -148[rbp], 1
.L17:
	mov	eax, DWORD PTR -152[rbp]
	cmp	DWORD PTR -148[rbp], eax
	jl	.L24
	lea	rdi, .LC29[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC24:
	.long	0
	.long	1074266112
	.align 8
.LC25:
	.long	0
	.long	1074790400
	.align 8
.LC26:
	.long	0
	.long	1075576832
	.align 8
.LC32:
	.long	0
	.long	1075314688
	.align 8
.LC33:
	.long	0
	.long	1076101120
	.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	"736984.c"
	.text
	.align	2
	.global	RemoveBarraN
	.syntax unified
	.arm
	.fpu softvfp
	.type	RemoveBarraN, %function
RemoveBarraN:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L3
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	RemoveBarraN, .-RemoveBarraN
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\011------------------------- SEJA BEM VINDO! -----"
	.ascii	"--------------------\000"
	.align	2
.LC1:
	.ascii	"\011Esse programa lhe auxiliara no controle das not"
	.ascii	"as da sua disciplina\000"
	.align	2
.LC2:
	.ascii	"\011-----------------------------------------------"
	.ascii	"--------------------\000"
	.align	2
.LC3:
	.ascii	"\012\012Vamos comecar?\000"
	.align	2
.LC4:
	.ascii	"\012\011--------------------- CADASTRO DA DISCIPLIN"
	.ascii	"A ---------------------\000"
	.align	2
.LC5:
	.ascii	"\012Em primeiro lugar, digite o nome da disciplina "
	.ascii	"(max %d caracteres)\012\000"
	.align	2
.LC6:
	.ascii	"\011NOME DA DISCIPLINA: \000"
	.align	2
.LC7:
	.ascii	"\012Agora, digite o numero de alunos na disciplina "
	.ascii	"de %s (max %d alunos)\012\000"
	.align	2
.LC8:
	.ascii	"\011NUMERO DE ALUNOS: \000"
	.align	2
.LC9:
	.ascii	"%d%*c\000"
	.align	2
.LC10:
	.ascii	"\011==============================================="
	.ascii	"===================\000"
	.align	2
.LC11:
	.ascii	"\012\011------------------------ CADASTRO DISCENTE "
	.ascii	"------------------------\000"
	.align	2
.LC12:
	.ascii	"\012Dando continuidade, vamos cadastrar os %d disce"
	.ascii	"ntes...\012\000"
	.align	2
.LC13:
	.ascii	"\012Digite a matricula e o nome do #%d discente\012"
	.ascii	"\000"
	.align	2
.LC14:
	.ascii	"\011MATRICULA: \000"
	.align	2
.LC15:
	.ascii	"\011NOME (max %d caracteres): \000"
	.align	2
.LC16:
	.ascii	"\011==============================================="
	.ascii	"====================\000"
	.align	2
.LC17:
	.ascii	"\012\011------------------------- CADASTRO NOTAS --"
	.ascii	"-----------------------\000"
	.align	2
.LC18:
	.ascii	"\012Agora, vamos cadastrar as 3 notas dos %d discen"
	.ascii	"tes...\012\000"
	.align	2
.LC19:
	.ascii	"\012Cadastro de notas do discente %s (matricula: %d"
	.ascii	"):\012\000"
	.align	2
.LC20:
	.ascii	"\011Digite a #1 NOTA: \000"
	.align	2
.LC21:
	.ascii	"%lf%*c\000"
	.align	2
.LC22:
	.ascii	"\011Digite a #2 NOTA: \000"
	.align	2
.LC23:
	.ascii	"\011Digite a #3 NOTA: \000"
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.global	__aeabi_dcmpge
	.global	__aeabi_dcmplt
	.align	2
.LC24:
	.ascii	"\012Qual a NOTA DE RECUPERACAO do discente %s (MEDI"
	.ascii	"A ATUAL = %.1lf): \000"
	.align	2
.LC25:
	.ascii	"%lf\000"
	.align	2
.LC26:
	.ascii	"\012\011==========================================="
	.ascii	"==============================================\000"
	.align	2
.LC27:
	.ascii	"\011DISCIPLINA: %s\000"
	.align	2
.LC28:
	.ascii	"\011MATRICULA\011NOME\011\011NOTA1\011NOTA2\011NOTA"
	.ascii	"3\011RECUPERACAO\011MEDIA\011SITUACAO\000"
	.global	__aeabi_dmul
	.align	2
.LC29:
	.ascii	"\0116%d\000"
	.align	2
.LC30:
	.ascii	"\011\011%s\000"
	.align	2
.LC31:
	.ascii	"\011\011%03.1lf\000"
	.align	2
.LC32:
	.ascii	"\011%03.1lf\000"
	.align	2
.LC33:
	.ascii	"\011APROVADO\000"
	.align	2
.LC34:
	.ascii	"\011REPROVADO\000"
	.align	2
.LC35:
	.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	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #92
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	ldr	r0, .L30+4
	bl	puts
	ldr	r0, .L30+8
	bl	puts
	ldr	r0, .L30+12
	bl	printf
	ldr	r0, .L30+16
	bl	puts
	ldr	r0, .L30+20
	bl	puts
	mov	r1, #50
	ldr	r0, .L30+24
	bl	printf
	ldr	r0, .L30+28
	bl	printf
	ldr	r3, .L30+32
	ldr	r2, [r3]
	sub	r3, fp, #76
	mov	r1, #51
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #76
	mov	r0, r3
	bl	RemoveBarraN
	sub	r3, fp, #76
	mov	r2, #30
	mov	r1, r3
	ldr	r0, .L30+36
	bl	printf
	ldr	r0, .L30+40
	bl	printf
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L30+44
	bl	__isoc99_scanf
	ldr	r0, .L30+48
	bl	puts
	ldr	ip, [fp, #-108]
	sub	r3, ip, #1
	str	r3, [fp, #-100]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #7
	orr	r1, r1, r2, lsr #25
	lsl	r0, r2, #7
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #7
	orr	r1, r1, r2, lsr #25
	lsl	r0, r2, #7
	mov	r2, r0
	mov	r3, r1
	mov	r2, ip
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-96]
	ldr	r0, .L30+52
	bl	puts
	ldr	r3, [fp, #-108]
	mov	r1, r3
	ldr	r0, .L30+56
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L5
.L6:
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L30+60
	bl	printf
	ldr	r0, .L30+64
	bl	printf
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L30+44
	bl	__isoc99_scanf
	mov	r1, #40
	ldr	r0, .L30+68
	bl	printf
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	add	r3, r3, #4
	ldr	r2, .L30+32
	ldr	r2, [r2]
	mov	r1, #41
	mov	r0, r3
	bl	fgets
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r0, r3
	bl	RemoveBarraN
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L5:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	blt	.L6
	ldr	r0, .L30+72
	bl	puts
	ldr	r0, .L30+76
	bl	puts
	ldr	r3, [fp, #-108]
	mov	r1, r3
	ldr	r0, .L30+80
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L7
.L8:
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	add	r0, r3, #4
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, r0
	ldr	r0, .L30+84
	bl	printf
	ldr	r0, .L30+88
	bl	printf
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #48
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L30+92
	bl	__isoc99_scanf
	ldr	r0, .L30+96
	bl	printf
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #56
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L30+92
	bl	__isoc99_scanf
	ldr	r0, .L30+100
	bl	printf
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #64
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L30+92
	bl	__isoc99_scanf
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L7:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	blt	.L8
	ldr	r0, .L30+48
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L9
.L13:
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #48
	ldmia	r3, {r0-r1}
	ldr	ip, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, ip, r3
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #64
	ldmia	r3, {r2-r3}
	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, .L30+104
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	ldr	r3, .L30+108
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	mov	r2, #0
	ldr	r3, .L30+112
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	add	r1, r3, #4
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r0, .L30+116
	bl	printf
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #72
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L30+120
	bl	__isoc99_scanf
.L10:
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L9:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	blt	.L13
	ldr	r0, .L30+124
	bl	puts
	sub	r3, fp, #76
	mov	r1, r3
	ldr	r0, .L30+128
	bl	printf
	ldr	r0, .L30+124
	bl	puts
	ldr	r0, .L30+132
	bl	printf
	ldr	r0, .L30+124
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L14
.L21:
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #48
	ldmia	r3, {r0-r1}
	ldr	ip, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, ip, r3
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #64
	ldmia	r3, {r2-r3}
	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, .L30+104
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, #0
	ldr	r3, .L30+108
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	mov	r2, #0
	ldr	r3, .L30+112
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	mov	r2, #0
	ldr	r3, .L30+136
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #72
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L30+108
	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
	mov	r2, #0
	ldr	r3, .L30+140
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
.L15:
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L30+144
	bl	printf
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L30+148
	bl	printf
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	ldr	r0, .L30+152
	bl	printf
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	ldr	r0, .L30+156
	bl	printf
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #64
	ldmia	r3, {r2-r3}
	ldr	r0, .L30+156
	bl	printf
	ldr	r1, [fp, #-96]
	ldr	r2, [fp, #-104]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #72
	ldmia	r3, {r2-r3}
	ldr	r0, .L30+156
	bl	printf
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r0, .L30+152
	bl	printf
	mov	r2, #0
	ldr	r3, .L30+112
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r0, .L30+160
	bl	puts
	b	.L20
.L29:
	ldr	r0, .L30+164
	bl	puts
.L20:
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L14:
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	blt	.L21
	ldr	r0, .L30+124
	bl	puts
	mov	r3, #0
	mov	sp, r6
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC35
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	stdin
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	1074266112
	.word	1074790400
	.word	1075576832
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	1075314688
	.word	1076101120
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
