// File: /workspace/github_cpp_makefile_star2_O1/gasparfm[P]anapache/anapacheapp.cpp
// Function: AnapacheApp::AnapacheApp(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
AnapacheApp::AnapacheApp(std::string exec)
{
  std::string configFile;
  std::ifstream confFile;
  GCommon::GlobalSettings::basics("Anapache", "anapache", exec, "0.1");
  try
    {
      if (!GCommon::findConfigFile(configFile, "ini"))
	throw AnaException("No config file found");

      confFile.open(configFile);
      if (confFile.fail())
	throw AnaException("Error reading config file");

      INI::Parser config(confFile);
      std::stringstream out;
      confFile.close();
      logFormat = fixLogFormat(config.top()("Apache")["LogFormat"]);
    }
  catch (AnaException& e)
    {
      panic (e.what());
    }
  fromDate = 0;
  toDate = 0;
  /* std::cout << "LF: "<<logFormat<<std::endl; */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x7c8, %rsp            # imm = 0x7C8
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x9be6(%rip), %rax      # 0xdd08
movq %rax, (%rdi)
leaq 0x8(%rdi), %r14
leaq 0x18(%rdi), %rax
movq %rax, 0x8(%rsp)
movq %rax, 0x8(%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movb %al, 0x18(%rdi)
leaq 0x80(%rdi), %rcx
movl $0x0, 0x80(%rdi)
movq %rax, 0x88(%rdi)
movq %rcx, 0x90(%rdi)
movq %rcx, 0x98(%rdi)
movq %rax, 0xa0(%rdi)
leaq 0x28(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x5c0(%rsp), %rdi
movq %r14, 0x10(%rsp)
callq 0x33e0
leaq 0x108(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x5fbf(%rip), %rsi      # 0xa160
leaq 0x5fc0(%rip), %rdx      # 0xa168
leaq 0xf8(%rsp), %rdi
callq 0x4074
leaq 0xe8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5fa1(%rip), %rsi      # 0xa169
leaq 0x5fa2(%rip), %rdx      # 0xa171
leaq 0xd8(%rsp), %rdi
callq 0x4074
leaq 0xc8(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xb8(%rsp), %rdi
callq 0x7998
leaq 0xa8(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x5f60(%rip), %rsi      # 0xa172
leaq 0x5f5c(%rip), %rdx      # 0xa175
leaq 0x98(%rsp), %rdi
callq 0x4074
leaq 0xf8(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
leaq 0xb8(%rsp), %rdx
leaq 0x98(%rsp), %rcx
callq 0x85e4
movq 0x98(%rsp), %rdi
cmpq %r13, %rdi
je 0x4268
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0xb8(%rsp), %rdi
cmpq %r14, %rdi
je 0x4285
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x42a2
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
je 0x42bf
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x168(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5ea4(%rip), %rsi      # 0xa176
leaq 0x5ea0(%rip), %rdx      # 0xa179
leaq 0x158(%rsp), %rdi
callq 0x4074
xorps %xmm0, %xmm0
leaq 0x430(%rsp), %rdx
movaps %xmm0, (%rdx)
movq $0x0, 0x10(%rdx)
movq %rdx, 0x8(%rdx)
movq %rdx, (%rdx)
leaq 0x18(%rsp), %rdi
leaq 0x158(%rsp), %rsi
callq 0x840b
movl %eax, %ebp
leaq 0x430(%rsp), %rdi
callq 0x6424
movq 0x158(%rsp), %rdi
cmpq %r14, %rdi
je 0x4341
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x3390
testb %bpl, %bpl
je 0x45b1
leaq 0x5c0(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movl $0x8, %edx
callq 0x32f0
movq 0x5c0(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x5e0(%rsp,%rax)
jne 0x45d1
leaq 0x158(%rsp), %rdi
leaq 0x5c0(%rsp), %rsi
callq 0x6158
leaq 0x430(%rsp), %rdi
callq 0x3260
leaq 0x5c0(%rsp), %rdi
callq 0x30c0
leaq 0x68(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5def(%rip), %rsi      # 0xa1a9
leaq 0x5dee(%rip), %rdx      # 0xa1af
leaq 0x58(%rsp), %rdi
callq 0x4074
leaq 0x188(%rsp), %r15
leaq 0x58(%rsp), %rsi
movq %r15, %rdi
callq 0x6da4
movq %rax, %r12
leaq 0x48(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5dbd(%rip), %rsi      # 0xa1b0
leaq 0x5dbf(%rip), %rdx      # 0xa1b9
leaq 0x38(%rsp), %rdi
callq 0x4074
leaq 0x38(%rsp), %rsi
movq %r12, %rdi
callq 0x75be
leaq 0x88(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x78(%rsp), %rdi
callq 0x7998
leaq 0x138(%rsp), %rdi
leaq 0x78(%rsp), %rdx
callq 0x4882
leaq 0x138(%rsp), %r12
movq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x3460
movq (%r12), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x4479
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x78(%rsp), %rdi
cmpq %r13, %rdi
je 0x4493
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
leaq 0x28(%rsp), %r13
je 0x44af
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x58(%rsp), %rdi
cmpq %rbp, %rdi
je 0x44c6
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x9ab3(%rip), %rsi      # 0xdf80
leaq 0x430(%rsp), %rdi
callq 0x32a0
leaq 0x4b0(%rsp), %rdi
callq 0x3130
leaq 0x418(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4508
movq 0x418(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x1f8(%rsp), %rdi
callq 0x30e0
leaq 0x1d0(%rsp), %r14
movq (%r14), %rdi
cmpq %r14, %rdi
je 0x453a
movq (%rdi), %r12
movl $0x18, %esi
callq 0x3390
movq %r12, %rdi
cmpq %r14, %r12
jne 0x4525
leaq 0x1b8(%rsp), %r14
movq (%r14), %rdi
cmpq %r14, %rdi
je 0x455f
movq (%rdi), %r12
movl $0x18, %esi
callq 0x3390
movq %r12, %rdi
cmpq %r14, %r12
jne 0x454a
movq %r15, %rdi
callq 0x7570
leaq 0x158(%rsp), %rdi
callq 0x793c
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rbx)
leaq 0x5c0(%rsp), %rdi
callq 0x30e0
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x459f
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x3390
addq $0x7c8, %rsp            # imm = 0x7C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x30, %edi
callq 0x31c0
movq %rax, %rbp
leaq 0x5bb5(%rip), %rsi      # 0xa17a
movq %rax, %rdi
xorl %edx, %edx
callq 0x60e4
jmp 0x45ef
movl $0x30, %edi
callq 0x31c0
movq %rax, %rbp
leaq 0x5baa(%rip), %rsi      # 0xa18f
movq %rax, %rdi
xorl %edx, %edx
callq 0x60e4
leaq 0x96ea(%rip), %rsi      # 0xdce0
leaq 0x1b2b(%rip), %rdx      # 0x6128
movq %rbp, %rdi
callq 0x3570
jmp 0x4607
movq %rdx, %r12
movq %rax, %r15
movq %rbp, %rdi
callq 0x3280
jmp 0x47b4
movq %rdx, %r12
movq %rax, %r15
movq 0x78(%rsp), %rdi
cmpq %r13, %rdi
je 0x4750
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x4750
jmp 0x4645
movq %rdx, %r12
movq %rax, %r15
jmp 0x4767
jmp 0x4652
movq %rdx, %r12
movq %rax, %r15
jmp 0x477e
movq %rdx, %r12
movq %rax, %r15
jmp 0x479f
jmp 0x47ae
movq %rdx, %r12
movq %rax, %r15
leaq 0x430(%rsp), %rdi
callq 0x6424
movq 0x158(%rsp), %rdi
cmpq %r14, %rdi
je 0x47b4
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x47b4
jmp 0x47ae
movq %rax, %r15
movq 0x98(%rsp), %rdi
cmpq %r13, %rdi
je 0x46d0
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x46d0
movq %rax, %r15
movq 0xb8(%rsp), %rdi
cmpq %r14, %rdi
je 0x46f2
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x46f2
movq %rax, %r15
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4714
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x4714
movq %rax, %r15
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
je 0x481e
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x481e
movq %rax, %r15
jmp 0x481e
movq %rax, %r15
jmp 0x482b
movq %rdx, %r12
movq %rax, %r15
movq 0x38(%rsp), %rdi
cmpq %r14, %rdi
je 0x4767
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x58(%rsp), %rdi
cmpq %rbp, %rdi
je 0x477e
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x97fb(%rip), %rsi      # 0xdf80
leaq 0x430(%rsp), %rdi
callq 0x32a0
leaq 0x4b0(%rsp), %rdi
callq 0x3130
leaq 0x158(%rsp), %rdi
callq 0x6250
jmp 0x47b4
movq %rdx, %r12
movq %rax, %r15
cmpl $0x1, %r12d
jne 0x481e
movq %r15, %rdi
callq 0x3180
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
leaq 0x118(%rsp), %rdi
leaq 0x158(%rsp), %rdx
movq %rax, %rsi
callq 0x402c
leaq 0x118(%rsp), %rsi
callq 0x4a84
movq %rax, %r15
leaq 0x128(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4819
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x4819
movq %rax, %r15
callq 0x3540
leaq 0x5c0(%rsp), %rdi
callq 0x30e0
addq $0x78, %rbx
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0x484b
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x78c4
movq 0x10(%rsp), %rax
movq (%rax), %rdi
cmpq 0x8(%rsp), %rdi
je 0x4872
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3390
movq %r15, %rdi
callq 0x3590
movq %rax, %rdi
callq 0x4069