// File: /workspace/github_cpp_makefile_star2_O1/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 0x1d19a
leaq 0x150(%rsp), %rdi
movl $0x20, %esi
movq %r12, %rdx
callq 0x37d96
movq 0x108(%rsp), %rdi
cmpq %r13, %rdi
je 0x54a78
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0xa8(%rsp), %rdi
leaq 0x150(%rsp), %rsi
callq 0x1b92c
cmpq $0x0, 0x8(%r14)
je 0x54ab2
leaq 0xa8(%rsp), %rdi
movl $0x3a, %esi
xorl %edx, %edx
callq 0xb6e0
cmpq $-0x1, %rax
je 0x54f8b
leaq 0x150(%rsp), %rsi
movl 0x18(%rsi), %edx
movq %rsp, %rdi
callq 0x1f196
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0xb670
movq (%r12), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x54aee
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 0x1d19a
leaq 0x128(%rsp), %rdi
leaq 0xe8(%rsp), %rdx
movl $0x3a, %esi
callq 0x37d96
movq 0xe8(%rsp), %rdi
cmpq %r15, %rdi
je 0x54b51
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x128(%rsp), %rdi
movq %r14, %rsi
callq 0x1bbc4
testb %al, %al
je 0x54ba0
leaq 0x1699f(%rip), %rsi     # 0x6b50b
movl $0x2, %ecx
movq %r14, %rdi
movq $-0x1, %rdx
callq 0xb920
cmpq $-0x1, %rax
je 0x54bb3
leaq 0x1(%rax), %rdx
movq 0x8(%r14), %rcx
cmpq %rax, %rcx
jbe 0x54fcb
movq %rdx, 0x8(%r14)
addq (%r14), %rdx
jmp 0x54bbe
movq $0x0, 0x8(%r14)
movq (%r14), %rax
movb $0x0, (%rax)
jmp 0x54f7e
movq $0x0, 0x8(%r14)
movq (%r14), %rdx
movb $0x0, (%rdx)
leaq 0x16943(%rip), %rsi     # 0x6b50b
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 0x1bbc4
testb %al, %al
je 0x54f44
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 0x54ef7
leaq 0x50(%rsp), %r14
leaq 0x20(%rbx), %rax
movq %rax, 0xa0(%rsp)
leaq 0x80(%rsp), %rbp
leaq 0x40(%rsp), %r13
leaq 0x18039(%rip), %r12     # 0x6ccc0
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 0x54cd4
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
cmpq $-0x1, %r15
je 0x54d21
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 0x54d21
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x128(%rsp), %rdi
movq %rbp, %rsi
callq 0x1bbc4
testb %al, %al
je 0x54ef7
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 0x54d86
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
cmpq $-0x1, %r15
je 0x54dd3
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 0x54dd3
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x128(%rsp), %rdi
movq %rbp, %rsi
callq 0x1bbc4
testb %al, %al
je 0x54ef7
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 0x54e31
movq 0x50(%rsp), %rsi
incq %rsi
callq 0xb510
cmpq $-0x1, %r15
je 0x54ee8
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 0x54e72
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 0x54ee8
movq 0x70(%rsp), %rsi
incq %rsi
callq 0xb510
cmpq $0x0, 0x88(%rsp)
jne 0x54c87
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 0x54f44
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
je 0x54f61
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x80(%rsp), %rdi
cmpq %r14, %rdi
je 0x54f7e
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x128(%rsp), %rdi
callq 0x1bb7e
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x54fac
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x150(%rsp), %rdi
callq 0x1bb7e
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x155c4(%rip), %rdi     # 0x6a596
leaq 0x155a9(%rip), %rsi     # 0x6a582
xorl %eax, %eax
callq 0xb820
jmp 0x5505f
movq %rax, %rbx
jmp 0x5507e
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r15, %rdi
je 0x550d5
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x550d5
jmp 0x55015
movq %rax, %rbx
jmp 0x550d5
jmp 0x5505f
jmp 0x5505f
jmp 0x5505f
movq %rax, %rbx
jmp 0x550f6
movq %rax, %rbx
movq 0x108(%rsp), %rdi
cmpq %r13, %rdi
je 0x55103
movq 0x118(%rsp), %rsi
incq %rsi
callq 0xb510
jmp 0x55103
jmp 0x5505f
jmp 0x5505f
jmp 0x5505f
movq %rax, %rbx
jmp 0x550c8
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x5507e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x550a3
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb510
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x550c8
movq 0x90(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x128(%rsp), %rdi
callq 0x1bb7e
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x550f6
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb510
leaq 0x150(%rsp), %rdi
callq 0x1bb7e
movq %rbx, %rdi
callq 0xb9c0
nop