// File: /workspace/github_cpp_makefile_star2_O1/GAStudyGroup[P]GPX2/src/cross/gpx/sources/Partition.cpp
// Function: operator<<(std::ostream&, Partition const&)
ostream& operator<<(ostream& output, const Partition& partition)
{
    output << "Partition " << partition.id << "\n";
    output << "Nodes: ";
    for (string i : partition.nodes) {
        output << i << " ";
    }
    output << "\n";
    output << "Access List: ";
    for (string i : partition.accessNodes) {
        output << i << " ";
    }
    output << "connectedTo: \n";
    for (auto a : partition.connectedTo) {
        //output << "partition " << a.first << " by node " << a.second.first << " wity " << a.second.second << "\n";
        output << "partition " << a.connectedPartition << " by node " << a.node << " with " << a.connectedNode << "\n";
    }
    output << "connections: \n";
    for (auto a : partition.connections) {
        output << a.first << " with " << a.second << "\n";
    }
    output.flush();
    return (output);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8196(%rip), %rsi      # 0x328d0
movl $0xa, %edx
callq 0x5440
movl (%r14), %esi
movq %rbx, %rdi
callq 0x5640
leaq 0x80ad(%rip), %rsi      # 0x32803
movl $0x1, %edx
movq %rax, %rdi
callq 0x5440
leaq 0x8171(%rip), %rsi      # 0x328db
movl $0x7, %edx
movq %rbx, %rdi
callq 0x5440
movq 0x8(%r14), %r12
movq %r14, 0x50(%rsp)
movq 0x10(%r14), %r13
cmpq %r13, %r12
je 0x2a7f5
leaq 0x18(%rsp), %rbp
leaq 0x8(%rsp), %r14
leaq 0x6bfe(%rip), %r15      # 0x31398
movq %rbp, 0x8(%rsp)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x82cc
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x5440
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x5440
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2a7ec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53c0
addq $0x20, %r12
cmpq %r13, %r12
jne 0x2a79a
leaq 0x8007(%rip), %rsi      # 0x32803
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5440
leaq 0x80d3(%rip), %rsi      # 0x328e3
movl $0xd, %edx
movq %rbx, %rdi
callq 0x5440
movq 0x50(%rsp), %rax
movq 0x20(%rax), %r12
movq 0x28(%rax), %r13
cmpq %r13, %r12
je 0x2a89b
leaq 0x18(%rsp), %rbp
leaq 0x8(%rsp), %r14
leaq 0x6b58(%rip), %r15      # 0x31398
movq %rbp, 0x8(%rsp)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x82cc
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x5440
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x5440
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2a892
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53c0
addq $0x20, %r12
cmpq %r13, %r12
jne 0x2a840
leaq 0x804f(%rip), %rsi      # 0x328f1
movl $0xe, %edx
movq %rbx, %rdi
callq 0x5440
movq 0x50(%rsp), %rax
movq 0x50(%rax), %r13
movq 0x58(%rax), %rbp
cmpq %rbp, %r13
je 0x2a9cc
leaq 0x20(%rsp), %r14
leaq 0x40(%rsp), %r15
movl (%r13), %eax
movl %eax, 0x8(%rsp)
movq %r14, 0x10(%rsp)
movq 0x8(%r13), %rsi
movq 0x10(%r13), %rdx
addq %rsi, %rdx
leaq 0x10(%rsp), %rdi
callq 0x82cc
movq %r15, 0x30(%rsp)
movq 0x28(%r13), %rsi
movq 0x30(%r13), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x82cc
movl $0xa, %edx
movq %rbx, %rdi
leaq 0x7fe6(%rip), %rsi      # 0x32900
callq 0x5440
movl 0x8(%rsp), %esi
movq %rbx, %rdi
callq 0x5640
movq %rax, %r12
movl $0x9, %edx
movq %rax, %rdi
leaq 0x7fce(%rip), %rsi      # 0x3290b
callq 0x5440
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rdi
callq 0x5440
movq %rax, %r12
movl $0x6, %edx
movq %rax, %rdi
leaq 0x7faf(%rip), %rsi      # 0x32915
callq 0x5440
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq %r12, %rdi
callq 0x5440
movl $0x1, %edx
movq %rax, %rdi
leaq 0x7e77(%rip), %rsi      # 0x32803
callq 0x5440
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x2a9a8
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x53c0
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x2a9bf
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x53c0
addq $0x48, %r13
cmpq %rbp, %r13
jne 0x2a8cf
leaq 0x7f49(%rip), %rsi      # 0x3291c
movl $0xe, %edx
movq %rbx, %rdi
callq 0x5440
movq 0x50(%rsp), %rax
movq 0x68(%rax), %r13
movq 0x70(%rax), %r14
cmpq %r14, %r13
je 0x2aa43
leaq 0x7e0a(%rip), %r15      # 0x32803
movl (%r13), %esi
movl 0x4(%r13), %ebp
movq %rbx, %rdi
callq 0x5640
movq %rax, %r12
movl $0x6, %edx
movq %rax, %rdi
leaq 0x7efa(%rip), %rsi      # 0x32915
callq 0x5440
movq %r12, %rdi
movl %ebp, %esi
callq 0x5640
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x5440
addq $0x8, %r13
cmpq %r14, %r13
jne 0x2a9f9
movq %rbx, %rdi
callq 0x5290
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x2aa9c
movq 0x20(%rsp), %rsi
jmp 0x2aa85
jmp 0x2aa73
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2aa9c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x53c0
jmp 0x2aa9c
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2503e
movq %rbx, %rdi
callq 0x5670