// File: /workspace/github_c_makefile_star2_O0/PoulinV[P]AxiCLASS/build/../tools/arrays.c
// Function: array_spline_table_line_to_line
int array_spline_table_line_to_line(
				    double * x, /* vector of size x_size */
				    int n_lines,
				    double * array,
				    int n_columns,
				    int index_y,
				    int index_ddydx2,
				    short spline_mode,
				    ErrorMsg errmsg) {

  int i,k;
  double p,qn,sig,un;
  double * u;
  double dy_first;
  double dy_last;

  class_test(n_lines<3,
             errmsg,
             "no possible spline with less than three lines");

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

  if (spline_mode == _SPLINE_NATURAL_) {
    *(array+0*n_columns+index_ddydx2) = u[0] = 0.0;
  }
  else {
    if (spline_mode == _SPLINE_EST_DERIV_) {
      dy_first =
	((x[2]-x[0])*(x[2]-x[0])*
	 (*(array+1*n_columns+index_y)-*(array+0*n_columns+index_y))-
	 (x[1]-x[0])*(x[1]-x[0])*
	 (*(array+2*n_columns+index_y)-*(array+0*n_columns+index_y)))/
	((x[2]-x[0])*(x[1]-x[0])*(x[2]-x[1]));
      *(array+0*n_columns+index_ddydx2) = -0.5;
      u[0] =
	(3./(x[1] -  x[0]))*
	((*(array+1*n_columns+index_y) -  *(array+0*n_columns+index_y))/
	 (x[1] - x[0])-dy_first);
    }
    else {
      class_sprintf(errmsg,"%s(L:%d) Spline mode not identified: %d",__func__,__LINE__,spline_mode);
      return _FAILURE_;
    }
  }

  for (i=1; i < n_lines-1; i++) {

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

      p = sig * *(array+(i-1)*n_columns+index_ddydx2) + 2.0;
      *(array+i*n_columns+index_ddydx2) = (sig-1.0)/p;
      u[i] = (*(array+(i+1)*n_columns+index_y) - *(array+i*n_columns+index_y))
	/ (x[i+1] - x[i])
	- (*(array+i*n_columns+index_y) - *(array+(i-1)*n_columns+index_y))
	/ (x[i] - x[i-1]);
      u[i]= (6.0 * u[i] /
	     (x[i+1] - x[i-1])
	     - sig * u[i-1]) / p;

  }

  if (spline_mode == _SPLINE_NATURAL_) {
    qn=0.;
    un=0.;
  }
  else {
    if (spline_mode == _SPLINE_EST_DERIV_) {
      dy_last =
	((x[n_lines-3]-x[n_lines-1])*(x[n_lines-3]-x[n_lines-1])*
	 (*(array+(n_lines-2)*n_columns+index_y)-*(array+(n_lines-1)*n_columns+index_y))-
	 (x[n_lines-2]-x[n_lines-1])*(x[n_lines-2]-x[n_lines-1])*
	 (*(array+(n_lines-3)*n_columns+index_y)-*(array+(n_lines-1)*n_columns+index_y)))/
	((x[n_lines-3]-x[n_lines-1])*(x[n_lines-2]-x[n_lines-1])*(x[n_lines-3]-x[n_lines-2]));
      qn=0.5;
      un =
	(3./(x[n_lines-1] - x[n_lines-2]))*
	(dy_last-(*(array+(n_lines-1)*n_columns+index_y) -  *(array+(n_lines-2)*n_columns+index_y))/
	 (x[n_lines-1] - x[n_lines-2]));
    }
    else {
      class_sprintf(errmsg,"%s(L:%d) Spline mode not identified: %d",__func__,__LINE__,spline_mode);
      return _FAILURE_;
    }
  }

  *(array+(n_lines-1)*n_columns+index_ddydx2) =
    (un-qn*u[n_lines-2])/(qn* *(array+(n_lines-2)*n_columns+index_ddydx2)+1.0);

  for (k=n_lines-2; k>=0; k--)
    *(array+k*n_columns+index_ddydx2) = *(array+k*n_columns+index_ddydx2) *
      *(array+(k+1)*n_columns+index_ddydx2) + u[k];

  free(u);

  return _SUCCESS_;
 }

// Assembly:
subq $0x1088, %rsp           # imm = 0x1088
movq 0x1098(%rsp), %rax
movw 0x1090(%rsp), %ax
movq %rdi, 0x1078(%rsp)
movl %esi, 0x1074(%rsp)
movq %rdx, 0x1068(%rsp)
movl %ecx, 0x1064(%rsp)
movl %r8d, 0x1060(%rsp)
movl %r9d, 0x105c(%rsp)
cmpl $0x3, 0x1074(%rsp)
jge 0x1c27e
leaq 0x810(%rsp), %rdi
leaq 0x1b7c29(%rip), %rsi    # 0x1d3e47
movb $0x0, %al
callq 0x5b9c0
leaq 0x10(%rsp), %rdi
leaq 0x810(%rsp), %rcx
leaq 0x1b5e49(%rip), %rsi    # 0x1d2082
leaq 0x1b7c35(%rip), %rdx    # 0x1d3e75
movb $0x0, %al
callq 0x5b9c0
movq 0x1098(%rsp), %rdi
leaq 0x10(%rsp), %r8
leaq 0x1b5dd9(%rip), %rsi    # 0x1d2034
leaq 0x1b7c1d(%rip), %rdx    # 0x1d3e7f
movl $0x1d8, %ecx            # imm = 0x1D8
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x1084(%rsp)
jmp 0x1cf73
movl 0x1074(%rsp), %eax
subl $0x1, %eax
movslq %eax, %rdi
shlq $0x3, %rdi
callq 0x8460
movq %rax, 0x1028(%rsp)
cmpq $0x0, 0x1028(%rsp)
jne 0x1c30c
jmp 0x1c2a9
xorl %eax, %eax
movl %eax, %esi
leaq 0x1b7b50(%rip), %rdx    # 0x1d3e04
leaq 0x1b7bc4(%rip), %rcx    # 0x1d3e7f
movl $0x1dc, %r8d            # imm = 0x1DC
movq %rsi, %rdi
movb $0x0, %al
callq 0x8540
movl %eax, 0xc(%rsp)
movq 0x1098(%rsp), %rdi
movl 0xc(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
leaq 0x1b7b1c(%rip), %rdx    # 0x1d3e04
leaq 0x1b7b90(%rip), %rcx    # 0x1d3e7f
movl $0x1dc, %r8d            # imm = 0x1DC
movb $0x0, %al
callq 0x8540
movl $0x1, 0x1084(%rsp)
jmp 0x1cf73
movswl 0x1090(%rsp), %eax
cmpl $0x0, %eax
jne 0x1c357
movq 0x1028(%rsp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax)
movq 0x1068(%rsp), %rax
imull $0x0, 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x105c(%rsp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, (%rax,%rcx,8)
jmp 0x1c64c
movswl 0x1090(%rsp), %eax
cmpl $0x1, %eax
jne 0x1c5d3
movq 0x1078(%rsp), %rax
movsd 0x10(%rax), %xmm0
movq 0x1078(%rsp), %rax
subsd (%rax), %xmm0
movq 0x1078(%rsp), %rax
movsd 0x10(%rax), %xmm1
movq 0x1078(%rsp), %rax
subsd (%rax), %xmm1
mulsd %xmm1, %xmm0
movq 0x1068(%rsp), %rax
movl 0x1064(%rsp), %ecx
shll $0x0, %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x1068(%rsp), %rax
imull $0x0, 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm2
movq 0x1078(%rsp), %rax
movsd 0x8(%rax), %xmm1
movq 0x1078(%rsp), %rax
subsd (%rax), %xmm1
movq 0x1078(%rsp), %rax
movsd 0x8(%rax), %xmm3
movq 0x1078(%rsp), %rax
subsd (%rax), %xmm3
mulsd %xmm3, %xmm1
movq 0x1068(%rsp), %rax
movl 0x1064(%rsp), %ecx
shll %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x1068(%rsp), %rax
imull $0x0, 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm3
mulsd %xmm3, %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x1078(%rsp), %rax
movsd 0x10(%rax), %xmm1
movq 0x1078(%rsp), %rax
subsd (%rax), %xmm1
movq 0x1078(%rsp), %rax
movsd 0x8(%rax), %xmm2
movq 0x1078(%rsp), %rax
subsd (%rax), %xmm2
mulsd %xmm2, %xmm1
movq 0x1078(%rsp), %rax
movsd 0x10(%rax), %xmm2
movq 0x1078(%rsp), %rax
subsd 0x8(%rax), %xmm2
mulsd %xmm2, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x1020(%rsp)
movq 0x1068(%rsp), %rax
imull $0x0, 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x105c(%rsp), %rcx
movsd 0x1b717f(%rip), %xmm0   # 0x1d36a0
movsd %xmm0, (%rax,%rcx,8)
movq 0x1078(%rsp), %rax
movsd 0x8(%rax), %xmm1
movq 0x1078(%rsp), %rax
subsd (%rax), %xmm1
movsd 0x1b7151(%rip), %xmm0   # 0x1d3698
divsd %xmm1, %xmm0
movq 0x1068(%rsp), %rax
movl 0x1064(%rsp), %ecx
shll $0x0, %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1068(%rsp), %rax
imull $0x0, 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movsd 0x8(%rax), %xmm2
movq 0x1078(%rsp), %rax
subsd (%rax), %xmm2
divsd %xmm2, %xmm1
subsd 0x1020(%rsp), %xmm1
mulsd %xmm1, %xmm0
movq 0x1028(%rsp), %rax
movsd %xmm0, (%rax)
jmp 0x1c64a
jmp 0x1c5d5
movswl 0x1090(%rsp), %r9d
xorl %eax, %eax
movl %eax, %esi
leaq 0x1b7836(%rip), %rdx    # 0x1d3e1f
leaq 0x1b788f(%rip), %rcx    # 0x1d3e7f
movl $0x1f2, %r8d            # imm = 0x1F2
movq %rsi, %rdi
movb $0x0, %al
callq 0x8540
movl %eax, 0x8(%rsp)
movq 0x1098(%rsp), %rdi
movl 0x8(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movswl 0x1090(%rsp), %r9d
leaq 0x1b77f9(%rip), %rdx    # 0x1d3e1f
leaq 0x1b7852(%rip), %rcx    # 0x1d3e7f
movl $0x1f2, %r8d            # imm = 0x1F2
movb $0x0, %al
callq 0x8540
movl $0x1, 0x1084(%rsp)
jmp 0x1cf73
jmp 0x1c64c
movl $0x1, 0x1058(%rsp)
movl 0x1058(%rsp), %eax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
jge 0x1c987
movq 0x1078(%rsp), %rax
movslq 0x1058(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1078(%rsp), %rax
movl 0x1058(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movq 0x1078(%rsp), %rax
movl 0x1058(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movl 0x1058(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x1038(%rsp)
movsd 0x1038(%rsp), %xmm0
movq 0x1068(%rsp), %rax
movl 0x1058(%rsp), %ecx
subl $0x1, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x105c(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
mulsd %xmm1, %xmm0
movsd 0x1b655a(%rip), %xmm1   # 0x1d2c80
addsd %xmm1, %xmm0
movsd %xmm0, 0x1048(%rsp)
movsd 0x1038(%rsp), %xmm0
movsd 0x1b5b04(%rip), %xmm1   # 0x1d2248
subsd %xmm1, %xmm0
divsd 0x1048(%rsp), %xmm0
movq 0x1068(%rsp), %rax
movl 0x1058(%rsp), %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x105c(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x1068(%rsp), %rax
movl 0x1058(%rsp), %ecx
addl $0x1, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1068(%rsp), %rax
movl 0x1058(%rsp), %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm0
movq 0x1078(%rsp), %rax
movl 0x1058(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movslq 0x1058(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm1
divsd %xmm1, %xmm0
movq 0x1068(%rsp), %rax
movl 0x1058(%rsp), %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1068(%rsp), %rax
movl 0x1058(%rsp), %ecx
subl $0x1, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movslq 0x1058(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x1078(%rsp), %rax
movl 0x1058(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm2
divsd %xmm2, %xmm1
subsd %xmm1, %xmm0
movq 0x1028(%rsp), %rax
movslq 0x1058(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x1028(%rsp), %rax
movslq 0x1058(%rsp), %rcx
movsd 0x1b6db4(%rip), %xmm1   # 0x1d3688
mulsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movl 0x1058(%rsp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1078(%rsp), %rax
movl 0x1058(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
divsd %xmm0, %xmm1
movsd 0x1038(%rsp), %xmm0
movq 0x1028(%rsp), %rax
movl 0x1058(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
divsd 0x1048(%rsp), %xmm0
movq 0x1028(%rsp), %rax
movslq 0x1058(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x1058(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x1058(%rsp)
jmp 0x1c657
movswl 0x1090(%rsp), %eax
cmpl $0x0, %eax
jne 0x1c9b1
xorps %xmm0, %xmm0
movsd %xmm0, 0x1040(%rsp)
xorps %xmm0, %xmm0
movsd %xmm0, 0x1030(%rsp)
jmp 0x1cdb2
movswl 0x1090(%rsp), %eax
cmpl $0x1, %eax
jne 0x1cd39
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x3, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm0
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x3, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm1
mulsd %xmm1, %xmm0
movq 0x1068(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x2, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x1068(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm2
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm3
mulsd %xmm3, %xmm1
movq 0x1068(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x3, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x1068(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm3
mulsd %xmm3, %xmm1
movq %xmm1, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x3, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm1
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x3, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, 0x1018(%rsp)
movsd 0x1b604e(%rip), %xmm0   # 0x1d2c88
movsd %xmm0, 0x1040(%rsp)
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm1
movsd 0x1b6a19(%rip), %xmm0   # 0x1d3698
divsd %xmm1, %xmm0
movsd 0x1018(%rsp), %xmm1
movq 0x1068(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x1068(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x2, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x1060(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm2
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm3
movq 0x1078(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
subsd (%rax,%rcx,8), %xmm3
divsd %xmm3, %xmm2
subsd %xmm2, %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, 0x1030(%rsp)
jmp 0x1cdb0
jmp 0x1cd3b
movswl 0x1090(%rsp), %r9d
xorl %eax, %eax
movl %eax, %esi
leaq 0x1b70d0(%rip), %rdx    # 0x1d3e1f
leaq 0x1b7129(%rip), %rcx    # 0x1d3e7f
movl $0x21a, %r8d            # imm = 0x21A
movq %rsi, %rdi
movb $0x0, %al
callq 0x8540
movl %eax, 0x4(%rsp)
movq 0x1098(%rsp), %rdi
movl 0x4(%rsp), %eax
addl $0x1, %eax
movslq %eax, %rsi
movswl 0x1090(%rsp), %r9d
leaq 0x1b7093(%rip), %rdx    # 0x1d3e1f
leaq 0x1b70ec(%rip), %rcx    # 0x1d3e7f
movl $0x21a, %r8d            # imm = 0x21A
movb $0x0, %al
callq 0x8540
movl $0x1, 0x1084(%rsp)
jmp 0x1cf73
jmp 0x1cdb2
movsd 0x1030(%rsp), %xmm1
movsd 0x1040(%rsp), %xmm0
movq 0x1028(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd 0x1040(%rsp), %xmm1
movq 0x1068(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x2, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x105c(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm2
mulsd %xmm2, %xmm1
movsd 0x1b5405(%rip), %xmm2   # 0x1d2248
addsd %xmm2, %xmm1
divsd %xmm1, %xmm0
movq 0x1068(%rsp), %rax
movl 0x1074(%rsp), %ecx
subl $0x1, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x105c(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x1074(%rsp), %eax
subl $0x2, %eax
movl %eax, 0x1054(%rsp)
cmpl $0x0, 0x1054(%rsp)
jl 0x1cf5b
movq 0x1068(%rsp), %rax
movl 0x1054(%rsp), %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x105c(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x1068(%rsp), %rax
movl 0x1054(%rsp), %ecx
addl $0x1, %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x105c(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm2
movq 0x1028(%rsp), %rax
movslq 0x1054(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movq 0x1068(%rsp), %rax
movl 0x1054(%rsp), %ecx
imull 0x1064(%rsp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movslq 0x105c(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl 0x1054(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0x1054(%rsp)
jmp 0x1ce8d
movq 0x1028(%rsp), %rdi
callq 0x8420
movl $0x0, 0x1084(%rsp)
movl 0x1084(%rsp), %eax
addq $0x1088, %rsp           # imm = 0x1088
retq
nopw %cs:(%rax,%rax)