// File: /workspace/github_cpp_makefile_star2_O2/FalconUA[P]vfs/./utility/cp.h
// Function: virt::util::cp::launch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string launch(std::string param){
			virt::util::shell* sh;
			if ((sh = dynamic_cast<virt::util::shell*>(working_os->app("shell"))) == NULL)
				return "ERROR: No module named \"shell\" found!";

			while (param[0] == ' ')
				param.erase(0, 1);
			while (param[param.length()-1] == ' ')
				param.erase(param.length()-1, 1);

			std::size_t p = std::min(param.find(' '), param.length());	
			std::string first_path = param.substr(0, p);

			if (first_path.find(' ') != std::string::npos || first_path.find('/') != std::string::npos
					|| first_path == "" || first_path == "." || first_path == "..")
				return "Invalid second file name. Please see 'help cp' for more information.\n";
			param.erase(0, p+1);

			virt::filesystem::dir_iterator it_source = sh->shell_iterator;
			virt::filesystem::dir_iterator it_dest = sh->shell_iterator;

			if (it_dest.get_working_dir()->path().find(it_source.get_working_dir()->path()))
				return "Cannot copy: destination is a sub directory of source. See 'help cp'\n";

			bool b = true;

			b = b && it_source.move_to(first_path);
			b = b && it_dest.move_to(param);

			if (!b)
				return "Directory not found. See 'help mv' for more information.\n";
			
			virt::fs::copy_content(it_source.get_working_dir(), it_dest.get_working_dir());
			return "";
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r15
leaq 0x695(%rip), %rsi       # 0x91ef
leaq 0xa8(%rsp), %rdi
movq %rsp, %rdx
callq 0x3e68
leaq 0xa8(%rsp), %rsi
movq %r15, %rdi
callq 0x595a
testq %rax, %rax
je 0x8b9c
leaq 0x700a(%rip), %rsi      # 0xfb90
leaq 0x7013(%rip), %rdx      # 0xfba0
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x31f0
movq %rax, %r15
jmp 0x8b9f
xorl %r15d, %r15d
leaq 0xa8(%rsp), %rdi
callq 0x30d0
testq %r15, %r15
je 0x8c9e
pushq $0x1
popq %r12
movq (%r14), %rax
cmpb $0x20, (%rax)
jne 0x8bd0
movq %r14, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x3070
jmp 0x8bb9
pushq $0x1
popq %r12
movq 0x8(%r14), %rsi
cmpb $0x20, -0x1(%rax,%rsi)
jne 0x8bf2
decq %rsi
movq %r14, %rdi
movq %r12, %rdx
callq 0x3070
movq (%r14), %rax
jmp 0x8bd4
pushq $0x20
popq %rbp
movq %r14, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x3230
movq %rax, %r12
movq 0x8(%r14), %rax
cmpq %r12, %rax
cmovbq %rax, %r12
movq %rsp, %r13
movq %r13, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r12, %rcx
callq 0x31d0
movq %r13, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x3230
cmpq $-0x1, %rax
jne 0x8c80
movq %rsp, %rdi
pushq $0x2f
popq %rsi
xorl %edx, %edx
callq 0x3230
cmpq $-0x1, %rax
jne 0x8c80
leaq 0x117f(%rip), %rsi      # 0x9dcd
movq %rsp, %rdi
callq 0x4088
testb %al, %al
jne 0x8c80
leaq 0x3a4(%rip), %rsi       # 0x9005
movq %rsp, %rdi
callq 0x4088
testb %al, %al
jne 0x8c80
leaq 0x390(%rip), %rsi       # 0x9004
movq %rsp, %rdi
callq 0x4088
testb %al, %al
je 0x8cc5
leaq 0x1fe2(%rip), %rsi      # 0xac69
leaq 0x30(%rsp), %rdx
movq %rbx, %rdi
callq 0x3e68
movq %rsp, %rdi
callq 0x30d0
jmp 0x8cb0
leaq 0xec9(%rip), %rsi       # 0x9b6e
movq %rsp, %rdx
movq %rbx, %rdi
callq 0x3e68
movq %rbx, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
incq %r12
movq %r14, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x3070
movups 0x50(%r15), %xmm0
movaps %xmm0, 0x20(%rsp)
movups 0x50(%r15), %xmm0
leaq 0x50(%rsp), %rdi
movaps %xmm0, (%rdi)
callq 0x586a
leaq 0x30(%rsp), %rdi
movq %rax, %rsi
callq 0x37f2
leaq 0x20(%rsp), %rdi
callq 0x586a
leaq 0xc8(%rsp), %rdi
movq %rax, %rsi
callq 0x37f2
leaq 0x30(%rsp), %r15
leaq 0xc8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x3320
movq %rax, %r13
movq %r12, %rdi
callq 0x30d0
movq %r15, %rdi
callq 0x30d0
testq %r13, %r13
je 0x8d63
leaq 0x1f5e(%rip), %rsi      # 0xacaf
leaq 0x30(%rsp), %rdx
movq %rbx, %rdi
callq 0x3e68
jmp 0x8c94
leaq 0x88(%rsp), %rdi
movq %rsp, %rsi
callq 0x3240
leaq 0x20(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x570a
movl %eax, %ebp
leaq 0x88(%rsp), %rdi
callq 0x30d0
testb %bpl, %bpl
je 0x8e01
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
callq 0x3240
leaq 0x50(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x570a
movl %eax, %ebp
leaq 0x68(%rsp), %rdi
callq 0x30d0
testb %bpl, %bpl
je 0x8e01
leaq 0x20(%rsp), %rdi
callq 0x586a
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x586a
movq %r14, %rdi
movq %rax, %rsi
callq 0x3add
leaq 0xfde(%rip), %rsi       # 0x9dcd
leaq 0x30(%rsp), %rdx
movq %rbx, %rdi
callq 0x3e68
jmp 0x8c94
leaq 0x1eed(%rip), %rsi      # 0xacf5
leaq 0x30(%rsp), %rdx
movq %rbx, %rdi
callq 0x3e68
jmp 0x8c94
jmp 0x8e4c
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
jmp 0x8e43
jmp 0x8e4c
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
jmp 0x8e43
jmp 0x8e4c
jmp 0x8e4c
jmp 0x8e4c
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x30d0
jmp 0x8e4f
jmp 0x8e4c
movq %rax, %rbx
movq %rsp, %rdi
jmp 0x8e5f
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0x30d0
jmp 0x8e69
movq %rax, %rbx
movq %rbx, %rdi
callq 0x32c0