	.file	"165637.c"
	.intel_syntax noprefix
	.text
	.globl	partition
	.type	partition, @function
partition:
.LFB6:
	.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, 312
	.cfi_offset 3, -24
	mov	QWORD PTR -312[rbp], rdi
	mov	DWORD PTR -316[rbp], esi
	mov	DWORD PTR -320[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -316[rbp]
	mov	DWORD PTR -296[rbp], eax
	mov	eax, DWORD PTR -320[rbp]
	mov	DWORD PTR -292[rbp], eax
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -288[rbp], rcx
	mov	QWORD PTR -280[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -272[rbp], rcx
	mov	QWORD PTR -264[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -256[rbp], rcx
	mov	QWORD PTR -248[rbp], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR -240[rbp], rcx
	mov	QWORD PTR -232[rbp], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	rbx, QWORD PTR 72[rax]
	mov	QWORD PTR -224[rbp], rcx
	mov	QWORD PTR -216[rbp], rbx
	mov	rcx, QWORD PTR 80[rax]
	mov	rbx, QWORD PTR 88[rax]
	mov	QWORD PTR -208[rbp], rcx
	mov	QWORD PTR -200[rbp], rbx
	mov	rcx, QWORD PTR 96[rax]
	mov	rbx, QWORD PTR 104[rax]
	mov	QWORD PTR -192[rbp], rcx
	mov	QWORD PTR -184[rbp], rbx
	mov	rdx, QWORD PTR 112[rax]
	mov	QWORD PTR -176[rbp], rdx
	mov	eax, DWORD PTR 120[rax]
	mov	DWORD PTR -168[rbp], eax
	jmp	.L2
.L4:
	add	DWORD PTR -296[rbp], 1
.L3:
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -288[rbp]
	cmp	edx, eax
	jl	.L4
	jmp	.L5
.L6:
	sub	DWORD PTR -292[rbp], 1
.L5:
	mov	eax, DWORD PTR -292[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -288[rbp]
	cmp	edx, eax
	jg	.L6
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -292[rbp]
	jge	.L2
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -160[rbp], rcx
	mov	QWORD PTR -152[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -144[rbp], rcx
	mov	QWORD PTR -136[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -128[rbp], rcx
	mov	QWORD PTR -120[rbp], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	rbx, QWORD PTR 72[rax]
	mov	QWORD PTR -96[rbp], rcx
	mov	QWORD PTR -88[rbp], rbx
	mov	rcx, QWORD PTR 80[rax]
	mov	rbx, QWORD PTR 88[rax]
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -72[rbp], rbx
	mov	rcx, QWORD PTR 96[rax]
	mov	rbx, QWORD PTR 104[rax]
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -56[rbp], rbx
	mov	rdx, QWORD PTR 112[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	eax, DWORD PTR 120[rax]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -312[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -296[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -312[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	rcx, QWORD PTR 80[rdx]
	mov	rbx, QWORD PTR 88[rdx]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR 96[rdx]
	mov	rbx, QWORD PTR 104[rdx]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	mov	rcx, QWORD PTR 112[rdx]
	mov	QWORD PTR 112[rax], rcx
	mov	edx, DWORD PTR 120[rdx]
	mov	DWORD PTR 120[rax], edx
	mov	eax, DWORD PTR -292[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -160[rbp]
	mov	rbx, QWORD PTR -152[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -144[rbp]
	mov	rbx, QWORD PTR -136[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR 112[rax], rdx
	mov	edx, DWORD PTR -40[rbp]
	mov	DWORD PTR 120[rax], edx
.L2:
	mov	eax, DWORD PTR -296[rbp]
	cmp	eax, DWORD PTR -292[rbp]
	jl	.L3
	mov	eax, DWORD PTR -292[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	partition, .-partition
	.globl	quicksort_curso
	.type	quicksort_curso, @function
quicksort_curso:
.LFB7:
	.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	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jle	.L12
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	partition
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	quicksort_curso
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	quicksort_curso
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	quicksort_curso, .-quicksort_curso
	.globl	partition_disc
	.type	partition_disc, @function
partition_disc:
.LFB8:
	.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, 296
	.cfi_offset 3, -24
	mov	QWORD PTR -296[rbp], rdi
	mov	DWORD PTR -300[rbp], esi
	mov	DWORD PTR -304[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -300[rbp]
	mov	DWORD PTR -280[rbp], eax
	mov	eax, DWORD PTR -304[rbp]
	mov	DWORD PTR -276[rbp], eax
	mov	eax, DWORD PTR -300[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -296[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -272[rbp], rcx
	mov	QWORD PTR -264[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -256[rbp], rcx
	mov	QWORD PTR -248[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -240[rbp], rcx
	mov	QWORD PTR -232[rbp], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR -224[rbp], rcx
	mov	QWORD PTR -216[rbp], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	rbx, QWORD PTR 72[rax]
	mov	QWORD PTR -208[rbp], rcx
	mov	QWORD PTR -200[rbp], rbx
	mov	rcx, QWORD PTR 80[rax]
	mov	rbx, QWORD PTR 88[rax]
	mov	QWORD PTR -192[rbp], rcx
	mov	QWORD PTR -184[rbp], rbx
	mov	rcx, QWORD PTR 96[rax]
	mov	rbx, QWORD PTR 104[rax]
	mov	QWORD PTR -176[rbp], rcx
	mov	QWORD PTR -168[rbp], rbx
	mov	eax, DWORD PTR 112[rax]
	mov	DWORD PTR -160[rbp], eax
	jmp	.L14
.L16:
	add	DWORD PTR -280[rbp], 1
.L15:
	mov	eax, DWORD PTR -280[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -296[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -272[rbp]
	cmp	edx, eax
	jl	.L16
	jmp	.L17
.L18:
	sub	DWORD PTR -276[rbp], 1
.L17:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -296[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -272[rbp]
	cmp	edx, eax
	jg	.L18
	mov	eax, DWORD PTR -280[rbp]
	cmp	eax, DWORD PTR -276[rbp]
	jge	.L14
	mov	eax, DWORD PTR -280[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -296[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR -144[rbp], rcx
	mov	QWORD PTR -136[rbp], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR -128[rbp], rcx
	mov	QWORD PTR -120[rbp], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR -112[rbp], rcx
	mov	QWORD PTR -104[rbp], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR -96[rbp], rcx
	mov	QWORD PTR -88[rbp], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	rbx, QWORD PTR 72[rax]
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -72[rbp], rbx
	mov	rcx, QWORD PTR 80[rax]
	mov	rbx, QWORD PTR 88[rax]
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -56[rbp], rbx
	mov	rcx, QWORD PTR 96[rax]
	mov	rbx, QWORD PTR 104[rax]
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -40[rbp], rbx
	mov	eax, DWORD PTR 112[rax]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -296[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -280[rbp]
	cdqe
	imul	rcx, rax, 116
	mov	rax, QWORD PTR -296[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	rcx, QWORD PTR 80[rdx]
	mov	rbx, QWORD PTR 88[rdx]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR 96[rdx]
	mov	rbx, QWORD PTR 104[rdx]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	mov	edx, DWORD PTR 112[rdx]
	mov	DWORD PTR 112[rax], edx
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -296[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -144[rbp]
	mov	rbx, QWORD PTR -136[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR -96[rbp]
	mov	rbx, QWORD PTR -88[rbp]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR 112[rax], edx
.L14:
	mov	eax, DWORD PTR -280[rbp]
	cmp	eax, DWORD PTR -276[rbp]
	jl	.L15
	mov	eax, DWORD PTR -276[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	partition_disc, .-partition_disc
	.globl	quicksort_disc
	.type	quicksort_disc, @function
quicksort_disc:
.LFB9:
	.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	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jle	.L24
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	partition_disc
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	quicksort_disc
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	quicksort_disc
.L24:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	quicksort_disc, .-quicksort_disc
	.globl	existe_idcurso
	.type	existe_idcurso, @function
existe_idcurso:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jge	.L26
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	jne	.L27
	mov	DWORD PTR -4[rbp], 1
	jmp	.L26
.L27:
	add	DWORD PTR -28[rbp], 1
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	existe_idcurso
	mov	DWORD PTR -4[rbp], eax
.L26:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	existe_idcurso, .-existe_idcurso
	.globl	existe_disciplina
	.type	existe_disciplina, @function
existe_disciplina:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jge	.L30
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	jne	.L31
	mov	DWORD PTR -4[rbp], 1
	jmp	.L30
.L31:
	add	DWORD PTR -28[rbp], 1
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	existe_disciplina
	mov	DWORD PTR -4[rbp], eax
.L30:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	existe_disciplina, .-existe_disciplina
	.globl	existe_turno_idcurso
	.type	existe_turno_idcurso, @function
existe_turno_idcurso:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -44[rbp], r8d
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jge	.L34
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	jne	.L35
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 112[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L35
	add	DWORD PTR -28[rbp], 1
	mov	edi, DWORD PTR -44[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	existe_turno_idcurso
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L34
.L35:
	add	DWORD PTR -28[rbp], 1
	mov	edi, DWORD PTR -44[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	existe_turno_idcurso
	mov	DWORD PTR -4[rbp], eax
.L34:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	existe_turno_idcurso, .-existe_turno_idcurso
	.section	.rodata
.LC0:
	.string	"Codigo do Curso: "
.LC1:
	.string	"%d"
.LC2:
	.string	"Nome do Curso: "
.LC3:
	.string	"%s"
.LC4:
	.string	"Quantidade de Periodos: "
.LC5:
	.string	"Carga Horaria Total: "
	.align 8
.LC6:
	.string	"1- manha\n2- tarde\n3- noite\n4- integral"
.LC7:
	.string	"Digite uma escolha valida!"
	.text
	.globl	ler_curso
	.type	ler_curso, @function
ler_curso:
.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	DWORD PTR -32[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L47:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 104
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 108
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L46:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jg	.L38
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 4
	jle	.L38
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L39
.L38:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 4
	je	.L40
	cmp	eax, 4
	jg	.L49
	cmp	eax, 3
	je	.L42
	cmp	eax, 3
	jg	.L49
	cmp	eax, 1
	je	.L43
	cmp	eax, 2
	je	.L44
	jmp	.L49
.L43:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 112
	mov	DWORD PTR [rax], 1752064365
	mov	WORD PTR 4[rax], 97
	jmp	.L39
.L44:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 112
	mov	DWORD PTR [rax], 1685217652
	mov	WORD PTR 4[rax], 101
	jmp	.L39
.L42:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 112
	mov	DWORD PTR [rax], 1953066862
	mov	WORD PTR 4[rax], 101
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 112
	movabs	rcx, 7809649017246477929
	mov	QWORD PTR [rax], rcx
	mov	BYTE PTR 8[rax], 0
	jmp	.L39
.L49:
	nop
.L39:
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jg	.L45
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 4
	jg	.L46
.L45:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rcx, 112[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	esi, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, esi
	mov	esi, 0
	mov	rdi, rax
	call	existe_turno_idcurso
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 1
	jne	.L47
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	ler_curso, .-ler_curso
	.globl	existe_periodo
	.type	existe_periodo, @function
existe_periodo:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jge	.L51
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 104[rax]
	cmp	DWORD PTR -28[rbp], eax
	jg	.L52
	mov	DWORD PTR -4[rbp], 1
	jmp	.L51
.L52:
	add	DWORD PTR -32[rbp], 1
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	existe_periodo
.L51:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	existe_periodo, .-existe_periodo
	.section	.rodata
.LC8:
	.string	"Codigo da Disciplina: "
.LC9:
	.string	"Nome da Disciplina: "
.LC10:
	.string	"Periodo: "
.LC11:
	.string	"Carga Horaria: "
.LC12:
	.string	"Curso inexistente!"
	.align 8
.LC13:
	.string	"periodo inexistente neste curso!"
	.text
	.globl	ler_disciplina
	.type	ler_disciplina, @function
ler_disciplina:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -40[rbp], ecx
.L57:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 108
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 112
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 4[rax]
	mov	ecx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	existe_idcurso
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 1
	je	.L55
	lea	rdi, .LC12[rip]
	call	puts@PLT
.L55:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 108[rax]
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	existe_periodo
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1
	je	.L56
	lea	rdi, .LC13[rip]
	call	puts@PLT
.L56:
	cmp	DWORD PTR -8[rbp], 1
	jne	.L57
	cmp	DWORD PTR -4[rbp], 1
	jne	.L57
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	ler_disciplina, .-ler_disciplina
	.section	.rodata
.LC14:
	.string	"\n----------------"
.LC15:
	.string	"Codigo: %d\n"
.LC16:
	.string	"Curso: %s\n"
.LC17:
	.string	"Periodos: %d\n"
.LC18:
	.string	"Carga Horaria Total: %d\n"
.LC19:
	.string	"Turno: %s\n"
	.text
	.globl	imprime_curso
	.type	imprime_curso, @function
imprime_curso:
.LFB16:
	.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L61
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L60
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 104[rax]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 108[rax]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 112
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L60:
	add	DWORD PTR -12[rbp], 1
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	imprime_curso
.L61:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	imprime_curso, .-imprime_curso
	.globl	imprime_curso_turno
	.type	imprime_curso_turno, @function
imprime_curso_turno:
.LFB17:
	.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -16[rbp], ecx
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jge	.L65
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	lea	rdx, 112[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L64
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 104[rax]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 108[rax]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 112
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L64:
	add	DWORD PTR -12[rbp], 1
	mov	ecx, DWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	imprime_curso_turno
.L65:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	imprime_curso_turno, .-imprime_curso_turno
	.section	.rodata
.LC20:
	.string	"Codigo do Curso: %d\n"
.LC21:
	.string	"Nome: %s\n"
.LC22:
	.string	"Periodo: %d\n"
.LC23:
	.string	"Carga Horaria: %d\n"
	.text
	.globl	imprime_disciplina
	.type	imprime_disciplina, @function
imprime_disciplina:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L69
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L68
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 108[rax]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 112[rax]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L68:
	add	DWORD PTR -12[rbp], 1
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	imprime_disciplina
.L69:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	imprime_disciplina, .-imprime_disciplina
	.globl	imprime_disciplinas_curso
	.type	imprime_disciplinas_curso, @function
imprime_disciplinas_curso:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L73
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L72
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 108[rax]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 112[rax]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
.L72:
	add	DWORD PTR -12[rbp], 1
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	imprime_disciplinas_curso
.L73:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	imprime_disciplinas_curso, .-imprime_disciplinas_curso
	.globl	disciplinas_periodo
	.type	disciplinas_periodo, @function
disciplinas_periodo:
.LFB20:
	.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	DWORD PTR -24[rbp], r8d
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jge	.L77
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L76
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 108[rax]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L76
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	ecx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	imprime_disciplina
.L76:
	add	DWORD PTR -20[rbp], 1
	mov	edi, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	disciplinas_periodo
.L77:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	disciplinas_periodo, .-disciplinas_periodo
	.globl	remove_disciplina
	.type	remove_disciplina, @function
remove_disciplina:
.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	QWORD PTR -56[rbp], rcx
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -48[rbp], eax
	jg	.L83
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -44[rbp], eax
	jne	.L80
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L81
.L82:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 1
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rcx, rax, 116
	mov	rax, QWORD PTR -40[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	rcx, QWORD PTR 80[rdx]
	mov	rbx, QWORD PTR 88[rdx]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR 96[rdx]
	mov	rbx, QWORD PTR 104[rdx]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	mov	edx, DWORD PTR 112[rdx]
	mov	DWORD PTR 112[rax], edx
	add	DWORD PTR -20[rbp], 1
.L81:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L82
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L83
.L80:
	add	DWORD PTR -48[rbp], 1
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	esi, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	remove_disciplina
.L83:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	remove_disciplina, .-remove_disciplina
	.globl	remove_curso
	.type	remove_curso, @function
remove_curso:
.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, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -56[rbp], ecx
	mov	QWORD PTR -64[rbp], r8
	mov	DWORD PTR -68[rbp], r9d
	mov	DWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -56[rbp], eax
	jge	.L92
	mov	DWORD PTR -28[rbp], 0
	jmp	.L86
.L88:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	imul	rdx, rax, 116
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -52[rbp], eax
	jne	.L87
	add	DWORD PTR -24[rbp], 1
.L87:
	add	DWORD PTR -28[rbp], 1
.L86:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L88
	cmp	DWORD PTR -24[rbp], 0
	jne	.L89
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L90
.L91:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 5
	sub	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 5
	sub	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -40[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	rcx, QWORD PTR 80[rdx]
	mov	rbx, QWORD PTR 88[rdx]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	rcx, QWORD PTR 96[rdx]
	mov	rbx, QWORD PTR 104[rdx]
	mov	QWORD PTR 96[rax], rcx
	mov	QWORD PTR 104[rax], rbx
	mov	rcx, QWORD PTR 112[rdx]
	mov	QWORD PTR 112[rax], rcx
	mov	edx, DWORD PTR 120[rdx]
	mov	DWORD PTR 120[rax], edx
	add	DWORD PTR -20[rbp], 1
.L90:
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L91
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L92
.L89:
	add	DWORD PTR -56[rbp], 1
	mov	r8d, DWORD PTR -68[rbp]
	mov	rdi, QWORD PTR -64[rbp]
	mov	ecx, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	rsi, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	r9d, r8d
	mov	r8, rdi
	mov	rdi, rax
	call	remove_curso
.L92:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	remove_curso, .-remove_curso
	.section	.rodata
	.align 8
.LC24:
	.string	"1- Ler Curso\n2- Cadastra Disciplina\n3- Mostrar Curso\n4- Mostrar Disciplina\n5- Cursos de um Turno\n6- Mostrar todas as disciplinas de um Curso\n7- Mostrar disciplinas de um periodo\n8- Remover uma disciplina\n9 - Remover um curso\n0- Sair"
.LC25:
	.string	"Digite um opcao: "
	.text
	.globl	menu
	.type	menu, @function
menu:
.LFB23:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L95
	call	__stack_chk_fail@PLT
.L95:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	menu, .-menu
	.section	.rodata
.LC26:
	.string	"ordenado"
.LC27:
	.string	"Vetor cheio!"
.LC28:
	.string	"C\303\263digo n\303\243o existe!"
	.align 8
.LC29:
	.string	"1- manha\n2- tarde\n3- noite\n4- integral\nTurno dos Cursos: "
.LC30:
	.string	"Curso n\303\243o existe!"
.LC31:
	.string	"periodo: "
.LC32:
	.string	"removido!"
.LC33:
	.string	"valor invalido!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1280
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1268[rbp], 0
	mov	DWORD PTR -1252[rbp], 0
	mov	DWORD PTR -1248[rbp], 0
.L133:
	mov	eax, 0
	call	menu
	mov	DWORD PTR -1244[rbp], eax
	cmp	DWORD PTR -1244[rbp], 9
	ja	.L97
	mov	eax, DWORD PTR -1244[rbp]
	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	.L107-.L99
	.long	.L106-.L99
	.long	.L105-.L99
	.long	.L104-.L99
	.long	.L126-.L99
	.long	.L102-.L99
	.long	.L101-.L99
	.long	.L100-.L99
	.long	.L98-.L99
	.text
.L107:
	mov	eax, DWORD PTR -1268[rbp]
	cmp	eax, 4
	jg	.L108
	mov	eax, DWORD PTR -1268[rbp]
	lea	edx, 1[rax]
	mov	ecx, DWORD PTR -1268[rbp]
	lea	rax, -640[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	ler_curso
	mov	edx, DWORD PTR -1268[rbp]
	lea	rax, -640[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	quicksort_curso
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -1268[rbp]
	add	eax, 1
	mov	DWORD PTR -1268[rbp], eax
	jmp	.L110
.L108:
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L110
.L106:
	cmp	DWORD PTR -1252[rbp], 4
	jg	.L111
	mov	eax, DWORD PTR -1268[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -1252[rbp]
	lea	rsi, -640[rbp]
	lea	rax, -1232[rbp]
	mov	rdi, rax
	call	ler_disciplina
	mov	edx, DWORD PTR -1252[rbp]
	lea	rax, -1232[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	quicksort_disc
	lea	rdi, .LC26[rip]
	call	puts@PLT
	add	DWORD PTR -1252[rbp], 1
	jmp	.L110
.L111:
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L110
.L105:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1264[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1268[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -1264[rbp]
	lea	rax, -640[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	existe_idcurso
	mov	DWORD PTR -1240[rbp], eax
	cmp	DWORD PTR -1240[rbp], 0
	jne	.L113
	lea	rdi, .LC28[rip]
	call	puts@PLT
	jmp	.L110
.L113:
	mov	eax, DWORD PTR -1268[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -1264[rbp]
	lea	rax, -640[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	imprime_curso
	jmp	.L110
.L104:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1264[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -1264[rbp]
	mov	ecx, DWORD PTR -1252[rbp]
	lea	rax, -1232[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	existe_disciplina
	mov	DWORD PTR -1240[rbp], eax
	cmp	DWORD PTR -1240[rbp], 0
	jne	.L115
	lea	rdi, .LC28[rip]
	call	puts@PLT
	jmp	.L110
.L115:
	mov	eax, DWORD PTR -1252[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -1264[rbp]
	lea	rax, -1232[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	imprime_disciplina
	jmp	.L110
.L138:
	nop
.L126:
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1260[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1260[rbp]
	test	eax, eax
	jg	.L117
	mov	eax, DWORD PTR -1260[rbp]
	cmp	eax, 4
	jle	.L117
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L118
.L117:
	mov	eax, DWORD PTR -1260[rbp]
	cmp	eax, 4
	je	.L119
	cmp	eax, 4
	jg	.L136
	cmp	eax, 3
	je	.L121
	cmp	eax, 3
	jg	.L136
	cmp	eax, 1
	je	.L122
	cmp	eax, 2
	je	.L123
	jmp	.L136
.L122:
	lea	rax, -18[rbp]
	mov	DWORD PTR [rax], 1752064365
	mov	WORD PTR 4[rax], 97
	jmp	.L124
.L123:
	lea	rax, -18[rbp]
	mov	DWORD PTR [rax], 1685217652
	mov	WORD PTR 4[rax], 101
	jmp	.L124
.L121:
	lea	rax, -18[rbp]
	mov	DWORD PTR [rax], 1953066862
	mov	WORD PTR 4[rax], 101
	jmp	.L124
.L119:
	lea	rax, -18[rbp]
	movabs	rsi, 7809649017246477929
	mov	QWORD PTR [rax], rsi
	mov	BYTE PTR 8[rax], 0
	jmp	.L124
.L136:
	nop
.L124:
	mov	eax, DWORD PTR -1268[rbp]
	lea	ecx, 1[rax]
	lea	rdx, -18[rbp]
	lea	rax, -640[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	imprime_curso_turno
.L118:
	mov	eax, DWORD PTR -1260[rbp]
	test	eax, eax
	jg	.L137
	mov	eax, DWORD PTR -1260[rbp]
	cmp	eax, 4
	jg	.L138
	jmp	.L137
.L102:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1264[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1268[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -1264[rbp]
	lea	rax, -640[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	existe_idcurso
	mov	DWORD PTR -1240[rbp], eax
	cmp	DWORD PTR -1240[rbp], 0
	jne	.L127
	lea	rdi, .LC30[rip]
	call	puts@PLT
	jmp	.L110
.L127:
	mov	eax, DWORD PTR -1268[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -1264[rbp]
	lea	rax, -1232[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	imprime_disciplinas_curso
	jmp	.L110
.L101:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1264[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1256[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1268[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -1264[rbp]
	lea	rax, -640[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	existe_idcurso
	mov	DWORD PTR -1240[rbp], eax
	cmp	DWORD PTR -1240[rbp], 0
	jne	.L129
	lea	rdi, .LC30[rip]
	call	puts@PLT
.L129:
	mov	edx, DWORD PTR -1268[rbp]
	mov	esi, DWORD PTR -1256[rbp]
	lea	rax, -640[rbp]
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	existe_periodo
	mov	DWORD PTR -1236[rbp], eax
	cmp	DWORD PTR -1236[rbp], 0
	jne	.L130
	lea	rdi, .LC30[rip]
	call	puts@PLT
.L130:
	cmp	DWORD PTR -1240[rbp], 0
	je	.L139
	cmp	DWORD PTR -1236[rbp], 0
	je	.L139
	mov	eax, DWORD PTR -1252[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -1256[rbp]
	mov	esi, DWORD PTR -1264[rbp]
	lea	rax, -1232[rbp]
	mov	r8d, ecx
	mov	ecx, 0
	mov	rdi, rax
	call	disciplinas_periodo
	jmp	.L139
.L100:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1264[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	esi, DWORD PTR -1264[rbp]
	lea	rcx, -1268[rbp]
	mov	edx, DWORD PTR -1248[rbp]
	lea	rax, -1232[rbp]
	mov	rdi, rax
	call	remove_disciplina
	lea	rdi, .LC32[rip]
	call	puts@PLT
	jmp	.L110
.L98:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1264[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -1264[rbp]
	mov	edi, DWORD PTR -1252[rbp]
	lea	rcx, -1268[rbp]
	lea	rsi, -1232[rbp]
	lea	rax, -640[rbp]
	mov	r9d, edi
	mov	r8, rcx
	mov	ecx, 0
	mov	rdi, rax
	call	remove_curso
	jmp	.L110
.L97:
	cmp	DWORD PTR -1244[rbp], 0
	je	.L140
	lea	rdi, .LC33[rip]
	call	puts@PLT
	jmp	.L140
.L137:
	nop
	jmp	.L110
.L139:
	nop
	jmp	.L110
.L140:
	nop
.L110:
	cmp	DWORD PTR -1244[rbp], 0
	jne	.L133
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L135
	call	__stack_chk_fail@PLT
.L135:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.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	"165637.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	partition
	.syntax unified
	.arm
	.fpu softvfp
	.type	partition, %function
partition:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	str	r0, [fp, #-272]
	str	r1, [fp, #-276]
	str	r2, [fp, #-280]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-276]
	str	r3, [fp, #-264]
	ldr	r3, [fp, #-280]
	str	r3, [fp, #-260]
	ldr	r2, [fp, #-276]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-272]
	add	r2, r3, r2
	sub	r3, fp, #256
	mov	r1, r2
	mov	r2, #124
	mov	r0, r3
	bl	memcpy
	b	.L2
.L4:
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L3:
	ldr	r2, [fp, #-264]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-272]
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #-256]
	cmp	r2, r3
	blt	.L4
	b	.L5
.L6:
	ldr	r3, [fp, #-260]
	sub	r3, r3, #1
	str	r3, [fp, #-260]
.L5:
	ldr	r2, [fp, #-260]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-272]
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #-256]
	cmp	r2, r3
	bgt	.L6
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-260]
	cmp	r2, r3
	bge	.L2
	ldr	r2, [fp, #-264]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-272]
	add	r2, r3, r2
	sub	r3, fp, #132
	mov	r1, r2
	mov	r2, #124
	mov	r0, r3
	bl	memcpy
	ldr	r2, [fp, #-260]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-272]
	add	r1, r3, r2
	ldr	r2, [fp, #-264]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-272]
	add	r3, r3, r2
	mov	r0, r3
	mov	r3, #124
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-260]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-272]
	add	r3, r3, r2
	mov	r0, r3
	sub	r3, fp, #132
	mov	r2, #124
	mov	r1, r3
	bl	memcpy
.L2:
	ldr	r2, [fp, #-264]
	ldr	r3, [fp, #-260]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-260]
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.size	partition, .-partition
	.align	2
	.global	quicksort_curso
	.syntax unified
	.arm
	.fpu softvfp
	.type	quicksort_curso, %function
quicksort_curso:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L14
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	partition
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	quicksort_curso
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	quicksort_curso
.L14:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	quicksort_curso, .-quicksort_curso
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	partition_disc
	.syntax unified
	.arm
	.fpu softvfp
	.type	partition_disc, %function
partition_disc:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #264
	str	r0, [fp, #-256]
	str	r1, [fp, #-260]
	str	r2, [fp, #-264]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-260]
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-264]
	str	r3, [fp, #-244]
	ldr	r2, [fp, #-260]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-256]
	add	r2, r3, r2
	sub	r3, fp, #240
	mov	r1, r2
	mov	r2, #116
	mov	r0, r3
	bl	memcpy
	b	.L16
.L18:
	ldr	r3, [fp, #-248]
	add	r3, r3, #1
	str	r3, [fp, #-248]
.L17:
	ldr	r2, [fp, #-248]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-256]
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #-240]
	cmp	r2, r3
	blt	.L18
	b	.L19
.L20:
	ldr	r3, [fp, #-244]
	sub	r3, r3, #1
	str	r3, [fp, #-244]
.L19:
	ldr	r2, [fp, #-244]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-256]
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #-240]
	cmp	r2, r3
	bgt	.L20
	ldr	r2, [fp, #-248]
	ldr	r3, [fp, #-244]
	cmp	r2, r3
	bge	.L16
	ldr	r2, [fp, #-248]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-256]
	add	r2, r3, r2
	sub	r3, fp, #124
	mov	r1, r2
	mov	r2, #116
	mov	r0, r3
	bl	memcpy
	ldr	r2, [fp, #-244]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-256]
	add	r1, r3, r2
	ldr	r2, [fp, #-248]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-256]
	add	r3, r3, r2
	mov	r0, r3
	mov	r3, #116
	mov	r2, r3
	bl	memcpy
	ldr	r2, [fp, #-244]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-256]
	add	r3, r3, r2
	mov	r0, r3
	sub	r3, fp, #124
	mov	r2, #116
	mov	r1, r3
	bl	memcpy
.L16:
	ldr	r2, [fp, #-248]
	ldr	r3, [fp, #-244]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-244]
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC1
	.size	partition_disc, .-partition_disc
	.align	2
	.global	quicksort_disc
	.syntax unified
	.arm
	.fpu softvfp
	.type	quicksort_disc, %function
quicksort_disc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L28
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	partition_disc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	quicksort_disc
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	quicksort_disc
.L28:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	quicksort_disc, .-quicksort_disc
	.align	2
	.global	existe_idcurso
	.syntax unified
	.arm
	.fpu softvfp
	.type	existe_idcurso, %function
existe_idcurso:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bge	.L30
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L31
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L30
.L31:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	existe_idcurso
	str	r0, [fp, #-8]
.L30:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	existe_idcurso, .-existe_idcurso
	.align	2
	.global	existe_disciplina
	.syntax unified
	.arm
	.fpu softvfp
	.type	existe_disciplina, %function
existe_disciplina:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bge	.L34
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L35
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L34
.L35:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	existe_disciplina
	str	r0, [fp, #-8]
.L34:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	existe_disciplina, .-existe_disciplina
	.align	2
	.global	existe_turno_idcurso
	.syntax unified
	.arm
	.fpu softvfp
	.type	existe_turno_idcurso, %function
existe_turno_idcurso:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	bge	.L38
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L39
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	r3, r3, #112
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	existe_turno_idcurso
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L38
.L39:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	existe_turno_idcurso
	str	r0, [fp, #-8]
.L38:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	existe_turno_idcurso, .-existe_turno_idcurso
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Codigo do Curso: \000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Nome do Curso: \000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.align	2
.LC6:
	.ascii	"Quantidade de Periodos: \000"
	.align	2
.LC7:
	.ascii	"Carga Horaria Total: \000"
	.align	2
.LC8:
	.ascii	"1- manha\0122- tarde\0123- noite\0124- integral\000"
	.align	2
.LC9:
	.ascii	"Digite uma escolha valida!\000"
	.align	2
.LC10:
	.ascii	"manha\000"
	.align	2
.LC11:
	.ascii	"tarde\000"
	.align	2
.LC12:
	.ascii	"noite\000"
	.align	2
.LC13:
	.ascii	"integral\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ler_curso
	.syntax unified
	.arm
	.fpu softvfp
	.type	ler_curso, %function
ler_curso:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L52:
	ldr	r0, .L55+4
	bl	printf
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L55+8
	bl	__isoc99_scanf
	ldr	r0, .L55+12
	bl	printf
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L55+16
	bl	__isoc99_scanf
	ldr	r0, .L55+20
	bl	printf
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r3, r3, #104
	mov	r1, r3
	ldr	r0, .L55+8
	bl	__isoc99_scanf
	ldr	r0, .L55+24
	bl	printf
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r3, r3, #108
	mov	r1, r3
	ldr	r0, .L55+8
	bl	__isoc99_scanf
.L51:
	ldr	r0, .L55+28
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L55+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L42
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	ble	.L42
	ldr	r0, .L55+32
	bl	puts
	b	.L43
.L42:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L54
.L46:
	.word	.L49
	.word	.L48
	.word	.L47
	.word	.L45
.L49:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r3, r3, #112
	ldr	r2, .L55+36
	mov	r0, r3
	mov	r1, r2
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	b	.L43
.L48:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r3, r3, #112
	ldr	r2, .L55+40
	mov	r0, r3
	mov	r1, r2
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	b	.L43
.L47:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r3, r3, #112
	ldr	r2, .L55+44
	mov	r0, r3
	mov	r1, r2
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	b	.L43
.L45:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r3, r3, #112
	ldr	r2, .L55+48
	mov	r0, r3
	mov	r1, r2
	mov	r3, #9
	mov	r2, r3
	bl	memcpy
	b	.L43
.L54:
	nop
.L43:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L50
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	bgt	.L51
.L50:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r1, [r3]
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	add	r2, r3, #112
	ldr	r3, [fp, #-32]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	existe_turno_idcurso
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L52
	nop
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC14
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	ler_curso, .-ler_curso
	.align	2
	.global	existe_periodo
	.syntax unified
	.arm
	.fpu softvfp
	.type	existe_periodo, %function
existe_periodo:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bge	.L58
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3, #104]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L59
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L58
.L59:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	existe_periodo
.L58:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	existe_periodo, .-existe_periodo
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Codigo da Disciplina: \000"
	.align	2
.LC16:
	.ascii	"Nome da Disciplina: \000"
	.align	2
.LC17:
	.ascii	"Periodo: \000"
	.align	2
.LC18:
	.ascii	"Carga Horaria: \000"
	.align	2
.LC19:
	.ascii	"Curso inexistente!\000"
	.align	2
.LC20:
	.ascii	"periodo inexistente neste curso!\000"
	.text
	.align	2
	.global	ler_disciplina
	.syntax unified
	.arm
	.fpu softvfp
	.type	ler_disciplina, %function
ler_disciplina:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
.L64:
	ldr	r0, .L65
	bl	printf
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L65+4
	bl	__isoc99_scanf
	ldr	r0, .L65+8
	bl	printf
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L65+4
	bl	__isoc99_scanf
	ldr	r0, .L65+12
	bl	printf
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L65+16
	bl	__isoc99_scanf
	ldr	r0, .L65+20
	bl	printf
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	r3, r3, #108
	mov	r1, r3
	ldr	r0, .L65+4
	bl	__isoc99_scanf
	ldr	r0, .L65+24
	bl	printf
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	add	r3, r3, #112
	mov	r1, r3
	ldr	r0, .L65+4
	bl	__isoc99_scanf
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	existe_idcurso
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	beq	.L62
	ldr	r0, .L65+28
	bl	puts
.L62:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r1, [r3, #108]
	ldr	r3, [fp, #-28]
	mov	r2, #0
	ldr	r0, [fp, #-20]
	bl	existe_periodo
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L63
	ldr	r0, .L65+32
	bl	puts
.L63:
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L64
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L64
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC15
	.word	.LC3
	.word	.LC2
	.word	.LC16
	.word	.LC5
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	ler_disciplina, .-ler_disciplina
	.section	.rodata
	.align	2
.LC21:
	.ascii	"\012----------------\000"
	.align	2
.LC22:
	.ascii	"Codigo: %d\012\000"
	.align	2
.LC23:
	.ascii	"Curso: %s\012\000"
	.align	2
.LC24:
	.ascii	"Periodos: %d\012\000"
	.align	2
.LC25:
	.ascii	"Carga Horaria Total: %d\012\000"
	.align	2
.LC26:
	.ascii	"Turno: %s\012\000"
	.text
	.align	2
	.global	imprime_curso
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprime_curso, %function
imprime_curso:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L70
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L69
	ldr	r0, .L71
	bl	puts
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L71+4
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L71+8
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #104]
	mov	r1, r3
	ldr	r0, .L71+12
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #108]
	mov	r1, r3
	ldr	r0, .L71+16
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #112
	mov	r1, r3
	ldr	r0, .L71+20
	bl	printf
	ldr	r0, .L71
	bl	puts
.L69:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	imprime_curso
.L70:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.size	imprime_curso, .-imprime_curso
	.align	2
	.global	imprime_curso_turno
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprime_curso_turno, %function
imprime_curso_turno:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L76
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #112
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L75
	ldr	r0, .L77
	bl	puts
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L77+4
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L77+8
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #104]
	mov	r1, r3
	ldr	r0, .L77+12
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #108]
	mov	r1, r3
	ldr	r0, .L77+16
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #112
	mov	r1, r3
	ldr	r0, .L77+20
	bl	printf
	ldr	r0, .L77
	bl	puts
.L75:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	imprime_curso_turno
.L76:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.size	imprime_curso_turno, .-imprime_curso_turno
	.section	.rodata
	.align	2
.LC27:
	.ascii	"Codigo do Curso: %d\012\000"
	.align	2
.LC28:
	.ascii	"Nome: %s\012\000"
	.align	2
.LC29:
	.ascii	"Periodo: %d\012\000"
	.align	2
.LC30:
	.ascii	"Carga Horaria: %d\012\000"
	.text
	.align	2
	.global	imprime_disciplina
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprime_disciplina, %function
imprime_disciplina:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L82
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L81
	ldr	r0, .L83
	bl	puts
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L83+4
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L83+8
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L83+12
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #108]
	mov	r1, r3
	ldr	r0, .L83+16
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #112]
	mov	r1, r3
	ldr	r0, .L83+20
	bl	printf
	ldr	r0, .L83
	bl	puts
.L81:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	imprime_disciplina
.L82:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	.LC21
	.word	.LC22
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.size	imprime_disciplina, .-imprime_disciplina
	.align	2
	.global	imprime_disciplinas_curso
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprime_disciplinas_curso, %function
imprime_disciplinas_curso:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L88
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L87
	ldr	r0, .L89
	bl	puts
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L89+4
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L89+8
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L89+12
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #108]
	mov	r1, r3
	ldr	r0, .L89+16
	bl	printf
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #112]
	mov	r1, r3
	ldr	r0, .L89+20
	bl	printf
	ldr	r0, .L89
	bl	puts
.L87:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	imprime_disciplinas_curso
.L88:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC21
	.word	.LC22
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.size	imprime_disciplinas_curso, .-imprime_disciplinas_curso
	.align	2
	.global	disciplinas_periodo
	.syntax unified
	.arm
	.fpu softvfp
	.type	disciplinas_periodo, %function
disciplinas_periodo:
	@ 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	r2, [fp, #-20]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	bge	.L94
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L93
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r3, [r3, #108]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L93
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	imprime_disciplina
.L93:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	disciplinas_periodo
.L94:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	disciplinas_periodo, .-disciplinas_periodo
	.align	2
	.global	remove_disciplina
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_disciplina, %function
remove_disciplina:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bgt	.L100
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L97
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	b	.L98
.L99:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r0, r3
	mov	r3, #116
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L98:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L99
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	b	.L100
.L97:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	remove_disciplina
.L100:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	remove_disciplina, .-remove_disciplina
	.align	2
	.global	remove_curso
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_curso, %function
remove_curso:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bge	.L109
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L103
.L105:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L104
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L104:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L103:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L105
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L106
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-8]
	b	.L107
.L108:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r1, r3, r2
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r0, r3
	mov	r3, #124
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L107:
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L108
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #4]
	str	r2, [r3]
	b	.L109
.L106:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	remove_curso
.L109:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	remove_curso, .-remove_curso
	.section	.rodata
	.align	2
.LC31:
	.ascii	"1- Ler Curso\0122- Cadastra Disciplina\0123- Mostra"
	.ascii	"r Curso\0124- Mostrar Disciplina\0125- Cursos de um"
	.ascii	" Turno\0126- Mostrar todas as disciplinas de um Cur"
	.ascii	"so\0127- Mostrar disciplinas de um periodo\0128- Re"
	.ascii	"mover uma disciplina\0129 - Remover um curso\0120- "
	.ascii	"Sair\000"
	.align	2
.LC32:
	.ascii	"Digite um opcao: \000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	menu, %function
menu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L113
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L113+4
	bl	puts
	ldr	r0, .L113+8
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L113+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	ldr	r2, .L113
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L112
	bl	__stack_chk_fail
.L112:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L114:
	.align	2
.L113:
	.word	.LC33
	.word	.LC31
	.word	.LC32
	.word	.LC3
	.size	menu, .-menu
	.section	.rodata
	.align	2
.LC34:
	.ascii	"ordenado\000"
	.align	2
.LC35:
	.ascii	"Vetor cheio!\000"
	.align	2
.LC36:
	.ascii	"C\303\263digo n\303\243o existe!\000"
	.align	2
.LC37:
	.ascii	"1- manha\0122- tarde\0123- noite\0124- integral\012"
	.ascii	"Turno dos Cursos: \000"
	.align	2
.LC38:
	.ascii	"Curso n\303\243o existe!\000"
	.align	2
.LC39:
	.ascii	"periodo: \000"
	.align	2
.LC40:
	.ascii	"removido!\000"
	.align	2
.LC41:
	.ascii	"valor invalido!\000"
	.align	2
.LC42:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1256
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1264
	ldr	r3, .L161
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1256]
	mov	r3, #0
	str	r3, [fp, #-1240]
	mov	r3, #0
	str	r3, [fp, #-1236]
.L153:
	bl	menu
	str	r0, [fp, #-1232]
	ldr	r3, [fp, #-1232]
	sub	r3, r3, #1
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L116
.L118:
	.word	.L126
	.word	.L125
	.word	.L124
	.word	.L123
	.word	.L146
	.word	.L121
	.word	.L120
	.word	.L119
	.word	.L117
.L126:
	ldr	r3, [fp, #-1256]
	cmp	r3, #4
	bgt	.L127
	ldr	r1, [fp, #-1256]
	ldr	r3, [fp, #-1256]
	add	r2, r3, #1
	sub	r3, fp, #640
	mov	r0, r3
	bl	ler_curso
	ldr	r2, [fp, #-1256]
	sub	r3, fp, #640
	mov	r1, #0
	mov	r0, r3
	bl	quicksort_curso
	ldr	r0, .L161+4
	bl	puts
	ldr	r3, [fp, #-1256]
	add	r3, r3, #1
	str	r3, [fp, #-1256]
	b	.L129
.L127:
	ldr	r0, .L161+8
	bl	puts
	b	.L129
.L125:
	ldr	r3, [fp, #-1240]
	cmp	r3, #4
	bgt	.L130
	ldr	r3, [fp, #-1256]
	add	r3, r3, #1
	sub	r1, fp, #640
	sub	r0, fp, #1216
	sub	r0, r0, #4
	ldr	r2, [fp, #-1240]
	bl	ler_disciplina
	sub	r3, fp, #1216
	sub	r3, r3, #4
	ldr	r2, [fp, #-1240]
	mov	r1, #0
	mov	r0, r3
	bl	quicksort_disc
	ldr	r0, .L161+4
	bl	puts
	ldr	r3, [fp, #-1240]
	add	r3, r3, #1
	str	r3, [fp, #-1240]
	b	.L129
.L130:
	ldr	r0, .L161+8
	bl	puts
	b	.L129
.L124:
	ldr	r0, .L161+12
	bl	printf
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L161+16
	bl	__isoc99_scanf
	ldr	r2, [fp, #-1252]
	ldr	r3, [fp, #-1256]
	add	r3, r3, #1
	sub	r0, fp, #640
	mov	r1, #0
	bl	existe_idcurso
	str	r0, [fp, #-1228]
	ldr	r3, [fp, #-1228]
	cmp	r3, #0
	bne	.L132
	ldr	r0, .L161+20
	bl	puts
	b	.L129
.L132:
	ldr	r2, [fp, #-1252]
	ldr	r3, [fp, #-1256]
	add	r3, r3, #1
	sub	r0, fp, #640
	mov	r1, #0
	bl	imprime_curso
	b	.L129
.L123:
	ldr	r0, .L161+24
	bl	printf
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L161+16
	bl	__isoc99_scanf
	ldr	r2, [fp, #-1252]
	sub	r0, fp, #1216
	sub	r0, r0, #4
	ldr	r3, [fp, #-1240]
	mov	r1, #0
	bl	existe_disciplina
	str	r0, [fp, #-1228]
	ldr	r3, [fp, #-1228]
	cmp	r3, #0
	bne	.L134
	ldr	r0, .L161+20
	bl	puts
	b	.L129
.L134:
	ldr	r2, [fp, #-1252]
	ldr	r3, [fp, #-1240]
	add	r3, r3, #1
	sub	r0, fp, #1216
	sub	r0, r0, #4
	mov	r1, #0
	bl	imprime_disciplina
	b	.L129
.L158:
	nop
.L146:
	ldr	r0, .L161+28
	bl	printf
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L161+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-1248]
	cmp	r3, #0
	bgt	.L136
	ldr	r3, [fp, #-1248]
	cmp	r3, #4
	ble	.L136
	ldr	r0, .L161+32
	bl	puts
	b	.L137
.L136:
	ldr	r3, [fp, #-1248]
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L156
.L140:
	.word	.L143
	.word	.L142
	.word	.L141
	.word	.L139
.L143:
	sub	r3, fp, #20
	ldr	r2, .L161+36
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	b	.L144
.L142:
	sub	r3, fp, #20
	ldr	r2, .L161+40
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	b	.L144
.L141:
	sub	r3, fp, #20
	ldr	r2, .L161+44
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	b	.L144
.L139:
	sub	r3, fp, #20
	ldr	r2, .L161+48
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	b	.L144
.L156:
	nop
.L144:
	ldr	r3, [fp, #-1256]
	add	r3, r3, #1
	sub	r2, fp, #20
	sub	r0, fp, #640
	mov	r1, #0
	bl	imprime_curso_turno
.L137:
	ldr	r3, [fp, #-1248]
	cmp	r3, #0
	bgt	.L157
	ldr	r3, [fp, #-1248]
	cmp	r3, #4
	bgt	.L158
	b	.L157
.L121:
	ldr	r0, .L161+12
	bl	printf
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L161+16
	bl	__isoc99_scanf
	ldr	r2, [fp, #-1252]
	ldr	r3, [fp, #-1256]
	add	r3, r3, #1
	sub	r0, fp, #640
	mov	r1, #0
	bl	existe_idcurso
	str	r0, [fp, #-1228]
	ldr	r3, [fp, #-1228]
	cmp	r3, #0
	bne	.L147
	ldr	r0, .L161+52
	bl	puts
	b	.L129
.L147:
	ldr	r2, [fp, #-1252]
	ldr	r3, [fp, #-1256]
	add	r3, r3, #1
	sub	r0, fp, #1216
	sub	r0, r0, #4
	mov	r1, #0
	bl	imprime_disciplinas_curso
	b	.L129
.L120:
	ldr	r0, .L161+12
	bl	printf
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L161+16
	bl	__isoc99_scanf
	ldr	r0, .L161+56
	bl	printf
	sub	r3, fp, #1232
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L161+16
	bl	__isoc99_scanf
	ldr	r2, [fp, #-1252]
	ldr	r3, [fp, #-1256]
	add	r3, r3, #1
	sub	r0, fp, #640
	mov	r1, #0
	bl	existe_idcurso
	str	r0, [fp, #-1228]
	ldr	r3, [fp, #-1228]
	cmp	r3, #0
	bne	.L149
	ldr	r0, .L161+52
	bl	puts
.L149:
	ldr	r1, [fp, #-1244]
	ldr	r3, [fp, #-1256]
	sub	r0, fp, #640
	mov	r2, #0
	bl	existe_periodo
	str	r0, [fp, #-1224]
	ldr	r3, [fp, #-1224]
	cmp	r3, #0
	bne	.L150
	ldr	r0, .L161+52
	bl	puts
.L150:
	ldr	r3, [fp, #-1228]
	cmp	r3, #0
	beq	.L159
	ldr	r3, [fp, #-1224]
	cmp	r3, #0
	beq	.L159
	ldr	r1, [fp, #-1252]
	ldr	r2, [fp, #-1244]
	ldr	r3, [fp, #-1240]
	add	r3, r3, #1
	sub	r0, fp, #1216
	sub	r0, r0, #4
	str	r3, [sp]
	mov	r3, #0
	bl	disciplinas_periodo
	b	.L159
.L119:
	ldr	r0, .L161+24
	bl	printf
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L161+16
	bl	__isoc99_scanf
	ldr	r1, [fp, #-1252]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r0, fp, #1216
	sub	r0, r0, #4
	ldr	r2, [fp, #-1236]
	bl	remove_disciplina
	ldr	r0, .L161+60
	bl	puts
	b	.L129
.L117:
	ldr	r0, .L161+12
	bl	printf
	sub	r3, fp, #1248
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L161+16
	bl	__isoc99_scanf
	ldr	r2, [fp, #-1252]
	sub	r1, fp, #1216
	sub	r1, r1, #4
	sub	r0, fp, #640
	ldr	r3, [fp, #-1240]
	str	r3, [sp, #4]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, #0
	bl	remove_curso
	b	.L129
.L116:
	ldr	r3, [fp, #-1232]
	cmp	r3, #0
	beq	.L160
	ldr	r0, .L161+64
	bl	puts
	b	.L160
.L157:
	nop
	b	.L129
.L159:
	nop
	b	.L129
.L160:
	nop
.L129:
	ldr	r3, [fp, #-1232]
	cmp	r3, #0
	bne	.L153
	mov	r3, #0
	ldr	r2, .L161
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L155
	bl	__stack_chk_fail
.L155:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L162:
	.align	2
.L161:
	.word	.LC42
	.word	.LC34
	.word	.LC35
	.word	.LC2
	.word	.LC3
	.word	.LC36
	.word	.LC15
	.word	.LC37
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
