// File: /workspace/github_cpp_makefile_star2_O3/Kingsford-Group[P]ghost2/src/computeSpectralSignatures.hpp
// Function: spectrum(Graph*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<LevelData, std::allocator<LevelData>>*, ProgressBar*)
void spectrum(Graph *input, int numHops, string source, 
              vector<LevelData> *output, ProgressBar *p)
{
  AdjacencyMatrix m;
  for(int i=1;i<=numHops;i++)
  {
    m.extend(input, source);
    (*output).push_back(LevelData(m.getPrev(), m.getEigen(), m.getDensity()));
  }
  (*p).update();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %r8, 0x20(%rsp)
movq %rcx, 0x28(%rsp)
movq %rdx, %r15
movq %rdi, 0x30(%rsp)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x59(%rsp)
movapd %xmm0, 0x50(%rsp)
movl $0x10, %eax
movq %rax, 0x70(%rsp)
xorl %ecx, %ecx
movq %rcx, 0x78(%rsp)
movl $0x3f800000, %edx       # imm = 0x3F800000
movl %edx, 0x80(%rsp)
movupd %xmm0, 0x88(%rsp)
movb %cl, 0x98(%rsp)
movq %rax, 0xa0(%rsp)
movq %rcx, 0xa8(%rsp)
movl %edx, 0xb0(%rsp)
movupd %xmm0, 0xb8(%rsp)
movb %cl, 0xc8(%rsp)
movq %rax, 0xd0(%rsp)
movq %rcx, 0xd8(%rsp)
movl %edx, 0xe0(%rsp)
movupd %xmm0, 0xe8(%rsp)
movupd %xmm0, 0xf8(%rsp)
movupd %xmm0, 0x108(%rsp)
testl %esi, %esi
jle 0x10f9e
movl %esi, %ebp
movq %rsp, %r13
leaq 0x118(%rsp), %r14
leaq 0x130(%rsp), %rbx
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x27846
leaq 0x50(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq %r13, %r12
movq %r13, %rdx
callq 0x10228
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x10efd
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc550
movq %r14, %rdi
leaq 0xf8(%rsp), %rsi
callq 0x1d53e
leaq 0x38(%rsp), %r13
movq %r13, %rdi
leaq 0x50(%rsp), %rsi
callq 0x1082c
cvtdq2pd 0x110(%rsp), %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
divsd %xmm1, %xmm0
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x1ca82
movq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x337da
movq 0x148(%rsp), %rdi
testq %rdi, %rdi
je 0x10f6c
movq 0x158(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
movq %rbx, %rdi
callq 0x1c0cc
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x10f8b
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
movq %r14, %rdi
callq 0x1c0cc
decl %ebp
movq %r12, %r13
jne 0x10eb2
movq 0x20(%rsp), %rdi
callq 0xf7ee
leaq 0xf8(%rsp), %rdi
callq 0x1c0cc
leaq 0xc8(%rsp), %rdi
callq 0x2120a
leaq 0x98(%rsp), %rdi
callq 0x2111a
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
callq 0x27368
movq -0x18(%rbx), %rdi
callq 0xc660
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1101b
jmp 0x1101b
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1105e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0x1105e
movq %rax, %rbx
jmp 0x1105e
movq %rax, %rbx
jmp 0x11051
movq %rax, %rbx
jmp 0x1103a
movq %rax, %rbx
leaq 0x130(%rsp), %rdi
callq 0x1cac8
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x11051
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0xc550
leaq 0x118(%rsp), %rdi
callq 0x1c0cc
leaq 0x50(%rsp), %rdi
callq 0x1caea
movq %rbx, %rdi
callq 0xc9c0