// File: /workspace/github_c_makefile_star2_O1/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 $0x898, %rsp            # imm = 0x898
movq %r9, 0x58(%rsp)
movl %r8d, %r15d
movq %rcx, %r12
movl %edx, 0x38(%rsp)
movq %rsi, %rbx
movq %rdi, 0x30(%rsp)
movslq %r8d, %rax
movq %rax, 0x68(%rsp)
leaq (,%rax,8), %r14
movq %r14, %rdi
callq 0x8460
testq %rax, %rax
je 0xa18d1
movq %rax, %rbp
movq %r14, 0x80(%rsp)
movl 0x8d0(%rsp), %r13d
cmpw $0x1, 0x50(%rbx)
movq %rbx, %r10
movq %rbx, 0x10(%rsp)
movl %r15d, 0x1c(%rsp)
jne 0xa1919
movslq 0x6c(%r10), %r14
movslq %r13d, %r15
imulq %r14, %r15
shlq $0x3, %r15
movq %r15, %rdi
movq %r10, %rbx
callq 0x8460
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0xa1b57
movq %r15, %rdi
callq 0x8460
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0xa1cb4
movq %r12, %rbx
movq 0x10(%rsp), %r10
movl 0x1c(%rsp), %r15d
jmp 0xa192e
leaq 0x4f72c(%rip), %rsi     # 0xf1004
leaq 0x7d74e(%rip), %rdx     # 0x11f02d
leaq 0x90(%rsp), %r15
movq %r15, %rdi
movl %r14d, %ecx
xorl %eax, %eax
callq 0x30c2c
addq $0x192, %rbx            # imm = 0x192
leaq 0x4f732(%rip), %rsi     # 0xf1034
leaq 0x7d72c(%rip), %rdx     # 0x11f035
movq %rbx, %rdi
movl $0x353, %ecx            # imm = 0x353
movq %r15, %r8
jmp 0xa1ddd
movq $0x0, 0x48(%rsp)
movq $0x0, 0x28(%rsp)
movq %r12, %rbx
cmpw $0x1, 0x52(%r10)
jne 0xa1983
movslq 0x6c(%r10), %r14
movslq %r13d, %r15
imulq %r14, %r15
shlq $0x3, %r15
movq %r15, %rdi
movq %r10, %rbx
callq 0x8460
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0xa1c67
movq %r15, %rdi
callq 0x8460
movq %rax, 0x40(%rsp)
testq %rax, %rax
je 0xa1d03
movq %r12, %rbx
movq 0x10(%rsp), %r10
movl 0x1c(%rsp), %r15d
jmp 0xa1995
movq $0x0, 0x40(%rsp)
movq $0x0, 0x20(%rsp)
movl %r13d, %eax
movq %rax, 0x50(%rsp)
testl %r13d, %r13d
movq 0x58(%rsp), %r12
jle 0xa1a5e
xorl %r14d, %r14d
cmpw $0x1, 0x50(%r10)
jne 0xa19ff
movsd (%r12,%r14,8), %xmm0
movl 0x54(%r10), %r8d
movslq 0x6c(%r10), %rax
movslq %r14d, %rcx
imulq %rax, %rcx
movq 0x28(%rsp), %rax
leaq (%rax,%rcx,8), %r9
movq $0x0, (%rsp)
movq 0x30(%rsp), %rdi
movq %r10, %rsi
movl $0x1, %edx
movl 0x38(%rsp), %ecx
callq 0x9ff68
movq 0x10(%rsp), %r10
testl %eax, %eax
jne 0xa1d52
cmpw $0x1, 0x52(%r10)
jne 0xa1a50
movsd (%r12,%r14,8), %xmm0
movl 0x58(%r10), %r8d
movslq 0x6c(%r10), %rax
movslq %r14d, %rcx
imulq %rax, %rcx
movq 0x20(%rsp), %rax
leaq (%rax,%rcx,8), %r9
movq $0x0, (%rsp)
movq 0x30(%rsp), %rdi
movq %r10, %rsi
movl $0x1, %edx
movl 0x38(%rsp), %ecx
callq 0x9ff68
movq 0x10(%rsp), %r10
testl %eax, %eax
jne 0xa1d97
incq %r14
cmpq %r14, 0x50(%rsp)
jne 0xa19ae
cmpw $0x1, 0x50(%r10)
jne 0xa1ad6
movq 0x80(%r10), %rdi
movl 0x6c(%r10), %esi
leaq 0x192(%r10), %r14
movq %r14, (%rsp)
movq 0x28(%rsp), %rdx
movl %r13d, %ecx
movq 0x48(%rsp), %r8
xorl %r9d, %r9d
callq 0x15f89
movq 0x10(%rsp), %r10
cmpl $0x1, %eax
jne 0xa1ad6
leaq 0x4f94e(%rip), %rsi     # 0xf13f0
leaq 0x7d6e2(%rip), %rdx     # 0x11f18b
leaq 0x90(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30c2c
leaq 0x4f56f(%rip), %rsi     # 0xf1034
leaq 0x7d569(%rip), %rdx     # 0x11f035
movq %r14, %rdi
movl $0x38c, %ecx            # imm = 0x38C
jmp 0xa1b4f
cmpw $0x1, 0x52(%r10)
jne 0xa1ba4
movq 0x80(%r10), %rdi
movl 0x6c(%r10), %esi
leaq 0x192(%r10), %r14
movq %r14, (%rsp)
movq 0x20(%rsp), %rdx
movl %r13d, %ecx
movq 0x40(%rsp), %r8
xorl %r9d, %r9d
callq 0x15f89
cmpl $0x1, %eax
jne 0xa1ba4
leaq 0x4f8d3(%rip), %rsi     # 0xf13f0
leaq 0x7d6d9(%rip), %rdx     # 0x11f1fd
leaq 0x90(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x30c2c
leaq 0x4f4f4(%rip), %rsi     # 0xf1034
leaq 0x7d4ee(%rip), %rdx     # 0x11f035
movq %r14, %rdi
movl $0x398, %ecx            # imm = 0x398
movq %rbx, %r8
jmp 0xa1ddd
imull %r14d, %r13d
shll $0x3, %r13d
leaq 0x4f49e(%rip), %rsi     # 0xf1004
leaq 0x7d4e7(%rip), %rdx     # 0x11f054
leaq 0x90(%rsp), %r14
movq %r14, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30c2c
addq $0x192, %rbx            # imm = 0x192
leaq 0x4f4a4(%rip), %rsi     # 0xf1034
leaq 0x7d49e(%rip), %rdx     # 0x11f035
movq %rbx, %rdi
movl $0x357, %ecx            # imm = 0x357
jmp 0xa1dda
movl %r15d, %r14d
testl %r15d, %r15d
jle 0xa1bc9
xorl %r15d, %r15d
movsd (%rbx,%r15,8), %xmm0
callq 0x82c0
movsd %xmm0, (%rbp,%r15,8)
incq %r15
cmpq %r15, %r14
jne 0xa1baf
movq 0x8e0(%rsp), %rsi
movq 0x8d8(%rsp), %rdx
movl 0x1c(%rsp), %r15d
testl %r15d, %r15d
jle 0xa1dff
movq 0x10(%rsp), %r11
movq 0x80(%r11), %rax
leaq (,%r14,8), %rcx
xorl %edi, %edi
movq %rdi, %rbx
movsd (%rbp,%rdi,8), %xmm0
ucomisd (%rax), %xmm0
jae 0xa1e08
testl %r13d, %r13d
jle 0xa1c4c
movzwl 0x50(%r11), %edi
movzwl 0x52(%r11), %r8d
movq 0x50(%rsp), %r9
xorl %r10d, %r10d
cmpw $0x1, %di
jne 0xa1c35
movq $0x0, (%rdx,%r10)
cmpw $0x1, %r8w
jne 0xa1c44
movq $0x0, (%rsi,%r10)
addq %rcx, %r10
decq %r9
jne 0xa1c27
movq %rbx, %rdi
incq %rdi
addq $0x8, %rsi
addq $0x8, %rdx
cmpq %r14, %rdi
jne 0xa1bfd
movl %r15d, %ecx
jmp 0xa1e0b
imull %r14d, %r13d
shll $0x3, %r13d
leaq 0x4f38e(%rip), %rsi     # 0xf1004
leaq 0x7d3e5(%rip), %rdx     # 0x11f062
leaq 0x90(%rsp), %r14
movq %r14, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30c2c
addq $0x192, %rbx            # imm = 0x192
leaq 0x4f394(%rip), %rsi     # 0xf1034
leaq 0x7d38e(%rip), %rdx     # 0x11f035
movq %rbx, %rdi
movl $0x35d, %ecx            # imm = 0x35D
jmp 0xa1dda
imull %r14d, %r13d
shll $0x3, %r13d
leaq 0x4f341(%rip), %rsi     # 0xf1004
leaq 0x7d388(%rip), %rdx     # 0x11f052
leaq 0x90(%rsp), %r14
movq %r14, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30c2c
movq 0x10(%rsp), %rdi
addq $0x192, %rdi            # imm = 0x192
leaq 0x4f342(%rip), %rsi     # 0xf1034
leaq 0x7d33c(%rip), %rdx     # 0x11f035
movl $0x359, %ecx            # imm = 0x359
jmp 0xa1dda
imull %r14d, %r13d
shll $0x3, %r13d
leaq 0x4f2f2(%rip), %rsi     # 0xf1004
leaq 0x7d347(%rip), %rdx     # 0x11f060
leaq 0x90(%rsp), %r14
movq %r14, %rdi
movl %r13d, %ecx
xorl %eax, %eax
callq 0x30c2c
movq 0x10(%rsp), %rdi
addq $0x192, %rdi            # imm = 0x192
leaq 0x4f2f3(%rip), %rsi     # 0xf1034
leaq 0x7d2ed(%rip), %rdx     # 0x11f035
movl $0x35f, %ecx            # imm = 0x35F
jmp 0xa1dda
addq $0x192, %r10            # imm = 0x192
leaq 0x4f690(%rip), %rsi     # 0xf13f0
leaq 0x7d30a(%rip), %rdx     # 0x11f071
leaq 0x90(%rsp), %r14
movq %r14, %rdi
movq %r10, %rcx
xorl %eax, %eax
movq %r10, %rbx
callq 0x30c2c
leaq 0x4f2ae(%rip), %rsi     # 0xf1034
leaq 0x7d2a8(%rip), %rdx     # 0x11f035
movq %rbx, %rdi
movl $0x370, %ecx            # imm = 0x370
jmp 0xa1dda
addq $0x192, %r10            # imm = 0x192
leaq 0x4f64b(%rip), %rsi     # 0xf13f0
leaq 0x7d350(%rip), %rdx     # 0x11f0fc
leaq 0x90(%rsp), %r14
movq %r14, %rdi
movq %r10, %rcx
xorl %eax, %eax
movq %r10, %rbx
callq 0x30c2c
leaq 0x4f269(%rip), %rsi     # 0xf1034
leaq 0x7d263(%rip), %rdx     # 0x11f035
movq %rbx, %rdi
movl $0x37c, %ecx            # imm = 0x37C
movq %r14, %r8
xorl %eax, %eax
callq 0x30c2c
movl $0x1, %r14d
movl %r14d, %eax
addq $0x898, %rsp            # imm = 0x898
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %ecx, %ecx
movq 0x10(%rsp), %r11
jmp 0xa1e0b
movq %rbx, %rcx
movq 0x80(%rsp), %rbx
cmpl $0x2, 0x6c(%r11)
jl 0xa2049
xorl %r12d, %r12d
movq %rbp, 0x60(%rsp)
cmpl %r15d, %ecx
jge 0xa2036
movslq %ecx, %rcx
movq 0x8e0(%rsp), %rax
leaq (%rax,%rcx,8), %r15
movq 0x8d8(%rsp), %rax
leaq (%rax,%rcx,8), %rbp
movq 0x60(%rsp), %rax
movsd (%rax,%rcx,8), %xmm0
movq 0x80(%r11), %rax
movsd 0x8(%rax,%r12,8), %xmm3
ucomisd %xmm0, %xmm3
jb 0xa202c
movq %rcx, 0x88(%rsp)
testl %r13d, %r13d
jle 0xa1ff7
movapd %xmm0, %xmm1
movapd %xmm3, %xmm2
movsd (%rax,%r12,8), %xmm0
subsd %xmm0, %xmm2
subsd %xmm0, %xmm1
movsd %xmm2, 0x30(%rsp)
divsd %xmm2, %xmm1
movsd 0x4f3bb(%rip), %xmm0    # 0xf1260
subsd %xmm1, %xmm0
movapd %xmm0, %xmm2
mulsd %xmm0, %xmm2
mulsd %xmm0, %xmm2
movsd %xmm0, 0x58(%rsp)
subsd %xmm0, %xmm2
movsd %xmm2, 0x78(%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 0xa1f67
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 0x48(%rsp), %rcx
movsd 0x8(%rcx,%rax,8), %xmm2
mulsd 0x70(%rsp), %xmm2
movsd (%rcx,%rax,8), %xmm0
mulsd 0x78(%rsp), %xmm0
addsd %xmm2, %xmm0
movsd 0x30(%rsp), %xmm2
mulsd %xmm2, %xmm0
mulsd %xmm2, %xmm0
divsd 0x5071e(%rip), %xmm0    # 0xf2670
addsd %xmm1, %xmm0
callq 0x8670
movq 0x10(%rsp), %r11
movsd %xmm0, (%rbp,%r14)
cmpw $0x1, 0x52(%r11)
jne 0xa1fe6
movl 0x6c(%r11), %eax
imull %r13d, %eax
addl %r12d, %eax
cltq
movq 0x20(%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 0x78(%rsp), %xmm0
addsd %xmm2, %xmm0
movsd 0x30(%rsp), %xmm2
mulsd %xmm2, %xmm0
mulsd %xmm2, %xmm0
divsd 0x5069e(%rip), %xmm0    # 0xf2670
addsd %xmm1, %xmm0
callq 0x8670
movq 0x10(%rsp), %r11
movsd %xmm0, (%r15,%r14)
incq %r13
addq %rbx, %r14
cmpq %r13, 0x50(%rsp)
jne 0xa1ee7
movq 0x88(%rsp), %rcx
incq %rcx
addq $0x8, %r15
addq $0x8, %rbp
cmpq 0x68(%rsp), %rcx
movl 0x8d0(%rsp), %r13d
jne 0xa1e4a
movl 0x1c(%rsp), %r15d
movl %r15d, %ecx
movq 0x60(%rsp), %rbp
jmp 0xa2036
movq 0x60(%rsp), %rbp
movl 0x1c(%rsp), %r15d
incq %r12
movslq 0x6c(%r11), %rax
decq %rax
cmpq %rax, %r12
jl 0xa1e26
cmpl %r15d, %ecx
jge 0xa20b6
movslq %ecx, %rax
movq 0x8e0(%rsp), %rcx
leaq (%rcx,%rax,8), %rcx
movq 0x8d8(%rsp), %rdx
leaq (%rdx,%rax,8), %rdx
testl %r13d, %r13d
jle 0xa20a4
movzwl 0x50(%r11), %esi
movzwl 0x52(%r11), %edi
movq 0x50(%rsp), %r8
xorl %r9d, %r9d
cmpw $0x1, %si
jne 0xa208e
movq $0x0, (%rdx,%r9)
cmpw $0x1, %di
jne 0xa209c
movq $0x0, (%rcx,%r9)
addq %rbx, %r9
decq %r8
jne 0xa2080
incq %rax
addq $0x8, %rcx
addq $0x8, %rdx
cmpq 0x68(%rsp), %rax
jne 0xa2069
movq %rbp, %rdi
callq 0x8410
movq 0x10(%rsp), %rax
cmpw $0x1, 0x50(%rax)
jne 0xa20e3
movq 0x28(%rsp), %rdi
callq 0x8410
movq 0x48(%rsp), %rdi
callq 0x8410
movq 0x10(%rsp), %rax
xorl %r14d, %r14d
cmpw $0x1, 0x52(%rax)
jne 0xa1dea
movq 0x20(%rsp), %rdi
callq 0x8410
movq 0x40(%rsp), %rdi
callq 0x8410
jmp 0xa1dea