// File: /workspace/github_cpp_makefile_star2_O1/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, 0x20(%rsp)
movq $0x0, 0x10(%rdi)
movq (%rdx), %r15
movq 0x8(%rdx), %rbp
cmpq %rbp, %r15
je 0xa54e
movq %rsi, %r14
movq %rsp, %r13
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
callq 0x431c
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %r12
cmpq %r12, %rbx
je 0xa4c1
movl (%rbx), %eax
movq (%r14), %rcx
movq 0x8(%r14), %rsi
subq %rcx, %rsi
sarq $0x2, %rsi
movq %rcx, %rdx
testq %rsi, %rsi
jle 0xa47b
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 0xa451
subq %rcx, %rdx
shrq $0x2, %rdx
movl %edx, 0x2c(%rsp)
cmpl %esi, %edx
jge 0xa4b8
movslq %edx, %rsi
cmpl %eax, (%rcx,%rsi,4)
jne 0xa4b8
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0xa4ab
movl %edx, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rsp)
jmp 0xa4b8
movq %r13, %rdi
leaq 0x2c(%rsp), %rdx
callq 0x8fde
addq $0x4, %rbx
jmp 0xa42a
movq (%rsp), %r12
movq 0x8(%rsp), %rbx
cmpq %rbx, %r12
je 0xa4fc
movq %rbx, %rax
subq %r12, %rax
sarq $0x2, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0xac3d
movq %r12, %rdi
movq %rbx, %rsi
callq 0xad20
movq 0x8(%rsp), %rax
cmpq (%rsp), %rax
je 0xa514
movq 0x20(%rsp), %rdi
movq %r13, %rsi
callq 0xa744
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xa52a
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xa541
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
addq $0x18, %r15
cmpq %rbp, %r15
jne 0xa403
movq 0x20(%rsp), %rbx
movq (%rbx), %r14
movq 0x8(%rbx), %r15
cmpq %r15, %r14
je 0xa59a
movq %r15, %rax
subq %r14, %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 %r14, %rdi
movq %r15, %rsi
callq 0xb710
movq %r14, %rdi
movq %r15, %rsi
callq 0xb7cf
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
callq 0xc18a
movq 0x8(%rbx), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0xc256
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa5cd
jmp 0xa5cd
jmp 0xa5cd
movq %rax, %r14
jmp 0xa604
jmp 0xa5d4
movq %rax, %r14
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xa5ed
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xa604
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0x20(%rsp), %rdi
callq 0x41fe
movq %r14, %rdi
callq 0x2310