// File: /workspace/github_cpp_makefile_star2_O1/j-faria[P]kima/examples/trends/../../celerite/cpp/include/celerite/solver/cholesky.h
// Function: celerite::solver::CholeskySolver<double, -1>::dot_L(Eigen::Matrix<double, -1, -1, 0, -1, -1> const&) const
matrix_t dot_L (const Eigen::MatrixXd& z) const {
  if (z.rows() != this->N_) throw dimension_mismatch();
  if (!(this->computed_)) throw compute_exception();

  T tmp;
  int N = z.rows(), nrhs = z.cols();
  Eigen::Array<T, Eigen::Dynamic, 1> D = sqrt(D_.array());
  vector_j_t f(J_);
  matrix_t y(N, nrhs);

  for (int k = 0; k < nrhs; ++k) {
    f.setZero();
    tmp = z(0, k) * D(0);
    y(0, k) = tmp;
    for (int n = 1; n < N; ++n) {
      f = phi_.col(n-1).asDiagonal() * (f + W_.col(n-1) * tmp);
      tmp = D(n) * z(n, k);
      y(n, k) = tmp + u_.col(n-1).transpose().dot(f);
    }
  }

  return y;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq 0x8(%rdx), %r15
movslq 0xc(%rsi), %rax
cmpq %rax, %r15
jne 0x33407
movq %rsi, %r12
cmpb $0x0, 0x8(%rsi)
je 0x33424
movq %rdx, %r14
movq %rdi, %rbp
movq 0x10(%rdx), %r13
leaq 0x68(%r12), %rax
leaq 0x90(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x28(%rsp), %rdi
callq 0x352b2
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
movslq 0x18(%r12), %rbx
testq %rbx, %rbx
js 0x3344e
cmpq %rbx, 0x8(%rsp)
je 0x32d3d
movq (%rsp), %rdi
callq 0x64d0
testl %ebx, %ebx
je 0x32d35
leaq (,%rbx,8), %rdi
callq 0x6520
cmpl $0x1, %ebx
setne %cl
testb $0xf, %al
setne %dl
testb %dl, %cl
jne 0x333ce
testq %rax, %rax
je 0x334b5
movq %rax, (%rsp)
jmp 0x32d3d
movq $0x0, (%rsp)
movq %rbx, 0x8(%rsp)
xorpd %xmm0, %xmm0
movupd %xmm0, (%rbp)
movq $0x0, 0x10(%rbp)
movslq %r15d, %r8
movslq %r13d, %rcx
movq %rcx, %rax
orq %r8, %rax
js 0x3346d
testl %r15d, %r15d
sete %al
testl %r13d, %r13d
sete %dl
orb %al, %dl
jne 0x32d8d
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
xorl %edx, %edx
idivq %rcx
cmpq %r8, %rax
jl 0x33487
movq %r15, 0x38(%rsp)
movq %rcx, %rsi
imulq %r8, %rsi
movq %rbp, %rdi
movq %r8, %rdx
callq 0x18da4
testl %r13d, %r13d
jle 0x33204
leaq 0x20(%r12), %rax
movq %rax, 0x78(%rsp)
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
andq %rax, %r13
movq 0x38(%rsp), %rcx
andq %rax, %rcx
movq %rcx, 0x70(%rsp)
xorl %r15d, %r15d
movq %rbp, 0x20(%rsp)
movq %r14, 0x80(%rsp)
movq %r12, 0x48(%rsp)
movq %r13, 0x68(%rsp)
movq 0x8(%rsp), %r12
testq %r12, %r12
js 0x333ed
movq (%rsp), %r13
movq %r12, %rbx
movabsq $0x7ffffffffffffffe, %rax # imm = 0x7FFFFFFFFFFFFFFE
andq %rax, %rbx
cmpq $0x2, %r12
jl 0x32e28
leaq -0x8(,%rbx,8), %rdx
andq $-0x10, %rdx
addq $0x10, %rdx
movq %r13, %rdi
xorl %esi, %esi
callq 0x6220
cmpq %r12, %rbx
jge 0x32e4c
shlq $0x3, %r12
movq %r12, %rax
andq $-0x10, %rax
addq %rax, %r13
andl $0x8, %r12d
movq %r13, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x6220
movq 0x8(%r14), %rax
testq %rax, %rax
jle 0x3326a
cmpq %r15, 0x10(%r14)
jle 0x3326a
cmpq $0x0, 0x30(%rsp)
movq 0x48(%rsp), %r12
movq 0x38(%rsp), %rsi
jle 0x33289
movq 0x8(%rbp), %rcx
testq %rcx, %rcx
jle 0x332a8
cmpq %r15, 0x10(%rbp)
jle 0x332a8
imulq %r15, %rax
movq (%r14), %rdx
movsd (%rdx,%rax,8), %xmm3
movq 0x28(%rsp), %rax
mulsd (%rax), %xmm3
imulq %r15, %rcx
movq (%rbp), %rax
movsd %xmm3, (%rax,%rcx,8)
cmpl $0x2, %esi
jl 0x331f3
movl $0x1, %r13d
xorl %r9d, %r9d
movq %r15, 0x88(%rsp)
movq 0x38(%r12), %r14
movq 0x40(%r12), %r15
testq %r14, %r14
sete %al
testq %r15, %r15
setns %cl
orb %al, %cl
je 0x3322c
cmpq %r13, 0x48(%r12)
jl 0x3324b
movq 0x50(%r12), %rbp
movq 0x58(%r12), %rbx
testq %rbp, %rbp
sete %al
testq %rbx, %rbx
setns %cl
orb %al, %cl
je 0x3322c
cmpq %r13, 0x60(%r12)
jl 0x3324b
testq %rbx, %rbx
js 0x33343
movq 0x8(%rsp), %rax
cmpq %rbx, %rax
jne 0x33305
cmpq %rbx, %r15
jne 0x33324
movq (%rsp), %r12
cmpq %r15, %rax
je 0x32fc1
testq %r15, %r15
js 0x333af
movapd %xmm3, 0x50(%rsp)
movq %r9, 0x40(%rsp)
movq %r12, %rdi
callq 0x64d0
testq %r15, %r15
je 0x32fab
movq %r15, %rax
shrq $0x3d, %rax
jne 0x33362
leaq (,%r15,8), %rdi
callq 0x6520
cmpq $0x1, %r15
setne %cl
testb $0xf, %al
setne %dl
testb %dl, %cl
jne 0x333ce
testq %rax, %rax
movq 0x40(%rsp), %r9
movapd 0x50(%rsp), %xmm3
jne 0x32fb8
jmp 0x33362
xorl %eax, %eax
movq 0x40(%rsp), %r9
movapd 0x50(%rsp), %xmm3
movq %rax, (%rsp)
movq %r15, 0x8(%rsp)
movq 0x8(%rsp), %rax
cmpq %r15, %rax
jne 0x332c7
movq (%rsp), %rcx
movq %rax, %rdx
shrq $0x3f, %rdx
addq %rax, %rdx
andq $-0x2, %rdx
cmpq $0x2, %rax
jl 0x33033
movapd %xmm3, %xmm0
unpcklpd %xmm3, %xmm0            # xmm0 = xmm0[0],xmm3[0]
movq %r15, %rsi
imulq %r9, %rsi
addq %r14, %rsi
movq %rbx, %rdi
imulq %r9, %rdi
addq %rbp, %rdi
xorl %r8d, %r8d
movupd (%r12,%r8,8), %xmm1
movupd (%rdi,%r8,8), %xmm2
mulpd %xmm0, %xmm2
addpd %xmm1, %xmm2
movupd (%rsi,%r8,8), %xmm1
mulpd %xmm2, %xmm1
movapd %xmm1, (%rcx,%r8,8)
addq $0x2, %r8
cmpq %rdx, %r8
jl 0x33006
cmpq %rax, %rdx
jge 0x33069
imulq %r9, %rbx
addq %rbx, %rbp
imulq %r9, %r15
addq %r15, %r14
movsd (%rbp,%rdx,8), %xmm0
mulsd %xmm3, %xmm0
addsd (%r12,%rdx,8), %xmm0
mulsd (%r14,%rdx,8), %xmm0
movsd %xmm0, (%rcx,%rdx,8)
incq %rdx
cmpq %rdx, %rax
jne 0x33046
cmpq %r13, 0x30(%rsp)
jle 0x33289
movq 0x80(%rsp), %r14
movq 0x8(%r14), %rax
cmpq %r13, %rax
movq 0x88(%rsp), %r15
jle 0x3326a
cmpq %r15, 0x10(%r14)
jle 0x3326a
movq 0x48(%rsp), %r12
movq 0x20(%r12), %rdx
movq 0x28(%r12), %rcx
testq %rdx, %rdx
sete %sil
testq %rcx, %rcx
setns %dil
orb %sil, %dil
je 0x3322c
cmpq %r13, 0x30(%r12)
jl 0x3324b
movq 0x8(%rsp), %rsi
cmpq %rsi, %rcx
jne 0x332e6
movq 0x28(%rsp), %rdi
movsd (%rdi,%r13,8), %xmm3
imulq %r15, %rax
shlq $0x3, %rax
addq (%r14), %rax
mulsd (%rax,%r13,8), %xmm3
leaq -0x1(%r13), %rdi
movq %rcx, %rax
imulq %rdi, %rax
leaq (%rdx,%rax,8), %rax
movq %rax, 0x90(%rsp)
movq %rcx, 0x98(%rsp)
movq 0x78(%rsp), %rdx
movq %rdx, 0xa8(%rsp)
movq $0x0, 0xb0(%rsp)
movq %rdi, 0xb8(%rsp)
movq %rcx, 0xc0(%rsp)
movq %rsp, %rcx
movq %rcx, 0xc8(%rsp)
testq %rsi, %rsi
je 0x331ab
movq 0x20(%rsp), %rbp
jle 0x33390
movapd %xmm3, 0x50(%rsp)
movq %r9, %rbx
movq %rax, 0xd8(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq (%rsp), %rax
movq %rax, 0xf0(%rsp)
leaq 0xd8(%rsp), %rdi
leaq 0x1f(%rsp), %rsi
leaq 0x90(%rsp), %rdx
callq 0x20880
movq %rbx, %r9
movapd 0x50(%rsp), %xmm3
jmp 0x331b4
xorpd %xmm0, %xmm0
movq 0x20(%rsp), %rbp
movq 0x8(%rbp), %rax
cmpq %r13, %rax
jle 0x332a8
cmpq %r15, 0x10(%rbp)
jle 0x332a8
imulq %r15, %rax
shlq $0x3, %rax
addq (%rbp), %rax
addsd %xmm3, %xmm0
movsd %xmm0, (%rax,%r13,8)
incq %r13
addq $0x8, %r9
cmpq 0x70(%rsp), %r13
jne 0x32ecc
incq %r15
movq 0x68(%rsp), %r13
cmpq %r13, %r15
jne 0x32de6
movq (%rsp), %rdi
callq 0x64d0
movq 0x28(%rsp), %rdi
callq 0x64d0
movq %rbp, %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xd956(%rip), %rdi      # 0x40b89
leaq 0x130bb(%rip), %rsi     # 0x462f5
leaq 0x110ed(%rip), %rcx     # 0x4432e
movl $0xb0, %edx
callq 0x62b0
leaq 0xd7e2(%rip), %rdi      # 0x40a34
leaq 0x13079(%rip), %rsi     # 0x462d2
leaq 0x11014(%rip), %rcx     # 0x44274
movl $0x7a, %edx
callq 0x62b0
leaq 0xcb4b(%rip), %rdi      # 0x3fdbc
leaq 0x12f7d(%rip), %rsi     # 0x461f5
leaq 0x106f9(%rip), %rcx     # 0x43978
movl $0x77, %edx
callq 0x62b0
leaq 0xd06f(%rip), %rdi      # 0x402ff
leaq 0x12f5e(%rip), %rsi     # 0x461f5
leaq 0x140a2(%rip), %rcx     # 0x47340
movl $0x1ab, %edx            # imm = 0x1AB
callq 0x62b0
leaq 0xcb0d(%rip), %rdi      # 0x3fdbc
leaq 0x12f3f(%rip), %rsi     # 0x461f5
leaq 0xcb34(%rip), %rcx      # 0x3fdf1
movl $0x16f, %edx            # imm = 0x16F
callq 0x62b0
leaq 0xd43d(%rip), %rdi      # 0x4070b
leaq 0x12119(%rip), %rsi     # 0x453ee
leaq 0x117db(%rip), %rcx     # 0x44ab7
movl $0x2eb, %edx            # imm = 0x2EB
callq 0x62b0
leaq 0x11a5b(%rip), %rdi     # 0x44d48
leaq 0x13e76(%rip), %rsi     # 0x4716a
leaq 0x11a64(%rip), %rcx     # 0x44d5f
movl $0x52, %edx
callq 0x62b0
leaq 0xfc8c(%rip), %rdi      # 0x42f98
leaq 0x12301(%rip), %rsi     # 0x45614
leaq 0x114a5(%rip), %rcx     # 0x447bf
movl $0x74, %edx
callq 0x62b0
leaq 0xe3df(%rip), %rdi      # 0x4170a
leaq 0x121ca(%rip), %rsi     # 0x454fc
leaq 0x110be(%rip), %rcx     # 0x443f7
movl $0x62, %edx
callq 0x62b0
leaq 0xe479(%rip), %rdi      # 0x417c3
leaq 0x1251a(%rip), %rsi     # 0x4586b
leaq 0xfb3d(%rip), %rcx      # 0x42e95
movl $0x4a, %edx
callq 0x62b0
movl $0x8, %edi
callq 0x61d0
movq 0x1fbf5(%rip), %rcx     # 0x52f68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x1fc1f(%rip), %rsi     # 0x52fa0
movq 0x1fbc8(%rip), %rdx     # 0x52f50
movq %rax, %rdi
callq 0x66c0
leaq 0xdbc9(%rip), %rdi      # 0x40f60
leaq 0x122a1(%rip), %rsi     # 0x4563f
leaq 0x11b68(%rip), %rcx     # 0x44f0d
movl $0x19b, %edx            # imm = 0x19B
callq 0x62b0
leaq 0xcfed(%rip), %rdi      # 0x403a3
leaq 0x11fdb(%rip), %rsi     # 0x45398
leaq 0xd2ce(%rip), %rcx      # 0x40692
movl $0x11d, %edx            # imm = 0x11D
callq 0x62b0
leaq 0xcba8(%rip), %rdi      # 0x3ff7d
leaq 0x11fe9(%rip), %rsi     # 0x453c5
leaq 0xcc55(%rip), %rcx      # 0x40038
movl $0xb8, %edx
callq 0x62b0
leaq 0xe3cf(%rip), %rdi      # 0x417c3
leaq 0x12470(%rip), %rsi     # 0x4586b
leaq 0xe456(%rip), %rcx      # 0x41858
jmp 0x33358
movl $0x8, %edi
callq 0x61d0
leaq 0x1f3c8(%rip), %rcx     # 0x527e0
movq %rcx, (%rax)
leaq 0x1f37e(%rip), %rsi     # 0x527a0
jmp 0x3343f
movl $0x8, %edi
callq 0x61d0
leaq 0x1f3d3(%rip), %rcx     # 0x52808
movq %rcx, (%rax)
leaq 0x1f379(%rip), %rsi     # 0x527b8
movq 0x1fb8a(%rip), %rdx     # 0x52fd0
movq %rax, %rdi
callq 0x66c0
leaq 0xca2c(%rip), %rdi      # 0x3fe81
leaq 0x11f3c(%rip), %rsi     # 0x45398
leaq 0xcaa8(%rip), %rcx      # 0x3ff0b
movl $0x138, %edx            # imm = 0x138
callq 0x62b0
leaq 0xcf2f(%rip), %rdi      # 0x403a3
leaq 0x11f1d(%rip), %rsi     # 0x45398
leaq 0xd0b0(%rip), %rcx      # 0x40532
jmp 0x333c4
movl $0x8, %edi
callq 0x61d0
movq 0x1fad0(%rip), %rcx     # 0x52f68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x1fafa(%rip), %rsi     # 0x52fa0
movq 0x1faa3(%rip), %rdx     # 0x52f50
movq %rax, %rdi
callq 0x66c0
movl $0x8, %edi
callq 0x61d0
movq 0x1faa2(%rip), %rcx     # 0x52f68
addq $0x10, %rcx
movq %rcx, (%rax)
movq 0x1facc(%rip), %rsi     # 0x52fa0
movq 0x1fa75(%rip), %rdx     # 0x52f50
movq %rax, %rdi
callq 0x66c0
movq %rax, %r14
jmp 0x33500
jmp 0x334ea
movq %rax, %r14
jmp 0x334f7
movq %rax, %r14
movq 0x20(%rsp), %rbp
movq (%rbp), %rdi
callq 0x64d0
movq (%rsp), %rdi
callq 0x64d0
movq 0x28(%rsp), %rdi
callq 0x64d0
movq %r14, %rdi
callq 0x6710
nop