// File: 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
movq %rsp, %rbp
subq $0x240, %rsp            # imm = 0x240
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movq -0x18(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0xc270
movq -0x1a0(%rbp), %rsi
addq $0x18, %rsi
leaq -0x70(%rbp), %rdi
callq 0xc270
jmp 0x917dd
movq -0x1a0(%rbp), %rax
cmpq $0x0, 0x38(%rax)
setne %al
andb $0x1, %al
movb %al, -0x7d(%rbp)
leaq -0x70(%rbp), %rdi
callq 0xcb60
testb $0x1, %al
jne 0x91803
jmp 0x91a86
leaq -0xc8(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0xc270
jmp 0x91815
leaq -0xa8(%rbp), %rdi
movl $0x20, %esi
leaq -0xc8(%rbp), %rdx
callq 0x5ff80
jmp 0x9182f
leaq -0xc8(%rbp), %rdi
callq 0xc3e0
leaq -0x128(%rbp), %rdi
leaq -0xa8(%rbp), %rsi
callq 0x25b00
jmp 0x91850
leaq -0x128(%rbp), %rdi
callq 0xc260
movq %rax, -0x1b0(%rbp)
leaq -0x129(%rbp), %rdi
movq %rdi, -0x1a8(%rbp)
callq 0xcbc0
movq -0x1b0(%rbp), %rsi
movq -0x1a8(%rbp), %rdx
leaq -0x108(%rbp), %rdi
callq 0x27820
jmp 0x91892
leaq -0xe8(%rbp), %rdi
leaq -0x108(%rbp), %rsi
callq 0x8ef10
jmp 0x918a7
leaq -0x70(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
movq %rsi, -0x1c0(%rbp)
callq 0xc850
movq -0x1c0(%rbp), %rdi
callq 0xc3e0
leaq -0x108(%rbp), %rdi
callq 0xc3e0
leaq -0x129(%rbp), %rdi
callq 0xc730
leaq -0x128(%rbp), %rdi
callq 0xc3e0
leaq -0xa8(%rbp), %rdi
callq 0x4d120
movq %rax, -0x1b8(%rbp)
jmp 0x91903
movq -0x1b8(%rbp), %rax
movsbl %al, %esi
leaq -0x50(%rbp), %rdi
callq 0xc3f0
jmp 0x91918
leaq -0x70(%rbp), %rdi
callq 0xcb60
testb $0x1, %al
jne 0x9192a
jmp 0x91a00
movq -0x1a0(%rbp), %rdi
callq 0x91380
movq %rax, %rdi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movq -0x30(%rbp), %r8
leaq -0x50(%rbp), %rsi
callq 0x8db30
movb %al, -0x1c1(%rbp)
jmp 0x91956
movb -0x1c1(%rbp), %al
andb $0x1, %al
movb %al, -0x1(%rbp)
movl $0x1, -0x130(%rbp)
jmp 0x91a3f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x91e51
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x91e48
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0xc3e0
jmp 0x91e48
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x91a75
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x919e6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x108(%rbp), %rdi
callq 0xc3e0
leaq -0x129(%rbp), %rdi
callq 0xc730
leaq -0x128(%rbp), %rdi
callq 0xc3e0
jmp 0x91a75
leaq -0x150(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0xc270
jmp 0x91a12
movq -0x1a0(%rbp), %rdi
leaq -0x150(%rbp), %rsi
xorl %edx, %edx
callq 0x913a0
jmp 0x91a29
leaq -0x150(%rbp), %rdi
callq 0xc3e0
movl $0x0, -0x130(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x25c90
movl -0x130(%rbp), %eax
testl %eax, %eax
jne 0x91e28
jmp 0x91a5b
jmp 0x91a86
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x150(%rbp), %rdi
callq 0xc3e0
leaq -0xa8(%rbp), %rdi
callq 0x25c90
jmp 0x91e48
movq -0x1a0(%rbp), %rax
cmpq $0x0, 0x38(%rax)
jne 0x91baa
movq -0x30(%rbp), %rdi
leaq 0x17a1a(%rip), %rsi     # 0xa94bd
callq 0xc920
jmp 0x91aaa
jmp 0x91aac
leaq 0x42bf5(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x257e0
cmpq $0x0, %rax
je 0x91b93
leaq 0x42bdc(%rip), %rax     # 0xd46a8
movq %rax, -0x1d8(%rbp)
movq (%rax), %rdi
callq 0x25800
movq -0x1d8(%rbp), %rax
movq (%rax), %rdi
callq 0x257e0
movq %rax, %rdi
leaq 0x146bc(%rip), %rsi     # 0xa61b0
callq 0xc670
movq %rax, -0x1d0(%rbp)
jmp 0x91b02
movq -0x1d0(%rbp), %rdi
leaq 0x179c9(%rip), %rsi     # 0xa94d9
callq 0xc670
movq %rax, -0x1e0(%rbp)
jmp 0x91b1e
movq -0x1e0(%rbp), %rdi
leaq 0x1513e(%rip), %rsi     # 0xa6c6a
callq 0xc670
movq %rax, -0x1e8(%rbp)
jmp 0x91b3a
movq -0x1e8(%rbp), %rdi
leaq 0x17ae5(%rip), %rsi     # 0xa962d
callq 0xc670
movq %rax, -0x1f0(%rbp)
jmp 0x91b56
movq -0x1f0(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0xc5b0
movq %rax, -0x1f8(%rbp)
jmp 0x91b6f
movq -0x1f8(%rbp), %rdi
movq 0x42443(%rip), %rsi     # 0xd3fc0
callq 0xc6d0
jmp 0x91b84
leaq 0x42b1d(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x25820
jmp 0x91b95
jmp 0x91b97
movb $0x0, -0x1(%rbp)
movl $0x1, -0x130(%rbp)
jmp 0x91e28
leaq -0x171(%rbp), %rdi
movq %rdi, -0x200(%rbp)
callq 0xcbc0
movq -0x200(%rbp), %rdx
leaq 0x17a85(%rip), %rsi     # 0xa9650
leaq -0x170(%rbp), %rdi
callq 0x27820
jmp 0x91bd9
leaq -0x171(%rbp), %rdi
callq 0xc730
testb $0x1, -0x7d(%rbp)
jne 0x91c76
leaq 0x17402(%rip), %rdx     # 0xa8ff8
leaq -0x198(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x31740
jmp 0x91c08
leaq -0x170(%rbp), %rdi
leaq -0x198(%rbp), %rsi
callq 0xc8a0
jmp 0x91c1d
leaq -0x198(%rbp), %rdi
callq 0xc3e0
jmp 0x91c76
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x171(%rbp), %rdi
callq 0xc730
jmp 0x91e48
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x91e1a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x198(%rbp), %rdi
callq 0xc3e0
jmp 0x91e1a
leaq -0x170(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0xc8a0
jmp 0x91c88
movq -0x1a0(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x210(%rbp)
leaq -0x170(%rbp), %rdi
callq 0xc260
movq -0x210(%rbp), %rdi
movq %rax, %rsi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
xorl %eax, %eax
callq 0x23d80
movq %rax, -0x208(%rbp)
jmp 0x91cc8
movq -0x208(%rbp), %rax
cmpq $0x1, %rax
je 0x91de8
movq -0x30(%rbp), %rdi
leaq 0x17832(%rip), %rsi     # 0xa9516
callq 0xc920
jmp 0x91ceb
jmp 0x91ced
leaq 0x429b4(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x257e0
cmpq $0x0, %rax
je 0x91dd4
leaq 0x4299b(%rip), %rax     # 0xd46a8
movq %rax, -0x220(%rbp)
movq (%rax), %rdi
callq 0x25800
movq -0x220(%rbp), %rax
movq (%rax), %rdi
callq 0x257e0
movq %rax, %rdi
leaq 0x1447b(%rip), %rsi     # 0xa61b0
callq 0xc670
movq %rax, -0x218(%rbp)
jmp 0x91d43
movq -0x218(%rbp), %rdi
leaq 0x17788(%rip), %rsi     # 0xa94d9
callq 0xc670
movq %rax, -0x228(%rbp)
jmp 0x91d5f
movq -0x228(%rbp), %rdi
leaq 0x14efd(%rip), %rsi     # 0xa6c6a
callq 0xc670
movq %rax, -0x230(%rbp)
jmp 0x91d7b
movq -0x230(%rbp), %rdi
leaq 0x178a4(%rip), %rsi     # 0xa962d
callq 0xc670
movq %rax, -0x238(%rbp)
jmp 0x91d97
movq -0x238(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0xc5b0
movq %rax, -0x240(%rbp)
jmp 0x91db0
movq -0x240(%rbp), %rdi
movq 0x42202(%rip), %rsi     # 0xd3fc0
callq 0xc6d0
jmp 0x91dc5
leaq 0x428dc(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x25820
jmp 0x91dd6
jmp 0x91dd8
movb $0x0, -0x1(%rbp)
movl $0x1, -0x130(%rbp)
jmp 0x91e0c
testb $0x1, -0x7d(%rbp)
jne 0x91dfe
movq -0x1a0(%rbp), %rdi
callq 0x91700
jmp 0x91dfc
jmp 0x91dfe
movb $0x1, -0x1(%rbp)
movl $0x1, -0x130(%rbp)
leaq -0x170(%rbp), %rdi
callq 0xc3e0
jmp 0x91e28
leaq -0x170(%rbp), %rdi
callq 0xc3e0
jmp 0x91e48
leaq -0x70(%rbp), %rdi
callq 0xc3e0
leaq -0x50(%rbp), %rdi
callq 0xc3e0
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
leaq -0x70(%rbp), %rdi
callq 0xc3e0
leaq -0x50(%rbp), %rdi
callq 0xc3e0
movq -0x78(%rbp), %rdi
callq 0xcba0
nopw %cs:(%rax,%rax)
nopl (%rax)