	.file	"917495.c"
	.intel_syntax noprefix
	.text
	.globl	atualizaStatus
	.type	atualizaStatus, @function
atualizaStatus:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -12[rbp], al
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -8[rbp]
	lea	rax, -12[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	atualizaStatus, .-atualizaStatus
	.section	.rodata
	.align 8
.LC0:
	.string	"Falha no processamento do arquivo."
	.text
	.globl	verifica_status
	.type	verifica_status, @function
verifica_status:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -9[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	movzx	eax, BYTE PTR -9[rbp]
	test	al, al
	jne	.L3
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	movzx	eax, BYTE PTR -9[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	verifica_status, .-verifica_status
	.globl	insere_pilha
	.type	insere_pilha, @function
insere_pilha:
.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, 1
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -4[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insere_pilha, .-insere_pilha
	.globl	criaCabecalho
	.type	criaCabecalho, @function
criaCabecalho:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -13[rbp], 0
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -13[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	DWORD PTR -12[rbp], -1
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -12[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	criaCabecalho, .-criaCabecalho
	.globl	topoPilha
	.type	topoPilha, @function
topoPilha:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 1
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -12[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	topoPilha, .-topoPilha
	.globl	existencia_registro
	.type	existencia_registro, @function
existencia_registro:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -12[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	rsi, -4
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, -1
	jne	.L13
	mov	eax, 0
	jmp	.L15
.L13:
	mov	eax, 1
.L15:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	existencia_registro, .-existencia_registro
	.section	.rodata
.LC1:
	.string	"%d "
.LC2:
	.string	"%s "
	.text
	.globl	print_escola
	.type	print_escola, @function
print_escola:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	test	eax, eax
	je	.L18
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	je	.L19
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 56[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 56[rax]
	test	eax, eax
	je	.L20
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L20:
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	print_escola, .-print_escola
	.section	.rodata
.LC3:
	.string	"0000000000"
.LC4:
	.string	"%m[^;]"
.LC5:
	.string	"%m[^\n\r]"
	.text
	.globl	parse_linha
	.type	parse_linha, @function
parse_linha:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -36[rbp], 0
	lea	rax, .LC3[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 72
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -32[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -32[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L22
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -36[rbp], eax
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 24[rax], 0
	add	DWORD PTR -36[rbp], 1
.L23:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -32[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 40[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -36[rbp], eax
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 40[rax], 0
	add	DWORD PTR -36[rbp], 1
.L25:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -32[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L26
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 56[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -36[rbp], eax
	jmp	.L27
.L26:
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 56[rax], 0
	add	DWORD PTR -36[rbp], 1
.L27:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -32[rbp]
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L28
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	add	DWORD PTR -36[rbp], 11
	jmp	.L29
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	add	DWORD PTR -36[rbp], 1
.L29:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -32[rbp]
	mov	rdx, rax
	lea	rsi, .LC5[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L30
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	add	DWORD PTR -36[rbp], 11
	jmp	.L31
.L30:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	add	DWORD PTR -36[rbp], 1
.L31:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	parse_linha, .-parse_linha
	.globl	escreve_bin_escola
	.type	escreve_bin_escola, @function
escreve_bin_escola:
.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 10
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 10
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -48[rbp]
	lea	rdi, 24[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fwrite@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 24[rax]
	test	eax, eax
	je	.L35
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 24[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L35:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdi, 40[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fwrite@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	je	.L36
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 40[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L36:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdi, 56[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fwrite@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 56[rax]
	test	eax, eax
	je	.L37
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 56[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L37:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, 112
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	escreve_bin_escola, .-escreve_bin_escola
	.globl	free_escola
	.type	free_escola, @function
free_escola:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	free_escola, .-free_escola
	.globl	le_bin_escola
	.type	le_bin_escola, @function
le_bin_escola:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	esi, 72
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	edi, 11
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 10
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, 10
	mov	BYTE PTR [rax], 0
	mov	edi, 11
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 10
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 10
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	lea	rdi, 24[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	test	eax, eax
	je	.L40
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L40:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdi, 40[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	je	.L41
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L41:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdi, 56[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 56[rax]
	test	eax, eax
	je	.L42
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 56[rax]
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 56[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 64[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 56[rax]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L42:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, 112
	sub	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	le_bin_escola, .-le_bin_escola
	.section	.rodata
.LC6:
	.string	"rb+"
.LC7:
	.string	"Pilha vazia."
	.text
	.globl	recupera_pilha
	.type	recupera_pilha, @function
recupera_pilha:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	verifica_status
	test	al, al
	je	.L52
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	topoPilha
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, -1
	jne	.L49
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L48
.L50:
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -24[rbp]
	imul	eax, eax, 112
	add	eax, 5
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
.L49:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, -1
	jne	.L50
.L48:
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L44
.L52:
	nop
.L44:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	recupera_pilha, .-recupera_pilha
	.section	.rodata
.LC8:
	.string	"antigo.bin"
.LC9:
	.string	"wb+"
	.align 8
.LC10:
	.string	"Arquivo de dados compactado com sucesso."
	.text
	.globl	desfragmenta
	.type	desfragmenta, @function
desfragmenta:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	verifica_status
	test	al, al
	je	.L60
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	rename@PLT
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	criaCabecalho
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 5
	jle	.L56
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 5
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L57
.L59:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	existencia_registro
	test	eax, eax
	je	.L58
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	le_bin_escola
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	escreve_bin_escola
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free_escola
	jmp	.L57
.L58:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	esi, 112
	mov	rdi, rax
	call	fseek@PLT
.L57:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	jl	.L59
.L56:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC8[rip]
	call	remove@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L53
.L60:
	nop
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	desfragmenta, .-desfragmenta
	.section	.rodata
.LC11:
	.string	"Registro inexistente."
	.align 8
.LC12:
	.string	"Registro alterado com sucesso."
	.text
	.globl	atualiza_registro
	.type	atualiza_registro, @function
atualiza_registro:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	lea	rax, .LC3[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	verifica_status
	test	al, al
	je	.L77
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, eax, 112
	add	eax, 5
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jge	.L64
	cmp	DWORD PTR -36[rbp], 0
	jns	.L65
.L64:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L61
.L65:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	existencia_registro
	test	eax, eax
	jne	.L66
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L61
.L66:
	mov	esi, 72
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	test	eax, eax
	je	.L67
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L68
.L67:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L68:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	test	eax, eax
	je	.L69
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L70
.L69:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
.L70:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L71
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 24[rax], edx
	jmp	.L72
.L71:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 24[rax], 0
.L72:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L73
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 40[rax], edx
	jmp	.L74
.L73:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 40[rax], 0
.L74:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L75
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 64[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 56[rax], edx
	jmp	.L76
.L75:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 56[rax], 0
.L76:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	escreve_bin_escola
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L61
.L77:
	nop
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	atualiza_registro, .-atualiza_registro
	.section	.rodata
	.align 8
.LC13:
	.string	"Registro inserido com sucesso."
	.text
	.globl	insere_registro
	.type	insere_registro, @function
insere_registro:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	verifica_status
	test	al, al
	je	.L94
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	topoPilha
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, -1
	jne	.L81
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L82
.L81:
	mov	eax, DWORD PTR -40[rbp]
	imul	eax, eax, 112
	add	eax, 5
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fseek@PLT
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -40[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	rsi, -8
	mov	rdi, rax
	call	fseek@PLT
.L82:
	mov	esi, 72
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	test	eax, eax
	je	.L83
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L84
.L83:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
.L84:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	test	eax, eax
	je	.L85
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
	jmp	.L86
.L85:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], rdx
.L86:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L87
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 24[rax], edx
	jmp	.L88
.L87:
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 24[rax], 0
.L88:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L89
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 48
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 40[rax], edx
	jmp	.L90
.L89:
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 40[rax], 0
.L90:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L91
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 56[rax], edx
	jmp	.L92
.L91:
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 56[rax], 0
.L92:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	escreve_bin_escola
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	insere_pilha
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L78
.L94:
	nop
.L78:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L93
	call	__stack_chk_fail@PLT
.L93:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	insere_registro, .-insere_registro
	.section	.rodata
	.align 8
.LC14:
	.string	"Registro removido com sucesso."
	.text
	.globl	remocao_logica
	.type	remocao_logica, @function
remocao_logica:
.LFB21:
	.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 -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	verifica_status
	test	al, al
	je	.L103
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	topoPilha
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	imul	eax, eax, 112
	add	eax, 5
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L98
	cmp	DWORD PTR -44[rbp], 0
	jns	.L99
.L98:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L100
.L99:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	existencia_registro
	test	eax, eax
	je	.L101
	mov	DWORD PTR -28[rbp], -1
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -28[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	insere_pilha
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L100
.L101:
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L100:
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L95
.L103:
	nop
.L95:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L102
	call	__stack_chk_fail@PLT
.L102:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	remocao_logica, .-remocao_logica
	.globl	recupera_reg
	.type	recupera_reg, @function
recupera_reg:
.LFB22:
	.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 -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	verifica_status
	test	al, al
	je	.L111
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	atualizaStatus
	mov	eax, DWORD PTR -44[rbp]
	imul	eax, eax, 112
	add	eax, 5
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L107
	cmp	DWORD PTR -44[rbp], 0
	jns	.L108
.L107:
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L109
.L108:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	existencia_registro
	test	eax, eax
	je	.L110
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	le_bin_escola
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_escola
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free_escola
	jmp	.L109
.L110:
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L109:
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L104
.L111:
	nop
.L104:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	recupera_reg, .-recupera_reg
	.section	.rodata
.LC15:
	.string	"codEscola"
.LC16:
	.string	"dataInicio"
.LC17:
	.string	"dataFinal"
.LC18:
	.string	"nomeEscola"
.LC19:
	.string	"municipio"
.LC20:
	.string	"endereco"
	.text
	.globl	pesquisa_campo
	.type	pesquisa_campo, @function
pesquisa_campo:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	verifica_status
	test	al, al
	je	.L125
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, 5
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -44[rbp], 0
	jmp	.L115
.L123:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	existencia_registro
	test	eax, eax
	je	.L116
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	le_bin_escola
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L117
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_escola
	add	DWORD PTR -44[rbp], 1
	jmp	.L118
.L117:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L119
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_escola
	add	DWORD PTR -44[rbp], 1
	jmp	.L118
.L119:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L120
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_escola
	add	DWORD PTR -44[rbp], 1
	jmp	.L118
.L120:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L121
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 24[rax]
	test	eax, eax
	je	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_escola
	add	DWORD PTR -44[rbp], 1
	jmp	.L118
.L121:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L122
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 40[rax]
	test	eax, eax
	je	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_escola
	add	DWORD PTR -44[rbp], 1
	jmp	.L118
.L122:
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 56[rax]
	test	eax, eax
	je	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 64[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L118
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_escola
	add	DWORD PTR -44[rbp], 1
.L118:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free_escola
	jmp	.L115
.L116:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 1
	mov	esi, 112
	mov	rdi, rax
	call	fseek@PLT
.L115:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	jl	.L123
	cmp	DWORD PTR -44[rbp], 0
	jne	.L124
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L124:
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L112
.L125:
	nop
.L112:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	pesquisa_campo, .-pesquisa_campo
	.globl	recupera_dados
	.type	recupera_dados, @function
recupera_dados:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	verifica_status
	test	al, al
	je	.L135
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 5
	jne	.L129
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L130
.L129:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, 5
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L131
.L133:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	existencia_registro
	test	eax, eax
	je	.L132
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	le_bin_escola
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_escola
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free_escola
	mov	DWORD PTR -24[rbp], 1
	jmp	.L131
.L132:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 1
	mov	esi, 112
	mov	rdi, rax
	call	fseek@PLT
.L131:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	jl	.L133
.L130:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L134
	lea	rdi, .LC11[rip]
	call	puts@PLT
.L134:
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L126
.L135:
	nop
.L126:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	recupera_dados, .-recupera_dados
	.section	.rodata
.LC21:
	.string	"r"
	.align 8
.LC22:
	.string	"Falha no carregamento do arquivo."
.LC23:
	.string	"%m[^\r\n]%*[\r\n]"
.LC24:
	.string	"Arquivo carregado."
	.text
	.globl	le_csv
	.type	le_csv, @function
le_csv:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L137
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L136
.L137:
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	criaCabecalho
	jmp	.L139
.L140:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	parse_linha
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	escreve_bin_escola
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free_escola
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
.L139:
	lea	rdx, -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L140
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	atualizaStatus
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC24[rip]
	call	puts@PLT
.L136:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L141
	call	__stack_chk_fail@PLT
.L141:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	le_csv, .-le_csv
	.section	.rodata
.LC25:
	.string	"saida.bin"
	.align 8
.LC26:
	.string	"Operacao \"%d\" nao reconhecida\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB26:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	lea	rax, .LC25[rip]
	mov	QWORD PTR -16[rbp], rax
	cmp	DWORD PTR -36[rbp], 1
	jne	.L143
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L144
.L143:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 9
	jg	.L145
	cmp	DWORD PTR -28[rbp], 0
	jg	.L146
.L145:
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L144
.L146:
	cmp	DWORD PTR -28[rbp], 1
	jne	.L147
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	le_csv
	jmp	.L148
.L147:
	cmp	DWORD PTR -28[rbp], 2
	jne	.L149
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	recupera_dados
	jmp	.L148
.L149:
	cmp	DWORD PTR -28[rbp], 3
	jne	.L150
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pesquisa_campo
	jmp	.L148
.L150:
	cmp	DWORD PTR -28[rbp], 4
	jne	.L151
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	recupera_reg
	jmp	.L148
.L151:
	cmp	DWORD PTR -28[rbp], 5
	jne	.L152
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	remocao_logica
	jmp	.L148
.L152:
	cmp	DWORD PTR -28[rbp], 6
	jne	.L153
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	insere_registro
	jmp	.L148
.L153:
	cmp	DWORD PTR -28[rbp], 7
	jne	.L154
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	atualiza_registro
	jmp	.L148
.L154:
	cmp	DWORD PTR -28[rbp], 8
	jne	.L155
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	desfragmenta
	jmp	.L148
.L155:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	recupera_pilha
.L148:
	mov	eax, 0
.L144:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.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	"917495.c"
	.text
	.align	2
	.global	atualizaStatus
	.syntax unified
	.arm
	.fpu softvfp
	.type	atualizaStatus, %function
atualizaStatus:
	@ 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]
	mov	r3, r1
	strb	r3, [fp, #-9]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	fseek
	sub	r0, fp, #9
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	fseek
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	atualizaStatus, .-atualizaStatus
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Falha no processamento do arquivo.\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	verifica_status
	.syntax unified
	.arm
	.fpu softvfp
	.type	verifica_status, %function
verifica_status:
	@ 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]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	sub	r0, fp, #9
	ldr	r3, [fp, #-16]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	ldr	r0, .L6+4
	bl	puts
.L3:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.word	.LC0
	.size	verifica_status, .-verifica_status
	.align	2
	.global	insere_pilha
	.syntax unified
	.arm
	.fpu softvfp
	.type	insere_pilha, %function
insere_pilha:
	@ 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]
	mov	r2, #0
	mov	r1, #1
	ldr	r0, [fp, #-12]
	bl	fseek
	sub	r0, fp, #8
	ldr	r3, [fp, #-12]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	insere_pilha, .-insere_pilha
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	criaCabecalho
	.syntax unified
	.arm
	.fpu softvfp
	.type	criaCabecalho, %function
criaCabecalho:
	@ 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, #-24]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-13]
	sub	r0, fp, #13
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	mvn	r3, #0
	str	r3, [fp, #-12]
	sub	r0, fp, #12
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC2
	.size	criaCabecalho, .-criaCabecalho
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	topoPilha
	.syntax unified
	.arm
	.fpu softvfp
	.type	topoPilha, %function
topoPilha:
	@ 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]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	fseek
	sub	r0, fp, #12
	ldr	r3, [fp, #-16]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r3, [fp, #-12]
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC3
	.size	topoPilha, .-topoPilha
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	existencia_registro
	.syntax unified
	.arm
	.fpu softvfp
	.type	existencia_registro, %function
existencia_registro:
	@ 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]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r0, fp, #12
	ldr	r3, [fp, #-16]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r2, #1
	mvn	r1, #3
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L19
	mov	r3, #0
	b	.L21
.L19:
	mov	r3, #1
.L21:
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC4
	.size	existencia_registro, .-existencia_registro
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%d \000"
	.align	2
.LC6:
	.ascii	"%s \000"
	.text
	.align	2
	.global	print_escola
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_escola, %function
print_escola:
	@ 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]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L29
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L29+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L29+4
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r1, r3
	ldr	r0, .L29
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r1, r3
	ldr	r0, .L29+4
	bl	printf
.L26:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	mov	r1, r3
	ldr	r0, .L29
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L27
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	mov	r1, r3
	ldr	r0, .L29+4
	bl	printf
.L27:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	mov	r1, r3
	ldr	r0, .L29
	bl	printf
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #32]
	mov	r1, r3
	ldr	r0, .L29+4
	bl	printf
.L28:
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC5
	.word	.LC6
	.size	print_escola, .-print_escola
	.section	.rodata
	.align	2
.LC7:
	.ascii	"0000000000\000"
	.align	2
.LC8:
	.ascii	"%m[^;]\000"
	.align	2
.LC9:
	.ascii	"%m[^\012\015]\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_linha
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_linha, %function
parse_linha:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L44+4
	str	r3, [fp, #-16]
	mov	r0, #36
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	sub	r2, fp, #24
	ldr	r1, .L44+8
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	sub	r2, fp, #24
	ldr	r1, .L44+8
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L33
.L32:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L33:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	sub	r2, fp, #24
	ldr	r1, .L44+8
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L35
.L34:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L35:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	sub	r2, fp, #24
	ldr	r1, .L44+8
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L37
.L36:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #28]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L37:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	sub	r2, fp, #24
	ldr	r1, .L44+8
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L38
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	add	r3, r3, #11
	str	r3, [fp, #-20]
	b	.L39
.L38:
	ldr	r0, [fp, #-16]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L39:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	sub	r2, fp, #24
	ldr	r1, .L44+12
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L40
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #11
	str	r3, [fp, #-20]
	b	.L41
.L40:
	ldr	r0, [fp, #-16]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L41:
	ldr	r3, [fp, #-12]
	ldr	r2, .L44
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC10
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	parse_linha, .-parse_linha
	.align	2
	.global	escreve_bin_escola
	.syntax unified
	.arm
	.fpu softvfp
	.type	escreve_bin_escola, %function
escreve_bin_escola:
	@ 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, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	ftell
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-28]
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-28]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-24]
	mov	r2, #10
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-28]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-24]
	mov	r2, #10
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-28]
	add	r0, r3, #12
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-28]
	ldr	r0, [r3, #16]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #12]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	mov	r1, #1
	bl	fwrite
.L47:
	ldr	r3, [fp, #-28]
	add	r0, r3, #20
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-28]
	ldr	r0, [r3, #24]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #20]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	mov	r1, #1
	bl	fwrite
.L48:
	ldr	r3, [fp, #-28]
	add	r0, r3, #28
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L49
	ldr	r3, [fp, #-28]
	ldr	r0, [r3, #32]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #28]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	mov	r1, #1
	bl	fwrite
.L49:
	ldr	r0, [fp, #-24]
	bl	ftell
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	rsb	r3, r3, #112
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	fwrite
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	escreve_bin_escola, .-escreve_bin_escola
	.align	2
	.global	free_escola
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_escola, %function
free_escola:
	@ 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]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #32]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	free_escola, .-free_escola
	.align	2
	.global	le_bin_escola
	.syntax unified
	.arm
	.fpu softvfp
	.type	le_bin_escola, %function
le_bin_escola:
	@ 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, #-24]
	ldr	r0, [fp, #-24]
	bl	ftell
	str	r0, [fp, #-20]
	mov	r1, #36
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-16]
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r0, #11
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-24]
	mov	r2, #10
	mov	r1, #1
	bl	fread
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r3, r3, #10
	mov	r2, #0
	strb	r2, [r3]
	mov	r0, #11
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-24]
	mov	r2, #10
	mov	r1, #1
	bl	fread
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	add	r3, r3, #10
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r0, r3, #12
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L52
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #12]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	mov	r1, #1
	bl	fread
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #12]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
.L52:
	ldr	r3, [fp, #-16]
	add	r0, r3, #20
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	mov	r1, #1
	bl	fread
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #20]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
.L53:
	ldr	r3, [fp, #-16]
	add	r0, r3, #28
	ldr	r3, [fp, #-24]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #32]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #28]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	mov	r1, #1
	bl	fread
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #32]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #28]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
.L54:
	ldr	r0, [fp, #-24]
	bl	ftell
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	rsb	r3, r3, #112
	str	r3, [fp, #-8]
	mov	r2, #1
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-24]
	bl	fseek
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	le_bin_escola, .-le_bin_escola
	.section	.rodata
	.align	2
.LC11:
	.ascii	"rb+\000"
	.align	2
.LC12:
	.ascii	"Pilha vazia.\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	recupera_pilha
	.syntax unified
	.arm
	.fpu softvfp
	.type	recupera_pilha, %function
recupera_pilha:
	@ 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, #-24]
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L65+4
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	verifica_status
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	atualizaStatus
	ldr	r0, [fp, #-16]
	bl	topoPilha
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L61
	ldr	r0, .L65+8
	bl	printf
	b	.L60
.L62:
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L65+12
	bl	printf
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #5
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	fseek
	sub	r0, fp, #20
	ldr	r3, [fp, #-16]
	mov	r2, #1
	mov	r1, #4
	bl	fread
.L61:
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L62
.L60:
	mov	r0, #10
	bl	putchar
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	atualizaStatus
	ldr	r0, [fp, #-16]
	bl	fclose
	b	.L56
.L64:
	nop
.L56:
	ldr	r3, .L65
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC13
	.word	.LC11
	.word	.LC12
	.word	.LC5
	.size	recupera_pilha, .-recupera_pilha
	.section	.rodata
	.align	2
.LC14:
	.ascii	"antigo.bin\000"
	.align	2
.LC15:
	.ascii	"wb+\000"
	.align	2
.LC16:
	.ascii	"Arquivo de dados compactado com sucesso.\000"
	.text
	.align	2
	.global	desfragmenta
	.syntax unified
	.arm
	.fpu softvfp
	.type	desfragmenta, %function
desfragmenta:
	@ 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, #-24]
	ldr	r1, .L75
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	verifica_status
	mov	r3, r0
	cmp	r3, #0
	beq	.L74
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	atualizaStatus
	ldr	r1, .L75+4
	ldr	r0, [fp, #-24]
	bl	rename
	ldr	r1, .L75+8
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	criaCabecalho
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	fseek
	ldr	r0, [fp, #-20]
	bl	ftell
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	ble	.L70
	mov	r2, #0
	mov	r1, #5
	ldr	r0, [fp, #-20]
	bl	fseek
	b	.L71
.L73:
	ldr	r0, [fp, #-20]
	bl	existencia_registro
	mov	r3, r0
	cmp	r3, #0
	beq	.L72
	ldr	r0, [fp, #-20]
	bl	le_bin_escola
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	escreve_bin_escola
	ldr	r0, [fp, #-8]
	bl	free_escola
	b	.L71
.L72:
	mov	r2, #1
	mov	r1, #112
	ldr	r0, [fp, #-20]
	bl	fseek
.L71:
	ldr	r0, [fp, #-20]
	bl	ftell
	mov	r2, r0
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	bgt	.L73
.L70:
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	atualizaStatus
	ldr	r0, [fp, #-20]
	bl	fclose
	ldr	r0, .L75+4
	bl	remove
	ldr	r0, .L75+12
	bl	puts
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	atualizaStatus
	ldr	r0, [fp, #-16]
	bl	fclose
	b	.L67
.L74:
	nop
.L67:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC11
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	desfragmenta, .-desfragmenta
	.section	.rodata
	.align	2
.LC17:
	.ascii	"Registro inexistente.\000"
	.align	2
.LC18:
	.ascii	"Registro alterado com sucesso.\000"
	.text
	.align	2
	.global	atualiza_registro
	.syntax unified
	.arm
	.fpu softvfp
	.type	atualiza_registro, %function
atualiza_registro:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L94
	str	r3, [fp, #-28]
	ldr	r1, .L94+4
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	verifica_status
	mov	r3, r0
	cmp	r3, #0
	beq	.L93
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	atualizaStatus
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-20]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #5
	str	r3, [fp, #-16]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	fseek
	ldr	r0, [fp, #-24]
	bl	ftell
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L80
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L81
.L80:
	ldr	r0, .L94+8
	bl	puts
	b	.L77
.L81:
	mov	r2, #0
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	fseek
	ldr	r0, [fp, #-24]
	bl	existencia_registro
	mov	r3, r0
	cmp	r3, #0
	bne	.L82
	ldr	r0, .L94+8
	bl	puts
	b	.L77
.L82:
	mov	r1, #36
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
	b	.L84
.L83:
	ldr	r0, [fp, #-28]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #4]
.L84:
	ldr	r3, [fp, #-36]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	b	.L86
.L85:
	ldr	r0, [fp, #-28]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
.L86:
	ldr	r3, [fp, #-36]
	add	r3, r3, #24
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L87
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-36]
	add	r3, r3, #24
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	b	.L88
.L87:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #12]
.L88:
	ldr	r3, [fp, #-36]
	add	r3, r3, #28
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L89
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	add	r3, r3, #28
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #20]
	b	.L90
.L89:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #20]
.L90:
	ldr	r3, [fp, #-36]
	add	r3, r3, #32
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L91
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #32
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #28]
	b	.L92
.L91:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #28]
.L92:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-24]
	bl	escreve_bin_escola
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r0, .L94+12
	bl	puts
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	atualizaStatus
	ldr	r0, [fp, #-24]
	bl	fclose
	b	.L77
.L93:
	nop
.L77:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L95:
	.align	2
.L94:
	.word	.LC7
	.word	.LC11
	.word	.LC17
	.word	.LC18
	.size	atualiza_registro, .-atualiza_registro
	.section	.rodata
	.align	2
.LC19:
	.ascii	"Registro inserido com sucesso.\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	insere_registro
	.syntax unified
	.arm
	.fpu softvfp
	.type	insere_registro, %function
insere_registro:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L113
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L113+4
	str	r3, [fp, #-24]
	ldr	r1, .L113+8
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	verifica_status
	mov	r3, r0
	cmp	r3, #0
	beq	.L112
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	atualizaStatus
	ldr	r0, [fp, #-20]
	bl	topoPilha
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L99
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	fseek
	b	.L100
.L99:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #5
	str	r3, [fp, #-16]
	mov	r2, #0
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	fseek
	mov	r2, #1
	mov	r1, #4
	ldr	r0, [fp, #-20]
	bl	fseek
	sub	r0, fp, #28
	ldr	r3, [fp, #-20]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r2, #1
	mvn	r1, #7
	ldr	r0, [fp, #-20]
	bl	fseek
.L100:
	mov	r1, #36
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #0
	beq	.L101
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	b	.L102
.L101:
	ldr	r0, [fp, #-24]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
.L102:
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	cmp	r3, #0
	beq	.L103
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
	b	.L104
.L103:
	ldr	r0, [fp, #-24]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #8]
.L104:
	ldr	r3, [fp, #-36]
	add	r3, r3, #20
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L105
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #20]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-36]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #12]
	b	.L106
.L105:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #12]
.L106:
	ldr	r3, [fp, #-36]
	add	r3, r3, #24
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L107
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-36]
	add	r3, r3, #24
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #20]
	b	.L108
.L107:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #20]
.L108:
	ldr	r3, [fp, #-36]
	add	r3, r3, #28
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L109
	ldr	r3, [fp, #-36]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-36]
	add	r3, r3, #28
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	str	r2, [r3, #28]
	b	.L110
.L109:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #28]
.L110:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	escreve_bin_escola
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	insere_pilha
	ldr	r0, .L113+12
	bl	puts
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	atualizaStatus
	ldr	r0, [fp, #-20]
	bl	fclose
	b	.L96
.L112:
	nop
.L96:
	ldr	r3, .L113
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L111
	bl	__stack_chk_fail
.L111:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L114:
	.align	2
.L113:
	.word	.LC20
	.word	.LC7
	.word	.LC11
	.word	.LC19
	.size	insere_registro, .-insere_registro
	.section	.rodata
	.align	2
.LC21:
	.ascii	"Registro removido com sucesso.\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	remocao_logica
	.syntax unified
	.arm
	.fpu softvfp
	.type	remocao_logica, %function
remocao_logica:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L124
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L124+4
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	verifica_status
	mov	r3, r0
	cmp	r3, #0
	beq	.L123
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	atualizaStatus
	ldr	r0, [fp, #-20]
	bl	topoPilha
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #5
	str	r3, [fp, #-16]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	fseek
	ldr	r0, [fp, #-20]
	bl	ftell
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L118
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L119
.L118:
	ldr	r0, .L124+8
	bl	puts
	b	.L120
.L119:
	mov	r2, #0
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	fseek
	ldr	r0, [fp, #-20]
	bl	existencia_registro
	mov	r3, r0
	cmp	r3, #0
	beq	.L121
	mvn	r3, #0
	str	r3, [fp, #-24]
	sub	r0, fp, #24
	ldr	r3, [fp, #-20]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	sub	r0, fp, #28
	ldr	r3, [fp, #-20]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-36]
	bl	insere_pilha
	ldr	r0, .L124+12
	bl	puts
	b	.L120
.L121:
	ldr	r0, .L124+8
	bl	puts
.L120:
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	atualizaStatus
	ldr	r0, [fp, #-20]
	bl	fclose
	b	.L115
.L123:
	nop
.L115:
	ldr	r3, .L124
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L122
	bl	__stack_chk_fail
.L122:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L125:
	.align	2
.L124:
	.word	.LC22
	.word	.LC11
	.word	.LC17
	.word	.LC21
	.size	remocao_logica, .-remocao_logica
	.align	2
	.global	recupera_reg
	.syntax unified
	.arm
	.fpu softvfp
	.type	recupera_reg, %function
recupera_reg:
	@ 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, #-24]
	str	r1, [fp, #-28]
	ldr	r1, .L134
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	verifica_status
	mov	r3, r0
	cmp	r3, #0
	beq	.L133
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	atualizaStatus
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #5
	str	r3, [fp, #-16]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	fseek
	ldr	r0, [fp, #-20]
	bl	ftell
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L129
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L130
.L129:
	ldr	r0, .L134+4
	bl	puts
	b	.L131
.L130:
	mov	r2, #0
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	fseek
	ldr	r0, [fp, #-20]
	bl	existencia_registro
	mov	r3, r0
	cmp	r3, #0
	beq	.L132
	ldr	r0, [fp, #-20]
	bl	le_bin_escola
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	print_escola
	ldr	r0, [fp, #-8]
	bl	free_escola
	b	.L131
.L132:
	ldr	r0, .L134+4
	bl	puts
.L131:
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	atualizaStatus
	ldr	r0, [fp, #-20]
	bl	fclose
	b	.L126
.L133:
	nop
.L126:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L135:
	.align	2
.L134:
	.word	.LC11
	.word	.LC17
	.size	recupera_reg, .-recupera_reg
	.section	.rodata
	.align	2
.LC23:
	.ascii	"codEscola\000"
	.align	2
.LC24:
	.ascii	"dataInicio\000"
	.align	2
.LC25:
	.ascii	"dataFinal\000"
	.align	2
.LC26:
	.ascii	"nomeEscola\000"
	.align	2
.LC27:
	.ascii	"municipio\000"
	.align	2
.LC28:
	.ascii	"endereco\000"
	.text
	.align	2
	.global	pesquisa_campo
	.syntax unified
	.arm
	.fpu softvfp
	.type	pesquisa_campo, %function
pesquisa_campo:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-24]
	ldr	r1, .L150
	ldr	r0, [fp, #-40]
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	verifica_status
	mov	r3, r0
	cmp	r3, #0
	beq	.L149
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	atualizaStatus
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	fseek
	ldr	r0, [fp, #-20]
	bl	ftell
	str	r0, [fp, #-16]
	mov	r2, #0
	mov	r1, #5
	ldr	r0, [fp, #-20]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L139
.L147:
	ldr	r0, [fp, #-20]
	bl	existencia_registro
	mov	r3, r0
	cmp	r3, #0
	beq	.L140
	ldr	r0, [fp, #-20]
	bl	le_bin_escola
	str	r0, [fp, #-12]
	ldr	r1, .L150+4
	ldr	r0, [fp, #-28]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L141
	ldr	r0, [fp, #-24]
	bl	atoi
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L142
	ldr	r0, [fp, #-12]
	bl	print_escola
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L142
.L141:
	ldr	r1, .L150+8
	ldr	r0, [fp, #-28]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L143
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L142
	ldr	r0, [fp, #-12]
	bl	print_escola
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L142
.L143:
	ldr	r1, .L150+12
	ldr	r0, [fp, #-28]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L144
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L142
	ldr	r0, [fp, #-12]
	bl	print_escola
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L142
.L144:
	ldr	r1, .L150+16
	ldr	r0, [fp, #-28]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L145
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L142
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L142
	ldr	r0, [fp, #-12]
	bl	print_escola
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L142
.L145:
	ldr	r1, .L150+20
	ldr	r0, [fp, #-28]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L146
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L142
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #24]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L142
	ldr	r0, [fp, #-12]
	bl	print_escola
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L142
.L146:
	ldr	r1, .L150+24
	ldr	r0, [fp, #-28]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L142
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L142
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #32]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L142
	ldr	r0, [fp, #-12]
	bl	print_escola
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L142:
	ldr	r0, [fp, #-12]
	bl	free_escola
	b	.L139
.L140:
	mov	r2, #1
	mov	r1, #112
	ldr	r0, [fp, #-20]
	bl	fseek
.L139:
	ldr	r0, [fp, #-20]
	bl	ftell
	mov	r2, r0
	ldr	r3, [fp, #-16]
	cmp	r3, r2
	bgt	.L147
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L148
	ldr	r0, .L150+28
	bl	puts
.L148:
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	atualizaStatus
	ldr	r0, [fp, #-20]
	bl	fclose
	b	.L136
.L149:
	nop
.L136:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L151:
	.align	2
.L150:
	.word	.LC11
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC17
	.size	pesquisa_campo, .-pesquisa_campo
	.align	2
	.global	recupera_dados
	.syntax unified
	.arm
	.fpu softvfp
	.type	recupera_dados, %function
recupera_dados:
	@ 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, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r1, .L162
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	verifica_status
	mov	r3, r0
	cmp	r3, #0
	beq	.L161
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	atualizaStatus
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r0, [fp, #-16]
	bl	ftell
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	bne	.L155
	ldr	r0, .L162+4
	bl	puts
	b	.L156
.L155:
	mov	r2, #0
	mov	r1, #5
	ldr	r0, [fp, #-16]
	bl	fseek
	b	.L157
.L159:
	ldr	r0, [fp, #-16]
	bl	existencia_registro
	mov	r3, r0
	cmp	r3, #0
	beq	.L158
	ldr	r0, [fp, #-16]
	bl	le_bin_escola
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	print_escola
	ldr	r0, [fp, #-8]
	bl	free_escola
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L157
.L158:
	mov	r2, #1
	mov	r1, #112
	ldr	r0, [fp, #-16]
	bl	fseek
.L157:
	ldr	r0, [fp, #-16]
	bl	ftell
	mov	r2, r0
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	bgt	.L159
.L156:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L160
	ldr	r0, .L162+4
	bl	puts
.L160:
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	atualizaStatus
	ldr	r0, [fp, #-16]
	bl	fclose
	b	.L152
.L161:
	nop
.L152:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L163:
	.align	2
.L162:
	.word	.LC11
	.word	.LC17
	.size	recupera_dados, .-recupera_dados
	.section	.rodata
	.align	2
.LC29:
	.ascii	"r\000"
	.align	2
.LC30:
	.ascii	"Falha no carregamento do arquivo.\000"
	.align	2
.LC31:
	.ascii	"%m[^\015\012]%*[\015\012]\000"
	.align	2
.LC32:
	.ascii	"Arquivo carregado.\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	le_csv
	.syntax unified
	.arm
	.fpu softvfp
	.type	le_csv, %function
le_csv:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L170
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L170+4
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L165
	ldr	r0, .L170+8
	bl	puts
	b	.L164
.L165:
	ldr	r1, .L170+12
	ldr	r0, [fp, #-36]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	criaCabecalho
	b	.L167
.L168:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	parse_linha
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	escreve_bin_escola
	ldr	r0, [fp, #-12]
	bl	free_escola
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	free
.L167:
	sub	r3, fp, #24
	mov	r2, r3
	ldr	r1, .L170+16
	ldr	r0, [fp, #-20]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L168
	ldr	r0, [fp, #-20]
	bl	fclose
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	atualizaStatus
	ldr	r0, [fp, #-16]
	bl	fclose
	ldr	r0, .L170+20
	bl	puts
.L164:
	ldr	r3, .L170
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L169
	bl	__stack_chk_fail
.L169:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L171:
	.align	2
.L170:
	.word	.LC33
	.word	.LC29
	.word	.LC30
	.word	.LC15
	.word	.LC31
	.word	.LC32
	.size	le_csv, .-le_csv
	.section	.rodata
	.align	2
.LC34:
	.ascii	"saida.bin\000"
	.align	2
.LC35:
	.ascii	"Operacao \"%d\" nao reconhecida\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L186
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L173
	ldr	r0, .L186+4
	bl	puts
	mov	r3, #0
	b	.L174
.L173:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #9
	bgt	.L175
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L176
.L175:
	ldr	r1, [fp, #-20]
	ldr	r0, .L186+8
	bl	printf
	mov	r3, #0
	b	.L174
.L176:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L177
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-8]
	bl	le_csv
	b	.L178
.L177:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L179
	ldr	r0, [fp, #-24]
	bl	recupera_dados
	b	.L178
.L179:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	bne	.L180
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	pesquisa_campo
	b	.L178
.L180:
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	bne	.L181
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	recupera_reg
	b	.L178
.L181:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	bne	.L182
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	remocao_logica
	b	.L178
.L182:
	ldr	r3, [fp, #-20]
	cmp	r3, #6
	bne	.L183
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	insere_registro
	b	.L178
.L183:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	bne	.L184
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	atualiza_registro
	b	.L178
.L184:
	ldr	r3, [fp, #-20]
	cmp	r3, #8
	bne	.L185
	ldr	r0, [fp, #-24]
	bl	desfragmenta
	b	.L178
.L185:
	ldr	r0, [fp, #-24]
	bl	recupera_pilha
.L178:
	mov	r3, #0
.L174:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L187:
	.align	2
.L186:
	.word	.LC34
	.word	.LC0
	.word	.LC35
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
