// File: ehw-fit[P]py-paretoarchive/src/paretoarchive/core.cpp
// Function: _pyx_pf_13paretoarchive_4core_17PyBspTreeArchive1_16points(__pyx_obj_13paretoarchive_4core_PyBspTreeArchive1*, bool)
static PyObject *__pyx_pf_13paretoarchive_4core_17PyBspTreeArchive1_16points(struct __pyx_obj_13paretoarchive_4core_PyBspTreeArchive1 *__pyx_v_self, bool __pyx_v_returnIds) {
  std::vector<ObjVec<1>  const *>  __pyx_v_vec;
  ObjVec<1>  __pyx_v_veci;
  int __pyx_v_i;
  PyObject *__pyx_v_res = NULL;
  ObjVec<1>  const *__pyx_v_val;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  std::vector<ObjVec<1>  const *> ::size_type __pyx_t_2;
  std::vector<ObjVec<1>  const *> ::size_type __pyx_t_3;
  int __pyx_t_4;
  int __pyx_t_5;
  int __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("points", 0);

  /* "paretoarchive/core.pyx":97
 *     cdef ObjVec[myInt1] veci
 *     cdef int i
 *     vec = self._front.points()             # <<<<<<<<<<<<<<
 *     res = []
 *     for i in range(0,vec.size()):
 */
  __pyx_v_vec = __pyx_v_self->_front->points();

  /* "paretoarchive/core.pyx":98
 *     cdef int i
 *     vec = self._front.points()
 *     res = []             # <<<<<<<<<<<<<<
 *     for i in range(0,vec.size()):
 *         val = vec[i]
 */
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 98, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_res = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "paretoarchive/core.pyx":99
 *     vec = self._front.points()
 *     res = []
 *     for i in range(0,vec.size()):             # <<<<<<<<<<<<<<
 *         val = vec[i]
 *         veci = val[0]
 */
  __pyx_t_2 = __pyx_v_vec.size();
  __pyx_t_3 = __pyx_t_2;
  for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
    __pyx_v_i = __pyx_t_4;

    /* "paretoarchive/core.pyx":100
 *     res = []
 *     for i in range(0,vec.size()):
 *         val = vec[i]             # <<<<<<<<<<<<<<
 *         veci = val[0]
 *         if returnIds:
 */
    __pyx_v_val = (__pyx_v_vec[__pyx_v_i]);

    /* "paretoarchive/core.pyx":101
 *     for i in range(0,vec.size()):
 *         val = vec[i]
 *         veci = val[0]             # <<<<<<<<<<<<<<
 *         if returnIds:
 *             res.append(veci.getId())
 */
    __pyx_v_veci = (__pyx_v_val[0]);

    /* "paretoarchive/core.pyx":102
 *         val = vec[i]
 *         veci = val[0]
 *         if returnIds:             # <<<<<<<<<<<<<<
 *             res.append(veci.getId())
 *         else:
 */
    __pyx_t_5 = (__pyx_v_returnIds != 0);
    if (__pyx_t_5) {

      /* "paretoarchive/core.pyx":103
 *         veci = val[0]
 *         if returnIds:
 *             res.append(veci.getId())             # <<<<<<<<<<<<<<
 *         else:
 *             res.append([self._sign[0]*veci[0]])
 */
      __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_veci.getId()); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 103, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_t_6 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_1); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(0, 103, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

      /* "paretoarchive/core.pyx":102
 *         val = vec[i]
 *         veci = val[0]
 *         if returnIds:             # <<<<<<<<<<<<<<
 *             res.append(veci.getId())
 *         else:
 */
      goto __pyx_L5;
    }

    /* "paretoarchive/core.pyx":105
 *             res.append(veci.getId())
 *         else:
 *             res.append([self._sign[0]*veci[0]])             # <<<<<<<<<<<<<<
 *     return res
 * 
 */
    /*else*/ {
      __pyx_t_1 = PyFloat_FromDouble(((__pyx_v_self->_sign[0]) * (__pyx_v_veci[0]))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 105, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_t_7 = PyList_New(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 105, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_GIVEREF(__pyx_t_1);
      PyList_SET_ITEM(__pyx_t_7, 0, __pyx_t_1);
      __pyx_t_1 = 0;
      __pyx_t_6 = __Pyx_PyList_Append(__pyx_v_res, __pyx_t_7); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(0, 105, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    }
    __pyx_L5:;
  }

  /* "paretoarchive/core.pyx":106
 *         else:
 *             res.append([self._sign[0]*veci[0]])
 *     return res             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_res);
  __pyx_r = __pyx_v_res;
  goto __pyx_L0;

  /* "paretoarchive/core.pyx":93
 *     return self._front.size()
 * 
 *   def points(self, bool returnIds=False):             # <<<<<<<<<<<<<<
 *     cdef vector[const ObjVec[myInt1]*] vec
 *     cdef ObjVec[myInt1] veci
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("paretoarchive.core.PyBspTreeArchive1.points", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_res);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movb %sil, %al
movq %fs:0x28, %rcx
movq %rcx, -0x8(%rbp)
movq %rdi, -0x50(%rbp)
andb $0x1, %al
movb %al, -0x51(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x6bbd0
leaq -0x18(%rbp), %rdi
xorl %esi, %esi
callq 0x68310
jmp 0x3051a
movq $0x0, -0x70(%rbp)
movq $0x0, -0x80(%rbp)
movq $0x0, -0x88(%rbp)
movq $0x0, -0xb0(%rbp)
movl $0x0, -0xb4(%rbp)
movq $0x0, -0xc0(%rbp)
movl $0x0, -0xc4(%rbp)
movq -0x50(%rbp), %rax
movq 0x10(%rax), %rsi
leaq -0x48(%rbp), %rdi
callq 0x6bbf0
jmp 0x30572
leaq -0x30(%rbp), %rdi
leaq -0x48(%rbp), %rsi
movq %rsi, -0xd8(%rbp)
callq 0x6bd10
movq -0xd8(%rbp), %rdi
callq 0x69650
xorl %eax, %eax
movl %eax, %edi
callq 0x29370
movq %rax, -0xd0(%rbp)
jmp 0x305a4
movq -0xd0(%rbp), %rax
movq %rax, -0x88(%rbp)
cmpq $0x0, -0x88(%rbp)
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x305c9
jmp 0x3060a
movq 0x76e90(%rip), %rax     # 0xa7460
movq %rax, -0xc0(%rbp)
movl $0x62, -0xb4(%rbp)
movl $0xc0c, -0xc4(%rbp)     # imm = 0xC0C
jmp 0x3094c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x69650
jmp 0x309d2
movq -0x88(%rbp), %rax
movq %rax, -0x70(%rbp)
movq $0x0, -0x88(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x69610
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0x98(%rbp)
movl $0x0, -0x9c(%rbp)
movslq -0x9c(%rbp), %rax
cmpq -0x98(%rbp), %rax
jae 0x3092e
movl -0x9c(%rbp), %eax
movl %eax, -0x68(%rbp)
movslq -0x68(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x69630
movq (%rax), %rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
movq (%rax), %rcx
movq %rcx, -0x18(%rbp)
movl 0x8(%rax), %eax
movl %eax, -0x10(%rbp)
movb -0x51(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
setne %al
andb $0x1, %al
movzbl %al, %eax
movl %eax, -0xa0(%rbp)
cmpl $0x0, -0xa0(%rbp)
je 0x3079e
leaq -0x18(%rbp), %rdi
callq 0x6bd40
movl %eax, -0xdc(%rbp)
jmp 0x306c1
movl -0xdc(%rbp), %edi
callq 0x2ec60
movq %rax, -0xe8(%rbp)
jmp 0x306d5
movq -0xe8(%rbp), %rax
movq %rax, -0x88(%rbp)
cmpq $0x0, -0x88(%rbp)
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x306fa
jmp 0x30721
movq 0x76d5f(%rip), %rax     # 0xa7460
movq %rax, -0xc0(%rbp)
movl $0x67, -0xb4(%rbp)
movl $0xc40, -0xc4(%rbp)     # imm = 0xC40
jmp 0x3094c
movq -0x70(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x30a00
movl %eax, -0xec(%rbp)
jmp 0x30739
movl -0xec(%rbp), %eax
movl %eax, -0xa4(%rbp)
cmpl $-0x1, -0xa4(%rbp)
sete %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x30759
jmp 0x30780
movq 0x76d00(%rip), %rax     # 0xa7460
movq %rax, -0xc0(%rbp)
movl $0x67, -0xb4(%rbp)
movl $0xc42, -0xc4(%rbp)     # imm = 0xC42
jmp 0x3094c
movq -0x88(%rbp), %rdi
callq 0x2a7e0
jmp 0x3078e
movq $0x0, -0x88(%rbp)
jmp 0x30918
movq -0x50(%rbp), %rax
cvtsi2sdl 0x18(%rax), %xmm0
movsd %xmm0, -0x100(%rbp)
leaq -0x18(%rbp), %rdi
xorl %esi, %esi
callq 0x68360
movsd -0x100(%rbp), %xmm0
movsd (%rax), %xmm1
mulsd %xmm1, %xmm0
callq 0x29300
movq %rax, -0xf8(%rbp)
jmp 0x307d8
movq -0xf8(%rbp), %rax
movq %rax, -0x88(%rbp)
cmpq $0x0, -0x88(%rbp)
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x307fd
jmp 0x30824
movq 0x76c5c(%rip), %rax     # 0xa7460
movq %rax, -0xc0(%rbp)
movl $0x69, -0xb4(%rbp)
movl $0xc57, -0xc4(%rbp)     # imm = 0xC57
jmp 0x3094c
movl $0x1, %edi
callq 0x29370
movq %rax, -0x108(%rbp)
jmp 0x30837
movq -0x108(%rbp), %rax
movq %rax, -0xb0(%rbp)
cmpq $0x0, -0xb0(%rbp)
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x3085c
jmp 0x30883
movq 0x76bfd(%rip), %rax     # 0xa7460
movq %rax, -0xc0(%rbp)
movl $0x69, -0xb4(%rbp)
movl $0xc59, -0xc4(%rbp)     # imm = 0xC59
jmp 0x3094c
movq -0x88(%rbp), %rcx
movq -0xb0(%rbp), %rax
movq 0x18(%rax), %rax
movq %rcx, (%rax)
movq $0x0, -0x88(%rbp)
movq -0x70(%rbp), %rdi
movq -0xb0(%rbp), %rsi
callq 0x30a00
movl %eax, -0x10c(%rbp)
jmp 0x308bb
movl -0x10c(%rbp), %eax
movl %eax, -0xa4(%rbp)
cmpl $-0x1, -0xa4(%rbp)
sete %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x308db
jmp 0x308ff
movq 0x76b7e(%rip), %rax     # 0xa7460
movq %rax, -0xc0(%rbp)
movl $0x69, -0xb4(%rbp)
movl $0xc5e, -0xc4(%rbp)     # imm = 0xC5E
jmp 0x3094c
movq -0xb0(%rbp), %rdi
callq 0x2a7e0
jmp 0x3090d
movq $0x0, -0xb0(%rbp)
jmp 0x3091a
movl -0x9c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x9c(%rbp)
jmp 0x30648
movq -0x80(%rbp), %rdi
callq 0x2a8d0
jmp 0x30939
movq -0x70(%rbp), %rdi
callq 0x2a7c0
movq -0x70(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0x30991
movq -0x88(%rbp), %rdi
callq 0x2a8d0
jmp 0x3095a
movq -0xb0(%rbp), %rdi
callq 0x2a8d0
jmp 0x30968
movl -0xc4(%rbp), %esi
movl -0xb4(%rbp), %edx
movq -0xc0(%rbp), %rcx
leaq 0x5e626(%rip), %rdi     # 0x8efa8
callq 0x2c5a0
jmp 0x30989
movq $0x0, -0x80(%rbp)
movq -0x70(%rbp), %rdi
callq 0x2a8d0
jmp 0x3099c
movq -0x80(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x69650
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x309fb
movq -0x118(%rbp), %rax
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq -0x60(%rbp), %rax
movq %rax, -0x120(%rbp)
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x309fb
movq -0x120(%rbp), %rdi
callq 0x29660
callq 0x29420