// File: redpony[P]libpopt/./lbfgs.h
// Function: scitbx::lbfgs::minimizer<double, unsigned long>::generic_run(double*, double, double const*, bool, double const*)
bool minimizer<FloatType, SizeType>::generic_run(
    FloatType* x,
    FloatType f,
    const FloatType* g,
    bool diagco,
    const FloatType* diag)
  {
    bool execute_entire_while_loop = false;
    if (!(requests_f_and_g_ || requests_diag_)) {
      execute_entire_while_loop = true;
    }
    requests_f_and_g_ = false;
    requests_diag_ = false;
    FloatType* w = &(*(w_.begin()));
    if (iflag_ == 0) { // Initialize.
      nfun_ = 1;
      if (diagco) {
        for (SizeType i = 0; i < n_; i++) {
          if (diag[i] <= FloatType(0)) {
            throw_diagonal_element_not_positive(i);
          }
        }
      }
      else {
        std::fill_n(scratch_array_.begin(), n_, FloatType(1));
        diag = &(*(scratch_array_.begin()));
      }
      for (SizeType i = 0; i < n_; i++) {
        w[ispt + i] = -g[i] * diag[i];
      }
      FloatType gnorm = std::sqrt(detail::ddot(n_, g, g));
      if (gnorm == FloatType(0)) return false;
      stp1 = FloatType(1) / gnorm;
      execute_entire_while_loop = true;
    }
    if (execute_entire_while_loop) {
      bound = iter_;
      iter_++;
      info = 0;
      if (iter_ != 1) {
        if (iter_ > m_) bound = m_;
        ys = detail::ddot(
          n_, w, iypt + npt, SizeType(1), w, ispt + npt, SizeType(1));
        if (!diagco) {
          FloatType yy = detail::ddot(
            n_, w, iypt + npt, SizeType(1), w, iypt + npt, SizeType(1));
          std::fill_n(scratch_array_.begin(), n_, ys / yy);
          diag = &(*(scratch_array_.begin()));
        }
        else {
          iflag_ = 2;
          requests_diag_ = true;
          return true;
        }
      }
    }
    if (execute_entire_while_loop || iflag_ == 2) {
      if (iter_ != 1) {
        if (diag == 0) {
          throw error_internal_error(__FILE__, __LINE__);
        }
        if (diagco) {
          for (SizeType i = 0; i < n_; i++) {
            if (diag[i] <= FloatType(0)) {
              throw_diagonal_element_not_positive(i);
            }
          }
        }
        SizeType cp = point;
        if (point == 0) cp = m_;
        w[n_ + cp -1] = 1 / ys;
        SizeType i;
        for (i = 0; i < n_; i++) {
          w[i] = -g[i];
        }
        cp = point;
        for (i = 0; i < bound; i++) {
          if (cp == 0) cp = m_;
          cp--;
          FloatType sq = detail::ddot(
            n_, w, ispt + cp * n_, SizeType(1), w, SizeType(0), SizeType(1));
          SizeType inmc=n_+m_+cp;
          SizeType iycn=iypt+cp*n_;
          w[inmc] = w[n_ + cp] * sq;
          detail::daxpy(n_, -w[inmc], w, iycn, w);
        }
        for (i = 0; i < n_; i++) {
          w[i] *= diag[i];
        }
        for (i = 0; i < bound; i++) {
          FloatType yr = detail::ddot(
            n_, w, iypt + cp * n_, SizeType(1), w, SizeType(0), SizeType(1));
          FloatType beta = w[n_ + cp] * yr;
          SizeType inmc=n_+m_+cp;
          beta = w[inmc] - beta;
          SizeType iscn=ispt+cp*n_;
          detail::daxpy(n_, beta, w, iscn, w);
          cp++;
          if (cp == m_) cp = 0;
        }
        std::copy(w, w+n_, w+(ispt + point * n_));
      }
      stp_ = FloatType(1);
      if (iter_ == 1) stp_ = stp1;
      std::copy(g, g+n_, w);
    }
    mcsrch_instance.run(
      gtol_, stpmin_, stpmax_, n_, x, f, g, w, ispt + point * n_,
      stp_, ftol, xtol_, maxfev_, info, nfev, &(*(scratch_array_.begin())));
    if (info == -1) {
      iflag_ = 1;
      requests_f_and_g_ = true;
      return true;
    }
    if (info != 1) {
      throw error_internal_error(__FILE__, __LINE__);
    }
    nfun_ += nfev;
    npt = point*n_;
    for (SizeType i = 0; i < n_; i++) {
      w[ispt + npt + i] = stp_ * w[ispt + npt + i];
      w[iypt + npt + i] = g[i] - w[i];
    }
    point++;
    if (point == m_) point = 0;
    return false;
  }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c0, %rsp            # imm = 0x1C0
movb %cl, %al
movq %rdi, 0x1b0(%rsp)
movq %rsi, 0x1a8(%rsp)
movsd %xmm0, 0x1a0(%rsp)
movq %rdx, 0x198(%rsp)
andb $0x1, %al
movb %al, 0x197(%rsp)
movq %r8, 0x188(%rsp)
movq 0x1b0(%rsp), %rax
movq %rax, 0xa8(%rsp)
movb $0x0, 0x187(%rsp)
testb $0x1, 0xb4(%rax)
jne 0x977e
movq 0xa8(%rsp), %rax
testb $0x1, 0xb5(%rax)
jne 0x977e
movb $0x1, 0x187(%rsp)
movq 0xa8(%rsp), %rdi
movb $0x0, 0xb4(%rdi)
movb $0x0, 0xb5(%rdi)
addq $0x120, %rdi            # imm = 0x120
callq 0xa580
movq %rax, 0x170(%rsp)
leaq 0x170(%rsp), %rdi
callq 0xa5b0
movq %rax, %rcx
movq 0xa8(%rsp), %rax
movq %rcx, 0x178(%rsp)
cmpl $0x0, 0xb0(%rax)
jne 0x99fb
movq 0xa8(%rsp), %rax
movq $0x1, 0xc0(%rax)
testb $0x1, 0x197(%rsp)
je 0x9858
movq $0x0, 0x168(%rsp)
movq 0xa8(%rsp), %rcx
movq 0x168(%rsp), %rax
cmpq 0x78(%rcx), %rax
jae 0x9853
movq 0x188(%rsp), %rax
movq 0x168(%rsp), %rcx
xorps %xmm0, %xmm0
ucomisd (%rax,%rcx,8), %xmm0
jb 0x983b
movq 0x168(%rsp), %rdi
callq 0xa5c0
jmp 0x983d
movq 0x168(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x168(%rsp)
jmp 0x97fe
jmp 0x98e2
movq 0xa8(%rsp), %rdi
addq $0x138, %rdi            # imm = 0x138
callq 0xa580
movq %rax, %rcx
movq 0xa8(%rsp), %rax
movq %rcx, 0x160(%rsp)
movq 0x78(%rax), %rsi
movsd 0x47d5(%rip), %xmm0     # 0xe060
movsd %xmm0, 0x158(%rsp)
movq 0x160(%rsp), %rdi
leaq 0x158(%rsp), %rdx
callq 0xa6d0
movq 0xa8(%rsp), %rdi
movq %rax, 0x150(%rsp)
addq $0x138, %rdi            # imm = 0x138
callq 0xa580
movq %rax, 0x148(%rsp)
leaq 0x148(%rsp), %rdi
callq 0xa5b0
movq %rax, 0x188(%rsp)
movq $0x0, 0x140(%rsp)
movq 0xa8(%rsp), %rcx
movq 0x140(%rsp), %rax
cmpq 0x78(%rcx), %rax
jae 0x9982
movq 0xa8(%rsp), %rcx
movq 0x198(%rsp), %rax
movq 0x140(%rsp), %rdx
movsd (%rax,%rdx,8), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rdx # imm = 0x8000000000000000
xorq %rdx, %rax
movq %rax, %xmm0
movq 0x188(%rsp), %rax
movq 0x140(%rsp), %rdx
mulsd (%rax,%rdx,8), %xmm0
movq 0x178(%rsp), %rax
movq 0xf8(%rcx), %rcx
addq 0x140(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x140(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x140(%rsp)
jmp 0x98ee
movq 0xa8(%rsp), %rax
movq 0x78(%rax), %rdi
movq 0x198(%rsp), %rsi
movq 0x198(%rsp), %rdx
callq 0x5c60
callq 0x31b0
movsd %xmm0, 0x138(%rsp)
movsd 0x138(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x99d2
jp 0x99d2
movb $0x0, 0x1bf(%rsp)
jmp 0xa55b
movq 0xa8(%rsp), %rax
movsd 0x467e(%rip), %xmm0     # 0xe060
divsd 0x138(%rsp), %xmm0
movsd %xmm0, 0xd0(%rax)
movb $0x1, 0x187(%rsp)
testb $0x1, 0x187(%rsp)
je 0x9bf1
movq 0xa8(%rsp), %rax
movq 0xb8(%rax), %rcx
movq %rcx, 0x110(%rax)
movq 0xb8(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0xb8(%rax)
movl $0x0, 0x108(%rax)
cmpq $0x1, 0xb8(%rax)
je 0x9bef
movq 0xa8(%rsp), %rcx
movq 0xb8(%rcx), %rax
cmpq 0x80(%rcx), %rax
jbe 0x9a77
movq 0xa8(%rsp), %rax
movq 0x80(%rax), %rcx
movq %rcx, 0x110(%rax)
movq 0xa8(%rsp), %rax
movq 0x78(%rax), %rdi
movq 0x178(%rsp), %rsi
movq 0x100(%rax), %rdx
addq 0xf0(%rax), %rdx
movq 0x178(%rsp), %r8
movq 0xf8(%rax), %r9
addq 0xf0(%rax), %r9
movl $0x1, %ecx
movq $0x1, (%rsp)
callq 0x5cf0
movq 0xa8(%rsp), %rax
movsd %xmm0, 0xe0(%rax)
testb $0x1, 0x197(%rsp)
jne 0x9bc7
movq 0xa8(%rsp), %rax
movq 0x78(%rax), %rdi
movq 0x178(%rsp), %rsi
movq 0x100(%rax), %rdx
addq 0xf0(%rax), %rdx
movq 0x178(%rsp), %r8
movq 0x100(%rax), %r9
addq 0xf0(%rax), %r9
movl $0x1, %ecx
movq $0x1, (%rsp)
callq 0x5cf0
movq 0xa8(%rsp), %rdi
movsd %xmm0, 0x130(%rsp)
addq $0x138, %rdi            # imm = 0x138
callq 0xa580
movq %rax, %rcx
movq 0xa8(%rsp), %rax
movq %rcx, 0x128(%rsp)
movq 0x78(%rax), %rsi
movsd 0xe0(%rax), %xmm0
divsd 0x130(%rsp), %xmm0
movsd %xmm0, 0x120(%rsp)
movq 0x128(%rsp), %rdi
leaq 0x120(%rsp), %rdx
callq 0xa6d0
movq 0xa8(%rsp), %rdi
movq %rax, 0x118(%rsp)
addq $0x138, %rdi            # imm = 0x138
callq 0xa580
movq %rax, 0x110(%rsp)
leaq 0x110(%rsp), %rdi
callq 0xa5b0
movq %rax, 0x188(%rsp)
jmp 0x9bed
movq 0xa8(%rsp), %rax
movl $0x2, 0xb0(%rax)
movb $0x1, 0xb5(%rax)
movb $0x1, 0x1bf(%rsp)
jmp 0xa55b
jmp 0x9bef
jmp 0x9bf1
testb $0x1, 0x187(%rsp)
jne 0x9c10
movq 0xa8(%rsp), %rax
cmpl $0x2, 0xb0(%rax)
jne 0xa219
movq 0xa8(%rsp), %rax
cmpq $0x1, 0xb8(%rax)
je 0xa1af
cmpq $0x0, 0x188(%rsp)
jne 0x9c72
movl $0x28, %edi
callq 0x3100
movq %rax, %rdi
movq %rdi, 0xa0(%rsp)
leaq 0x48c9(%rip), %rsi      # 0xe516
movl $0x51f, %edx            # imm = 0x51F
callq 0xa740
movq 0xa0(%rsp), %rdi
leaq 0x8002(%rip), %rsi      # 0x11c68
leaq 0xc33(%rip), %rdx       # 0xa8a0
callq 0x3380
testb $0x1, 0x197(%rsp)
je 0x9cdf
movq $0x0, 0x108(%rsp)
movq 0xa8(%rsp), %rcx
movq 0x108(%rsp), %rax
cmpq 0x78(%rcx), %rax
jae 0x9cdd
movq 0x188(%rsp), %rax
movq 0x108(%rsp), %rcx
xorps %xmm0, %xmm0
ucomisd (%rax,%rcx,8), %xmm0
jb 0x9cc5
movq 0x108(%rsp), %rdi
callq 0xa5c0
jmp 0x9cc7
movq 0x108(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x108(%rsp)
jmp 0x9c88
jmp 0x9cdf
movq 0xa8(%rsp), %rax
movq 0xe8(%rax), %rcx
movq %rcx, 0x100(%rsp)
cmpq $0x0, 0xe8(%rax)
jne 0x9d17
movq 0xa8(%rsp), %rax
movq 0x80(%rax), %rax
movq %rax, 0x100(%rsp)
movq 0xa8(%rsp), %rcx
movsd 0x4339(%rip), %xmm0     # 0xe060
divsd 0xe0(%rcx), %xmm0
movq 0x178(%rsp), %rax
movq 0x78(%rcx), %rcx
addq 0x100(%rsp), %rcx
subq $0x1, %rcx
movsd %xmm0, (%rax,%rcx,8)
movq $0x0, 0xf8(%rsp)
movq 0xa8(%rsp), %rcx
movq 0xf8(%rsp), %rax
cmpq 0x78(%rcx), %rax
jae 0x9dc5
movq 0x198(%rsp), %rax
movq 0xf8(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movq 0x178(%rsp), %rax
movq 0xf8(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0xf8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xf8(%rsp)
jmp 0x9d58
movq 0xa8(%rsp), %rax
movq 0xe8(%rax), %rax
movq %rax, 0x100(%rsp)
movq $0x0, 0xf8(%rsp)
movq 0xa8(%rsp), %rcx
movq 0xf8(%rsp), %rax
cmpq 0x110(%rcx), %rax
jae 0x9f6d
cmpq $0x0, 0x100(%rsp)
jne 0x9e27
movq 0xa8(%rsp), %rax
movq 0x80(%rax), %rax
movq %rax, 0x100(%rsp)
movq 0xa8(%rsp), %rcx
movq 0x100(%rsp), %rax
addq $-0x1, %rax
movq %rax, 0x100(%rsp)
movq 0x78(%rcx), %rdi
movq 0x178(%rsp), %rsi
movq 0xf8(%rcx), %rdx
movq 0x100(%rsp), %rax
imulq 0x78(%rcx), %rax
addq %rax, %rdx
movq 0x178(%rsp), %r8
movl $0x1, %ecx
xorl %eax, %eax
movl %eax, %r9d
movq $0x1, (%rsp)
callq 0x5cf0
movq 0xa8(%rsp), %rax
movsd %xmm0, 0xf0(%rsp)
movq 0x78(%rax), %rcx
addq 0x80(%rax), %rcx
addq 0x100(%rsp), %rcx
movq %rcx, 0xe8(%rsp)
movq 0x100(%rax), %rcx
movq 0x100(%rsp), %rdx
imulq 0x78(%rax), %rdx
addq %rdx, %rcx
movq %rcx, 0xe0(%rsp)
movq 0x178(%rsp), %rcx
movq 0x78(%rax), %rdx
addq 0x100(%rsp), %rdx
movsd (%rcx,%rdx,8), %xmm0
mulsd 0xf0(%rsp), %xmm0
movq 0x178(%rsp), %rcx
movq 0xe8(%rsp), %rdx
movsd %xmm0, (%rcx,%rdx,8)
movq 0x78(%rax), %rdi
movq 0x178(%rsp), %rax
movq 0xe8(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movq 0x178(%rsp), %rsi
movq 0xe0(%rsp), %rdx
movq 0x178(%rsp), %rcx
callq 0xa8b0
movq 0xf8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xf8(%rsp)
jmp 0x9de8
movq $0x0, 0xf8(%rsp)
movq 0xa8(%rsp), %rcx
movq 0xf8(%rsp), %rax
cmpq 0x78(%rcx), %rax
jae 0x9fd4
movq 0x188(%rsp), %rax
movq 0xf8(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x178(%rsp), %rax
movq 0xf8(%rsp), %rcx
mulsd (%rax,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
movq 0xf8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xf8(%rsp)
jmp 0x9f79
movq $0x0, 0xf8(%rsp)
movq 0xa8(%rsp), %rcx
movq 0xf8(%rsp), %rax
cmpq 0x110(%rcx), %rax
jae 0xa162
movq 0xa8(%rsp), %rcx
movq 0x78(%rcx), %rdi
movq 0x178(%rsp), %rsi
movq 0x100(%rcx), %rdx
movq 0x100(%rsp), %rax
imulq 0x78(%rcx), %rax
addq %rax, %rdx
movq 0x178(%rsp), %r8
movl $0x1, %ecx
xorl %eax, %eax
movl %eax, %r9d
movq $0x1, (%rsp)
callq 0x5cf0
movq 0xa8(%rsp), %rax
movsd %xmm0, 0xd8(%rsp)
movq 0x178(%rsp), %rcx
movq 0x78(%rax), %rdx
addq 0x100(%rsp), %rdx
movsd (%rcx,%rdx,8), %xmm0
mulsd 0xd8(%rsp), %xmm0
movsd %xmm0, 0xd0(%rsp)
movq 0x78(%rax), %rcx
addq 0x80(%rax), %rcx
addq 0x100(%rsp), %rcx
movq %rcx, 0xc8(%rsp)
movq 0x178(%rsp), %rcx
movq 0xc8(%rsp), %rdx
movsd (%rcx,%rdx,8), %xmm0
subsd 0xd0(%rsp), %xmm0
movsd %xmm0, 0xd0(%rsp)
movq 0xf8(%rax), %rcx
movq 0x100(%rsp), %rdx
imulq 0x78(%rax), %rdx
addq %rdx, %rcx
movq %rcx, 0xc0(%rsp)
movq 0x78(%rax), %rdi
movsd 0xd0(%rsp), %xmm0
movq 0x178(%rsp), %rsi
movq 0xc0(%rsp), %rdx
movq 0x178(%rsp), %rcx
callq 0xa8b0
movq 0xa8(%rsp), %rcx
movq 0x100(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x100(%rsp)
movq 0x100(%rsp), %rax
cmpq 0x80(%rcx), %rax
jne 0xa147
movq $0x0, 0x100(%rsp)
jmp 0xa149
movq 0xf8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xf8(%rsp)
jmp 0x9fe0
movq 0xa8(%rsp), %r8
movq 0x178(%rsp), %rdi
movq 0x178(%rsp), %rsi
movq 0x78(%r8), %rax
shlq $0x3, %rax
addq %rax, %rsi
movq 0x178(%rsp), %rdx
movq 0xf8(%r8), %rax
movq 0xe8(%r8), %rcx
imulq 0x78(%r8), %rcx
addq %rcx, %rax
shlq $0x3, %rax
addq %rax, %rdx
callq 0xa910
movq 0xa8(%rsp), %rax
movsd 0x3ea1(%rip), %xmm0     # 0xe060
movsd %xmm0, 0xc8(%rax)
cmpq $0x1, 0xb8(%rax)
jne 0xa1e9
movq 0xa8(%rsp), %rax
movsd 0xd0(%rax), %xmm0
movsd %xmm0, 0xc8(%rax)
movq 0xa8(%rsp), %rax
movq 0x198(%rsp), %rdi
movq 0x198(%rsp), %rsi
movq 0x78(%rax), %rax
shlq $0x3, %rax
addq %rax, %rsi
movq 0x178(%rsp), %rdx
callq 0xa960
movq 0xa8(%rsp), %rdi
movq %rdi, %rax
addq $0x90, %rax
movq %rax, 0x50(%rsp)
movq %rdi, %rax
addq $0xa0, %rax
movq %rax, 0x58(%rsp)
movq %rdi, %rax
addq $0xa8, %rax
movq %rax, 0x60(%rsp)
movq 0x78(%rdi), %rax
movq %rax, 0x68(%rsp)
movq 0x1a8(%rsp), %rax
movq %rax, 0x70(%rsp)
movsd 0x1a0(%rsp), %xmm0
movsd %xmm0, 0x78(%rsp)
movq 0x198(%rsp), %r13
movq 0x178(%rsp), %r12
movq 0xf8(%rdi), %r15
movq 0xe8(%rdi), %rax
imulq 0x78(%rdi), %rax
addq %rax, %r15
movq %rdi, %r14
addq $0xc8, %r14
movsd 0xd8(%rdi), %xmm0
movsd %xmm0, 0x80(%rsp)
movsd 0x98(%rdi), %xmm0
movsd %xmm0, 0x88(%rsp)
movq 0x88(%rdi), %rbx
movq %rdi, %rax
addq $0x108, %rax            # imm = 0x108
movq %rax, 0x90(%rsp)
movq %rdi, %rax
addq $0x118, %rax            # imm = 0x118
movq %rax, 0x98(%rsp)
addq $0x138, %rdi            # imm = 0x138
callq 0xa580
movq %rax, 0xb8(%rsp)
leaq 0xb8(%rsp), %rdi
callq 0xa5b0
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq 0x60(%rsp), %rcx
movq 0x68(%rsp), %r8
movq 0x70(%rsp), %r9
movsd 0x78(%rsp), %xmm0
movsd 0x80(%rsp), %xmm1
movsd 0x88(%rsp), %xmm2
movq 0x90(%rsp), %r11
movq 0x98(%rsp), %r10
movq 0xa8(%rsp), %rdi
movq %r13, (%rsp)
movq %r12, 0x8(%rsp)
movq %r15, 0x10(%rsp)
movq %r14, 0x18(%rsp)
movq %rbx, 0x20(%rsp)
movq %r11, 0x28(%rsp)
movq %r10, 0x30(%rsp)
movq %rax, 0x38(%rsp)
callq 0xa9b0
movq 0xa8(%rsp), %rax
cmpl $-0x1, 0x108(%rax)
jne 0xa3b8
movq 0xa8(%rsp), %rax
movl $0x1, 0xb0(%rax)
movb $0x1, 0xb4(%rax)
movb $0x1, 0x1bf(%rsp)
jmp 0xa55b
movq 0xa8(%rsp), %rax
cmpl $0x1, 0x108(%rax)
je 0xa404
movl $0x28, %edi
callq 0x3100
movq %rax, %rdi
movq %rdi, 0x48(%rsp)
leaq 0x4134(%rip), %rsi      # 0xe516
movl $0x557, %edx            # imm = 0x557
callq 0xa740
movq 0x48(%rsp), %rdi
leaq 0x7870(%rip), %rsi      # 0x11c68
leaq 0x4a1(%rip), %rdx       # 0xa8a0
callq 0x3380
movq 0xa8(%rsp), %rax
movq 0x118(%rax), %rcx
addq 0xc0(%rax), %rcx
movq %rcx, 0xc0(%rax)
movq 0xe8(%rax), %rcx
imulq 0x78(%rax), %rcx
movq %rcx, 0xf0(%rax)
movq $0x0, 0xb0(%rsp)
movq 0xa8(%rsp), %rcx
movq 0xb0(%rsp), %rax
cmpq 0x78(%rcx), %rax
jae 0xa516
movq 0xa8(%rsp), %rdx
movsd 0xc8(%rdx), %xmm0
movq 0x178(%rsp), %rax
movq 0xf8(%rdx), %rcx
addq 0xf0(%rdx), %rcx
addq 0xb0(%rsp), %rcx
mulsd (%rax,%rcx,8), %xmm0
movq 0x178(%rsp), %rax
movq 0xf8(%rdx), %rcx
addq 0xf0(%rdx), %rcx
addq 0xb0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0x198(%rsp), %rax
movq 0xb0(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq 0x178(%rsp), %rax
movq 0xb0(%rsp), %rcx
subsd (%rax,%rcx,8), %xmm0
movq 0x178(%rsp), %rax
movq 0x100(%rdx), %rcx
addq 0xf0(%rdx), %rcx
addq 0xb0(%rsp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movq 0xb0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0xb0(%rsp)
jmp 0xa440
movq 0xa8(%rsp), %rcx
movq 0xe8(%rcx), %rax
addq $0x1, %rax
movq %rax, 0xe8(%rcx)
movq 0xe8(%rcx), %rax
cmpq 0x80(%rcx), %rax
jne 0xa553
movq 0xa8(%rsp), %rax
movq $0x0, 0xe8(%rax)
movb $0x0, 0x1bf(%rsp)
movb 0x1bf(%rsp), %al
andb $0x1, %al
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
nopw %cs:(%rax,%rax)
nop