// File: /workspace/github_cpp_makefile_star2_O3/kulpreet[P]lightning-network-graph-analysis/src/include/degree_stats.hpp
// Function: lncentrality::get_degrees_stats[abi:cxx11](boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, lncentrality::LitVertex, lncentrality::LitEdge, boost::no_property, boost::listS>&)
map<string, double> get_degrees_stats(LitGraph &g) {
  graph_traits<LitGraph>::vertex_iterator i, end;
  accumulator_set<Degree, stats<tag::mean, tag::variance>> in_degrees,
      out_degrees, degrees;
  map<string, double> result;
  for (boost::tie(i, end) = vertices(g); i != end; ++i) {
    in_degrees(in_degree(*i, g));
    out_degrees(out_degree(*i, g));
    degrees(degree(*i, g));
  }
  result["in_degrees_mean"] = mean(in_degrees);
  result["in_degrees_variance"] = variance(in_degrees);
  result["out_degrees_mean"] = mean(out_degrees);
  result["out_degrees_variance"] = variance(out_degrees);
  result["degrees_mean"] = mean(degrees);
  result["degrees_variance"] = variance(degrees);
  return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
movl $0x0, 0x8(%rdi)
xorl %ecx, %ecx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %rcx, 0x28(%rdi)
movq 0x18(%rsi), %rdx
movq 0x20(%rsi), %rax
subq %rdx, %rax
je 0x91e1
sarq $0x3, %rax
movabsq $-0x2c8590b21642c859, %rcx # imm = 0xD37A6F4DE9BD37A7
imulq %rax, %rcx
addq $0x8, %rdx
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
xorl %eax, %eax
movdqa 0x140ce(%rip), %xmm2    # 0x1d030
movdqa 0x140d6(%rip), %xmm3    # 0x1d040
movdqa 0x140de(%rip), %xmm4    # 0x1d050
movsd 0x1413e(%rip), %xmm5    # 0x1d0b8
movapd 0x140de(%rip), %xmm6    # 0x1d060
movq 0x14086(%rip), %xmm1    # 0x1d010
movapd 0x1408e(%rip), %xmm0    # 0x1d020
xorl %r10d, %r10d
xorl %esi, %esi
xorl %edi, %edi
movq (%rdx), %r9
subq -0x8(%rdx), %r9
sarq $0x4, %r9
leaq 0x1(%r10), %r8
addq %r9, %rdi
cmpq $0x1, %r8
jbe 0x9150
movq %r9, %xmm8
movdqa %xmm8, %xmm7
pand %xmm2, %xmm7
por %xmm3, %xmm7
movdqa %xmm8, %xmm9
psrlq $0x20, %xmm9
por %xmm4, %xmm9
subsd %xmm5, %xmm9
addsd %xmm7, %xmm9
movq %r8, %xmm7
movdqa %xmm7, %xmm11
pand %xmm2, %xmm11
por %xmm3, %xmm11
movdqa %xmm7, %xmm10
psrlq $0x20, %xmm10
por %xmm4, %xmm10
subsd %xmm5, %xmm10
addsd %xmm11, %xmm10
movq %r10, %xmm12
movdqa %xmm12, %xmm11
punpcklqdq %xmm12, %xmm7   # xmm7 = xmm7[0],xmm12[0]
pand %xmm2, %xmm12
por %xmm3, %xmm12
psrlq $0x20, %xmm11
por %xmm4, %xmm11
subsd %xmm5, %xmm11
addsd %xmm12, %xmm11
addq %r9, %rsi
movq %rsi, %xmm12
movq %rdi, %xmm13
punpcklqdq %xmm13, %xmm12  # xmm12 = xmm12[0],xmm13[0]
movdqa %xmm12, %xmm13
pand %xmm2, %xmm13
por %xmm3, %xmm13
psrlq $0x20, %xmm12
por %xmm4, %xmm12
subpd %xmm6, %xmm12
addpd %xmm13, %xmm12
unpcklpd %xmm9, %xmm9            # xmm9 = xmm9[0,0]
unpcklpd %xmm10, %xmm10          # xmm10 = xmm10[0,0]
divpd %xmm10, %xmm12
subpd %xmm12, %xmm9
unpcklpd %xmm11, %xmm11          # xmm11 = xmm11[0,0]
movapd 0x20(%rsp), %xmm12
mulpd %xmm11, %xmm12
divpd %xmm10, %xmm12
mulpd %xmm9, %xmm9
divpd %xmm11, %xmm9
addpd %xmm9, %xmm12
movapd %xmm12, 0x20(%rsp)
addq %r9, %rax
punpckldq %xmm1, %xmm8    # xmm8 = xmm8[0],xmm1[0],xmm8[1],xmm1[1]
subpd %xmm0, %xmm8
movapd %xmm8, %xmm9
unpckhpd %xmm8, %xmm9            # xmm9 = xmm9[1],xmm8[1]
addsd %xmm8, %xmm9
movq %rax, %xmm8
punpckldq %xmm1, %xmm8    # xmm8 = xmm8[0],xmm1[0],xmm8[1],xmm1[1]
subpd %xmm0, %xmm8
movapd %xmm8, %xmm10
unpckhpd %xmm8, %xmm10           # xmm10 = xmm10[1],xmm8[1]
addsd %xmm8, %xmm10
movdqa %xmm7, %xmm8
pand %xmm2, %xmm8
por %xmm3, %xmm8
psrlq $0x20, %xmm7
por %xmm4, %xmm7
subpd %xmm6, %xmm7
addpd %xmm8, %xmm7
divsd %xmm7, %xmm10
subsd %xmm10, %xmm9
movapd 0x40(%rsp), %xmm10
unpcklpd %xmm9, %xmm10           # xmm10 = xmm10[0],xmm9[0]
movapd %xmm7, %xmm8
shufpd $0x1, %xmm9, %xmm8      # xmm8 = xmm8[1],xmm9[0]
mulpd %xmm10, %xmm8
divpd %xmm7, %xmm8
movapd %xmm8, %xmm7
unpckhpd %xmm8, %xmm7            # xmm7 = xmm7[1],xmm8[1]
addsd %xmm8, %xmm7
movapd %xmm7, 0x40(%rsp)
jmp 0x9156
addq %r9, %rsi
addq %r9, %rax
addq $0xb8, %rdx
movq %r8, %r10
cmpq %r8, %rcx
jne 0x8f99
movq %rdi, %xmm2
punpckldq %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
subpd %xmm0, %xmm2
movapd %xmm2, %xmm3
unpckhpd %xmm2, %xmm3            # xmm3 = xmm3[1],xmm2[1]
addsd %xmm2, %xmm3
movapd %xmm3, 0x70(%rsp)
movq %rcx, %xmm2
punpckldq %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
subpd %xmm0, %xmm2
movapd %xmm2, %xmm3
unpckhpd %xmm2, %xmm3            # xmm3 = xmm3[1],xmm2[1]
addsd %xmm2, %xmm3
movapd %xmm3, 0x30(%rsp)
movq %rsi, %xmm2
punpckldq %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
subpd %xmm0, %xmm2
movapd %xmm2, %xmm3
unpckhpd %xmm2, %xmm3            # xmm3 = xmm3[1],xmm2[1]
addsd %xmm2, %xmm3
movapd %xmm3, 0x60(%rsp)
movq %rax, %xmm2
punpckldq %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
subpd %xmm0, %xmm2
movapd %xmm2, %xmm0
unpckhpd %xmm2, %xmm0            # xmm0 = xmm0[1],xmm2[1]
addsd %xmm2, %xmm0
jmp 0x9207
xorpd %xmm0, %xmm0
movapd %xmm0, 0x20(%rsp)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x30(%rsp)
movapd %xmm0, 0x70(%rsp)
movapd %xmm0, 0x60(%rsp)
movapd %xmm0, 0x40(%rsp)
movapd %xmm0, 0x50(%rsp)
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x13f71(%rip), %rsi     # 0x1d18e
leaq 0x13f79(%rip), %rdx     # 0x1d19d
movq %rsp, %rdi
callq 0xac6c
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x9fac
movapd 0x70(%rsp), %xmm0
divsd 0x30(%rsp), %xmm0
movsd %xmm0, (%rax)
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x925d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7300
movq %rsp, %rdi
movq %r15, (%rdi)
leaq 0x13f34(%rip), %rsi     # 0x1d19e
leaq 0x13f40(%rip), %rdx     # 0x1d1b1
callq 0xac6c
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x9fac
movapd 0x20(%rsp), %xmm0
movhpd %xmm0, (%rax)
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x92a1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7300
movq %rsp, %rdi
movq %r15, (%rdi)
leaq 0x13f04(%rip), %rsi     # 0x1d1b2
leaq 0x13f0d(%rip), %rdx     # 0x1d1c2
callq 0xac6c
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x9fac
movapd 0x60(%rsp), %xmm0
divsd 0x30(%rsp), %xmm0
movsd %xmm0, (%rax)
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x92eb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7300
movq %rsp, %rdi
movq %r15, (%rdi)
leaq 0x13ecb(%rip), %rsi     # 0x1d1c3
leaq 0x13ed8(%rip), %rdx     # 0x1d1d7
callq 0xac6c
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x9fac
movapd 0x20(%rsp), %xmm0
movlpd %xmm0, (%rax)
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x932f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7300
movq %rsp, %rdi
movq %r15, (%rdi)
leaq 0x13e55(%rip), %rsi     # 0x1d191
leaq 0x13e5a(%rip), %rdx     # 0x1d19d
callq 0xac6c
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x9fac
movapd 0x50(%rsp), %xmm0
divsd 0x30(%rsp), %xmm0
movsd %xmm0, (%rax)
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x9379
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7300
movq %rsp, %rdi
movq %r15, (%rdi)
leaq 0x13e1b(%rip), %rsi     # 0x1d1a1
leaq 0x13e24(%rip), %rdx     # 0x1d1b1
callq 0xac6c
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x9fac
movaps 0x40(%rsp), %xmm0
movsd %xmm0, (%rax)
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x93bc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7300
movq %rbx, %rax
addq $0x80, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x93e0
jmp 0x93fb
jmp 0x93e0
jmp 0x93fb
jmp 0x93e0
jmp 0x93fb
jmp 0x93e0
jmp 0x93fb
jmp 0x93e0
jmp 0x93fb
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x93fe
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x7300
jmp 0x93fe
movq %rax, %r14
movq %rbx, %rdi
callq 0xa5fa
movq %r14, %rdi
callq 0x7550