// File: /workspace/github_cpp_makefile_star2_O3/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, %r12
movq %rdx, %r15
movq %rsi, %rbp
movq %rdi, %rbx
movb $0x1, (%r9)
leaq 0x1b320(%rip), %rsi     # 0x6b52d
movq %rdx, %rdi
callq 0xb110
testl %eax, %eax
movq %rbp, 0x10(%rsp)
je 0x502f6
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%r12), %rsi
movq %r12, 0x8(%rsp)
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x38(%rsp), %r12
movq %r12, %rdi
callq 0x1d0a0
movq %rbx, (%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
movq %r15, %rbx
movq %r15, %rdx
movq %r12, %rcx
movq %r13, %r8
movq %r14, %r9
callq 0x4cfba
movl %eax, %ebp
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x50285
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
testb %bpl, %bpl
movq %rbx, %r15
movq 0x8(%rsp), %r12
je 0x503cd
movb $0x1, %bpl
cmpb $0x0, (%r14)
jne 0x50821
leaq 0x1a611(%rip), %rsi     # 0x6a8bb
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x504e9
leaq 0x1a845(%rip), %rsi     # 0x6ab0b
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x5060f
leaq 0x1a8a6(%rip), %rsi     # 0x6ab83
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x506c4
movb $0x0, (%r14)
jmp 0x50821
movq %r15, 0x8(%rsp)
leaq 0x28(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x1b222(%rip), %rdx     # 0x6b52d
leaq 0x18(%rsp), %rdi
movq %rdx, %rsi
callq 0x1be38
leaq 0x68(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0x1d0a0
leaq 0x18(%rsp), %rdx
leaq 0x58(%rsp), %rcx
movq %rbx, %rdi
movq %rbp, %rsi
movq %r13, %r8
movq %r14, %r9
callq 0x4cfba
movl %eax, %ebp
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x5036b
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x50387
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb510
testb %bpl, %bpl
movq 0x8(%rsp), %r15
je 0x503cd
leaq 0x1a523(%rip), %rsi     # 0x6a8bb
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x504d1
leaq 0x1aab9(%rip), %rsi     # 0x6ae6d
movq %rbx, %rdi
callq 0xb110
testl %eax, %eax
je 0x5059a
movb $0x0, (%r14)
jmp 0x50607
xorl %ebp, %ebp
testb %bpl, %bpl
jne 0x50821
cmpb $0x0, (%r14)
je 0x50821
leaq 0x3c187(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x504ca
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r14
leaq 0x19d98(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1c9f8(%rip), %rsi     # 0x6ce1c
movl $0x18, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1c854(%rip), %rsi     # 0x6cc8c
movl $0x1e, %edx
movq %r14, %rdi
callq 0xb5f0
movq 0x10(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %r14
leaq 0x1cbf6(%rip), %rsi     # 0x6d059
movl $0xe, %edx
movq %rax, %rdi
callq 0xb5f0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
leaq 0x1ba77(%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 %ebp, %ebp
jmp 0x50821
movb $0x1, (%r14)
leaq 0x1c9c1(%rip), %rsi     # 0x6ce9d
movq %r13, %rdi
callq 0x1bece
jmp 0x50607
movb $0x1, (%r14)
leaq 0x1c920(%rip), %rsi     # 0x6ce14
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x50779
leaq 0x1c99d(%rip), %rsi     # 0x6cea8
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x50785
leaq 0x1c98c(%rip), %rsi     # 0x6ceae
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x507af
leaq 0x1c980(%rip), %rsi     # 0x6ceb9
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x507dc
leaq 0x1c96e(%rip), %rsi     # 0x6cebe
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x507f7
leaq 0x1c963(%rip), %rsi     # 0x6ceca
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x50812
leaq 0x1c95d(%rip), %rsi     # 0x6cedb
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
jne 0x502ed
leaq 0x1ca8c(%rip), %rsi     # 0x6d021
jmp 0x50819
movb $0x1, (%r14)
leaq 0x1c86f(%rip), %rsi     # 0x6ce14
movq %r13, %rdi
callq 0x1bf0a
leaq 0x1c8f4(%rip), %rsi     # 0x6cea8
movq %r13, %rdi
callq 0x1bf0a
leaq 0x1c8eb(%rip), %rsi     # 0x6ceae
movq %r13, %rdi
callq 0x1bf0a
leaq 0x1c8e7(%rip), %rsi     # 0x6ceb9
movq %r13, %rdi
callq 0x1bf0a
leaq 0x1c8dd(%rip), %rsi     # 0x6cebe
movq %r13, %rdi
callq 0x1bf0a
leaq 0x1c8da(%rip), %rsi     # 0x6ceca
movq %r13, %rdi
callq 0x1bf0a
leaq 0x1c8dc(%rip), %rsi     # 0x6cedb
movq %r13, %rdi
callq 0x1bf0a
movb $0x1, %bpl
jmp 0x50821
movb $0x1, (%r14)
leaq 0x1c7fa(%rip), %rsi     # 0x6ce14
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x50791
leaq 0x1c877(%rip), %rsi     # 0x6cea8
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
movq (%rsp), %rbx
je 0x507b8
leaq 0x1c862(%rip), %rsi     # 0x6ceae
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x507e5
leaq 0x1c856(%rip), %rsi     # 0x6ceb9
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x50800
leaq 0x1c844(%rip), %rsi     # 0x6cebe
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x50832
leaq 0x1c839(%rip), %rsi     # 0x6ceca
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x50855
leaq 0x1c833(%rip), %rsi     # 0x6cedb
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
jne 0x502ed
addq $0x2a0, %rbx            # imm = 0x2A0
jmp 0x5085c
movb $0x1, (%r14)
leaq 0x1c745(%rip), %rsi     # 0x6ce14
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x507c1
leaq 0x1c7c2(%rip), %rsi     # 0x6cea8
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
movq (%rsp), %rbx
je 0x507ee
leaq 0x1c7ad(%rip), %rsi     # 0x6ceae
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x50809
leaq 0x1c7a1(%rip), %rsi     # 0x6ceb9
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x5084c
leaq 0x1c78f(%rip), %rsi     # 0x6cebe
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x5086f
leaq 0x1c784(%rip), %rsi     # 0x6ceca
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
je 0x5088b
leaq 0x1c77e(%rip), %rsi     # 0x6cedb
movq %r15, %rdi
callq 0xb110
testl %eax, %eax
jne 0x502ed
addq $0x2a0, %rbx            # imm = 0x2A0
jmp 0x50892
leaq 0x1c76b(%rip), %rsi     # 0x6ceeb
jmp 0x50819
leaq 0x1c78b(%rip), %rsi     # 0x6cf17
jmp 0x50819
movq (%rsp), %rcx
addq $0x270, %rcx            # imm = 0x270
movq (%r15), %rsi
movq %r13, %rdi
movq %r12, %rdx
callq 0x22322
jmp 0x50884
leaq 0x1c78d(%rip), %rsi     # 0x6cf43
jmp 0x50819
addq $0x290, %rbx            # imm = 0x290
jmp 0x50839
movq (%rsp), %rdx
addq $0x270, %rdx            # imm = 0x270
movq (%r15), %rsi
movq %r13, %rdi
callq 0x223d0
jmp 0x50884
leaq 0x1c79b(%rip), %rsi     # 0x6cf7e
jmp 0x50819
addq $0x291, %rbx            # imm = 0x291
jmp 0x50839
addq $0x290, %rbx            # imm = 0x290
jmp 0x50876
leaq 0x1c7b5(%rip), %rsi     # 0x6cfb3
jmp 0x50819
addq $0x292, %rbx            # imm = 0x292
jmp 0x50839
addq $0x291, %rbx            # imm = 0x291
jmp 0x50876
leaq 0x1c7cf(%rip), %rsi     # 0x6cfe8
movq %r13, %rdi
callq 0x1bece
movl %ebp, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addq $0x293, %rbx            # imm = 0x293
movq (%r15), %rsi
movq %r13, %rdi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x55a3a
jmp 0x50884
addq $0x292, %rbx            # imm = 0x292
jmp 0x50876
addq $0x298, %rbx            # imm = 0x298
movq (%r15), %rsi
movq %r13, %rdi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x53bee
jmp 0x50884
addq $0x293, %rbx            # imm = 0x293
movq (%r15), %rsi
movq %r13, %rdi
movq %rbx, %rdx
callq 0x55ae8
movl %eax, %ebp
jmp 0x503cf
addq $0x298, %rbx            # imm = 0x298
movq (%r15), %rsi
movq %r13, %rdi
movq %rbx, %rdx
callq 0x53c9c
jmp 0x50884
movq %rax, %r14
movq 0x58(%rsp), %rdi
cmpq %r15, %rdi
je 0x508c1
movq 0x68(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x508c1
movq %rax, %r14
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x508fb
movq 0x28(%rsp), %rsi
jmp 0x508f3
movq %rax, %r14
jmp 0x508fb
movq %rax, %r14
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x508fb
movq 0x48(%rsp), %rsi
incq %rsi
callq 0xb510
movq %r14, %rdi
callq 0xb9c0
nop