// File: /workspace/github_cpp_makefile_star2_O1/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun_relay.cc
// Function: scdc_dataprov_jobrun_relay::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_relay::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 == "")
  {
    ret = scdc_dataprov_relay::config_do_cmd_param(cmd, param, val, result, done);
    if (!ret) goto do_quit;

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

    } else done = false;

  } else
  {
    ret = scdc_dataprov_relay::config_do_cmd_param(cmd, param, val, result, done);
    if (!ret) goto do_quit;

    if (done);
    else if (p == "max_parallel_jobs")
    {
      done = true;

      if (c == "info") ret = scdc_dataprov_config::ls(result, "maximum number of parallel jobs executed at once");
      else if (c == "get") ret = scdc_dataprov_config::get<scdcint_t>(result, "max_parallel_jobs", max_parallel_jobs);
      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 $0x88, %rsp
movq %r9, %r14
movq %r8, %r12
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, (%rsp)
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%rsi), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x1d19a
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x1d19a
movb $0x1, (%r14)
leaq 0x13425(%rip), %rsi     # 0x6b50d
leaq 0x28(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x581ce
leaq 0x58(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x1d19a
leaq 0x48(%rsp), %rcx
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r12, %r8
movq %r14, %r9
callq 0x210c2
movl %eax, %ebp
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x5814b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
testb %bpl, %bpl
je 0x5826f
cmpb $0x0, (%r14)
jne 0x5826f
leaq 0x15212(%rip), %rsi     # 0x6d377
leaq 0x28(%rsp), %rdi
callq 0xb110
testl %eax, %eax
jne 0x5826f
movb $0x1, (%r14)
leaq 0x12719(%rip), %rsi     # 0x6a89b
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x5825d
leaq 0x129c8(%rip), %rsi     # 0x6ab63
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
jne 0x5824e
movq (%rsp), %rdx
addq $0x128, %rdx            # imm = 0x128
leaq 0x151b8(%rip), %rsi     # 0x6d377
movq %r12, %rdi
callq 0x540fc
movl %eax, %ebp
jmp 0x5826f
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0x1d19a
leaq 0x68(%rsp), %rcx
movq (%rsp), %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r12, %r8
movq %r14, %r9
callq 0x210c2
movl %eax, %ebp
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x5821f
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
testb %bpl, %bpl
je 0x5826f
leaq 0x12670(%rip), %rsi     # 0x6a89b
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x5826f
leaq 0x12c0d(%rip), %rsi     # 0x6ae4d
leaq 0x8(%rsp), %rdi
callq 0xb110
testl %eax, %eax
je 0x58254
movb $0x0, (%r14)
jmp 0x5826f
leaq 0x1511c(%rip), %rsi     # 0x6d377
jmp 0x58264
leaq 0x150c0(%rip), %rsi     # 0x6d324
movb $0x1, %bpl
movq %r12, %rdi
callq 0x1bfb2
testb %bpl, %bpl
jne 0x5833e
cmpb $0x0, (%r14)
je 0x5833e
leaq 0x342e7(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x5833c
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x11eda(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1504a(%rip), %rsi     # 0x6d30c
movl $0x17, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x12690(%rip), %rsi     # 0x6a966
movl $0x1a, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
leaq 0x13b8c(%rip), %rsi     # 0x6be88
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
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x5835a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x58376
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movl %ebp, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x583c2
movq 0x78(%rsp), %rsi
jmp 0x583b0
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x583c2
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x583c2
movq %rax, %rbx
jmp 0x583de
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x583de
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x583fa
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0