	.file	"4901.c"
	.intel_syntax noprefix
	.text
	.globl	inicializa_users
	.type	inicializa_users, @function
inicializa_users:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 1
	jmp	.L2
.L3:
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 252[rax], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	DWORD PTR [rax], 1953460082
	mov	BYTE PTR 4[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 20[rax], 3
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 24
	mov	DWORD PTR [rax], 1851880034
	mov	WORD PTR 4[rax], 28515
	mov	BYTE PTR 6[rax], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	inicializa_users, .-inicializa_users
	.section	.rodata
	.align 8
.LC0:
	.string	"|----Nome-------|Nivel|---Senha--|"
.LC1:
	.string	"|%15s"
.LC2:
	.string	"|%5d"
.LC3:
	.string	"|%10s"
.LC4:
	.string	"|"
	.align 8
.LC5:
	.string	"|---------------|-----|----------|"
	.text
	.globl	imprime_users
	.type	imprime_users, @function
imprime_users:
.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L7:
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L6
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 20
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L6:
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 252[rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L7
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	imprime_users, .-imprime_users
	.section	.rodata
.LC6:
	.string	"Escreva o nome do ususario"
.LC7:
	.string	"%s"
.LC8:
	.string	"Escreva a senha do usuario"
.LC9:
	.string	"Repita sua senha"
	.align 8
.LC10:
	.string	"Qual eh o nivel do usuario?\n(1,2 ou 3)"
.LC11:
	.string	"%d"
.LC12:
	.string	"Opcao de nivel invalida"
	.text
	.globl	le_user
	.type	le_user, @function
le_user:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32[rbp], 1
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -64[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L10:
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -18[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -18[rbp]
	lea	rax, -28[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jne	.L9
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	lea	rdx, 8[rax]
	lea	rax, -28[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
.L9:
	cmp	DWORD PTR -32[rbp], 0
	jne	.L10
.L12:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 3
	setg	dl
	mov	eax, DWORD PTR -36[rbp]
	shr	eax, 31
	or	eax, edx
	test	al, al
	je	.L11
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 3
	setg	dl
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	setle	al
	or	eax, edx
	test	al, al
	jne	.L12
	mov	edx, DWORD PTR -36[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 3
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	add	rax, 20
	mov	DWORD PTR [rax], edx
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], 1
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	le_user, .-le_user
	.globl	add_user
	.type	add_user, @function
add_user:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L15
.L18:
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L16
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], 1
.L16:
	add	DWORD PTR -12[rbp], 1
.L15:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 252[rax]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L18
.L17:
	cmp	DWORD PTR -4[rbp], 0
	je	.L19
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	le_user
	jmp	.L21
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 252[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 252[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 252[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	le_user
.L21:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	add_user, .-add_user
	.section	.rodata
	.align 8
.LC13:
	.string	"Digite o nome do usuario a ser removido:"
	.align 8
.LC14:
	.string	"Usuario %s encontrado,tem certeza que deseja remove-lo?\n\n1:sim\n2:nao\n"
.LC15:
	.string	"Usuario %s nao encontrado."
	.text
	.globl	remove_user
	.type	remove_user, @function
remove_user:
.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, 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
	mov	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	imprime_users
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L23
.L26:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -56[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -23[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L24
	mov	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -32[rbp], eax
.L24:
	add	DWORD PTR -36[rbp], 1
.L23:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L25
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 252[rax]
	cmp	DWORD PTR -36[rbp], eax
	jle	.L26
.L25:
	cmp	DWORD PTR -28[rbp], 0
	je	.L27
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	je	.L30
	mov	rcx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], 0
	jmp	.L30
.L27:
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	remove_user, .-remove_user
	.section	.rodata
	.align 8
.LC16:
	.string	"Escreva o nome do usuario que voce deseja editar: "
	.align 8
.LC17:
	.string	"Qual campo voce deseja alterar?\n1:Nivel\n2:senha"
	.align 8
.LC18:
	.string	"O nivel atual eh %d. Qual sera o novo nivel?"
.LC19:
	.string	"Qual sera a nova senha?"
.LC20:
	.string	"Usuario nao encontrado"
	.text
	.globl	edita_user
	.type	edita_user, @function
edita_user:
.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, 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
	mov	DWORD PTR -28[rbp], 0
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L32
.L35:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -56[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rax, -23[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
	mov	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -32[rbp], eax
.L33:
	add	DWORD PTR -36[rbp], 1
.L32:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L34
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 252[rax]
	cmp	DWORD PTR -36[rbp], eax
	jle	.L35
.L34:
	cmp	DWORD PTR -28[rbp], 0
	je	.L36
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 1
	je	.L37
	cmp	eax, 2
	je	.L38
	jmp	.L42
.L37:
	mov	rcx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 20
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L40
.L38:
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	add	rax, 8
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L40
.L36:
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L42
.L40:
.L42:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	edita_user, .-edita_user
	.section	.rodata
.LC21:
	.string	"Digite sua senha atual:"
.LC22:
	.string	"Digite sua nova senha:"
.LC23:
	.string	"Confirme sua nova senha:"
	.align 8
.LC24:
	.string	"As senhas nao conferem! Por favor tente novamente."
	.text
	.globl	muda_senha_user
	.type	muda_senha_user, @function
muda_senha_user:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -48[rbp], -1
	mov	DWORD PTR -44[rbp], 0
	jmp	.L44
.L46:
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -80[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L45
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -48[rbp], eax
.L45:
	add	DWORD PTR -52[rbp], 1
.L44:
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR 252[rax]
	cmp	DWORD PTR -52[rbp], eax
	jle	.L46
	cmp	DWORD PTR -48[rbp], -1
	jne	.L47
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L53
.L47:
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -38[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -48[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	lea	rdx, 8[rax]
	lea	rax, -38[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L53
.L51:
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -18[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdx, -18[rbp]
	lea	rax, -28[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L49
	mov	DWORD PTR -44[rbp], 1
	jmp	.L50
.L49:
	lea	rdi, .LC24[rip]
	call	puts@PLT
.L50:
	cmp	DWORD PTR -44[rbp], 0
	je	.L51
.L53:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	muda_senha_user, .-muda_senha_user
	.globl	checa_user
	.type	checa_user, @function
checa_user:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L55
.L58:
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L56
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L56
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L56
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 20
	mov	eax, DWORD PTR [rax]
	jmp	.L57
.L56:
	add	DWORD PTR -4[rbp], 1
.L55:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 252[rax]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L58
	mov	eax, -1
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	checa_user, .-checa_user
	.section	.rodata
.LC25:
	.string	"w+b"
.LC26:
	.string	"..//db//USUARIOS.DAT"
	.align 8
.LC27:
	.string	"O arquivo nao pode ser aberto.\n"
	.text
	.globl	salva_usuarios
	.type	salva_usuarios, @function
salva_usuarios:
.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, 16
	lea	rsi, .LC25[rip]
	lea	rdi, .LC26[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L60
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L61
.L60:
	mov	eax, DWORD PTR 268[rbp]
	cdqe
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 256
	lea	rdi, 16[rbp]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	salva_usuarios, .-salva_usuarios
	.section	.rodata
.LC28:
	.string	"rb"
	.align 8
.LC29:
	.string	"O arquivo nao pode ser aberto..\n"
	.text
	.globl	le_arq_usuarios
	.type	le_arq_usuarios, @function
le_arq_usuarios:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	lea	rsi, .LC28[rip]
	lea	rdi, .LC26[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L63
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L64
.L63:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 50
	mov	esi, 256
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	le_arq_usuarios, .-le_arq_usuarios
	.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	"4901.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"root\000"
	.align	2
.LC1:
	.ascii	"branco\000"
	.text
	.align	2
	.global	inicializa_users
	.syntax unified
	.arm
	.fpu softvfp
	.type	inicializa_users, %function
inicializa_users:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L3
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3, #252]
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r2, .L4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	mov	r2, #3
	str	r2, [r3, #20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	ldr	r2, .L4+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #7
	mov	r2, r3
	bl	memcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.size	inicializa_users, .-inicializa_users
	.section	.rodata
	.align	2
.LC2:
	.ascii	"|----Nome-------|Nivel|---Senha--|\000"
	.align	2
.LC3:
	.ascii	"|%15s\000"
	.align	2
.LC4:
	.ascii	"|%5d\000"
	.align	2
.LC5:
	.ascii	"|%10s\000"
	.align	2
.LC6:
	.ascii	"|\000"
	.align	2
.LC7:
	.ascii	"|---------------|-----|----------|\000"
	.text
	.align	2
	.global	imprime_users
	.syntax unified
	.arm
	.fpu softvfp
	.type	imprime_users, %function
imprime_users:
	@ 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	r0, .L10
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L9:
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L8
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L10+4
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+8
	bl	printf
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #24
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	ldr	r0, .L10+16
	bl	puts
.L8:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #252]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L9
	ldr	r0, .L10+20
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	imprime_users, .-imprime_users
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Escreva o nome do ususario\000"
	.align	2
.LC9:
	.ascii	"%s\000"
	.align	2
.LC10:
	.ascii	"Escreva a senha do usuario\000"
	.align	2
.LC11:
	.ascii	"Repita sua senha\000"
	.align	2
.LC12:
	.ascii	"Qual eh o nivel do usuario?\012(1,2 ou 3)\000"
	.align	2
.LC13:
	.ascii	"%d\000"
	.align	2
.LC14:
	.ascii	"Opcao de nivel invalida\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	le_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	le_user, %function
le_user:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-36]
	ldr	r0, .L18+4
	bl	puts
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
.L14:
	ldr	r0, .L18+12
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	ldr	r0, .L18+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	sub	r2, fp, #20
	sub	r3, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L13
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #24
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	sub	r2, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L13:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L14
.L16:
	ldr	r0, .L18+20
	bl	puts
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L18+24
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	movgt	r3, #1
	movle	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-40]
	lsr	r3, r3, #31
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L15
	ldr	r0, .L18+28
	bl	printf
.L15:
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	movgt	r3, #1
	movle	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L16
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #20
	str	r1, [r3]
	ldr	r1, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #1
	str	r2, [r3]
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC15
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	le_user, .-le_user
	.align	2
	.global	add_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_user, %function
add_user:
	@ 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, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L21
.L24:
	ldr	r1, [fp, #-24]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L21:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #252]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L24
.L23:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L25
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-12]
	bl	le_user
	b	.L27
.L25:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #252]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3, #252]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #252]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	le_user
.L27:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	add_user, .-add_user
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Digite o nome do usuario a ser removido:\000"
	.align	2
.LC17:
	.ascii	"Usuario %s encontrado,tem certeza que deseja remove"
	.ascii	"-lo?\012\0121:sim\0122:nao\012\000"
	.align	2
.LC18:
	.ascii	"Usuario %s nao encontrado.\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	remove_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_user, %function
remove_user:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-48]
	bl	imprime_users
	ldr	r0, .L37+4
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L37+8
	bl	__isoc99_scanf
	b	.L29
.L32:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	add	r2, r3, #4
	sub	r3, fp, #24
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	mov	r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-32]
.L30:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L29:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #252]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	ble	.L32
.L31:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L33
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L37+12
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L37+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L36
	ldr	r1, [fp, #-48]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3]
	b	.L36
.L33:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L37+20
	bl	printf
.L36:
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC19
	.word	.LC16
	.word	.LC9
	.word	.LC17
	.word	.LC13
	.word	.LC18
	.size	remove_user, .-remove_user
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Escreva o nome do usuario que voce deseja editar: \000"
	.align	2
.LC21:
	.ascii	"Qual campo voce deseja alterar?\0121:Nivel\0122:sen"
	.ascii	"ha\000"
	.align	2
.LC22:
	.ascii	"O nivel atual eh %d. Qual sera o novo nivel?\000"
	.align	2
.LC23:
	.ascii	"Qual sera a nova senha?\000"
	.align	2
.LC24:
	.ascii	"Usuario nao encontrado\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	edita_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	edita_user, %function
edita_user:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r0, .L51+4
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L51+8
	bl	__isoc99_scanf
	b	.L40
.L43:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	add	r2, r3, #4
	sub	r3, fp, #24
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L41
	mov	r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-32]
.L41:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L40:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #252]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	ble	.L43
.L42:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L44
	ldr	r0, .L51+12
	bl	puts
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L51+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	beq	.L45
	cmp	r3, #2
	beq	.L46
	b	.L50
.L45:
	ldr	r1, [fp, #-48]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L51+20
	bl	printf
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #16
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L51+16
	bl	__isoc99_scanf
	b	.L48
.L46:
	ldr	r0, .L51+24
	bl	printf
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #24
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L51+8
	bl	__isoc99_scanf
	b	.L48
.L44:
	ldr	r0, .L51+28
	bl	printf
	b	.L50
.L48:
.L50:
	nop
	ldr	r3, .L51
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC25
	.word	.LC20
	.word	.LC9
	.word	.LC21
	.word	.LC13
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	edita_user, .-edita_user
	.section	.rodata
	.align	2
.LC26:
	.ascii	"Digite sua senha atual:\000"
	.align	2
.LC27:
	.ascii	"Digite sua nova senha:\000"
	.align	2
.LC28:
	.ascii	"Confirme sua nova senha:\000"
	.align	2
.LC29:
	.ascii	"As senhas nao conferem! Por favor tente novamente.\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	muda_senha_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	muda_senha_user, %function
muda_senha_user:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L64
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	mvn	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L54
.L56:
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-52]
.L55:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L54:
	ldr	r3, [fp, #-68]
	ldr	r3, [r3, #252]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	ble	.L56
	ldr	r3, [fp, #-52]
	cmn	r3, #1
	bne	.L57
	ldr	r0, .L64+4
	bl	printf
	b	.L63
.L57:
	ldr	r0, .L64+8
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L64+12
	bl	__isoc99_scanf
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #24
	ldr	r2, [fp, #-68]
	add	r2, r2, r3
	sub	r3, fp, #44
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L63
.L61:
	ldr	r0, .L64+16
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L64+12
	bl	__isoc99_scanf
	ldr	r0, .L64+20
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L64+12
	bl	__isoc99_scanf
	sub	r2, fp, #20
	sub	r3, fp, #32
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L59
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L60
.L59:
	ldr	r0, .L64+24
	bl	puts
.L60:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L61
.L63:
	nop
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	.LC30
	.word	.LC24
	.word	.LC26
	.word	.LC9
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	muda_senha_user, .-muda_senha_user
	.align	2
	.global	checa_user
	.syntax unified
	.arm
	.fpu softvfp
	.type	checa_user, %function
checa_user:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L67
.L70:
	ldr	r1, [fp, #-24]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L68
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L68
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #24
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L68
	ldr	r1, [fp, #-24]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #20
	ldr	r3, [r3]
	b	.L69
.L68:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L67:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #252]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L70
	mvn	r3, #0
.L69:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	checa_user, .-checa_user
	.section	.rodata
	.align	2
.LC31:
	.ascii	"w+b\000"
	.align	2
.LC32:
	.ascii	"..//db//USUARIOS.DAT\000"
	.align	2
.LC33:
	.ascii	"O arquivo nao pode ser aberto.\012\000"
	.text
	.align	2
	.global	salva_usuarios
	.syntax unified
	.arm
	.fpu softvfp
	.type	salva_usuarios, %function
salva_usuarios:
	@ args = 256, pretend = 16, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r1, .L74
	ldr	r0, .L74+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L72
	ldr	r3, .L74+8
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L74+12
	bl	fwrite
	mov	r3, #1
	b	.L73
.L72:
	ldr	r3, [fp, #256]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	mov	r1, #256
	add	r0, fp, #4
	bl	fwrite
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
.L73:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L75:
	.align	2
.L74:
	.word	.LC31
	.word	.LC32
	.word	stderr
	.word	.LC33
	.size	salva_usuarios, .-salva_usuarios
	.section	.rodata
	.align	2
.LC34:
	.ascii	"rb\000"
	.align	2
.LC35:
	.ascii	"O arquivo nao pode ser aberto..\012\000"
	.text
	.align	2
	.global	le_arq_usuarios
	.syntax unified
	.arm
	.fpu softvfp
	.type	le_arq_usuarios, %function
le_arq_usuarios:
	@ 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, .L79
	ldr	r0, .L79+4
	bl	fopen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L77
	ldr	r3, .L79+8
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L79+12
	bl	fwrite
	mov	r3, #1
	b	.L78
.L77:
	ldr	r0, [fp, #-8]
	bl	rewind
	ldr	r3, [fp, #-8]
	mov	r2, #50
	mov	r1, #256
	ldr	r0, [fp, #-16]
	bl	fread
	ldr	r0, [fp, #-8]
	bl	fclose
	mov	r3, #0
.L78:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	.LC34
	.word	.LC32
	.word	stderr
	.word	.LC35
	.size	le_arq_usuarios, .-le_arq_usuarios
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
