// File: ehw-fit[P]py-paretoarchive/src/paretoarchive/core.cpp
// Function: _pyx_pw_13paretoarchive_4core_17PyBspTreeArchive5_9process(_object*, _object*, _object*)
static PyObject *__pyx_pw_13paretoarchive_4core_17PyBspTreeArchive5_9process(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_item = 0;
  PyObject *__pyx_v_customId = 0;
  PyObject *__pyx_v_returnId = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("process (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_item,&__pyx_n_s_customId,&__pyx_n_s_returnId,0};
    PyObject* values[3] = {0,0,0};
    values[1] = ((PyObject *)Py_None);
    values[2] = ((PyObject *)Py_False);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_item)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_customId);
          if (value) { values[1] = value; kw_args--; }
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_returnId);
          if (value) { values[2] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "process") < 0)) __PYX_ERR(0, 340, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_item = values[0];
    __pyx_v_customId = values[1];
    __pyx_v_returnId = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("process", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 340, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("paretoarchive.core.PyBspTreeArchive5.process", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_13paretoarchive_4core_17PyBspTreeArchive5_8process(((struct __pyx_obj_13paretoarchive_4core_PyBspTreeArchive5 *)__pyx_v_self), __pyx_v_item, __pyx_v_customId, __pyx_v_returnId);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x30(%rbp)
movq %rsi, -0x38(%rbp)
movq %rdx, -0x40(%rbp)
movq $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movq $0x0, -0x58(%rbp)
movl $0x0, -0x5c(%rbp)
movq $0x0, -0x68(%rbp)
movl $0x0, -0x6c(%rbp)
movq $0x0, -0x78(%rbp)
leaq -0x20(%rbp), %rdi
xorl %esi, %esi
movl $0x18, %edx
callq 0x29250
movq 0x6f1a7(%rip), %rax     # 0xa6de8
movq %rax, -0x18(%rbp)
movq 0x6f2ec(%rip), %rax     # 0xa6f38
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x40(%rbp)
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x37c65
jmp 0x37e5c
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0xa0(%rbp)
subq $0x3, %rax
ja 0x37cc5
movq -0xa0(%rbp), %rax
leaq 0x563ee(%rip), %rcx     # 0x8e084
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x38(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x38(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x38(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0x37cca
jmp 0x37ed5
movq -0x40(%rbp), %rdi
callq 0x29650
movq %rax, -0x80(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0xa8(%rbp)
testq %rax, %rax
je 0x37d11
jmp 0x37cec
movq -0xa8(%rbp), %rax
subq $0x1, %rax
je 0x37d56
jmp 0x37cfb
movq -0xa8(%rbp), %rax
subq $0x2, %rax
je 0x37da4
jmp 0x37df2
movq -0x40(%rbp), %rdi
movq 0x7494c(%rip), %rsi     # 0xac668
movq 0x74945(%rip), %rax     # 0xac668
movq 0x18(%rax), %rdx
callq 0x29490
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x37d41
jmp 0x37d4f
movq -0x80(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x80(%rbp)
jmp 0x37d54
jmp 0x37ed5
jmp 0x37d56
cmpq $0x0, -0x80(%rbp)
jle 0x37da2
movq -0x40(%rbp), %rdi
movq 0x748c0(%rip), %rsi     # 0xac628
movq 0x748b9(%rip), %rax     # 0xac628
movq 0x18(%rax), %rdx
callq 0x29490
movq %rax, -0x90(%rbp)
cmpq $0x0, -0x90(%rbp)
je 0x37da0
movq -0x90(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x80(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x80(%rbp)
jmp 0x37da2
jmp 0x37da4
cmpq $0x0, -0x80(%rbp)
jle 0x37df0
movq -0x40(%rbp), %rdi
movq 0x7493a(%rip), %rsi     # 0xac6f0
movq 0x74933(%rip), %rax     # 0xac6f0
movq 0x18(%rax), %rdx
callq 0x29490
movq %rax, -0x98(%rbp)
cmpq $0x0, -0x98(%rbp)
je 0x37dee
movq -0x98(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x80(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x80(%rbp)
jmp 0x37df0
jmp 0x37df2
cmpq $0x0, -0x80(%rbp)
setg %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x37e04
jmp 0x37e5a
movq -0x40(%rbp), %rdi
leaq -0x20(%rbp), %rcx
movq -0x88(%rbp), %r8
leaq 0x72a76(%rip), %rsi     # 0xaa890
xorl %eax, %eax
movl %eax, %edx
leaq 0x57bf6(%rip), %r9      # 0x8fa1b
callq 0x2f320
cmpl $0x0, %eax
setl %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x37e3a
jmp 0x37e58
movq 0x6f61f(%rip), %rax     # 0xa7460
movq %rax, -0x68(%rbp)
movl $0x154, -0x5c(%rbp)     # imm = 0x154
movl $0x1ae3, -0x6c(%rbp)    # imm = 0x1AE3
jmp 0x37f0e
jmp 0x37e5a
jmp 0x37ebb
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0xb0(%rbp)
subq $0x1, %rax
je 0x37ea9
jmp 0x37e73
movq -0xb0(%rbp), %rax
subq $0x2, %rax
je 0x37e9d
jmp 0x37e82
movq -0xb0(%rbp), %rax
subq $0x3, %rax
jne 0x37eb7
jmp 0x37e91
movq -0x38(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x38(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x38(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0x37eb9
jmp 0x37ed5
jmp 0x37ebb
movq -0x20(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
jmp 0x37f2e
movq -0x38(%rbp), %rax
movq 0x10(%rax), %r8
leaq 0x57b37(%rip), %rdi     # 0x8fa1b
xorl %esi, %esi
movl $0x1, %edx
movl $0x3, %ecx
callq 0x2f6a0
movq 0x6f564(%rip), %rax     # 0xa7460
movq %rax, -0x68(%rbp)
movl $0x154, -0x5c(%rbp)     # imm = 0x154
movl $0x1af6, -0x6c(%rbp)    # imm = 0x1AF6
movl -0x6c(%rbp), %esi
movl -0x5c(%rbp), %edx
movq -0x68(%rbp), %rcx
leaq 0x574d9(%rip), %rdi     # 0x8f3f8
callq 0x2c5a0
movq $0x0, -0x28(%rbp)
jmp 0x37f4f
movq -0x30(%rbp), %rdi
movq -0x48(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq -0x58(%rbp), %rcx
callq 0x388f0
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq %fs:0x28, %rax
movq -0x8(%rbp), %rcx
cmpq %rcx, %rax
jne 0x37f7c
movq -0xb8(%rbp), %rax
addq $0xc0, %rsp
popq %rbp
retq
callq 0x29420
nopw %cs:(%rax,%rax)