// File: /workspace/github_cpp_makefile_star2_O3/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 0x262cc(%rip), %rsi     # 0x6b52d
movq %rdx, %rdi
callq 0xb110
testl %eax, %eax
je 0x45368
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 0x1d0a0
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 0x374f4
movl %eax, %ebp
movq %r15, %r14
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x452de
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
testb %bpl, %bpl
movq 0x20(%rsp), %r15
je 0x45405
movb $0x1, %bpl
cmpb $0x0, (%r13)
jne 0x45526
leaq 0x255ba(%rip), %rsi     # 0x6a8bb
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x454f5
leaq 0x25866(%rip), %rsi     # 0x6ab83
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
jne 0x4550d
movb $0x1, (%r13)
leaq 0x26ffe(%rip), %rsi     # 0x6c337
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
jne 0x4550d
addq $0x68, %r15
leaq 0x26fe3(%rip), %rsi     # 0x6c337
movq 0x10(%rsp), %rdi
movq %r15, %rdx
callq 0x223d0
movl %eax, %ebp
jmp 0x45407
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 0x1d0a0
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %rbp, %rcx
movq %rbx, %r8
movq %r13, %r9
callq 0x374f4
movl %eax, %ebp
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x453c3
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
testb %bpl, %bpl
je 0x4540e
movb $0x1, (%r13)
leaq 0x254e7(%rip), %rsi     # 0x6a8bb
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x454e4
leaq 0x25a82(%rip), %rsi     # 0x6ae6d
movq %r12, %rdi
callq 0xb110
testl %eax, %eax
je 0x45514
movb $0x0, (%r13)
jmp 0x45523
xorl %ebp, %ebp
movq 0x8(%rsp), %r12
jmp 0x45410
xorl %ebp, %ebp
testb %bpl, %bpl
jne 0x45526
cmpb $0x0, (%r13)
je 0x45526
leaq 0x47145(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x454e0
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x24d58(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x26e6c(%rip), %rsi     # 0x6c2d0
movl $0xd, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x2550e(%rip), %rsi     # 0x6a986
movl $0x1a, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
leaq 0x26a60(%rip), %rsi     # 0x6bf00
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
jmp 0x45526
leaq 0x26e42(%rip), %rsi     # 0x6c32d
movq %rbx, %rdi
callq 0x1bece
jmp 0x45523
movb $0x1, (%r13)
leaq 0x26e36(%rip), %rsi     # 0x6c337
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x45537
movb $0x0, (%r13)
jmp 0x45526
leaq 0x26e1c(%rip), %rsi     # 0x6c337
movq %rbx, %rdi
callq 0x1bf0a
movb $0x1, %bpl
movl %ebp, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x26dfe(%rip), %rsi     # 0x6c33c
movq 0x10(%rsp), %rdi
callq 0x1bece
jmp 0x45526
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
jmp 0x45566
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x4557b
movq 0x18(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop