// File: /workspace/github_cpp_makefile_star2_O1/mh0fm4[P]SCDC/src/components/dataprov/dataprov_fs2.cc
// Function: scdc_dataprov_fs2::config_do_cmd_param(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, scdc_config_result&, bool&)
bool scdc_dataprov_fs2::config_do_cmd_param(const std::string &cmd, const std::string &param, std::string val, scdc_config_result &result, bool &done)
{
  SCDC_TRACE("config_do_cmd_param: cmd: '" << cmd << "', param: '" << param << "', val: '" << val << "', result: '" << result << "'");

  done = true;
  bool ret = true;

  if (param == "")
  {
    ret = scdc_dataprov::config_do_cmd_param(cmd, param, val, result, done);
    if (!ret) goto do_quit;

    done = true;

    if (cmd == "info")
    {
      ret = scdc_dataprov_config::info(result, "free/used");

    } else if (cmd == "ls")
    {
      ret = scdc_dataprov_config::ls(result, "root");

    } else done = false;

  } else
  {
    ret = scdc_dataprov::config_do_cmd_param(cmd, param, val, result, done);
    if (!ret) goto do_quit;

    if (done);
    else if (cmd == "info")
    {
      done = true;

      if (param == "root") ret = scdc_dataprov_config::info(result, param, "root directory within the local file system (string)");
      else done = false;

    } else if (cmd == "get")
    {
      done = true;

      if (param == "root") ret = scdc_dataprov_config::get<string>(result, "root", root);
      else done = false;

    } else done = false;
  }

do_quit:
  if (done && !ret)
  {
    SCDC_FAIL("config_do_cmd_param: cmd '" << cmd << "' failed");
    return false;
  }

  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r9, %r13
movq %r8, %rbx
movq %rcx, %rbp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movb $0x1, (%r9)
leaq 0x25d54(%rip), %rsi     # 0x6b50d
movq %rdx, %rdi
callq 0xb110
testl %eax, %eax
je 0x458bd
leaq 0x38(%rsp), %rax
movq %rax, 0x18(%rsp)
movq %rax, -0x10(%rax)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rbp
movq %rbp, %rdi
callq 0x1d19a
movq %r14, 0x20(%rsp)
movq %r14, %rdi
movq %r12, 0x8(%rsp)
movq %r12, %rsi
movq %r15, %rdx
movq %rbp, %rcx
movq %rbx, 0x10(%rsp)
movq %rbx, %r8
movq %r13, %r9
callq 0x37842
movl %eax, %ebp
movq %r15, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x45836
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
testb %bpl, %bpl
movq 0x20(%rsp), %r15
je 0x45988
cmpb $0x0, (%r13)
jne 0x45988
leaq 0x25045(%rip), %rsi     # 0x6a89b
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x45967
leaq 0x252f1(%rip), %rsi     # 0x6ab63
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
jne 0x45983
movb $0x1, (%r13)
leaq 0x26a31(%rip), %rsi     # 0x6c2bf
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
jne 0x45983
addq $0x68, %r15
leaq 0x26a16(%rip), %rsi     # 0x6c2bf
movq 0x10(%rsp), %rdi
movq %r15, %rdx
callq 0x224ae
movl %eax, %ebp
jmp 0x45988
leaq 0x58(%rsp), %rax
movq %rax, 0x18(%rsp)
movq %rax, -0x10(%rax)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rbp
movq %rbp, %rdi
callq 0x1d19a
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %rbp, %rcx
movq %rbx, %r8
movq %r13, %r9
callq 0x37842
movl %eax, %ebp
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x45918
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
testb %bpl, %bpl
je 0x4598d
movb $0x1, (%r13)
leaq 0x24f72(%rip), %rsi     # 0x6a89b
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x45953
leaq 0x25511(%rip), %rsi     # 0x6ae4d
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x45a70
movb $0x0, (%r13)
jmp 0x4598d
leaq 0x2695b(%rip), %rsi     # 0x6c2b5
movq %rbx, %rdi
callq 0x1bf76
jmp 0x45a7f
movb $0x1, (%r13)
leaq 0x2694c(%rip), %rsi     # 0x6c2bf
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x45a87
movb $0x0, (%r13)
movq 0x8(%rsp), %r12
testb %bpl, %bpl
jne 0x45a5f
cmpb $0x0, (%r13)
je 0x45a5f
leaq 0x46bc8(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x45a5d
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x247bb(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x26877(%rip), %rsi     # 0x6c258
movl $0xd, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x24f71(%rip), %rsi     # 0x6a966
movl $0x1a, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
leaq 0x2646b(%rip), %rsi     # 0x6be88
movl $0x8, %edx
movq %rax, %rdi
callq 0xb5f0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r15), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x26848(%rip), %rsi     # 0x6c2bf
movq %rbx, %rdi
callq 0x1bfb2
movb $0x1, %bpl
jmp 0x4598d
leaq 0x26836(%rip), %rsi     # 0x6c2c4
movq 0x10(%rsp), %rdi
callq 0x1bf76
movb $0x1, %bpl
jmp 0x45988
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
jmp 0x45abc
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x45ad1
movq 0x18(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop