// File: /workspace/github_cpp_makefile_star2_O3/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun.cc
// Function: scdc_dataprov_jobrun_handler::job_do_run(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>> const&, std::vector<scdc_dataprov_jobrun_res_proc_t, std::allocator<scdc_dataprov_jobrun_res_proc_t>> const&)
bool scdc_dataprov_jobrun_handler::job_do_run(const std::string &jobid, const std::string &cmd, const std::string &params, const scdc_dataprov_jobrun_res_t &res)
{
  bool ret = true;

  if (cmd == "run")
  {
    SCDC_TRACE(__func__ << ": running job '" << jobid << "' with '" << params << "'");
    SCDC_INFO("executing run of job '" << jobid << "'");

    string c;

    build_cmd(jobcmd.c_str(), "run", jobid.c_str(), params.c_str(), res, c);

    string result;
    ret = job_do_cmd(jobid, c.c_str(), params, 0, 0, result);

  } else ret = false;

  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
movq %r8, %r12
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x1aec1(%rip), %rsi     # 0x6ced7
movq %rdx, %rdi
callq 0xb110
testl %eax, %eax
je 0x52029
xorl %ebx, %ebx
jmp 0x522fa
leaq 0x3a540(%rip), %r13     # 0x8c570
movq (%r13), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x5219f
movq %r12, 0x48(%rsp)
addq $0x20, %rdi
callq 0xb7d0
movq (%r13), %rax
movq 0x8(%rax), %r13
leaq 0x18efc(%rip), %rsi     # 0x6af58
movl $0xb, %edx
movq %r13, %rdi
callq 0xb5f0
xorl %edi, %edi
callq 0xb4a0
leaq 0x28(%rsp), %rdi
movq %rax, (%rdi)
callq 0xb3a0
movl 0xc(%rax), %edx
movl 0x10(%rax), %ecx
movl $0x76c, %r8d            # imm = 0x76C
addl 0x14(%rax), %r8d
incl %ecx
movl 0x8(%rax), %r9d
movl (%rax), %r10d
movl 0x4(%rax), %r11d
leaq 0x18eea(%rip), %rsi     # 0x6af8b
leaq 0x70(%rsp), %rbp
movq %rbp, %rdi
xorl %eax, %eax
pushq %r10
pushq %r11
callq 0xb0d0
addq $0x10, %rsp
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq %rbp, %rdi
callq 0xb200
leaq (%rsp,%rax), %rdx
addq $0x70, %rdx
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %rbp, %rsi
callq 0x1be38
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r13, %rdi
callq 0xb5f0
movq %rax, %r13
leaq 0x1b04a(%rip), %rsi     # 0x6d146
movl $0x19, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x1af62(%rip), %rsi     # 0x6d072
movl $0x16, %edx
movq %r13, %rdi
callq 0xb5f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r13, %rdi
callq 0xb5f0
movq %rax, %r13
leaq 0x1a29d(%rip), %rsi     # 0x6c3d3
movl $0x1, %edx
movq %rax, %rdi
callq 0xb5f0
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %r13, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x52187
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x3a3e2(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq 0x48(%rsp), %r12
leaq 0x80(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x68(%r15), %rsi
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x1bd28
movq (%r14), %rsi
leaq 0x28(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0x1bd28
movq (%rbx), %rsi
leaq 0x50(%rsp), %rdi
leaq 0x5(%rsp), %rdx
callq 0x1bd28
leaq 0x8(%rsp), %r13
leaq 0x28(%rsp), %rsi
leaq 0x50(%rsp), %rdx
leaq 0x70(%rsp), %r8
movq %r13, %rdi
movq %r12, %rcx
callq 0x5125e
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52227
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x38(%rsp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x52243
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x18(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x5225e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbp, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movq 0x70(%rsp), %rsi
leaq 0x28(%rsp), %rdi
leaq 0x50(%rsp), %rdx
callq 0x1bd28
subq $0x8, %rsp
leaq 0x30(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %r13
callq 0x523e0
addq $0x10, %rsp
movl %eax, %ebx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x522c1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x522d8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x522fa
movq 0x80(%rsp), %rsi
incq %rsi
callq 0xb510
movl %ebx, %eax
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x5232d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x5232d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x5238a
jmp 0x5239c
movq %rax, %rbx
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5235c
movq 0x60(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x5235c
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5237c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x5237c
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5239c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x5239c
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x523d7
movq 0x80(%rsp), %rsi
jmp 0x523cf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x523d7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop