	.file	"170453798.c"
	.intel_syntax noprefix
	.text
	.globl	funcaoOrganiza
	.type	funcaoOrganiza, @function
funcaoOrganiza:
.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	DWORD PTR -20[rbp], edi
	mov	eax, esi
	mov	BYTE PTR -24[rbp], al
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	movsx	eax, BYTE PTR -24[rbp]
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L3
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	funcaoOrganiza, .-funcaoOrganiza
	.globl	funcaoTitulo
	.type	funcaoTitulo, @function
funcaoTitulo:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -92[rbp], 0
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR -88[rbp], eax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], 45
	add	DWORD PTR -100[rbp], 1
.L5:
	cmp	DWORD PTR -100[rbp], 68
	jle	.L6
	mov	BYTE PTR -11[rbp], 0
	mov	eax, 70
	sub	eax, DWORD PTR -88[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -96[rbp], eax
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L12
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], dl
	add	DWORD PTR -92[rbp], 1
	add	DWORD PTR -96[rbp], 1
.L7:
	mov	edx, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -88[rbp]
	add	eax, edx
	cmp	DWORD PTR -96[rbp], eax
	jl	.L10
	jmp	.L9
.L12:
	nop
.L9:
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	funcaoTitulo, .-funcaoTitulo
	.globl	free_lista
	.type	free_lista, @function
free_lista:
.LFB8:
	.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
	cmp	QWORD PTR -8[rbp], 0
	je	.L15
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	rdi, rax
	call	free_lista
.L15:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	free_lista, .-free_lista
	.globl	validar_matricula
	.type	validar_matricula, @function
validar_matricula:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L17
.L20:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L18
	mov	eax, 1
	jmp	.L16
.L18:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR -8[rbp], rax
.L17:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L20
.L16:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	validar_matricula, .-validar_matricula
	.section	.rodata
.LC0:
	.string	"Nome: "
.LC1:
	.string	"Matricula: "
.LC2:
	.string	"%d"
.LC3:
	.string	"Faltas: "
.LC4:
	.string	"Primeira nota: "
.LC5:
	.string	"%f"
.LC8:
	.string	"Segunda nota: "
.LC9:
	.string	"Terceira nota: "
.LC11:
	.string	"Media: %.1f\n"
	.text
	.globl	criaNovo
	.type	criaNovo, @function
criaNovo:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 136
	.cfi_offset 3, -24
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	add	rax, 4
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
.L23:
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -144[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	validar_matricula
	mov	DWORD PTR -116[rbp], eax
	cmp	DWORD PTR -116[rbp], 1
	je	.L23
.L24:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	add	rax, 72
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	js	.L24
.L25:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	add	rax, 56
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	movss	xmm1, DWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	ja	.L25
	movss	xmm0, DWORD PTR -56[rbp]
	comiss	xmm0, DWORD PTR .LC7[rip]
	ja	.L25
.L26:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	add	rax, 60
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	movss	xmm1, DWORD PTR -52[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	ja	.L26
	movss	xmm0, DWORD PTR -52[rbp]
	comiss	xmm0, DWORD PTR .LC7[rip]
	ja	.L26
.L27:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -112[rbp]
	add	rax, 64
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	movss	xmm1, DWORD PTR -48[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	ja	.L27
	movss	xmm0, DWORD PTR -48[rbp]
	comiss	xmm0, DWORD PTR .LC7[rip]
	ja	.L27
	movss	xmm1, DWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR -52[rbp]
	addss	xmm1, xmm0
	movss	xmm0, DWORD PTR -48[rbp]
	addss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC10[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -44[rbp], xmm0
	movss	xmm0, DWORD PTR -44[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	rax, QWORD PTR -136[rbp]
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	edx, DWORD PTR -40[rbp]
	mov	DWORD PTR 72[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	mov	rax, QWORD PTR -136[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	criaNovo, .-criaNovo
	.globl	cria_lista
	.type	cria_lista, @function
cria_lista:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	cria_lista, .-cria_lista
	.globl	lista_vazia
	.type	lista_vazia, @function
lista_vazia:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	sete	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	lista_vazia, .-lista_vazia
	.globl	remover_lista
	.type	remover_lista, @function
remover_lista:
.LFB13:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	lista_vazia
	test	eax, eax
	jne	.L35
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jne	.L36
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L35
.L36:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	remover_lista
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 80[rdx], rax
.L35:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	remover_lista, .-remover_lista
	.section	.rodata
.LC12:
	.string	"ERRO!!"
	.text
	.globl	insere_inicio
	.type	insere_inicio, @function
insere_inicio:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	edi, 88
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L39
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -40[rbp]
	jmp	.L40
.L39:
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rbp]
	mov	rbx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 32[rbp]
	mov	rbx, QWORD PTR 40[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 48[rbp]
	mov	rbx, QWORD PTR 56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 64[rbp]
	mov	rbx, QWORD PTR 72[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rdx, QWORD PTR 80[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	edx, DWORD PTR 88[rbp]
	mov	DWORD PTR 72[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 80[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
.L40:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	insere_inicio, .-insere_inicio
	.globl	insere_fim
	.type	insere_fim, @function
insere_fim:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	edi, 88
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L42
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	jmp	.L43
.L42:
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR 16[rbp]
	mov	rbx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 32[rbp]
	mov	rbx, QWORD PTR 40[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 48[rbp]
	mov	rbx, QWORD PTR 56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 64[rbp]
	mov	rbx, QWORD PTR 72[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rdx, QWORD PTR 80[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	edx, DWORD PTR 88[rbp]
	mov	DWORD PTR 72[rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	jmp	.L44
.L45:
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR -48[rbp], rax
.L44:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L45
	cmp	QWORD PTR -40[rbp], 0
	je	.L46
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 80[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR 80[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L43
.L46:
	mov	rdx, QWORD PTR -56[rbp]
	sub	rsp, 80
	mov	rax, rsp
	mov	rcx, QWORD PTR 16[rbp]
	mov	rbx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 32[rbp]
	mov	rbx, QWORD PTR 40[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 48[rbp]
	mov	rbx, QWORD PTR 56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 64[rbp]
	mov	rbx, QWORD PTR 72[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 80[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	ecx, DWORD PTR 88[rbp]
	mov	DWORD PTR 72[rax], ecx
	mov	rdi, rdx
	call	insere_inicio
	add	rsp, 80
.L43:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	insere_fim, .-insere_fim
	.globl	insere_ordenado
	.type	insere_ordenado, @function
insere_ordenado:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L49
.L51:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR -32[rbp], rax
.L49:
	cmp	QWORD PTR -32[rbp], 0
	je	.L50
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR 16[rbp]
	cmp	edx, eax
	jl	.L51
.L50:
	mov	edi, 88
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L52
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	jmp	.L53
.L52:
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rbp]
	mov	rbx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 32[rbp]
	mov	rbx, QWORD PTR 40[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 48[rbp]
	mov	rbx, QWORD PTR 56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 64[rbp]
	mov	rbx, QWORD PTR 72[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rdx, QWORD PTR 80[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	edx, DWORD PTR 88[rbp]
	mov	DWORD PTR 72[rax], edx
	cmp	QWORD PTR -40[rbp], 0
	jne	.L54
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 80[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L55
.L54:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 80[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 80[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 80[rax], rdx
.L55:
	mov	rax, QWORD PTR -56[rbp]
.L53:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	insere_ordenado, .-insere_ordenado
	.globl	insere_indice
	.type	insere_indice, @function
insere_indice:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	DWORD PTR -72[rbp], ecx
	mov	edi, 88
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L57
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	jmp	.L58
.L57:
	cmp	DWORD PTR -68[rbp], 1
	jne	.L59
	mov	rdx, QWORD PTR -56[rbp]
	sub	rsp, 80
	mov	rax, rsp
	mov	rcx, QWORD PTR 16[rbp]
	mov	rbx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 32[rbp]
	mov	rbx, QWORD PTR 40[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 48[rbp]
	mov	rbx, QWORD PTR 56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 64[rbp]
	mov	rbx, QWORD PTR 72[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 80[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	ecx, DWORD PTR 88[rbp]
	mov	DWORD PTR 72[rax], ecx
	mov	rdi, rdx
	call	insere_inicio
	add	rsp, 80
	jmp	.L58
.L59:
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	cmp	DWORD PTR -72[rbp], eax
	je	.L60
	add	DWORD PTR -72[rbp], 1
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR -64[rbp], rax
	mov	r8d, DWORD PTR -72[rbp]
	mov	edx, DWORD PTR -68[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rdi, QWORD PTR -56[rbp]
	sub	rsp, 80
	mov	rax, rsp
	mov	rcx, QWORD PTR 16[rbp]
	mov	rbx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 32[rbp]
	mov	rbx, QWORD PTR 40[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 48[rbp]
	mov	rbx, QWORD PTR 56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 64[rbp]
	mov	rbx, QWORD PTR 72[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 80[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	ecx, DWORD PTR 88[rbp]
	mov	DWORD PTR 72[rax], ecx
	mov	ecx, r8d
	call	insere_indice
	add	rsp, 80
	jmp	.L61
.L60:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR 80[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR 16[rbp]
	mov	rbx, QWORD PTR 24[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 32[rbp]
	mov	rbx, QWORD PTR 40[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 48[rbp]
	mov	rbx, QWORD PTR 56[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 64[rbp]
	mov	rbx, QWORD PTR 72[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rdx, QWORD PTR 80[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	edx, DWORD PTR 88[rbp]
	mov	DWORD PTR 72[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 80[rax], rdx
.L61:
	mov	rax, QWORD PTR -56[rbp]
.L58:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	insere_indice, .-insere_indice
	.globl	tamanho_lista
	.type	tamanho_lista, @function
tamanho_lista:
.LFB18:
	.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
	cmp	QWORD PTR -8[rbp], 0
	jne	.L63
	mov	eax, 0
	jmp	.L64
.L63:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	rdi, rax
	call	tamanho_lista
	add	eax, 1
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	tamanho_lista, .-tamanho_lista
	.globl	indice_aluno
	.type	indice_aluno, @function
indice_aluno:
.LFB19:
	.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	DWORD PTR -12[rbp], esi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L66
	mov	eax, 0
	jmp	.L67
.L66:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L68
	mov	eax, 1
	jmp	.L67
.L68:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	indice_aluno
	add	eax, 1
.L67:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	indice_aluno, .-indice_aluno
	.section	.rodata
.LC13:
	.string	"Nome: %s\n"
.LC14:
	.string	"Matricula: %d\n"
.LC15:
	.string	"Faltas: %d\n"
.LC16:
	.string	"Primeira nota: %.1f\n"
.LC17:
	.string	"Segunda nota: %.1f\n"
.LC18:
	.string	"Terceira nota: %.1f\n"
	.text
	.globl	imprime
	.type	imprime, @function
imprime:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rax, 20[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR 16[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR 16[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	movss	xmm0, DWORD PTR 72[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR 76[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC17[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR 80[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	movss	xmm0, DWORD PTR 84[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	imprime, .-imprime
	.globl	imprime_lista
	.type	imprime_lista, @function
imprime_lista:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	je	.L73
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 80
	mov	rdx, rsp
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rdx], rcx
	mov	QWORD PTR 24[rdx], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR 32[rdx], rcx
	mov	QWORD PTR 40[rdx], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR 48[rdx], rcx
	mov	QWORD PTR 56[rdx], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	QWORD PTR 64[rdx], rcx
	mov	eax, DWORD PTR 72[rax]
	mov	DWORD PTR 72[rdx], eax
	call	imprime
	add	rsp, 80
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	rdi, rax
	call	imprime_lista
	jmp	.L70
.L73:
	nop
.L70:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	imprime_lista, .-imprime_lista
	.globl	buscar_dados
	.type	buscar_dados, @function
buscar_dados:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L75
	mov	eax, 0
	jmp	.L76
.L75:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L77
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 80
	mov	rdx, rsp
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rdx], rcx
	mov	QWORD PTR 24[rdx], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR 32[rdx], rcx
	mov	QWORD PTR 40[rdx], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR 48[rdx], rcx
	mov	QWORD PTR 56[rdx], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	QWORD PTR 64[rdx], rcx
	mov	eax, DWORD PTR 72[rax]
	mov	DWORD PTR 72[rdx], eax
	call	imprime
	add	rsp, 80
.L77:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 80[rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	buscar_dados
.L76:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	buscar_dados, .-buscar_dados
	.globl	bubbleSort
	.type	bubbleSort, @function
bubbleSort:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 136
	.cfi_offset 3, -24
	mov	QWORD PTR -136[rbp], rdi
	mov	DWORD PTR -140[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	mov	DWORD PTR -116[rbp], eax
	jmp	.L79
.L83:
	mov	DWORD PTR -120[rbp], 0
	jmp	.L80
.L82:
	mov	eax, DWORD PTR -120[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	jle	.L81
	mov	eax, DWORD PTR -120[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -96[rbp], rcx
	mov	QWORD PTR -88[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -72[rbp], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -56[rbp], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	rbx, QWORD PTR 72[rax]
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -40[rbp], rbx
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -120[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	rbx, QWORD PTR 24[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 32[rdx]
	mov	rbx, QWORD PTR 40[rdx]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 48[rdx]
	mov	rbx, QWORD PTR 56[rdx]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 64[rdx]
	mov	rbx, QWORD PTR 72[rdx]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rdx, QWORD PTR 80[rdx]
	mov	QWORD PTR 80[rax], rdx
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR 80[rax], rdx
.L81:
	add	DWORD PTR -120[rbp], 1
.L80:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L82
	sub	DWORD PTR -116[rbp], 1
.L79:
	cmp	DWORD PTR -116[rbp], 0
	jg	.L83
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L84
	call	__stack_chk_fail@PLT
.L84:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	bubbleSort, .-bubbleSort
	.globl	ordenar_lista
	.type	ordenar_lista, @function
ordenar_lista:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	DWORD PTR -48[rbp], r8d
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	bubbleSort
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L86
.L87:
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	rbx, QWORD PTR 24[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 32[rdx]
	mov	rbx, QWORD PTR 40[rdx]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 48[rdx]
	mov	rbx, QWORD PTR 56[rdx]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 64[rdx]
	mov	QWORD PTR 64[rax], rcx
	mov	edx, DWORD PTR 72[rdx]
	mov	DWORD PTR 72[rax], edx
	add	DWORD PTR -48[rbp], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR -40[rbp], rax
.L86:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L87
	cmp	QWORD PTR -40[rbp], 0
	je	.L88
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	rbx, QWORD PTR 24[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 32[rdx]
	mov	rbx, QWORD PTR 40[rdx]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 48[rdx]
	mov	rbx, QWORD PTR 56[rdx]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 64[rdx]
	mov	QWORD PTR 64[rax], rcx
	mov	edx, DWORD PTR 72[rdx]
	mov	DWORD PTR 72[rax], edx
	mov	eax, DWORD PTR -48[rbp]
	lea	edi, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 80[rax]
	mov	ecx, DWORD PTR -44[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	ordenar_lista
	jmp	.L85
.L88:
	mov	rax, QWORD PTR -32[rbp]
.L85:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	ordenar_lista, .-ordenar_lista
	.section	.rodata
.LC19:
	.string	"a+b"
.LC20:
	.string	"arquivo.txt"
	.text
	.globl	criar_arquivo
	.type	criar_arquivo, @function
criar_arquivo:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 136
	.cfi_offset 3, -24
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -144[rbp], 0
	je	.L94
	mov	rax, QWORD PTR -144[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -96[rbp], rcx
	mov	QWORD PTR -88[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -72[rbp], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -56[rbp], rbx
	mov	rdx, QWORD PTR 64[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	eax, DWORD PTR 72[rax]
	mov	DWORD PTR -40[rbp], eax
	lea	rsi, .LC19[rip]
	lea	rdi, .LC20[rip]
	call	fopen@PLT
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -112[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 76
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR 80[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	criar_arquivo
.L94:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L93
	call	__stack_chk_fail@PLT
.L93:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	criar_arquivo, .-criar_arquivo
	.section	.rodata
.LC21:
	.string	"MENU"
	.align 8
.LC22:
	.string	"1 - Inserir aluno no inicio da lista"
	.align 8
.LC23:
	.string	"2 - Inserir aluno no final da lista"
	.align 8
.LC24:
	.string	"3 - Inserir aluno em uma posicao especifica da lista"
	.align 8
.LC25:
	.string	"4 - Inserir aluno de forma ordenada"
	.align 8
.LC26:
	.string	"5 - Remover dados de um aluno de acordo com sua matricula"
	.align 8
.LC27:
	.string	"6 - Consultar dados de um aluno de acordo com a matricula"
.LC28:
	.string	"7 - Listar todos os alunos"
	.align 8
.LC29:
	.string	"8 - Apresentar o numero de alunos cadastrados"
	.align 8
.LC30:
	.string	"9 - Indicar o indice de acordo com seu numero de matricula"
.LC31:
	.string	"10 - Re-inicializar a lista"
	.align 8
.LC32:
	.string	"11 - Ordenar a lista de acordo com a ordem de matricula dos alunos cadastrados"
	.align 8
.LC33:
	.string	"12 - Gerar um arquivo com os dados dos alunos"
	.align 8
.LC34:
	.string	"13 - Carregar a lista a partir de um arquivo existente"
.LC35:
	.string	"14 - Encerrar programa"
.LC36:
	.string	"CLS"
	.align 8
.LC37:
	.string	"INSERIR ALUNO NO INICIO DA LISTA"
.LC38:
	.string	"INSERIR ALUNO NO FIM DA LISTA"
	.align 8
.LC39:
	.string	"INSERIR ALUNO EM UM POSICAO ESPECIFICA"
.LC40:
	.string	"Total de alunos: %d\n"
.LC41:
	.string	"Indice: "
	.align 8
.LC42:
	.string	"INSERIR ALUNO DE FORMA ORDENADA"
.LC43:
	.string	"REMOVER ALUNO"
.LC44:
	.string	"A lista esta vazia!!"
.LC45:
	.string	"BUSCA POR MATRICULA"
.LC46:
	.string	"LISTA DE ALUNOS"
.LC47:
	.string	"ALUNOS CADASTRADOS"
.LC48:
	.string	"Total: %d\n"
.LC49:
	.string	"INDICE DO ALUNO"
.LC50:
	.string	"Indice do aluno: %d\n"
	.align 8
.LC51:
	.string	"Lista de alunos re-inicializada!!"
.LC52:
	.string	"ORDENAR LISTA POR MATRICULA"
.LC53:
	.string	"Lista ordenada!!"
.LC54:
	.string	"GERAR ARQUIVO"
.LC55:
	.string	"CARREGAR ARQUIVO"
	.align 8
.LC56:
	.string	"Voce digitou a opcao que finaliza o programa."
.LC57:
	.string	"Opcao invalida!"
	.text
	.globl	menu
	.type	menu, @function
menu:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 264
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	call	cria_lista
	mov	QWORD PTR -160[rbp], rax
	jmp	.L96
.L120:
	lea	rdi, .LC21[rip]
	call	funcaoTitulo
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rdi, .LC27[rip]
	call	puts@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC29[rip]
	call	puts@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	lea	rdi, .LC31[rip]
	call	puts@PLT
	lea	rdi, .LC32[rip]
	call	puts@PLT
	lea	rdi, .LC33[rip]
	call	puts@PLT
	lea	rdi, .LC34[rip]
	call	puts@PLT
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC36[rip]
	call	system@PLT
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, 14
	ja	.L97
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L99[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L99[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L99:
	.long	.L97-.L99
	.long	.L112-.L99
	.long	.L111-.L99
	.long	.L110-.L99
	.long	.L109-.L99
	.long	.L108-.L99
	.long	.L107-.L99
	.long	.L106-.L99
	.long	.L105-.L99
	.long	.L104-.L99
	.long	.L103-.L99
	.long	.L102-.L99
	.long	.L101-.L99
	.long	.L100-.L99
	.long	.L98-.L99
	.text
.L112:
	lea	rdi, .LC37[rip]
	call	funcaoTitulo
	lea	rax, -112[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	criaNovo
	mov	rdx, QWORD PTR -160[rbp]
	sub	rsp, 80
	mov	rax, rsp
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	ecx, DWORD PTR -40[rbp]
	mov	DWORD PTR 72[rax], ecx
	mov	rdi, rdx
	call	insere_inicio
	add	rsp, 80
	mov	QWORD PTR -160[rbp], rax
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L111:
	lea	rdi, .LC38[rip]
	call	funcaoTitulo
	lea	rax, -272[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	criaNovo
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR -264[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR -256[rbp]
	mov	rdx, QWORD PTR -248[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR -240[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -224[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -208[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -200[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	rdx, QWORD PTR -160[rbp]
	sub	rsp, 80
	mov	rax, rsp
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	ecx, DWORD PTR -40[rbp]
	mov	DWORD PTR 72[rax], ecx
	mov	rdi, rdx
	call	insere_fim
	add	rsp, 80
	mov	QWORD PTR -160[rbp], rax
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L110:
	lea	rdi, .LC39[rip]
	call	funcaoTitulo
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	tamanho_lista
	mov	DWORD PTR -164[rbp], eax
	mov	eax, DWORD PTR -164[rbp]
	mov	esi, eax
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
.L114:
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -180[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, DWORD PTR -180[rbp]
	test	eax, eax
	jle	.L114
	mov	eax, DWORD PTR -164[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -180[rbp]
	cmp	edx, eax
	jl	.L114
	lea	rax, -272[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	criaNovo
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR -264[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR -256[rbp]
	mov	rdx, QWORD PTR -248[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR -240[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -224[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -208[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -200[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -120[rbp], rax
	mov	edx, DWORD PTR -180[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	mov	rdi, QWORD PTR -160[rbp]
	sub	rsp, 80
	mov	rax, rsp
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	ecx, DWORD PTR -40[rbp]
	mov	DWORD PTR 72[rax], ecx
	mov	ecx, 1
	call	insere_indice
	add	rsp, 80
	mov	QWORD PTR -160[rbp], rax
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L109:
	lea	rdi, .LC42[rip]
	call	funcaoTitulo
	lea	rax, -272[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	criaNovo
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR -264[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR -256[rbp]
	mov	rdx, QWORD PTR -248[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR -240[rbp]
	mov	rdx, QWORD PTR -232[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -224[rbp]
	mov	rdx, QWORD PTR -216[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -208[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -200[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	rdx, QWORD PTR -160[rbp]
	sub	rsp, 80
	mov	rax, rsp
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	ecx, DWORD PTR -40[rbp]
	mov	DWORD PTR 72[rax], ecx
	mov	rdi, rdx
	call	insere_ordenado
	add	rsp, 80
	mov	QWORD PTR -160[rbp], rax
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L108:
	lea	rdi, .LC43[rip]
	call	funcaoTitulo
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	lista_vazia
	test	eax, eax
	jne	.L115
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -172[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	edx, DWORD PTR -172[rbp]
	mov	rax, QWORD PTR -160[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	remover_lista
	mov	QWORD PTR -160[rbp], rax
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	jmp	.L116
.L115:
	lea	rdi, .LC44[rip]
	call	puts@PLT
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
.L116:
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L107:
	lea	rdi, .LC45[rip]
	call	funcaoTitulo
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -172[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, DWORD PTR -172[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	buscar_dados
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L106:
	lea	rdi, .LC46[rip]
	call	funcaoTitulo
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	imprime_lista
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L105:
	lea	rdi, .LC47[rip]
	call	funcaoTitulo
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	tamanho_lista
	mov	esi, eax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L104:
	lea	rdi, .LC49[rip]
	call	funcaoTitulo
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -172[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	edx, DWORD PTR -172[rbp]
	mov	rax, QWORD PTR -160[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	indice_aluno
	mov	esi, eax
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L103:
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	lista_vazia
	test	eax, eax
	jne	.L117
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	free_lista
	call	cria_lista
	mov	QWORD PTR -160[rbp], rax
.L117:
	lea	rdi, .LC51[rip]
	call	puts@PLT
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L102:
	lea	rdi, .LC52[rip]
	call	funcaoTitulo
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	tamanho_lista
	mov	DWORD PTR -164[rbp], eax
	mov	eax, DWORD PTR -164[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -152[rbp], rax
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	DWORD PTR -168[rbp], 0
	jmp	.L118
.L119:
	mov	eax, DWORD PTR -168[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rdx], rcx
	mov	QWORD PTR 24[rdx], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR 32[rdx], rcx
	mov	QWORD PTR 40[rdx], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR 48[rdx], rcx
	mov	QWORD PTR 56[rdx], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	rbx, QWORD PTR 72[rax]
	mov	QWORD PTR 64[rdx], rcx
	mov	QWORD PTR 72[rdx], rbx
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR 80[rdx], rax
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR -152[rbp], rax
	add	DWORD PTR -168[rbp], 1
.L118:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, DWORD PTR -164[rbp]
	jl	.L119
	mov	ecx, DWORD PTR -164[rbp]
	mov	rdx, QWORD PTR -128[rbp]
	mov	rsi, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	r8d, 0
	mov	rdi, rax
	call	ordenar_lista
	mov	QWORD PTR -160[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC53[rip]
	call	puts@PLT
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L101:
	lea	rdi, .LC54[rip]
	call	funcaoTitulo
	mov	rax, QWORD PTR -160[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L100:
	lea	rdi, .LC55[rip]
	call	funcaoTitulo
	mov	esi, 45
	mov	edi, 70
	call	funcaoOrganiza
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L98:
	lea	rdi, .LC56[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	getch@PLT
	jmp	.L113
.L97:
	lea	rdi, .LC57[rip]
	call	puts@PLT
	mov	eax, 0
	call	getch@PLT
.L113:
	lea	rdi, .LC36[rip]
	call	system@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
.L96:
	mov	eax, DWORD PTR -176[rbp]
	cmp	eax, 14
	jne	.L120
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L121
	call	__stack_chk_fail@PLT
.L121:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	menu, .-menu
	.globl	main
	.type	main, @function
main:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	menu
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC7:
	.long	1092616192
	.align 4
.LC10:
	.long	1077936128
	.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	"170453798.c"
	.text
	.align	2
	.global	funcaoOrganiza
	.syntax unified
	.arm
	.fpu softvfp
	.type	funcaoOrganiza, %function
funcaoOrganiza:
	@ 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]
	mov	r3, r1
	strb	r3, [fp, #-17]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L3
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	funcaoOrganiza, .-funcaoOrganiza
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	funcaoTitulo
	.syntax unified
	.arm
	.fpu softvfp
	.type	funcaoTitulo, %function
funcaoTitulo:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-92]
	ldr	r0, [fp, #-104]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L5
.L6:
	sub	r2, fp, #80
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L5:
	ldr	r3, [fp, #-100]
	cmp	r3, #68
	ble	.L6
	mov	r3, #0
	strb	r3, [fp, #-11]
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #70
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-96]
	b	.L7
.L10:
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #80
	ldr	r3, [fp, #-96]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L7:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	blt	.L10
	b	.L9
.L12:
	nop
.L9:
	sub	r3, fp, #80
	mov	r0, r3
	bl	puts
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	funcaoTitulo, .-funcaoTitulo
	.align	2
	.global	free_lista
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_lista, %function
free_lista:
	@ 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	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L17
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #76]
	mov	r0, r3
	bl	free_lista
.L17:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	free_lista, .-free_lista
	.align	2
	.global	validar_matricula
	.syntax unified
	.arm
	.fpu softvfp
	.type	validar_matricula, %function
validar_matricula:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	b	.L19
.L22:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L20
	mov	r3, #1
	b	.L18
.L20:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #76]
	str	r3, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L22
.L18:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	validar_matricula, .-validar_matricula
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Nome: \000"
	.align	2
.LC2:
	.ascii	"Matricula: \000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Faltas: \000"
	.align	2
.LC5:
	.ascii	"Primeira nota: \000"
	.align	2
.LC6:
	.ascii	"%f\000"
	.global	__aeabi_fcmplt
	.global	__aeabi_fcmpgt
	.align	2
.LC7:
	.ascii	"Segunda nota: \000"
	.align	2
.LC8:
	.ascii	"Terceira nota: \000"
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC9:
	.ascii	"Media: %.1f\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	criaNovo
	.syntax unified
	.arm
	.fpu softvfp
	.type	criaNovo, %function
criaNovo:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L32+4
	bl	printf
	sub	r3, fp, #84
	add	r3, r3, #4
	mov	r0, r3
	bl	gets
	ldr	r3, .L32+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L25:
	ldr	r0, .L32+12
	bl	printf
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L32+16
	bl	__isoc99_scanf
	ldr	r3, .L32+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-84]
	ldr	r1, [fp, #-100]
	mov	r0, r3
	bl	validar_matricula
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #1
	beq	.L25
.L26:
	ldr	r0, .L32+20
	bl	printf
	sub	r3, fp, #84
	add	r3, r3, #72
	mov	r1, r3
	ldr	r0, .L32+16
	bl	__isoc99_scanf
	ldr	r3, .L32+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L26
.L27:
	ldr	r0, .L32+24
	bl	printf
	sub	r3, fp, #84
	add	r3, r3, #56
	mov	r1, r3
	ldr	r0, .L32+28
	bl	__isoc99_scanf
	ldr	r3, .L32+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-28]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-28]	@ float
	ldr	r1, .L32+32
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
.L28:
	ldr	r0, .L32+36
	bl	printf
	sub	r3, fp, #84
	add	r3, r3, #60
	mov	r1, r3
	ldr	r0, .L32+28
	bl	__isoc99_scanf
	ldr	r3, .L32+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-24]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r3, [fp, #-24]	@ float
	ldr	r1, .L32+32
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
.L29:
	ldr	r0, .L32+40
	bl	printf
	sub	r3, fp, #84
	add	r3, r3, #64
	mov	r1, r3
	ldr	r0, .L32+28
	bl	__isoc99_scanf
	ldr	r3, .L32+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-20]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-20]	@ float
	ldr	r1, .L32+32
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-28]	@ float
	ldr	r2, [fp, #-24]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fadd
	mov	r3, r0
	ldr	r1, .L32+44
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-16]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L32+48
	bl	printf
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	ldr	r3, [fp, #-96]
	mov	r0, r3
	sub	r3, fp, #84
	mov	r2, #76
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	ldr	r0, [fp, #-96]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC10
	.word	.LC1
	.word	stdin
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	1092616192
	.word	.LC7
	.word	.LC8
	.word	1077936128
	.word	.LC9
	.size	criaNovo, .-criaNovo
	.align	2
	.global	cria_lista
	.syntax unified
	.arm
	.fpu softvfp
	.type	cria_lista, %function
cria_lista:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cria_lista, .-cria_lista
	.align	2
	.global	lista_vazia
	.syntax unified
	.arm
	.fpu softvfp
	.type	lista_vazia, %function
lista_vazia:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	lista_vazia, .-lista_vazia
	.align	2
	.global	remover_lista
	.syntax unified
	.arm
	.fpu softvfp
	.type	remover_lista, %function
remover_lista:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	lista_vazia
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L40
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #76]
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	free
	b	.L39
.L40:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #76]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	remover_lista
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #76]
.L39:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	remover_lista, .-remover_lista
	.section	.rodata
	.align	2
.LC11:
	.ascii	"ERRO!!\000"
	.text
	.align	2
	.global	insere_inicio
	.syntax unified
	.arm
	.fpu softvfp
	.type	insere_inicio, %function
insere_inicio:
	@ args = 80, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	mov	r0, #80
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L43
	ldr	r0, .L45
	bl	puts
	ldr	r3, [fp, #-16]
	b	.L44
.L43:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	r3, fp, #8
	mov	r2, #76
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #76]
	ldr	r3, [fp, #-8]
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L46:
	.align	2
.L45:
	.word	.LC11
	.size	insere_inicio, .-insere_inicio
	.align	2
	.global	insere_fim
	.syntax unified
	.arm
	.fpu softvfp
	.type	insere_fim, %function
insere_fim:
	@ args = 80, pretend = 16, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-24]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	mov	r0, #80
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L48
	ldr	r0, .L54
	bl	printf
	ldr	r3, [fp, #-24]
	b	.L49
.L48:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	r3, fp, #8
	mov	r2, #76
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L50
.L51:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #76]
	str	r3, [fp, #-20]
.L50:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L51
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L52
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #76]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #76]
	ldr	r3, [fp, #-8]
	b	.L49
.L52:
	mov	lr, sp
	add	ip, fp, #20
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	add	r3, fp, #8
	ldm	r3, {r1, r2, r3}
	ldr	r0, [fp, #-24]
	bl	insere_inicio
	mov	r3, r0
.L49:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L55:
	.align	2
.L54:
	.word	.LC11
	.size	insere_fim, .-insere_fim
	.align	2
	.global	insere_ordenado
	.syntax unified
	.arm
	.fpu softvfp
	.type	insere_ordenado, %function
insere_ordenado:
	@ args = 80, pretend = 16, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	b	.L57
.L59:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #76]
	str	r3, [fp, #-12]
.L57:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L59
.L58:
	mov	r0, #80
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L60
	ldr	r0, .L64
	bl	printf
	ldr	r3, [fp, #-24]
	b	.L61
.L60:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	r3, fp, #8
	mov	r2, #76
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #76]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-24]
	b	.L63
.L62:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #76]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #76]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #76]
.L63:
	ldr	r3, [fp, #-24]
.L61:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L65:
	.align	2
.L64:
	.word	.LC11
	.size	insere_ordenado, .-insere_ordenado
	.align	2
	.global	insere_indice
	.syntax unified
	.arm
	.fpu softvfp
	.type	insere_indice, %function
insere_indice:
	@ args = 84, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	add	r1, fp, #4
	stm	r1, {r2, r3}
	mov	r0, #80
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L67
	ldr	r0, .L72
	bl	printf
	ldr	r3, [fp, #-24]
	b	.L68
.L67:
	ldr	r3, [fp, #80]
	cmp	r3, #1
	bne	.L69
	mov	lr, sp
	add	ip, fp, #16
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	add	r3, fp, #4
	ldm	r3, {r1, r2, r3}
	ldr	r0, [fp, #-24]
	bl	insere_inicio
	mov	r3, r0
	b	.L68
.L69:
	ldr	r3, [fp, #80]
	sub	r3, r3, #1
	ldr	r2, [fp, #84]
	cmp	r2, r3
	beq	.L70
	ldr	r3, [fp, #84]
	add	r3, r3, #1
	str	r3, [fp, #84]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #76]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #84]
	str	r3, [sp, #72]
	ldr	r3, [fp, #80]
	str	r3, [sp, #68]
	mov	r0, sp
	add	r3, fp, #12
	mov	r2, #68
	mov	r1, r3
	bl	memcpy
	add	r3, fp, #4
	ldm	r3, {r2, r3}
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	insere_indice
	b	.L71
.L70:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #76]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #76]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	add	r3, fp, #4
	mov	r2, #76
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #76]
.L71:
	ldr	r3, [fp, #-24]
.L68:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #8
	bx	lr
.L73:
	.align	2
.L72:
	.word	.LC11
	.size	insere_indice, .-insere_indice
	.align	2
	.global	tamanho_lista
	.syntax unified
	.arm
	.fpu softvfp
	.type	tamanho_lista, %function
tamanho_lista:
	@ 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	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L75
	mov	r3, #0
	b	.L76
.L75:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #76]
	mov	r0, r3
	bl	tamanho_lista
	mov	r3, r0
	add	r3, r3, #1
.L76:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	tamanho_lista, .-tamanho_lista
	.align	2
	.global	indice_aluno
	.syntax unified
	.arm
	.fpu softvfp
	.type	indice_aluno, %function
indice_aluno:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L78
	mov	r3, #0
	b	.L79
.L78:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L80
	mov	r3, #1
	b	.L79
.L80:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #76]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	indice_aluno
	mov	r3, r0
	add	r3, r3, #1
.L79:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	indice_aluno, .-indice_aluno
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Nome: %s\012\000"
	.align	2
.LC13:
	.ascii	"Matricula: %d\012\000"
	.align	2
.LC14:
	.ascii	"Faltas: %d\012\000"
	.align	2
.LC15:
	.ascii	"Primeira nota: %.1f\012\000"
	.align	2
.LC16:
	.ascii	"Segunda nota: %.1f\012\000"
	.align	2
.LC17:
	.ascii	"Terceira nota: %.1f\012\000"
	.text
	.align	2
	.global	imprime
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprime, %function
imprime:
	@ args = 76, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	add	r3, fp, #8
	mov	r1, r3
	ldr	r0, .L82
	bl	printf
	ldr	r3, [fp, #4]
	mov	r1, r3
	ldr	r0, .L82+4
	bl	printf
	ldr	r3, [fp, #4]
	mov	r1, r3
	ldr	r0, .L82+8
	bl	printf
	ldr	r3, [fp, #60]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L82+12
	bl	printf
	ldr	r3, [fp, #64]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L82+16
	bl	printf
	ldr	r3, [fp, #68]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L82+20
	bl	printf
	ldr	r3, [fp, #72]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L82+24
	bl	printf
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L83:
	.align	2
.L82:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC9
	.size	imprime, .-imprime
	.align	2
	.global	imprime_lista
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprime_lista, %function
imprime_lista:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L87
	ldr	r4, [fp, #-16]
	mov	lr, sp
	add	ip, r4, #16
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	ldm	r4, {r0, r1, r2, r3}
	bl	imprime
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #76]
	mov	r0, r3
	bl	imprime_lista
	b	.L84
.L87:
	nop
.L84:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	imprime_lista, .-imprime_lista
	.align	2
	.global	buscar_dados
	.syntax unified
	.arm
	.fpu softvfp
	.type	buscar_dados, %function
buscar_dados:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #84
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L89
	mov	r3, #0
	b	.L90
.L89:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L91
	ldr	r4, [fp, #-16]
	mov	lr, sp
	add	ip, r4, #16
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2}
	stm	lr, {r0, r1, r2}
	ldm	r4, {r0, r1, r2, r3}
	bl	imprime
.L91:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #76]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	buscar_dados
	mov	r3, r0
.L90:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	buscar_dados, .-buscar_dados
	.section	.rodata
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bubbleSort
	.syntax unified
	.arm
	.fpu softvfp
	.type	bubbleSort, %function
bubbleSort:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L99
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-108]
	sub	r3, r3, #1
	str	r3, [fp, #-92]
	b	.L93
.L97:
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L94
.L96:
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-104]
	add	r3, r3, r2
	ldr	r1, [r3]
	ldr	r3, [fp, #-96]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-104]
	add	r3, r3, r2
	ldr	r3, [r3]
	cmp	r1, r3
	ble	.L95
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-104]
	add	r2, r3, r2
	sub	r3, fp, #88
	mov	r1, r2
	mov	r2, #80
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-96]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-104]
	add	r1, r3, r2
	ldr	r2, [fp, #-96]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-104]
	add	r3, r3, r2
	mov	r0, r3
	mov	r3, #80
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-96]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-104]
	add	r3, r3, r2
	mov	r0, r3
	sub	r3, fp, #88
	mov	r2, #80
	mov	r1, r3
	bl	memcpy
.L95:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L94:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-92]
	cmp	r2, r3
	blt	.L96
	ldr	r3, [fp, #-92]
	sub	r3, r3, #1
	str	r3, [fp, #-92]
.L93:
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bgt	.L97
	nop
	ldr	r3, .L99
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L98
	bl	__stack_chk_fail
.L98:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L100:
	.align	2
.L99:
	.word	.LC18
	.size	bubbleSort, .-bubbleSort
	.align	2
	.global	ordenar_lista
	.syntax unified
	.arm
	.fpu softvfp
	.type	ordenar_lista, %function
ordenar_lista:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	bl	bubbleSort
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	b	.L102
.L103:
	ldr	r2, [fp, #4]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #76
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	str	r3, [fp, #4]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #76]
	str	r3, [fp, #-16]
.L102:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L103
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L104
	ldr	r2, [fp, #4]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #76
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #76]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	ordenar_lista
	b	.L101
.L104:
	ldr	r3, [fp, #-12]
.L101:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ordenar_lista, .-ordenar_lista
	.section	.rodata
	.align	2
.LC19:
	.ascii	"a+b\000"
	.align	2
.LC20:
	.ascii	"arquivo.txt\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	criar_arquivo
	.syntax unified
	.arm
	.fpu softvfp
	.type	criar_arquivo, %function
criar_arquivo:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L111
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	beq	.L110
	ldr	r2, [fp, #-100]
	sub	r3, fp, #84
	mov	r1, r2
	mov	r2, #76
	mov	r0, r3
	bl	memcpy
	ldr	r1, .L111+4
	ldr	r0, .L111+8
	bl	fopen
	sub	r0, fp, #84
	ldr	r3, [fp, #-88]
	mov	r2, #1
	mov	r1, #76
	bl	fwrite
	ldr	r0, [fp, #-88]
	bl	fclose
	ldr	r3, [fp, #-100]
	ldr	r3, [r3, #76]
	mov	r1, r3
	ldr	r0, [fp, #-96]
	bl	criar_arquivo
.L110:
	nop
	ldr	r3, .L111
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L109
	bl	__stack_chk_fail
.L109:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L112:
	.align	2
.L111:
	.word	.LC21
	.word	.LC19
	.word	.LC20
	.size	criar_arquivo, .-criar_arquivo
	.section	.rodata
	.align	2
.LC22:
	.ascii	"MENU\000"
	.align	2
.LC23:
	.ascii	"1 - Inserir aluno no inicio da lista\000"
	.align	2
.LC24:
	.ascii	"2 - Inserir aluno no final da lista\000"
	.align	2
.LC25:
	.ascii	"3 - Inserir aluno em uma posicao especifica da list"
	.ascii	"a\000"
	.align	2
.LC26:
	.ascii	"4 - Inserir aluno de forma ordenada\000"
	.align	2
.LC27:
	.ascii	"5 - Remover dados de um aluno de acordo com sua mat"
	.ascii	"ricula\000"
	.align	2
.LC28:
	.ascii	"6 - Consultar dados de um aluno de acordo com a mat"
	.ascii	"ricula\000"
	.align	2
.LC29:
	.ascii	"7 - Listar todos os alunos\000"
	.align	2
.LC30:
	.ascii	"8 - Apresentar o numero de alunos cadastrados\000"
	.align	2
.LC31:
	.ascii	"9 - Indicar o indice de acordo com seu numero de ma"
	.ascii	"tricula\000"
	.align	2
.LC32:
	.ascii	"10 - Re-inicializar a lista\000"
	.align	2
.LC33:
	.ascii	"11 - Ordenar a lista de acordo com a ordem de matri"
	.ascii	"cula dos alunos cadastrados\000"
	.align	2
.LC34:
	.ascii	"12 - Gerar um arquivo com os dados dos alunos\000"
	.align	2
.LC35:
	.ascii	"13 - Carregar a lista a partir de um arquivo existe"
	.ascii	"nte\000"
	.align	2
.LC36:
	.ascii	"14 - Encerrar programa\000"
	.align	2
.LC37:
	.ascii	"CLS\000"
	.align	2
.LC38:
	.ascii	"INSERIR ALUNO NO INICIO DA LISTA\000"
	.align	2
.LC39:
	.ascii	"INSERIR ALUNO NO FIM DA LISTA\000"
	.align	2
.LC40:
	.ascii	"INSERIR ALUNO EM UM POSICAO ESPECIFICA\000"
	.align	2
.LC41:
	.ascii	"Total de alunos: %d\012\000"
	.align	2
.LC42:
	.ascii	"Indice: \000"
	.align	2
.LC43:
	.ascii	"INSERIR ALUNO DE FORMA ORDENADA\000"
	.align	2
.LC44:
	.ascii	"REMOVER ALUNO\000"
	.align	2
.LC45:
	.ascii	"A lista esta vazia!!\000"
	.align	2
.LC46:
	.ascii	"BUSCA POR MATRICULA\000"
	.align	2
.LC47:
	.ascii	"LISTA DE ALUNOS\000"
	.align	2
.LC48:
	.ascii	"ALUNOS CADASTRADOS\000"
	.align	2
.LC49:
	.ascii	"Total: %d\012\000"
	.align	2
.LC50:
	.ascii	"INDICE DO ALUNO\000"
	.align	2
.LC51:
	.ascii	"Indice do aluno: %d\012\000"
	.align	2
.LC52:
	.ascii	"Lista de alunos re-inicializada!!\000"
	.align	2
.LC53:
	.ascii	"ORDENAR LISTA POR MATRICULA\000"
	.align	2
.LC54:
	.ascii	"Lista ordenada!!\000"
	.align	2
.LC55:
	.ascii	"GERAR ARQUIVO\000"
	.align	2
.LC56:
	.ascii	"CARREGAR ARQUIVO\000"
	.align	2
.LC57:
	.ascii	"Voce digitou a opcao que finaliza o programa.\000"
	.align	2
.LC58:
	.ascii	"Opcao invalida!\000"
	.align	2
.LC59:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	ldr	r3, .L140
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	cria_lista
	str	r0, [fp, #-116]
	b	.L114
.L138:
	ldr	r0, .L140+4
	bl	funcaoTitulo
	ldr	r0, .L140+8
	bl	puts
	ldr	r0, .L140+12
	bl	puts
	ldr	r0, .L140+16
	bl	puts
	ldr	r0, .L140+20
	bl	puts
	ldr	r0, .L140+24
	bl	puts
	ldr	r0, .L140+28
	bl	puts
	ldr	r0, .L140+32
	bl	puts
	ldr	r0, .L140+36
	bl	puts
	ldr	r0, .L140+40
	bl	puts
	ldr	r0, .L140+44
	bl	puts
	ldr	r0, .L140+48
	bl	puts
	ldr	r0, .L140+52
	bl	puts
	ldr	r0, .L140+56
	bl	puts
	ldr	r0, .L140+60
	bl	puts
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	sub	r3, fp, #124
	mov	r1, r3
	ldr	r0, .L140+64
	bl	__isoc99_scanf
	ldr	r3, .L140+68
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L140+72
	bl	system
	ldr	r3, [fp, #-124]
	sub	r3, r3, #1
	cmp	r3, #13
	ldrls	pc, [pc, r3, asl #2]
	b	.L115
.L117:
	.word	.L130
	.word	.L129
	.word	.L128
	.word	.L127
	.word	.L126
	.word	.L125
	.word	.L124
	.word	.L123
	.word	.L122
	.word	.L121
	.word	.L120
	.word	.L119
	.word	.L118
	.word	.L116
.L130:
	ldr	r0, .L140+76
	bl	funcaoTitulo
	sub	r3, fp, #84
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	criaNovo
	mov	lr, sp
	sub	ip, fp, #72
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	sub	r3, fp, #84
	ldm	r3, {r1, r2, r3}
	ldr	r0, [fp, #-116]
	bl	insere_inicio
	str	r0, [fp, #-116]
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L129:
	ldr	r0, .L140+80
	bl	funcaoTitulo
	sub	r3, fp, #212
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	criaNovo
	sub	r3, fp, #84
	sub	r1, fp, #212
	mov	r2, #76
	mov	r0, r3
	bl	memcpy
	mov	lr, sp
	sub	ip, fp, #72
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	sub	r3, fp, #84
	ldm	r3, {r1, r2, r3}
	ldr	r0, [fp, #-116]
	bl	insere_fim
	str	r0, [fp, #-116]
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L128:
	ldr	r0, .L140+84
	bl	funcaoTitulo
	ldr	r0, [fp, #-116]
	bl	tamanho_lista
	str	r0, [fp, #-100]
	ldr	r1, [fp, #-100]
	ldr	r0, .L140+88
	bl	printf
.L132:
	ldr	r0, .L140+92
	bl	printf
	sub	r3, fp, #128
	mov	r1, r3
	ldr	r0, .L140+64
	bl	__isoc99_scanf
	ldr	r3, .L140+68
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	ble	.L132
	ldr	r3, [fp, #-100]
	add	r2, r3, #1
	ldr	r3, [fp, #-128]
	cmp	r2, r3
	blt	.L132
	sub	r3, fp, #212
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	criaNovo
	sub	r3, fp, #84
	sub	r1, fp, #212
	mov	r2, #76
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-128]
	mov	r2, #1
	str	r2, [sp, #72]
	str	r3, [sp, #68]
	mov	r0, sp
	sub	r3, fp, #76
	mov	r2, #68
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #84
	ldm	r3, {r2, r3}
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-116]
	bl	insere_indice
	str	r0, [fp, #-116]
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L127:
	ldr	r0, .L140+96
	bl	funcaoTitulo
	sub	r3, fp, #212
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	criaNovo
	sub	r3, fp, #84
	sub	r1, fp, #212
	mov	r2, #76
	mov	r0, r3
	bl	memcpy
	mov	lr, sp
	sub	ip, fp, #72
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	sub	r3, fp, #84
	ldm	r3, {r1, r2, r3}
	ldr	r0, [fp, #-116]
	bl	insere_ordenado
	str	r0, [fp, #-116]
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L126:
	ldr	r0, .L140+100
	bl	funcaoTitulo
	ldr	r0, [fp, #-116]
	bl	lista_vazia
	mov	r3, r0
	cmp	r3, #0
	bne	.L133
	ldr	r0, .L140+104
	bl	printf
	sub	r3, fp, #120
	mov	r1, r3
	ldr	r0, .L140+64
	bl	__isoc99_scanf
	ldr	r3, .L140+68
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-120]
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	remover_lista
	str	r0, [fp, #-116]
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	b	.L134
.L133:
	ldr	r0, .L140+108
	bl	puts
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
.L134:
	bl	getch
	b	.L131
.L125:
	ldr	r0, .L140+112
	bl	funcaoTitulo
	ldr	r0, .L140+104
	bl	printf
	sub	r3, fp, #120
	mov	r1, r3
	ldr	r0, .L140+64
	bl	__isoc99_scanf
	ldr	r3, .L140+68
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	ldr	r3, [fp, #-120]
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	buscar_dados
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L124:
	ldr	r0, .L140+116
	bl	funcaoTitulo
	ldr	r0, [fp, #-116]
	bl	imprime_lista
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L123:
	ldr	r0, .L140+120
	bl	funcaoTitulo
	ldr	r0, [fp, #-116]
	bl	tamanho_lista
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L140+124
	bl	printf
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L122:
	ldr	r0, .L140+128
	bl	funcaoTitulo
	ldr	r0, .L140+104
	bl	printf
	sub	r3, fp, #120
	mov	r1, r3
	ldr	r0, .L140+64
	bl	__isoc99_scanf
	ldr	r3, .L140+68
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	ldr	r3, [fp, #-120]
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	indice_aluno
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L140+132
	bl	printf
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L121:
	ldr	r0, [fp, #-116]
	bl	lista_vazia
	mov	r3, r0
	cmp	r3, #0
	bne	.L135
	ldr	r0, [fp, #-116]
	bl	free_lista
	bl	cria_lista
	str	r0, [fp, #-116]
.L135:
	ldr	r0, .L140+136
	bl	puts
	bl	getch
	b	.L131
.L120:
	ldr	r0, .L140+140
	bl	funcaoTitulo
	ldr	r0, [fp, #-116]
	bl	tamanho_lista
	str	r0, [fp, #-100]
	ldr	r2, [fp, #-100]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L136
.L137:
	ldr	r2, [fp, #-108]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-96]
	add	r2, r3, r2
	ldr	r3, [fp, #-112]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #80
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #76]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L136:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-100]
	cmp	r2, r3
	blt	.L137
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-92]
	ldr	r1, [fp, #-116]
	ldr	r0, [fp, #-96]
	bl	ordenar_lista
	str	r0, [fp, #-116]
	ldr	r0, [fp, #-96]
	bl	free
	ldr	r0, .L140+144
	bl	puts
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L119:
	ldr	r0, .L140+148
	bl	funcaoTitulo
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-104]
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L118:
	ldr	r0, .L140+152
	bl	funcaoTitulo
	mov	r1, #45
	mov	r0, #70
	bl	funcaoOrganiza
	bl	getch
	b	.L131
.L116:
	ldr	r0, .L140+156
	bl	printf
	bl	getch
	b	.L131
.L115:
	ldr	r0, .L140+160
	bl	puts
	bl	getch
.L131:
	ldr	r0, .L140+72
	bl	system
	ldr	r3, .L140+68
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L114:
	ldr	r3, [fp, #-124]
	cmp	r3, #14
	bne	.L138
	nop
	ldr	r3, .L140
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L139
	bl	__stack_chk_fail
.L139:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L141:
	.align	2
.L140:
	.word	.LC59
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC3
	.word	stdin
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC2
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.size	menu, .-menu
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	menu
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
