// File: /workspace/github_cpp_makefile_star2_O2/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun_relay.cc
// Function: scdc_dataset_jobrun_relay::do_cmd_get(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_get(const std::string &params, scdc_dataset_input_t *input, scdc_dataset_output_t *output, scdc_result &result)
    {
      string p = params;
      string jobid = pwd;
      bool have_remote = (remote_dataset != SCDC_DATASET_NULL);

      if (jobid.empty())
      {
        stringlist plist(' ', p);

        jobid = safe_jobid(plist.front_pop().c_str());

        p += plist.offset();

        if (jobid.empty()) return dataprov_jobrun_relay()->do_cmd_get(p, input, output, result);

        remote_dataset_open(jobid, false);
      }

      if (remote_dataset == SCDC_DATASET_NULL)
      {
        result = "no remote dataset available";
        SCDC_FAIL(__func__ << ": getting remote dataset failed: " << result);
        return false;
      }

      string cmd = "get ";
      if (!have_remote) cmd += jobid + " ";
      cmd += p;

      if (scdc_dataset_cmd(remote_dataset, cmd.c_str(), input, output) != SCDC_SUCCESS)
      {
        result = "remote command failed";
        SCDC_FAIL(__func__ << ": getting remote dataset failed: " << result);
        return false;
      }

      if (!have_remote) remote_dataset_close();

      return true;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %r8, %r13
movq %rcx, %r15
movq %rdx, %r12
movq %rdi, %r14
leaq 0x78(%rsp), %rdi
callq 0xb750
leaq 0x18(%r14), %rsi
leaq 0x38(%rsp), %rdi
callq 0xb750
movq 0x38(%r14), %rbx
cmpq $0x0, 0x40(%rsp)
movq %rbx, %rax
jne 0x45a34
leaq 0xf8(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0xb750
leaq 0x10(%rsp), %rdi
pushq $0x20
popq %rsi
leaq 0xf8(%rsp), %rdx
callq 0x2f05c
leaq 0xf8(%rsp), %rdi
callq 0xb230
leaq 0xb8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x19ba0
movq 0xb8(%rsp), %rsi
leaq 0xd8(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1a132
movq %r13, %rbp
leaq 0x58(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
callq 0x44fd5
leaq 0x38(%rsp), %rdi
leaq 0x58(%rsp), %r13
movq %r13, %rsi
callq 0xb690
movq %r13, %rdi
callq 0xb230
leaq 0xd8(%rsp), %rdi
callq 0xb230
leaq 0xb8(%rsp), %rdi
callq 0xb230
leaq 0x30(%rsp), %rax
movq -0x20(%rax), %rcx
addq $0x30, %rcx
cmpq $0x0, -0x10(%rax)
cmoveq %rax, %rcx
movsbl (%rcx), %esi
leaq 0x78(%rsp), %rdi
callq 0xb450
cmpq $0x0, 0x40(%rsp)
je 0x45bf5
movq %rbp, %r13
leaq 0x98(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0xb750
leaq 0x98(%rsp), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x46228
leaq 0x98(%rsp), %rdi
callq 0xb230
leaq 0x10(%rsp), %rdi
callq 0x19ef4
movq 0x38(%r14), %rax
testq %rax, %rax
je 0x45ad0
leaq 0xeb5b(%rip), %rsi      # 0x5459f
leaq 0x10(%rsp), %rdi
leaq 0x58(%rsp), %rdx
callq 0x1a132
testq %rbx, %rbx
jne 0x45a87
leaq 0xe5a1(%rip), %rdx      # 0x54000
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x1d867
leaq 0x10(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0xba90
leaq 0x58(%rsp), %rdi
callq 0xb230
leaq 0x10(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0xba90
movq 0x38(%r14), %rdi
movq 0x10(%rsp), %rsi
movq %r12, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x1909c
cmpq $0x1, %rax
sete %bpl
jne 0x45b61
testq %rbx, %rbx
jne 0x45be9
movq %r14, %rdi
callq 0x463c6
jmp 0x45be9
leaq 0xe99a(%rip), %rsi      # 0x54471
movq %r13, %rdi
callq 0xba40
leaq 0x2fa9a(%rip), %rbx     # 0x75580
movq (%rbx), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x45bff
addq $0x20, %rdi
callq 0xb800
movq (%rbx), %rax
movq 0x8(%rax), %rdi
leaq 0xb67d(%rip), %rsi      # 0x51188
callq 0xb520
leaq 0xe976(%rip), %rsi      # 0x5448d
movq %rax, %rdi
callq 0xb520
leaq 0xbfeb(%rip), %rsi      # 0x51b11
movq %rax, %rdi
callq 0xb520
leaq 0xea48(%rip), %rsi      # 0x5457d
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
movq %r13, %rsi
callq 0xb490
movq %rax, %rdi
callq 0xb270
movq (%rbx), %rdi
addq $0x20, %rdi
callq 0xb3e0
jmp 0x45bff
leaq 0xe962(%rip), %rsi      # 0x544ca
movq %r13, %rdi
callq 0xba40
leaq 0x2fa09(%rip), %rbx     # 0x75580
movq (%rbx), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x45be9
addq $0x20, %rdi
callq 0xb800
movq (%rbx), %rax
movq 0x8(%rax), %rdi
leaq 0xb5f0(%rip), %rsi      # 0x51188
callq 0xb520
leaq 0xe8e9(%rip), %rsi      # 0x5448d
movq %rax, %rdi
callq 0xb520
leaq 0xbf5e(%rip), %rsi      # 0x51b11
movq %rax, %rdi
callq 0xb520
leaq 0xe9bb(%rip), %rsi      # 0x5457d
movq %rax, %rdi
callq 0xb520
movq %rax, %rdi
movq %r13, %rsi
callq 0xb490
movq %rax, %rdi
callq 0xb270
movq (%rbx), %rdi
addq $0x20, %rdi
callq 0xb3e0
leaq 0x10(%rsp), %rdi
callq 0xb230
jmp 0x45c01
leaq 0x10(%rsp), %rdi
callq 0x19ef4
xorl %ebp, %ebp
leaq 0x38(%rsp), %rdi
callq 0xb230
leaq 0x78(%rsp), %rdi
callq 0xb230
movl %ebp, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0xb230
jmp 0x45c9a
jmp 0x45c97
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x45c64
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0xb230
jmp 0x45c5c
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0xb230
jmp 0x45c81
jmp 0x45c7e
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
jmp 0x45c9f
jmp 0x45c92
jmp 0x45c92
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x19ef4
jmp 0x45ca4
movq %rax, %rbx
jmp 0x45cae
movq %rax, %rbx
jmp 0x45ca4
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xb230
leaq 0x38(%rsp), %rdi
callq 0xb230
leaq 0x78(%rsp), %rdi
callq 0xb230
movq %rbx, %rdi
callq 0xb9a0