// File: /workspace/github_cpp_makefile_star2_O3/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 $0x7b8, %rsp            # imm = 0x7B8
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x9bde(%rip), %rax      # 0xdd08
movq %rax, (%rdi)
leaq 0x8(%rdi), %r14
leaq 0x18(%rdi), %rax
movq %rax, (%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 0x20(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x5b0(%rsp), %rdi
movq %r14, 0x8(%rsp)
callq 0x33e0
leaq 0x100(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x5fb8(%rip), %rsi      # 0xa160
leaq 0x5fb9(%rip), %rdx      # 0xa168
leaq 0xf0(%rsp), %rdi
callq 0x4074
leaq 0xe0(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5f9a(%rip), %rsi      # 0xa169
leaq 0x5f9b(%rip), %rdx      # 0xa171
leaq 0xd0(%rsp), %rdi
callq 0x4074
leaq 0xc0(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xb0(%rsp), %rdi
callq 0x78d2
leaq 0xa0(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x5f59(%rip), %rsi      # 0xa172
leaq 0x5f55(%rip), %rdx      # 0xa175
leaq 0x90(%rsp), %rdi
callq 0x4074
leaq 0xf0(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
leaq 0xb0(%rsp), %rdx
leaq 0x90(%rsp), %rcx
callq 0x8524
movq 0x90(%rsp), %rdi
cmpq %r13, %rdi
je 0x426f
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0xb0(%rsp), %rdi
cmpq %r14, %rdi
je 0x428c
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0xd0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x42a9
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0xf0(%rsp), %rdi
cmpq %r12, %rdi
je 0x42c6
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x160(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5e9d(%rip), %rsi      # 0xa176
leaq 0x5e99(%rip), %rdx      # 0xa179
leaq 0x150(%rsp), %rdi
callq 0x4074
leaq 0x428(%rsp), %rdx
movq %rdx, 0x8(%rdx)
movq %rdx, (%rdx)
movq $0x0, 0x10(%rdx)
leaq 0x10(%rsp), %rdi
leaq 0x150(%rsp), %rsi
callq 0x834b
movl %eax, %ebp
leaq 0x428(%rsp), %rdi
callq 0x6390
movq 0x150(%rsp), %rdi
cmpq %r14, %rdi
je 0x4342
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x3390
testb %bpl, %bpl
je 0x45b2
leaq 0x5b0(%rsp), %rdi
leaq 0x10(%rsp), %rsi
movl $0x8, %edx
callq 0x32f0
movq 0x5b0(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x5d0(%rsp,%rax)
jne 0x45d2
leaq 0x150(%rsp), %rdi
leaq 0x5b0(%rsp), %rsi
callq 0x60c2
leaq 0x428(%rsp), %rdi
callq 0x3260
leaq 0x5b0(%rsp), %rdi
callq 0x30c0
leaq 0x60(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5dee(%rip), %rsi      # 0xa1a9
leaq 0x5ded(%rip), %rdx      # 0xa1af
leaq 0x50(%rsp), %rdi
callq 0x4074
leaq 0x180(%rsp), %r15
leaq 0x50(%rsp), %rsi
movq %r15, %rdi
callq 0x6cde
movq %rax, %r12
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5dbc(%rip), %rsi      # 0xa1b0
leaq 0x5dbe(%rip), %rdx      # 0xa1b9
leaq 0x30(%rsp), %rdi
callq 0x4074
leaq 0x30(%rsp), %rsi
movq %r12, %rdi
callq 0x74f8
leaq 0x80(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x70(%rsp), %rdi
callq 0x78d2
leaq 0x130(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0x4882
leaq 0x130(%rsp), %r12
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x3460
movq (%r12), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x447a
movq 0x140(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x4494
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
leaq 0x20(%rsp), %r13
je 0x44b0
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x50(%rsp), %rdi
cmpq %rbp, %rdi
je 0x44c7
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x9ab2(%rip), %rsi      # 0xdf80
leaq 0x428(%rsp), %rdi
callq 0x32a0
leaq 0x4a8(%rsp), %rdi
callq 0x3130
leaq 0x410(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4509
movq 0x410(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x1f0(%rsp), %rdi
callq 0x30e0
leaq 0x1c8(%rsp), %r14
movq (%r14), %rdi
cmpq %r14, %rdi
je 0x453b
movq (%rdi), %r12
movl $0x18, %esi
callq 0x3390
movq %r12, %rdi
cmpq %r14, %r12
jne 0x4526
leaq 0x1b0(%rsp), %r14
movq (%r14), %rdi
cmpq %r14, %rdi
je 0x4560
movq (%rdi), %r12
movl $0x18, %esi
callq 0x3390
movq %r12, %rdi
cmpq %r14, %r12
jne 0x454b
movq %r15, %rdi
callq 0x74aa
leaq 0x150(%rsp), %rdi
callq 0x7876
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rbx)
leaq 0x5b0(%rsp), %rdi
callq 0x30e0
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x45a0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3390
addq $0x7b8, %rsp            # imm = 0x7B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x30, %edi
callq 0x31c0
movq %rax, %rbp
leaq 0x5bb4(%rip), %rsi      # 0xa17a
movq %rax, %rdi
xorl %edx, %edx
callq 0x604e
jmp 0x45f0
movl $0x30, %edi
callq 0x31c0
movq %rax, %rbp
leaq 0x5ba9(%rip), %rsi      # 0xa18f
movq %rax, %rdi
xorl %edx, %edx
callq 0x604e
leaq 0x96e9(%rip), %rsi      # 0xdce0
leaq 0x1a94(%rip), %rdx      # 0x6092
movq %rbp, %rdi
callq 0x3570
jmp 0x4608
movq %rdx, %r12
movq %rax, %r15
movq %rbp, %rdi
callq 0x3280
jmp 0x47b5
movq %rdx, %r12
movq %rax, %r15
movq 0x70(%rsp), %rdi
cmpq %r13, %rdi
je 0x4751
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x4751
jmp 0x4646
movq %rdx, %r12
movq %rax, %r15
jmp 0x4768
jmp 0x4653
movq %rdx, %r12
movq %rax, %r15
jmp 0x477f
movq %rdx, %r12
movq %rax, %r15
jmp 0x47a0
jmp 0x47af
movq %rdx, %r12
movq %rax, %r15
leaq 0x428(%rsp), %rdi
callq 0x6390
movq 0x150(%rsp), %rdi
cmpq %r14, %rdi
je 0x47b5
movq 0x160(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x47b5
jmp 0x47af
movq %rax, %r15
movq 0x90(%rsp), %rdi
cmpq %r13, %rdi
je 0x46d1
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x46d1
movq %rax, %r15
movq 0xb0(%rsp), %rdi
cmpq %r14, %rdi
je 0x46f3
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x46f3
movq %rax, %r15
movq 0xd0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x4715
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x4715
movq %rax, %r15
movq 0xf0(%rsp), %rdi
cmpq %r12, %rdi
je 0x481f
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x481f
movq %rax, %r15
jmp 0x481f
movq %rax, %r15
jmp 0x482c
movq %rdx, %r12
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x4768
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x50(%rsp), %rdi
cmpq %rbp, %rdi
je 0x477f
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x97fa(%rip), %rsi      # 0xdf80
leaq 0x428(%rsp), %rdi
callq 0x32a0
leaq 0x4a8(%rsp), %rdi
callq 0x3130
leaq 0x150(%rsp), %rdi
callq 0x61ba
jmp 0x47b5
movq %rdx, %r12
movq %rax, %r15
cmpl $0x1, %r12d
jne 0x481f
movq %r15, %rdi
callq 0x3180
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
leaq 0x110(%rsp), %rdi
leaq 0x150(%rsp), %rdx
movq %rax, %rsi
callq 0x402c
leaq 0x110(%rsp), %rsi
callq 0x4a84
movq %rax, %r15
leaq 0x120(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x481a
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x3390
jmp 0x481a
movq %rax, %r15
callq 0x3540
leaq 0x5b0(%rsp), %rdi
callq 0x30e0
addq $0x78, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x484c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3390
movq %rbx, %rdi
callq 0x77fe
movq 0x8(%rsp), %rax
movq (%rax), %rdi
cmpq (%rsp), %rdi
je 0x4871
movq (%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3390
movq %r15, %rdi
callq 0x3590
movq %rax, %rdi
callq 0x4069
nop