// File: /workspace/github_c_makefile_star2_O1/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 $0xa8, %rsp
movl %r9d, %r14d
movq %rcx, 0x80(%rsp)
movl %edx, %r13d
movl %esi, %ebp
movq %rdi, %r12
movq 0xf0(%rsp), %rbx
movslq %edx, %r15
leaq -0x8(,%r15,8), %rdi
callq 0x8460
testq %rax, %rax
je 0x16cfd
movq %rax, %rdx
movq %r15, 0x30(%rsp)
movzwl 0xe8(%rsp), %ecx
movq 0xe0(%rsp), %r15
xorl %eax, %eax
cmpl $0x2, %ebp
cmovel %eax, %ecx
movswl %cx, %eax
testw %ax, %ax
je 0x16d42
cmpw $0x1, %cx
jne 0x172ab
movl %ecx, 0x54(%rsp)
movl %eax, 0x50(%rsp)
movq %r13, 0x88(%rsp)
movsd 0x10(%r12), %xmm0
movq %rdx, %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, 0x58(%rsp)
movl %r14d, %eax
movl %ebp, 0x3c(%rsp)
imull %ebp, %eax
movslq %eax, %r14
movq 0x80(%rsp), %r13
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, 0x60(%rsp)
movsd (%r12), %xmm0
callq 0x82c0
movq %rbx, %rdx
movapd 0x10(%rsp), %xmm1
unpcklpd 0x60(%rsp), %xmm1       # xmm1 = xmm1[0],mem[0]
movapd 0x40(%rsp), %xmm2
unpcklpd %xmm0, %xmm2            # xmm2 = xmm2[0],xmm0[0]
subpd %xmm2, %xmm1
movapd %xmm1, %xmm0
movapd 0xdba91(%rip), %xmm1    # 0xf2770
unpcklpd 0x20(%rsp), %xmm1       # xmm1 = xmm1[0],mem[0]
divpd %xmm0, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
subsd 0x8(%rsp), %xmm0
mulsd %xmm1, %xmm0
jmp 0x16d6f
leaq 0xdc109(%rip), %r15     # 0xf2e0d
leaq 0xdc322(%rip), %r14     # 0xf302d
xorl %edi, %edi
xorl %esi, %esi
movq %r15, %rdx
movq %r14, %rcx
movl $0x545, %r8d            # imm = 0x545
xorl %eax, %eax
callq 0x8550
incl %eax
movslq %eax, %rsi
movq %rbx, %rdi
movq %r15, %rdx
movq %r14, %rcx
movl $0x545, %r8d            # imm = 0x545
xorl %eax, %eax
callq 0x8550
jmp 0x173e9
movl %ecx, 0x54(%rsp)
movl %eax, 0x50(%rsp)
movq %r13, 0x88(%rsp)
movq %r14, 0x58(%rsp)
movl %r14d, %eax
movl %ebp, 0x3c(%rsp)
imull %ebp, %eax
cltq
movq $0x0, (%r15,%rax,8)
xorpd %xmm0, %xmm0
movq 0x30(%rsp), %rax
leaq -0x1(%rax), %rcx
movq %rcx, 0x78(%rsp)
movsd %xmm0, (%rdx)
cmpl $0x3, %eax
movq %rdx, %r13
jl 0x16f98
movq 0x58(%rsp), %rax
imull 0x3c(%rsp), %eax
cltq
movl 0x78(%rsp), %ecx
movq %rcx, 0x90(%rsp)
movq 0x80(%rsp), %rcx
leaq (%rcx,%rax,8), %r14
movq 0xe0(%rsp), %rcx
leaq (%rcx,%rax,8), %r15
movl $0x1, %ebp
movsd (%r12,%rbp,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x20(%rsp)
movsd -0x8(%r12,%rbp,8), %xmm0
callq 0x82c0
movsd 0x20(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x20(%rsp)
leaq 0x1(%rbp), %rbx
movsd 0x8(%r12,%rbp,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x8(%rsp)
movsd -0x8(%r12,%rbp,8), %xmm0
callq 0x82c0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd 0x20(%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x20(%rsp)
movsd -0x8(%r15,%rbp,8), %xmm2
mulsd %xmm0, %xmm2
addsd 0xdaec2(%rip), %xmm2    # 0xf1d00
movsd %xmm2, 0x40(%rsp)
addsd 0xda99c(%rip), %xmm0    # 0xf17e8
divsd %xmm2, %xmm0
movsd %xmm0, (%r15,%rbp,8)
movsd 0x8(%r14,%rbp,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x8(%rsp)
movsd (%r14,%rbp,8), %xmm0
callq 0x82c0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movsd 0x8(%r12,%rbp,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd (%r12,%rbp,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd 0x8(%rsp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, 0x8(%rsp)
movsd (%r14,%rbp,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd -0x8(%r14,%rbp,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movsd (%r12,%rbp,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x60(%rsp)
movsd -0x8(%r12,%rbp,8), %xmm0
callq 0x82c0
movsd 0x60(%rsp), %xmm2
subsd %xmm0, %xmm2
movsd 0x10(%rsp), %xmm1
divsd %xmm2, %xmm1
movsd 0x8(%rsp), %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, (%r13,%rbp,8)
mulsd 0xdb73f(%rip), %xmm0    # 0xf2670
movsd %xmm0, 0x8(%rsp)
movsd 0x8(%r12,%rbp,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd -0x8(%r12,%rbp,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm2
subsd %xmm0, %xmm2
movsd 0x8(%rsp), %xmm1
divsd %xmm2, %xmm1
movsd 0x20(%rsp), %xmm0
mulsd -0x8(%r13,%rbp,8), %xmm0
subsd %xmm0, %xmm1
divsd 0x40(%rsp), %xmm1
movsd %xmm1, (%r13,%rbp,8)
movq %rbx, %rbp
cmpq %rbx, 0x90(%rsp)
jne 0x16dc2
movq %r13, 0x20(%rsp)
movl 0x54(%rsp), %eax
testw %ax, %ax
je 0x172f3
cmpw $0x1, %ax
movq 0x58(%rsp), %rbp
movq 0x30(%rsp), %r15
jne 0x1739a
movsd -0x18(%r12,%r15,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x8(%rsp)
movq 0x78(%rsp), %r13
movsd (%r12,%r13,8), %xmm0
callq 0x82c0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movsd -0x18(%r12,%r15,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd (%r12,%r13,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x8(%rsp), %xmm1
movsd %xmm1, 0x10(%rsp)
movl %ebp, %ebx
imull 0x3c(%rsp), %ebx
leal (%r15,%rbx), %eax
addl $-0x2, %eax
cltq
movq %rax, 0x60(%rsp)
movq 0x80(%rsp), %r14
movsd (%r14,%rax,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x8(%rsp)
movl %ebx, %eax
addl %r13d, %eax
movslq %eax, %r15
movsd (%r14,%r15,8), %xmm0
callq 0x82c0
movsd 0x8(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x8(%rsp)
movq 0x30(%rsp), %rax
movsd -0x10(%r12,%rax,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd (%r12,%r13,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movq 0x30(%rsp), %rax
movsd -0x10(%r12,%rax,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x40(%rsp)
movsd (%r12,%r13,8), %xmm0
callq 0x82c0
movsd 0x40(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x40(%rsp)
movq 0x30(%rsp), %rax
addl %ebx, %eax
addl $-0x3, %eax
cltq
movsd (%r14,%rax,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd (%r14,%r15,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)
movq 0x30(%rsp), %rax
movsd -0x18(%r12,%rax,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movsd (%r12,%r13,8), %xmm0
callq 0x82c0
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movq 0x30(%rsp), %rax
movsd -0x10(%r12,%rax,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x40(%rsp)
movsd (%r12,%r13,8), %xmm0
callq 0x82c0
movsd 0x40(%rsp), %xmm1
subsd %xmm0, %xmm1
mulsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x40(%rsp)
movq 0x30(%rsp), %rax
movsd -0x18(%r12,%rax,8), %xmm0
callq 0x82c0
movsd %xmm0, 0x10(%rsp)
movq 0x30(%rsp), %rax
movsd -0x10(%r12,%rax,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,%r13,8), %xmm0
callq 0x82c0
movaps %xmm0, 0x40(%rsp)
movq 0x30(%rsp), %rax
movsd -0x10(%r12,%rax,8), %xmm0
callq 0x82c0
movaps %xmm0, 0x90(%rsp)
movsd (%r14,%r15,8), %xmm0
movq 0x30(%rsp), %rbx
callq 0x82c0
movaps %xmm0, 0x10(%rsp)
movq 0x60(%rsp), %rax
movsd (%r14,%rax,8), %xmm0
callq 0x82c0
movapd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movapd %xmm1, 0x10(%rsp)
movsd (%r12,%r13,8), %xmm0
callq 0x82c0
movaps %xmm0, 0x60(%rsp)
movsd -0x10(%r12,%rbx,8), %xmm0
callq 0x82c0
movl 0x3c(%rsp), %eax
movsd 0x8(%rsp), %xmm2
movapd 0x40(%rsp), %xmm1
unpcklpd 0x60(%rsp), %xmm1       # xmm1 = xmm1[0],mem[0]
movapd 0x90(%rsp), %xmm3
unpcklpd %xmm0, %xmm3            # xmm3 = xmm3[0],xmm0[0]
subpd %xmm3, %xmm1
movapd 0xdb4e9(%rip), %xmm0    # 0xf2770
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 0xdaa27(%rip), %xmm0    # 0xf1cd0
jmp 0x1730e
leaq 0xdbb76(%rip), %rbx     # 0xf2e28
leaq 0xdbd74(%rip), %r14     # 0xf302d
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 0xf0(%rsp), %rdi
movq %rbx, %rdx
movq %r14, %rcx
movl $0x566, %r8d            # imm = 0x566
jmp 0x173df
xorpd %xmm2, %xmm2
xorpd %xmm0, %xmm0
movq 0x58(%rsp), %rbp
movl 0x3c(%rsp), %eax
movq 0x30(%rsp), %rbx
movq 0x78(%rsp), %r13
movq 0x20(%rsp), %rdi
movsd -0x10(%rdi,%rbx,8), %xmm1
mulsd %xmm0, %xmm1
imull %eax, %ebp
movq 0x88(%rsp), %rdx
leal (%rdx,%rbp), %eax
addl $-0x2, %eax
cltq
movq 0xe0(%rsp), %rsi
mulsd (%rsi,%rax,8), %xmm0
subsd %xmm1, %xmm2
addsd 0xd9f17(%rip), %xmm0    # 0xf1260
divsd %xmm0, %xmm2
addl %ebp, %r13d
movslq %r13d, %rax
movsd %xmm2, (%rsi,%rax,8)
cmpl $0x2, %edx
jl 0x17391
leal -0x2(%rdx), %eax
cltq
movslq %ebp, %rcx
leaq (%rsi,%rcx,8), %rcx
incq %rax
addl %ebp, %edx
decl %edx
movsd -0x8(%rcx,%rax,8), %xmm0
movslq %edx, %rdx
mulsd (%rsi,%rdx,8), %xmm0
addsd -0x8(%rdi,%rax,8), %xmm0
movsd %xmm0, -0x8(%rcx,%rax,8)
decl %edx
decq %rax
jg 0x17370
callq 0x8410
xorl %eax, %eax
jmp 0x173ee
leaq 0xdba87(%rip), %rbx     # 0xf2e28
leaq 0xdbc85(%rip), %r14     # 0xf302d
xorl %edi, %edi
xorl %esi, %esi
movq %rbx, %rdx
movq %r14, %rcx
movl $0x59c, %r8d            # imm = 0x59C
movl 0x50(%rsp), %ebp
movl %ebp, %r9d
xorl %eax, %eax
callq 0x8550
incl %eax
movslq %eax, %rsi
movq 0xf0(%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 $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq