// File: /workspace/github_cpp_makefile_star2_O3/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun_relay.cc
// Function: scdc_dataprov_jobrun_relay::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 scdc_dataprov_jobrun_relay::do_cmd_ls(const std::string &params, scdc_dataset_input_t *input, scdc_dataset_output_t *output, scdc_result &result)
{
  SCDC_TRACE("do_cmd_ls: params: '" << params << "'");

  string s;

  for (sched_jobs_t::iterator i = sched_jobs.begin(); i != sched_jobs.end(); ++i)
  {
    s += i->first + ":unknown:" + i->second + ",";
  }

  if (s.size() > 0) s.resize(s.size() - 1);

  result = s;

  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r8, %r12
movq %rdi, %r14
leaq 0x30(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq $0x0, -0x8(%rbx)
movb $0x0, (%rbx)
movq 0x110(%rdi), %r15
addq $0x100, %r14            # imm = 0x100
cmpq %r14, %r15
je 0x5818d
movq %r12, 0x80(%rsp)
leaq 0x70(%rsp), %rbp
leaq 0x50(%rsp), %rbx
leaq 0x10(%rsp), %r13
leaq 0x60(%rsp), %r12
movq %rbp, 0x60(%rsp)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x1d0a0
movq %r12, %rdi
leaq 0x15371(%rip), %rsi     # 0x6d3c5
callq 0xba60
movq 0x40(%r15), %rsi
movq 0x48(%r15), %rdx
movq %r12, %rdi
callq 0xb150
movq %rbx, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5808c
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x58092
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x40(%rsp), %rdi
leaq 0x127fb(%rip), %rsi     # 0x6a8b1
callq 0xba60
movq %r13, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x580dc
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x580e4
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0x20(%rsp), %rdi
callq 0xb150
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x58125
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x40(%rsp), %rdi
cmpq %rbx, %rdi
je 0x5813c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x60(%rsp), %rdi
cmpq %rbp, %rdi
je 0x58153
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xb510
movq %r15, %rdi
callq 0xb350
movq %rax, %r15
cmpq %r14, %rax
jne 0x58032
movq 0x28(%rsp), %rsi
testq %rsi, %rsi
leaq 0x30(%rsp), %rbx
movq 0x80(%rsp), %r12
je 0x5818d
decq %rsi
leaq 0x20(%rsp), %rdi
xorl %edx, %edx
callq 0xb130
leaq 0x20(%rsp), %rsi
movq %r12, %rdi
callq 0xb2c0
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x581b1
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb510
movb $0x1, %al
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x581c7
movq %rax, %r14
jmp 0x5821f
jmp 0x581ce
movq %rax, %r14
jmp 0x58208
movq %rax, %r14
jmp 0x581f1
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x581f1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x40(%rsp), %rdi
cmpq %rbx, %rdi
je 0x58208
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x60(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5821f
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x5823b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb510
movq %r14, %rdi
callq 0xb9c0
nop