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

      string jobid;
      string p = params;

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

      bool ret = do_cmd_ls_inout(p, input, output, result);

      undo_select_job();

      return ret;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0xd0(%rbp)
callq 0x856c0
testb $0x1, %al
jne 0x820d6
movq -0xd0(%rbp), %rdi
callq 0x856f0
movq %rax, %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movq -0x30(%rbp), %r8
callq 0x7c890
testb $0x1, %al
jne 0x820cd
jmp 0x820d6
movb $0x1, -0x1(%rbp)
jmp 0x8231f
leaq -0x50(%rbp), %rdi
callq 0xc960
movq -0x18(%rbp), %rsi
leaq -0x70(%rbp), %rdi
callq 0xc270
jmp 0x820ee
movq -0xd0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
movl $0x1, %ecx
leaq -0x50(%rbp), %r8
movl %ecx, %edx
callq 0x85710
movb %al, -0xd1(%rbp)
jmp 0x82111
movb -0xd1(%rbp), %al
testb $0x1, %al
jne 0x8229e
jmp 0x82121
leaq 0x2701c(%rip), %rsi     # 0xa9144
leaq -0xc0(%rbp), %rdi
leaq -0x50(%rbp), %rdx
callq 0x25900
jmp 0x8213a
leaq 0x25dcb(%rip), %rdx     # 0xa7f0c
leaq -0xa0(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x2eef0
jmp 0x82156
movq -0x30(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0xc850
leaq -0xa0(%rbp), %rdi
callq 0xc3e0
leaq -0xc0(%rbp), %rdi
callq 0xc3e0
leaq 0x52523(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x257e0
cmpq $0x0, %rax
je 0x8228a
leaq 0x5250a(%rip), %rax     # 0xd46a8
movq %rax, -0xe8(%rbp)
movq (%rax), %rdi
callq 0x25800
movq -0xe8(%rbp), %rax
movq (%rax), %rdi
callq 0x257e0
movq %rax, %rdi
leaq 0x23fea(%rip), %rsi     # 0xa61b0
callq 0xc670
movq %rax, -0xe0(%rbp)
jmp 0x821d4
movq -0xe0(%rbp), %rdi
leaq 0x26f72(%rip), %rsi     # 0xa9154
callq 0xc670
movq %rax, -0xf0(%rbp)
jmp 0x821f0
movq -0xf0(%rbp), %rdi
leaq 0x26f67(%rip), %rsi     # 0xa9165
callq 0xc670
movq %rax, -0xf8(%rbp)
jmp 0x8220c
movq -0xf8(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0xc5b0
movq %rax, -0x100(%rbp)
jmp 0x82225
movq -0x100(%rbp), %rdi
movq 0x51d8d(%rip), %rsi     # 0xd3fc0
callq 0xc6d0
jmp 0x8223a
leaq 0x52467(%rip), %rax     # 0xd46a8
movq (%rax), %rdi
callq 0x25820
jmp 0x8228a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x82314
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x8230b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0xc3e0
jmp 0x8230b
jmp 0x8228c
jmp 0x8228e
movb $0x0, -0x1(%rbp)
movl $0x1, -0xc4(%rbp)
jmp 0x822f7
movq -0xd0(%rbp), %rdi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movq -0x30(%rbp), %r8
movq (%rdi), %rax
movq 0x48(%rax), %rax
leaq -0x70(%rbp), %rsi
callq *%rax
movb %al, -0x101(%rbp)
jmp 0x822c6
movq -0xd0(%rbp), %rdi
movb -0x101(%rbp), %al
andb $0x1, %al
movb %al, -0xc5(%rbp)
callq 0x858d0
jmp 0x822e2
movb -0xc5(%rbp), %al
andb $0x1, %al
movb %al, -0x1(%rbp)
movl $0x1, -0xc4(%rbp)
leaq -0x70(%rbp), %rdi
callq 0xc3e0
leaq -0x50(%rbp), %rdi
callq 0xc3e0
jmp 0x8231f
leaq -0x70(%rbp), %rdi
callq 0xc3e0
leaq -0x50(%rbp), %rdi
callq 0xc3e0
jmp 0x8232d
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
movq -0x78(%rbp), %rdi
callq 0xcba0
nopw %cs:(%rax,%rax)