// File: /workspace/github_cpp_makefile_star2_O1/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun.cc
// Function: scdc_dataprov_jobrun_system::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_system::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-system");

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

      ret = scdc_dataprov_config::ls(result, "workdir")
         && scdc_dataprov_config::ls(result, "xterm")
         && scdc_dataprov_config::ls(result, "xterm_hold")
         && scdc_dataprov_config::ls(result, "Xvfb")
         && scdc_dataprov_config::ls(result, "show_output")
         && scdc_dataprov_config::ls(result, "sleep_before_run")
         && scdc_dataprov_config::ls(result, "sleep_after_run");

    } else done = false;

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

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

      if (param == "workdir")               ret = scdc_dataprov_config::info(result, param, "root of working directory for jobs (string)");
      else if (param == "xterm")            ret = scdc_dataprov_config::info(result, param, "whether a job should run in an xterm (bool)");
      else if (param == "xterm_hold")       ret = scdc_dataprov_config::info(result, param, "whether the xterm should be closed automatically (boolean)");
      else if (param == "Xvfb")             ret = scdc_dataprov_config::info(result, param, "whether a dummy X server should be started (boolean)");
      else if (param == "show_output")      ret = scdc_dataprov_config::info(result, param, "whether the command output should be shown (boolean)");
      else if (param == "sleep_before_run") ret = scdc_dataprov_config::info(result, param, "number of seconds to sleep before runing a job (integer)");
      else if (param == "sleep_after_run")  ret = scdc_dataprov_config::info(result, param, "number of seconds to sleep after runing a job (integer)");
      else done = false;

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

      if (param == "workdir")               ret = scdc_dataprov_config::put<string>(result, param, val, workdir);
      else if (param == "xterm")            ret = scdc_dataprov_config::put<bool>(result, param, val, xterm);
      else if (param == "xterm_hold")       ret = scdc_dataprov_config::put<bool>(result, param, val, xterm_hold);
      else if (param == "Xvfb")             ret = scdc_dataprov_config::put<bool>(result, param, val, Xvfb);
      else if (param == "show_output")      ret = scdc_dataprov_config::put<bool>(result, param, val, show_output);
      else if (param == "sleep_before_run") ret = scdc_dataprov_config::put<scdcint_t>(result, param, val, sleep_before_run);
      else if (param == "sleep_after_run")  ret = scdc_dataprov_config::put<scdcint_t>(result, param, val, sleep_after_run);
      else done = false;

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

      if (param == "workdir")               ret = scdc_dataprov_config::get<string>(result, param, workdir);
      else if (param == "xterm")            ret = scdc_dataprov_config::get<bool>(result, param, xterm);
      else if (param == "xterm_hold")       ret = scdc_dataprov_config::get<bool>(result, param, xterm_hold);
      else if (param == "Xvfb")             ret = scdc_dataprov_config::get<bool>(result, param, Xvfb);
      else if (param == "show_output")      ret = scdc_dataprov_config::get<bool>(result, param, show_output);
      else if (param == "sleep_before_run") ret = scdc_dataprov_config::get<scdcint_t>(result, param, sleep_before_run);
      else if (param == "sleep_after_run")  ret = scdc_dataprov_config::get<scdcint_t>(result, param, sleep_after_run);
      else done = false;

    } 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 $0x78, %rsp
movq %r9, %r14
movq %r8, %r13
movq %rcx, %rbx
movq %rdx, %r12
movq %rsi, %rbp
movq %rdi, %r15
movb $0x1, (%r9)
leaq 0x1aeb2(%rip), %rsi     # 0x6b50d
movq %rdx, %rdi
callq 0xb110
testl %eax, %eax
movq %rbp, 0x8(%rsp)
je 0x507ee
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%rbx), %rsi
movq %rbx, 0x10(%rsp)
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0x1d19a
movq %r15, (%rsp)
movq %r15, %rdi
movq %rbp, %rsi
movq %r12, %rbp
movq %r12, %rdx
movq %rbx, %rcx
movq %r13, %r8
movq %r14, %r12
movq %r14, %r9
callq 0x4d4ae
movl %eax, %r15d
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x506d5
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
testb %r15b, %r15b
movq %rbp, %r14
je 0x508c6
movq %r12, %rbp
cmpb $0x0, (%r12)
jne 0x50bc2
leaq 0x1a1a5(%rip), %rsi     # 0x6a89b
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x508de
leaq 0x1a3d9(%rip), %rsi     # 0x6aaeb
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x50a01
leaq 0x1a43a(%rip), %rsi     # 0x6ab63
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
jne 0x508bd
movb $0x1, (%rbp)
leaq 0x1c660(%rip), %rsi     # 0x6cda4
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50af3
leaq 0x1c6dd(%rip), %rsi     # 0x6ce38
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50b24
leaq 0x1c6cc(%rip), %rsi     # 0x6ce3e
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50b4a
leaq 0x1c6c0(%rip), %rsi     # 0x6ce49
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50b6d
leaq 0x1c6ae(%rip), %rsi     # 0x6ce4e
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50ba9
leaq 0x1c6a3(%rip), %rsi     # 0x6ce5a
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50cf0
leaq 0x1c69d(%rip), %rsi     # 0x6ce6b
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
jne 0x508bd
movq (%rsp), %rdx
addq $0x2a0, %rdx            # imm = 0x2A0
jmp 0x50cfb
movq %r12, (%rsp)
leaq 0x28(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1ad0b(%rip), %rdx     # 0x6b50d
leaq 0x18(%rsp), %rdi
movq %rdx, %rsi
callq 0x1bee6
leaq 0x68(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0x1d19a
leaq 0x18(%rsp), %rdx
leaq 0x58(%rsp), %rcx
movq %r15, %rdi
movq %rbp, %rsi
movq %r13, %r8
movq %r14, %rbp
movq %r14, %r9
callq 0x4d4ae
movl %eax, %r15d
movq 0x58(%rsp), %rdi
cmpq %r12, %rdi
je 0x50865
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
movq (%rsp), %r14
je 0x50885
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
testb %r15b, %r15b
je 0x50bc2
leaq 0x1a006(%rip), %rsi     # 0x6a89b
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x508ce
leaq 0x1a5a0(%rip), %rsi     # 0x6ae4d
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x5098f
movb $0x0, (%rbp)
jmp 0x50bc2
movq %r12, %rbp
jmp 0x50bc2
movb $0x1, (%rbp)
leaq 0x1c554(%rip), %rsi     # 0x6ce2d
jmp 0x50b81
movb $0x1, (%rbp)
leaq 0x1c4bb(%rip), %rsi     # 0x6cda4
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50abb
leaq 0x1c538(%rip), %rsi     # 0x6ce38
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50ac7
leaq 0x1c527(%rip), %rsi     # 0x6ce3e
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50b0e
leaq 0x1c51b(%rip), %rsi     # 0x6ce49
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50b34
leaq 0x1c509(%rip), %rsi     # 0x6ce4e
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50b57
leaq 0x1c4fe(%rip), %rsi     # 0x6ce5a
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50b7a
leaq 0x1c4f8(%rip), %rsi     # 0x6ce6b
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
jne 0x508bd
leaq 0x1c627(%rip), %rsi     # 0x6cfb1
jmp 0x50b81
movb $0x1, (%rbp)
leaq 0x1c40a(%rip), %rsi     # 0x6cda4
movq %r13, %rdi
callq 0x1bfb2
leaq 0x1c48f(%rip), %rsi     # 0x6ce38
movq %r13, %rdi
callq 0x1bfb2
leaq 0x1c486(%rip), %rsi     # 0x6ce3e
movq %r13, %rdi
callq 0x1bfb2
leaq 0x1c482(%rip), %rsi     # 0x6ce49
movq %r13, %rdi
callq 0x1bfb2
leaq 0x1c478(%rip), %rsi     # 0x6ce4e
movq %r13, %rdi
callq 0x1bfb2
leaq 0x1c475(%rip), %rsi     # 0x6ce5a
movq %r13, %rdi
callq 0x1bfb2
leaq 0x1c477(%rip), %rsi     # 0x6ce6b
movq %r13, %rdi
callq 0x1bfb2
jmp 0x50b89
movb $0x1, (%rbp)
leaq 0x1c398(%rip), %rsi     # 0x6cda4
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50ad3
leaq 0x1c415(%rip), %rsi     # 0x6ce38
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
movq 0x10(%rsp), %rbx
je 0x50b17
leaq 0x1c3ff(%rip), %rsi     # 0x6ce3e
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50b3d
leaq 0x1c3f3(%rip), %rsi     # 0x6ce49
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50b60
leaq 0x1c3e1(%rip), %rsi     # 0x6ce4e
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50b8e
leaq 0x1c3d6(%rip), %rsi     # 0x6ce5a
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
je 0x50cd2
leaq 0x1c3d0(%rip), %rsi     # 0x6ce6b
movq %r14, %rdi
callq 0xb110
testl %eax, %eax
jne 0x508bd
movq (%rsp), %rcx
addq $0x2a0, %rcx            # imm = 0x2A0
jmp 0x50cdd
leaq 0x1c3b9(%rip), %rsi     # 0x6ce7b
jmp 0x50b81
leaq 0x1c3d9(%rip), %rsi     # 0x6cea7
jmp 0x50b81
movq (%rsp), %rcx
addq $0x270, %rcx            # imm = 0x270
movq (%r14), %rsi
movq %r13, %rdi
movq 0x10(%rsp), %rdx
callq 0x22400
jmp 0x50bbf
movq (%rsp), %rdx
addq $0x270, %rdx            # imm = 0x270
movq (%r14), %rsi
movq %r13, %rdi
callq 0x224ae
jmp 0x50bbf
leaq 0x1c3be(%rip), %rsi     # 0x6ced3
jmp 0x50b81
movq (%rsp), %rcx
addq $0x290, %rcx            # imm = 0x290
jmp 0x50b99
movq (%rsp), %rdx
addq $0x290, %rdx            # imm = 0x290
jmp 0x50bb4
leaq 0x1c3d3(%rip), %rsi     # 0x6cf0e
jmp 0x50b81
movq (%rsp), %rcx
addq $0x291, %rcx            # imm = 0x291
jmp 0x50b99
movq (%rsp), %rdx
addq $0x291, %rdx            # imm = 0x291
jmp 0x50bb4
leaq 0x1c3e5(%rip), %rsi     # 0x6cf43
jmp 0x50b81
movq (%rsp), %rcx
addq $0x292, %rcx            # imm = 0x292
jmp 0x50b99
movq (%rsp), %rdx
addq $0x292, %rdx            # imm = 0x292
jmp 0x50bb4
leaq 0x1c3f7(%rip), %rsi     # 0x6cf78
movq %r13, %rdi
callq 0x1bf76
movb $0x1, %r15b
jmp 0x50bc2
movq (%rsp), %rcx
addq $0x293, %rcx            # imm = 0x293
movq (%r14), %rsi
movq %r13, %rdi
movq %rbx, %rdx
callq 0x55e94
jmp 0x50bbf
movq (%rsp), %rdx
addq $0x293, %rdx            # imm = 0x293
movq (%r14), %rsi
movq %r13, %rdi
callq 0x55f42
movl %eax, %r15d
testb %r15b, %r15b
jne 0x50cc0
cmpb $0x0, (%rbp)
je 0x50cc0
leaq 0x3b994(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x50cbd
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq %r14, %rbx
movq 0x8(%rax), %r14
leaq 0x19584(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1c194(%rip), %rsi     # 0x6cdac
movl $0x18, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1bff0(%rip), %rsi     # 0x6cc1c
movl $0x1e, %edx
movq %r14, %rdi
callq 0xb5f0
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %r14
leaq 0x1c392(%rip), %rsi     # 0x6cfe9
movl $0xe, %edx
movq %rax, %rdi
callq 0xb5f0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
leaq 0x1b20b(%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 %r15d, %r15d
movl %r15d, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rsp), %rcx
addq $0x298, %rcx            # imm = 0x298
movq (%r14), %rsi
movq %r13, %rdi
movq %rbx, %rdx
callq 0x5404e
jmp 0x50bbf
movq (%rsp), %rdx
addq $0x298, %rdx            # imm = 0x298
movq (%r14), %rsi
movq %r13, %rdi
callq 0x540fc
jmp 0x50bbf
movq %rax, %r14
movq 0x58(%rsp), %rdi
cmpq %r12, %rdi
je 0x50d2a
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x50d2a
movq %rax, %r14
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x50d64
movq 0x28(%rsp), %rsi
jmp 0x50d5c
movq %rax, %r14
jmp 0x50d64
movq %rax, %r14
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x50d64
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
movq %r14, %rdi
callq 0xb9c0