// File: /workspace/github_cpp_makefile_star2_O3/Kingsford-Group[P]ghost2/src/adjacency_graph.hpp
// Function: AdjGraph::init(Graph*)
void AdjGraph::init(Graph *G)
{
  itsm = (*G).nodes();
  s = itsm.size();
  m.resize(s,s);
  m.fill(0);
  for(int i=0;i<s;i++)
    stim[itsm[i]] = i;
  for(int i=0;i<s;i++)
  {
    string src=itsm[i];
    vlist v = (*G).neighbors(src);
    vlist::iterator it=v.begin(), vend=v.end();
    for(;it!=vend;it++)
      m(stim[src],stim[*it])=1;
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %r14
movq %rsp, %r15
movq %r15, %rdi
movq %rsi, 0x20(%rsp)
callq 0xd978
movq 0x30(%r14), %rax
movaps (%r15), %xmm0
movq 0x10(%r15), %rcx
movq %rcx, 0x30(%r14)
movups 0x20(%r14), %xmm1
movups %xmm0, 0x20(%r14)
leaq 0x50(%rsp), %rdi
movaps %xmm1, (%rdi)
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%r15)
movq $0x0, 0x10(%r15)
callq 0x1c0cc
movq %r15, %rdi
callq 0x1c0cc
movq 0x28(%r14), %rax
subq 0x20(%r14), %rax
shrq $0x5, %rax
movl %eax, (%r14)
movslq %eax, %rcx
testq %rcx, %rcx
js 0x1495e
leaq 0x8(%r14), %r15
movq %rcx, %rsi
imulq %rcx, %rsi
movq %r15, %rdi
movq %rcx, %rdx
callq 0x2e0b6
movq 0x10(%r14), %rax
movq 0x18(%r14), %rcx
movq %rax, 0x50(%rsp)
movq %rcx, 0x58(%rsp)
movq $0x0, 0x60(%rsp)
orq %rax, %rcx
js 0x1497d
leaq 0x50(%rsp), %rsi
movq %r15, %rdi
callq 0x2ec50
cmpl $0x0, (%r14)
jle 0x1490e
leaq 0x38(%r14), %r12
xorl %ebx, %ebx
xorl %r13d, %r13d
movq 0x20(%r14), %rsi
addq %rbx, %rsi
movq %r12, %rdi
callq 0x1dc3a
movl %r13d, (%rax)
incq %r13
movslq (%r14), %rax
addq $0x20, %rbx
cmpq %rax, %r13
jl 0x1479b
testl %eax, %eax
jle 0x1490e
leaq 0x10(%rsp), %rbx
leaq 0x40(%rsp), %r13
xorl %ebp, %ebp
movq 0x20(%rsp), %rax
addq $0x30, %rax
movq %rax, 0x28(%rsp)
movq 0x20(%r14), %rax
movq %rbp, %rcx
shlq $0x5, %rcx
movq %rbx, (%rsp)
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x27846
movq %r13, 0x30(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x27846
movq 0x20(%rsp), %rdi
cmpb $0x0, 0x60(%rdi)
cmovneq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x20002
addq $0x30, %rax
leaq 0x50(%rsp), %rdi
movq %rax, %rsi
callq 0x27198
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x1485e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc550
cmpq $0x0, 0x60(%rsp)
je 0x148d5
movq 0x78(%rsp), %rax
testq %rax, %rax
je 0x1493f
movq 0x58(%rsp), %rcx
movq (%rax,%rcx,8), %rbx
testq %rbx, %rbx
je 0x148d5
movq %r12, %rdi
movq %rsp, %rsi
callq 0x1dc3a
movslq (%rax), %r13
leaq 0x10(%rbx), %rsi
movq %r12, %rdi
callq 0x1dc3a
testl %r13d, %r13d
js 0x14920
movslq (%rax), %rax
testl %eax, %eax
js 0x14920
movq 0x10(%r14), %rcx
cmpq %r13, %rcx
jle 0x14920
cmpq %rax, 0x18(%r14)
jle 0x14920
imulq %rax, %rcx
shlq $0x3, %rcx
addq (%r15), %rcx
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, (%rcx,%r13,8)
movq (%rbx), %rbx
jmp 0x1487d
leaq 0x50(%rsp), %rdi
callq 0x27368
movq (%rsp), %rdi
leaq 0x10(%rsp), %rbx
cmpq %rbx, %rdi
je 0x148fa
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc550
incq %rbp
movslq (%r14), %rax
cmpq %rax, %rbp
leaq 0x40(%rsp), %r13
jl 0x147de
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x38130(%rip), %rdi     # 0x4ca57
leaq 0x3815e(%rip), %rsi     # 0x4ca8c
leaq 0x38180(%rip), %rcx     # 0x4cab5
movl $0x151, %edx            # imm = 0x151
callq 0xc340
leaq 0x366e9(%rip), %rdi     # 0x4b02f
leaq 0x34185(%rip), %rsi     # 0x48ad2
leaq 0x34e93(%rip), %rcx     # 0x497e7
movl $0xbd1, %edx            # imm = 0xBD1
callq 0xc340
leaq 0x37766(%rip), %rdi     # 0x4c0cb
leaq 0x37736(%rip), %rsi     # 0x4c0a2
leaq 0x3d3f3(%rip), %rcx     # 0x51d66
movl $0xf1, %edx
callq 0xc340
leaq 0x37566(%rip), %rdi     # 0x4beea
leaq 0x375fc(%rip), %rsi     # 0x4bf87
leaq 0x3d5be(%rip), %rcx     # 0x51f50
movl $0x3f, %edx
callq 0xc340
movq %rax, %rbx
jmp 0x149ca
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r13, %rdi
je 0x149ca
movq 0x40(%rsp), %rsi
incq %rsi
callq 0xc550
jmp 0x149ca
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x27368
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x149e5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xc550
movq %rbx, %rdi
callq 0xc9c0