// File: /workspace/github_cpp_makefile_star2_O2/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 $0x58, %rsp
movq %r9, %r13
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %rbp
movq %rsi, %r12
movq %rdi, %r14
movb $0x1, (%r9)
leaq 0x1b00e(%rip), %rsi     # 0x524bd
movq %rdx, %rdi
callq 0x19be0
testb %al, %al
je 0x3752a
leaq 0x38(%rsp), %rdi
movq %r15, %rsi
callq 0xb750
movq %r14, %rdi
leaq 0x38(%rsp), %r14
movq %r12, %rsi
movq %rbp, %rdx
movq %r14, %rcx
movq %rbx, %r8
movq %r13, %r9
callq 0x2ec9c
movl %eax, %r15d
leaq 0x38(%rsp), %rdi
callq 0xb230
testb %r15b, %r15b
je 0x375d1
movb $0x1, (%r13)
leaq 0x1a34a(%rip), %rsi     # 0x51850
movq %r12, %rdi
callq 0x19be0
testb %al, %al
je 0x3766c
leaq 0x1bda0(%rip), %rsi     # 0x532bd
movq %rbx, %rdi
callq 0x1a288
jmp 0x376e8
leaq 0x18(%rsp), %rdi
movq %r15, %rsi
callq 0xb750
movq %r14, 0x10(%rsp)
movq %r14, %rdi
movq %r12, (%rsp)
movq %r12, %rsi
leaq 0x18(%rsp), %r12
movq %rbp, %rdx
movq %r12, %rcx
movq %rbx, 0x8(%rsp)
movq %rbx, %r8
movq %r13, %r9
callq 0x2ec9c
movl %eax, %r15d
movq %rbp, %r14
leaq 0x18(%rsp), %rdi
callq 0xb230
testb %r15b, %r15b
je 0x375d5
movb $0x1, %bpl
cmpb $0x0, (%r13)
jne 0x376eb
leaq 0x1a2c5(%rip), %rsi     # 0x51850
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x19be0
testb %al, %al
je 0x37690
movb $0x1, (%r13)
leaq 0x1bd1c(%rip), %rsi     # 0x532c7
movq %r14, %rdi
callq 0x19be0
testb %al, %al
je 0x376dc
leaq 0x1bd0a(%rip), %rsi     # 0x532cc
movq 0x8(%rsp), %rdi
callq 0x1a288
jmp 0x376eb
xorl %ebp, %ebp
jmp 0x375db
xorl %ebp, %ebp
movq (%rsp), %r12
testb %bpl, %bpl
jne 0x376eb
cmpb $0x0, (%r13)
je 0x376eb
leaq 0x3df8a(%rip), %r14     # 0x75580
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x37668
addq $0x20, %rdi
callq 0xb800
movq (%r14), %rax
movq 0x8(%rax), %rdi
leaq 0x19b71(%rip), %rsi     # 0x51188
callq 0xb520
leaq 0x1bc3d(%rip), %rsi     # 0x53260
movq %rax, %rdi
callq 0xb520
leaq 0x1a2e9(%rip), %rsi     # 0x5191b
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
movq %r12, %rsi
callq 0xb490
leaq 0x1b844(%rip), %rsi     # 0x52e90
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
callq 0xb270
movq (%r14), %rdi
addq $0x20, %rdi
callq 0xb3e0
xorl %ebp, %ebp
jmp 0x376eb
leaq 0x1a78a(%rip), %rsi     # 0x51dfd
movq %r12, %rdi
callq 0x19be0
testb %al, %al
je 0x376e3
leaq 0x1bc41(%rip), %rsi     # 0x532c7
movq %rbx, %rdi
callq 0x1a2c8
jmp 0x376e8
leaq 0x1a481(%rip), %rsi     # 0x51b18
movq %rbx, %rdi
callq 0x19be0
testb %al, %al
je 0x376dc
movb $0x1, (%r13)
leaq 0x1bc18(%rip), %rsi     # 0x532c7
movq %r14, %rdi
callq 0x19be0
testb %al, %al
je 0x376dc
movq 0x10(%rsp), %rdx
addq $0x68, %rdx
leaq 0x1bbfc(%rip), %rsi     # 0x532c7
movq 0x8(%rsp), %rdi
callq 0x1ef3e
movl %eax, %ebp
jmp 0x375d7
movb $0x0, (%r13)
jmp 0x376eb
movb $0x0, (%r13)
movb $0x1, %bpl
movl %ebp, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
jmp 0x37704
movq %r14, %rdi
movq %rax, %rbx
callq 0xb230
movq %rbx, %rdi
callq 0xb9a0