// File: /workspace/github_cpp_makefile_star2_O2/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, %r15
movq %rcx, %rbp
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, (%r14)
leaq 0xe160(%rip), %rsi      # 0x524bd
leaq 0x28(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x443e7
leaq 0x68(%rsp), %rdi
movq %rbp, %rsi
callq 0xb750
leaq 0x68(%rsp), %rcx
movq %r12, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r15, %r8
movq %r14, %r9
callq 0x1e202
movl %eax, %ebp
leaq 0x68(%rsp), %rdi
callq 0xb230
testb %bpl, %bpl
je 0x44478
leaq 0xd4a3(%rip), %rsi      # 0x51850
leaq 0x8(%rsp), %rdi
callq 0x19be0
movb $0x1, %bpl
testb %al, %al
jne 0x44543
leaq 0xda34(%rip), %rsi      # 0x51dfd
leaq 0x8(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x4453f
leaq 0xff95(%rip), %rsi      # 0x54377
jmp 0x44468
leaq 0x48(%rsp), %rdi
movq %rbp, %rsi
callq 0xb750
leaq 0x48(%rsp), %rcx
movq %r12, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r15, %r8
movq %r14, %r9
callq 0x1e202
movl %eax, %ebp
leaq 0x48(%rsp), %rdi
callq 0xb230
testb %bpl, %bpl
je 0x44478
movb $0x1, %bpl
cmpb $0x0, (%r14)
jne 0x44543
leaq 0xff45(%rip), %rsi      # 0x54377
leaq 0x28(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x44543
movb $0x1, (%r14)
leaq 0xd401(%rip), %rsi      # 0x51850
leaq 0x8(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x4450a
leaq 0xfebc(%rip), %rsi      # 0x54324
movb $0x1, %bpl
movq %r15, %rdi
callq 0x1a2c8
jmp 0x44543
xorl %ebp, %ebp
testb %bpl, %bpl
jne 0x44543
cmpb $0x0, (%r14)
je 0x44543
leaq 0x310ec(%rip), %r14     # 0x75580
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x44506
addq $0x20, %rdi
callq 0xb800
movq (%r14), %rax
movq 0x8(%rax), %rdi
leaq 0xccd3(%rip), %rsi      # 0x51188
callq 0xb520
leaq 0xfe4b(%rip), %rsi      # 0x5430c
movq %rax, %rdi
callq 0xb520
leaq 0xd44b(%rip), %rsi      # 0x5191b
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
movq %rbx, %rsi
callq 0xb490
leaq 0xe9a6(%rip), %rsi      # 0x52e90
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
callq 0xb270
movq (%r14), %rdi
addq $0x20, %rdi
callq 0xb3e0
xorl %ebp, %ebp
jmp 0x44543
leaq 0xd607(%rip), %rsi      # 0x51b18
leaq 0x8(%rsp), %rdi
callq 0x19be0
testb %al, %al
je 0x4453f
addq $0x128, %r12            # imm = 0x128
leaq 0xfe4a(%rip), %rsi      # 0x54377
movq %r15, %rdi
movq %r12, %rdx
callq 0x40f26
movl %eax, %ebp
jmp 0x4447a
movb $0x0, (%r14)
leaq 0x28(%rsp), %rdi
callq 0xb230
leaq 0x8(%rsp), %rdi
callq 0xb230
movl %ebp, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x4457d
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xb230
jmp 0x4458c
movq %rax, %rbx
jmp 0x44596
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xb230
leaq 0x8(%rsp), %rdi
callq 0xb230
movq %rbx, %rdi
callq 0xb9a0