// File: /workspace/github_c_makefile_star2_O3/PoulinV[P]AxiCLASS/build/../tools/arrays.c
// Function: array_logspline_table_one_column
int array_logspline_table_one_column(
		       double * x, /* vector of size x_size */
		       int x_size,
		       int x_stop,
		       double * y_array, /* array of size x_size*y_size with elements
					  y_array[index_y*x_size+index_x] */
		       int y_size,
		       int index_y,
		       double * ddlogy_array, /* array of size x_size*y_size */
		       short spline_mode,
		       ErrorMsg errmsg
		       ) {

  double p;
  double qn;
  double un;
  double * u;
  double sig;
  int index_x;
  double dy_first;
  double dy_last;

  u = (double*)malloc((x_stop-1) * sizeof(double));
  if (u == NULL) {
    class_sprintf(errmsg,"%s(L:%d) Cannot allocate u",__func__,__LINE__);
    return _FAILURE_;
  }

  if (x_size==2) spline_mode = _SPLINE_NATURAL_; // in the case of only 2 x-values, only the natural spline method is appropriate, for _SPLINE_EST_DERIV_ at least 3 x-values are needed.

  /************************************************/

  index_x=0;

  if (spline_mode == _SPLINE_NATURAL_) {
    ddlogy_array[index_y*x_size+index_x] = 0.0;
    u[index_x] = 0.0;
  }
  else {
    if (spline_mode == _SPLINE_EST_DERIV_) {

      dy_first =
	((log(x[2])-log(x[0]))*(log(x[2])-log(x[0]))*
	 (log(y_array[index_y*x_size+1])-log(y_array[index_y*x_size+0]))-
	 (log(x[1])-log(x[0]))*(log(x[1])-log(x[0]))*
	 (log(y_array[index_y*x_size+2])-log(y_array[index_y*x_size+0])))/
	((log(x[2])-log(x[0]))*(log(x[1])-log(x[0]))*(log(x[2])-log(x[1])));

      ddlogy_array[index_y*x_size+index_x] = -0.5;

      u[index_x] =
	(3./(log(x[1]) -  log(x[0])))*
	((log(y_array[index_y*x_size+1])-log(y_array[index_y*x_size+0]))/
	 (log(x[1]) - log(x[0]))-dy_first);

    }
    else {
      class_sprintf(errmsg,"%s(L:%d) Spline mode not identified: %d",__func__,__LINE__,spline_mode);
      return _FAILURE_;
    }
  }

  /************************************************/

  for (index_x=1; index_x < x_stop-1; index_x++) {

    sig = (log(x[index_x]) - log(x[index_x-1]))/(log(x[index_x+1]) - log(x[index_x-1]));

    p = sig * ddlogy_array[index_y*x_size+(index_x-1)] + 2.0;

    ddlogy_array[index_y*x_size+index_x] = (sig-1.0)/p;

    u[index_x] =
      (log(y_array[index_y*x_size+(index_x+1)]) - log(y_array[index_y*x_size+index_x]))
      / (log(x[index_x+1]) - log(x[index_x]))
      - (log(y_array[index_y*x_size+index_x]) - log(y_array[index_y*x_size+(index_x-1)]))
      / (log(x[index_x]) - log(x[index_x-1]));

    u[index_x] = (6.0 * u[index_x] /
		  (log(x[index_x+1]) - log(x[index_x-1]))
		  - sig * u[index_x-1]) / p;

  }

  /************************************************/

  if (spline_mode == _SPLINE_NATURAL_) {

      qn=un=0.0;

  }
  else {
    if (spline_mode == _SPLINE_EST_DERIV_) {

      dy_last =
	((log(x[x_stop-3])-log(x[x_stop-1]))*(log(x[x_stop-3])-log(x[x_stop-1]))*
	 (log(y_array[index_y*x_size+(x_stop-2)])-log(y_array[index_y*x_size+(x_stop-1)]))-
	 (log(x[x_stop-2])-log(x[x_stop-1]))*(log(x[x_stop-2])-log(x[x_stop-1]))*
	 (log(y_array[index_y*x_size+(x_stop-3)])-log(y_array[index_y*x_size+(x_stop-1)])))/
	((log(x[x_stop-3])-log(x[x_stop-1]))*(log(x[x_stop-2])-log(x[x_stop-1]))*
	 (log(x[x_stop-3])-log(x[x_stop-2])));

      qn=0.5;

      un=
	(3./(log(x[x_stop-1]) - log(x[x_stop-2])))*
	(dy_last-(log(y_array[index_y*x_size+(x_stop-1)]) - log(y_array[index_y*x_size+(x_stop-2)]))/
	 (log(x[x_stop-1]) - log(x[x_stop-2])));

    }
    else {
      class_sprintf(errmsg,"%s(L:%d) Spline mode not identified: %d",__func__,__LINE__,spline_mode);
      return _FAILURE_;
    }
  }

  /************************************************/

  index_x=x_stop-1;

  ddlogy_array[index_y*x_size+index_x] =
    (un - qn * u[index_x-1]) /
    (qn * ddlogy_array[index_y*x_size+(index_x-1)] + 1.0);

  for (index_x=x_stop-2; index_x >= 0; index_x--) {

    ddlogy_array[index_y*x_size+index_x] = ddlogy_array[index_y*x_size+index_x] *
      ddlogy_array[index_y*x_size+(index_x+1)] + u[index_x];

  }

  free(u);

  return _SUCCESS_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movl %r9d, %r14d
movq %rcx, %r13
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r12
movq 0x150(%rsp), %r15
movslq %edx, %rax
movq %rax, 0x98(%rsp)
leaq -0x8(,%rax,8), %rdi
callq 0x8460
testq %rax, %rax
je 0x16e43
movq %rax, %rdi
movzwl 0x148(%rsp), %ecx
movq 0x140(%rsp), %r15
xorl %eax, %eax
cmpl $0x2, %ebp
cmovel %eax, %ecx
movswl %cx, %eax
testw %ax, %ax
movq %r13, 0x90(%rsp)
je 0x16e88
cmpw $0x1, %cx
jne 0x17440
movl %ecx, 0x6c(%rsp)
movl %eax, 0x68(%rsp)
movq %rbx, 0x88(%rsp)
movsd 0x10(%r12), %xmm0
movq %rdi, %rbx
callq 0x82c0
movsd %xmm0, 0x8(%rsp)
movsd (%r12), %xmm0
callq 0x82c0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movsd 0x10(%r12), %xmm0
callq 0x82c0
movsd %xmm0, 0x20(%rsp)
movsd (%r12), %xmm0
callq 0x82c0
movsd 0x20(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x8(%rsp), %xmm1
movsd %xmm1, 0x20(%rsp)
movq %r14, 0x60(%rsp)
movl %r14d, %eax
movl %ebp, 0x3c(%rsp)
imull %ebp, %eax
movslq %eax, %r14
movsd 0x8(%r13,%r14,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x8(%rsp)
movsd (%r13,%r14,8), %xmm0
callq 0x82c0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x20(%rsp), %xmm1
movsd %xmm1, 0x8(%rsp)
movsd 0x8(%r12), %xmm0
callq 0x82c0
movsd %xmm0, 0x20(%rsp)
movsd (%r12), %xmm0
callq 0x82c0
movsd 0x20(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x20(%rsp)
movsd 0x8(%r12), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd (%r12), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x20(%rsp), %xmm1
movsd %xmm1, 0x10(%rsp)
movsd 0x10(%r13,%r14,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x20(%rsp)
movsd (%r13,%r14,8), %xmm0
callq 0x82c0
movsd 0x20(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd 0x10(%r12), %xmm0
callq 0x82c0
movsd %xmm0, 0x20(%rsp)
movsd (%r12), %xmm0
callq 0x82c0
movsd 0x20(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x20(%rsp)
movsd 0x8(%r12), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd (%r12), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x20(%rsp), %xmm1
movsd %xmm1, 0x10(%rsp)
movsd 0x10(%r12), %xmm0
callq 0x82c0
movsd %xmm0, 0x20(%rsp)
movsd 0x8(%r12), %xmm0
callq 0x82c0
movsd 0x20(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movabsq $-0x4020000000000000, %rax # imm = 0xBFE0000000000000
movq %rax, (%r15,%r14,8)
movsd 0x8(%r12), %xmm0
callq 0x82c0
movaps %xmm0, 0x10(%rsp)
movsd (%r12), %xmm0
callq 0x82c0
movaps %xmm0, 0x40(%rsp)
movsd 0x8(%r13,%r14,8), %xmm0
callq 0x82c0
movaps %xmm0, 0x20(%rsp)
movsd (%r13,%r14,8), %xmm0
callq 0x82c0
movapd 0x20(%rsp), %xmm1
subsd %xmm0, %xmm1
movapd %xmm1, 0x20(%rsp)
movsd 0x8(%r12), %xmm0
callq 0x82c0
movaps %xmm0, 0x70(%rsp)
movsd (%r12), %xmm0
callq 0x82c0
movq %rbx, %rdi
movapd 0x10(%rsp), %xmm1
unpcklpd 0x70(%rsp), %xmm1       # xmm1 = xmm1[0],mem[0]
movapd 0x40(%rsp), %xmm2
unpcklpd %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0]
subpd %xmm2, %xmm1
movapd 0xd895b(%rip), %xmm0    # 0xef780
unpcklpd 0x20(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0]
divpd %xmm1, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
subsd 0x8(%rsp), %xmm1
mulsd %xmm0, %xmm1
jmp 0x16eb5
leaq 0xd8fd3(%rip), %rbx     # 0xefe1d
leaq 0xd91ec(%rip), %r14     # 0xf003d
xorl %edi, %edi
xorl %esi, %esi
movq %rbx, %rdx
movq %r14, %rcx
movl $0x545, %r8d            # imm = 0x545
xorl %eax, %eax
callq 0x8550
incl %eax
movslq %eax, %rsi
movq %r15, %rdi
movq %rbx, %rdx
movq %r14, %rcx
movl $0x545, %r8d            # imm = 0x545
xorl %eax, %eax
callq 0x8550
jmp 0x17578
movl %ecx, 0x6c(%rsp)
movl %eax, 0x68(%rsp)
movq %rbx, 0x88(%rsp)
movq %r14, 0x60(%rsp)
movl %r14d, %eax
movl %ebp, 0x3c(%rsp)
imull %ebp, %eax
cltq
movq $0x0, (%r15,%rax,8)
xorpd %xmm1, %xmm1
movq 0x98(%rsp), %rcx
leaq -0x1(%rcx), %rax
movq %rax, 0x58(%rsp)
movsd %xmm1, (%rdi)
cmpl $0x3, %ecx
jl 0x170fc
movq 0x60(%rsp), %rax
imull 0x3c(%rsp), %eax
cltq
movl 0x58(%rsp), %ecx
movq %rcx, 0xd8(%rsp)
movq 0x90(%rsp), %rcx
leaq (%rcx,%rax,8), %r13
movq 0x140(%rsp), %rcx
leaq (%rcx,%rax,8), %r14
movl $0x1, %r15d
movapd %xmm1, 0x10(%rsp)
movsd (%r12,%r15,8), %xmm0
movq %rdi, %rbp
callq 0x82c0
movsd %xmm0, 0x8(%rsp)
movsd -0x8(%r12,%r15,8), %xmm0
callq 0x82c0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
leaq 0x1(%r15), %rbx
movsd 0x8(%r12,%r15,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x20(%rsp)
movsd -0x8(%r12,%r15,8), %xmm0
callq 0x82c0
movsd 0x20(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd 0x8(%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd -0x8(%r14,%r15,8), %xmm2
mulsd %xmm0, %xmm2
addsd 0xd7d72(%rip), %xmm2    # 0xeed00
movsd %xmm2, 0x40(%rsp)
addsd 0xd784c(%rip), %xmm0    # 0xee7e8
divsd %xmm2, %xmm0
movsd %xmm0, (%r14,%r15,8)
movsd 0x8(%r13,%r15,8), %xmm0
callq 0x82c0
movaps %xmm0, 0x20(%rsp)
movsd (%r13,%r15,8), %xmm0
callq 0x82c0
movaps %xmm0, 0x70(%rsp)
movsd 0x8(%r12,%r15,8), %xmm0
callq 0x82c0
movaps %xmm0, 0xc0(%rsp)
movsd (%r12,%r15,8), %xmm0
callq 0x82c0
movaps %xmm0, 0xb0(%rsp)
movsd (%r13,%r15,8), %xmm0
callq 0x82c0
movaps %xmm0, 0xa0(%rsp)
movsd -0x8(%r13,%r15,8), %xmm0
callq 0x82c0
movaps %xmm0, 0xf0(%rsp)
movsd (%r12,%r15,8), %xmm0
callq 0x82c0
movaps %xmm0, 0xe0(%rsp)
movsd -0x8(%r12,%r15,8), %xmm0
callq 0x82c0
movapd 0x20(%rsp), %xmm1
unpcklpd 0xa0(%rsp), %xmm1       # xmm1 = xmm1[0],mem[0]
movapd 0x70(%rsp), %xmm2
unpcklpd 0xf0(%rsp), %xmm2       # xmm2 = xmm2[0],mem[0]
subpd %xmm2, %xmm1
movapd 0xc0(%rsp), %xmm2
unpcklpd 0xe0(%rsp), %xmm2       # xmm2 = xmm2[0],mem[0]
movapd 0xb0(%rsp), %xmm3
unpcklpd %xmm0, %xmm3            # xmm3 = xmm3[0],xmm0[0]
subpd %xmm3, %xmm2
divpd %xmm2, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
subsd %xmm0, %xmm1
mulsd 0xd85dd(%rip), %xmm1    # 0xef670
movapd %xmm1, 0x20(%rsp)
movsd 0x8(%r12,%r15,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x70(%rsp)
movsd -0x8(%r12,%r15,8), %xmm0
callq 0x82c0
movq %rbp, %rdi
movsd 0x70(%rsp), %xmm2
subsd %xmm0, %xmm2
movapd 0x20(%rsp), %xmm1
divsd %xmm2, %xmm1
movsd 0x8(%rsp), %xmm0
mulsd 0x10(%rsp), %xmm0
subsd %xmm0, %xmm1
divsd 0x40(%rsp), %xmm1
movsd %xmm1, (%rbp,%r15,8)
movq %rbx, %r15
cmpq %rbx, 0xd8(%rsp)
jne 0x16f09
movl 0x6c(%rsp), %eax
testw %ax, %ax
je 0x17488
cmpw $0x1, %ax
movq 0x140(%rsp), %r14
movq 0x60(%rsp), %r13
jne 0x17529
movq 0x98(%rsp), %rbp
movsd -0x18(%r12,%rbp,8), %xmm0
movq %rdi, 0x70(%rsp)
callq 0x82c0
movsd %xmm0, 0x8(%rsp)
movq 0x58(%rsp), %rax
movsd (%r12,%rax,8), %xmm0
movq %rax, %rbx
callq 0x82c0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movsd -0x18(%r12,%rbp,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd (%r12,%rbx,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x8(%rsp), %xmm1
movsd %xmm1, 0x10(%rsp)
imull 0x3c(%rsp), %r13d
movq %r13, 0x60(%rsp)
leaq -0x2(%rbp), %r15
leal -0x2(%rbp,%r13), %eax
cltq
movq %rax, 0xc0(%rsp)
movq 0x90(%rsp), %rbx
movsd (%rbx,%rax,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x8(%rsp)
movq 0x58(%rsp), %rax
addl %r13d, %eax
cltq
movq %rax, 0x20(%rsp)
movsd (%rbx,%rax,8), %xmm0
callq 0x82c0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x8(%rsp)
movq %rbp, %rbx
movsd -0x10(%r12,%rbp,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movq 0x58(%rsp), %rbp
movsd (%r12,%rbp,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movsd -0x10(%r12,%rbx,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x40(%rsp)
movsd (%r12,%rbp,8), %xmm0
callq 0x82c0
movsd 0x40(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x40(%rsp)
leal -0x3(%rbx,%r13), %eax
cltq
movq 0x90(%rsp), %r13
movsd (%r13,%rax,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movq 0x20(%rsp), %rax
movsd (%r13,%rax,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x40(%rsp), %xmm1
movsd 0x8(%rsp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd -0x18(%r12,%rbx,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd (%r12,%rbp,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movsd -0x10(%r12,%rbx,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x40(%rsp)
movsd (%r12,%rbp,8), %xmm0
callq 0x82c0
movsd 0x40(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x40(%rsp)
movsd -0x18(%r12,%rbx,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd -0x10(%r12,%rbx,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x40(%rsp), %xmm1
movsd 0x8(%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd (%r12,%rbp,8), %xmm0
callq 0x82c0
movaps %xmm0, 0x40(%rsp)
movsd -0x10(%r12,%rbx,8), %xmm0
callq 0x82c0
movaps %xmm0, 0xb0(%rsp)
movq 0x20(%rsp), %rax
movsd (%r13,%rax,8), %xmm0
callq 0x82c0
movaps %xmm0, 0x10(%rsp)
movq 0xc0(%rsp), %rbp
movsd (%r13,%rbp,8), %xmm0
callq 0x82c0
movapd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movapd %xmm1, 0x10(%rsp)
movq 0x58(%rsp), %rax
movsd (%r12,%rax,8), %xmm0
callq 0x82c0
movaps %xmm0, 0xa0(%rsp)
movsd -0x10(%r12,%rbx,8), %xmm0
callq 0x82c0
movq 0x20(%rsp), %rax
movsd 0x8(%rsp), %xmm2
movq 0x60(%rsp), %rsi
movq 0x70(%rsp), %rdi
movapd 0x40(%rsp), %xmm1
unpcklpd 0xa0(%rsp), %xmm1       # xmm1 = xmm1[0],mem[0]
movapd 0xb0(%rsp), %xmm3
unpcklpd %xmm0, %xmm3            # xmm3 = xmm3[0],xmm0[0]
subpd %xmm3, %xmm1
movapd 0xd836f(%rip), %xmm0    # 0xef780
unpcklpd 0x10(%rsp), %xmm0       # xmm0 = xmm0[0],mem[0]
divpd %xmm1, %xmm0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
subsd %xmm1, %xmm2
mulsd %xmm0, %xmm2
movsd 0xd789d(%rip), %xmm0    # 0xeecd0
movq 0x88(%rsp), %rcx
jmp 0x174c2
leaq 0xd89f1(%rip), %rbx     # 0xefe38
leaq 0xd8bef(%rip), %r14     # 0xf003d
xorl %edi, %edi
xorl %esi, %esi
movq %rbx, %rdx
movq %r14, %rcx
movl $0x566, %r8d            # imm = 0x566
movl %eax, %ebp
movl %eax, %r9d
xorl %eax, %eax
callq 0x8550
incl %eax
movslq %eax, %rsi
movq 0x150(%rsp), %rdi
movq %rbx, %rdx
movq %r14, %rcx
movl $0x566, %r8d            # imm = 0x566
jmp 0x1756e
movq 0x88(%rsp), %rcx
leal -0x2(%rcx), %eax
movslq %eax, %r15
movq 0x60(%rsp), %rsi
imull 0x3c(%rsp), %esi
leal (%rsi,%rcx), %eax
addl $-0x2, %eax
movslq %eax, %rbp
movq 0x58(%rsp), %rax
addl %esi, %eax
cltq
xorpd %xmm2, %xmm2
xorpd %xmm0, %xmm0
movq 0x140(%rsp), %r14
movsd (%rdi,%r15,8), %xmm1
mulsd %xmm0, %xmm1
mulsd (%r14,%rbp,8), %xmm0
addsd 0xd6d86(%rip), %xmm0    # 0xee260
subsd %xmm1, %xmm2
divsd %xmm0, %xmm2
movsd %xmm2, (%r14,%rax,8)
cmpl $0x2, %ecx
jl 0x17520
movslq %esi, %rcx
leaq (%r14,%rcx,8), %rax
incq %r15
movl %ecx, %ecx
movsd -0x8(%rax,%r15,8), %xmm0
leal (%rcx,%r15), %edx
movslq %edx, %rdx
mulsd (%r14,%rdx,8), %xmm0
addsd -0x8(%rdi,%r15,8), %xmm0
movsd %xmm0, -0x8(%rax,%r15,8)
decq %r15
jg 0x174f9
callq 0x8410
xorl %eax, %eax
jmp 0x1757d
leaq 0xd8908(%rip), %rbx     # 0xefe38
leaq 0xd8b06(%rip), %r14     # 0xf003d
xorl %edi, %edi
xorl %esi, %esi
movq %rbx, %rdx
movq %r14, %rcx
movl $0x59c, %r8d            # imm = 0x59C
movl 0x68(%rsp), %ebp
movl %ebp, %r9d
xorl %eax, %eax
callq 0x8550
incl %eax
movslq %eax, %rsi
movq 0x150(%rsp), %rdi
movq %rbx, %rdx
movq %r14, %rcx
movl $0x59c, %r8d            # imm = 0x59C
movl %ebp, %r9d
xorl %eax, %eax
callq 0x8550
movl $0x1, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq