// File: /workspace/github_cpp_makefile_star2_O2/mh0fm4[P]SCDC/src/components/dataprov/dataprov_jobrun.cc
// Function: scdc_dataset_jobrun::read_job_params2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, scdc_dataprov_jobrun_job_params_proc_t&)
void read_job_params2(std::string &params, std::string &jobid, scdc_dataprov_jobrun_job_params_t &job_params)
    {
      stringlist pl(' ', params);
      string jobparams = pl.front_pop();

      /* if there exisits a jobid (i.e., a job is selected) and the first param does not contain a ':', then there are no job params to read */
      if (jobid.size() > 0 && jobparams.find(':') == string::npos) return;

      params = pl.conflate();

      stringlist jpl(':', jobparams);

      /* if there is no jobid (i.e. not even an empty jobid), then select an empty jobid and quit */
      if (!jpl.front_pop(jobid))
      {
        jobid.clear();
        return;
      }

      jobid = safe_jobid(jobid);

      /* FIXME: Liste von job_params_proc (= $TPN$ analog zu $NPT$) als notwendige Resourcen, Auswahl durch Range 'min-max' und Alternativen '...|...' (insb. f�r Nodenames) */

      string s, t;

      if (!jpl.front_pop(s)) return;

      size_t p;
      scdc_dataprov_jobrun_job_params_proc_t job_params_proc;

      while (s.size() > 0)
      {
        /* nt */
        p = s.find('-');
        sscanf(s.substr(0, p).c_str(), "%" scdcint_fmt, &job_params_proc.nt_max);
        if (p != string::npos)
        {
          job_params_proc.nt_min = job_params_proc.nt_max;
          sscanf(s.substr(0, p + 1).c_str(), "%" scdcint_fmt, &job_params_proc.nt_max);
        }

        if (!jpl.front_pop(s)) break;

        /* np */
        p = s.find('-');
        sscanf(s.substr(0, p).c_str(), "%" scdcint_fmt, &job_params_proc.np_max);
        if (p != string::npos)
        {
          job_params_proc.nt_min = job_params_proc.nt_max;
          sscanf(s.substr(0, p + 1).c_str(), "%" scdcint_fmt, &job_params_proc.np_max);
        }

        if (!jpl.front_pop(s)) break;

        /* node */
        p = s.find(',');
        job_params_proc.node = s.substr(0, p);

        if (p != string::npos)
        {
          s = s.substr(p);
          job_params = job_params_proc;
          job_params_proc = scdc_dataprov_jobrun_job_params_proc_t();
        }
      }

      job_params = job_params_proc;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %rcx, 0x8(%rsp)
movq %rdx, %rbx
movq %rsi, %r14
leaq 0x168(%rsp), %r15
movq %r15, %rdi
callq 0xb750
leaq 0x120(%rsp), %rdi
pushq $0x20
popq %rsi
movq %r15, %rdx
callq 0x2f05c
leaq 0x168(%rsp), %rdi
callq 0xb230
leaq 0xb8(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x19ba0
cmpq $0x0, 0x8(%rbx)
je 0x41658
leaq 0xb8(%rsp), %rdi
pushq $0x3a
popq %rsi
xorl %edx, %edx
callq 0xb710
cmpq $-0x1, %rax
je 0x419e1
leaq 0x10(%rsp), %rdi
leaq 0x120(%rsp), %rsi
callq 0x1ca32
leaq 0x10(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0xb690
movq %r15, %rdi
callq 0xb230
leaq 0x100(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0xb750
leaq 0xd8(%rsp), %rdi
pushq $0x3a
popq %rsi
leaq 0x100(%rsp), %rdx
callq 0x2f05c
leaq 0x100(%rsp), %rdi
callq 0xb230
leaq 0xd8(%rsp), %rdi
movq %rbx, %rsi
callq 0x19f34
testb %al, %al
je 0x416fb
leaq 0x10de4(%rip), %rsi     # 0x524bb
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xb9e0
cmpq $-0x1, %rax
je 0x4170b
incq %rax
pushq $-0x1
popq %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0xb0e0
jmp 0x41716
andq $0x0, 0x8(%rbx)
movq (%rbx), %rax
movb $0x0, (%rax)
jmp 0x419d4
andq $0x0, 0x8(%rbx)
movq (%rbx), %rax
movb $0x0, (%rax)
leaq 0x10d9e(%rip), %rsi     # 0x524bb
movq %rbx, %rdi
xorl %edx, %edx
callq 0xb300
movq %rbx, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xb0e0
movq %rbx, %rdi
movq %rbx, %rsi
callq 0xb2e0
leaq 0xa8(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
xorl %ecx, %ecx
movb %cl, (%rax)
leaq 0x158(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %cl, (%rax)
leaq 0xd8(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x19f34
testb %al, %al
je 0x419ba
leaq 0x40(%rsp), %rax
xorps %xmm0, %xmm0
movaps %xmm0, -0x20(%rax)
movaps %xmm0, -0x30(%rax)
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x98(%rsp), %rbp
pushq $0x2d
popq %r13
leaq 0x50(%rsp), %r14
leaq 0x12508(%rip), %rbx     # 0x53cc0
leaq 0xd8(%rsp), %r12
cmpq $0x0, 0xa0(%rsp)
je 0x419a1
movq %rbp, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq 0xb710
movq %rax, %r15
movq %r14, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0xb560
movq 0x50(%rsp), %rdi
movq %rbx, %rsi
leaq 0x18(%rsp), %rdx
xorl %eax, %eax
callq 0xb510
movq %r14, %rdi
callq 0xb230
cmpq $-0x1, %r15
je 0x4184a
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsp)
incq %r15
movq %r14, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %r15, %rcx
callq 0xb560
movq 0x50(%rsp), %rdi
movq %rbx, %rsi
leaq 0x18(%rsp), %rdx
xorl %eax, %eax
callq 0xb510
movq %r14, %rdi
callq 0xb230
movq %r12, %rdi
movq %rbp, %rsi
callq 0x19f34
testb %al, %al
je 0x419a1
movq %rbp, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq 0xb710
movq %rax, %r15
movq %r14, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0xb560
movq 0x50(%rsp), %rdi
movq %rbx, %rsi
leaq 0x28(%rsp), %rdx
xorl %eax, %eax
callq 0xb510
movq %r14, %rdi
callq 0xb230
cmpq $-0x1, %r15
je 0x418d8
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsp)
incq %r15
movq %r14, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %r15, %rcx
callq 0xb560
movq 0x50(%rsp), %rdi
movq %rbx, %rsi
leaq 0x28(%rsp), %rdx
xorl %eax, %eax
callq 0xb510
movq %r14, %rdi
callq 0xb230
movq %r12, %rdi
movq %rbp, %rsi
callq 0x19f34
testb %al, %al
je 0x419a1
movq %rbp, %rdi
pushq $0x2c
popq %rsi
xorl %edx, %edx
callq 0xb710
movq %rax, %r15
movq %r14, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0xb560
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0xb690
movq %r14, %rdi
callq 0xb230
cmpq $-0x1, %r15
je 0x417c0
movq %r14, %rdi
movq %rbp, %rsi
movq %r15, %rdx
pushq $-0x1
popq %rcx
callq 0xb560
movq %rbp, %rdi
movq %r14, %rsi
callq 0xb690
movq %r14, %rdi
callq 0xb230
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x41116
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
andq $0x0, 0x78(%rsp)
movb $0x0, 0x80(%rsp)
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x41aac
leaq 0x70(%rsp), %rdi
callq 0xb230
jmp 0x417c0
leaq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x41116
leaq 0x30(%rsp), %rdi
callq 0xb230
leaq 0x148(%rsp), %rdi
callq 0xb230
leaq 0x98(%rsp), %rdi
callq 0xb230
leaq 0xd8(%rsp), %rdi
callq 0x19ef4
leaq 0xb8(%rsp), %rdi
callq 0xb230
leaq 0x120(%rsp), %rdi
callq 0x19ef4
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x41a55
movq %rax, %rbx
jmp 0x41a62
movq %rax, %rbx
leaq 0x100(%rsp), %rdi
callq 0xb230
jmp 0x41a89
jmp 0x41a28
movq %rax, %rbx
jmp 0x41a89
movq %rax, %rbx
jmp 0x41a96
movq %rax, %rbx
leaq 0x168(%rsp), %rdi
callq 0xb230
jmp 0x41aa3
jmp 0x41a55
jmp 0x41a55
jmp 0x41a55
movq %rax, %rbx
jmp 0x41a7c
jmp 0x41a55
jmp 0x41a55
jmp 0x41a55
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0xb230
leaq 0x148(%rsp), %rdi
callq 0xb230
leaq 0x98(%rsp), %rdi
callq 0xb230
leaq 0xd8(%rsp), %rdi
callq 0x19ef4
leaq 0xb8(%rsp), %rdi
callq 0xb230
leaq 0x120(%rsp), %rdi
callq 0x19ef4
movq %rbx, %rdi
callq 0xb9a0
nop