// File: /workspace/github_cpp_makefile_star2_O3/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun.cc
// Function: scdc_dataprov_jobrun_handler::job_do_cmd(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&, _scdc_dataset_inout_t*, _scdc_dataset_inout_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool scdc_dataprov_jobrun_handler::job_do_cmd(const std::string &jobid, const std::string &cmd, const std::string &params, scdc_dataset_input_t *input, scdc_dataset_output_t *output, scdc_result &result)
{
  bool ret = true;

  if (handler_args.handler)
  {
    scdc_result_t res = SCDC_RESULT_INIT_EMPTY;

    if (handler_args.handler(handler_args.data, jobid.c_str(), cmd.c_str(), params.c_str(), input, output, &res) != SCDC_SUCCESS)
    {
      result = string("jobrun handler failed: ") + SCDC_RESULT_STR(&res);
      SCDC_FAIL("job_do_cmd: " << result);
      ret = false;
    }
  }

  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq 0x270(%rdi), %rbx
testq %rbx, %rbx
je 0x524c6
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
leaq 0x58(%rsp), %rdi
movl $0x200, %edx            # imm = 0x200
xorl %esi, %esi
movq %r9, 0x8(%rsp)
movq %r8, %r14
callq 0xb2d0
leaq 0x58(%rsp), %rax
movq $0x200, -0x8(%rax)      # imm = 0x200
movq 0x278(%rbp), %rdi
movq (%r13), %rsi
movq (%r12), %rdx
movq (%r15), %rcx
leaq 0x50(%rsp), %rax
movq %rax, (%rsp)
movq %r14, %r8
movq 0x8(%rsp), %r9
callq *%rbx
cmpq $0x1, %rax
sete %bl
je 0x525d1
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1ad21(%rip), %rsi     # 0x6d197
leaq 0x1ad31(%rip), %rdx     # 0x6d1ae
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x1be38
leaq 0x58(%rsp), %rsi
movq %r14, %rdi
callq 0xba60
movq 0x290(%rsp), %r14
leaq 0x40(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x524cd
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x524d5
movb $0x1, %bl
jmp 0x525d1
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %r15
movq %rdx, 0x8(%r15)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r14, %rdi
movq %r15, %rsi
callq 0xb670
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x52511
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x52528
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x3a041(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x525d1
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x17c52(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x1abdc(%rip), %rsi     # 0x6d146
movl $0x19, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x1ac31(%rip), %rsi     # 0x6d1af
movl $0xc, %edx
movq %r15, %rdi
callq 0xb5f0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %r15, %rdi
callq 0xb5f0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0xb4d0
movsbl %al, %esi
movq %r14, %rdi
callq 0xb050
movq %rax, %rdi
callq 0xb340
movq (%r12), %rdi
addq $0x20, %rdi
callq 0xb3b0
movl %ebx, %eax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x525ff
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0