// File: /workspace/github_cpp_makefile_star2_O1/mh0fm4[P]SCDC/src/components/dataset/dataset.cc
// Function: scdc_dataset::do_cmd(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, _scdc_dataset_inout_t*, _scdc_dataset_inout_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool scdc_dataset::do_cmd(const std::string &cmd, scdc_dataset_input_t *input, scdc_dataset_output_t *output, scdc_result &result)
{
  SCDC_TRACE("do_cmd: cmd: '" << cmd << "'");

  string scmd, suri, sparams, params;

  split_cmdline(cmd.c_str(), cmd.size(), &scmd, &suri, &sparams);

  join_cmdline(0, suri.c_str(), sparams.c_str(), params);

  SCDC_TRACE("do_cmd: pwd: '" << pwd << "'");
  SCDC_TRACE("do_cmd: cmd: '" << scmd << "'");
  SCDC_TRACE("do_cmd: params: '" << params << "'");

  bool ret;

  if (config)
  {
    if (scmd == "cd")
    {
      if (params == "") ret = true;
      else ret = dataprov->config_do_cmd("info", params.c_str(), 0, 0, result);

      if (ret) ret = scdc_dataset::do_cmd_cd(params.c_str(), input, output, result);

    } else if (scmd == "pwd")
    {
      ret = scdc_dataset::do_cmd_pwd(params.c_str(), input, output, result);

    } else
    {
      if (pwd.size() > 0) params = pwd + " " + params;

      ret = dataprov->config_do_cmd(scmd.c_str(), params.c_str(), input, output, result);
    }

  } else ret = dataprov->dataset_cmds_do_cmd(this, scmd.c_str(), params.c_str(), input, output, result);

  SCDC_TRACE("do_cmd: return: '" << ret << "'");

  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rdi, %rbx
leaq 0x88(%rsp), %r13
movq %r13, -0x10(%r13)
xorl %eax, %eax
movq %rax, -0x8(%r13)
movb %al, (%r13)
leaq 0xc8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xa8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x68(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq (%rsi), %rdi
movq 0x8(%rsi), %rsi
leaq 0x78(%rsp), %rdx
leaq 0xb8(%rsp), %rcx
leaq 0x98(%rsp), %r8
callq 0x1c52f
movq 0xb8(%rsp), %rsi
movq 0x98(%rsp), %rdx
leaq 0x58(%rsp), %rcx
xorl %edi, %edi
callq 0x1c7be
cmpb $0x1, 0x10(%rbx)
jne 0x2a171
leaq 0x40b3b(%rip), %rsi     # 0x6ac07
leaq 0x78(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x2a20a
leaq 0x40968(%rip), %rsi     # 0x6aa4d
leaq 0x78(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x2a2ae
movq 0x20(%rbx), %rdx
testq %rdx, %rdx
je 0x2a41c
leaq 0x48(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq 0x18(%rbx), %rsi
addq %rsi, %rdx
leaq 0x38(%rsp), %rdi
callq 0x1d19a
leaq 0x42edb(%rip), %rsi     # 0x6d000
leaq 0x38(%rsp), %rdi
callq 0xba60
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
leaq 0x38(%rsp), %rdi
callq 0xb150
leaq 0x28(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2a3b2
movq %rdx, 0x18(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x28(%rsp)
jmp 0x2a3b9
movq 0x8(%rbx), %r13
movq 0x78(%rsp), %rsi
leaq 0x18(%rsp), %rdi
leaq 0x16(%rsp), %rdx
callq 0x1bdd6
movq 0x58(%rsp), %rsi
leaq 0x38(%rsp), %rdi
leaq 0x17(%rsp), %rdx
callq 0x1bdd6
movq (%r13), %rax
movq 0x68(%rax), %rax
movq %r14, (%rsp)
leaq 0x18(%rsp), %rdx
leaq 0x38(%rsp), %rcx
movq %r13, %rdi
movq %rbx, %rsi
movq %r12, %r8
movq %r15, %r9
callq *%rax
movl %eax, %ebp
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
leaq 0x88(%rsp), %r13
je 0x2a1e6
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2a31e
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x2a31e
leaq 0x412fc(%rip), %rsi     # 0x6b50d
leaq 0x58(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x2a2d3
movq 0x8(%rbx), %r15
leaq 0x28(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x40663(%rip), %rsi     # 0x6a89b
leaq 0x40660(%rip), %rdx     # 0x6a89f
leaq 0x18(%rsp), %rdi
callq 0x1bee6
movq 0x58(%rsp), %rsi
leaq 0x38(%rsp), %rdi
leaq 0x16(%rsp), %rdx
callq 0x1bdd6
movq (%r15), %rax
leaq 0x18(%rsp), %rsi
leaq 0x38(%rsp), %rdx
movq %r15, %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
movq %r14, %r9
callq *0x58(%rax)
movl %eax, %ebp
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2a295
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x2a2d6
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x2a2d6
movq 0x58(%rsp), %rsi
leaq 0x18(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x1bdd6
addq $0x18, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xb2c0
jmp 0x2a300
movb $0x1, %bpl
testb %bpl, %bpl
je 0x2a31e
movq 0x58(%rsp), %rsi
leaq 0x18(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x1bdd6
addq $0x18, %rbx
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0xb2c0
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2a31b
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
movb $0x1, %bpl
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x2a33a
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x2a35f
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x2a384
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x78(%rsp), %rdi
cmpq %r13, %rdi
je 0x2a39e
movq 0x88(%rsp), %rsi
incq %rsi
callq 0xb510
movl %ebp, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x18(%rsp), %r13
movq %rdx, 0x8(%r13)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x58(%rsp), %rdi
movq %r13, %rsi
callq 0xb670
movq (%r13), %rdi
cmpq %rbp, %rdi
je 0x2a3f8
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
leaq 0x88(%rsp), %r13
je 0x2a41c
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rbx), %rbx
movq 0x78(%rsp), %rsi
leaq 0x18(%rsp), %rdi
leaq 0x16(%rsp), %rdx
callq 0x1bdd6
movq 0x58(%rsp), %rsi
leaq 0x38(%rsp), %rdi
leaq 0x17(%rsp), %rdx
callq 0x1bdd6
movq (%rbx), %rax
leaq 0x18(%rsp), %rsi
leaq 0x38(%rsp), %rdx
movq %rbx, %rdi
movq %r12, %rcx
movq %r15, %r8
movq %r14, %r9
callq *0x58(%rax)
movl %eax, %ebp
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x2a1d9
jmp 0x2a1e6
jmp 0x2a4f7
jmp 0x2a519
movq %rax, %rbx
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2a4a9
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x2a4a9
jmp 0x2a4f7
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
jne 0x2a508
jmp 0x2a51c
jmp 0x2a519
jmp 0x2a519
jmp 0x2a4bb
movq %rax, %rbx
movq 0x38(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2a51c
movq 0x48(%rsp), %rsi
jmp 0x2a50d
jmp 0x2a519
jmp 0x2a4d7
jmp 0x2a4f7
jmp 0x2a519
movq %rax, %rbx
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2a4fa
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x2a4fa
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2a51c
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x2a51c
jmp 0x2a519
movq %rax, %rbx
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x2a538
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x2a55d
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x2a582
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x2a5a4
movq 0x88(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0