	.file	"93051.c"
	.intel_syntax noprefix
	.text
	.globl	secao
	.bss
	.align 32
	.type	secao, @object
	.size	secao, 320
secao:
	.zero	320
	.section	.rodata
.LC0:
	.string	"rb+"
.LC1:
	.string	"secao.bin"
.LC2:
	.string	"\nArquivo inexistente!"
.LC3:
	.string	"\n-----------------------"
.LC4:
	.string	"Secao ja cadastrada!"
.LC5:
	.string	"-----------------------"
.LC6:
	.string	"pause"
.LC7:
	.string	"cls"
	.align 8
.LC8:
	.string	"\n-----------------------------------"
.LC9:
	.string	"      Prossiga o cadastro:"
	.align 8
.LC10:
	.string	"-----------------------------------"
	.align 8
.LC11:
	.string	"Digite o nome da escola/local de votacao: "
.LC12:
	.string	"Digite o bairro de votacao: "
	.align 8
.LC13:
	.string	"Digite o CEP do local de votacao: "
.LC14:
	.string	"%ld"
	.align 8
.LC15:
	.string	"Digite o endereco de votacao: "
	.align 8
.LC16:
	.string	"---------------------------------------------------"
	.align 8
.LC17:
	.string	"\tCadastro realizado com sucesso!"
.LC18:
	.string	"Secao: %ld\n"
.LC19:
	.string	"Local de votacao: %s\n"
.LC20:
	.string	"Endereco de votacao: %s\n"
.LC21:
	.string	"Bairro: %s\n"
.LC22:
	.string	"CEP: %ld\n"
	.text
	.globl	verificar_secao
	.type	verificar_secao, @function
verificar_secao:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	jmp	.L3
.L4:
	mov	rax, QWORD PTR secao[rip]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L3
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	system@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 320
	lea	rdi, secao[rip]
	call	fread@PLT
	test	rax, rax
	jne	.L4
	lea	rdi, .LC7[rip]
	call	system@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR secao[rip], rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, secao[rip+8]
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, secao[rip+208]
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+312]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, secao[rip+108]
	mov	eax, 0
	call	gets@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 320
	lea	rdi, secao[rip]
	call	fwrite@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	rax, QWORD PTR secao[rip]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+8]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+108]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+208]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR secao[rip+312]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	system@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	verificar_secao, .-verificar_secao
	.section	.rodata
.LC23:
	.string	"ab"
.LC24:
	.string	"Erro ao abrir arquivo"
	.align 8
.LC25:
	.string	"\n-----------------------------"
.LC26:
	.string	"Digite o numero da secao: "
	.text
	.globl	inclusao_secao
	.type	inclusao_secao, @function
inclusao_secao:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC23[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L6
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L6:
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	verificar_secao
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L5:
	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
.LFE7:
	.size	inclusao_secao, .-inclusao_secao
	.section	.rodata
.LC27:
	.string	"rb"
	.align 8
.LC28:
	.string	"\n---------------------------------------------------"
	.text
	.globl	listar_secao
	.type	listar_secao, @function
listar_secao:
.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
	lea	rsi, .LC27[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L12
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L13:
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	rax, QWORD PTR secao[rip]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+8]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+108]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+208]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR secao[rip+312]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
.L12:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 320
	lea	rdi, secao[rip]
	call	fread@PLT
	test	rax, rax
	jne	.L13
	lea	rdi, .LC6[rip]
	call	system@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	listar_secao, .-listar_secao
	.section	.rodata
.LC29:
	.string	"Arquivo inexistente!"
	.align 8
.LC30:
	.string	"\n-----------------------------------------"
	.align 8
.LC31:
	.string	"Digite o numero da secao que procura: "
.LC32:
	.string	"\n------------------------"
.LC33:
	.string	"Secao nao cadastrada!"
.LC34:
	.string	"------------------------"
	.text
	.globl	consultar_secao
	.type	consultar_secao, @function
consultar_secao:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	lea	rsi, .LC27[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L15
	lea	rdi, .LC29[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	lea	rdi, .LC30[rip]
	call	puts@PLT
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L16
.L17:
	mov	rdx, QWORD PTR secao[rip]
	mov	rax, QWORD PTR -32[rbp]
	cmp	rdx, rax
	jne	.L16
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	rax, QWORD PTR secao[rip]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+8]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+108]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+208]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR secao[rip+312]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	QWORD PTR -24[rbp], 1
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 320
	lea	rdi, secao[rip]
	call	fread@PLT
	test	rax, rax
	jne	.L17
	cmp	QWORD PTR -24[rbp], 1
	je	.L18
	lea	rdi, .LC32[rip]
	call	puts@PLT
	lea	rdi, .LC33[rip]
	call	puts@PLT
	lea	rdi, .LC34[rip]
	call	puts@PLT
.L18:
	lea	rdi, .LC6[rip]
	call	system@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	consultar_secao, .-consultar_secao
	.section	.rodata
.LC35:
	.string	"\nErro ao abrir arquivo!"
	.text
	.globl	posicao_secao
	.type	posicao_secao, @function
posicao_secao:
.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
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L21
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	QWORD PTR -16[rbp], 0
	jmp	.L22
.L25:
	mov	rax, QWORD PTR secao[rip]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L23
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L24
.L23:
	add	QWORD PTR -16[rbp], 320
.L22:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 320
	lea	rdi, secao[rip]
	call	fread@PLT
	test	rax, rax
	jne	.L25
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, -1
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	posicao_secao, .-posicao_secao
	.section	.rodata
	.align 8
.LC36:
	.string	"Digite a secao que deseja alterar: "
.LC37:
	.string	"Novo numero da secao: "
.LC38:
	.string	"Novo local de votacao: "
.LC39:
	.string	"Novo endereco de votacao: "
.LC40:
	.string	"Novo bairro: "
.LC41:
	.string	"Novo CEP: "
.LC42:
	.string	"\tCadastro alterado"
.LC43:
	.string	"\nSecao nao existe no sistema!"
	.text
	.globl	alterar_secao
	.type	alterar_secao, @function
alterar_secao:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L27
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	posicao_secao
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR secao[rip]
	mov	rax, QWORD PTR -32[rbp]
	cmp	rdx, rax
	jne	.L28
	lea	rdi, .LC7[rip]
	call	system@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	rax, QWORD PTR secao[rip]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+8]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+108]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+208]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR secao[rip+312]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, secao[rip+8]
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC39[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, secao[rip+108]
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC40[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, secao[rip+208]
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC41[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+312]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rcx, QWORD PTR -16[rbp]
	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	rcx, rax
	mov	edx, 1
	mov	esi, 320
	lea	rdi, secao[rip]
	call	fwrite@PLT
	lea	rdi, .LC28[rip]
	call	puts@PLT
	lea	rdi, .LC42[rip]
	call	puts@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	rax, QWORD PTR secao[rip]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+8]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+108]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+208]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR secao[rip+312]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	system@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L30
	jmp	.L31
.L28:
	lea	rdi, .LC43[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L31:
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	alterar_secao, .-alterar_secao
	.section	.rodata
.LC44:
	.string	"wb+"
.LC45:
	.string	"exclusao.bin"
	.align 8
.LC46:
	.string	"\n------------------------------------"
	.align 8
.LC47:
	.string	"Digite a secao que deseja excluir: "
	.align 8
.LC48:
	.string	"\n------------ Secao excluida ------------"
	.align 8
.LC49:
	.string	"\n----------------------------------------"
	.text
	.globl	excluir_secao
	.type	excluir_secao, @function
excluir_secao:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rsi, .LC44[rip]
	lea	rdi, .LC45[rip]
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC46[rip]
	call	puts@PLT
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L33
.L35:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR secao[rip]
	cmp	rdx, rax
	jne	.L34
	lea	rdi, .LC48[rip]
	call	puts@PLT
	lea	rdi, .LC49[rip]
	call	puts@PLT
	mov	rax, QWORD PTR secao[rip]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+8]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+108]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, secao[rip+208]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR secao[rip+312]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC49[rip]
	call	puts@PLT
	jmp	.L33
.L34:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 320
	lea	rdi, secao[rip]
	call	fwrite@PLT
.L33:
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 320
	lea	rdi, secao[rip]
	call	fread@PLT
	cmp	rax, 1
	je	.L35
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC1[rip]
	call	remove@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, .LC45[rip]
	call	rename@PLT
	lea	rdi, .LC6[rip]
	call	system@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	excluir_secao, .-excluir_secao
	.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	"93051.c"
	.text
	.comm	secao,308,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rb+\000"
	.align	2
.LC1:
	.ascii	"secao.bin\000"
	.align	2
.LC2:
	.ascii	"\012Arquivo inexistente!\000"
	.align	2
.LC3:
	.ascii	"\012-----------------------\000"
	.align	2
.LC4:
	.ascii	"Secao ja cadastrada!\000"
	.align	2
.LC5:
	.ascii	"-----------------------\000"
	.align	2
.LC6:
	.ascii	"pause\000"
	.align	2
.LC7:
	.ascii	"cls\000"
	.align	2
.LC8:
	.ascii	"\012-----------------------------------\000"
	.align	2
.LC9:
	.ascii	"      Prossiga o cadastro:\000"
	.align	2
.LC10:
	.ascii	"-----------------------------------\000"
	.align	2
.LC11:
	.ascii	"Digite o nome da escola/local de votacao: \000"
	.align	2
.LC12:
	.ascii	"Digite o bairro de votacao: \000"
	.align	2
.LC13:
	.ascii	"Digite o CEP do local de votacao: \000"
	.align	2
.LC14:
	.ascii	"%ld\000"
	.align	2
.LC15:
	.ascii	"Digite o endereco de votacao: \000"
	.align	2
.LC16:
	.ascii	"---------------------------------------------------"
	.ascii	"\000"
	.align	2
.LC17:
	.ascii	"\011Cadastro realizado com sucesso!\000"
	.align	2
.LC18:
	.ascii	"Secao: %ld\012\000"
	.align	2
.LC19:
	.ascii	"Local de votacao: %s\012\000"
	.align	2
.LC20:
	.ascii	"Endereco de votacao: %s\012\000"
	.align	2
.LC21:
	.ascii	"Bairro: %s\012\000"
	.align	2
.LC22:
	.ascii	"CEP: %ld\012\000"
	.text
	.align	2
	.global	verificar_secao
	.syntax unified
	.arm
	.fpu softvfp
	.type	verificar_secao, %function
verificar_secao:
	@ 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	r1, .L5
	ldr	r0, .L5+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L5+8
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	fseek
	b	.L3
.L4:
	ldr	r3, .L5+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L3
	ldr	r0, .L5+16
	bl	puts
	ldr	r0, .L5+20
	bl	puts
	ldr	r0, .L5+24
	bl	puts
	ldr	r0, .L5+28
	bl	system
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #308
	ldr	r0, .L5+12
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L5+32
	bl	system
	ldr	r0, .L5+36
	bl	puts
	ldr	r0, .L5+40
	bl	puts
	ldr	r0, .L5+44
	bl	puts
	ldr	r2, .L5+12
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r0, .L5+48
	bl	printf
	ldr	r3, .L5+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L5+56
	bl	gets
	ldr	r0, .L5+60
	bl	printf
	ldr	r3, .L5+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L5+64
	bl	gets
	ldr	r0, .L5+68
	bl	printf
	ldr	r1, .L5+72
	ldr	r0, .L5+76
	bl	__isoc99_scanf
	ldr	r0, .L5+80
	bl	printf
	ldr	r3, .L5+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L5+84
	bl	gets
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	fseek
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #308
	ldr	r0, .L5+12
	bl	fwrite
	ldr	r0, .L5+88
	bl	puts
	ldr	r0, .L5+92
	bl	puts
	ldr	r0, .L5+88
	bl	puts
	ldr	r3, .L5+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L5+96
	bl	printf
	ldr	r1, .L5+56
	ldr	r0, .L5+100
	bl	printf
	ldr	r1, .L5+84
	ldr	r0, .L5+104
	bl	printf
	ldr	r1, .L5+64
	ldr	r0, .L5+108
	bl	printf
	ldr	r3, .L5+12
	ldr	r3, [r3, #304]
	mov	r1, r3
	ldr	r0, .L5+112
	bl	printf
	ldr	r0, .L5+88
	bl	puts
	ldr	r0, .L5+28
	bl	system
	ldr	r0, [fp, #-8]
	bl	fclose
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	secao
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	stdin
	.word	secao+4
	.word	.LC12
	.word	secao+204
	.word	.LC13
	.word	secao+304
	.word	.LC14
	.word	.LC15
	.word	secao+104
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	verificar_secao, .-verificar_secao
	.section	.rodata
	.align	2
.LC23:
	.ascii	"ab\000"
	.align	2
.LC24:
	.ascii	"Erro ao abrir arquivo\000"
	.align	2
.LC25:
	.ascii	"\012-----------------------------\000"
	.align	2
.LC26:
	.ascii	"Digite o numero da secao: \000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inclusao_secao
	.syntax unified
	.arm
	.fpu softvfp
	.type	inclusao_secao, %function
inclusao_secao:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L11+4
	ldr	r0, .L11+8
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L11+12
	bl	printf
	b	.L7
.L8:
	ldr	r0, .L11+16
	bl	puts
	ldr	r0, .L11+20
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L11+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	verificar_secao
	ldr	r0, [fp, #-12]
	bl	fclose
.L7:
	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	.LC27
	.word	.LC23
	.word	.LC1
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC14
	.size	inclusao_secao, .-inclusao_secao
	.section	.rodata
	.align	2
.LC28:
	.ascii	"rb\000"
	.align	2
.LC29:
	.ascii	"\012-----------------------------------------------"
	.ascii	"----\000"
	.text
	.align	2
	.global	listar_secao
	.syntax unified
	.arm
	.fpu softvfp
	.type	listar_secao, %function
listar_secao:
	@ 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	r1, .L18
	ldr	r0, .L18+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L18+8
	bl	printf
	b	.L13
.L17:
	ldr	r0, .L18+12
	bl	puts
	ldr	r3, .L18+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+20
	bl	printf
	ldr	r1, .L18+24
	ldr	r0, .L18+28
	bl	printf
	ldr	r1, .L18+32
	ldr	r0, .L18+36
	bl	printf
	ldr	r1, .L18+40
	ldr	r0, .L18+44
	bl	printf
	ldr	r3, .L18+16
	ldr	r3, [r3, #304]
	mov	r1, r3
	ldr	r0, .L18+48
	bl	printf
	ldr	r0, .L18+52
	bl	puts
.L16:
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #308
	ldr	r0, .L18+16
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r0, .L18+56
	bl	system
	ldr	r0, [fp, #-8]
	bl	fclose
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC28
	.word	.LC1
	.word	.LC2
	.word	.LC29
	.word	secao
	.word	.LC18
	.word	secao+4
	.word	.LC19
	.word	secao+104
	.word	.LC20
	.word	secao+204
	.word	.LC21
	.word	.LC22
	.word	.LC16
	.word	.LC6
	.size	listar_secao, .-listar_secao
	.section	.rodata
	.align	2
.LC30:
	.ascii	"Arquivo inexistente!\000"
	.align	2
.LC31:
	.ascii	"\012-----------------------------------------\000"
	.align	2
.LC32:
	.ascii	"Digite o numero da secao que procura: \000"
	.align	2
.LC33:
	.ascii	"\012------------------------\000"
	.align	2
.LC34:
	.ascii	"Secao nao cadastrada!\000"
	.align	2
.LC35:
	.ascii	"------------------------\000"
	.align	2
.LC36:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	consultar_secao
	.syntax unified
	.arm
	.fpu softvfp
	.type	consultar_secao, %function
consultar_secao:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r1, .L26+4
	ldr	r0, .L26+8
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L26+12
	bl	puts
	mov	r0, #1
	bl	exit
.L21:
	ldr	r0, .L26+16
	bl	puts
	ldr	r0, .L26+20
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L26+24
	bl	__isoc99_scanf
	b	.L22
.L23:
	ldr	r3, .L26+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L22
	ldr	r0, .L26+32
	bl	puts
	ldr	r3, .L26+28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L26+36
	bl	printf
	ldr	r1, .L26+40
	ldr	r0, .L26+44
	bl	printf
	ldr	r1, .L26+48
	ldr	r0, .L26+52
	bl	printf
	ldr	r1, .L26+56
	ldr	r0, .L26+60
	bl	printf
	ldr	r3, .L26+28
	ldr	r3, [r3, #304]
	mov	r1, r3
	ldr	r0, .L26+64
	bl	printf
	ldr	r0, .L26+68
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-16]
.L22:
	ldr	r3, [fp, #-12]
	mov	r2, #1
	mov	r1, #308
	ldr	r0, .L26+28
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L24
	ldr	r0, .L26+72
	bl	puts
	ldr	r0, .L26+76
	bl	puts
	ldr	r0, .L26+80
	bl	puts
.L24:
	ldr	r0, .L26+84
	bl	system
	ldr	r0, [fp, #-12]
	bl	fclose
	nop
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC36
	.word	.LC28
	.word	.LC1
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC14
	.word	secao
	.word	.LC29
	.word	.LC18
	.word	secao+4
	.word	.LC19
	.word	secao+104
	.word	.LC20
	.word	secao+204
	.word	.LC21
	.word	.LC22
	.word	.LC16
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC6
	.size	consultar_secao, .-consultar_secao
	.section	.rodata
	.align	2
.LC37:
	.ascii	"\012Erro ao abrir arquivo!\000"
	.text
	.align	2
	.global	posicao_secao
	.syntax unified
	.arm
	.fpu softvfp
	.type	posicao_secao, %function
posicao_secao:
	@ 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	r1, .L34
	ldr	r0, .L34+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L29
	ldr	r0, .L34+8
	bl	puts
	mov	r0, #1
	bl	exit
.L29:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L30
.L33:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L31
	ldr	r3, [fp, #-12]
	b	.L32
.L31:
	ldr	r3, [fp, #-12]
	add	r3, r3, #308
	str	r3, [fp, #-12]
.L30:
	ldr	r3, [fp, #-8]
	mov	r2, #1
	mov	r1, #308
	ldr	r0, .L34+12
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	ldr	r0, [fp, #-8]
	bl	fclose
	mvn	r3, #0
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC0
	.word	.LC1
	.word	.LC37
	.word	secao
	.size	posicao_secao, .-posicao_secao
	.section	.rodata
	.align	2
.LC38:
	.ascii	"Digite a secao que deseja alterar: \000"
	.align	2
.LC39:
	.ascii	"Novo numero da secao: \000"
	.align	2
.LC40:
	.ascii	"Novo local de votacao: \000"
	.align	2
.LC41:
	.ascii	"Novo endereco de votacao: \000"
	.align	2
.LC42:
	.ascii	"Novo bairro: \000"
	.align	2
.LC43:
	.ascii	"Novo CEP: \000"
	.align	2
.LC44:
	.ascii	"\011Cadastro alterado\000"
	.align	2
.LC45:
	.ascii	"\012Secao nao existe no sistema!\000"
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	alterar_secao
	.syntax unified
	.arm
	.fpu softvfp
	.type	alterar_secao, %function
alterar_secao:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L42+4
	ldr	r0, .L42+8
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L37
	ldr	r0, .L42+12
	bl	puts
	mov	r0, #1
	bl	exit
.L37:
	ldr	r0, .L42+16
	bl	puts
	ldr	r0, .L42+20
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L42+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	posicao_secao
	str	r0, [fp, #-12]
	ldr	r3, .L42+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L38
	ldr	r0, .L42+32
	bl	system
	ldr	r0, .L42+36
	bl	puts
	ldr	r3, .L42+28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L42+40
	bl	printf
	ldr	r1, .L42+44
	ldr	r0, .L42+48
	bl	printf
	ldr	r1, .L42+52
	ldr	r0, .L42+56
	bl	printf
	ldr	r1, .L42+60
	ldr	r0, .L42+64
	bl	printf
	ldr	r3, .L42+28
	ldr	r3, [r3, #304]
	mov	r1, r3
	ldr	r0, .L42+68
	bl	printf
	ldr	r0, .L42+72
	bl	puts
	ldr	r0, .L42+36
	bl	puts
	ldr	r0, .L42+76
	bl	printf
	ldr	r1, .L42+28
	ldr	r0, .L42+24
	bl	__isoc99_scanf
	ldr	r0, .L42+80
	bl	printf
	ldr	r3, .L42+84
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L42+44
	bl	gets
	ldr	r0, .L42+88
	bl	printf
	ldr	r3, .L42+84
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L42+52
	bl	gets
	ldr	r0, .L42+92
	bl	printf
	ldr	r3, .L42+84
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L42+60
	bl	gets
	ldr	r0, .L42+96
	bl	printf
	ldr	r1, .L42+100
	ldr	r0, .L42+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r3, [fp, #-16]
	mov	r2, #1
	mov	r1, #308
	ldr	r0, .L42+28
	bl	fwrite
	ldr	r0, .L42+36
	bl	puts
	ldr	r0, .L42+104
	bl	puts
	ldr	r0, .L42+72
	bl	puts
	ldr	r3, .L42+28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L42+40
	bl	printf
	ldr	r1, .L42+44
	ldr	r0, .L42+48
	bl	printf
	ldr	r1, .L42+52
	ldr	r0, .L42+56
	bl	printf
	ldr	r1, .L42+60
	ldr	r0, .L42+64
	bl	printf
	ldr	r3, .L42+28
	ldr	r3, [r3, #304]
	mov	r1, r3
	ldr	r0, .L42+68
	bl	printf
	ldr	r0, .L42+72
	bl	puts
	ldr	r0, .L42+108
	bl	system
	ldr	r0, [fp, #-16]
	bl	fclose
	nop
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L40
	b	.L41
.L38:
	ldr	r0, .L42+112
	bl	puts
	mov	r0, #1
	bl	exit
.L41:
	bl	__stack_chk_fail
.L40:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC46
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC8
	.word	.LC38
	.word	.LC14
	.word	secao
	.word	.LC7
	.word	.LC29
	.word	.LC18
	.word	secao+4
	.word	.LC19
	.word	secao+104
	.word	.LC20
	.word	secao+204
	.word	.LC21
	.word	.LC22
	.word	.LC16
	.word	.LC39
	.word	.LC40
	.word	stdin
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	secao+304
	.word	.LC44
	.word	.LC6
	.word	.LC45
	.size	alterar_secao, .-alterar_secao
	.section	.rodata
	.align	2
.LC47:
	.ascii	"wb+\000"
	.align	2
.LC48:
	.ascii	"exclusao.bin\000"
	.align	2
.LC49:
	.ascii	"\012------------------------------------\000"
	.align	2
.LC50:
	.ascii	"Digite a secao que deseja excluir: \000"
	.align	2
.LC51:
	.ascii	"\012------------ Secao excluida ------------\000"
	.align	2
.LC52:
	.ascii	"\012----------------------------------------\000"
	.align	2
.LC53:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	excluir_secao
	.syntax unified
	.arm
	.fpu softvfp
	.type	excluir_secao, %function
excluir_secao:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L49+4
	ldr	r0, .L49+8
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r1, .L49+12
	ldr	r0, .L49+16
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r0, .L49+20
	bl	puts
	ldr	r0, .L49+24
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L49+28
	bl	__isoc99_scanf
	b	.L45
.L47:
	ldr	r3, .L49+32
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L46
	ldr	r0, .L49+36
	bl	puts
	ldr	r0, .L49+40
	bl	puts
	ldr	r3, .L49+32
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L49+44
	bl	printf
	ldr	r1, .L49+48
	ldr	r0, .L49+52
	bl	printf
	ldr	r1, .L49+56
	ldr	r0, .L49+60
	bl	printf
	ldr	r1, .L49+64
	ldr	r0, .L49+68
	bl	printf
	ldr	r3, .L49+32
	ldr	r3, [r3, #304]
	mov	r1, r3
	ldr	r0, .L49+72
	bl	printf
	ldr	r0, .L49+40
	bl	puts
	b	.L45
.L46:
	ldr	r3, [fp, #-12]
	mov	r2, #1
	mov	r1, #308
	ldr	r0, .L49+32
	bl	fwrite
.L45:
	ldr	r3, [fp, #-16]
	mov	r2, #1
	mov	r1, #308
	ldr	r0, .L49+32
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L47
	ldr	r0, [fp, #-16]
	bl	fclose
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r0, .L49+8
	bl	remove
	ldr	r1, .L49+8
	ldr	r0, .L49+16
	bl	rename
	ldr	r0, .L49+76
	bl	system
	nop
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC53
	.word	.LC0
	.word	.LC1
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC14
	.word	secao
	.word	.LC51
	.word	.LC52
	.word	.LC18
	.word	secao+4
	.word	.LC19
	.word	secao+104
	.word	.LC20
	.word	secao+204
	.word	.LC21
	.word	.LC22
	.word	.LC6
	.size	excluir_secao, .-excluir_secao
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
