// File: /workspace/github_cpp_makefile_star2_O1/gasparfm[P]anapache/anapacheapp.cpp
// Function: AnapacheApp::ipCount_Results(AnapacheApp::AnalizerOptions)
void AnapacheApp::ipCount_Results(AnalizerOptions opts)
{
  std::cout << "Found "<<ipCount_data.queryCount.size()<<" different IPs"<<std::endl;
  std::cout << "Ordering IPs.."<<std::endl;
  std::vector < std::pair<std::string, unsigned long> >orderedIps;
  for (auto ip : ipCount_data.queryCount)
    {
      auto pos = orderedIps.begin();

      while ( (pos!=orderedIps.end()) && (pos->second<ip.second) )
      	pos++;
      orderedIps.insert(pos, ip);
      /* std:: cout << ip.first <<": "<<ip.second<<std::endl; */
    }
  std::cout << "ready!"<<std::endl;
  for (auto ip : orderedIps)
    {
      std:: cout << ip.first <<": "<<ip.second<<std::endl;
    }

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
movq 0x8882(%rip), %r14      # 0xdfb8
leaq 0x4bda(%rip), %rsi      # 0xa317
movl $0x6, %edx
movq %r14, %rdi
callq 0x33f0
movq 0xa0(%rbx), %rsi
movq %r14, %rdi
callq 0x3230
movq %rax, %r15
leaq 0x4bbb(%rip), %rsi      # 0xa31e
movl $0xe, %edx
movq %rax, %rdi
callq 0x33f0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x3340
movsbl %al, %esi
movq %r15, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3240
leaq 0x4b8f(%rip), %rsi      # 0xa32d
movl $0xe, %edx
movq %r14, %rdi
callq 0x33f0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3340
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3240
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movq 0x90(%rbx), %r14
subq $-0x80, %rbx
cmpq %rbx, %r14
je 0x58ba
leaq 0x18(%rsp), %r15
leaq 0x60(%rsp), %r13
leaq 0x50(%rsp), %r12
movq %r15, 0x8(%rsp)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x7998
movq 0x40(%r14), %rax
movq %rax, 0x28(%rsp)
movq 0x30(%rsp), %rbp
movq 0x38(%rsp), %rcx
cmpq %rcx, %rbp
je 0x5844
cmpq %rax, 0x20(%rbp)
jae 0x5844
addq $0x28, %rbp
jmp 0x5833
movq %r13, 0x50(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x7998
movq 0x28(%rsp), %rax
movq %rax, 0x70(%rsp)
leaq 0x30(%rsp), %rdi
movq %rbp, %rsi
movq %r12, %rdx
callq 0x7e80
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x588f
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x58a6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
movq %r14, %rdi
callq 0x3250
movq %rax, %r14
cmpq %rbx, %rax
jne 0x5806
movq 0x86f7(%rip), %rbx      # 0xdfb8
leaq 0x4a74(%rip), %rsi      # 0xa33c
movl $0x6, %edx
movq %rbx, %rdi
callq 0x33f0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3340
movsbl %al, %esi
movq 0x86c5(%rip), %rdi      # 0xdfb8
callq 0x3040
movq %rax, %rdi
callq 0x3240
movq 0x30(%rsp), %r13
movq 0x38(%rsp), %rbx
cmpq %rbx, %r13
je 0x59c9
leaq 0x18(%rsp), %rbp
movq 0x8699(%rip), %r14      # 0xdfb8
leaq 0x479f(%rip), %r15      # 0xa0c5
movq %rbp, 0x8(%rsp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x7998
movq 0x20(%r13), %rax
movq %rax, 0x28(%rsp)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x33f0
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x33f0
movq 0x28(%rsp), %rsi
movq %r12, %rdi
callq 0x3230
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x3340
movsbl %al, %esi
movq %r12, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3240
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x59bc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
addq $0x28, %r13
cmpq %rbx, %r13
jne 0x5926
leaq 0x30(%rsp), %rdi
callq 0x63c8
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x59e6
jmp 0x59e6
movq %rax, %rbx
jmp 0x5a30
movq %rax, %rbx
jmp 0x5a0a
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x5a0a
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3390
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x5a23
jmp 0x5a30
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5a30
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3390
leaq 0x30(%rsp), %rdi
callq 0x63c8
movq %rbx, %rdi
callq 0x3590