// File: /workspace/github_cpp_makefile_star2_O3/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun.cc
// Function: scdc_dataprov_jobrun_handler::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_jobrun_handler::config_do_cmd_param(const std::string &cmd, const std::string &param, std::string val, scdc_config_result &result, bool &done)
{
  SCDC_TRACE(__func__ << ": cmd: '" << cmd << "', param: '" << param << "', val: '" << val << "', result: '" << result << "'");

  done = true;
  bool ret = true;

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

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

      ret = scdc_dataprov_config::info(result, param, "job-handler");

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

      ret = true;

    } else done = false;
  }

do_quit:
  if (done && !ret)
  {
    SCDC_FAIL("config_do_cmd_param: command '" << cmd << "' with param '" << param << "' failed");
    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, %rbx
movq %rcx, %r14
movq %rdx, %rbp
movq %rsi, %r12
movq %rdi, %r13
movb $0x1, (%r9)
leaq 0x197c2(%rip), %rsi     # 0x6b52d
movq %rdx, %rdi
callq 0xb110
movb $0x1, %cl
testl %eax, %eax
jne 0x51f5c
movq %rbp, 0x20(%rsp)
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1979b(%rip), %rdx     # 0x6b52d
movq %rsp, %rdi
movq %rdx, %rsi
callq 0x1be38
leaq 0x38(%rsp), %rax
movq %rax, %rbp
movq %rax, -0x10(%rax)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x1d0a0
movq %rsp, %rdx
leaq 0x28(%rsp), %rcx
movq %r13, %rdi
movq %r12, %r14
movq %r12, %rsi
movq %rbx, %r8
movq %r15, %r9
callq 0x4cfba
movl %eax, %r13d
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x51df3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x51e0e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
testb %r13b, %r13b
je 0x51e4a
leaq 0x18aa1(%rip), %rsi     # 0x6a8bb
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x51f41
leaq 0x1903c(%rip), %rsi     # 0x6ae6d
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x51f56
movb $0x0, (%r15)
jmp 0x51f5a
cmpb $0x1, (%r15)
jne 0x51f3d
leaq 0x3a715(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x51f3d
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x18326(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x1b2b0(%rip), %rsi     # 0x6d146
movl $0x19, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x1ade2(%rip), %rsi     # 0x6cc8c
movl $0x1e, %edx
movq %r15, %rdi
callq 0xb5f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0xb5f0
movq %rax, %r14
leaq 0x1b189(%rip), %rsi     # 0x6d059
movl $0xe, %edx
movq %rax, %rdi
callq 0xb5f0
movq 0x20(%rsp), %rbp
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
leaq 0x1a004(%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 (%r12), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %ecx, %ecx
jmp 0x51f5c
movb $0x1, (%r15)
leaq 0x1b23f(%rip), %rsi     # 0x6d18b
movq %rbx, %rdi
callq 0x1bece
jmp 0x51f5a
movb $0x1, (%r15)
movb $0x1, %cl
movl %ecx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x51f8c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x51f8c
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x51fa7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop