// File: /workspace/github_cpp_makefile_star2_O3/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 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%rsi), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x1d0a0
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x1d0a0
movb $0x1, (%r15)
leaq 0x33fd6(%rip), %rsi     # 0x6b52d
leaq 0x28(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x3757f
leaq 0x34866(%rip), %rsi     # 0x6bdd2
leaq 0x28(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x375c4
movq %rbp, %r13
jmp 0x375f1
leaq 0x33335(%rip), %rsi     # 0x6a8bb
leaq 0x8(%rsp), %rdi
callq 0xb110
movq %rbp, %r13
testl %eax, %eax
je 0x3763c
leaq 0x338cb(%rip), %rsi     # 0x6ae6d
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
jne 0x375f1
movb $0x1, %bpl
leaq 0x34818(%rip), %rsi     # 0x6bdd2
movq %r14, %rdi
callq 0x1bf0a
jmp 0x375f8
leaq 0x332f0(%rip), %rsi     # 0x6a8bb
leaq 0x8(%rsp), %rdi
callq 0xb110
movq %rbp, %r13
testl %eax, %eax
je 0x3764e
leaq 0x335a0(%rip), %rsi     # 0x6ab83
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x37662
movb $0x0, (%r15)
movb $0x1, %bpl
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x3760f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3762b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%r12), %rsi
movb $0x1, %bpl
movq %r14, %rdi
callq 0x1bece
jmp 0x375f8
movb $0x1, %bpl
leaq 0x3477f(%rip), %rsi     # 0x6bdd7
movq %r14, %rdi
callq 0x1bece
jmp 0x375f8
addq $0x8, %r12
movq 0x28(%rsp), %rsi
movq %r14, %rdi
movq %r12, %rdx
callq 0x223d0
movl %eax, %ebp
movb (%r15), %al
xorb $0x1, %al
orb %bpl, %al
jne 0x375f8
leaq 0x54ee3(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x37740
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x32af6(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x345ca(%rip), %rsi     # 0x6bc90
movl $0xa, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x332ac(%rip), %rsi     # 0x6a986
movl $0x1a, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
leaq 0x346f1(%rip), %rsi     # 0x6bdf1
movl $0x11, %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 0x375f8
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x37766
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x37766
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x37782
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0