	.file	"53294.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Socket creation failed..."
.LC1:
	.string	"Socket successfully created.."
	.align 8
.LC2:
	.string	"setsockopt(SO_REUSEADDR) failed"
.LC3:
	.string	"Socket bind failed..."
.LC4:
	.string	"Socket successfully binded.."
.LC5:
	.string	"Listen failed..."
.LC6:
	.string	"server socket %d\n"
	.text
	.globl	server_setup
	.type	server_setup, @function
server_setup:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], -1
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	DWORD PTR -40[rbp], 1
	lea	rdx, -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	test	eax, eax
	jns	.L3
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L3:
	mov	WORD PTR -32[rbp], 2
	mov	edi, 0
	call	htonl@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	movzx	eax, ax
	mov	edi, eax
	call	htons@PLT
	mov	WORD PTR -30[rbp], ax
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	test	eax, eax
	je	.L4
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L4:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L5
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	server_setup, .-server_setup
	.section	.rodata
.LC7:
	.string	"Server acccept failed..."
.LC8:
	.string	"New client accepted..."
.LC9:
	.string	"client socket %d\n"
	.text
	.globl	accept_client
	.type	accept_client, @function
accept_client:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -40[rbp], 16
	lea	rdx, -40[rbp]
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jns	.L9
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L9:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -36[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
.LFE7:
	.size	accept_client, .-accept_client
	.section	.rodata
.LC10:
	.string	"QUIT"
.LC11:
	.string	"QUIT\n"
.LC12:
	.string	"dropping the client %d\n"
.LC13:
	.string	" "
.LC14:
	.string	"user not authenticated!"
	.align 8
.LC15:
	.string	"\033[1;31mPlease, authenticate by entering your username\033[0m\n"
.LC16:
	.string	"USER"
.LC17:
	.string	"user trying to authenticate"
.LC18:
	.string	"\n"
.LC19:
	.string	"User identified!"
.LC20:
	.string	"\033[1mUser identified!\033[0m\n"
.LC21:
	.string	"user used a wrong username"
	.align 8
.LC22:
	.string	"This username not found\nPlease set username in the db.txt file\n"
.LC23:
	.string	"user misused the PASS command"
	.align 8
.LC24:
	.string	"'PASS' command used incorrectly!\nAuthentication failed, please try again!\n"
.LC25:
	.string	"PASS"
	.align 8
.LC26:
	.string	"user did not send the PASS command"
	.align 8
.LC27:
	.string	"'PASS' command not received!\nAuthentication failed, please try again!\n"
	.align 8
.LC28:
	.string	"user authentified successfully!"
	.align 8
.LC29:
	.string	"505 Authentication complete! Welcome, %s!\n"
.LC30:
	.string	"user failed to authenticate"
	.align 8
.LC31:
	.string	"Authentication failed, try again!\n"
	.text
	.globl	user_login
	.type	user_login, @function
user_login:
.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, 3152
	mov	DWORD PTR -3124[rbp], edi
	mov	QWORD PTR -3136[rbp], rsi
	mov	QWORD PTR -3144[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -3112[rbp], 0
	mov	QWORD PTR -3088[rbp], 0
	mov	QWORD PTR -3080[rbp], 0
	lea	rdx, -3072[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -2064[rbp], 0
	mov	QWORD PTR -2056[rbp], 0
	lea	rdx, -2048[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	lea	rcx, -3088[rbp]
	mov	eax, DWORD PTR -3124[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rax, -3088[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L13
	lea	rax, -3088[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
.L13:
	mov	eax, DWORD PTR -3124[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -3124[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	mov	rax, QWORD PTR -3144[rbp]
	movsx	rdx, esi
	mov	rdi, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -3124[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	not	rax
	mov	rcx, rdi
	and	rcx, rax
	mov	rax, QWORD PTR -3144[rbp]
	movsx	rdx, esi
	mov	QWORD PTR [rax+rdx*8], rcx
	mov	eax, 0
	jmp	.L36
.L14:
	movzx	eax, BYTE PTR -3084[rbp]
	cmp	al, 32
	jne	.L16
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -3083[rbp]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L16
	lea	rax, -3088[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -3096[rbp], rax
	nop
	mov	rax, QWORD PTR -3096[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	jmp	.L38
.L16:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3124[rbp]
	mov	ecx, 0
	mov	edx, 58
	lea	rsi, .LC15[rip]
	mov	edi, eax
	call	send@PLT
	mov	eax, 0
	jmp	.L36
.L38:
	mov	DWORD PTR -3104[rbp], 5
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -3104[rbp]
	lea	ecx, -5[rax]
	mov	eax, DWORD PTR -3104[rbp]
	cdqe
	movzx	edx, BYTE PTR -3088[rbp+rax]
	movsx	rax, ecx
	mov	BYTE PTR -2064[rbp+rax], dl
	add	DWORD PTR -3104[rbp], 1
.L19:
	cmp	DWORD PTR -3104[rbp], 1023
	jle	.L20
	jmp	.L39
.L18:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3124[rbp]
	mov	ecx, 0
	mov	edx, 58
	lea	rsi, .LC15[rip]
	mov	edi, eax
	call	send@PLT
	mov	eax, 0
	jmp	.L36
.L39:
	lea	rax, -2064[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -3096[rbp], rax
	mov	DWORD PTR -3108[rbp], 0
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -3108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -3136[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -3096[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L23
	lea	rdi, .LC19[rip]
	call	puts@PLT
	mov	DWORD PTR -3112[rbp], 1
	mov	eax, DWORD PTR -3124[rbp]
	mov	ecx, 0
	mov	edx, 25
	lea	rsi, .LC20[rip]
	mov	edi, eax
	call	send@PLT
	jmp	.L24
.L23:
	add	DWORD PTR -3108[rbp], 1
.L22:
	cmp	DWORD PTR -3108[rbp], 4
	jle	.L25
.L24:
	cmp	DWORD PTR -3112[rbp], 0
	jne	.L26
	lea	rdi, .LC21[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3124[rbp]
	mov	ecx, 0
	mov	edx, 63
	lea	rsi, .LC22[rip]
	mov	edi, eax
	call	send@PLT
	mov	eax, 0
	jmp	.L36
.L26:
	lea	rax, -3088[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -3088[rbp]
	mov	eax, DWORD PTR -3124[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rax, -3088[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L27
	lea	rax, -3088[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L28
.L27:
	mov	eax, DWORD PTR -3124[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -3124[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	mov	rax, QWORD PTR -3144[rbp]
	movsx	rdx, esi
	mov	rdi, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -3124[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	not	rax
	mov	rcx, rdi
	and	rcx, rax
	mov	rax, QWORD PTR -3144[rbp]
	movsx	rdx, esi
	mov	QWORD PTR [rax+rdx*8], rcx
	mov	eax, 0
	jmp	.L36
.L28:
	movzx	eax, BYTE PTR -3084[rbp]
	cmp	al, 32
	jne	.L29
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -3083[rbp]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L29
	lea	rax, -3088[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -3096[rbp], rax
	nop
	mov	rax, QWORD PTR -3096[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L31
	jmp	.L40
.L29:
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3124[rbp]
	mov	ecx, 0
	mov	edx, 74
	lea	rsi, .LC24[rip]
	mov	edi, eax
	call	send@PLT
	mov	eax, 0
	jmp	.L36
.L40:
	mov	DWORD PTR -3100[rbp], 5
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -3100[rbp]
	lea	ecx, -5[rax]
	mov	eax, DWORD PTR -3100[rbp]
	cdqe
	movzx	edx, BYTE PTR -3088[rbp+rax]
	movsx	rax, ecx
	mov	BYTE PTR -2064[rbp+rax], dl
	add	DWORD PTR -3100[rbp], 1
.L32:
	cmp	DWORD PTR -3100[rbp], 19
	jle	.L33
	jmp	.L41
.L31:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3124[rbp]
	mov	ecx, 0
	mov	edx, 70
	lea	rsi, .LC27[rip]
	mov	edi, eax
	call	send@PLT
	mov	eax, 0
	jmp	.L36
.L41:
	lea	rax, -2064[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -3096[rbp], rax
	mov	eax, DWORD PTR -3108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -3136[rbp]
	add	rax, rdx
	lea	rdx, 20[rax]
	mov	rax, QWORD PTR -3096[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L35
	lea	rdi, .LC28[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3108[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -3136[rbp]
	add	rax, rdx
	mov	rdx, rax
	lea	rax, -1040[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -3124[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	mov	eax, 1
	jmp	.L36
.L35:
	lea	rdi, .LC30[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3124[rbp]
	mov	ecx, 0
	mov	edx, 34
	lea	rsi, .LC31[rip]
	mov	edi, eax
	call	send@PLT
	mov	eax, 0
.L36:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	user_login, .-user_login
	.section	.rodata
.LC32:
	.string	"r"
.LC33:
	.string	"db.txt"
	.align 8
.LC34:
	.string	"\033[31;1mUser Login Data not found!!\033[0m"
	.align 8
.LC35:
	.string	"\033[31;1mPassword file corrupted\033[0m"
	.text
	.globl	getusers
	.type	getusers, @function
getusers:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC32[rip]
	lea	rdi, .LC33[rip]
	call	fopen@PLT
	mov	QWORD PTR -80[rbp], rax
	cmp	QWORD PTR -80[rbp], 0
	jne	.L43
	lea	rdi, .LC34[rip]
	call	puts@PLT
.L43:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L44
.L47:
	mov	rdx, QWORD PTR -80[rbp]
	lea	rax, -64[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -64[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L45
	lea	rdi, .LC35[rip]
	call	puts@PLT
.L45:
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rdx, QWORD PTR -80[rbp]
	lea	rax, -64[rbp]
	mov	esi, 50
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -64[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L46
	lea	rdi, .LC35[rip]
	call	puts@PLT
.L46:
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	lea	rdx, 20[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	add	DWORD PTR -84[rbp], 1
.L44:
	cmp	DWORD PTR -84[rbp], 4
	jle	.L47
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	getusers, .-getusers
	.globl	echo
	.type	echo, @function
echo:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rsi, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	echo, .-echo
	.globl	getpwd
	.type	getpwd, @function
getpwd:
.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, 1056
	mov	DWORD PTR -1044[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	lea	rdx, -1024[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	getcwd@PLT
	test	rax, rax
	je	.L53
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -1040[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 10
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	jmp	.L52
.L53:
	lea	rax, -1040[rbp]
	movabs	rsi, 7452667088666319643
	movabs	rdi, 2317427895223678053
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rcx, 3484408915011203685
	mov	QWORD PTR 16[rax], rcx
	mov	WORD PTR 24[rax], 2669
	mov	BYTE PTR 26[rax], 0
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -1040[rbp]
	mov	eax, DWORD PTR -1044[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	nop
.L52:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	getpwd, .-getpwd
	.section	.rodata
.LC36:
	.string	"."
.LC37:
	.string	"%s\n"
	.align 8
.LC38:
	.string	"\033[31;1mpermission or directory error!\033[0m\n"
	.text
	.globl	getls
	.type	getls, @function
getls:
.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, 2096
	mov	DWORD PTR -2084[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -2064[rbp], 0
	mov	QWORD PTR -2056[rbp], 0
	lea	rdx, -2048[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	lea	rdx, -1024[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	lea	rdi, .LC36[rip]
	call	opendir@PLT
	mov	QWORD PTR -2080[rbp], rax
	cmp	QWORD PTR -2080[rbp], 0
	je	.L58
	jmp	.L59
.L60:
	mov	rax, QWORD PTR -2072[rbp]
	lea	rdx, 19[rax]
	lea	rax, -1040[rbp]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -1040[rbp]
	lea	rax, -2064[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
.L59:
	mov	rax, QWORD PTR -2080[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -2072[rbp], rax
	cmp	QWORD PTR -2072[rbp], 0
	jne	.L60
	mov	rax, QWORD PTR -2080[rbp]
	mov	rdi, rax
	call	closedir@PLT
	jmp	.L61
.L58:
	lea	rax, -2064[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L61:
	lea	rax, -2064[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -2064[rbp]
	mov	eax, DWORD PTR -2084[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L63
	call	__stack_chk_fail@PLT
.L63:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getls, .-getls
	.section	.rodata
.LC39:
	.string	"\033[31;1mCD error!\033[0m\n"
	.text
	.globl	changedir
	.type	changedir, @function
changedir:
.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, 1072
	mov	DWORD PTR -1060[rbp], edi
	mov	QWORD PTR -1072[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1052[rbp], 3
	jmp	.L65
.L66:
	mov	eax, DWORD PTR -1052[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -1052[rbp]
	lea	ecx, -3[rdx]
	movzx	edx, BYTE PTR [rax]
	movsx	rax, ecx
	mov	BYTE PTR -1040[rbp+rax], dl
	add	DWORD PTR -1052[rbp], 1
.L65:
	cmp	DWORD PTR -1052[rbp], 1023
	jle	.L66
	lea	rax, -1040[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1048[rbp], rax
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	chdir@PLT
	test	eax, eax
	jne	.L67
	mov	eax, DWORD PTR -1060[rbp]
	mov	edi, eax
	call	getpwd
	jmp	.L64
.L67:
	mov	eax, DWORD PTR -1060[rbp]
	lea	rsi, .LC39[rip]
	mov	edi, eax
	call	echo
	nop
.L64:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L70
	call	__stack_chk_fail@PLT
.L70:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	changedir, .-changedir
	.section	.rodata
	.align 8
.LC40:
	.string	"there is a space in the user inquiry"
.LC41:
	.string	"CD"
.LC42:
	.string	"CD command received!"
.LC43:
	.string	"GET"
.LC44:
	.string	"GET command received!"
.LC45:
	.string	"PUT"
.LC46:
	.string	"PUT command received!"
.LC47:
	.string	"PWD"
.LC48:
	.string	"PWD command received!"
.LC49:
	.string	"LS"
.LC50:
	.string	"LS command received!"
.LC51:
	.string	"QUIT command received!"
	.text
	.globl	funcall
	.type	funcall, @function
funcall:
.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, 1072
	mov	QWORD PTR -1064[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -1064[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -1040[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	je	.L72
	lea	rax, -1040[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1048[rbp], rax
	lea	rdi, .LC40[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1048[rbp]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L73
	lea	rdi, .LC42[rip]
	call	puts@PLT
	mov	eax, 2
	jmp	.L79
.L73:
	mov	rax, QWORD PTR -1048[rbp]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L75
	lea	rdi, .LC44[rip]
	call	puts@PLT
	mov	eax, 5
	jmp	.L79
.L75:
	mov	rax, QWORD PTR -1048[rbp]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L76
	lea	rdi, .LC46[rip]
	call	puts@PLT
	mov	eax, 6
	jmp	.L79
.L72:
	movzx	eax, BYTE PTR -1040[rbp]
	cmp	al, 10
	je	.L76
	lea	rax, -1040[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -1048[rbp], rax
	mov	rax, QWORD PTR -1048[rbp]
	lea	rsi, .LC47[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L77
	lea	rdi, .LC48[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L79
.L77:
	mov	rax, QWORD PTR -1048[rbp]
	lea	rsi, .LC49[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L78
	lea	rdi, .LC50[rip]
	call	puts@PLT
	mov	eax, 3
	jmp	.L79
.L78:
	mov	rax, QWORD PTR -1048[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L76
	lea	rdi, .LC51[rip]
	call	puts@PLT
	mov	eax, 4
	jmp	.L79
.L76:
	mov	eax, 0
.L79:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L80
	call	__stack_chk_fail@PLT
.L80:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	funcall, .-funcall
	.section	.rodata
.LC52:
	.string	"Sent data to client!"
	.align 8
.LC53:
	.string	"TCP connection for file transfer established!"
	.align 8
.LC54:
	.string	"File with such name already exists in this directory! Cannot receive!"
.LC55:
	.string	"Downloading the file..."
.LC56:
	.string	"Uploading the file..."
.LC57:
	.string	"a"
.LC58:
	.string	"ERROR WRITING TO A FILE!"
.LC59:
	.string	"1"
.LC60:
	.string	"EOF\n"
	.text
	.globl	doput
	.type	doput, @function
doput:
.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, 3152
	mov	DWORD PTR -3140[rbp], edi
	mov	QWORD PTR -3152[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -3136[rbp], 4
	jmp	.L82
.L83:
	mov	eax, DWORD PTR -3136[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -3152[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -3136[rbp]
	lea	ecx, -4[rdx]
	movzx	edx, BYTE PTR [rax]
	movsx	rax, ecx
	mov	BYTE PTR -3088[rbp+rax], dl
	add	DWORD PTR -3136[rbp], 1
.L82:
	cmp	DWORD PTR -3136[rbp], 1023
	jle	.L83
	lea	rax, -3088[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -3120[rbp], rax
	mov	esi, 5
	mov	edi, 9998
	call	server_setup
	mov	DWORD PTR -3132[rbp], eax
	mov	QWORD PTR -3096[rbp], 0
	lea	rax, -3096[rbp]
	mov	DWORD PTR [rax], 1096040772
	mov	WORD PTR 4[rax], 10
	lea	rax, -3096[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -3096[rbp]
	mov	eax, DWORD PTR -3140[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rdi, .LC52[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3132[rbp]
	mov	edi, eax
	call	accept_client
	mov	DWORD PTR -3128[rbp], eax
	mov	QWORD PTR -2064[rbp], 0
	mov	QWORD PTR -2056[rbp], 0
	lea	rdx, -2048[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -3128[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rax, -2064[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, DWORD PTR -3128[rbp]
	mov	ecx, 0
	mov	edx, 45
	lea	rsi, .LC53[rip]
	mov	edi, eax
	call	send@PLT
	lea	rax, -2064[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -3128[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	lea	rdx, -1024[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	lea	rdx, -2064[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	QWORD PTR -3112[rbp], 0
	lea	rax, -1040[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -3104[rbp], rax
	cmp	QWORD PTR -3104[rbp], 0
	je	.L84
	lea	rdi, .LC54[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3128[rbp]
	mov	ecx, 0
	mov	edx, 69
	lea	rsi, .LC54[rip]
	mov	edi, eax
	call	send@PLT
	mov	rax, QWORD PTR -3104[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -3132[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -3128[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L81
.L84:
	lea	rdi, .LC55[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3128[rbp]
	mov	ecx, 0
	mov	edx, 21
	lea	rsi, .LC56[rip]
	mov	edi, eax
	call	send@PLT
	mov	rax, QWORD PTR -3104[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, -1040[rbp]
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -3104[rbp], rax
	cmp	QWORD PTR -3104[rbp], 0
	jne	.L86
	lea	rdi, .LC58[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L86:
	lea	rax, -2064[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -3128[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -3124[rbp], 1
	jmp	.L87
.L88:
	mov	rdx, QWORD PTR -3104[rbp]
	lea	rax, -2064[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	eax, DWORD PTR -3128[rbp]
	mov	ecx, 0
	mov	edx, 1
	lea	rsi, .LC59[rip]
	mov	edi, eax
	call	send@PLT
	lea	rax, -2064[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -3128[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
.L87:
	lea	rax, -2064[rbp]
	lea	rsi, .LC60[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L88
	mov	rax, QWORD PTR -3104[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -3128[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -3132[rbp]
	mov	edi, eax
	call	close@PLT
.L81:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L89
	call	__stack_chk_fail@PLT
.L89:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	doput, .-doput
	.section	.rodata
.LC61:
	.string	"404 File does not exist!\n"
.LC62:
	.string	"Sent DATA KEY to client!"
.LC63:
	.string	"\033[32;1m"
.LC64:
	.string	"File sent successfully!\033[0m"
	.text
	.globl	doget
	.type	doget, @function
doget:
.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, 3152
	mov	DWORD PTR -3140[rbp], edi
	mov	QWORD PTR -3152[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -3088[rbp], 0
	mov	QWORD PTR -3080[rbp], 0
	lea	rdx, -3072[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -2064[rbp], 0
	mov	QWORD PTR -2056[rbp], 0
	lea	rdx, -2048[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -3132[rbp], 4
	jmp	.L91
.L92:
	mov	eax, DWORD PTR -3132[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -3152[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -3132[rbp]
	lea	ecx, -4[rdx]
	movzx	edx, BYTE PTR [rax]
	movsx	rax, ecx
	mov	BYTE PTR -3088[rbp+rax], dl
	add	DWORD PTR -3132[rbp], 1
.L91:
	mov	eax, DWORD PTR -3132[rbp]
	cmp	eax, 1023
	jbe	.L92
	lea	rax, -3088[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -3112[rbp], rax
	mov	rdx, QWORD PTR -3112[rbp]
	lea	rax, -2064[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -2064[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -3104[rbp], rax
	cmp	QWORD PTR -3104[rbp], 0
	jne	.L93
	mov	eax, DWORD PTR -3140[rbp]
	mov	ecx, 0
	mov	edx, 25
	lea	rsi, .LC61[rip]
	mov	edi, eax
	call	send@PLT
	jmp	.L90
.L93:
	mov	esi, 5
	mov	edi, 9998
	call	server_setup
	mov	DWORD PTR -3124[rbp], eax
	mov	QWORD PTR -3096[rbp], 0
	lea	rax, -3096[rbp]
	mov	DWORD PTR [rax], 1096040772
	mov	WORD PTR 4[rax], 10
	lea	rax, -3096[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -3096[rbp]
	mov	eax, DWORD PTR -3140[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rdi, .LC62[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -3124[rbp]
	mov	edi, eax
	call	accept_client
	mov	DWORD PTR -3120[rbp], eax
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	lea	rdx, -1024[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -3120[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, DWORD PTR -3120[rbp]
	mov	ecx, 0
	mov	edx, 45
	lea	rsi, .LC53[rip]
	mov	edi, eax
	call	send@PLT
	lea	rax, -3088[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -3128[rbp], 0
	jmp	.L95
.L96:
	mov	eax, DWORD PTR -3128[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -3128[rbp], edx
	mov	edx, DWORD PTR -3116[rbp]
	cdqe
	mov	BYTE PTR -3088[rbp+rax], dl
	cmp	DWORD PTR -3128[rbp], 1023
	jne	.L95
	mov	eax, DWORD PTR -3128[rbp]
	cdqe
	mov	BYTE PTR -3088[rbp+rax], 0
	lea	rax, -3088[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -3088[rbp]
	mov	eax, DWORD PTR -3120[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rax, -1040[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -3120[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -3128[rbp], 0
	lea	rax, -3088[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L95:
	mov	rax, QWORD PTR -3104[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -3116[rbp], eax
	cmp	DWORD PTR -3116[rbp], -1
	jne	.L96
	mov	eax, DWORD PTR -3128[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -3128[rbp], edx
	cdqe
	mov	BYTE PTR -3088[rbp+rax], 0
	lea	rax, -3088[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rsi, -3088[rbp]
	mov	eax, DWORD PTR -3120[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	send@PLT
	lea	rdi, .LC63[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC64[rip]
	call	puts@PLT
	lea	rax, -1040[rbp]
	mov	edx, 1024
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -3120[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -3120[rbp]
	mov	ecx, 0
	mov	edx, 4
	lea	rsi, .LC60[rip]
	mov	edi, eax
	call	send@PLT
	mov	rax, QWORD PTR -3104[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -3120[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -3124[rbp]
	mov	edi, eax
	call	close@PLT
.L90:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L97
	call	__stack_chk_fail@PLT
.L97:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	doget, .-doget
	.section	.rodata
.LC65:
	.string	"select error"
.LC66:
	.string	"adding a new connection"
	.align 8
.LC67:
	.string	"\033[1;31mPUT command initialized!\033[0m\n"
	.align 8
.LC68:
	.string	"\033[1;31mInvalid FTP command!\033[0m\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1536
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -5344[rbp]
	mov	rdi, rax
	call	getusers
	mov	esi, 5
	mov	edi, 9999
	call	server_setup
	mov	DWORD PTR -5628[rbp], eax
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -5600[rbp]
	mov	rdi, rdx
#APP
# 551 "the_stack_data/53294.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -5624[rbp], edx
	mov	DWORD PTR -5620[rbp], eax
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -5472[rbp]
	mov	rdi, rdx
#APP
# 552 "the_stack_data/53294.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -5616[rbp], edx
	mov	DWORD PTR -5612[rbp], eax
	mov	eax, DWORD PTR -5628[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -5600[rbp+rax*8]
	mov	eax, DWORD PTR -5628[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -5600[rbp+rax*8], rdx
	mov	DWORD PTR -5608[rbp], 0
	lea	rdx, -5136[rbp]
	mov	eax, 0
	mov	ecx, 512
	mov	rdi, rdx
	rep stosq
.L115:
	mov	rax, QWORD PTR -5600[rbp]
	mov	rdx, QWORD PTR -5592[rbp]
	mov	QWORD PTR -5472[rbp], rax
	mov	QWORD PTR -5464[rbp], rdx
	mov	rax, QWORD PTR -5584[rbp]
	mov	rdx, QWORD PTR -5576[rbp]
	mov	QWORD PTR -5456[rbp], rax
	mov	QWORD PTR -5448[rbp], rdx
	mov	rax, QWORD PTR -5568[rbp]
	mov	rdx, QWORD PTR -5560[rbp]
	mov	QWORD PTR -5440[rbp], rax
	mov	QWORD PTR -5432[rbp], rdx
	mov	rax, QWORD PTR -5552[rbp]
	mov	rdx, QWORD PTR -5544[rbp]
	mov	QWORD PTR -5424[rbp], rax
	mov	QWORD PTR -5416[rbp], rdx
	mov	rax, QWORD PTR -5536[rbp]
	mov	rdx, QWORD PTR -5528[rbp]
	mov	QWORD PTR -5408[rbp], rax
	mov	QWORD PTR -5400[rbp], rdx
	mov	rax, QWORD PTR -5520[rbp]
	mov	rdx, QWORD PTR -5512[rbp]
	mov	QWORD PTR -5392[rbp], rax
	mov	QWORD PTR -5384[rbp], rdx
	mov	rax, QWORD PTR -5504[rbp]
	mov	rdx, QWORD PTR -5496[rbp]
	mov	QWORD PTR -5376[rbp], rax
	mov	QWORD PTR -5368[rbp], rdx
	mov	rax, QWORD PTR -5488[rbp]
	mov	rdx, QWORD PTR -5480[rbp]
	mov	QWORD PTR -5360[rbp], rax
	mov	QWORD PTR -5352[rbp], rdx
	lea	rax, -5472[rbp]
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1024
	call	select@PLT
	test	eax, eax
	jns	.L99
	lea	rdi, .LC65[rip]
	call	puts@PLT
	mov	eax, 1
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L116
	jmp	.L117
.L99:
	mov	DWORD PTR -5632[rbp], 0
	jmp	.L101
.L114:
	mov	eax, DWORD PTR -5632[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -5472[rbp+rax*8]
	mov	eax, DWORD PTR -5632[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L102
	mov	eax, DWORD PTR -5632[rbp]
	cmp	eax, DWORD PTR -5628[rbp]
	jne	.L103
	lea	rdi, .LC66[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -5628[rbp]
	mov	edi, eax
	call	accept_client
	mov	DWORD PTR -5604[rbp], eax
	mov	eax, DWORD PTR -5604[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -5600[rbp+rax*8]
	mov	eax, DWORD PTR -5604[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -5600[rbp+rax*8], rdx
	jmp	.L102
.L103:
	mov	eax, DWORD PTR -5632[rbp]
	cdqe
	mov	eax, DWORD PTR -5136[rbp+rax*4]
	test	eax, eax
	jne	.L104
	lea	rdx, -5600[rbp]
	lea	rcx, -5344[rbp]
	mov	eax, DWORD PTR -5632[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	user_login
	mov	edx, DWORD PTR -5632[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -5136[rbp+rdx*4], eax
	jmp	.L102
.L104:
	mov	QWORD PTR -1040[rbp], 0
	mov	QWORD PTR -1032[rbp], 0
	lea	rdx, -1024[rbp]
	mov	eax, 0
	mov	ecx, 126
	mov	rdi, rdx
	rep stosq
	lea	rcx, -1040[rbp]
	mov	eax, DWORD PTR -5632[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	funcall
	mov	DWORD PTR -5608[rbp], eax
	cmp	DWORD PTR -5608[rbp], 6
	ja	.L105
	mov	eax, DWORD PTR -5608[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L107[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L107[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L107:
	.long	.L105-.L107
	.long	.L112-.L107
	.long	.L111-.L107
	.long	.L110-.L107
	.long	.L109-.L107
	.long	.L108-.L107
	.long	.L106-.L107
	.text
.L112:
	mov	eax, DWORD PTR -5632[rbp]
	mov	edi, eax
	call	getpwd
	jmp	.L102
.L111:
	lea	rdx, -1040[rbp]
	mov	eax, DWORD PTR -5632[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	changedir
	jmp	.L102
.L110:
	mov	eax, DWORD PTR -5632[rbp]
	mov	edi, eax
	call	getls
	jmp	.L102
.L109:
	mov	eax, DWORD PTR -5632[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -5632[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -5600[rbp+rax*8]
	mov	eax, DWORD PTR -5632[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	not	rax
	and	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -5600[rbp+rax*8], rdx
	mov	eax, DWORD PTR -5632[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L102
.L108:
	lea	rdx, -1040[rbp]
	mov	eax, DWORD PTR -5632[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	doget
	jmp	.L102
.L106:
	mov	eax, DWORD PTR -5632[rbp]
	lea	rsi, .LC67[rip]
	mov	edi, eax
	call	echo
	lea	rdx, -1040[rbp]
	mov	eax, DWORD PTR -5632[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	doput
	jmp	.L102
.L105:
	mov	eax, DWORD PTR -5632[rbp]
	lea	rsi, .LC68[rip]
	mov	edi, eax
	call	echo
.L102:
	add	DWORD PTR -5632[rbp], 1
.L101:
	cmp	DWORD PTR -5632[rbp], 1023
	jle	.L114
	jmp	.L115
.L117:
	call	__stack_chk_fail@PLT
.L116:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.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	"53294.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Socket creation failed...\000"
	.align	2
.LC1:
	.ascii	"Socket successfully created..\000"
	.align	2
.LC2:
	.ascii	"setsockopt(SO_REUSEADDR) failed\000"
	.align	2
.LC3:
	.ascii	"Socket bind failed...\000"
	.align	2
.LC4:
	.ascii	"Socket successfully binded..\000"
	.align	2
.LC5:
	.ascii	"Listen failed...\000"
	.align	2
.LC6:
	.ascii	"server socket %d\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	server_setup
	.syntax unified
	.arm
	.fpu softvfp
	.type	server_setup, %function
server_setup:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L8+4
	bl	puts
	mov	r0, #1
	bl	exit
.L2:
	ldr	r0, .L8+8
	bl	puts
	sub	r3, fp, #24
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	mov	r3, #1
	str	r3, [fp, #-32]
	sub	r3, fp, #32
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-28]
	bl	setsockopt
	mov	r3, r0
	cmp	r3, #0
	bge	.L3
	ldr	r0, .L8+12
	bl	puts
.L3:
	mov	r3, #2
	strh	r3, [fp, #-24]	@ movhi
	mov	r0, #0
	bl	htonl
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	bind
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r0, .L8+16
	bl	puts
	mov	r0, #0
	bl	exit
.L4:
	ldr	r0, .L8+20
	bl	puts
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-28]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L8+24
	bl	puts
	mov	r0, #1
	bl	exit
.L5:
	ldr	r1, [fp, #-28]
	ldr	r0, .L8+28
	bl	printf
	ldr	r3, [fp, #-28]
	ldr	r2, .L8
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	server_setup, .-server_setup
	.section	.rodata
	.align	2
.LC8:
	.ascii	"Server acccept failed...\000"
	.align	2
.LC9:
	.ascii	"New client accepted...\000"
	.align	2
.LC10:
	.ascii	"client socket %d\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	accept_client
	.syntax unified
	.arm
	.fpu softvfp
	.type	accept_client, %function
accept_client:
	@ 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]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #16
	str	r3, [fp, #-32]
	sub	r2, fp, #32
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	accept
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L11
	ldr	r0, .L14+4
	bl	puts
	mov	r0, #0
	bl	exit
.L11:
	ldr	r0, .L14+8
	bl	puts
	ldr	r1, [fp, #-28]
	ldr	r0, .L14+12
	bl	printf
	ldr	r3, [fp, #-28]
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC11
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	accept_client, .-accept_client
	.section	.rodata
	.align	2
.LC12:
	.ascii	"QUIT\000"
	.align	2
.LC13:
	.ascii	"QUIT\012\000"
	.align	2
.LC14:
	.ascii	"dropping the client %d\012\000"
	.align	2
.LC15:
	.ascii	" \000"
	.align	2
.LC16:
	.ascii	"user not authenticated!\000"
	.align	2
.LC17:
	.ascii	"\033[1;31mPlease, authenticate by entering your use"
	.ascii	"rname\033[0m\012\000"
	.align	2
.LC18:
	.ascii	"USER\000"
	.align	2
.LC19:
	.ascii	"user trying to authenticate\000"
	.align	2
.LC20:
	.ascii	"\012\000"
	.align	2
.LC21:
	.ascii	"User identified!\000"
	.align	2
.LC22:
	.ascii	"\033[1mUser identified!\033[0m\012\000"
	.align	2
.LC23:
	.ascii	"user used a wrong username\000"
	.align	2
.LC24:
	.ascii	"This username not found\012Please set username in t"
	.ascii	"he db.txt file\012\000"
	.align	2
.LC25:
	.ascii	"user misused the PASS command\000"
	.align	2
.LC26:
	.ascii	"'PASS' command used incorrectly!\012Authentication "
	.ascii	"failed, please try again!\012\000"
	.align	2
.LC27:
	.ascii	"PASS\000"
	.align	2
.LC28:
	.ascii	"user did not send the PASS command\000"
	.align	2
.LC29:
	.ascii	"'PASS' command not received!\012Authentication fail"
	.ascii	"ed, please try again!\012\000"
	.align	2
.LC30:
	.ascii	"user authentified successfully!\000"
	.align	2
.LC31:
	.ascii	"505 Authentication complete! Welcome, %s!\012\000"
	.align	2
.LC32:
	.ascii	"user failed to authenticate\000"
	.align	2
.LC33:
	.ascii	"Authentication failed, try again!\012\000"
	.align	2
.LC34:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	user_login
	.syntax unified
	.arm
	.fpu softvfp
	.type	user_login, %function
user_login:
	@ args = 0, pretend = 0, frame = 3112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #3104
	sub	sp, sp, #8
	str	r0, [fp, #-3104]
	str	r1, [fp, #-3108]
	str	r2, [fp, #-3112]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-3100]
	mov	r3, #0
	str	r3, [fp, #-3080]
	sub	r3, fp, #3072
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-2056]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3104]
	bl	read
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L46+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L46+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
.L17:
	ldr	r1, [fp, #-3104]
	ldr	r0, .L46+12
	bl	printf
	ldr	r3, [fp, #-3104]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	ldr	r3, [fp, #-3112]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-3104]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	mvn	r3, r3
	and	r1, r1, r3
	ldr	r3, [fp, #-3112]
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	b	.L40
.L18:
	ldrb	r3, [fp, #-3076]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L20
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-3075]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L20
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L46+16
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-3084]
	nop
	ldr	r1, .L46+20
	ldr	r0, [fp, #-3084]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	b	.L42
.L20:
	ldr	r0, .L46+24
	bl	puts
	mov	r3, #0
	mov	r2, #58
	ldr	r1, .L46+28
	ldr	r0, [fp, #-3104]
	bl	send
	mov	r3, #0
	b	.L40
.L42:
	mov	r3, #5
	str	r3, [fp, #-3092]
	b	.L23
.L24:
	ldr	r3, [fp, #-3092]
	sub	r2, r3, #5
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-3092]
	add	r3, r3, r1
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3, #-2052]
	ldr	r3, [fp, #-3092]
	add	r3, r3, #1
	str	r3, [fp, #-3092]
.L23:
	ldr	r3, [fp, #-3092]
	cmp	r3, #1024
	blt	.L24
	b	.L43
.L22:
	ldr	r0, .L46+32
	bl	puts
	mov	r3, #0
	mov	r2, #58
	ldr	r1, .L46+28
	ldr	r0, [fp, #-3104]
	bl	send
	mov	r3, #0
	b	.L40
.L43:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L46+36
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-3084]
	mov	r3, #0
	str	r3, [fp, #-3096]
	b	.L26
.L29:
	ldr	r2, [fp, #-3096]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-3108]
	add	r3, r3, r2
	ldr	r1, [fp, #-3084]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	ldr	r0, .L46+40
	bl	puts
	mov	r3, #1
	str	r3, [fp, #-3100]
	mov	r3, #0
	mov	r2, #25
	ldr	r1, .L46+44
	ldr	r0, [fp, #-3104]
	bl	send
	b	.L28
.L27:
	ldr	r3, [fp, #-3096]
	add	r3, r3, #1
	str	r3, [fp, #-3096]
.L26:
	ldr	r3, [fp, #-3096]
	cmp	r3, #4
	ble	.L29
.L28:
	ldr	r3, [fp, #-3100]
	cmp	r3, #0
	bne	.L30
	ldr	r0, .L46+48
	bl	puts
	mov	r3, #0
	mov	r2, #63
	ldr	r1, .L46+52
	ldr	r0, [fp, #-3104]
	bl	send
	mov	r3, #0
	b	.L40
.L30:
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3104]
	bl	read
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L46+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L46+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
.L31:
	ldr	r1, [fp, #-3104]
	ldr	r0, .L46+12
	bl	printf
	ldr	r3, [fp, #-3104]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	ldr	r3, [fp, #-3112]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-3104]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	mvn	r3, r3
	and	r1, r1, r3
	ldr	r3, [fp, #-3112]
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	b	.L40
.L32:
	ldrb	r3, [fp, #-3076]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L33
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-3075]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L33
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L46+16
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-3084]
	nop
	ldr	r1, .L46+56
	ldr	r0, [fp, #-3084]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	b	.L44
.L33:
	ldr	r0, .L46+60
	bl	puts
	mov	r3, #0
	mov	r2, #74
	ldr	r1, .L46+64
	ldr	r0, [fp, #-3104]
	bl	send
	mov	r3, #0
	b	.L40
.L44:
	mov	r3, #5
	str	r3, [fp, #-3088]
	b	.L36
.L37:
	ldr	r3, [fp, #-3088]
	sub	r2, r3, #5
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-3088]
	add	r3, r3, r1
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3, #-2052]
	ldr	r3, [fp, #-3088]
	add	r3, r3, #1
	str	r3, [fp, #-3088]
.L36:
	ldr	r3, [fp, #-3088]
	cmp	r3, #19
	ble	.L37
	b	.L45
.L35:
	ldr	r0, .L46+68
	bl	puts
	mov	r3, #0
	mov	r2, #70
	ldr	r1, .L46+72
	ldr	r0, [fp, #-3104]
	bl	send
	mov	r3, #0
	b	.L40
.L45:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L46+36
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-3084]
	ldr	r2, [fp, #-3096]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-3108]
	add	r3, r3, r2
	add	r3, r3, #20
	ldr	r1, [fp, #-3084]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r0, .L46+76
	bl	puts
	ldr	r2, [fp, #-3096]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-3108]
	add	r3, r3, r2
	mov	r2, r3
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L46+80
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-3104]
	bl	send
	mov	r3, #1
	b	.L40
.L39:
	ldr	r0, .L46+84
	bl	puts
	mov	r3, #0
	mov	r2, #34
	ldr	r1, .L46+88
	ldr	r0, [fp, #-3104]
	bl	send
	mov	r3, #0
.L40:
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC34
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC18
	.word	.LC16
	.word	.LC17
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC27
	.word	.LC25
	.word	.LC26
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.size	user_login, .-user_login
	.section	.rodata
	.align	2
.LC35:
	.ascii	"r\000"
	.align	2
.LC36:
	.ascii	"db.txt\000"
	.align	2
.LC37:
	.ascii	"\033[31;1mUser Login Data not found!!\033[0m\000"
	.align	2
.LC38:
	.ascii	"\033[31;1mPassword file corrupted\033[0m\000"
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getusers
	.syntax unified
	.arm
	.fpu softvfp
	.type	getusers, %function
getusers:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L56+4
	ldr	r0, .L56+8
	bl	fopen
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L49
	ldr	r0, .L56+12
	bl	puts
.L49:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L50
.L53:
	sub	r3, fp, #60
	ldr	r2, [fp, #-68]
	mov	r1, #50
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #60
	ldr	r1, .L56+16
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L51
	ldr	r0, .L56+20
	bl	puts
.L51:
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #60
	ldr	r2, [fp, #-68]
	mov	r1, #50
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #60
	ldr	r1, .L56+16
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L52
	ldr	r0, .L56+20
	bl	puts
.L52:
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, r2
	add	r3, r3, #20
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L50:
	ldr	r3, [fp, #-72]
	cmp	r3, #4
	ble	.L53
	ldr	r0, [fp, #-68]
	bl	fclose
	nop
	ldr	r3, .L56
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L55
	bl	__stack_chk_fail
.L55:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC39
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC20
	.word	.LC38
	.size	getusers, .-getusers
	.align	2
	.global	echo
	.syntax unified
	.arm
	.fpu softvfp
	.type	echo, %function
echo:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	strlen
	mov	r2, r0
	mov	r3, #0
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	send
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	echo, .-echo
	.section	.rodata
	.align	2
.LC40:
	.ascii	"\033[31;1mgetcwd() error\033[0m\012\000"
	.align	2
.LC41:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getpwd
	.syntax unified
	.arm
	.fpu softvfp
	.type	getpwd, %function
getpwd:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	str	r0, [fp, #-1040]
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1032]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	getcwd
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, .L65+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1040]
	bl	send
	b	.L60
.L61:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, .L65+8
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r2, #16
	strb	r3, [ip]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-1040]
	bl	send
	nop
.L60:
	ldr	r3, .L65
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC41
	.word	.LC20
	.word	.LC40
	.size	getpwd, .-getpwd
	.section	.rodata
	.align	2
.LC42:
	.ascii	".\000"
	.align	2
.LC43:
	.ascii	"%s\012\000"
	.align	2
.LC44:
	.ascii	"\033[31;1mpermission or directory error!\033[0m\012"
	.ascii	"\000"
	.align	2
.LC45:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getls
	.syntax unified
	.arm
	.fpu softvfp
	.type	getls, %function
getls:
	@ args = 0, pretend = 0, frame = 2072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2064
	sub	sp, sp, #8
	str	r0, [fp, #-2072]
	ldr	r3, .L74
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2056]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1032]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L74+4
	bl	opendir
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	beq	.L68
	b	.L69
.L70:
	ldr	r3, [fp, #-2060]
	add	r2, r3, #11
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L74+8
	mov	r0, r3
	bl	sprintf
	sub	r2, fp, #1024
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcat
.L69:
	ldr	r0, [fp, #-2064]
	bl	readdir
	str	r0, [fp, #-2060]
	ldr	r3, [fp, #-2060]
	cmp	r3, #0
	bne	.L70
	ldr	r0, [fp, #-2064]
	bl	closedir
	b	.L71
.L68:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L74+12
	mov	r0, r3
	bl	sprintf
.L71:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #2048
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-2072]
	bl	send
	nop
	ldr	r3, .L74
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L73
	bl	__stack_chk_fail
.L73:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC45
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.size	getls, .-getls
	.section	.rodata
	.align	2
.LC46:
	.ascii	"\033[31;1mCD error!\033[0m\012\000"
	.align	2
.LC47:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	changedir
	.syntax unified
	.arm
	.fpu softvfp
	.type	changedir, %function
changedir:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	str	r0, [fp, #-1048]
	str	r1, [fp, #-1052]
	ldr	r3, .L83
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #3
	str	r3, [fp, #-1040]
	b	.L77
.L78:
	ldr	r3, [fp, #-1040]
	ldr	r2, [fp, #-1052]
	add	r2, r2, r3
	ldr	r3, [fp, #-1040]
	sub	r3, r3, #3
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-1028]
	ldr	r3, [fp, #-1040]
	add	r3, r3, #1
	str	r3, [fp, #-1040]
.L77:
	ldr	r3, [fp, #-1040]
	cmp	r3, #1024
	blt	.L78
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L83+4
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-1036]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	chdir
	mov	r3, r0
	cmp	r3, #0
	bne	.L79
	ldr	r0, [fp, #-1048]
	bl	getpwd
	b	.L76
.L79:
	ldr	r1, .L83+8
	ldr	r0, [fp, #-1048]
	bl	echo
	nop
.L76:
	ldr	r3, .L83
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L82
	bl	__stack_chk_fail
.L82:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L84:
	.align	2
.L83:
	.word	.LC47
	.word	.LC20
	.word	.LC46
	.size	changedir, .-changedir
	.section	.rodata
	.align	2
.LC48:
	.ascii	"there is a space in the user inquiry\000"
	.align	2
.LC49:
	.ascii	"CD\000"
	.align	2
.LC50:
	.ascii	"CD command received!\000"
	.align	2
.LC51:
	.ascii	"GET\000"
	.align	2
.LC52:
	.ascii	"GET command received!\000"
	.align	2
.LC53:
	.ascii	"PUT\000"
	.align	2
.LC54:
	.ascii	"PUT command received!\000"
	.align	2
.LC55:
	.ascii	"PWD\000"
	.align	2
.LC56:
	.ascii	"PWD command received!\000"
	.align	2
.LC57:
	.ascii	"LS\000"
	.align	2
.LC58:
	.ascii	"LS command received!\000"
	.align	2
.LC59:
	.ascii	"QUIT command received!\000"
	.align	2
.LC60:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	funcall
	.syntax unified
	.arm
	.fpu softvfp
	.type	funcall, %function
funcall:
	@ args = 0, pretend = 0, frame = 1040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	str	r0, [fp, #-1040]
	ldr	r3, .L95
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1040]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #32
	mov	r0, r3
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L86
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L95+4
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-1036]
	ldr	r0, .L95+8
	bl	puts
	ldr	r1, .L95+12
	ldr	r0, [fp, #-1036]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L87
	ldr	r0, .L95+16
	bl	puts
	mov	r3, #2
	b	.L93
.L87:
	ldr	r1, .L95+20
	ldr	r0, [fp, #-1036]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L89
	ldr	r0, .L95+24
	bl	puts
	mov	r3, #5
	b	.L93
.L89:
	ldr	r1, .L95+28
	ldr	r0, [fp, #-1036]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L90
	ldr	r0, .L95+32
	bl	puts
	mov	r3, #6
	b	.L93
.L86:
	ldrb	r3, [fp, #-1032]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L90
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L95+36
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-1036]
	ldr	r1, .L95+40
	ldr	r0, [fp, #-1036]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L91
	ldr	r0, .L95+44
	bl	puts
	mov	r3, #1
	b	.L93
.L91:
	ldr	r1, .L95+48
	ldr	r0, [fp, #-1036]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L92
	ldr	r0, .L95+52
	bl	puts
	mov	r3, #3
	b	.L93
.L92:
	ldr	r1, .L95+56
	ldr	r0, [fp, #-1036]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L90
	ldr	r0, .L95+60
	bl	puts
	mov	r3, #4
	b	.L93
.L90:
	mov	r3, #0
.L93:
	ldr	r2, .L95
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L94
	bl	__stack_chk_fail
.L94:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L96:
	.align	2
.L95:
	.word	.LC60
	.word	.LC15
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC20
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC12
	.word	.LC59
	.size	funcall, .-funcall
	.section	.rodata
	.align	2
.LC61:
	.ascii	"DATA\012\000"
	.align	2
.LC62:
	.ascii	"Sent data to client!\000"
	.align	2
.LC63:
	.ascii	"TCP connection for file transfer established!\000"
	.align	2
.LC64:
	.ascii	"File with such name already exists in this director"
	.ascii	"y! Cannot receive!\000"
	.align	2
.LC65:
	.ascii	"Downloading the file...\000"
	.align	2
.LC66:
	.ascii	"Uploading the file...\000"
	.align	2
.LC67:
	.ascii	"a\000"
	.align	2
.LC68:
	.ascii	"ERROR WRITING TO A FILE!\000"
	.align	2
.LC69:
	.ascii	"1\000"
	.align	2
.LC70:
	.ascii	"EOF\012\000"
	.align	2
.LC71:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	doput
	.syntax unified
	.arm
	.fpu softvfp
	.type	doput, %function
doput:
	@ args = 0, pretend = 0, frame = 3120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #3120
	str	r0, [fp, #-3120]
	str	r1, [fp, #-3124]
	ldr	r3, .L106
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #4
	str	r3, [fp, #-3116]
	b	.L98
.L99:
	ldr	r3, [fp, #-3116]
	ldr	r2, [fp, #-3124]
	add	r2, r2, r3
	ldr	r3, [fp, #-3116]
	sub	r3, r3, #4
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-3076]
	ldr	r3, [fp, #-3116]
	add	r3, r3, #1
	str	r3, [fp, #-3116]
.L98:
	ldr	r3, [fp, #-3116]
	cmp	r3, #1024
	blt	.L99
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L106+4
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-3112]
	mov	r1, #5
	ldr	r0, .L106+8
	bl	server_setup
	str	r0, [fp, #-3108]
	mov	r3, #0
	str	r3, [fp, #-3088]
	mov	r3, #0
	str	r3, [fp, #-3084]
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L106+12
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #3072
	sub	r1, r1, #4
	sub	r1, r1, #12
	mov	r3, #0
	ldr	r0, [fp, #-3120]
	bl	send
	ldr	r0, .L106+16
	bl	puts
	ldr	r0, [fp, #-3108]
	bl	accept_client
	str	r0, [fp, #-3104]
	mov	r3, #0
	str	r3, [fp, #-2056]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3104]
	bl	read
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	puts
	mov	r3, #0
	mov	r2, #45
	ldr	r1, .L106+20
	ldr	r0, [fp, #-3104]
	bl	send
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3104]
	bl	read
	mov	r3, #0
	str	r3, [fp, #-1032]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r2, fp, #2048
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	mov	r3, #0
	str	r3, [fp, #-3100]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L106+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-3096]
	ldr	r3, [fp, #-3096]
	cmp	r3, #0
	beq	.L100
	ldr	r0, .L106+28
	bl	puts
	mov	r3, #0
	mov	r2, #69
	ldr	r1, .L106+28
	ldr	r0, [fp, #-3104]
	bl	send
	ldr	r0, [fp, #-3096]
	bl	fclose
	ldr	r0, [fp, #-3108]
	bl	close
	ldr	r0, [fp, #-3104]
	bl	close
	b	.L97
.L100:
	ldr	r0, .L106+32
	bl	puts
	mov	r3, #0
	mov	r2, #21
	ldr	r1, .L106+36
	ldr	r0, [fp, #-3104]
	bl	send
	ldr	r0, [fp, #-3096]
	bl	fclose
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L106+40
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-3096]
	ldr	r3, [fp, #-3096]
	cmp	r3, #0
	bne	.L102
	ldr	r0, .L106+44
	bl	puts
	mov	r0, #1
	bl	exit
.L102:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3104]
	bl	read
	mov	r3, #1
	str	r3, [fp, #-3092]
	b	.L103
.L104:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-3096]
	mov	r0, r3
	bl	fputs
	mov	r3, #0
	mov	r2, #1
	ldr	r1, .L106+48
	ldr	r0, [fp, #-3104]
	bl	send
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3104]
	bl	read
.L103:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L106+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L104
	ldr	r0, [fp, #-3096]
	bl	fclose
	ldr	r0, [fp, #-3104]
	bl	close
	ldr	r0, [fp, #-3108]
	bl	close
.L97:
	ldr	r3, .L106
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L105
	bl	__stack_chk_fail
.L105:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L107:
	.align	2
.L106:
	.word	.LC71
	.word	.LC20
	.word	9998
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC35
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.size	doput, .-doput
	.section	.rodata
	.align	2
.LC72:
	.ascii	"404 File does not exist!\012\000"
	.align	2
.LC73:
	.ascii	"Sent DATA KEY to client!\000"
	.align	2
.LC74:
	.ascii	"\033[32;1m\000"
	.align	2
.LC75:
	.ascii	"File sent successfully!\033[0m\000"
	.align	2
.LC76:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	doget
	.syntax unified
	.arm
	.fpu softvfp
	.type	doget, %function
doget:
	@ args = 0, pretend = 0, frame = 3120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #3120
	str	r0, [fp, #-3120]
	str	r1, [fp, #-3124]
	ldr	r3, .L116
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-3080]
	sub	r3, fp, #3072
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-2056]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #4
	str	r3, [fp, #-3116]
	b	.L109
.L110:
	ldr	r3, [fp, #-3116]
	ldr	r2, [fp, #-3124]
	add	r2, r2, r3
	ldr	r3, [fp, #-3116]
	sub	r3, r3, #4
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-3076]
	ldr	r3, [fp, #-3116]
	add	r3, r3, #1
	str	r3, [fp, #-3116]
.L109:
	ldr	r3, [fp, #-3116]
	cmp	r3, #1024
	bcc	.L110
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L116+4
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-3108]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-3108]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L116+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-3104]
	ldr	r3, [fp, #-3104]
	cmp	r3, #0
	bne	.L111
	mov	r3, #0
	mov	r2, #25
	ldr	r1, .L116+12
	ldr	r0, [fp, #-3120]
	bl	send
	b	.L108
.L111:
	mov	r1, #5
	ldr	r0, .L116+16
	bl	server_setup
	str	r0, [fp, #-3100]
	mov	r3, #0
	str	r3, [fp, #-3088]
	mov	r3, #0
	str	r3, [fp, #-3084]
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L116+20
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #3072
	sub	r1, r1, #4
	sub	r1, r1, #12
	mov	r3, #0
	ldr	r0, [fp, #-3120]
	bl	send
	ldr	r0, .L116+24
	bl	puts
	ldr	r0, [fp, #-3100]
	bl	accept_client
	str	r0, [fp, #-3096]
	mov	r3, #0
	str	r3, [fp, #-1032]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3096]
	bl	read
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	puts
	mov	r3, #0
	mov	r2, #45
	ldr	r1, .L116+28
	ldr	r0, [fp, #-3096]
	bl	send
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-3112]
	b	.L113
.L114:
	ldr	r3, [fp, #-3112]
	add	r2, r3, #1
	str	r2, [fp, #-3112]
	ldr	r2, [fp, #-3092]
	and	r2, r2, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-3076]
	ldr	r3, [fp, #-3112]
	ldr	r2, .L116+32
	cmp	r3, r2
	bne	.L113
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-3112]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #3072
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-3096]
	bl	send
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3096]
	bl	read
	mov	r3, #0
	str	r3, [fp, #-3112]
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
.L113:
	ldr	r0, [fp, #-3104]
	bl	fgetc
	str	r0, [fp, #-3092]
	ldr	r3, [fp, #-3092]
	cmn	r3, #1
	bne	.L114
	ldr	r3, [fp, #-3112]
	add	r2, r3, #1
	str	r2, [fp, #-3112]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-3076]
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r1, fp, #3072
	sub	r1, r1, #4
	sub	r1, r1, #4
	mov	r3, #0
	ldr	r0, [fp, #-3096]
	bl	send
	ldr	r0, .L116+36
	bl	printf
	ldr	r0, .L116+40
	bl	puts
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3096]
	bl	read
	mov	r3, #0
	mov	r2, #4
	ldr	r1, .L116+44
	ldr	r0, [fp, #-3096]
	bl	send
	ldr	r0, [fp, #-3104]
	bl	fclose
	ldr	r0, [fp, #-3096]
	bl	close
	ldr	r0, [fp, #-3100]
	bl	close
.L108:
	ldr	r3, .L116
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L115
	bl	__stack_chk_fail
.L115:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L117:
	.align	2
.L116:
	.word	.LC76
	.word	.LC20
	.word	.LC35
	.word	.LC72
	.word	9998
	.word	.LC61
	.word	.LC73
	.word	.LC63
	.word	1023
	.word	.LC74
	.word	.LC75
	.word	.LC70
	.size	doget, .-doget
	.section	.rodata
	.align	2
.LC77:
	.ascii	"select error\000"
	.align	2
.LC78:
	.ascii	"adding a new connection\000"
	.align	2
.LC79:
	.ascii	"\033[1;31mPUT command initialized!\033[0m\012\000"
	.align	2
.LC80:
	.ascii	"\033[1;31mInvalid FTP command!\033[0m\012\000"
	.align	2
.LC81:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 5616
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #5568
	sub	sp, sp, #60
	ldr	r3, .L142
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #5312
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	getusers
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #5
	ldr	r0, .L142+4
	bl	server_setup
	str	r0, [r4, #-1504]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #5568
	sub	r3, r3, #12
	sub	r3, r3, #12
	str	r3, [r2, #-1500]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1516]
	b	.L119
.L120:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1500]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-1516]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1516]
	add	r3, r3, #1
	str	r3, [r2, #-1516]
.L119:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1516]
	cmp	r3, #31
	bls	.L120
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #5440
	sub	r3, r3, #12
	sub	r3, r3, #12
	str	r3, [r2, #-1496]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1512]
	b	.L121
.L122:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1496]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-1512]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1512]
	add	r3, r3, #1
	str	r3, [r2, #-1512]
.L121:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1512]
	cmp	r3, #31
	bls	.L122
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1504]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-1484]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1504]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-1484]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1492]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #1024
	sub	r3, r3, #4
	mov	r2, #4096
	mov	r1, #0
	mov	r0, r3
	bl	memset
.L139:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r3, r3, #1344
	sub	r3, r3, #12
	sub	r1, r2, #1472
	sub	r1, r1, #12
	mov	r2, #128
	mov	r0, r3
	bl	memcpy
	sub	r1, fp, #5440
	sub	r1, r1, #12
	sub	r1, r1, #12
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r0, #1024
	bl	select
	mov	r3, r0
	cmp	r3, #0
	bge	.L123
	ldr	r0, .L142+8
	bl	puts
	mov	r3, #1
	ldr	r2, .L142
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L140
	b	.L141
.L123:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1508]
	b	.L125
.L138:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1508]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	sub	r2, fp, #4096
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-1356]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1508]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L126
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-1508]
	ldr	r3, [r3, #-1504]
	cmp	r2, r3
	bne	.L127
	ldr	r0, .L142+12
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-1504]
	bl	accept_client
	str	r0, [r4, #-1488]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1488]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-1484]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1488]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-1484]
	b	.L126
.L127:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1508]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	cmp	r3, #0
	bne	.L128
	sub	r2, fp, #5568
	sub	r2, r2, #12
	sub	r2, r2, #12
	sub	r3, fp, #5312
	sub	r3, r3, #12
	sub	r3, r3, #12
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-1508]
	bl	user_login
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1508]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-1028]
	b	.L126
.L128:
	mov	r3, #0
	str	r3, [fp, #-1040]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	mov	r2, #1020
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [r0, #-1508]
	bl	read
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	funcall
	str	r0, [r4, #-1492]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1492]
	sub	r3, r3, #1
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L129
.L131:
	.word	.L136
	.word	.L135
	.word	.L134
	.word	.L133
	.word	.L132
	.word	.L130
.L136:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-1508]
	bl	getpwd
	b	.L126
.L135:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-1508]
	bl	changedir
	b	.L126
.L134:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-1508]
	bl	getls
	b	.L126
.L133:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-1508]
	ldr	r0, .L142+16
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1508]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-1484]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1508]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	mvn	r3, r3
	and	r1, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	lsl	r3, r2, #2
	add	r3, r0, r3
	str	r1, [r3, #-1484]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-1508]
	bl	close
	b	.L126
.L132:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-1508]
	bl	doget
	b	.L126
.L130:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L142+20
	ldr	r0, [r3, #-1508]
	bl	echo
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-1508]
	bl	doput
	b	.L126
.L129:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L142+24
	ldr	r0, [r3, #-1508]
	bl	echo
.L126:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1508]
	add	r3, r3, #1
	str	r3, [r2, #-1508]
.L125:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1508]
	cmp	r3, #1024
	blt	.L138
	b	.L139
.L141:
	bl	__stack_chk_fail
.L140:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L143:
	.align	2
.L142:
	.word	.LC81
	.word	9999
	.word	.LC77
	.word	.LC78
	.word	.LC14
	.word	.LC79
	.word	.LC80
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
