// File: /workspace/github_cpp_makefile_star2_O1/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 0x1218c
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 0x28d6a
leaq 0x50(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq %r13, %r12
movq %r13, %rdx
callq 0x113da
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x120e4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd550
movq %r14, %rdi
leaq 0xf8(%rsp), %rsi
callq 0x1e844
leaq 0x38(%rsp), %r13
movq %r13, %rdi
leaq 0x50(%rsp), %rsi
callq 0x11a2e
xorps %xmm0, %xmm0
cvtsi2sdl 0x110(%rsp), %xmm0
xorps %xmm1, %xmm1
cvtsi2sdl 0x114(%rsp), %xmm1
divsd %xmm1, %xmm0
movq %rbx, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x1dd7e
movq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x3491a
movq 0x148(%rsp), %rdi
testq %rdi, %rdi
je 0x1215a
movq 0x158(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
movq %rbx, %rdi
callq 0x1d3ca
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x12179
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
movq %r14, %rdi
callq 0x1d3ca
decl %ebp
movq %r12, %r13
jne 0x12099
movq 0x20(%rsp), %rdi
callq 0x10808
leaq 0xf8(%rsp), %rdi
callq 0x1d3ca
leaq 0xc8(%rsp), %rdi
callq 0x22638
leaq 0x98(%rsp), %rdi
callq 0x22548
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
callq 0x28884
movq -0x18(%rbx), %rdi
callq 0xd660
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x12209
jmp 0x12209
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1224c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xd550
jmp 0x1224c
movq %rax, %rbx
jmp 0x1224c
movq %rax, %rbx
jmp 0x1223f
movq %rax, %rbx
jmp 0x12228
movq %rax, %rbx
leaq 0x130(%rsp), %rdi
callq 0x1ddc4
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x1223f
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0xd550
leaq 0x118(%rsp), %rdi
callq 0x1d3ca
leaq 0x50(%rsp), %rdi
callq 0x1dde6
movq %rbx, %rdi
callq 0xd9c0