// File: /workspace/github_cpp_makefile_star2_O1/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, 0x28(%rsp)
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x493e(%rip), %rdx      # 0xa3ab
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x4074
movq (%r14), %rax
movb (%rax), %bl
cmpb $0x5b, %bl
jne 0x5a8c
incq %rax
movq %rax, (%r14)
jmp 0x5a9b
cmpb $0x2d, %bl
setne %cl
orb %bpl, %cl
je 0x5b85
movl %ebp, 0x34(%rsp)
movq (%r14), %rax
cmpq %r15, %rax
je 0x5afe
movl %ebx, %r13d
xorb $0x5b, %r13b
movl 0x34(%rsp), %ecx
movl %ecx, %ebp
xorb $0x1, %bpl
leaq 0x8(%rsp), %r12
movb (%rax), %cl
movl %ecx, %edx
xorb $0x5d, %dl
orb %r13b, %dl
je 0x5b32
cmpb $0x22, %cl
setne %al
orb %bpl, %al
je 0x5b38
cmpb $0x5b, %bl
je 0x5ae5
cmpb $0x20, %cl
jne 0x5ae5
cmpb $0x0, 0x34(%rsp)
je 0x5b38
movsbl %cl, %esi
movq %r12, %rdi
callq 0x32e0
movq (%r14), %rax
incq %rax
movq %rax, (%r14)
cmpq %r15, %rax
jne 0x5abd
movl $0x30, %edi
callq 0x31c0
movq %rax, %r14
leaq 0x46ff(%rip), %rsi      # 0xa211
movq %rax, %rdi
xorl %edx, %edx
callq 0x60e4
leaq 0x81bd(%rip), %rsi      # 0xdce0
leaq 0x5fe(%rip), %rdx       # 0x6128
movq %r14, %rdi
callq 0x3570
incq %rax
movq %rax, (%r14)
movq 0x28(%rsp), %rsi
leaq 0x10(%rsi), %rax
movq %rax, (%rsi)
movq 0x8(%rsp), %rcx
leaq 0x18(%rsp), %rdx
cmpq %rdx, %rcx
je 0x5b61
movq %rcx, (%rsi)
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsi)
jmp 0x5b67
movups (%rdx), %xmm0
movups %xmm0, (%rax)
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rsi)
movq %rdx, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
jmp 0x5baa
incq %rax
movq %rax, (%r14)
movq 0x28(%rsp), %rdi
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
leaq 0x44d8(%rip), %rsi      # 0xa076
leaq 0x44d2(%rip), %rdx      # 0xa077
callq 0x4074
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5bc6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x28(%rsp), %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5beb
jmp 0x5beb
movq %rax, %rbx
movq %r14, %rdi
callq 0x3280
jmp 0x5bee
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5c0a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x3590