// File: /workspace/github_cpp_makefile_star2_O1/Luthaf[P]zeopp/voro++/src/cell.cc
// Function: voro::voronoicell_base::face_vertices(std::vector<int, std::allocator<int>>&)
void voronoicell_base::face_vertices(std::vector<int> &v) {
	int i,j,k,l,m,vp(0),vn;
	v.clear();
	for(i=1;i<p;i++) for(j=0;j<nu[i];j++) {
		k=ed[i][j];
		if(k>=0) {
			v.push_back(0);
			v.push_back(i);
			ed[i][j]=-1-k;
			l=cycle_up(ed[i][nu[i]+j],k);
			do {
				v.push_back(k);
				m=ed[k][l];
				ed[k][l]=-1-m;
				l=cycle_up(ed[k][nu[k]+l],m);
				k=m;
			} while (k!=i);
			vn=v.size();
			v[vp]=vn-vp-1;
			vp=vn;
		}
	}
	reset_edges();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
cmpq %rax, 0x8(%rsi)
je 0xac8d
movq %rax, 0x8(%r14)
movl $0x1, 0xc(%rsp)
movl 0x1c(%rbx), %ecx
cmpl $0x2, %ecx
jl 0xae31
leaq 0x10(%rsp), %r13
xorl %r15d, %r15d
movq 0x30(%rbx), %rdx
movl 0xc(%rsp), %eax
movslq %eax, %rcx
cmpl $0x0, (%rdx,%rcx,4)
jle 0xae20
xorl %r12d, %r12d
movq 0x28(%rbx), %rax
movq (%rax,%rcx,8), %rax
movl (%rax,%r12,4), %eax
movl %eax, 0x10(%rsp)
testl %eax, %eax
js 0xae05
movl $0x0, 0x14(%rsp)
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0xacfb
movl $0x0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%r14)
jmp 0xad08
movq %r14, %rdi
leaq 0x14(%rsp), %rdx
callq 0x123aa
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0xad22
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%r14)
jmp 0xad2f
movq %r14, %rdi
leaq 0xc(%rsp), %rdx
callq 0x12486
movl 0x10(%rsp), %eax
notl %eax
movq 0x28(%rbx), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rdx
movl %eax, (%rdx,%r12,4)
movslq 0xc(%rsp), %rax
movq (%rcx,%rax,8), %rcx
movq 0x30(%rbx), %rdx
movslq (%rdx,%rax,4), %rax
movslq %r12d, %rsi
addq %rax, %rsi
movl (%rcx,%rsi,4), %eax
movslq 0x10(%rsp), %rcx
movl (%rdx,%rcx,4), %ecx
decl %ecx
leal 0x1(%rax), %ebp
cmpl %eax, %ecx
movl $0x0, %eax
cmovel %eax, %ebp
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0xad91
movl 0x10(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%r14)
jmp 0xad9c
movq %r14, %rdi
movq %r13, %rdx
callq 0x12486
movq 0x28(%rbx), %rcx
movslq 0x10(%rsp), %rax
movq (%rcx,%rax,8), %rdx
movslq %ebp, %rsi
movslq (%rdx,%rsi,4), %rax
movl %eax, %edi
notl %edi
movl %edi, (%rdx,%rsi,4)
movslq 0x10(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x30(%rbx), %rdi
movslq (%rdi,%rdx,4), %rdx
addq %rsi, %rdx
movl (%rcx,%rdx,4), %ecx
movl (%rdi,%rax,4), %edx
decl %edx
xorl %ebp, %ebp
cmpl %ecx, %edx
je 0xaddd
incl %ecx
movl %ecx, %ebp
movl %eax, 0x10(%rsp)
cmpl 0xc(%rsp), %eax
jne 0xad77
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
movslq %r15d, %rdx
notl %r15d
addl %ecx, %r15d
movl %r15d, (%rax,%rdx,4)
movl %ecx, %r15d
incq %r12
movq 0x30(%rbx), %rdx
movl 0xc(%rsp), %eax
movslq %eax, %rcx
movslq (%rdx,%rcx,4), %rdx
cmpq %rdx, %r12
jl 0xacc1
incl %eax
movl %eax, 0xc(%rsp)
movl 0x1c(%rbx), %ecx
cmpl %ecx, %eax
jl 0xaca9
testl %ecx, %ecx
jle 0xae91
xorl %r15d, %r15d
leaq 0x2e006(%rip), %r14     # 0x38e45
movq 0x30(%rbx), %rax
cmpl $0x0, (%rax,%r15,4)
jle 0xae85
xorl %r12d, %r12d
movq 0x28(%rbx), %rax
movq (%rax,%r15,8), %rax
cmpl $0x0, (%rax,%r12,4)
js 0xae69
movq %r14, %rdi
movl $0x3, %esi
callq 0x1318d
movq 0x28(%rbx), %rax
movq (%rax,%r15,8), %rax
notl (%rax,%r12,4)
incq %r12
movq 0x30(%rbx), %rax
movslq (%rax,%r15,4), %rax
cmpq %rax, %r12
jl 0xae4d
incq %r15
movslq 0x1c(%rbx), %rax
cmpq %rax, %r15
jl 0xae3f
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq