// File: /workspace/github_cpp_makefile_star2_O2/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun_relay.cc
// Function: scdc_dataset_jobrun_relay::do_cmd_info(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_info(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_info(p, input, output, result);

        remote_dataset_open(jobid, false);
      }

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

      string cmd = "info ";
      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__ << ": checking 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 0x4656d
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
movq 0x40(%rsp), %r13
testq %r13, %r13
je 0x46547
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
jmp 0x46553
movq 0x8(%r14), %rdi
movq %rbp, %r8
callq 0x446e6
leaq 0x10(%rsp), %rdi
callq 0x19ef4
testq %r13, %r13
je 0x4672c
movq 0x38(%r14), %rax
movq %rbp, %r13
testq %rax, %rax
je 0x46609
leaq 0xe087(%rip), %rsi      # 0x54604
leaq 0x10(%rsp), %rdi
leaq 0x58(%rsp), %rdx
callq 0x1a132
testq %rbx, %rbx
jne 0x465c0
leaq 0xda68(%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 0x46698
testq %rbx, %rbx
jne 0x46720
movq %r14, %rdi
callq 0x463c6
jmp 0x46720
leaq 0xde61(%rip), %rsi      # 0x54471
movq %r13, %rdi
callq 0xba40
leaq 0x2ef61(%rip), %rbx     # 0x75580
movq (%rbx), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x46691
addq $0x20, %rdi
callq 0xb800
movq (%rbx), %rax
movq 0x8(%rax), %rdi
leaq 0xab48(%rip), %rsi      # 0x51188
callq 0xb520
leaq 0xde41(%rip), %rsi      # 0x5448d
movq %rax, %rdi
callq 0xb520
leaq 0xb7d6(%rip), %rsi      # 0x51e31
movq %rax, %rdi
callq 0xb520
leaq 0xdf77(%rip), %rsi      # 0x545e1
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
xorl %ebp, %ebp
jmp 0x4672f
leaq 0xde2b(%rip), %rsi      # 0x544ca
movq %r13, %rdi
callq 0xba40
leaq 0x2eed2(%rip), %rbx     # 0x75580
movq (%rbx), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x46720
addq $0x20, %rdi
callq 0xb800
movq (%rbx), %rax
movq 0x8(%rax), %rdi
leaq 0xaab9(%rip), %rsi      # 0x51188
callq 0xb520
leaq 0xddb2(%rip), %rsi      # 0x5448d
movq %rax, %rdi
callq 0xb520
leaq 0xb747(%rip), %rsi      # 0x51e31
movq %rax, %rdi
callq 0xb520
leaq 0xdee8(%rip), %rsi      # 0x545e1
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 0x4672f
movb $0x1, %bpl
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 0x467c8
jmp 0x467c5
movq %rax, %rbx
leaq 0x98(%rsp), %rdi
jmp 0x46792
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0xb230
jmp 0x4678a
movq %rax, %rbx
leaq 0xb8(%rsp), %rdi
callq 0xb230
jmp 0x467af
jmp 0x467ac
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
jmp 0x467cd
jmp 0x467c0
jmp 0x467c0
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x19ef4
jmp 0x467d2
movq %rax, %rbx
jmp 0x467dc
movq %rax, %rbx
jmp 0x467d2
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