// File: /workspace/github_cpp_makefile_star2_O2/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun.cc
// Function: scdc_dataprov_jobrun::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::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::config_do_cmd_param(cmd, "", val, result, done);
    if (!ret) goto do_quit;

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

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

      ret = scdc_dataprov_config::ls(result, "jobcmd")
         && scdc_dataprov_config::ls(result, "nodes")
         && scdc_dataprov_config::ls(result, "cores")
         && scdc_dataprov_config::ls(result, "max_parallel_jobs")
         && scdc_dataprov_config::ls(result, "performance")
         && scdc_dataprov_config::ls(result, "runjobs")
         && scdc_dataprov_config::ls(result, "sched_mode")
         && scdc_dataprov_config::ls(result, "sched_method");

    } else done = false;

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

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

      if (param == "jobcmd")                 ret = scdc_dataprov_config::info(result, param, "command for running a job (string)");
      else if (param == "nodes")             ret = scdc_dataprov_config::info(result, param, "compute nodes for executing jobs (string list)");
      else if (param == "cores")             ret = scdc_dataprov_config::info(result, param, "number of cores of a node or in total (int)");
      else if (param == "max_parallel_jobs") ret = scdc_dataprov_config::info(result, param, "maximum number of parallel jobs of a node or in total (int)");
      else if (param == "performance")       ret = scdc_dataprov_config::info(result, param, "performance factor of a node (double)");
      else if (param == "runjobs")           ret = scdc_dataprov_config::info(result, param, "whether jobs should be run (bool)");
      else if (param == "sched_mode")        ret = scdc_dataprov_config::info(result, param, "how scheduling is invoked (string)");
      else if (param == "sched_method")      ret = scdc_dataprov_config::info(result, param, "which scheduling method is used (string)");
      else done = false;

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

      if (param == "jobcmd")                 ret = scdc_dataprov_config::put<string>(result, param, val, jobcmd);
      else if (param == "nodes")             ret = nodes_config(cmd, 0, val, result) && sched_change();
      else if (param == "cores")             ret = nodes_config(cmd, 1, val, result) && sched_change();
      else if (param == "max_parallel_jobs") ret = nodes_config(cmd, 2, val, result) && sched_change();
      else if (param == "performance")       ret = nodes_config(cmd, 3, val, result) && sched_change();
      else if (param == "runjobs")           ret = scdc_dataprov_config::put<bool>(result, param, val, runjobs) && sched_change();
      else if (param == "sched_mode")        ret = scdc_dataprov_config::put<string>(result, param, val, sched_mode) && sched_change();
      else if (param == "sched_method")      ret = scdc_dataprov_config::put<string>(result, param, val, sched_method) && sched_change();
      else done = false;

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

      if (param == "jobcmd")                 ret = scdc_dataprov_config::get<string>(result, param, jobcmd);
      else if (param == "nodes")             ret = nodes_config(cmd, 0, val, result);
      else if (param == "cores")             ret = nodes_config(cmd, 1, val, result);
      else if (param == "max_parallel_jobs") ret = nodes_config(cmd, 2, val, result);
      else if (param == "performance")       ret = nodes_config(cmd, 3, val, result);
      else if (param == "runjobs")           ret = scdc_dataprov_config::get<bool>(result, param, runjobs);
      else if (param == "sched_mode")        ret = scdc_dataprov_config::get<string>(result, param, sched_mode);
      else if (param == "sched_method")      ret = scdc_dataprov_config::get<string>(result, param, sched_method);
      else done = false;

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

      if (param == "nodes") ret = nodes_config(cmd, 0, val, result);
      else done = false;

    } else done = false;
  }

do_quit:
  if (done && !ret)
  {
    SCDC_FAIL("config_do_cmd_param: command '" << cmd << "' failed");
    return false;
  }

  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, %rbx
movq %r8, %r13
movq %rcx, %r14
movq %rdx, %rbp
movq %rsi, %r12
movq %rdi, %r15
movb $0x1, (%r9)
leaq 0x15f4d(%rip), %rsi     # 0x524bd
movq %rdx, %rdi
callq 0x19be0
testb %al, %al
je 0x3c5f8
leaq 0x15f3a(%rip), %rsi     # 0x524bd
leaq 0x48(%rsp), %rdi
leaq 0x1f(%rsp), %rdx
callq 0x1a132
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0xb750
leaq 0x48(%rsp), %rdx
leaq 0x28(%rsp), %rcx
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %r8
movq %rbx, %r9
callq 0x2ec9c
movl %eax, %ebp
leaq 0x28(%rsp), %rdi
callq 0xb230
leaq 0x48(%rsp), %rdi
callq 0xb230
testb %bpl, %bpl
je 0x3c698
leaq 0x15270(%rip), %rsi     # 0x51850
movq %r12, %rdi
callq 0x19be0
testb %al, %al
je 0x3c735
movb $0x1, (%rbx)
jmp 0x3cb6e
movq %r13, 0x10(%rsp)
movq %r14, %rsi
leaq 0x68(%rsp), %r14
movq %r14, %rdi
movq %rsi, %r13
callq 0xb750
movq %r15, 0x20(%rsp)
movq %r15, %rdi
movq %r12, 0x8(%rsp)
movq %r12, %rsi
movq %rbp, %rdx
movq %r14, %rcx
movq 0x10(%rsp), %r8
movq %rbx, %r9
callq 0x2ec9c
movl %eax, %r12d
leaq 0x68(%rsp), %rdi
callq 0xb230
testb %r12b, %r12b
je 0x3c69d
movb $0x1, %r12b
cmpb $0x0, (%rbx)
jne 0x3cb71
leaq 0x151f8(%rip), %rsi     # 0x51850
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x19be0
testb %al, %al
je 0x3c7cc
movb $0x1, (%rbx)
leaq 0x173ee(%rip), %rsi     # 0x53a65
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3c81a
leaq 0x17440(%rip), %rsi     # 0x53ace
movq 0x10(%rsp), %rdi
jmp 0x3cb64
movq %r12, 0x8(%rsp)
xorl %r12d, %r12d
testb %r12b, %r12b
jne 0x3cb71
cmpb $0x0, (%rbx)
je 0x3cb71
leaq 0x38ec7(%rip), %rbx     # 0x75580
movq (%rbx), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x3c72d
addq $0x20, %rdi
callq 0xb800
movq (%rbx), %rax
movq 0x8(%rax), %rdi
leaq 0x14aae(%rip), %rsi     # 0x51188
callq 0xb520
leaq 0x17386(%rip), %rsi     # 0x53a6c
movq %rax, %rdi
callq 0xb520
leaq 0x17527(%rip), %rsi     # 0x53c1c
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0xb490
leaq 0x1677f(%rip), %rsi     # 0x52e90
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
callq 0xb270
movq (%rbx), %rdi
addq $0x20, %rdi
callq 0xb3e0
xorl %r12d, %r12d
jmp 0x3cb71
leaq 0x156c1(%rip), %rsi     # 0x51dfd
movq %r12, %rdi
callq 0x19be0
testb %al, %al
je 0x3cb6b
movb $0x1, (%rbx)
leaq 0x1730f(%rip), %rsi     # 0x53a65
movq %r13, %rdi
callq 0x1a2c8
leaq 0x17331(%rip), %rsi     # 0x53a96
movq %r13, %rdi
callq 0x1a2c8
leaq 0x17328(%rip), %rsi     # 0x53a9c
movq %r13, %rdi
callq 0x1a2c8
leaq 0x17bf4(%rip), %rsi     # 0x54377
movq %r13, %rdi
callq 0x1a2c8
leaq 0x17310(%rip), %rsi     # 0x53aa2
movq %r13, %rdi
callq 0x1a2c8
leaq 0x1730d(%rip), %rsi     # 0x53aae
movq %r13, %rdi
callq 0x1a2c8
leaq 0x17306(%rip), %rsi     # 0x53ab6
movq %r13, %rdi
callq 0x1a2c8
leaq 0x17302(%rip), %rsi     # 0x53ac1
movq %r13, %rdi
callq 0x1a2c8
jmp 0x3cb6e
leaq 0x152cd(%rip), %rsi     # 0x51aa0
movq %r15, %rdi
callq 0x19be0
testb %al, %al
je 0x3c842
movb $0x1, (%rbx)
leaq 0x1727c(%rip), %rsi     # 0x53a65
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
movq %r13, %r14
je 0x3c891
movq 0x20(%rsp), %rcx
addq $0x68, %rcx
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq 0x40e16
jmp 0x3cab0
leaq 0x17275(%rip), %rsi     # 0x53a96
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
movq 0x10(%rsp), %r13
je 0x3c8e6
leaq 0x172b4(%rip), %rsi     # 0x53af1
jmp 0x3cb61
leaq 0x152cf(%rip), %rsi     # 0x51b18
movq %r15, %rdi
callq 0x19be0
testb %al, %al
movq %r13, %r14
je 0x3c909
movb $0x1, (%rbx)
leaq 0x171ff(%rip), %rsi     # 0x53a65
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3c953
movq 0x20(%rsp), %rdx
addq $0x68, %rdx
movq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x40e26
jmp 0x3cab0
leaq 0x171fe(%rip), %rsi     # 0x53a96
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
movq 0x10(%rsp), %r13
movq 0x20(%rsp), %r15
je 0x3c97f
xorl %r12d, %r12d
movq %r15, %rdi
movq 0x8(%rsp), %rsi
xorl %edx, %edx
movq %r14, %rcx
movq %r13, %r8
callq 0x3cc32
testb %al, %al
je 0x3c6a0
addq $0x1b8, %r15            # imm = 0x1B8
movq %r15, %rdi
callq 0xb030
jmp 0x3cb6e
leaq 0x171af(%rip), %rsi     # 0x53a9c
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3c999
leaq 0x1721c(%rip), %rsi     # 0x53b20
jmp 0x3cb61
leaq 0x16baf(%rip), %rsi     # 0x534bf
movq %r15, %rdi
callq 0x19be0
testb %al, %al
je 0x3cbf7
movb $0x1, (%rbx)
leaq 0x1716c(%rip), %rsi     # 0x53a96
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cbf7
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rsi
xorl %edx, %edx
movq %r14, %rcx
movq 0x10(%rsp), %r8
jmp 0x3caab
leaq 0x1713c(%rip), %rsi     # 0x53a96
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
movq 0x10(%rsp), %r13
movq 0x20(%rsp), %r15
je 0x3c9b8
movq %r15, %rdi
movq 0x8(%rsp), %rsi
xorl %edx, %edx
jmp 0x3caa5
leaq 0x17116(%rip), %rsi     # 0x53a9c
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3c9d2
pushq $0x1
jmp 0x3ca38
leaq 0x179d7(%rip), %rsi     # 0x54377
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3c9e9
leaq 0x17199(%rip), %rsi     # 0x53b4c
jmp 0x3cb61
leaq 0x170dd(%rip), %rsi     # 0x53a9c
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3ca08
pushq $0x1
jmp 0x3ca9c
leaq 0x1799e(%rip), %rsi     # 0x54377
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3ca1f
pushq $0x2
jmp 0x3ca38
leaq 0x170b2(%rip), %rsi     # 0x53aa2
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3ca68
leaq 0x17185(%rip), %rsi     # 0x53b88
jmp 0x3cb61
leaq 0x17968(%rip), %rsi     # 0x54377
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3ca87
pushq $0x2
jmp 0x3ca9c
leaq 0x1707c(%rip), %rsi     # 0x53aa2
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cab8
pushq $0x3
popq %rdx
movq %r15, %rdi
movq 0x8(%rsp), %rsi
movq %r14, %rcx
movq %r13, %r8
callq 0x3cc32
testb %al, %al
je 0x3c69d
addq $0x1b8, %r15            # imm = 0x1B8
movq %r15, %rdi
callq 0xb030
jmp 0x3cb71
leaq 0x1703f(%rip), %rsi     # 0x53aae
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cae5
leaq 0x1712c(%rip), %rsi     # 0x53bae
jmp 0x3cb61
leaq 0x17014(%rip), %rsi     # 0x53aa2
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cb01
pushq $0x3
popq %rdx
movq %r15, %rdi
movq 0x8(%rsp), %rsi
movq %r14, %rcx
movq %r13, %r8
callq 0x3cc32
movl %eax, %r12d
jmp 0x3c6a0
leaq 0x16fef(%rip), %rsi     # 0x53aae
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cb2b
leaq 0xc8(%r15), %rcx
movq %r13, %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq 0x40e1e
jmp 0x3ca4c
leaq 0x16fca(%rip), %rsi     # 0x53ab6
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cb47
leaq 0x170d1(%rip), %rsi     # 0x53bd0
jmp 0x3cb61
leaq 0x16fa6(%rip), %rsi     # 0x53aae
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cb86
addq $0xc8, %r15
movq %r13, %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0x40e2e
jmp 0x3cab0
leaq 0x16f84(%rip), %rsi     # 0x53ab6
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cba2
leaq 0xd0(%r15), %rcx
jmp 0x3cbbc
leaq 0x16f73(%rip), %rsi     # 0x53ac1
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cb6b
leaq 0x17092(%rip), %rsi     # 0x53bf3
movq %r13, %rdi
callq 0x1a288
jmp 0x3cb6e
movb $0x0, (%rbx)
movb $0x1, %r12b
movl %r12d, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x16f29(%rip), %rsi     # 0x53ab6
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cbcf
addq $0xd0, %r15
jmp 0x3cbe9
leaq 0x16f18(%rip), %rsi     # 0x53ac1
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cbf7
leaq 0xf0(%r15), %rcx
movq %r13, %rdi
movq %rbp, %rsi
movq %r14, %rdx
callq 0x40e16
jmp 0x3ca4c
leaq 0x16eeb(%rip), %rsi     # 0x53ac1
movq %rbp, %rdi
callq 0x19be0
testb %al, %al
je 0x3cbf7
addq $0xf0, %r15
movq %r13, %rdi
movq %rbp, %rsi
movq %r15, %rdx
jmp 0x3c887
movb $0x0, (%rbx)
jmp 0x3cb71
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xb230
jmp 0x3cc11
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x3cc20
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xb230
jmp 0x3cc2a
movq %rax, %rbx
movq %rbx, %rdi
callq 0xb9a0