// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../source/fourier.c
// Function: fourier_pks_at_kvec_and_zvec
int fourier_pks_at_kvec_and_zvec(
                                 struct background * pba,
                                 struct fourier * pfo,
                                 enum pk_outputs pk_output,
                                 double * kvec, // kvec[index_kvec]
                                 int kvec_size,
                                 double * zvec, // zvec[index_zvec]
                                 int zvec_size,
                                 double * out_pk,   // output_pk[index_zvec*kvec_size+index_kvec],
                                                    // already allocated
                                                    //(or NULL if user knows there is no _m output)
                                 double * out_pk_cb // output_pk[index_zvec*kvec_size+index_kvec],
                                                    //already allocated
                                                    //(or NULL if user knows there is no _cb output)
                                 ) {

  /** Summary: */

  /** - define local variables */

  int index_k, index_kvec, index_zvec;
  double * ln_kvec;
  double * ln_pk_table = NULL;
  double * ddln_pk_table = NULL;
  double * ln_pk_cb_table = NULL;
  double * ddln_pk_cb_table = NULL;
  double h, a, b;

  /** - Allocate arrays */

  class_alloc(ln_kvec, sizeof(double)*kvec_size,
              pfo->error_message);

  if (pfo->has_pk_m == _TRUE_) {
    class_alloc(ln_pk_table, sizeof(double)*pfo->k_size*zvec_size,
                pfo->error_message);
    class_alloc(ddln_pk_table, sizeof(double)*pfo->k_size*zvec_size,
                pfo->error_message);
  }
  if (pfo->has_pk_cb == _TRUE_) {
    class_alloc(ln_pk_cb_table, sizeof(double)*pfo->k_size*zvec_size,
                pfo->error_message);
    class_alloc(ddln_pk_cb_table, sizeof(double)*pfo->k_size*zvec_size,
                pfo->error_message);
  }

  /** - Construct table of log(P(k_n,z_j)) for pre-computed wavenumbers but requested redshifts: */

  for (index_zvec=0; index_zvec<zvec_size; index_zvec++){

    if (pfo->has_pk_m == _TRUE_) {
      class_call(fourier_pk_at_z(pba,
                                 pfo,
                                 logarithmic,
                                 pk_output,
                                 zvec[index_zvec],
                                 pfo->index_pk_m,
                                 &(ln_pk_table[index_zvec * pfo->k_size]),
                                 NULL),
                 pfo->error_message,
                 pfo->error_message);
    }
    if (pfo->has_pk_cb == _TRUE_) {
      class_call(fourier_pk_at_z(pba,
                                 pfo,
                                 logarithmic,
                                 pk_output,
                                 zvec[index_zvec],
                                 pfo->index_pk_cb,
                                 &(ln_pk_cb_table[index_zvec * pfo->k_size]),
                                 NULL),
                 pfo->error_message,
                 pfo->error_message);
    }
  }

  /** - Spline it for interpolation along k */

  if (pfo->has_pk_m == _TRUE_) {

    class_call(array_spline_table_columns2(pfo->ln_k,
                                           pfo->k_size,
                                           ln_pk_table,
                                           zvec_size,
                                           ddln_pk_table,
                                           _SPLINE_NATURAL_,
                                           pfo->error_message),
               pfo->error_message,
               pfo->error_message);
  }
  if (pfo->has_pk_cb == _TRUE_) {

    class_call(array_spline_table_columns2(pfo->ln_k,
                                           pfo->k_size,
                                           ln_pk_cb_table,
                                           zvec_size,
                                           ddln_pk_cb_table,
                                           _SPLINE_NATURAL_,
                                           pfo->error_message),
               pfo->error_message,
               pfo->error_message);
  }

  /** - Construct ln(kvec): */

  for (index_kvec=0; index_kvec<kvec_size; index_kvec++)
    ln_kvec[index_kvec] = log(kvec[index_kvec]);

  /** - Loop over first k values. If k<kmin, fill output with zeros. If not, go to next step. */

  for (index_kvec = 0; index_kvec<kvec_size; index_kvec++){

    /* check whether one should go to next step */
    if (ln_kvec[index_kvec] >= pfo->ln_k[0])
      break;

    /* deal with k<k_min */
    for (index_zvec = 0; index_zvec < zvec_size; index_zvec++) {
      if (pfo->has_pk_m == _TRUE_)     out_pk[index_zvec*kvec_size+index_kvec] = 0.;
      if (pfo->has_pk_cb == _TRUE_) out_pk_cb[index_zvec*kvec_size+index_kvec] = 0.;
      /* (If needed, one could add instead some extrapolation here) */
    }
  }

  /** - Deal with case kmin<=k<=kmax. For better performance, do not
      loop through kvec, but through pre-computed k values. */

  for (index_k=0; index_k < (pfo->k_size-1); index_k++){

    /** --> Loop through k_i's that fall in interval [k_n,k_n+1] */

    while ((index_kvec < kvec_size) && (ln_kvec[index_kvec] <= pfo->ln_k[index_k+1])){

      /** --> for each of them, perform spine interpolation */

      h = pfo->ln_k[index_k+1]-pfo->ln_k[index_k];
      b = (ln_kvec[index_kvec] - pfo->ln_k[index_k])/h;
      a = 1.-b;

      for (index_zvec = 0; index_zvec < zvec_size; index_zvec++) {

        if (pfo->has_pk_m == _TRUE_) {

          out_pk[index_zvec*kvec_size+index_kvec] =
            exp(
                array_spline_eval(ln_pk_table,
                                  ddln_pk_table,
                                  (index_zvec * pfo->k_size + index_k),
                                  (index_zvec * pfo->k_size + index_k+1),
                                  h,a,b)
                );
        }
        if (pfo->has_pk_cb == _TRUE_) {

          out_pk_cb[index_zvec*kvec_size+index_kvec] =
            exp(
                array_spline_eval(ln_pk_cb_table,
                                  ddln_pk_cb_table,
                                  (index_zvec * pfo->k_size + index_k),
                                  (index_zvec * pfo->k_size + index_k+1),
                                  h,a,b)
                );
        }
      }
      index_kvec++;
    }
  }

  /** - Loop over possible remaining k values with k > kmax, to fill output with zeros. */

  while (index_kvec < kvec_size) {

    for (index_zvec = 0; index_zvec < zvec_size; index_zvec++) {
      if (pfo->has_pk_m == _TRUE_)     out_pk[index_zvec*kvec_size+index_kvec] = 0.;
      if (pfo->has_pk_cb == _TRUE_) out_pk_cb[index_zvec*kvec_size+index_kvec] = 0.;
      /* (If needed, one could add instead some extrapolation here) */
    }
    index_kvec++;
  }

  free(ln_kvec);
  if (pfo->has_pk_m == _TRUE_) {
    free(ln_pk_table);
    free(ddln_pk_table);
  }
  if (pfo->has_pk_cb == _TRUE_) {
    free(ln_pk_cb_table);
    free(ddln_pk_cb_table);
  }

  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x888, %rsp            # imm = 0x888
movq %r9, %r15
movl %r8d, %ebp
movq %rcx, %r14
movl %edx, 0x60(%rsp)
movq %rsi, %rbx
movq %rdi, 0x38(%rsp)
movslq %r8d, %rax
movq %rax, 0x68(%rsp)
leaq (,%rax,8), %r12
movq %r12, %rdi
callq 0x8460
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0x9e9f5
movq %r14, 0x58(%rsp)
movl %ebp, 0x1c(%rsp)
movl 0x8c0(%rsp), %r13d
movzwl 0x50(%rbx), %ebp
cmpw $0x1, %bp
movq %rbx, %r11
movq %rbx, 0x8(%rsp)
jne 0x9ea3d
movq %r12, 0x10(%rsp)
movq %r15, %r12
movslq 0x6c(%r11), %r14
movslq %r13d, %r15
imulq %r14, %r15
shlq $0x3, %r15
movq %r15, %rdi
movq %r11, %rbx
callq 0x8460
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x9ec87
movq %r15, %rdi
callq 0x8460
movq %rax, 0x48(%rsp)
testq %rax, %rax
movq 0x20(%rsp), %rbx
je 0x9edf1
movq 0x8(%rsp), %r11
movq %r12, %r15
movq 0x10(%rsp), %r12
jmp 0x9ea54
leaq 0x4f608(%rip), %rsi     # 0xee004
leaq 0x7d66a(%rip), %rdx     # 0x11c06d
leaq 0x80(%rsp), %r15
movq %r15, %rdi
movl %r12d, %ecx
xorl %eax, %eax
callq 0x30af0
addq $0x192, %rbx            # imm = 0x192
leaq 0x4f60e(%rip), %rsi     # 0xee034
leaq 0x7d648(%rip), %rdx     # 0x11c075
movq %rbx, %rdi
movl $0x353, %ecx            # imm = 0x353
movq %r15, %r8
jmp 0x9ef1a
movq $0x0, 0x48(%rsp)
movq $0x0, 0x30(%rsp)
movq 0x20(%rsp), %rbx
cmpw $0x1, 0x52(%r11)
jne 0x9eab0
movq %r15, 0x10(%rsp)
movslq 0x6c(%r11), %r14
movslq %r13d, %r15
imulq %r14, %r15
shlq $0x3, %r15
movq %r15, %rdi
movq %r11, %rbx
callq 0x8460
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0x9eda4
movq %r15, %rdi
callq 0x8460
movq %rax, 0x40(%rsp)
testq %rax, %rax
movq 0x20(%rsp), %rbx
je 0x9ee40
movq 0x8(%rsp), %r11
movq 0x10(%rsp), %r15
jmp 0x9eac2
movq $0x0, 0x40(%rsp)
movq $0x0, 0x28(%rsp)
movl %r13d, %eax
movq %rax, 0x50(%rsp)
testl %r13d, %r13d
jle 0x9eb8b
xorl %r14d, %r14d
movl 0x60(%rsp), %ebp
cmpw $0x1, 0x50(%r11)
jne 0x9eb29
movsd (%r15,%r14,8), %xmm0
movl 0x54(%r11), %r8d
movslq 0x6c(%r11), %rax
movslq %r14d, %rcx
imulq %rax, %rcx
movq 0x30(%rsp), %rax
leaq (%rax,%rcx,8), %r9
movq $0x0, (%rsp)
movq 0x38(%rsp), %rdi
movq %r11, %rsi
movl $0x1, %edx
movl %ebp, %ecx
callq 0x9d04c
movq 0x8(%rsp), %r11
testl %eax, %eax
jne 0x9ee8f
cmpw $0x1, 0x52(%r11)
jne 0x9eb78
movsd (%r15,%r14,8), %xmm0
movl 0x58(%r11), %r8d
movslq 0x6c(%r11), %rax
movslq %r14d, %rcx
imulq %rax, %rcx
movq 0x28(%rsp), %rax
leaq (%rax,%rcx,8), %r9
movq $0x0, (%rsp)
movq 0x38(%rsp), %rdi
movq %r11, %rsi
movl $0x1, %edx
movl %ebp, %ecx
callq 0x9d04c
movq 0x8(%rsp), %r11
testl %eax, %eax
jne 0x9eed4
incq %r14
cmpq %r14, 0x50(%rsp)
jne 0x9eada
movzwl 0x50(%r11), %ebp
cmpw $0x1, %bp
jne 0x9ec01
movq 0x80(%r11), %rdi
movl 0x6c(%r11), %esi
leaq 0x192(%r11), %r14
movq %r14, (%rsp)
movq 0x30(%rsp), %rdx
movl %r13d, %ecx
movq 0x48(%rsp), %r8
xorl %r9d, %r9d
callq 0x160b8
movq 0x8(%rsp), %r11
cmpl $0x1, %eax
jne 0x9ec01
leaq 0x4f823(%rip), %rsi     # 0xee3f0
leaq 0x7d5f7(%rip), %rdx     # 0x11c1cb
leaq 0x80(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x4f444(%rip), %rsi     # 0xee034
leaq 0x7d47e(%rip), %rdx     # 0x11c075
movq %r14, %rdi
movl $0x38c, %ecx            # imm = 0x38C
jmp 0x9ec7f
cmpw $0x1, 0x52(%r11)
jne 0x9ecd4
movq 0x80(%r11), %rdi
movl 0x6c(%r11), %esi
leaq 0x192(%r11), %r14
movq %r14, (%rsp)
movq 0x28(%rsp), %rdx
movl %r13d, %ecx
movq 0x40(%rsp), %r8
xorl %r9d, %r9d
callq 0x160b8
movq 0x8(%rsp), %r11
cmpl $0x1, %eax
jne 0x9ecd4
leaq 0x4f7a3(%rip), %rsi     # 0xee3f0
leaq 0x7d5e9(%rip), %rdx     # 0x11c23d
leaq 0x80(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30af0
leaq 0x4f3c4(%rip), %rsi     # 0xee034
leaq 0x7d3fe(%rip), %rdx     # 0x11c075
movq %r14, %rdi
movl $0x398, %ecx            # imm = 0x398
movq %rbx, %r8
jmp 0x9ef1a
imull %r14d, %r13d
shll $0x3, %r13d
leaq 0x4f36e(%rip), %rsi     # 0xee004
leaq 0x7d3f7(%rip), %rdx     # 0x11c094
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30af0
addq $0x192, %rbx            # imm = 0x192
leaq 0x4f374(%rip), %rsi     # 0xee034
leaq 0x7d3ae(%rip), %rdx     # 0x11c075
movq %rbx, %rdi
movl $0x357, %ecx            # imm = 0x357
jmp 0x9ef17
movl 0x1c(%rsp), %ebp
testl %ebp, %ebp
jle 0x9ef3c
movq %r12, 0x10(%rsp)
movl %ebp, %r14d
xorl %r15d, %r15d
movq 0x58(%rsp), %r12
movsd (%r12,%r15,8), %xmm0
callq 0x82c0
movsd %xmm0, (%rbx,%r15,8)
incq %r15
cmpq %r15, %r14
jne 0x9ecf0
testl %ebp, %ebp
jle 0x9ef40
movq 0x8(%rsp), %r11
movq 0x80(%r11), %rax
leaq (,%r14,8), %rcx
xorl %edi, %edi
movq 0x8c8(%rsp), %rdx
movq 0x8d0(%rsp), %rsi
movq 0x10(%rsp), %r12
movq %rdi, %r15
movsd (%rbx,%rdi,8), %xmm0
ucomisd (%rax), %xmm0
jae 0x9ef4e
testl %r13d, %r13d
jle 0x9ed8a
movzwl 0x50(%r11), %edi
movzwl 0x52(%r11), %r8d
movq 0x50(%rsp), %r9
xorl %r10d, %r10d
cmpw $0x1, %di
jne 0x9ed73
movq $0x0, (%rdx,%r10)
cmpw $0x1, %r8w
jne 0x9ed82
movq $0x0, (%rsi,%r10)
addq %rcx, %r10
decq %r9
jne 0x9ed65
movq %r15, %rdi
incq %rdi
addq $0x8, %rsi
addq $0x8, %rdx
cmpq %r14, %rdi
jne 0x9ed3c
movl %ebp, %edx
jmp 0x9ef51
imull %r14d, %r13d
shll $0x3, %r13d
leaq 0x4f251(%rip), %rsi     # 0xee004
leaq 0x7d2e8(%rip), %rdx     # 0x11c0a2
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30af0
addq $0x192, %rbx            # imm = 0x192
leaq 0x4f257(%rip), %rsi     # 0xee034
leaq 0x7d291(%rip), %rdx     # 0x11c075
movq %rbx, %rdi
movl $0x35d, %ecx            # imm = 0x35D
jmp 0x9ef17
imull %r14d, %r13d
shll $0x3, %r13d
leaq 0x4f204(%rip), %rsi     # 0xee004
leaq 0x7d28b(%rip), %rdx     # 0x11c092
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30af0
movq 0x8(%rsp), %rdi
addq $0x192, %rdi            # imm = 0x192
leaq 0x4f205(%rip), %rsi     # 0xee034
leaq 0x7d23f(%rip), %rdx     # 0x11c075
movl $0x359, %ecx            # imm = 0x359
jmp 0x9ef17
imull %r14d, %r13d
shll $0x3, %r13d
leaq 0x4f1b5(%rip), %rsi     # 0xee004
leaq 0x7d24a(%rip), %rdx     # 0x11c0a0
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30af0
movq 0x8(%rsp), %rdi
addq $0x192, %rdi            # imm = 0x192
leaq 0x4f1b6(%rip), %rsi     # 0xee034
leaq 0x7d1f0(%rip), %rdx     # 0x11c075
movl $0x35f, %ecx            # imm = 0x35F
jmp 0x9ef17
addq $0x192, %r11            # imm = 0x192
leaq 0x4f553(%rip), %rsi     # 0xee3f0
leaq 0x7d20d(%rip), %rdx     # 0x11c0b1
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movq %r11, %rcx
xorl %eax, %eax
movq %r11, %rbx
callq 0x30af0
leaq 0x4f171(%rip), %rsi     # 0xee034
leaq 0x7d1ab(%rip), %rdx     # 0x11c075
movq %rbx, %rdi
movl $0x370, %ecx            # imm = 0x370
jmp 0x9ef17
addq $0x192, %r11            # imm = 0x192
leaq 0x4f50e(%rip), %rsi     # 0xee3f0
leaq 0x7d253(%rip), %rdx     # 0x11c13c
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movq %r11, %rcx
xorl %eax, %eax
movq %r11, %rbx
callq 0x30af0
leaq 0x4f12c(%rip), %rsi     # 0xee034
leaq 0x7d166(%rip), %rdx     # 0x11c075
movq %rbx, %rdi
movl $0x37c, %ecx            # imm = 0x37C
movq %r14, %r8
xorl %eax, %eax
callq 0x30af0
movl $0x1, %r14d
movl %r14d, %eax
addq $0x888, %rsp            # imm = 0x888
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %edx, %edx
jmp 0x9ef51
xorl %edx, %edx
movq 0x8(%rsp), %r11
movq 0x10(%rsp), %r12
jmp 0x9ef51
movq %r15, %rdx
movq %r12, %rbx
movl 0x6c(%r11), %eax
cmpl $0x2, %eax
jl 0x9f176
xorl %r12d, %r12d
cmpl %ebp, %edx
jge 0x9f164
movslq %edx, %rdx
movq 0x8d0(%rsp), %rax
leaq (%rax,%rdx,8), %r15
movq 0x8c8(%rsp), %rax
leaq (%rax,%rdx,8), %rbp
movq 0x20(%rsp), %rax
movsd (%rax,%rdx,8), %xmm0
movq 0x80(%r11), %rax
movsd 0x8(%rax,%r12,8), %xmm3
ucomisd %xmm0, %xmm3
jb 0x9f15c
movq %rdx, 0x78(%rsp)
testl %r13d, %r13d
jle 0x9f131
movapd %xmm0, %xmm1
movapd %xmm3, %xmm2
movsd (%rax,%r12,8), %xmm0
subsd %xmm0, %xmm2
subsd %xmm0, %xmm1
movsd %xmm2, 0x60(%rsp)
divsd %xmm2, %xmm1
movsd 0x4f281(%rip), %xmm0    # 0xee260
subsd %xmm1, %xmm0
movapd %xmm0, %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm0, %xmm2
movsd %xmm0, 0x58(%rsp)
subsd %xmm0, %xmm2
movsd %xmm2, 0x10(%rsp)
movapd %xmm1, %xmm0
mulsd %xmm1, %xmm0
mulsd %xmm1, %xmm0
movsd %xmm1, 0x38(%rsp)
subsd %xmm1, %xmm0
movsd %xmm0, 0x70(%rsp)
xorl %r14d, %r14d
xorl %r13d, %r13d
cmpw $0x1, 0x50(%r11)
jne 0x9f0a1
movl 0x6c(%r11), %eax
imull %r13d, %eax
addl %r12d, %eax
cltq
movq 0x30(%rsp), %rcx
movsd 0x8(%rcx,%rax,8), %xmm0
mulsd 0x38(%rsp), %xmm0
movsd (%rcx,%rax,8), %xmm1
mulsd 0x58(%rsp), %xmm1
addsd %xmm0, %xmm1
movq 0x48(%rsp), %rcx
movsd 0x8(%rcx,%rax,8), %xmm2
mulsd 0x70(%rsp), %xmm2
movsd (%rcx,%rax,8), %xmm0
mulsd 0x10(%rsp), %xmm0
addsd %xmm2, %xmm0
movsd 0x60(%rsp), %xmm2
mulsd %xmm2, %xmm0
mulsd %xmm2, %xmm0
divsd 0x505e4(%rip), %xmm0    # 0xef670
addsd %xmm1, %xmm0
callq 0x8670
movq 0x8(%rsp), %r11
movsd %xmm0, (%rbp,%r14)
cmpw $0x1, 0x52(%r11)
jne 0x9f120
movl 0x6c(%r11), %eax
imull %r13d, %eax
addl %r12d, %eax
cltq
movq 0x28(%rsp), %rcx
movsd 0x8(%rcx,%rax,8), %xmm0
mulsd 0x38(%rsp), %xmm0
movsd (%rcx,%rax,8), %xmm1
mulsd 0x58(%rsp), %xmm1
addsd %xmm0, %xmm1
movq 0x40(%rsp), %rcx
movsd 0x8(%rcx,%rax,8), %xmm2
mulsd 0x70(%rsp), %xmm2
movsd (%rcx,%rax,8), %xmm0
mulsd 0x10(%rsp), %xmm0
addsd %xmm2, %xmm0
movsd 0x60(%rsp), %xmm2
mulsd %xmm2, %xmm0
mulsd %xmm2, %xmm0
divsd 0x50564(%rip), %xmm0    # 0xef670
addsd %xmm1, %xmm0
callq 0x8670
movq 0x8(%rsp), %r11
movsd %xmm0, (%r15,%r14)
incq %r13
addq %rbx, %r14
cmpq %r13, 0x50(%rsp)
jne 0x9f021
movq 0x78(%rsp), %rdx
incq %rdx
addq $0x8, %r15
addq $0x8, %rbp
cmpq 0x68(%rsp), %rdx
movl 0x8c0(%rsp), %r13d
jne 0x9ef87
movl 0x1c(%rsp), %ebp
movl %ebp, %edx
jmp 0x9f160
movl 0x1c(%rsp), %ebp
movl 0x6c(%r11), %eax
incq %r12
leal -0x1(%rax), %ecx
movslq %ecx, %rcx
cmpq %rcx, %r12
jl 0x9ef64
cmpl %ebp, %edx
jge 0x9f1e2
movslq %edx, %rax
movq 0x8d0(%rsp), %rcx
leaq (%rcx,%rax,8), %rcx
movq 0x8c8(%rsp), %rdx
leaq (%rdx,%rax,8), %rdx
testl %r13d, %r13d
jle 0x9f1d0
movzwl 0x50(%r11), %esi
movzwl 0x52(%r11), %edi
movq 0x50(%rsp), %r8
xorl %r9d, %r9d
cmpw $0x1, %si
jne 0x9f1ba
movq $0x0, (%rdx,%r9)
cmpw $0x1, %di
jne 0x9f1c8
movq $0x0, (%rcx,%r9)
addq %rbx, %r9
decq %r8
jne 0x9f1ac
incq %rax
addq $0x8, %rcx
addq $0x8, %rdx
cmpq 0x68(%rsp), %rax
jne 0x9f195
movq 0x20(%rsp), %rdi
callq 0x8410
movq 0x8(%rsp), %rax
cmpw $0x1, 0x50(%rax)
jne 0x9f211
movq 0x30(%rsp), %rdi
callq 0x8410
movq 0x48(%rsp), %rdi
callq 0x8410
movq 0x8(%rsp), %rax
xorl %r14d, %r14d
cmpw $0x1, 0x52(%rax)
jne 0x9ef27
movq 0x28(%rsp), %rdi
callq 0x8410
movq 0x40(%rsp), %rdi
callq 0x8410
jmp 0x9ef27