// File: /workspace/github_cpp_makefile_star2_O1/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), %r14
testq %r14, %r14
je 0x52929
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
leaq 0x50(%rsp), %rdi
movl $0x208, %edx            # imm = 0x208
xorl %esi, %esi
movq %r9, 0x8(%rsp)
movq %r8, %rbx
callq 0xb2d0
leaq 0x50(%rsp), %rax
movq $0x200, (%rax)          # imm = 0x200
movq 0x278(%rbp), %rdi
movq (%r13), %rsi
movq (%r12), %rdx
movq (%r15), %rcx
movq %rax, (%rsp)
movq %rbx, %r8
movq 0x8(%rsp), %r9
callq *%r14
cmpq $0x1, %rax
sete %bl
je 0x52a34
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1a84e(%rip), %rsi     # 0x6d127
leaq 0x1a85e(%rip), %rdx     # 0x6d13e
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x1bee6
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 0x52930
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x52938
movb $0x1, %bl
jmp 0x52a34
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 0x52974
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x5298b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x39bde(%rip), %r12     # 0x8c570
movq (%r12), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x52a34
addq $0x20, %rdi
callq 0xb7d0
movq (%r12), %rax
movq 0x8(%rax), %r15
leaq 0x177cf(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x1a709(%rip), %rsi     # 0x6d0d6
movl $0x19, %edx
movq %r15, %rdi
callq 0xb5f0
leaq 0x1a75e(%rip), %rsi     # 0x6d13f
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 0x52a62
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0