// File: /workspace/github_cpp_makefile_star2_O3/gasparfm[P]anapache/anapacheapp.cpp
// Function: AnapacheApp::readLogData(__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&, bool, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>)
std::string AnapacheApp::readLogData(std::string::iterator& it, bool quotes, std::string::iterator strEnd)
{
  std::string out = "";
  bool brackets = false;
  int k = 0;

  if (*it=='[')
    {
      brackets=true;
      it++;
    }
  else if ( (*it == '-') && (!quotes) )
    {
      /* Information not available - */
      it++;
      return "-";
    }
  do
    {
      if ( it == strEnd)
	throw AnaException("Unexpected end of line");
      if ( (*it==']') && (brackets) )
	{
	  ++it;
	  return out;
	}
      else if ( (*it=='"') && (quotes) )
	  return out;
      else if ( (*it==' ') && (!quotes) && (!brackets) )
	  return out;
      else
	out+=*it;
      ++it;
    } while (1);
  return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %r15
movl %ecx, %ebp
movq %rdx, %r14
movq %rdi, 0x10(%rsp)
leaq 0x28(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x49b4(%rip), %rdx      # 0xa395
leaq 0x18(%rsp), %rdi
movq %rdx, %rsi
callq 0x4074
movq (%r14), %rax
movb (%rax), %bl
cmpb $0x5b, %bl
jne 0x5a04
movl %ebp, 0xc(%rsp)
incq %rax
movq %rax, (%r14)
jmp 0x5a17
cmpb $0x2d, %bl
setne %cl
orb %bpl, %cl
je 0x5af7
movl %ebp, 0xc(%rsp)
cmpq %r15, %rax
je 0x5a73
movl %ebx, %r13d
xorb $0x5b, %r13b
movl 0xc(%rsp), %ecx
movl %ecx, %ebp
xorb $0x1, %bpl
leaq 0x18(%rsp), %r12
movb (%rax), %cl
movl %ecx, %edx
xorb $0x5d, %dl
orb %r13b, %dl
je 0x5aa7
cmpb $0x22, %cl
setne %al
orb %bpl, %al
je 0x5aad
cmpb $0x5b, %bl
je 0x5a5a
cmpb $0x20, %cl
jne 0x5a5a
cmpb $0x0, 0xc(%rsp)
je 0x5aad
movsbl %cl, %esi
movq %r12, %rdi
callq 0x32e0
movq (%r14), %rax
incq %rax
movq %rax, (%r14)
cmpq %r15, %rax
jne 0x5a32
movl $0x30, %edi
callq 0x31c0
movq %rax, %r14
leaq 0x4774(%rip), %rsi      # 0xa1fb
movq %rax, %rdi
xorl %edx, %edx
callq 0x604e
leaq 0x8248(%rip), %rsi      # 0xdce0
leaq 0x5f3(%rip), %rdx       # 0x6092
movq %r14, %rdi
callq 0x3570
incq %rax
movq %rax, (%r14)
movq 0x10(%rsp), %rbx
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x18(%rsp), %rcx
leaq 0x28(%rsp), %rdx
cmpq %rdx, %rcx
je 0x5ad6
movq %rcx, (%rbx)
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x5adc
movups (%rdx), %xmm0
movups %xmm0, (%rax)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rbx)
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
incq %rax
movq %rax, (%r14)
movq 0x10(%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x4566(%rip), %rsi      # 0xa076
leaq 0x4560(%rip), %rdx      # 0xa077
callq 0x4074
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
movq 0x10(%rsp), %rbx
je 0x5ae5
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x5ae5
jmp 0x5b50
jmp 0x5b50
movq %rax, %rbx
movq %r14, %rdi
callq 0x3280
jmp 0x5b53
movq %rax, %rbx
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x5b6f
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x3590
nop