// File: /workspace/github_cpp_makefile_star2_O2/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, %rbp
movq %rdi, %rbx
leaq 0x647d(%rip), %rsi      # 0x288a3
callq 0x5370
movl (%rbp), %esi
movq %rax, %rdi
callq 0x55e0
leaq 0x6399(%rip), %rsi      # 0x287d6
movq %rax, %rdi
callq 0x5370
leaq 0x6462(%rip), %rsi      # 0x288ae
movq %rbx, %rdi
callq 0x5370
movq 0x8(%rbp), %r14
movq 0x10(%rbp), %r13
leaq 0x10(%rsp), %r15
leaq 0x4f00(%rip), %r12      # 0x27368
cmpq %r13, %r14
je 0x2249c
movq %r15, %rdi
movq %r14, %rsi
callq 0x54a0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5330
movq %rax, %rdi
movq %r12, %rsi
callq 0x5370
movq %r15, %rdi
callq 0x56f8
addq $0x20, %r14
jmp 0x22468
leaq 0x6333(%rip), %rsi      # 0x287d6
movq %rbx, %rdi
callq 0x5370
leaq 0x6404(%rip), %rsi      # 0x288b6
movq %rbx, %rdi
callq 0x5370
movq 0x20(%rbp), %r14
movq 0x28(%rbp), %r13
leaq 0x10(%rsp), %r15
leaq 0x4e9a(%rip), %r12      # 0x27368
cmpq %r13, %r14
je 0x22502
movq %r15, %rdi
movq %r14, %rsi
callq 0x54a0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5330
movq %rax, %rdi
movq %r12, %rsi
callq 0x5370
movq %r15, %rdi
callq 0x56f8
addq $0x20, %r14
jmp 0x224ce
leaq 0x63bb(%rip), %rsi      # 0x288c4
movq %rbx, %rdi
callq 0x5370
movq 0x50(%rbp), %r15
movq %rbp, 0x8(%rsp)
movq 0x58(%rbp), %r12
leaq 0x10(%rsp), %rbp
leaq 0x63be(%rip), %r13      # 0x288e8
leaq 0x62a5(%rip), %r14      # 0x287d6
cmpq %r12, %r15
je 0x225a9
movq %rbp, %rdi
movq %r15, %rsi
callq 0x1d7ac
movq %rbx, %rdi
leaq 0x6388(%rip), %rsi      # 0x288d3
callq 0x5370
movl 0x10(%rsp), %esi
movq %rax, %rdi
callq 0x55e0
movq %rax, %rdi
leaq 0x6378(%rip), %rsi      # 0x288de
callq 0x5370
movq %rax, %rdi
leaq 0x18(%rsp), %rsi
callq 0x5330
movq %rax, %rdi
movq %r13, %rsi
callq 0x5370
movq %rax, %rdi
leaq 0x38(%rsp), %rsi
callq 0x5330
movq %rax, %rdi
movq %r14, %rsi
callq 0x5370
movq %rbp, %rdi
callq 0x1d846
addq $0x48, %r15
jmp 0x22531
leaq 0x633f(%rip), %rsi      # 0x288ef
movq %rbx, %rdi
callq 0x5370
movq 0x8(%rsp), %rax
movq 0x68(%rax), %r12
movq 0x70(%rax), %r13
leaq 0x631c(%rip), %r14      # 0x288e8
leaq 0x6203(%rip), %r15      # 0x287d6
cmpq %r13, %r12
je 0x2260f
movl (%r12), %esi
movl 0x4(%r12), %ebp
movq %rbx, %rdi
callq 0x55e0
movq %rax, %rdi
movq %r14, %rsi
callq 0x5370
movq %rax, %rdi
movl %ebp, %esi
callq 0x55e0
movq %rax, %rdi
movq %r15, %rsi
callq 0x5370
addq $0x8, %r12
jmp 0x225d3
movq %rbx, %rdi
callq 0x5290
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2262b
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x56f8
jmp 0x22647
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x1d846
movq %rbx, %rdi
callq 0x5610
nop