// File: /workspace/github_cpp_makefile_star2_O3/Luthaf[P]zeopp/networkanalysis.cc
// Function: TRAVERSAL_NETWORK::print(std::ostream&)
void TRAVERSAL_NETWORK::print(ostream &out){
  out << "Source nodes ids:  ";
  for(unsigned int i = 0; i < sourceNodeIDs.size(); i++)
    out << sourceNodeIDs.at(i) << "  ";
  out << "\n";
  out << "Regular connections:" << "\n";
  for(unsigned int i = 0; i <regConnections.size();i++){
    vector<CONN> nodeConns = regConnections.at(i);
    if(nodeConns.size() == 0)
      continue;
    out << "From #"<<i << "   To: ";
    for(unsigned int j = 0; j< nodeConns.size(); j++){
      out << nodeConns.at(j).to << "  ";
    }
    out << "\n";
  }
  out << "Connections to source node:" << "\n";
  for(unsigned int i = 0; i <connectToSource.size();i++){
    vector<CONN> nodeConns = connectToSource.at(i);
    if(nodeConns.size() == 0)
      continue;
    out << "From #"<< i << "   To:";
    for(unsigned int j = 0; j< nodeConns.size(); j++){
      cout << nodeConns.at(j).to << "  ";
    }
    cout << "\n";
  }
    cout << "Connections to sink node:" << "\n";
    for(unsigned int i = 0; i <connectToSink.size();i++){
      vector<CONN> nodeConns = connectToSink.at(i);
      if(nodeConns.size() == 0)
	continue;
      cout << "From #"<<i << "   To:";
      for(unsigned int j = 0; j< nodeConns.size(); j++){
	cout << nodeConns.at(j).to << "  ";
      }
      cout << "\n";
    }
    cout << "\n" << "\n";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %r13
leaq 0x11f5a6(%rip), %rsi    # 0x15140d
movl $0x13, %edx
movq %r14, %rdi
callq 0x44e0
movq (%r13), %rax
cmpq %rax, 0x8(%r13)
je 0x31ebf
movl $0x1, %ebx
xorl %ecx, %ecx
leaq 0x11b653(%rip), %r15    # 0x14d4df
movl (%rax,%rcx,4), %esi
movq %r14, %rdi
callq 0x4750
movl $0x2, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x44e0
movl %ebx, %ecx
movq (%r13), %rax
movq 0x8(%r13), %rdx
subq %rax, %rdx
sarq $0x2, %rdx
incl %ebx
cmpq %rcx, %rdx
ja 0x31e8c
leaq 0x121758(%rip), %r15    # 0x15361e
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x44e0
leaq 0x11f544(%rip), %rsi    # 0x151421
movl $0x14, %edx
movq %r14, %rdi
callq 0x44e0
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x44e0
movq 0x18(%r13), %rax
movabsq $-0x3333333333333333, %rbx # imm = 0xCCCCCCCCCCCCCCCD
cmpq %rax, 0x20(%r13)
movq %r13, 0x20(%rsp)
je 0x32026
xorl %r15d, %r15d
leaq 0x8(%rsp), %r12
leaq 0x11b5b9(%rip), %rbp    # 0x14d4df
leaq (%r15,%r15,2), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r12, %rdi
callq 0x37e9e
movq 0x8(%rsp), %rdi
cmpq %rdi, 0x10(%rsp)
je 0x31feb
movl $0x6, %edx
movq %r14, %rdi
leaq 0x11f4e1(%rip), %rsi    # 0x151436
callq 0x44e0
movq %r14, %rdi
movq %r15, %rsi
callq 0x42b0
movl $0x7, %edx
movq %rax, %rdi
leaq 0x11f4c9(%rip), %rsi    # 0x15143d
callq 0x44e0
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x31fcd
movl $0x1, %r13d
xorl %ecx, %ecx
leaq (%rcx,%rcx,4), %rcx
movl 0x4(%rax,%rcx,8), %esi
movq %r14, %rdi
callq 0x4750
movl $0x2, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x44e0
movl %r13d, %ecx
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %rbx, %rdx
incl %r13d
cmpq %rcx, %rdx
ja 0x31f8d
movl $0x1, %edx
movq %r14, %rdi
leaq 0x121642(%rip), %rsi    # 0x15361e
callq 0x44e0
movq 0x8(%rsp), %rdi
movq 0x20(%rsp), %r13
testq %rdi, %rdi
je 0x31ffd
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
incl %r15d
movq 0x18(%r13), %rax
movq 0x20(%r13), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %r15, %rcx
ja 0x31f26
leaq 0x11f418(%rip), %rsi    # 0x151445
movl $0x1b, %edx
movq %r14, %rdi
callq 0x44e0
leaq 0x1215dd(%rip), %rsi    # 0x15361e
movl $0x1, %edx
movq %r14, %rdi
callq 0x44e0
movq 0x30(%r13), %rax
cmpq %rax, 0x38(%r13)
je 0x3216f
xorl %r15d, %r15d
movq 0x162f5a(%rip), %r13    # 0x194fc0
leaq 0x11b472(%rip), %rbp    # 0x14d4df
leaq (%r15,%r15,2), %rcx
leaq (%rax,%rcx,8), %rsi
leaq 0x8(%rsp), %rdi
callq 0x37e9e
movq 0x8(%rsp), %rdi
cmpq %rdi, 0x10(%rsp)
je 0x3212f
movl $0x6, %edx
movq %r14, %rdi
leaq 0x11f398(%rip), %rsi    # 0x151436
callq 0x44e0
movq %r14, %rdi
movq %r15, %rsi
callq 0x42b0
movl $0x6, %edx
movq %rax, %rdi
leaq 0x11f3a4(%rip), %rsi    # 0x151461
callq 0x44e0
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x32116
movl $0x1, %r12d
xorl %ecx, %ecx
leaq (%rcx,%rcx,4), %rcx
movl 0x4(%rax,%rcx,8), %esi
movq %r13, %rdi
callq 0x4750
movl $0x2, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x44e0
movl %r12d, %ecx
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %rbx, %rdx
incl %r12d
cmpq %rcx, %rdx
ja 0x320d6
movl $0x1, %edx
movq %r13, %rdi
leaq 0x1214f9(%rip), %rsi    # 0x15361e
callq 0x44e0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x32141
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
incl %r15d
movq 0x20(%rsp), %rcx
movq 0x30(%rcx), %rax
movq 0x38(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %r15, %rcx
ja 0x3206d
movq 0x162e4a(%rip), %r14    # 0x194fc0
leaq 0x11f2eb(%rip), %rsi    # 0x151468
movl $0x19, %edx
movq %r14, %rdi
callq 0x44e0
leaq 0x12148d(%rip), %rsi    # 0x15361e
movl $0x1, %edx
movq %r14, %rdi
callq 0x44e0
movq 0x20(%rsp), %r13
movq 0x48(%r13), %rax
cmpq %rax, 0x50(%r13)
je 0x322c7
xorl %r14d, %r14d
leaq 0x8(%rsp), %r15
movq 0x162e00(%rip), %r12    # 0x194fc0
leaq 0x11b318(%rip), %rbp    # 0x14d4df
leaq (%r14,%r14,2), %rcx
leaq (%rax,%rcx,8), %rsi
movq %r15, %rdi
callq 0x37e9e
movq 0x8(%rsp), %rdi
cmpq %rdi, 0x10(%rsp)
je 0x3228c
movl $0x6, %edx
movq %r12, %rdi
leaq 0x11f240(%rip), %rsi    # 0x151436
callq 0x44e0
movq %r12, %rdi
movq %r14, %rsi
callq 0x42b0
movl $0x6, %edx
movq %rax, %rdi
leaq 0x11f24c(%rip), %rsi    # 0x151461
callq 0x44e0
movq 0x8(%rsp), %rax
cmpq %rax, 0x10(%rsp)
je 0x3226e
movl $0x1, %r13d
xorl %ecx, %ecx
leaq (%rcx,%rcx,4), %rcx
movl 0x4(%rax,%rcx,8), %esi
movq %r12, %rdi
callq 0x4750
movl $0x2, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x44e0
movl %r13d, %ecx
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %rbx, %rdx
incl %r13d
cmpq %rcx, %rdx
ja 0x3222e
movl $0x1, %edx
movq %r12, %rdi
leaq 0x1213a1(%rip), %rsi    # 0x15361e
callq 0x44e0
movq 0x8(%rsp), %rdi
movq 0x20(%rsp), %r13
testq %rdi, %rdi
je 0x3229e
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
incl %r14d
movq 0x48(%r13), %rax
movq 0x50(%r13), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
cmpq %r14, %rcx
ja 0x321c7
movq 0x162cf2(%rip), %rbx    # 0x194fc0
leaq 0x121349(%rip), %r14    # 0x15361e
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x44e0
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x44e0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3230e
jmp 0x3230e
jmp 0x3230e
jmp 0x3230e
jmp 0x3230e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x32328
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movq %rbx, %rdi
callq 0x4780