// File: /workspace/github_cpp_makefile_star2_O1/Luthaf[P]zeopp/voronoicell.cc
// Function: VOR_CELL::getNodeCoords(int)
vector<Point> VOR_CELL::getNodeCoords(int nodeID){
  map<int, vector<int> >::iterator iter = reverseIDMappings.find(nodeID);
  if(iter == reverseIDMappings.end()){
    cerr << "Error: Node #" << nodeID << " isn't in this Voronoi cell." << "\n";
    cerr << "Cell contains these nodes: "; 
    map<int, vector<int> >::iterator nIter = reverseIDMappings.begin();
    while(nIter != reverseIDMappings.end()){
      cerr << nIter->first << " ";
      nIter++;
    }
    cerr << "\n";
    cerr << "Exiting..." << "\n";
    exit(1);
  }
  vector<int> vertexIDs = iter->second;
  vector<Point> coords = vector<Point> ();
  for(unsigned int i = 0; i < vertexIDs.size(); i++){
    coords.push_back(vertexCoords.find(vertexIDs[i])->second);
  }
  return coords;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x90(%rsi), %rcx
leaq 0x88(%rsi), %r12
movq %r12, %rax
testq %rcx, %rcx
je 0x6bd45
movq %r12, %rax
xorl %edx, %edx
cmpl %ebp, 0x20(%rcx)
setl %dl
cmovgeq %rcx, %rax
movq 0x10(%rcx,%rdx,8), %rcx
testq %rcx, %rcx
jne 0x6bd2f
movq %r12, %rsi
cmpq %r12, %rax
je 0x6bd57
cmpl %ebp, 0x20(%rax)
cmovgq %r12, %rax
movq %rax, %rsi
cmpq %r12, %rsi
je 0x6be44
addq $0x28, %rsi
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xe886
xorps %xmm0, %xmm0
movups %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movq (%r15), %rdi
cmpq %rdi, 0x8(%r15)
je 0x6be22
leaq 0xb8(%rbx), %r15
xorl %r12d, %r12d
movq 0xc0(%rbx), %rcx
movq %r15, %rax
testq %rcx, %rcx
je 0x6bdc4
movl (%rdi,%r12,4), %edx
movq %r15, %rax
xorl %esi, %esi
cmpl %edx, 0x20(%rcx)
setl %sil
cmovgeq %rcx, %rax
movq 0x10(%rcx,%rsi,8), %rcx
testq %rcx, %rcx
jne 0x6bdad
movq %r15, %rdx
cmpq %r15, %rax
je 0x6bdda
movl (%rdi,%r12,4), %ecx
cmpl 0x20(%rax), %ecx
cmovlq %r15, %rax
movq %rax, %rdx
addq $0x28, %rdx
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x6bdfd
movq 0x10(%rdx), %rax
movq %rax, 0x10(%rsi)
movups (%rdx), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x8(%r14)
jmp 0x6be05
movq %r14, %rdi
callq 0x3012c
incl %r12d
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
subq %rdi, %rax
sarq $0x2, %rax
cmpq %r12, %rax
ja 0x6bd97
testq %rdi, %rdi
je 0x6be34
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x4470
movq %r14, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x12b1a5(%rip), %r14    # 0x196ff0
leaq 0xe75a0(%rip), %rsi     # 0x1533f2
movl $0xd, %edx
movq %r14, %rdi
callq 0x44e0
movq %r14, %rdi
movl %ebp, %esi
callq 0x4750
movq %rax, %r15
leaq 0xea3c1(%rip), %rsi     # 0x156234
movl $0x1c, %edx
movq %rax, %rdi
callq 0x44e0
leaq 0xe96a7(%rip), %rsi     # 0x15552e
movl $0x1, %edx
movq %r15, %rdi
callq 0x44e0
leaq 0xea3b6(%rip), %rsi     # 0x156251
movl $0x1b, %edx
movq %r14, %rdi
callq 0x44e0
movq 0x98(%rbx), %rbx
cmpq %r12, %rbx
je 0x6beed
movq 0x12b135(%rip), %r14    # 0x196ff0
leaq 0xeb5c4(%rip), %r15     # 0x157486
movl 0x20(%rbx), %esi
movq %r14, %rdi
callq 0x4750
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x44e0
movq %rbx, %rdi
callq 0x42d0
movq %rax, %rbx
cmpq %r12, %rax
jne 0x6bec2
movq 0x12b0fc(%rip), %rbx    # 0x196ff0
leaq 0xe9633(%rip), %r14     # 0x15552e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4440
leaq 0xea6a5(%rip), %rsi     # 0x1565b2
movq %rbx, %rdi
callq 0x4440
movq %rax, %rdi
movq %r14, %rsi
callq 0x4440
movl $0x1, %edi
callq 0x710c
movq %rax, %rbx
movq (%r14), %rdi
testq %rdi, %rdi
je 0x6bf41
movq 0x10(%r14), %rsi
subq %rdi, %rsi
callq 0x4470
leaq 0x8(%rsp), %rdi
callq 0x504a
movq %rbx, %rdi
callq 0x4780
nop