// File: /workspace/github_cpp_makefile_star2_O3/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 0xb8(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xb5d(%rip), %rsi       # 0xb1ef
leaq 0xb5b(%rip), %rdx       # 0xb1f4
leaq 0xa8(%rsp), %r12
movq %r12, %rdi
callq 0x4718
movq %r15, %rdi
movq %r12, %rsi
callq 0x5e54
testq %rax, %rax
je 0xa6d6
leaq 0x64c8(%rip), %rsi      # 0x10b88
leaq 0x64d1(%rip), %rdx      # 0x10b98
movq %rax, %rdi
xorl %ecx, %ecx
callq 0x31f0
movq %rax, %r15
jmp 0xa6d9
xorl %r15d, %r15d
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0xa6f6
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x31c0
testq %r15, %r15
jne 0xa72c
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x1465(%rip), %rsi      # 0xbb6e
leaq 0x1483(%rip), %rdx      # 0xbb93
movq %rbx, %rdi
callq 0x4718
jmp 0xa7f3
movl $0x1, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3070
movq (%r14), %rax
cmpb $0x20, (%rax)
je 0xa71d
movq 0x8(%r14), %rsi
cmpb $0x20, -0x1(%rax,%rsi)
jne 0xa761
decq %rsi
movl $0x1, %edx
movq %r14, %rdi
callq 0x3070
movq (%r14), %rax
movq 0x8(%r14), %rcx
leaq -0x1(%rcx), %rsi
cmpb $0x20, -0x1(%rax,%rcx)
je 0xa742
movq %r14, %rdi
movl $0x20, %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 $0x20, %esi
xorl %edx, %edx
callq 0x3230
cmpq $-0x1, %rax
jne 0xa7bb
movq %rsp, %rdi
movl $0x2f, %esi
xorl %edx, %edx
callq 0x3230
cmpq $-0x1, %rax
je 0xa808
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x24a0(%rip), %rsi      # 0xcc69
leaq 0x24de(%rip), %rdx      # 0xccae
movq %rbx, %rdi
callq 0x4718
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa7f3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x31c0
movq %rbx, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x15be(%rip), %rsi      # 0xbdcd
movq %rsp, %rdi
callq 0x3090
testl %eax, %eax
je 0xa7bb
leaq 0x7e3(%rip), %rsi       # 0xb005
movq %rsp, %rdi
callq 0x3090
testl %eax, %eax
je 0xa7bb
leaq 0x7cf(%rip), %rsi       # 0xb004
movq %rsp, %rdi
callq 0x3090
testl %eax, %eax
je 0xa7bb
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 0x70(%rsp), %rdi
movaps %xmm0, (%rdi)
callq 0x5d56
leaq 0x88(%rsp), %rdi
movq %rax, %rsi
callq 0x38de
leaq 0x20(%rsp), %rdi
callq 0x5d56
leaq 0xc8(%rsp), %rdi
movq %rax, %rsi
callq 0x38de
leaq 0xd8(%rsp), %r12
movq -0x10(%r12), %rsi
movq -0x8(%r12), %rcx
leaq 0x88(%rsp), %rdi
xorl %edx, %edx
callq 0x32c0
movq %rax, %r15
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0xa8d9
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x31c0
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xa8fa
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x31c0
testq %r15, %r15
je 0xa921
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x23a2(%rip), %rsi      # 0xccaf
leaq 0x23e0(%rip), %rdx      # 0xccf4
movq %rbx, %rdi
callq 0x4718
jmp 0xa7d8
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x4ace
leaq 0x20(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x5b30
movl %eax, %ebp
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0xa968
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x31c0
testb %bpl, %bpl
je 0xa9fb
leaq 0x40(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x4ace
leaq 0x70(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x5b30
movl %eax, %ebp
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0xa9b6
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x31c0
testb %bpl, %bpl
je 0xa9fb
leaq 0x20(%rsp), %rdi
callq 0x5d56
movq %rax, %r14
leaq 0x70(%rsp), %rdi
callq 0x5d56
movq %r14, %rdi
movq %rax, %rsi
callq 0x3d25
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x13e2(%rip), %rdx      # 0xbdcd
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x4718
jmp 0xa7d8
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x22ec(%rip), %rsi      # 0xccf5
leaq 0x231e(%rip), %rdx      # 0xcd2e
movq %rbx, %rdi
callq 0x4718
jmp 0xa7d8
jmp 0xaa77
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0xaa7a
movq 0x40(%rsp), %rsi
jmp 0xaa6b
jmp 0xaa77
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0xaa7a
movq 0x60(%rsp), %rsi
jmp 0xaa6b
jmp 0xaa77
jmp 0xaa77
jmp 0xaa77
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xaa7a
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x31c0
jmp 0xaa7a
jmp 0xaa77
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xaaaf
movq 0x10(%rsp), %rsi
jmp 0xaaa7
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0xaaaf
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x31c0
movq %rbx, %rdi
callq 0x32d0