// File: /workspace/github_cpp_makefile_star2_O2/mh0fm4[P]SCDC/src/components/dataprov/dataprov.cc
// Function: scdc_dataprov::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::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 << "'");

  string c(cmd), p(param);
  done = true;
  bool ret = true;

  if (p == "")
  {
    if (c == "info")
    {
      ret = scdc_dataprov_config::info(result, type.c_str());

    } else if (c == "ls")
    {
      ret = scdc_dataprov_config::ls(result, "type");

    } else done = false;

  } else if (p == "type")
  {
    if (c == "info")
    {
      ret = scdc_dataprov_config::info(result, p, "type of the data provider");

    } else if (c == "get")
    {
      ret = scdc_dataprov_config::get<string>(result, p, type);

    } else done = false;

  } else done = false;

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

  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, %r15
movq %r8, %r14
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x8(%rsp), %rdi
callq 0xb750
leaq 0x28(%rsp), %rdi
movq %r13, %rsi
callq 0xb750
movb $0x1, (%r15)
leaq 0x237e2(%rip), %rsi     # 0x524bd
leaq 0x28(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x2ed13
leaq 0x22b60(%rip), %rsi     # 0x51850
leaq 0x8(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x2ed58
movq 0x8(%r12), %rsi
movb $0x1, %bpl
movq %r14, %rdi
callq 0x1a288
jmp 0x2ee49
leaq 0x24048(%rip), %rsi     # 0x52d62
leaq 0x28(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x2ee42
leaq 0x22b1d(%rip), %rsi     # 0x51850
leaq 0x8(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x2ed88
movb $0x1, %bpl
leaq 0x2401c(%rip), %rsi     # 0x52d67
movq %r14, %rdi
callq 0x1a288
jmp 0x2ee49
leaq 0x2309e(%rip), %rsi     # 0x51dfd
leaq 0x8(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x2ee42
movb $0x1, %bpl
leaq 0x23fe7(%rip), %rsi     # 0x52d62
movq %r14, %rdi
callq 0x1a2c8
jmp 0x2ee49
leaq 0x22d89(%rip), %rsi     # 0x51b18
leaq 0x8(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x2ee42
addq $0x8, %r12
movq 0x28(%rsp), %rsi
movq %r14, %rdi
movq %r12, %rdx
callq 0x1ef3e
movl %eax, %ebp
movb (%r15), %al
xorb $0x1, %al
orb %bpl, %al
jne 0x2ee49
leaq 0x467b4(%rip), %r14     # 0x75580
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x2ee3e
addq $0x20, %rdi
callq 0xb800
movq (%r14), %rax
movq 0x8(%rax), %rdi
leaq 0x2239b(%rip), %rsi     # 0x51188
callq 0xb520
leaq 0x23e27(%rip), %rsi     # 0x52c20
movq %rax, %rdi
callq 0xb520
leaq 0x22b13(%rip), %rsi     # 0x5191b
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
movq %rbx, %rsi
callq 0xb490
leaq 0x23f5f(%rip), %rsi     # 0x52d81
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
callq 0xb270
movq (%r14), %rdi
addq $0x20, %rdi
callq 0xb3e0
xorl %ebp, %ebp
jmp 0x2ee49
movb $0x0, (%r15)
movb $0x1, %bpl
leaq 0x28(%rsp), %rdi
callq 0xb230
leaq 0x8(%rsp), %rdi
callq 0xb230
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xb230
jmp 0x2ee80
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xb230
movq %rbx, %rdi
callq 0xb9a0