// File: /workspace/github_cpp_makefile_star2_O3/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r8, %rbx
movq %rdi, %r14
cmpq $0x0, 0x20(%rdi)
je 0x528b4
movq %rcx, %r15
movq %rdx, %r12
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x1d0a0
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %r8
movq %r14, %rdi
movl $0x1, %edx
movl $0x1, %ecx
callq 0x543d4
testb %al, %al
je 0x528c7
movq (%r14), %rax
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movq %r12, %rdx
movq %r15, %rcx
movq %rbx, %r8
callq *0x48(%rax)
movl %eax, %ebx
movq %r14, %rdi
callq 0x54558
jmp 0x52a1b
movq 0x8(%r14), %rdi
movq %rbx, %r8
callq 0x4e1b4
movb $0x1, %bl
jmp 0x52a49
leaq 0x1a8ee(%rip), %rsi     # 0x6d1bc
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x1b7aa
leaq 0x1961c(%rip), %rsi     # 0x6bf00
leaq 0x48(%rsp), %rdi
callq 0xba60
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x52915
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x5291c
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x68(%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 0x52958
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52973
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x39bf6(%rip), %r15     # 0x8c570
movq (%r15), %rdi
cmpq $0x0, 0x8(%rdi)
je 0x52a19
addq $0x20, %rdi
callq 0xb7d0
movq (%r15), %rax
movq 0x8(%rax), %r14
leaq 0x17809(%rip), %rsi     # 0x6a1a8
movl $0xb, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1a819(%rip), %rsi     # 0x6d1cc
movl $0x10, %edx
movq %r14, %rdi
callq 0xb5f0
leaq 0x1a816(%rip), %rsi     # 0x6d1dd
movl $0xb, %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
movq (%r15), %rdi
addq $0x20, %rdi
callq 0xb3b0
xorl %ebx, %ebx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x52a32
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x52a49
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movl %ebx, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x52a89
movq 0x58(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x52a89
jmp 0x52a86
jmp 0x52a86
movq %rax, %rbx
jmp 0x52aa0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x52aa0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x52ab7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb510
movq %rbx, %rdi
callq 0xb9c0
nop