// File: /workspace/github_cpp_makefile_star2_O3/Laakeri[P]Triangulator/src/graph.cpp
// Function: Graph::mapInto(std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>> const&) const
void Graph::remEdge(int a, int b) {
	if (DENSE) {
		mat[a][b] = 0;
		mat[b][a] = 0;
	}
	for (size_t i = 0; i < g[a].size(); i++) {
		if (g[a][i] == b) {
			swap(g[a][i], g[a].back());
			g[a].pop_back();
			break;
		}
	}
	for (size_t i = 0; i < g[b].size(); i++) {
		if (g[b][i] == a) {
			swap(g[b][i], g[b].back());
			g[b].pop_back();
			break;
		}
	}
	m--;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, 0x8(%rsp)
movq $0x0, 0x10(%rdi)
movq (%rdx), %r15
movq 0x8(%rdx), %rbp
cmpq %rbp, %r15
je 0xa8ef
movq %rsi, %r14
leaq 0x10(%rsp), %r13
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
callq 0x42ce
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %r12
cmpq %r12, %rbx
je 0xa877
movl (%rbx), %eax
movq (%r14), %rcx
movq 0x8(%r14), %rsi
subq %rcx, %rsi
sarq $0x2, %rsi
movq %rcx, %rdx
testq %rsi, %rsi
jle 0xa7b6
movq %rsi, %rdi
movq %rcx, %rdx
movq %rdi, %r8
shrq %r8
movq %r8, %r9
notq %r9
addq %rdi, %r9
leaq (%rdx,%r8,4), %rdi
addq $0x4, %rdi
cmpl %eax, -0x4(%rdi)
cmovlq %rdi, %rdx
cmovgeq %r8, %r9
movq %r9, %rdi
testq %r9, %r9
jg 0xa78c
subq %rcx, %rdx
shrq $0x2, %rdx
movl %edx, 0x2c(%rsp)
cmpl %esi, %edx
jge 0xa7f3
movslq %edx, %rsi
cmpl %eax, (%rcx,%rsi,4)
jne 0xa7f3
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0xa7e6
movl %edx, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0xa7f3
movq %r13, %rdi
leaq 0x2c(%rsp), %rdx
callq 0x92c4
addq $0x4, %rbx
cmpq %r12, %rbx
jne 0xa76e
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r12
cmpq %r12, %rbx
je 0xa846
movq %r12, %rax
subq %rbx, %rax
sarq $0x2, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0xaf7f
movq %rbx, %rdi
movq %r12, %rsi
callq 0xb062
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r12
cmpq %rbx, %r12
je 0xa85d
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0xaaa4
movq 0x10(%rsp), %rbx
testq %rbx, %rbx
je 0xa872
movq 0x20(%rsp), %rsi
subq %rbx, %rsi
movq %rbx, %rdi
callq 0x2210
movq 0x30(%rsp), %rbx
testq %rbx, %rbx
je 0xa88c
movq 0x40(%rsp), %rsi
subq %rbx, %rsi
movq %rbx, %rdi
callq 0x2210
addq $0x18, %r15
cmpq %rbp, %r15
jne 0xa73d
movq 0x8(%rsp), %rax
movq (%rax), %rbx
movq 0x8(%rax), %r14
cmpq %r14, %rbx
je 0xa8f1
movq %r14, %rax
subq %rbx, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rcx
bsrq %rcx, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb9b0
movq %rbx, %rdi
movq %r14, %rsi
callq 0xba6f
movq 0x8(%rsp), %r14
movq (%r14), %rbx
jmp 0xa8f6
xorl %ebx, %ebx
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0xc253
movq 0x8(%r14), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0xc312
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa929
jmp 0xa929
jmp 0xa929
movq %rax, %rbx
jmp 0xa961
jmp 0xa930
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xa94a
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xa961
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0x8(%rsp), %rdi
callq 0x41aa
movq %rbx, %rdi
callq 0x2310
nop