// File: /workspace/github_cpp_makefile_star2_O3/gasparfm[P]anapache/./lib/ini/ini.hpp
// Function: INI::Parser::parse(INI::Level&)
inline void
Parser::parse(Level& l)
{
  while (std::getline(*f_, line_)) {
    ++ln_;
    if (line_[0] == '#' || line_[0] == ';') continue;
    line_ = trim(line_);
    if (line_.empty()) continue;
    if (line_[0] == '[') {
      size_t depth;
      std::string sname;
      parseSLine(sname, depth);
      Level* lp = NULL;
      Level* parent = &l;
      if (depth > l.depth + 1)
        err("section with wrong depth");
      if (l.depth == depth-1)
        lp = &l.sections[sname];
      else {
        lp = l.parent;
        size_t n = l.depth - depth;
        for (size_t i = 0; i < n; ++i) lp = lp->parent;
        parent = lp;
        lp = &lp->sections[sname];
      }
      if (lp->depth != 0)
        err("duplicate section name on the same level");
      if (!lp->parent) {
        lp->depth = depth;
        lp->parent = parent;
      }
      parent->ordered_sections.push_back(parent->sections.find(sname));
      parse(*lp);
    } else {
      size_t n = line_.find('=');
      if (n == std::string::npos)
        err("no '=' found");
      std::pair<Level::value_map_t::const_iterator, bool> res = 
        l.values.insert(std::make_pair(trim(line_.substr(0, n)), 
              trim(line_.substr(n+1, line_.length()-n-1))));
      if (!res.second)
        err("duplicated key found");
      l.ordered_values.push_back(res.first);
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rsi, 0x30(%rsp)
movq %rdi, %rbx
leaq 0x2b0(%rdi), %r15
movq 0x2a8(%rdi), %r14
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3340
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x35d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x6a54
leaq 0x18(%rsp), %r13
movq 0x30(%rsp), %rax
leaq 0x60(%rax), %rcx
movq %rcx, 0xa8(%rsp)
addq $0x30, %rax
movq %rax, 0xa0(%rsp)
movq %r15, 0x28(%rsp)
incq 0x2d0(%rbx)
movq 0x2b0(%rbx), %rbp
movzbl (%rbp), %eax
cmpl $0x3b, %eax
je 0x6a19
cmpl $0x23, %eax
je 0x6a19
movb $0x0, 0xc(%rsp)
movl $0xa0d0920, 0x8(%rsp)   # imm = 0xA0D0920
movq 0x2b8(%rbx), %r15
movq %r15, %r14
xorl %r12d, %r12d
decq %r14
js 0x6508
movsbl (%rbp,%r12), %esi
leaq 0x8(%rsp), %rdi
callq 0x3160
testq %rax, %rax
je 0x64d9
incq %r12
cmpq %r12, %r15
jne 0x64b9
movq %r15, %r12
movq 0x28(%rsp), %r15
movsbl (%rbp,%r14), %esi
leaq 0x8(%rsp), %rdi
callq 0x3160
testq %rax, %rax
je 0x650d
leaq -0x1(%r14), %rax
testq %r14, %r14
movq %rax, %r14
jg 0x64de
movq $-0x1, %r14
jmp 0x650d
movq 0x28(%rsp), %r15
subq %r12, %r14
incq %r14
leaq 0xb0(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x33a0
movq %r15, %rdi
movq %rbp, %rsi
callq 0x3460
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x655c
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x2b8(%rbx), %rcx
testq %rcx, %rcx
je 0x6a19
movq (%r15), %rax
cmpb $0x5b, (%rax)
jne 0x6633
movq %r13, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
xorl %r14d, %r14d
leaq 0xb0(%rsp), %r12
cmpb $0x5b, (%rax,%r14)
jne 0x65a8
incq %r14
cmpq %r14, %rcx
jne 0x6596
movq %rcx, %r14
subq %r14, %rcx
subq %r14, %rcx
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x33a0
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x3460
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x65ee
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x30(%rsp), %rax
movq 0x98(%rax), %rcx
leaq 0x1(%rcx), %rax
subq %r14, %rax
jb 0x6b3d
leaq -0x1(%r14), %rdx
cmpq %rdx, %rcx
jne 0x66e0
movq 0xa0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6cde
movq %rax, %r12
movq 0x30(%rsp), %rbp
jmp 0x6702
movq %r15, %rdi
movl $0x3d, %esi
xorl %edx, %edx
callq 0x3470
cmpq $-0x1, %rax
je 0x6aa7
movq %rax, %r14
leaq 0x80(%rsp), %rdi
movq %r15, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x33a0
movb $0x0, 0x44(%rsp)
movl $0xa0d0920, 0x40(%rsp)  # imm = 0xA0D0920
movq 0x88(%rsp), %r13
movq %r13, %rbp
decq %rbp
js 0x6789
movq 0x80(%rsp), %r15
xorl %r12d, %r12d
movsbl (%r15,%r12), %esi
leaq 0x40(%rsp), %rdi
callq 0x3160
testq %rax, %rax
je 0x66af
incq %r12
cmpq %r12, %r13
jne 0x6690
movq %r13, %r12
movsbl (%r15,%rbp), %esi
leaq 0x40(%rsp), %rdi
callq 0x3160
testq %rax, %rax
je 0x66d6
leaq -0x1(%rbp), %rax
testq %rbp, %rbp
movq %rax, %rbp
jg 0x66af
movq $-0x1, %rbp
movq 0x28(%rsp), %r15
jmp 0x678c
movq 0x30(%rsp), %rbp
movq 0x90(%rbp), %rbp
decq %rax
jne 0x66e5
leaq 0x30(%rbp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6cde
movq %rax, %r12
cmpq $0x0, 0x98(%r12)
jne 0x6afc
cmpq $0x0, 0x90(%r12)
jne 0x672c
movq %r14, 0x98(%r12)
movq %rbp, 0x90(%r12)
leaq 0x30(%rbp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x71fe
movq %rax, %r14
movl $0x18, %edi
callq 0x3380
leaq 0x78(%rbp), %rsi
movq %r14, 0x10(%rax)
movq %rax, %rdi
callq 0x3070
incq 0x88(%rbp)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x63f4
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x6a19
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x6a19
xorl %r12d, %r12d
subq %r12, %rbp
incq %rbp
leaq 0x8(%rsp), %rdi
leaq 0x80(%rsp), %rsi
movq %r12, %rdx
movq %rbp, %rcx
callq 0x33a0
leaq 0x1(%r14), %rdx
notq %r14
addq 0x2b8(%rbx), %r14
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rcx
callq 0x33a0
leaq 0xb0(%rsp), %rbp
movb $0x0, 0x3c(%rsp)
movl $0xa0d0920, 0x38(%rsp)  # imm = 0xA0D0920
movq 0x68(%rsp), %r13
movq %r13, %r14
decq %r14
js 0x6844
movq 0x60(%rsp), %r15
xorl %r12d, %r12d
movsbl (%r15,%r12), %esi
leaq 0x38(%rsp), %rdi
callq 0x3160
testq %rax, %rax
je 0x6811
incq %r12
cmpq %r12, %r13
jne 0x67f2
movq %r13, %r12
leaq 0x18(%rsp), %r13
movsbl (%r15,%r14), %esi
leaq 0x38(%rsp), %rdi
callq 0x3160
testq %rax, %rax
je 0x683d
leaq -0x1(%r14), %rax
testq %r14, %r14
movq %rax, %r14
jg 0x6816
movq $-0x1, %r14
movq 0x28(%rsp), %r15
jmp 0x684c
xorl %r12d, %r12d
leaq 0x18(%rsp), %r13
subq %r12, %r14
incq %r14
leaq 0x40(%rsp), %rdi
leaq 0x60(%rsp), %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x33a0
leaq 0xc0(%rsp), %rdx
movq %rdx, 0xb0(%rsp)
movq 0x8(%rsp), %rax
cmpq %r13, %rax
leaq 0x50(%rsp), %rcx
je 0x689d
movq %rax, 0xb0(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0xc0(%rsp)
jmp 0x68a5
movups (%r13), %xmm0
movups %xmm0, (%rdx)
movq 0x10(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq %r13, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
leaq 0xe0(%rsp), %rdx
movq %rdx, 0xd0(%rsp)
movq 0x40(%rsp), %rax
cmpq %rcx, %rax
je 0x68f6
movq %rax, 0xd0(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0xe0(%rsp)
jmp 0x68fc
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x48(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq %rcx, 0x40(%rsp)
movq $0x0, 0x48(%rsp)
movb $0x0, 0x50(%rsp)
movq 0x30(%rsp), %rdi
movq %rbp, %rsi
callq 0x7244
movq %rax, %r14
movl %edx, %ebp
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x6953
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x6978
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x6994
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x69b0
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x69c7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x69ec
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3390
testb $0x1, %bpl
je 0x6a66
movl $0x18, %edi
callq 0x3380
movq %r14, 0x10(%rax)
movq %rax, %rdi
movq 0xa8(%rsp), %rsi
callq 0x3070
movq 0x30(%rsp), %rax
incq 0x70(%rax)
movq 0x2a8(%rbx), %r14
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3340
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x35d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
je 0x6476
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2d0(%rbx), %rcx
leaq 0x3922(%rip), %rsi      # 0xa396
leaq 0x3901(%rip), %rdx      # 0xa37c
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x30b0
movl $0x10, %edi
callq 0x31c0
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3170
jmp 0x6ae6
movq 0x2d0(%rbx), %rcx
leaq 0x38e1(%rip), %rsi      # 0xa396
leaq 0x38b3(%rip), %rdx      # 0xa36f
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x30b0
movl $0x10, %edi
callq 0x31c0
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3170
movq 0x7503(%rip), %rsi      # 0xdff0
movq 0x74b4(%rip), %rdx      # 0xdfa8
movq %r14, %rdi
callq 0x3570
movq 0x2d0(%rbx), %rcx
leaq 0x388c(%rip), %rsi      # 0xa396
leaq 0x3835(%rip), %rdx      # 0xa346
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x30b0
movl $0x10, %edi
callq 0x31c0
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3170
jmp 0x6b7c
movq 0x2d0(%rbx), %rcx
leaq 0x384b(%rip), %rsi      # 0xa396
leaq 0x37db(%rip), %rdx      # 0xa32d
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x30b0
movl $0x10, %edi
callq 0x31c0
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x3170
movq 0x746d(%rip), %rsi      # 0xdff0
movq 0x741e(%rip), %rdx      # 0xdfa8
movq %r14, %rdi
callq 0x3570
jmp 0x6b94
movq %rax, %rbx
movq %r14, %rdi
callq 0x3280
jmp 0x6c5c
jmp 0x6ba6
movq %rax, %rbx
movq %r14, %rdi
callq 0x3280
jmp 0x6c73
jmp 0x6c59
jmp 0x6c59
jmp 0x6c59
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x6d5a
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x6bf6
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x6bf6
movq %rax, %rbx
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x6c17
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x6c17
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6c38
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x6c38
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x6c73
movq 0x90(%rsp), %rsi
jmp 0x6c6b
jmp 0x6c59
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x6c73
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x3590
nop