// File: /workspace/github_cpp_makefile_star2_O1/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 0x1d19a
leaq 0x70(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0x1d19a
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 0x54a06
cmpq $0x0, 0x28(%rsp)
je 0x530b6
movq 0x8(%r14), %r15
leaq 0x128(%r15), %rdi
leaq 0x20(%rsp), %rsi
callq 0x5685a
addq $0x130, %r15            # imm = 0x130
movq (%r14), %rcx
cmpq %r15, %rax
je 0x5307d
leaq 0x20(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %r14, %rdi
callq *0x40(%rcx)
testb %al, %al
je 0x5302c
movq 0x8(%r14), %rdi
leaq 0x20(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x4f4c2
testb %al, %al
jne 0x530b6
leaq 0x1a162(%rip), %rsi     # 0x6d195
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x1b85e
leaq 0x18e41(%rip), %rsi     # 0x6be88
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 0x53387
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x5338e
leaq 0x20(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %r14, %rdi
callq *0x30(%rcx)
testb %al, %al
je 0x53327
movq 0x8(%r14), %rdi
leaq 0x20(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x4f28c
testb %al, %al
je 0x53327
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x1d19a
leaq 0x19f25(%rip), %rsi     # 0x6d000
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 0x5311d
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x53125
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 0x53164
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x5317a
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 0x54834
testb %al, %al
je 0x532da
movq 0x8(%r14), %r15
leaq 0x128(%r15), %rdi
leaq 0x20(%rsp), %rsi
callq 0x5685a
addq $0x130, %r15            # imm = 0x130
cmpq %r15, %rax
jne 0x53290
leaq 0x393a6(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x18(%rdi)
je 0x53290
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x18(%rax), %r13
leaq 0x1735a(%rip), %rsi     # 0x6a549
movl $0xd, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x19fa1(%rip), %rsi     # 0x6d1a4
movl $0x1b, %edx
movq %r13, %rdi
callq 0xb5f0
leaq 0x1712d(%rip), %rsi     # 0x6a344
movl $0x1, %edx
movq %r13, %rdi
callq 0xb5f0
movq %r13, %rdi
movl $0x17b, %esi            # imm = 0x17B
callq 0xb9a0
movq %rax, %r13
leaq 0x19f85(%rip), %rsi     # 0x6d1c0
movl $0x23, %edx
movq %rax, %rdi
callq 0xb5f0
leaq 0x18c39(%rip), %rsi     # 0x6be88
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 0x53378
movq 0x8(%r14), %rdi
leaq 0x110(%rdi), %rcx
leaq 0x20(%rsp), %rsi
leaq 0x60(%rsp), %rdx
callq 0x4f5a0
movl %eax, %ebx
jmp 0x5337a
leaq 0x19e6b(%rip), %rsi     # 0x6d14c
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x1b85e
leaq 0x18b93(%rip), %rsi     # 0x6be88
movq %rsp, %rdi
callq 0xba60
movq %r12, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x53471
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x53479
leaq 0x19e4b(%rip), %rsi     # 0x6d179
movq %rsp, %rdi
leaq 0x20(%rsp), %rdx
callq 0x1b85e
leaq 0x18b46(%rip), %rsi     # 0x6be88
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 0x53557
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x5355e
xorl %ebx, %ebx
movq %r14, %rdi
callq 0x549b8
jmp 0x53664
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 0x533ca
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x533e5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x39184(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x53662
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %r14
leaq 0x16d77(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x19d37(%rip), %rsi     # 0x6d15c
movl $0x10, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x19d4f(%rip), %rsi     # 0x6d188
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 0x5363c
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 0x534b5
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x534cb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x3909e(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x53662
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %r14
leaq 0x16c91(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x19c51(%rip), %rsi     # 0x6d15c
movl $0x10, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x19c69(%rip), %rsi     # 0x6d188
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 0x5363c
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 0x5359a
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x535b5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x38fb4(%rip), %r14     # 0x8c570
movq (%r14), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x53662
addq $0x20, %rdi
callq 0xb7d0
movq (%r14), %rax
movq 0x8(%rax), %r14
leaq 0x16ba7(%rip), %rsi     # 0x6a188
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x19b67(%rip), %rsi     # 0x6d15c
movl $0x10, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x19b7f(%rip), %rsi     # 0x6d188
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 0x38f1a(%rip), %rax     # 0x8c570
movq (%rax), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %ebx, %ebx
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x53681
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x5369d
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x536b9
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 0x536d5
jmp 0x53710
jmp 0x536ec
jmp 0x53710
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x536f8
jmp 0x53713
jmp 0x53710
jmp 0x536ec
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x53713
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x53713
jmp 0x53710
jmp 0x53710
movq %rax, %rbx
jmp 0x5374c
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x53730
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x5374c
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x53768
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0