// File: /workspace/github_cpp_makefile_star2_O3/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 $0x178, %rsp            # imm = 0x178
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
leaq 0x118(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rsi), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x108(%rsp), %r12
movq %r12, %rdi
callq 0x1d0a0
leaq 0x150(%rsp), %rdi
movl $0x20, %esi
movq %r12, %rdx
callq 0x37a30
movq 0x108(%rsp), %rdi
cmpq %r13, %rdi
je 0x54618
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0xa8(%rsp), %rdi
leaq 0x150(%rsp), %rsi
callq 0x1b878
cmpq $0x0, 0x8(%r14)
je 0x54652
leaq 0xa8(%rsp), %rdi
movl $0x3a, %esi
xorl %edx, %edx
callq 0xb6e0
cmpq $-0x1, %rax
je 0x54b2b
leaq 0x150(%rsp), %rsi
movl 0x18(%rsi), %edx
movq %rsp, %rdi
callq 0x1f068
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xb670
movq (%r12), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x5468e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0xf8(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
addq %rsi, %rdx
leaq 0xe8(%rsp), %rdi
callq 0x1d0a0
leaq 0x128(%rsp), %rdi
leaq 0xe8(%rsp), %rdx
movl $0x3a, %esi
callq 0x37a30
movq 0xe8(%rsp), %rdi
cmpq %r15, %rdi
je 0x546f1
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x128(%rsp), %rdi
movq %r14, %rsi
callq 0x1bb16
testb %al, %al
je 0x54740
leaq 0x16e1f(%rip), %rsi     # 0x6b52b
movl $0x2, %ecx
movq %r14, %rdi
movq $-0x1, %rdx
callq 0xb920
cmpq $-0x1, %rax
je 0x54753
leaq 0x1(%rax), %rdx
movq 0x8(%r14), %rcx
cmpq %rax, %rcx
jbe 0x54b6b
movq %rdx, 0x8(%r14)
addq (%r14), %rdx
jmp 0x5475e
movq $0x0, 0x8(%r14)
movq (%r14), %rax
movb $0x0, (%rax)
jmp 0x54b1e
movq $0x0, 0x8(%r14)
movq (%r14), %rdx
movb $0x0, (%rdx)
leaq 0x16dc3(%rip), %rsi     # 0x6b52b
movl $0x2, %ecx
movq %r14, %rdi
xorl %edx, %edx
callq 0xb980
movq %r14, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0xb0e0
movq %r14, %rdi
movq %r14, %rsi
callq 0xb2c0
leaq 0x90(%rsp), %r14
movq %r14, -0x10(%r14)
xorl %eax, %eax
movq %rax, -0x8(%r14)
movb %al, (%r14)
leaq 0xd8(%rsp), %r15
movq %r15, -0x10(%r15)
movq %rax, -0x8(%r15)
movb %al, (%r15)
leaq 0x128(%rsp), %rdi
leaq 0x80(%rsp), %rsi
callq 0x1bb16
testb %al, %al
je 0x54ae4
leaq 0x30(%rsp), %rax
xorps %xmm0, %xmm0
movaps %xmm0, -0x20(%rax)
movaps %xmm0, -0x30(%rax)
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
cmpq $0x0, 0x88(%rsp)
je 0x54a97
leaq 0x50(%rsp), %r14
leaq 0x20(%rbx), %rax
movq %rax, 0xa0(%rsp)
leaq 0x80(%rsp), %rbp
leaq 0x40(%rsp), %r13
leaq 0x18509(%rip), %r12     # 0x6cd30
movq %rbp, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0xb6e0
movq %rax, %r15
movq %r13, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0xb530
movq 0x40(%rsp), %rdi
movq %r12, %rsi
leaq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0xb4e0
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x54874
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
cmpq $-0x1, %r15
je 0x548c1
movq 0x8(%rsp), %rax
movq %rax, (%rsp)
incq %r15
movq %r13, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %r15, %rcx
callq 0xb530
movq 0x40(%rsp), %rdi
movq %r12, %rsi
leaq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0xb4e0
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x548c1
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x128(%rsp), %rdi
movq %rbp, %rsi
callq 0x1bb16
testb %al, %al
je 0x54a97
movq %rbp, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0xb6e0
movq %rax, %r15
movq %r13, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0xb530
movq 0x40(%rsp), %rdi
movq %r12, %rsi
leaq 0x18(%rsp), %rdx
xorl %eax, %eax
callq 0xb4e0
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x54926
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
cmpq $-0x1, %r15
je 0x54973
movq 0x8(%rsp), %rax
movq %rax, (%rsp)
incq %r15
movq %r13, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %r15, %rcx
callq 0xb530
movq 0x40(%rsp), %rdi
movq %r12, %rsi
leaq 0x18(%rsp), %rdx
xorl %eax, %eax
callq 0xb4e0
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x54973
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x128(%rsp), %rdi
movq %rbp, %rsi
callq 0x1bb16
testb %al, %al
je 0x54a97
movq %rbp, %rdi
movl $0x2c, %esi
xorl %edx, %edx
callq 0xb6e0
movq %rax, %r15
movq %r13, %rdi
movq %rbp, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0xb530
leaq 0x20(%rsp), %rdi
movq %r13, %rsi
callq 0xb670
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x549d1
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
cmpq $-0x1, %r15
je 0x54a88
movq %r13, %rdi
movq %rbp, %rsi
movq %r15, %rdx
movq $-0x1, %rcx
callq 0xb530
movq %rbp, %rdi
movq %r13, %rsi
callq 0xb670
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x54a12
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movups %xmm1, 0x10(%rbx)
movups %xmm0, (%rbx)
movq 0xa0(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0xb2c0
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
leaq 0x70(%rsp), %r15
movq %r15, 0x60(%rsp)
movq $0x0, 0x68(%rsp)
movb $0x0, 0x70(%rsp)
movaps %xmm0, (%rsp)
movaps %xmm0, 0x10(%rsp)
leaq 0x20(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0xb670
movq 0x60(%rsp), %rdi
cmpq %r15, %rdi
je 0x54a88
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xb510
cmpq $0x0, 0x88(%rsp)
jne 0x54827
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movups %xmm1, 0x10(%rbx)
movups %xmm0, (%rbx)
addq $0x20, %rbx
movq %rbx, %rdi
leaq 0x20(%rsp), %rsi
callq 0xb2c0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
leaq 0x90(%rsp), %r14
leaq 0xd8(%rsp), %r15
je 0x54ae4
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
je 0x54b01
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x80(%rsp), %rdi
cmpq %r14, %rdi
je 0x54b1e
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x128(%rsp), %rdi
callq 0x1bad0
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x54b4c
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x150(%rsp), %rdi
callq 0x1bad0
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x15a44(%rip), %rdi     # 0x6a5b6
leaq 0x15a29(%rip), %rsi     # 0x6a5a2
xorl %eax, %eax
callq 0xb820
jmp 0x54bff
movq %rax, %rbx
jmp 0x54c1e
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r15, %rdi
je 0x54c75
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x54c75
jmp 0x54bb5
movq %rax, %rbx
jmp 0x54c75
jmp 0x54bff
jmp 0x54bff
jmp 0x54bff
movq %rax, %rbx
jmp 0x54c96
movq %rax, %rbx
movq 0x108(%rsp), %rdi
cmpq %r13, %rdi
je 0x54ca3
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x54ca3
jmp 0x54bff
jmp 0x54bff
jmp 0x54bff
movq %rax, %rbx
jmp 0x54c68
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x54c1e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x54c43
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x54c68
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x128(%rsp), %rdi
callq 0x1bad0
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x54c96
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x150(%rsp), %rdi
callq 0x1bad0
movq %rbx, %rdi
callq 0xb9c0
nop