// File: /workspace/github_cpp_makefile_star2_O3/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun.cc
// Function: scdc_dataset_jobrun::do_cmd_put(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 do_cmd_put(const std::string &params, scdc_dataset_input_t *input, scdc_dataset_output_t *output, scdc_result &result)
    {
      if (!has_jobid() && dataprov_jobrun()->do_cmd_put(params, input, output, result)) return true;

      string jobid = get_jobid();

      string p = params;
      scdc_dataprov_jobrun_job_params_t job_params;
      read_job_params2(p, jobid, job_params);

      if (jobid.size() > 0)
      {
        if (!dataprov_jobrun()->is_job(jobid))
        {
          if (!create_job(jobid, job_params))
          {
            result = "creating job '" + jobid + "' failed";
            SCDC_FAIL("do_cmd_put: " << result);
            return false;
          }

        } else
        {
          if (!update_job(jobid, job_params))
          {
            result = "updating job '" + jobid + "' failed";
            SCDC_FAIL("do_cmd_put: " << result);
            return false;
          }
        }
      }

      p = jobid + " " + p;

      if (!select_job(p, true, true, jobid))
      {
        result = "selecting job '" + jobid + "' failed";
        SCDC_FAIL("do_cmd_put: " << result);
        return false;
      }

      SCDC_ASSERT(dataprov_jobrun()->is_job(jobid));

      bool ret = true;

      ret = ret && do_cmd_put_inout(p, input, output, result);

      ret = ret && dataprov_jobrun()->job_run(jobid, p, dataprov_jobrun()->local_res);

      undo_select_job();

      return ret;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r8, %rbx
movq %rcx, 0x88(%rsp)
movq %rdx, 0x80(%rsp)
movq %rsi, %r13
movq %rdi, %r14
movq 0x20(%rdi), %rdx
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x18(%rdi), %rsi
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x1d0a0
leaq 0x70(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0x1d0a0
leaq 0xc0(%rsp), %rbp
xorps %xmm0, %xmm0
movaps %xmm0, -0x20(%rbp)
movaps %xmm0, -0x30(%rbp)
movq %rbp, -0x10(%rbp)
movq $0x0, -0x8(%rbp)
movb $0x0, (%rbp)
leaq 0x60(%rsp), %rsi
leaq 0x20(%rsp), %rdx
leaq 0x90(%rsp), %rcx
movq %r14, %rdi
callq 0x545a6
cmpq $0x0, 0x28(%rsp)
je 0x52c56
movq 0x8(%r14), %r15
leaq 0x128(%r15), %rdi
leaq 0x20(%rsp), %rsi
callq 0x56418
addq $0x130, %r15            # imm = 0x130
movq (%r14), %rcx
cmpq %r15, %rax
je 0x52c1d
leaq 0x20(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %r14, %rdi
callq *0x40(%rcx)
testb %al, %al
je 0x52bcc
movq 0x8(%r14), %rdi
leaq 0x20(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x4f072
testb %al, %al
jne 0x52c56
leaq 0x1a632(%rip), %rsi     # 0x6d205
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x1b7aa
leaq 0x19319(%rip), %rsi     # 0x6bf00
movq %rsp, %rdi
callq 0xba60
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x52f27
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x52f2e
leaq 0x20(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %r14, %rdi
callq *0x30(%rcx)
testb %al, %al
je 0x52ec7
movq 0x8(%r14), %rdi
leaq 0x20(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x4ee3c
testb %al, %al
je 0x52ec7
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x1d0a0
leaq 0x1a3f5(%rip), %rsi     # 0x6d070
movq %rsp, %rdi
callq 0xba60
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq %rsp, %rdi
callq 0xb150
leaq 0x50(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x52cbd
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x52cc5
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %r13
movq %rdx, 0x8(%r13)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x60(%rsp), %rdi
movq %r13, %rsi
callq 0xb670
movq (%r13), %rdi
cmpq %r12, %rdi
je 0x52d04
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x52d1a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x60(%rsp), %rsi
leaq 0x20(%rsp), %r8
movq %r14, %rdi
movl $0x1, %edx
movl $0x1, %ecx
callq 0x543d4
testb %al, %al
je 0x52e7a
movq 0x8(%r14), %r15
leaq 0x128(%r15), %rdi
leaq 0x20(%rsp), %rsi
callq 0x56418
addq $0x130, %r15            # imm = 0x130
cmpq %r15, %rax
jne 0x52e30
leaq 0x39806(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x52e30
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x18(%rax), %r13
leaq 0x177da(%rip), %rsi     # 0x6a569
movl $0xd, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x1a471(%rip), %rsi     # 0x6d214
movl $0x1b, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x175ad(%rip), %rsi     # 0x6a364
movl $0x1, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
movl $0x17b, %esi            # imm = 0x17B
callq 0xb9a0
movq %rax, %r13
leaq 0x1a455(%rip), %rsi     # 0x6d230
movl $0x23, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x19111(%rip), %rsi     # 0x6bf00
movl $0x8, %edx
movq %r13, %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 (%r15), %rdi
addq $0x20, %rdi
callq 0xb3b0
movq (%r14), %rax
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
movq 0x80(%rsp), %rdx
movq 0x88(%rsp), %rcx
movq %rbx, %r8
callq *0x50(%rax)
testb %al, %al
je 0x52f18
movq 0x8(%r14), %rdi
leaq 0x110(%rdi), %rcx
leaq 0x20(%rsp), %rsi
leaq 0x60(%rsp), %rdx
callq 0x4f150
movl %eax, %ebx
jmp 0x52f1a
leaq 0x1a33b(%rip), %rsi     # 0x6d1bc
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x1b7aa
leaq 0x1906b(%rip), %rsi     # 0x6bf00
movq %rsp, %rdi
callq 0xba60
movq %r12, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x53011
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x53019
leaq 0x1a31b(%rip), %rsi     # 0x6d1e9
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x1b7aa
leaq 0x1901e(%rip), %rsi     # 0x6bf00
movq %rsp, %rdi
callq 0xba60
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x530f7
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x530fe
xorl %ebx, %ebx
movq %r14, %rdi
callq 0x54558
jmp 0x53204
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb670
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x52f6a
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52f85
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x395e4(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x53202
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %r14
leaq 0x171f7(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1a207(%rip), %rsi     # 0x6d1cc
movl $0x10, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1a21f(%rip), %rsi     # 0x6d1f8
movl $0xc, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb4d0
jmp 0x531dc
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb670
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x53055
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x5306b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x394fe(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x53202
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %r14
leaq 0x17111(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1a121(%rip), %rsi     # 0x6d1cc
movl $0x10, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1a139(%rip), %rsi     # 0x6d1f8
movl $0xc, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0xb4d0
jmp 0x531dc
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x40(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb670
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x5313a
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x53155
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x39414(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x53202
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %r14
leaq 0x17027(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1a037(%rip), %rsi     # 0x6d1cc
movl $0x10, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1a04f(%rip), %rsi     # 0x6d1f8
movl $0xc, %edx
movq %r14, %rdi
callq 0xb5f0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0xb5f0
movq %rax, %rbx
movq (%rax), %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
leaq 0x3937a(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %ebx, %ebx
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x53221
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x5323d
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x53259
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb510
movl %ebx, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x53275
jmp 0x532b0
jmp 0x5328c
jmp 0x532b0
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x53298
jmp 0x532b3
jmp 0x532b0
jmp 0x5328c
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x532b3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x532b3
jmp 0x532b0
jmp 0x532b0
movq %rax, %rbx
jmp 0x532ec
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x532d0
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x532ec
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x53308
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0