// File: /workspace/github_c_makefile_star2_O0/PoulinV[P]AxiCLASS/build/../source/fourier.c
// Function: fourier_sigmas
int fourier_sigmas(
                   struct fourier * pfo,
                   double R,
                   double * lnpk_l,
                   double * ddlnpk_l,
                   int k_size,
                   double k_per_decade,
                   enum out_sigmas sigma_output,
                   double * result
                   ) {
  double pk, lnpk;

  double * array_for_sigma;
  int index_num;
  int index_x;
  int index_y;
  int index_ddy;
  int i=0;
  int integrand_size;
  int last_index=0;

  double k,W,W_prime,x,t;

  /** - allocate temporary array for an integral over y(x) */

  class_define_index(index_x,  _TRUE_,i,1); // index for x
  class_define_index(index_y,  _TRUE_,i,1); // index for integrand
  class_define_index(index_ddy,_TRUE_,i,1); // index for its second derivative (spline method)
  index_num=i;                              // number of columns in the array

  integrand_size=(int)(log(pfo->k[k_size-1]/pfo->k[0])/log(10.)*k_per_decade)+1;
  class_alloc(array_for_sigma,
              integrand_size*index_num*sizeof(double),
              pfo->error_message);

  /** - fill the array with values of k and of the integrand */

  for (i=0; i<integrand_size; i++) {

    k=pfo->k[0]*pow(10.,i/k_per_decade);

    if (i==0) {
      pk = exp(lnpk_l[0]);
    }
    else {
      class_call(array_interpolate_spline(
                                          pfo->ln_k,
                                          k_size,
                                          lnpk_l,
                                          ddlnpk_l,
                                          1,
                                          log(k),
                                          &last_index,
                                          &lnpk,
                                          1,
                                          pfo->error_message),
                 pfo->error_message,
                 pfo->error_message);

      pk = exp(lnpk);
    }

    t = 1./(1.+k);
    if (i == (integrand_size-1)) k *= 0.9999999; // to prevent rounding error leading to k being bigger than maximum value
    x=k*R;

    switch (sigma_output) {

    case out_sigma:
      if (x<0.01)
        W = 1.-x*x/10.;
      else
        W = 3./x/x/x*(sin(x)-x*cos(x));
      array_for_sigma[(integrand_size-1-i)*index_num+index_x] = t;
      array_for_sigma[(integrand_size-1-i)*index_num+index_y] = k*k*k*pk*W*W/(t*(1.-t));
      break;

    case out_sigma_prime:
      if (x<0.01) {
        W = 1.-x*x/10.;
        W_prime = -0.2*x;
      }
      else {
        W = 3./x/x/x*(sin(x)-x*cos(x));
        W_prime = 3./x/x*sin(x)-9./x/x/x/x*(sin(x)-x*cos(x));
      }
      array_for_sigma[(integrand_size-1-i)*index_num+index_x] = t;
      array_for_sigma[(integrand_size-1-i)*index_num+index_y] = k*k*k*pk*2.*k*W*W_prime/(t*(1.-t));
      break;

    case out_sigma_disp:
      if (x<0.01)
        W = 1.-x*x/10.;
      else
        W = 3./x/x/x*(sin(x)-x*cos(x));
      array_for_sigma[(integrand_size-1-i)*index_num+index_x] = k;
      array_for_sigma[(integrand_size-1-i)*index_num+index_y] = -pk*W*W;
      break;
    }
  }

  /** - spline the integrand */

  class_call(array_spline(array_for_sigma,
                          index_num,
                          integrand_size,
                          index_x,
                          index_y,
                          index_ddy,
                          _SPLINE_EST_DERIV_,
                          pfo->error_message),
             pfo->error_message,
             pfo->error_message);

  /** - integrate */

  class_call(array_integrate_all_trapzd_or_spline(array_for_sigma,
                                                  index_num,
                                                  integrand_size,
                                                  0, //integrand_size-1,
                                                  index_x,
                                                  index_y,
                                                  index_ddy,
                                                  result,
                                                  pfo->error_message),
             pfo->error_message,
             pfo->error_message);

  /** - preperly normalize the final result */

  switch (sigma_output) {

  case out_sigma:
    *result = sqrt(*result/(2.*_PI_*_PI_));
    break;

  case out_sigma_prime:
    *result = *result/(2.*_PI_*_PI_);
    break;

  case out_sigma_disp:
    *result = sqrt(*result/(2.*_PI_*_PI_*3.));
    break;
  }

  /** - free allocated array */

  free(array_for_sigma);

  return _SUCCESS_;
}

// Assembly:
subq $0x2188, %rsp           # imm = 0x2188
movq %rdi, 0x2178(%rsp)
movsd %xmm0, 0x2170(%rsp)
movq %rsi, 0x2168(%rsp)
movq %rdx, 0x2160(%rsp)
movl %ecx, 0x215c(%rsp)
movsd %xmm1, 0x2150(%rsp)
movl %r8d, 0x214c(%rsp)
movq %r9, 0x2140(%rsp)
movl $0x0, 0x2114(%rsp)
movl $0x0, 0x210c(%rsp)
movl 0x2114(%rsp), %eax
movl %eax, 0x2120(%rsp)
movl 0x2114(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2114(%rsp)
movl 0x2114(%rsp), %eax
movl %eax, 0x211c(%rsp)
movl 0x2114(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2114(%rsp)
movl 0x2114(%rsp), %eax
movl %eax, 0x2118(%rsp)
movl 0x2114(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2114(%rsp)
movl 0x2114(%rsp), %eax
movl %eax, 0x2124(%rsp)
movq 0x2178(%rsp), %rax
movq 0x78(%rax), %rax
movl 0x215c(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x2178(%rsp), %rax
movq 0x78(%rax), %rax
divsd (%rax), %xmm0
callq 0x82f0
movsd %xmm0, 0xc8(%rsp)
movsd 0xaa913(%rip), %xmm0    # 0x1d27e0
callq 0x82f0
movaps %xmm0, %xmm1
movsd 0xc8(%rsp), %xmm0
divsd %xmm1, %xmm0
mulsd 0x2150(%rsp), %xmm0
cvttsd2si %xmm0, %eax
addl $0x1, %eax
movl %eax, 0x2110(%rsp)
movl 0x2110(%rsp), %eax
imull 0x2124(%rsp), %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, 0x2128(%rsp)
cmpq $0x0, 0x2128(%rsp)
jne 0x127fac
movl 0x2110(%rsp), %eax
imull 0x2124(%rsp), %eax
cltq
shlq $0x3, %rax
movl %eax, 0x20dc(%rsp)
leaq 0x18d0(%rsp), %rdi
movl 0x20dc(%rsp), %ecx
leaq 0xaa0a7(%rip), %rsi     # 0x1d2004
leaq 0xda4c4(%rip), %rdx     # 0x202428
movb $0x0, %al
callq 0x5b9c0
movq 0x2178(%rsp), %rdi
addq $0x192, %rdi            # imm = 0x192
leaq 0x18d0(%rsp), %r8
leaq 0xaa0ab(%rip), %rsi     # 0x1d2034
leaq 0xda4a8(%rip), %rdx     # 0x202438
movl $0xa8b, %ecx            # imm = 0xA8B
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2184(%rsp)
jmp 0x128aa0
movl $0x0, 0x2114(%rsp)
movl 0x2114(%rsp), %eax
cmpl 0x2110(%rsp), %eax
jge 0x12885e
movq 0x2178(%rsp), %rax
movq 0x78(%rax), %rax
movsd (%rax), %xmm0
movsd %xmm0, 0xc0(%rsp)
cvtsi2sdl 0x2114(%rsp), %xmm1
divsd 0x2150(%rsp), %xmm1
movsd 0xaa7e2(%rip), %xmm0    # 0x1d27e0
callq 0x8610
movaps %xmm0, %xmm1
movsd 0xc0(%rsp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, 0x2100(%rsp)
cmpl $0x0, 0x2114(%rsp)
jne 0x128045
movq 0x2168(%rsp), %rax
movsd (%rax), %xmm0
callq 0x8670
movsd %xmm0, 0x2138(%rsp)
jmp 0x12817a
movq 0x2178(%rsp), %rax
movq 0x80(%rax), %rax
movq %rax, 0xa0(%rsp)
movl 0x215c(%rsp), %eax
movl %eax, 0xac(%rsp)
movq 0x2168(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x2160(%rsp), %rax
movq %rax, 0xb8(%rsp)
movsd 0x2100(%rsp), %xmm0
callq 0x82f0
movq 0xa0(%rsp), %rdi
movl 0xac(%rsp), %esi
movq 0xb0(%rsp), %rdx
movq 0xb8(%rsp), %rcx
movq 0x2178(%rsp), %rax
addq $0x192, %rax            # imm = 0x192
movl $0x1, %r8d
leaq 0x210c(%rsp), %r9
leaq 0x2130(%rsp), %r10
movq %r10, (%rsp)
movl $0x1, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x24220
cmpl $0x1, %eax
jne 0x128163
leaq 0x10d0(%rsp), %rdi
movq 0x2178(%rsp), %rcx
addq $0x192, %rcx            # imm = 0x192
leaq 0xaa2c4(%rip), %rsi     # 0x1d23d8
leaq 0xda32c(%rip), %rdx     # 0x202447
movb $0x0, %al
callq 0x5b9c0
movq 0x2178(%rsp), %rdi
addq $0x192, %rdi            # imm = 0x192
leaq 0x10d0(%rsp), %r8
leaq 0xa9ef4(%rip), %rsi     # 0x1d2034
leaq 0xda2f1(%rip), %rdx     # 0x202438
movl $0xaa3, %ecx            # imm = 0xAA3
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2184(%rsp)
jmp 0x128aa0
movsd 0x2130(%rsp), %xmm0
callq 0x8670
movsd %xmm0, 0x2138(%rsp)
movsd 0xaa0c6(%rip), %xmm1    # 0x1d2248
addsd 0x2100(%rsp), %xmm1
movsd 0xaa0b5(%rip), %xmm0    # 0x1d2248
divsd %xmm1, %xmm0
movsd %xmm0, 0x20e0(%rsp)
movl 0x2114(%rsp), %eax
movl 0x2110(%rsp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0x1281cf
movsd 0xd744b(%rip), %xmm0    # 0x1ff608
mulsd 0x2100(%rsp), %xmm0
movsd %xmm0, 0x2100(%rsp)
movsd 0x2100(%rsp), %xmm0
movsd 0x2170(%rsp), %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, 0x20e8(%rsp)
movl 0x214c(%rsp), %eax
movl %eax, 0x9c(%rsp)
testl %eax, %eax
je 0x128229
jmp 0x128202
movl 0x9c(%rsp), %eax
subl $0x1, %eax
je 0x1283e7
jmp 0x128214
movl 0x9c(%rsp), %eax
subl $0x2, %eax
je 0x1286c5
jmp 0x128846
movsd 0xacd9f(%rip), %xmm0    # 0x1d4fd0
ucomisd 0x20e8(%rsp), %xmm0
jbe 0x128274
movsd 0x20e8(%rsp), %xmm1
mulsd 0x20e8(%rsp), %xmm1
movsd 0xaa58a(%rip), %xmm0    # 0x1d27e0
divsd %xmm0, %xmm1
movsd 0xa9fe6(%rip), %xmm0    # 0x1d2248
subsd %xmm1, %xmm0
movsd %xmm0, 0x20f8(%rsp)
jmp 0x128321
movsd 0xab41c(%rip), %xmm0    # 0x1d3698
divsd 0x20e8(%rsp), %xmm0
divsd 0x20e8(%rsp), %xmm0
divsd 0x20e8(%rsp), %xmm0
movsd %xmm0, 0x90(%rsp)
movsd 0x20e8(%rsp), %xmm0
callq 0x80a0
movsd %xmm0, 0x88(%rsp)
movsd 0x20e8(%rsp), %xmm0
movsd %xmm0, 0x80(%rsp)
movsd 0x20e8(%rsp), %xmm0
callq 0x86a0
movsd 0x80(%rsp), %xmm1
movsd 0x88(%rsp), %xmm2
movaps %xmm0, %xmm3
movsd 0x90(%rsp), %xmm0
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm3, %xmm1
addsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, 0x20f8(%rsp)
movsd 0x20e0(%rsp), %xmm0
movq 0x2128(%rsp), %rax
movl 0x2110(%rsp), %ecx
subl $0x1, %ecx
subl 0x2114(%rsp), %ecx
imull 0x2124(%rsp), %ecx
addl 0x2120(%rsp), %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x2100(%rsp), %xmm0
mulsd 0x2100(%rsp), %xmm0
mulsd 0x2100(%rsp), %xmm0
mulsd 0x2138(%rsp), %xmm0
mulsd 0x20f8(%rsp), %xmm0
mulsd 0x20f8(%rsp), %xmm0
movsd 0x20e0(%rsp), %xmm1
movsd 0xa9ea7(%rip), %xmm2    # 0x1d2248
subsd 0x20e0(%rsp), %xmm2
mulsd %xmm2, %xmm1
divsd %xmm1, %xmm0
movq 0x2128(%rsp), %rax
movl 0x2110(%rsp), %ecx
subl $0x1, %ecx
subl 0x2114(%rsp), %ecx
imull 0x2124(%rsp), %ecx
addl 0x211c(%rsp), %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x128846
movsd 0xacbe1(%rip), %xmm0    # 0x1d4fd0
ucomisd 0x20e8(%rsp), %xmm0
jbe 0x12844c
movsd 0x20e8(%rsp), %xmm1
mulsd 0x20e8(%rsp), %xmm1
movsd 0xaa3cc(%rip), %xmm0    # 0x1d27e0
divsd %xmm0, %xmm1
movsd 0xa9e28(%rip), %xmm0    # 0x1d2248
subsd %xmm1, %xmm0
movsd %xmm0, 0x20f8(%rsp)
movsd 0xa9e43(%rip), %xmm0    # 0x1d2278
mulsd 0x20e8(%rsp), %xmm0
movsd %xmm0, 0x20f0(%rsp)
jmp 0x1285ea
movsd 0xab244(%rip), %xmm0    # 0x1d3698
divsd 0x20e8(%rsp), %xmm0
divsd 0x20e8(%rsp), %xmm0
divsd 0x20e8(%rsp), %xmm0
movsd %xmm0, 0x50(%rsp)
movsd 0x20e8(%rsp), %xmm0
callq 0x80a0
movsd %xmm0, 0x48(%rsp)
movsd 0x20e8(%rsp), %xmm0
movsd %xmm0, 0x40(%rsp)
movsd 0x20e8(%rsp), %xmm0
callq 0x86a0
movsd 0x40(%rsp), %xmm1
movsd 0x48(%rsp), %xmm2
movaps %xmm0, %xmm3
movsd 0x50(%rsp), %xmm0
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm3, %xmm1
addsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, 0x20f8(%rsp)
movsd 0xab1a9(%rip), %xmm0    # 0x1d3698
divsd 0x20e8(%rsp), %xmm0
divsd 0x20e8(%rsp), %xmm0
movsd %xmm0, 0x78(%rsp)
movsd 0x20e8(%rsp), %xmm0
callq 0x80a0
movsd %xmm0, 0x70(%rsp)
movsd 0xab1dd(%rip), %xmm0    # 0x1d3700
divsd 0x20e8(%rsp), %xmm0
divsd 0x20e8(%rsp), %xmm0
divsd 0x20e8(%rsp), %xmm0
divsd 0x20e8(%rsp), %xmm0
movsd %xmm0, 0x68(%rsp)
movsd 0x20e8(%rsp), %xmm0
callq 0x80a0
movsd %xmm0, 0x60(%rsp)
movsd 0x20e8(%rsp), %xmm0
movsd %xmm0, 0x58(%rsp)
movsd 0x20e8(%rsp), %xmm0
callq 0x86a0
movsd 0x58(%rsp), %xmm3
movsd 0x60(%rsp), %xmm4
movsd 0x68(%rsp), %xmm1
movsd 0x70(%rsp), %xmm2
movaps %xmm0, %xmm5
movsd 0x78(%rsp), %xmm0
movq %xmm3, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm3
mulsd %xmm5, %xmm3
addsd %xmm4, %xmm3
mulsd %xmm3, %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x20f0(%rsp)
movsd 0x20e0(%rsp), %xmm0
movq 0x2128(%rsp), %rax
movl 0x2110(%rsp), %ecx
subl $0x1, %ecx
subl 0x2114(%rsp), %ecx
imull 0x2124(%rsp), %ecx
addl 0x2120(%rsp), %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x2100(%rsp), %xmm0
mulsd 0x2100(%rsp), %xmm0
mulsd 0x2100(%rsp), %xmm0
mulsd 0x2138(%rsp), %xmm0
movsd 0xaa631(%rip), %xmm1    # 0x1d2c80
mulsd %xmm1, %xmm0
mulsd 0x2100(%rsp), %xmm0
mulsd 0x20f8(%rsp), %xmm0
mulsd 0x20f0(%rsp), %xmm0
movsd 0x20e0(%rsp), %xmm1
movsd 0xa9bc9(%rip), %xmm2    # 0x1d2248
subsd 0x20e0(%rsp), %xmm2
mulsd %xmm2, %xmm1
divsd %xmm1, %xmm0
movq 0x2128(%rsp), %rax
movl 0x2110(%rsp), %ecx
subl $0x1, %ecx
subl 0x2114(%rsp), %ecx
imull 0x2124(%rsp), %ecx
addl 0x211c(%rsp), %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x128846
movsd 0xac903(%rip), %xmm0    # 0x1d4fd0
ucomisd 0x20e8(%rsp), %xmm0
jbe 0x128710
movsd 0x20e8(%rsp), %xmm1
mulsd 0x20e8(%rsp), %xmm1
movsd 0xaa0ee(%rip), %xmm0    # 0x1d27e0
divsd %xmm0, %xmm1
movsd 0xa9b4a(%rip), %xmm0    # 0x1d2248
subsd %xmm1, %xmm0
movsd %xmm0, 0x20f8(%rsp)
jmp 0x1287ab
movsd 0xaaf80(%rip), %xmm0    # 0x1d3698
divsd 0x20e8(%rsp), %xmm0
divsd 0x20e8(%rsp), %xmm0
divsd 0x20e8(%rsp), %xmm0
movsd %xmm0, 0x38(%rsp)
movsd 0x20e8(%rsp), %xmm0
callq 0x80a0
movsd %xmm0, 0x30(%rsp)
movsd 0x20e8(%rsp), %xmm0
movsd %xmm0, 0x28(%rsp)
movsd 0x20e8(%rsp), %xmm0
callq 0x86a0
movsd 0x28(%rsp), %xmm1
movsd 0x30(%rsp), %xmm2
movaps %xmm0, %xmm3
movsd 0x38(%rsp), %xmm0
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm3, %xmm1
addsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, 0x20f8(%rsp)
movsd 0x2100(%rsp), %xmm0
movq 0x2128(%rsp), %rax
movl 0x2110(%rsp), %ecx
subl $0x1, %ecx
subl 0x2114(%rsp), %ecx
imull 0x2124(%rsp), %ecx
addl 0x2120(%rsp), %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
movsd 0x2138(%rsp), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd 0x20f8(%rsp), %xmm0
mulsd 0x20f8(%rsp), %xmm0
movq 0x2128(%rsp), %rax
movl 0x2110(%rsp), %ecx
subl $0x1, %ecx
subl 0x2114(%rsp), %ecx
imull 0x2124(%rsp), %ecx
addl 0x211c(%rsp), %ecx
movslq %ecx, %rcx
movsd %xmm0, (%rax,%rcx,8)
jmp 0x128848
movl 0x2114(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x2114(%rsp)
jmp 0x127fb7
movq 0x2128(%rsp), %rdi
movl 0x2124(%rsp), %esi
movl 0x2110(%rsp), %edx
movl 0x2120(%rsp), %ecx
movl 0x211c(%rsp), %r8d
movl 0x2118(%rsp), %r9d
movq 0x2178(%rsp), %rax
addq $0x192, %rax            # imm = 0x192
movl $0x1, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x1b340
cmpl $0x1, %eax
jne 0x12891c
leaq 0x8d0(%rsp), %rdi
movq 0x2178(%rsp), %rcx
addq $0x192, %rcx            # imm = 0x192
leaq 0xa9b0b(%rip), %rsi     # 0x1d23d8
leaq 0xd9be8(%rip), %rdx     # 0x2024bc
movb $0x0, %al
callq 0x5b9c0
movq 0x2178(%rsp), %rdi
addq $0x192, %rdi            # imm = 0x192
leaq 0x8d0(%rsp), %r8
leaq 0xa973b(%rip), %rsi     # 0x1d2034
leaq 0xd9b38(%rip), %rdx     # 0x202438
movl $0xada, %ecx            # imm = 0xADA
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2184(%rsp)
jmp 0x128aa0
movq 0x2128(%rsp), %rdi
movl 0x2124(%rsp), %esi
movl 0x2110(%rsp), %edx
movl 0x2120(%rsp), %r8d
movl 0x211c(%rsp), %r9d
movl 0x2118(%rsp), %r11d
movq 0x2140(%rsp), %r10
movq 0x2178(%rsp), %rax
addq $0x192, %rax            # imm = 0x192
xorl %ecx, %ecx
movl %r11d, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x22eb0
cmpl $0x1, %eax
jne 0x1289e7
leaq 0xd0(%rsp), %rdi
movq 0x2178(%rsp), %rcx
addq $0x192, %rcx            # imm = 0x192
leaq 0xa9a40(%rip), %rsi     # 0x1d23d8
leaq 0xd9b8a(%rip), %rdx     # 0x202529
movb $0x0, %al
callq 0x5b9c0
movq 0x2178(%rsp), %rdi
addq $0x192, %rdi            # imm = 0x192
leaq 0xd0(%rsp), %r8
leaq 0xa9670(%rip), %rsi     # 0x1d2034
leaq 0xd9a6d(%rip), %rdx     # 0x202438
movl $0xae8, %ecx            # imm = 0xAE8
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2184(%rsp)
jmp 0x128aa0
movl 0x214c(%rsp), %eax
movl %eax, 0x24(%rsp)
testl %eax, %eax
je 0x128a0e
jmp 0x1289f8
movl 0x24(%rsp), %eax
subl $0x1, %eax
je 0x128a39
jmp 0x128a03
movl 0x24(%rsp), %eax
subl $0x2, %eax
je 0x128a5f
jmp 0x128a88
movq 0x2140(%rsp), %rax
movsd (%rax), %xmm0
movsd 0xd6bde(%rip), %xmm1    # 0x1ff600
divsd %xmm1, %xmm0
callq 0x82e0
movq 0x2140(%rsp), %rax
movsd %xmm0, (%rax)
jmp 0x128a88
movq 0x2140(%rsp), %rax
movsd (%rax), %xmm0
movsd 0xd6bb3(%rip), %xmm1    # 0x1ff600
divsd %xmm1, %xmm0
movq 0x2140(%rsp), %rax
movsd %xmm0, (%rax)
jmp 0x128a88
movq 0x2140(%rsp), %rax
movsd (%rax), %xmm0
movsd 0xd6b85(%rip), %xmm1    # 0x1ff5f8
divsd %xmm1, %xmm0
callq 0x82e0
movq 0x2140(%rsp), %rax
movsd %xmm0, (%rax)
movq 0x2128(%rsp), %rdi
callq 0x8420
movl $0x0, 0x2184(%rsp)
movl 0x2184(%rsp), %eax
addq $0x2188, %rsp           # imm = 0x2188
retq
nop