void kernel_dtrtri_4x2_lib4(int kmax, double *A, double *B, double *C,
                            double *E, int use_inv_diag_E, double *inv_diag_E) {
  const int bs = 4;
  int k;
  double a_0, a_1, a_2, a_3, b_0, b_1, c_00 = 0, c_01 = 0, c_10 = 0, c_11 = 0,
                                       c_20 = 0, c_21 = 0, c_30 = 0, c_31 = 0;
  a_0 = A[0 + bs * 0];
  b_0 = B[0 + bs * 0];
  b_1 = B[1 + bs * 0];
  c_00 -= a_0 * b_0;
  c_01 -= a_0 * b_1;
  a_0 = A[0 + bs * 1];
  a_1 = A[1 + bs * 1];
  b_0 = B[0 + bs * 1];
  b_1 = B[1 + bs * 1];
  c_00 -= a_0 * b_0;
  c_10 -= a_1 * b_0;
  c_01 -= a_0 * b_1;
  c_11 -= a_1 * b_1;
  a_0 = A[0 + bs * 2];
  a_1 = A[1 + bs * 2];
  a_2 = A[2 + bs * 2];
  b_0 = B[0 + bs * 2];
  b_1 = B[1 + bs * 2];
  c_00 -= a_0 * b_0;
  c_10 -= a_1 * b_0;
  c_20 -= a_2 * b_0;
  c_01 -= a_0 * b_1;
  c_11 -= a_1 * b_1;
  c_21 -= a_2 * b_1;
  a_0 = A[0 + bs * 3];
  a_1 = A[1 + bs * 3];
  a_2 = A[2 + bs * 3];
  a_3 = A[3 + bs * 3];
  b_0 = B[0 + bs * 3];
  b_1 = B[1 + bs * 3];
  c_00 -= a_0 * b_0;
  c_10 -= a_1 * b_0;
  c_20 -= a_2 * b_0;
  c_30 -= a_3 * b_0;
  c_01 -= a_0 * b_1;
  c_11 -= a_1 * b_1;
  c_21 -= a_2 * b_1;
  c_31 -= a_3 * b_1;
  A += 16;
  B += 16;
  k = 4;
  for (; k < kmax - 3; k += 4) {
    a_0 = A[0 + bs * 0];
    a_1 = A[1 + bs * 0];
    a_2 = A[2 + bs * 0];
    a_3 = A[3 + bs * 0];
    b_0 = B[0 + bs * 0];
    b_1 = B[1 + bs * 0];
    c_00 -= a_0 * b_0;
    c_10 -= a_1 * b_0;
    c_20 -= a_2 * b_0;
    c_30 -= a_3 * b_0;
    c_01 -= a_0 * b_1;
    c_11 -= a_1 * b_1;
    c_21 -= a_2 * b_1;
    c_31 -= a_3 * b_1;
    a_0 = A[0 + bs * 1];
    a_1 = A[1 + bs * 1];
    a_2 = A[2 + bs * 1];
    a_3 = A[3 + bs * 1];
    b_0 = B[0 + bs * 1];
    b_1 = B[1 + bs * 1];
    c_00 -= a_0 * b_0;
    c_10 -= a_1 * b_0;
    c_20 -= a_2 * b_0;
    c_30 -= a_3 * b_0;
    c_01 -= a_0 * b_1;
    c_11 -= a_1 * b_1;
    c_21 -= a_2 * b_1;
    c_31 -= a_3 * b_1;
    a_0 = A[0 + bs * 2];
    a_1 = A[1 + bs * 2];
    a_2 = A[2 + bs * 2];
    a_3 = A[3 + bs * 2];
    b_0 = B[0 + bs * 2];
    b_1 = B[1 + bs * 2];
    c_00 -= a_0 * b_0;
    c_10 -= a_1 * b_0;
    c_20 -= a_2 * b_0;
    c_30 -= a_3 * b_0;
    c_01 -= a_0 * b_1;
    c_11 -= a_1 * b_1;
    c_21 -= a_2 * b_1;
    c_31 -= a_3 * b_1;
    a_0 = A[0 + bs * 3];
    a_1 = A[1 + bs * 3];
    a_2 = A[2 + bs * 3];
    a_3 = A[3 + bs * 3];
    b_0 = B[0 + bs * 3];
    b_1 = B[1 + bs * 3];
    c_00 -= a_0 * b_0;
    c_10 -= a_1 * b_0;
    c_20 -= a_2 * b_0;
    c_30 -= a_3 * b_0;
    c_01 -= a_0 * b_1;
    c_11 -= a_1 * b_1;
    c_21 -= a_2 * b_1;
    c_31 -= a_3 * b_1;
    A += 16;
    B += 16;
  }
  double a_00, a_10, a_11;
  if (use_inv_diag_E) {
    a_00 = inv_diag_E[0];
    a_11 = inv_diag_E[1];
  } else {
    a_00 = 1.0 / E[0 + bs * 0];
    a_11 = 1.0 / E[1 + bs * 1];
  }
  c_00 *= a_00;
  c_10 *= a_00;
  c_20 *= a_00;
  c_30 *= a_00;
  C[0 + bs * 0] = c_00;
  C[1 + bs * 0] = c_10;
  C[2 + bs * 0] = c_20;
  C[3 + bs * 0] = c_30;
  a_10 = E[1 + bs * 0];
  c_01 -= c_00 * a_10;
  c_11 -= c_10 * a_10;
  c_21 -= c_20 * a_10;
  c_31 -= c_30 * a_10;
  c_01 *= a_11;
  c_11 *= a_11;
  c_21 *= a_11;
  c_31 *= a_11;
  C[0 + bs * 1] = c_01;
  C[1 + bs * 1] = c_11;
  C[2 + bs * 1] = c_21;
  C[3 + bs * 1] = c_31;
}


x86 assembly (clang, -O0):
<kernel_dtrtri_4x2_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
movl   $0x4,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x70(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x78(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x70(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0xa8(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x10(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x18(%rbp)
movl   $0x4,-0x34(%rbp)
mov    -0x34(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    1f29 <kernel_dtrtri_4x2_lib4+0xe29>
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0xa8(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0xa8(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0xa8(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x70(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0xa8(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x10(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x18(%rbp)
mov    -0x34(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x34(%rbp)
jmp    16c8 <kernel_dtrtri_4x2_lib4+0x5c8>
cmpl   $0x0,-0x2c(%rbp)
je     1f59 <kernel_dtrtri_4x2_lib4+0xe59>
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
mov    0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
jmp    1f8a <kernel_dtrtri_4x2_lib4+0xe8a>
mov    -0x28(%rbp),%rax
movsd  0x109b(%rip),%xmm0
divsd  (%rax),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
mov    -0x28(%rbp),%rax
movsd  0x1083(%rip),%xmm0
divsd  0x28(%rax),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x80(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x90(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0xa0(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
movsd  -0xb8(%rbp),%xmm2
ff
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x80(%rbp),%xmm0
movsd  -0xb8(%rbp),%xmm2
ff
movsd  -0x88(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0xb8(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0xb8(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
mulsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
mulsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
mulsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
mulsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x20(%rax)
movsd  -0x88(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x28(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x30(%rax)
movsd  -0xa8(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x38(%rax)
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dtrtri_4x2_lib4>:
sub    $0x18,%rsp
movsd  (%rsi),%xmm1
movsd  (%rdx),%xmm2
mulsd  %xmm1,%xmm2
xorpd  %xmm0,%xmm0
xorpd  %xmm3,%xmm3
subsd  %xmm2,%xmm3
mulsd  0x8(%rdx),%xmm1
xorpd  %xmm4,%xmm4
subsd  %xmm1,%xmm4
movupd 0x20(%rsi),%xmm5
movsd  0x20(%rdx),%xmm1
movsd  0x28(%rdx),%xmm6
unpcklpd %xmm1,%xmm1
movq   %xmm3,%xmm2
mulpd  %xmm5,%xmm1
subpd  %xmm1,%xmm2
unpcklpd %xmm6,%xmm6
movq   %xmm4,%xmm1
mulpd  %xmm5,%xmm6
subpd  %xmm6,%xmm1
movupd 0x40(%rsi),%xmm3
movsd  0x50(%rsi),%xmm4
movsd  0x40(%rdx),%xmm5
movsd  0x48(%rdx),%xmm6
movapd %xmm4,%xmm7
mulsd  %xmm5,%xmm7
unpcklpd %xmm5,%xmm5
mulpd  %xmm3,%xmm5
subpd  %xmm5,%xmm2
xorpd  %xmm5,%xmm5
subsd  %xmm7,%xmm5
mulsd  %xmm6,%xmm4
unpcklpd %xmm6,%xmm6
mulpd  %xmm3,%xmm6
subpd  %xmm6,%xmm1
subsd  %xmm4,%xmm0
movupd 0x60(%rsi),%xmm4
movupd 0x70(%rsi),%xmm6
movsd  0x60(%rdx),%xmm7
unpcklpd %xmm7,%xmm7
movapd %xmm4,%xmm3
mulpd  %xmm7,%xmm3
subpd  %xmm3,%xmm2
movq   %xmm5,%xmm3
mulpd  %xmm6,%xmm7
subpd  %xmm7,%xmm3
movsd  0x68(%rdx),%xmm5
unpcklpd %xmm5,%xmm5
mulpd  %xmm5,%xmm4
subpd  %xmm4,%xmm1
movq   %xmm0,%xmm0
mulpd  %xmm6,%xmm5
subpd  %xmm5,%xmm0
cmp    $0x8,%edi
jl     150c <kernel_dtrtri_4x2_lib4+0x40c>
add    $0xfffffffd,%edi
mov    $0x4,%r10d
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
movapd %xmm0,-0x50(%rsp)
movapd %xmm1,-0x40(%rsp)
movapd %xmm3,-0x20(%rsp)
movapd %xmm2,(%rsp)
movupd 0x80(%rsi,%rax,1),%xmm6
movupd 0x90(%rsi,%rax,1),%xmm4
movupd 0xa0(%rsi,%rax,1),%xmm8
movupd 0xb0(%rsi,%rax,1),%xmm9
movsd  0x80(%rdx,%rax,1),%xmm12
movsd  0x88(%rdx,%rax,1),%xmm5
movsd  0xa0(%rdx,%rax,1),%xmm15
movsd  0xa8(%rdx,%rax,1),%xmm11
unpcklpd %xmm12,%xmm12
movapd %xmm6,%xmm7
mulpd  %xmm12,%xmm7
subpd  %xmm7,%xmm2
movapd %xmm4,%xmm7
mulpd  %xmm12,%xmm7
subpd  %xmm7,%xmm3
unpcklpd %xmm5,%xmm5
movapd %xmm6,-0x60(%rsp)
movapd %xmm6,%xmm7
mulpd  %xmm5,%xmm7
subpd  %xmm7,%xmm1
movapd %xmm4,-0x30(%rsp)
movapd %xmm4,%xmm7
mulpd  %xmm5,%xmm7
subpd  %xmm7,%xmm0
unpcklpd %xmm15,%xmm15
movapd %xmm8,%xmm7
mulpd  %xmm15,%xmm7
subpd  %xmm7,%xmm2
movapd %xmm9,%xmm7
mulpd  %xmm15,%xmm7
subpd  %xmm7,%xmm3
unpcklpd %xmm11,%xmm11
movapd %xmm8,-0x80(%rsp)
movapd %xmm8,%xmm7
mulpd  %xmm11,%xmm7
subpd  %xmm7,%xmm1
movapd %xmm9,-0x10(%rsp)
movapd %xmm9,%xmm7
mulpd  %xmm11,%xmm7
subpd  %xmm7,%xmm0
movupd 0xc0(%rsi,%rax,1),%xmm4
movupd 0xd0(%rsi,%rax,1),%xmm6
movsd  0xc0(%rdx,%rax,1),%xmm10
unpcklpd %xmm10,%xmm10
movapd %xmm4,%xmm7
mulpd  %xmm10,%xmm7
subpd  %xmm7,%xmm2
movapd %xmm6,%xmm7
mulpd  %xmm10,%xmm7
subpd  %xmm7,%xmm3
movsd  0xc8(%rdx,%rax,1),%xmm14
unpcklpd %xmm14,%xmm14
movapd %xmm4,-0x70(%rsp)
movapd %xmm4,%xmm7
mulpd  %xmm14,%xmm7
subpd  %xmm7,%xmm1
movapd %xmm6,%xmm8
movapd %xmm6,%xmm7
mulpd  %xmm14,%xmm7
subpd  %xmm7,%xmm0
movsd  0xe0(%rdx,%rax,1),%xmm9
unpcklpd %xmm9,%xmm9
movupd 0xe0(%rsi,%rax,1),%xmm6
movapd %xmm6,%xmm7
mulpd  %xmm9,%xmm7
subpd  %xmm7,%xmm2
movupd 0xf0(%rsi,%rax,1),%xmm4
movapd %xmm4,%xmm7
mulpd  %xmm9,%xmm7
subpd  %xmm7,%xmm3
movsd  0xe8(%rdx,%rax,1),%xmm13
unpcklpd %xmm13,%xmm13
movapd %xmm6,%xmm7
mulpd  %xmm13,%xmm7
subpd  %xmm7,%xmm1
movapd %xmm4,%xmm7
mulpd  %xmm13,%xmm7
subpd  %xmm7,%xmm0
add    $0x4,%r10d
sub    $0xffffffffffffff80,%rax
cmp    %edi,%r10d
jl     1200 <kernel_dtrtri_4x2_lib4+0x100>
movapd 0xc19(%rip),%xmm0
movapd -0x60(%rsp),%xmm1
xorpd  %xmm0,%xmm1
movapd %xmm1,-0x60(%rsp)
movapd -0x30(%rsp),%xmm7
xorpd  %xmm0,%xmm7
movapd -0x80(%rsp),%xmm1
xorpd  %xmm0,%xmm1
movapd %xmm1,-0x80(%rsp)
movapd -0x10(%rsp),%xmm3
xorpd  %xmm0,%xmm3
movapd -0x70(%rsp),%xmm1
xorpd  %xmm0,%xmm1
movapd %xmm1,-0x70(%rsp)
xorpd  %xmm0,%xmm8
xorpd  %xmm0,%xmm6
xorpd  %xmm0,%xmm4
movapd %xmm7,%xmm0
mulpd  %xmm5,%xmm0
addpd  -0x50(%rsp),%xmm0
movapd %xmm3,%xmm1
mulpd  %xmm11,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm8,%xmm2
mulpd  %xmm14,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm4,%xmm0
mulpd  %xmm13,%xmm0
addpd  %xmm2,%xmm0
movapd -0x60(%rsp),%xmm1
mulpd  %xmm1,%xmm5
addpd  -0x40(%rsp),%xmm5
mulpd  -0x80(%rsp),%xmm11
addpd  %xmm5,%xmm11
movapd -0x70(%rsp),%xmm5
mulpd  %xmm5,%xmm14
addpd  %xmm11,%xmm14
mulpd  %xmm6,%xmm13
addpd  %xmm14,%xmm13
mulpd  %xmm12,%xmm7
addpd  -0x20(%rsp),%xmm7
mulpd  %xmm15,%xmm3
addpd  %xmm7,%xmm3
mulpd  %xmm10,%xmm8
addpd  %xmm3,%xmm8
mulpd  %xmm9,%xmm4
addpd  %xmm8,%xmm4
mulpd  %xmm12,%xmm1
addpd  (%rsp),%xmm1
movapd %xmm1,%xmm2
movapd -0x80(%rsp),%xmm1
mulpd  %xmm15,%xmm1
addpd  %xmm2,%xmm1
movapd %xmm5,%xmm2
mulpd  %xmm10,%xmm2
addpd  %xmm1,%xmm2
mulpd  %xmm9,%xmm6
addpd  %xmm2,%xmm6
movapd %xmm6,%xmm2
movapd %xmm4,%xmm3
movapd %xmm13,%xmm1
test   %r9d,%r9d
je     151c <kernel_dtrtri_4x2_lib4+0x41c>
mov    0x20(%rsp),%rax
movupd (%rax),%xmm4
jmp    1533 <kernel_dtrtri_4x2_lib4+0x433>
movsd  (%r8),%xmm5
movhpd 0x28(%r8),%xmm5
movapd 0xae1(%rip),%xmm4
divpd  %xmm5,%xmm4
movapd %xmm4,%xmm5
unpcklpd %xmm4,%xmm5
mulpd  %xmm5,%xmm2
mulpd  %xmm5,%xmm3
movupd %xmm2,(%rcx)
movupd %xmm3,0x10(%rcx)
movsd  0x8(%r8),%xmm5
unpcklpd %xmm5,%xmm5
mulpd  %xmm5,%xmm2
subpd  %xmm2,%xmm1
mulpd  %xmm3,%xmm5
subpd  %xmm5,%xmm0
unpckhpd %xmm4,%xmm4
mulpd  %xmm4,%xmm1
mulpd  %xmm0,%xmm4
movupd %xmm1,0x20(%rcx)
movupd %xmm4,0x30(%rcx)
add    $0x18,%rsp
ret

LLVM IR (-O0):
define void @kernel_dtrtri_4x2_lib4(i32 %0, double* %1, double* %2, double* %3, double* %4, i32 %5, double* %6) {
%8 = alloca i32
%9 = alloca double*
%10 = alloca double*
%11 = alloca double*
%12 = alloca double*
%13 = alloca i32
%14 = alloca double*
%15 = alloca i32
%16 = alloca i32
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
%29 = alloca double
%30 = alloca double
%31 = alloca double
%32 = alloca double
%33 = alloca double
store i32 %0, i32* %8
store double* %1, double** %9
store double* %2, double** %10
store double* %3, double** %11
store double* %4, double** %12
store i32 %5, i32* %13
store double* %6, double** %14
store i32 4, i32* %15
store double 0.000000e+00, double* %23
store double 0.000000e+00, double* %24
store double 0.000000e+00, double* %25
store double 0.000000e+00, double* %26
store double 0.000000e+00, double* %27
store double 0.000000e+00, double* %28
store double 0.000000e+00, double* %29
store double 0.000000e+00, double* %30
%34 = load double*, double** %9
%35 = getelementptr inbounds double, double* %34, i64 0
%36 = load double, double* %35
store double %36, double* %17
%37 = load double*, double** %10
%38 = getelementptr inbounds double, double* %37, i64 0
%39 = load double, double* %38
store double %39, double* %21
%40 = load double*, double** %10
%41 = getelementptr inbounds double, double* %40, i64 1
%42 = load double, double* %41
store double %42, double* %22
%43 = load double, double* %17
%44 = load double, double* %21
%45 = load double, double* %23
%46 = fneg double %43
%47 = call double @llvm.fmuladd.f64(double %46, double %44, double %45)
store double %47, double* %23
%48 = load double, double* %17
%49 = load double, double* %22
%50 = load double, double* %24
%51 = fneg double %48
%52 = call double @llvm.fmuladd.f64(double %51, double %49, double %50)
store double %52, double* %24
%53 = load double*, double** %9
%54 = getelementptr inbounds double, double* %53, i64 4
%55 = load double, double* %54
store double %55, double* %17
%56 = load double*, double** %9
%57 = getelementptr inbounds double, double* %56, i64 5
%58 = load double, double* %57
store double %58, double* %18
%59 = load double*, double** %10
%60 = getelementptr inbounds double, double* %59, i64 4
%61 = load double, double* %60
store double %61, double* %21
%62 = load double*, double** %10
%63 = getelementptr inbounds double, double* %62, i64 5
%64 = load double, double* %63
store double %64, double* %22
%65 = load double, double* %17
%66 = load double, double* %21
%67 = load double, double* %23
%68 = fneg double %65
%69 = call double @llvm.fmuladd.f64(double %68, double %66, double %67)
store double %69, double* %23
%70 = load double, double* %18
%71 = load double, double* %21
%72 = load double, double* %25
%73 = fneg double %70
%74 = call double @llvm.fmuladd.f64(double %73, double %71, double %72)
store double %74, double* %25
%75 = load double, double* %17
%76 = load double, double* %22
%77 = load double, double* %24
%78 = fneg double %75
%79 = call double @llvm.fmuladd.f64(double %78, double %76, double %77)
store double %79, double* %24
%80 = load double, double* %18
%81 = load double, double* %22
%82 = load double, double* %26
%83 = fneg double %80
%84 = call double @llvm.fmuladd.f64(double %83, double %81, double %82)
store double %84, double* %26
%85 = load double*, double** %9
%86 = getelementptr inbounds double, double* %85, i64 8
%87 = load double, double* %86
store double %87, double* %17
%88 = load double*, double** %9
%89 = getelementptr inbounds double, double* %88, i64 9
%90 = load double, double* %89
store double %90, double* %18
%91 = load double*, double** %9
%92 = getelementptr inbounds double, double* %91, i64 10
%93 = load double, double* %92
store double %93, double* %19
%94 = load double*, double** %10
%95 = getelementptr inbounds double, double* %94, i64 8
%96 = load double, double* %95
store double %96, double* %21
%97 = load double*, double** %10
%98 = getelementptr inbounds double, double* %97, i64 9
%99 = load double, double* %98
store double %99, double* %22
%100 = load double, double* %17
%101 = load double, double* %21
%102 = load double, double* %23
%103 = fneg double %100
%104 = call double @llvm.fmuladd.f64(double %103, double %101, double %102)
store double %104, double* %23
%105 = load double, double* %18
%106 = load double, double* %21
%107 = load double, double* %25
%108 = fneg double %105
%109 = call double @llvm.fmuladd.f64(double %108, double %106, double %107)
store double %109, double* %25
%110 = load double, double* %19
%111 = load double, double* %21
%112 = load double, double* %27
%113 = fneg double %110
%114 = call double @llvm.fmuladd.f64(double %113, double %111, double %112)
store double %114, double* %27
%115 = load double, double* %17
%116 = load double, double* %22
%117 = load double, double* %24
%118 = fneg double %115
%119 = call double @llvm.fmuladd.f64(double %118, double %116, double %117)
store double %119, double* %24
%120 = load double, double* %18
%121 = load double, double* %22
%122 = load double, double* %26
%123 = fneg double %120
%124 = call double @llvm.fmuladd.f64(double %123, double %121, double %122)
store double %124, double* %26
%125 = load double, double* %19
%126 = load double, double* %22
%127 = load double, double* %28
%128 = fneg double %125
%129 = call double @llvm.fmuladd.f64(double %128, double %126, double %127)
store double %129, double* %28
%130 = load double*, double** %9
%131 = getelementptr inbounds double, double* %130, i64 12
%132 = load double, double* %131
store double %132, double* %17
%133 = load double*, double** %9
%134 = getelementptr inbounds double, double* %133, i64 13
%135 = load double, double* %134
store double %135, double* %18
%136 = load double*, double** %9
%137 = getelementptr inbounds double, double* %136, i64 14
%138 = load double, double* %137
store double %138, double* %19
%139 = load double*, double** %9
%140 = getelementptr inbounds double, double* %139, i64 15
%141 = load double, double* %140
store double %141, double* %20
%142 = load double*, double** %10
%143 = getelementptr inbounds double, double* %142, i64 12
%144 = load double, double* %143
store double %144, double* %21
%145 = load double*, double** %10
%146 = getelementptr inbounds double, double* %145, i64 13
%147 = load double, double* %146
store double %147, double* %22
%148 = load double, double* %17
%149 = load double, double* %21
%150 = load double, double* %23
%151 = fneg double %148
%152 = call double @llvm.fmuladd.f64(double %151, double %149, double %150)
store double %152, double* %23
%153 = load double, double* %18
%154 = load double, double* %21
%155 = load double, double* %25
%156 = fneg double %153
%157 = call double @llvm.fmuladd.f64(double %156, double %154, double %155)
store double %157, double* %25
%158 = load double, double* %19
%159 = load double, double* %21
%160 = load double, double* %27
%161 = fneg double %158
%162 = call double @llvm.fmuladd.f64(double %161, double %159, double %160)
store double %162, double* %27
%163 = load double, double* %20
%164 = load double, double* %21
%165 = load double, double* %29
%166 = fneg double %163
%167 = call double @llvm.fmuladd.f64(double %166, double %164, double %165)
store double %167, double* %29
%168 = load double, double* %17
%169 = load double, double* %22
%170 = load double, double* %24
%171 = fneg double %168
%172 = call double @llvm.fmuladd.f64(double %171, double %169, double %170)
store double %172, double* %24
%173 = load double, double* %18
%174 = load double, double* %22
%175 = load double, double* %26
%176 = fneg double %173
%177 = call double @llvm.fmuladd.f64(double %176, double %174, double %175)
store double %177, double* %26
%178 = load double, double* %19
%179 = load double, double* %22
%180 = load double, double* %28
%181 = fneg double %178
%182 = call double @llvm.fmuladd.f64(double %181, double %179, double %180)
store double %182, double* %28
%183 = load double, double* %20
%184 = load double, double* %22
%185 = load double, double* %30
%186 = fneg double %183
%187 = call double @llvm.fmuladd.f64(double %186, double %184, double %185)
store double %187, double* %30
%188 = load double*, double** %9
%189 = getelementptr inbounds double, double* %188, i64 16
store double* %189, double** %9
%190 = load double*, double** %10
%191 = getelementptr inbounds double, double* %190, i64 16
store double* %191, double** %10
store i32 4, i32* %16
br label %192
192: ; preds = %434, %7
%193 = load i32, i32* %16
%194 = load i32, i32* %8
%195 = sub nsw i32 %194, 3
%196 = icmp slt i32 %193, %195
br i1 %196, label %197, label %437
197: ; preds = %192
%198 = load double*, double** %9
%199 = getelementptr inbounds double, double* %198, i64 0
%200 = load double, double* %199
store double %200, double* %17
%201 = load double*, double** %9
%202 = getelementptr inbounds double, double* %201, i64 1
%203 = load double, double* %202
store double %203, double* %18
%204 = load double*, double** %9
%205 = getelementptr inbounds double, double* %204, i64 2
%206 = load double, double* %205
store double %206, double* %19
%207 = load double*, double** %9
%208 = getelementptr inbounds double, double* %207, i64 3
%209 = load double, double* %208
store double %209, double* %20
%210 = load double*, double** %10
%211 = getelementptr inbounds double, double* %210, i64 0
%212 = load double, double* %211
store double %212, double* %21
%213 = load double*, double** %10
%214 = getelementptr inbounds double, double* %213, i64 1
%215 = load double, double* %214
store double %215, double* %22
%216 = load double, double* %17
%217 = load double, double* %21
%218 = load double, double* %23
%219 = fneg double %216
%220 = call double @llvm.fmuladd.f64(double %219, double %217, double %218)
store double %220, double* %23
%221 = load double, double* %18
%222 = load double, double* %21
%223 = load double, double* %25
%224 = fneg double %221
%225 = call double @llvm.fmuladd.f64(double %224, double %222, double %223)
store double %225, double* %25
%226 = load double, double* %19
%227 = load double, double* %21
%228 = load double, double* %27
%229 = fneg double %226
%230 = call double @llvm.fmuladd.f64(double %229, double %227, double %228)
store double %230, double* %27
%231 = load double, double* %20
%232 = load double, double* %21
%233 = load double, double* %29
%234 = fneg double %231
%235 = call double @llvm.fmuladd.f64(double %234, double %232, double %233)
store double %235, double* %29
%236 = load double, double* %17
%237 = load double, double* %22
%238 = load double, double* %24
%239 = fneg double %236
%240 = call double @llvm.fmuladd.f64(double %239, double %237, double %238)
store double %240, double* %24
%241 = load double, double* %18
%242 = load double, double* %22
%243 = load double, double* %26
%244 = fneg double %241
%245 = call double @llvm.fmuladd.f64(double %244, double %242, double %243)
store double %245, double* %26
%246 = load double, double* %19
%247 = load double, double* %22
%248 = load double, double* %28
%249 = fneg double %246
%250 = call double @llvm.fmuladd.f64(double %249, double %247, double %248)
store double %250, double* %28
%251 = load double, double* %20
%252 = load double, double* %22
%253 = load double, double* %30
%254 = fneg double %251
%255 = call double @llvm.fmuladd.f64(double %254, double %252, double %253)
store double %255, double* %30
%256 = load double*, double** %9
%257 = getelementptr inbounds double, double* %256, i64 4
%258 = load double, double* %257
store double %258, double* %17
%259 = load double*, double** %9
%260 = getelementptr inbounds double, double* %259, i64 5
%261 = load double, double* %260
store double %261, double* %18
%262 = load double*, double** %9
%263 = getelementptr inbounds double, double* %262, i64 6
%264 = load double, double* %263
store double %264, double* %19
%265 = load double*, double** %9
%266 = getelementptr inbounds double, double* %265, i64 7
%267 = load double, double* %266
store double %267, double* %20
%268 = load double*, double** %10
%269 = getelementptr inbounds double, double* %268, i64 4
%270 = load double, double* %269
store double %270, double* %21
%271 = load double*, double** %10
%272 = getelementptr inbounds double, double* %271, i64 5
%273 = load double, double* %272
store double %273, double* %22
%274 = load double, double* %17
%275 = load double, double* %21
%276 = load double, double* %23
%277 = fneg double %274
%278 = call double @llvm.fmuladd.f64(double %277, double %275, double %276)
store double %278, double* %23
%279 = load double, double* %18
%280 = load double, double* %21
%281 = load double, double* %25
%282 = fneg double %279
%283 = call double @llvm.fmuladd.f64(double %282, double %280, double %281)
store double %283, double* %25
%284 = load double, double* %19
%285 = load double, double* %21
%286 = load double, double* %27
%287 = fneg double %284
%288 = call double @llvm.fmuladd.f64(double %287, double %285, double %286)
store double %288, double* %27
%289 = load double, double* %20
%290 = load double, double* %21
%291 = load double, double* %29
%292 = fneg double %289
%293 = call double @llvm.fmuladd.f64(double %292, double %290, double %291)
store double %293, double* %29
%294 = load double, double* %17
%295 = load double, double* %22
%296 = load double, double* %24
%297 = fneg double %294
%298 = call double @llvm.fmuladd.f64(double %297, double %295, double %296)
store double %298, double* %24
%299 = load double, double* %18
%300 = load double, double* %22
%301 = load double, double* %26
%302 = fneg double %299
%303 = call double @llvm.fmuladd.f64(double %302, double %300, double %301)
store double %303, double* %26
%304 = load double, double* %19
%305 = load double, double* %22
%306 = load double, double* %28
%307 = fneg double %304
%308 = call double @llvm.fmuladd.f64(double %307, double %305, double %306)
store double %308, double* %28
%309 = load double, double* %20
%310 = load double, double* %22
%311 = load double, double* %30
%312 = fneg double %309
%313 = call double @llvm.fmuladd.f64(double %312, double %310, double %311)
store double %313, double* %30
%314 = load double*, double** %9
%315 = getelementptr inbounds double, double* %314, i64 8
%316 = load double, double* %315
store double %316, double* %17
%317 = load double*, double** %9
%318 = getelementptr inbounds double, double* %317, i64 9
%319 = load double, double* %318
store double %319, double* %18
%320 = load double*, double** %9
%321 = getelementptr inbounds double, double* %320, i64 10
%322 = load double, double* %321
store double %322, double* %19
%323 = load double*, double** %9
%324 = getelementptr inbounds double, double* %323, i64 11
%325 = load double, double* %324
store double %325, double* %20
%326 = load double*, double** %10
%327 = getelementptr inbounds double, double* %326, i64 8
%328 = load double, double* %327
store double %328, double* %21
%329 = load double*, double** %10
%330 = getelementptr inbounds double, double* %329, i64 9
%331 = load double, double* %330
store double %331, double* %22
%332 = load double, double* %17
%333 = load double, double* %21
%334 = load double, double* %23
%335 = fneg double %332
%336 = call double @llvm.fmuladd.f64(double %335, double %333, double %334)
store double %336, double* %23
%337 = load double, double* %18
%338 = load double, double* %21
%339 = load double, double* %25
%340 = fneg double %337
%341 = call double @llvm.fmuladd.f64(double %340, double %338, double %339)
store double %341, double* %25
%342 = load double, double* %19
%343 = load double, double* %21
%344 = load double, double* %27
%345 = fneg double %342
%346 = call double @llvm.fmuladd.f64(double %345, double %343, double %344)
store double %346, double* %27
%347 = load double, double* %20
%348 = load double, double* %21
%349 = load double, double* %29
%350 = fneg double %347
%351 = call double @llvm.fmuladd.f64(double %350, double %348, double %349)
store double %351, double* %29
%352 = load double, double* %17
%353 = load double, double* %22
%354 = load double, double* %24
%355 = fneg double %352
%356 = call double @llvm.fmuladd.f64(double %355, double %353, double %354)
store double %356, double* %24
%357 = load double, double* %18
%358 = load double, double* %22
%359 = load double, double* %26
%360 = fneg double %357
%361 = call double @llvm.fmuladd.f64(double %360, double %358, double %359)
store double %361, double* %26
%362 = load double, double* %19
%363 = load double, double* %22
%364 = load double, double* %28
%365 = fneg double %362
%366 = call double @llvm.fmuladd.f64(double %365, double %363, double %364)
store double %366, double* %28
%367 = load double, double* %20
%368 = load double, double* %22
%369 = load double, double* %30
%370 = fneg double %367
%371 = call double @llvm.fmuladd.f64(double %370, double %368, double %369)
store double %371, double* %30
%372 = load double*, double** %9
%373 = getelementptr inbounds double, double* %372, i64 12
%374 = load double, double* %373
store double %374, double* %17
%375 = load double*, double** %9
%376 = getelementptr inbounds double, double* %375, i64 13
%377 = load double, double* %376
store double %377, double* %18
%378 = load double*, double** %9
%379 = getelementptr inbounds double, double* %378, i64 14
%380 = load double, double* %379
store double %380, double* %19
%381 = load double*, double** %9
%382 = getelementptr inbounds double, double* %381, i64 15
%383 = load double, double* %382
store double %383, double* %20
%384 = load double*, double** %10
%385 = getelementptr inbounds double, double* %384, i64 12
%386 = load double, double* %385
store double %386, double* %21
%387 = load double*, double** %10
%388 = getelementptr inbounds double, double* %387, i64 13
%389 = load double, double* %388
store double %389, double* %22
%390 = load double, double* %17
%391 = load double, double* %21
%392 = load double, double* %23
%393 = fneg double %390
%394 = call double @llvm.fmuladd.f64(double %393, double %391, double %392)
store double %394, double* %23
%395 = load double, double* %18
%396 = load double, double* %21
%397 = load double, double* %25
%398 = fneg double %395
%399 = call double @llvm.fmuladd.f64(double %398, double %396, double %397)
store double %399, double* %25
%400 = load double, double* %19
%401 = load double, double* %21
%402 = load double, double* %27
%403 = fneg double %400
%404 = call double @llvm.fmuladd.f64(double %403, double %401, double %402)
store double %404, double* %27
%405 = load double, double* %20
%406 = load double, double* %21
%407 = load double, double* %29
%408 = fneg double %405
%409 = call double @llvm.fmuladd.f64(double %408, double %406, double %407)
store double %409, double* %29
%410 = load double, double* %17
%411 = load double, double* %22
%412 = load double, double* %24
%413 = fneg double %410
%414 = call double @llvm.fmuladd.f64(double %413, double %411, double %412)
store double %414, double* %24
%415 = load double, double* %18
%416 = load double, double* %22
%417 = load double, double* %26
%418 = fneg double %415
%419 = call double @llvm.fmuladd.f64(double %418, double %416, double %417)
store double %419, double* %26
%420 = load double, double* %19
%421 = load double, double* %22
%422 = load double, double* %28
%423 = fneg double %420
%424 = call double @llvm.fmuladd.f64(double %423, double %421, double %422)
store double %424, double* %28
%425 = load double, double* %20
%426 = load double, double* %22
%427 = load double, double* %30
%428 = fneg double %425
%429 = call double @llvm.fmuladd.f64(double %428, double %426, double %427)
store double %429, double* %30
%430 = load double*, double** %9
%431 = getelementptr inbounds double, double* %430, i64 16
store double* %431, double** %9
%432 = load double*, double** %10
%433 = getelementptr inbounds double, double* %432, i64 16
store double* %433, double** %10
br label %434
434: ; preds = %197
%435 = load i32, i32* %16
%436 = add nsw i32 %435, 4
store i32 %436, i32* %16
br label %192
437: ; preds = %192
%438 = load i32, i32* %13
%439 = icmp ne i32 %438, 0
br i1 %439, label %440, label %447
440: ; preds = %437
%441 = load double*, double** %14
%442 = getelementptr inbounds double, double* %441, i64 0
%443 = load double, double* %442
store double %443, double* %31
%444 = load double*, double** %14
%445 = getelementptr inbounds double, double* %444, i64 1
%446 = load double, double* %445
store double %446, double* %33
br label %456
447: ; preds = %437
%448 = load double*, double** %12
%449 = getelementptr inbounds double, double* %448, i64 0
%450 = load double, double* %449
%451 = fdiv double 1.000000e+00, %450
store double %451, double* %31
%452 = load double*, double** %12
%453 = getelementptr inbounds double, double* %452, i64 5
%454 = load double, double* %453
%455 = fdiv double 1.000000e+00, %454
store double %455, double* %33
br label %456
456: ; preds = %447, %440
%457 = load double, double* %31
%458 = load double, double* %23
%459 = fmul double %458, %457
store double %459, double* %23
%460 = load double, double* %31
%461 = load double, double* %25
%462 = fmul double %461, %460
store double %462, double* %25
%463 = load double, double* %31
%464 = load double, double* %27
%465 = fmul double %464, %463
store double %465, double* %27
%466 = load double, double* %31
%467 = load double, double* %29
%468 = fmul double %467, %466
store double %468, double* %29
%469 = load double, double* %23
%470 = load double*, double** %11
%471 = getelementptr inbounds double, double* %470, i64 0
store double %469, double* %471
%472 = load double, double* %25
%473 = load double*, double** %11
%474 = getelementptr inbounds double, double* %473, i64 1
store double %472, double* %474
%475 = load double, double* %27
%476 = load double*, double** %11
%477 = getelementptr inbounds double, double* %476, i64 2
store double %475, double* %477
%478 = load double, double* %29
%479 = load double*, double** %11
%480 = getelementptr inbounds double, double* %479, i64 3
store double %478, double* %480
%481 = load double*, double** %12
%482 = getelementptr inbounds double, double* %481, i64 1
%483 = load double, double* %482
store double %483, double* %32
%484 = load double, double* %23
%485 = load double, double* %32
%486 = load double, double* %24
%487 = fneg double %484
%488 = call double @llvm.fmuladd.f64(double %487, double %485, double %486)
store double %488, double* %24
%489 = load double, double* %25
%490 = load double, double* %32
%491 = load double, double* %26
%492 = fneg double %489
%493 = call double @llvm.fmuladd.f64(double %492, double %490, double %491)
store double %493, double* %26
%494 = load double, double* %27
%495 = load double, double* %32
%496 = load double, double* %28
%497 = fneg double %494
%498 = call double @llvm.fmuladd.f64(double %497, double %495, double %496)
store double %498, double* %28
%499 = load double, double* %29
%500 = load double, double* %32
%501 = load double, double* %30
%502 = fneg double %499
%503 = call double @llvm.fmuladd.f64(double %502, double %500, double %501)
store double %503, double* %30
%504 = load double, double* %33
%505 = load double, double* %24
%506 = fmul double %505, %504
store double %506, double* %24
%507 = load double, double* %33
%508 = load double, double* %26
%509 = fmul double %508, %507
store double %509, double* %26
%510 = load double, double* %33
%511 = load double, double* %28
%512 = fmul double %511, %510
store double %512, double* %28
%513 = load double, double* %33
%514 = load double, double* %30
%515 = fmul double %514, %513
store double %515, double* %30
%516 = load double, double* %24
%517 = load double*, double** %11
%518 = getelementptr inbounds double, double* %517, i64 4
store double %516, double* %518
%519 = load double, double* %26
%520 = load double*, double** %11
%521 = getelementptr inbounds double, double* %520, i64 5
store double %519, double* %521
%522 = load double, double* %28
%523 = load double*, double** %11
%524 = getelementptr inbounds double, double* %523, i64 6
store double %522, double* %524
%525 = load double, double* %30
%526 = load double*, double** %11
%527 = getelementptr inbounds double, double* %526, i64 7
store double %525, double* %527
ret void
}

LLVM IR (-O2):
define void @kernel_dtrtri_4x2_lib4(i32 %0, double* nocapture %1, double* nocapture %2, double* nocapture writeonly %3, double* nocapture %4, i32 %5, double* nocapture %6) {
%8 = load double, double* %1
%9 = load double, double* %2
%10 = getelementptr inbounds double, double* %2, i64 1
%11 = load double, double* %10
%12 = fneg double %8
%13 = tail call double @llvm.fmuladd.f64(double %12, double %9, double 0.000000e+00)
%14 = tail call double @llvm.fmuladd.f64(double %12, double %11, double 0.000000e+00)
%15 = getelementptr inbounds double, double* %1, i64 4
%16 = bitcast double* %15 to <2 x double>*
%17 = load <2 x double>, <2 x double>* %16
%18 = getelementptr inbounds double, double* %2, i64 4
%19 = load double, double* %18
%20 = getelementptr inbounds double, double* %2, i64 5
%21 = load double, double* %20
%22 = fneg <2 x double> %17
%23 = insertelement <2 x double> poison, double %19, i64 0
%24 = shufflevector <2 x double> %23, <2 x double> poison, <2 x i32> zeroinitializer
%25 = insertelement <2 x double> <double poison, double 0.000000e+00>, double %13, i64 0
%26 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %22, <2 x double> %24, <2 x double> %25)
%27 = insertelement <2 x double> poison, double %21, i64 0
%28 = shufflevector <2 x double> %27, <2 x double> poison, <2 x i32> zeroinitializer
%29 = insertelement <2 x double> <double poison, double 0.000000e+00>, double %14, i64 0
%30 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %22, <2 x double> %28, <2 x double> %29)
%31 = getelementptr inbounds double, double* %1, i64 8
%32 = bitcast double* %31 to <2 x double>*
%33 = load <2 x double>, <2 x double>* %32
%34 = getelementptr inbounds double, double* %1, i64 10
%35 = load double, double* %34
%36 = getelementptr inbounds double, double* %2, i64 8
%37 = load double, double* %36
%38 = getelementptr inbounds double, double* %2, i64 9
%39 = load double, double* %38
%40 = fneg <2 x double> %33
%41 = insertelement <2 x double> poison, double %37, i64 0
%42 = shufflevector <2 x double> %41, <2 x double> poison, <2 x i32> zeroinitializer
%43 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %40, <2 x double> %42, <2 x double> %26)
%44 = fneg double %35
%45 = tail call double @llvm.fmuladd.f64(double %44, double %37, double 0.000000e+00)
%46 = insertelement <2 x double> poison, double %39, i64 0
%47 = shufflevector <2 x double> %46, <2 x double> poison, <2 x i32> zeroinitializer
%48 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %40, <2 x double> %47, <2 x double> %30)
%49 = tail call double @llvm.fmuladd.f64(double %44, double %39, double 0.000000e+00)
%50 = getelementptr inbounds double, double* %1, i64 12
%51 = bitcast double* %50 to <2 x double>*
%52 = load <2 x double>, <2 x double>* %51
%53 = getelementptr inbounds double, double* %1, i64 14
%54 = bitcast double* %53 to <2 x double>*
%55 = load <2 x double>, <2 x double>* %54
%56 = getelementptr inbounds double, double* %2, i64 12
%57 = load double, double* %56
%58 = getelementptr inbounds double, double* %2, i64 13
%59 = load double, double* %58
%60 = fneg <2 x double> %52
%61 = insertelement <2 x double> poison, double %57, i64 0
%62 = shufflevector <2 x double> %61, <2 x double> poison, <2 x i32> zeroinitializer
%63 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %60, <2 x double> %62, <2 x double> %43)
%64 = fneg <2 x double> %55
%65 = insertelement <2 x double> <double poison, double 0.000000e+00>, double %45, i64 0
%66 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %64, <2 x double> %62, <2 x double> %65)
%67 = insertelement <2 x double> poison, double %59, i64 0
%68 = shufflevector <2 x double> %67, <2 x double> poison, <2 x i32> zeroinitializer
%69 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %60, <2 x double> %68, <2 x double> %48)
%70 = insertelement <2 x double> <double poison, double 0.000000e+00>, double %49, i64 0
%71 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %64, <2 x double> %68, <2 x double> %70)
%72 = add nsw i32 %0, -3
%73 = icmp sgt i32 %0, 7
br i1 %73, label %74, label %181
74: ; preds = %7, %74
%75 = phi double* [ %82, %74 ], [ %1, %7 ]
%76 = phi i32 [ %162, %74 ], [ 4, %7 ]
%77 = phi double* [ %83, %74 ], [ %2, %7 ]
%78 = phi <2 x double> [ %155, %74 ], [ %63, %7 ]
%79 = phi <2 x double> [ %157, %74 ], [ %66, %7 ]
%80 = phi <2 x double> [ %160, %74 ], [ %69, %7 ]
%81 = phi <2 x double> [ %161, %74 ], [ %71, %7 ]
%82 = getelementptr inbounds double, double* %75, i64 16
%83 = getelementptr inbounds double, double* %77, i64 16
%84 = bitcast double* %82 to <2 x double>*
%85 = load <2 x double>, <2 x double>* %84
%86 = getelementptr inbounds double, double* %75, i64 18
%87 = bitcast double* %86 to <2 x double>*
%88 = load <2 x double>, <2 x double>* %87
%89 = load double, double* %83
%90 = getelementptr inbounds double, double* %77, i64 17
%91 = load double, double* %90
%92 = fneg <2 x double> %85
%93 = insertelement <2 x double> poison, double %89, i64 0
%94 = shufflevector <2 x double> %93, <2 x double> poison, <2 x i32> zeroinitializer
%95 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %92, <2 x double> %94, <2 x double> %78)
%96 = fneg <2 x double> %88
%97 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %96, <2 x double> %94, <2 x double> %79)
%98 = insertelement <2 x double> poison, double %91, i64 0
%99 = shufflevector <2 x double> %98, <2 x double> poison, <2 x i32> zeroinitializer
%100 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %92, <2 x double> %99, <2 x double> %80)
%101 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %96, <2 x double> %99, <2 x double> %81)
%102 = getelementptr inbounds double, double* %75, i64 20
%103 = bitcast double* %102 to <2 x double>*
%104 = load <2 x double>, <2 x double>* %103
%105 = getelementptr inbounds double, double* %75, i64 22
%106 = bitcast double* %105 to <2 x double>*
%107 = load <2 x double>, <2 x double>* %106
%108 = getelementptr inbounds double, double* %77, i64 20
%109 = load double, double* %108
%110 = getelementptr inbounds double, double* %77, i64 21
%111 = load double, double* %110
%112 = fneg <2 x double> %104
%113 = insertelement <2 x double> poison, double %109, i64 0
%114 = shufflevector <2 x double> %113, <2 x double> poison, <2 x i32> zeroinitializer
%115 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %114, <2 x double> %95)
%116 = fneg <2 x double> %107
%117 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %116, <2 x double> %114, <2 x double> %97)
%118 = insertelement <2 x double> poison, double %111, i64 0
%119 = shufflevector <2 x double> %118, <2 x double> poison, <2 x i32> zeroinitializer
%120 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %119, <2 x double> %100)
%121 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %116, <2 x double> %119, <2 x double> %101)
%122 = getelementptr inbounds double, double* %75, i64 24
%123 = bitcast double* %122 to <2 x double>*
%124 = load <2 x double>, <2 x double>* %123
%125 = getelementptr inbounds double, double* %75, i64 26
%126 = bitcast double* %125 to <2 x double>*
%127 = load <2 x double>, <2 x double>* %126
%128 = getelementptr inbounds double, double* %77, i64 24
%129 = load double, double* %128
%130 = getelementptr inbounds double, double* %77, i64 25
%131 = load double, double* %130
%132 = fneg <2 x double> %124
%133 = insertelement <2 x double> poison, double %129, i64 0
%134 = shufflevector <2 x double> %133, <2 x double> poison, <2 x i32> zeroinitializer
%135 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %132, <2 x double> %134, <2 x double> %115)
%136 = fneg <2 x double> %127
%137 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %136, <2 x double> %134, <2 x double> %117)
%138 = insertelement <2 x double> poison, double %131, i64 0
%139 = shufflevector <2 x double> %138, <2 x double> poison, <2 x i32> zeroinitializer
%140 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %132, <2 x double> %139, <2 x double> %120)
%141 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %136, <2 x double> %139, <2 x double> %121)
%142 = getelementptr inbounds double, double* %75, i64 28
%143 = bitcast double* %142 to <2 x double>*
%144 = load <2 x double>, <2 x double>* %143
%145 = getelementptr inbounds double, double* %75, i64 30
%146 = bitcast double* %145 to <2 x double>*
%147 = load <2 x double>, <2 x double>* %146
%148 = getelementptr inbounds double, double* %77, i64 28
%149 = load double, double* %148
%150 = getelementptr inbounds double, double* %77, i64 29
%151 = load double, double* %150
%152 = fneg <2 x double> %144
%153 = insertelement <2 x double> poison, double %149, i64 0
%154 = shufflevector <2 x double> %153, <2 x double> poison, <2 x i32> zeroinitializer
%155 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %152, <2 x double> %154, <2 x double> %135)
%156 = fneg <2 x double> %147
%157 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %156, <2 x double> %154, <2 x double> %137)
%158 = insertelement <2 x double> poison, double %151, i64 0
%159 = shufflevector <2 x double> %158, <2 x double> poison, <2 x i32> zeroinitializer
%160 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %152, <2 x double> %159, <2 x double> %140)
%161 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %156, <2 x double> %159, <2 x double> %141)
%162 = add nuw nsw i32 %76, 4
%163 = icmp slt i32 %162, %72
br i1 %163, label %74, label %164
164: ; preds = %74
%165 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %96, <2 x double> %99, <2 x double> %81)
%166 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %116, <2 x double> %119, <2 x double> %165)
%167 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %136, <2 x double> %139, <2 x double> %166)
%168 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %156, <2 x double> %159, <2 x double> %167)
%169 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %92, <2 x double> %99, <2 x double> %80)
%170 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %119, <2 x double> %169)
%171 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %132, <2 x double> %139, <2 x double> %170)
%172 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %152, <2 x double> %159, <2 x double> %171)
%173 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %96, <2 x double> %94, <2 x double> %79)
%174 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %116, <2 x double> %114, <2 x double> %173)
%175 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %136, <2 x double> %134, <2 x double> %174)
%176 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %156, <2 x double> %154, <2 x double> %175)
%177 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %92, <2 x double> %94, <2 x double> %78)
%178 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %114, <2 x double> %177)
%179 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %132, <2 x double> %134, <2 x double> %178)
%180 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %152, <2 x double> %154, <2 x double> %179)
br label %181
181: ; preds = %164, %7
%182 = phi <2 x double> [ %63, %7 ], [ %180, %164 ]
%183 = phi <2 x double> [ %66, %7 ], [ %176, %164 ]
%184 = phi <2 x double> [ %69, %7 ], [ %172, %164 ]
%185 = phi <2 x double> [ %71, %7 ], [ %168, %164 ]
%186 = icmp eq i32 %5, 0
br i1 %186, label %190, label %187
187: ; preds = %181
%188 = bitcast double* %6 to <2 x double>*
%189 = load <2 x double>, <2 x double>* %188
br label %197
190: ; preds = %181
%191 = load double, double* %4
%192 = getelementptr inbounds double, double* %4, i64 5
%193 = load double, double* %192
%194 = insertelement <2 x double> poison, double %191, i64 0
%195 = insertelement <2 x double> %194, double %193, i64 1
%196 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %195
br label %197
197: ; preds = %190, %187
%198 = phi <2 x double> [ %189, %187 ], [ %196, %190 ]
%199 = shufflevector <2 x double> %198, <2 x double> undef, <2 x i32> zeroinitializer
%200 = fmul <2 x double> %182, %199
%201 = fmul <2 x double> %183, %199
%202 = bitcast double* %3 to <2 x double>*
store <2 x double> %200, <2 x double>* %202
%203 = getelementptr inbounds double, double* %3, i64 2
%204 = bitcast double* %203 to <2 x double>*
store <2 x double> %201, <2 x double>* %204
%205 = getelementptr inbounds double, double* %4, i64 1
%206 = load double, double* %205
%207 = fneg <2 x double> %200
%208 = insertelement <2 x double> poison, double %206, i64 0
%209 = shufflevector <2 x double> %208, <2 x double> poison, <2 x i32> zeroinitializer
%210 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %207, <2 x double> %209, <2 x double> %184)
%211 = fneg <2 x double> %201
%212 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %211, <2 x double> %209, <2 x double> %185)
%213 = shufflevector <2 x double> %198, <2 x double> undef, <2 x i32> <i32 1, i32 1>
%214 = fmul <2 x double> %213, %210
%215 = fmul <2 x double> %213, %212
%216 = getelementptr inbounds double, double* %3, i64 4
%217 = bitcast double* %216 to <2 x double>*
store <2 x double> %214, <2 x double>* %217
%218 = getelementptr inbounds double, double* %3, i64 6
%219 = bitcast double* %218 to <2 x double>*
store <2 x double> %215, <2 x double>* %219
ret void
}