// File: Laakeri[P]Triangulator/src/PMC.cpp
// Function: PMC::getComponents(Graph const&, std::vector<int, std::allocator<int>> const&)
vector<vector<int> > getComponents(const Graph& G, const vector<int>& separator) {
	for (int i = 0; i < G.n; i++) {
		u[i] = 0;
	}
	it = 2;
	for (int x : separator) {
		assert(u[x] == 0);
		u[x] = it;
	}
	vector<vector<int> > ret;
	for (int i = 0; i < G.n; i++) {
		if (u[i] == 0) {
			it++;
			vector<int> co;
			int c = dfs3(G, i, co);
			assert(c <= (int)separator.size());
			sort(co.begin(), co.end());
			ret.push_back(co);
		}
	}
	return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x98(%rbp)
movq %rdi, %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x50(%rcx), %eax
jge 0x3b1c8
movslq -0x1c(%rbp), %rcx
leaq 0x5f7f3a(%rip), %rax    # 0x6330f0
movl $0x0, (%rax,%rcx,4)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x3b19f
movl $0x2, 0x65999e(%rip)    # 0x694b70
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
callq 0x6680
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rdi
callq 0x66b0
movq %rax, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xbbc0
testb $0x1, %al
jne 0x3b207
jmp 0x3b266
leaq -0x30(%rbp), %rdi
callq 0xbc00
movl (%rax), %eax
movl %eax, -0x3c(%rbp)
movslq -0x3c(%rbp), %rcx
leaq 0x5f7ed0(%rip), %rax    # 0x6330f0
cmpl $0x0, (%rax,%rcx,4)
jne 0x3b228
jmp 0x3b247
leaq 0x1ebbf(%rip), %rdi     # 0x59dee
leaq 0x1f440(%rip), %rsi     # 0x5a676
movl $0xe4, %edx
leaq 0x1f731(%rip), %rcx     # 0x5a973
callq 0x31a0
movl 0x659923(%rip), %edx    # 0x694b70
movslq -0x3c(%rbp), %rcx
leaq 0x5f7e98(%rip), %rax    # 0x6330f0
movl %edx, (%rax,%rcx,4)
leaq -0x30(%rbp), %rdi
callq 0xbc80
jmp 0x3b1f4
movq -0x98(%rbp), %rdi
movb $0x0, -0x3d(%rbp)
callq 0x17630
movl $0x0, -0x44(%rbp)
movl -0x44(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x50(%rcx), %eax
jge 0x3b3ae
movslq -0x44(%rbp), %rcx
leaq 0x5f7e58(%rip), %rax    # 0x6330f0
cmpl $0x0, (%rax,%rcx,4)
jne 0x3b39e
movl 0x6598c8(%rip), %eax    # 0x694b70
incl %eax
movl %eax, 0x6598c0(%rip)    # 0x694b70
leaq -0x60(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0xdf40
movq -0xa8(%rbp), %rdx
movq -0x10(%rbp), %rdi
movl -0x44(%rbp), %esi
callq 0x3ad90
movl %eax, -0x9c(%rbp)
jmp 0x3b2db
movl -0x9c(%rbp), %eax
movl %eax, -0x64(%rbp)
movl -0x64(%rbp), %eax
movl %eax, -0xac(%rbp)
movq -0x18(%rbp), %rdi
callq 0x59a0
movq %rax, %rcx
movl -0xac(%rbp), %eax
cmpl %ecx, %eax
jg 0x3b305
jmp 0x3b34a
leaq 0x1f51b(%rip), %rdi     # 0x5a827
leaq 0x1f363(%rip), %rsi     # 0x5a676
movl $0xed, %edx
leaq 0x1f654(%rip), %rcx     # 0x5a973
callq 0x31a0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x70(%rbp)
movl %eax, -0x74(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x6d30
movq -0x98(%rbp), %rdi
callq 0x5e20
jmp 0x3b3d4
leaq -0x60(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
callq 0xe060
movq -0xb8(%rbp), %rdi
movq %rax, -0x80(%rbp)
callq 0xe090
movq %rax, -0x88(%rbp)
movq -0x80(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x176e0
jmp 0x3b383
movq -0x98(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x17bb0
jmp 0x3b395
leaq -0x60(%rbp), %rdi
callq 0x6d30
jmp 0x3b3a0
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x3b27d
movb $0x1, -0x3d(%rbp)
testb $0x1, -0x3d(%rbp)
jne 0x3b3c4
movq -0x98(%rbp), %rdi
callq 0x5e20
movq -0x90(%rbp), %rax
addq $0xc0, %rsp
popq %rbp
retq
movq -0x70(%rbp), %rdi
callq 0x3480
nopl (%rax)