void kernel_dtrsv_t_3_lib4_new(int kmax, double *A, int sda, int use_inv_diag_A,
                               double *inv_diag_A, double *x) {
  if (kmax <= 0)
    return;
  const int bs = 4;
  int k;
  double *tA, *tx;
  tA = A;
  tx = x;
  double x_0, x_1, x_2, x_3, y_0 = 0, y_1 = 0, y_2 = 0;
  k = 3;
  if (kmax > 4) {
    x_3 = x[3];
    y_0 += A[3 + bs * 0] * x_3;
    y_1 += A[3 + bs * 1] * x_3;
    y_2 += A[3 + bs * 2] * x_3;
    k = 4;
    A += 4 + (sda - 1) * bs;
    x += 4;
    for (; k < kmax - 7; k += 8) {
      x_0 = x[0];
      x_1 = x[1];
      x_2 = x[2];
      x_3 = x[3];
      y_0 += A[0 + bs * 0] * x_0;
      y_1 += A[0 + bs * 1] * x_0;
      y_2 += A[0 + bs * 2] * x_0;
      y_0 += A[1 + bs * 0] * x_1;
      y_1 += A[1 + bs * 1] * x_1;
      y_2 += A[1 + bs * 2] * x_1;
      y_0 += A[2 + bs * 0] * x_2;
      y_1 += A[2 + bs * 1] * x_2;
      y_2 += A[2 + bs * 2] * x_2;
      y_0 += A[3 + bs * 0] * x_3;
      y_1 += A[3 + bs * 1] * x_3;
      y_2 += A[3 + bs * 2] * x_3;
      A += sda * bs;
      x += 4;
      x_0 = x[0];
      x_1 = x[1];
      x_2 = x[2];
      x_3 = x[3];
      y_0 += A[0 + bs * 0] * x_0;
      y_1 += A[0 + bs * 1] * x_0;
      y_2 += A[0 + bs * 2] * x_0;
      y_0 += A[1 + bs * 0] * x_1;
      y_1 += A[1 + bs * 1] * x_1;
      y_2 += A[1 + bs * 2] * x_1;
      y_0 += A[2 + bs * 0] * x_2;
      y_1 += A[2 + bs * 1] * x_2;
      y_2 += A[2 + bs * 2] * x_2;
      y_0 += A[3 + bs * 0] * x_3;
      y_1 += A[3 + bs * 1] * x_3;
      y_2 += A[3 + bs * 2] * x_3;
      A += sda * bs;
      x += 4;
    }
    for (; k < kmax - 3; k += 4) {
      x_0 = x[0];
      x_1 = x[1];
      x_2 = x[2];
      x_3 = x[3];
      y_0 += A[0 + bs * 0] * x_0;
      y_1 += A[0 + bs * 1] * x_0;
      y_2 += A[0 + bs * 2] * x_0;
      y_0 += A[1 + bs * 0] * x_1;
      y_1 += A[1 + bs * 1] * x_1;
      y_2 += A[1 + bs * 2] * x_1;
      y_0 += A[2 + bs * 0] * x_2;
      y_1 += A[2 + bs * 1] * x_2;
      y_2 += A[2 + bs * 2] * x_2;
      y_0 += A[3 + bs * 0] * x_3;
      y_1 += A[3 + bs * 1] * x_3;
      y_2 += A[3 + bs * 2] * x_3;
      A += sda * bs;
      x += 4;
    }
  } else {
    A += 3;
    x += 1;
  }
  for (; k < kmax; k++) {
    x_0 = x[0];
    y_0 += A[0 + bs * 0] * x_0;
    y_1 += A[0 + bs * 1] * x_0;
    y_2 += A[0 + bs * 2] * x_0;
    A += 1;
    x += 1;
  }
  A = tA;
  x = tx;
  if (use_inv_diag_A) {
    y_2 = x[2] - y_2;
    y_2 *= inv_diag_A[2];
    x[2] = y_2;
    y_0 += A[2 + bs * 0] * y_2;
    y_1 += A[2 + bs * 1] * y_2;
    y_1 = x[1] - y_1;
    y_1 *= inv_diag_A[1];
    x[1] = y_1;
    y_0 = x[0] - A[1 + bs * 0] * y_1 - y_0;
    y_0 *= inv_diag_A[0];
    x[0] = y_0;
  } else {
    y_2 = x[2] - y_2;
    y_2 /= A[2 + bs * 2];
    x[2] = y_2;
    y_0 += A[2 + bs * 0] * y_2;
    y_1 += A[2 + bs * 1] * y_2;
    y_1 = x[1] - y_1;
    y_1 /= A[1 + bs * 1];
    x[1] = y_1;
    y_0 = x[0] - A[1 + bs * 0] * y_1 - y_0;
    y_0 /= A[0 + bs * 0];
    x[0] = y_0;
  }
}


x86 assembly (clang, -O0):
<kernel_dtrsv_t_3_lib4_new>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
cmpl   $0x0,-0x4(%rbp)
jg     1128 <kernel_dtrsv_t_3_lib4_new+0x28>
jmp    1acf <kernel_dtrsv_t_3_lib4_new+0x9cf>
movl   $0x4,-0x2c(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x70(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x78(%rbp)
movl   $0x3,-0x30(%rbp)
cmpl   $0x4,-0x4(%rbp)
jle    17dd <kernel_dtrsv_t_3_lib4_new+0x6dd>
mov    -0x28(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movl   $0x4,-0x30(%rbp)
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
shl    $0x2,%ecx
add    $0x4,%ecx
mov    -0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x7,%ecx
cmp    %ecx,%eax
jge    15da <kernel_dtrsv_t_3_lib4_new+0x4da>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x14(%rbp),%ecx
shl    $0x2,%ecx
mov    -0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x14(%rbp),%ecx
shl    $0x2,%ecx
mov    -0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0x30(%rbp)
jmp    1207 <kernel_dtrsv_t_3_lib4_new+0x107>
jmp    15df <kernel_dtrsv_t_3_lib4_new+0x4df>
mov    -0x30(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    17d8 <kernel_dtrsv_t_3_lib4_new+0x6d8>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x14(%rbp),%ecx
shl    $0x2,%ecx
mov    -0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x30(%rbp)
jmp    15df <kernel_dtrsv_t_3_lib4_new+0x4df>
jmp    17f5 <kernel_dtrsv_t_3_lib4_new+0x6f5>
mov    -0x10(%rbp),%rax
add    $0x18,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x28(%rbp)
jmp    17fa <kernel_dtrsv_t_3_lib4_new+0x6fa>
mov    -0x30(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1898 <kernel_dtrsv_t_3_lib4_new+0x798>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    17fa <kernel_dtrsv_t_3_lib4_new+0x6fa>
mov    -0x38(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x40(%rbp),%rax
mov    %rax,-0x28(%rbp)
cmpl   $0x0,-0x18(%rbp)
je     19bd <kernel_dtrsv_t_3_lib4_new+0x8bd>
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
subsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
subsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
mulsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  -0x70(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
subsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
mulsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    1acf <kernel_dtrsv_t_3_lib4_new+0x9cf>
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
subsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm1
movsd  -0x78(%rbp),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
subsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm1
movsd  -0x70(%rbp),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  -0x70(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
subsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
movsd  -0x68(%rbp),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dtrsv_t_3_lib4_new>:
test   %edi,%edi
jle    15bb <kernel_dtrsv_t_3_lib4_new+0x4bb>
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
cmp    $0x5,%edi
jb     1418 <kernel_dtrsv_t_3_lib4_new+0x318>
movsd  0x18(%r9),%xmm2
movsd  0x18(%rsi),%xmm0
movhpd 0x38(%rsi),%xmm0
movapd %xmm2,%xmm3
unpcklpd %xmm2,%xmm3
mulpd  %xmm0,%xmm3
xorpd  %xmm1,%xmm1
addpd  %xmm3,%xmm1
mulsd  0x58(%rsi),%xmm2
xorpd  %xmm0,%xmm0
addsd  %xmm2,%xmm0
shl    $0x2,%edx
movslq %edx,%r11
lea    (%rsi,%r11,8),%rbp
lea    0x20(%r9),%rax
mov    $0x4,%r10d
cmp    $0xc,%edi
jb     131e <kernel_dtrsv_t_3_lib4_new+0x21e>
lea    -0x7(%rdi),%r15d
lea    -0xc(%rdi),%r10d
and    $0xfffffff8,%r10d
mov    %r11,%r14
shl    $0x4,%r14
lea    0x0(,%r11,8),%rbx
mov    $0x4,%r12d
nopl   0x0(%rax,%rax,1)
mov    %rbp,%rdx
movsd  (%rax),%xmm2
movsd  0x8(%rax),%xmm4
movsd  0x10(%rax),%xmm3
movsd  0x18(%rax),%xmm10
movsd  0x0(%rbp),%xmm7
movsd  0x8(%rbp),%xmm5
movsd  0x10(%rbp),%xmm9
movhpd 0x20(%rbp),%xmm7
movsd  0x18(%rbp),%xmm8
movapd %xmm2,%xmm6
unpcklpd %xmm2,%xmm6
mulpd  %xmm7,%xmm6
addpd  %xmm1,%xmm6
mulsd  0x40(%rbp),%xmm2
movhpd 0x28(%rbp),%xmm5
addsd  %xmm0,%xmm2
movapd %xmm4,%xmm0
unpcklpd %xmm4,%xmm0
mulpd  %xmm5,%xmm0
addpd  %xmm6,%xmm0
mulsd  0x48(%rbp),%xmm4
movhpd 0x30(%rbp),%xmm9
addsd  %xmm2,%xmm4
movapd %xmm3,%xmm1
unpcklpd %xmm3,%xmm1
mulpd  %xmm9,%xmm1
addpd  %xmm0,%xmm1
mulsd  0x50(%rbp),%xmm3
movhpd 0x38(%rbp),%xmm8
addsd  %xmm4,%xmm3
movapd %xmm10,%xmm2
unpcklpd %xmm10,%xmm2
mulpd  %xmm8,%xmm2
addpd  %xmm1,%xmm2
mulsd  0x58(%rbp),%xmm10
addsd  %xmm3,%xmm10
movsd  0x20(%rax),%xmm4
movsd  0x28(%rax),%xmm1
movsd  0x30(%rax),%xmm3
movsd  0x38(%rax),%xmm0
lea    0x0(%rbp,%rbx,1),%rbp
movsd  (%rdx,%rbx,1),%xmm6
movsd  0x8(%rdx,%rbx,1),%xmm7
movsd  0x10(%rdx,%rbx,1),%xmm9
movsd  0x18(%rdx,%rbx,1),%xmm8
movhpd 0x20(%rdx,%rbx,1),%xmm6
movapd %xmm4,%xmm5
unpcklpd %xmm4,%xmm5
mulpd  %xmm6,%xmm5
addpd  %xmm2,%xmm5
mulsd  0x40(%rdx,%rbx,1),%xmm4
addsd  %xmm10,%xmm4
movhpd 0x28(%rdx,%rbx,1),%xmm7
movapd %xmm1,%xmm6
unpcklpd %xmm1,%xmm6
mulpd  %xmm7,%xmm6
addpd  %xmm5,%xmm6
mulsd  0x48(%rdx,%rbx,1),%xmm1
addsd  %xmm4,%xmm1
movhpd 0x30(%rdx,%rbx,1),%xmm9
movapd %xmm3,%xmm2
unpcklpd %xmm3,%xmm2
mulpd  %xmm9,%xmm2
addpd  %xmm6,%xmm2
mulsd  0x50(%rdx,%rbx,1),%xmm3
addsd  %xmm1,%xmm3
movhpd 0x38(%rdx,%rbx,1),%xmm8
movapd %xmm0,%xmm5
unpcklpd %xmm0,%xmm5
mulpd  %xmm8,%xmm5
movapd %xmm5,%xmm1
addpd  %xmm2,%xmm1
mulsd  0x58(%rdx,%rbx,1),%xmm0
addsd  %xmm3,%xmm0
add    $0x8,%r12d
add    $0x40,%rax
add    %rbx,%rbp
cmp    %r15d,%r12d
jl     1190 <kernel_dtrsv_t_3_lib4_new+0x90>
add    %r14,%rdx
addpd  %xmm2,%xmm5
add    $0xc,%r10d
mov    %rdx,%rbp
movapd %xmm5,%xmm1
lea    -0x3(%rdi),%edx
cmp    %edx,%r10d
jge    13fb <kernel_dtrsv_t_3_lib4_new+0x2fb>
shl    $0x3,%r11
xchg   %ax,%ax
movsd  (%rax),%xmm3
movsd  0x8(%rax),%xmm2
movapd %xmm3,%xmm5
mulsd  0x40(%rbp),%xmm3
movsd  0x10(%rax),%xmm4
addsd  %xmm0,%xmm3
movsd  0x18(%rax),%xmm8
movsd  0x0(%rbp),%xmm6
movsd  0x8(%rbp),%xmm7
movsd  0x10(%rbp),%xmm0
movhpd 0x20(%rbp),%xmm6
movsd  0x18(%rbp),%xmm9
unpcklpd %xmm5,%xmm5
mulpd  %xmm6,%xmm5
addpd  %xmm1,%xmm5
movhpd 0x28(%rbp),%xmm7
movapd %xmm2,%xmm1
unpcklpd %xmm2,%xmm1
mulpd  %xmm7,%xmm1
addpd  %xmm5,%xmm1
mulsd  0x48(%rbp),%xmm2
addsd  %xmm3,%xmm2
movhpd 0x30(%rbp),%xmm0
movapd %xmm4,%xmm3
unpcklpd %xmm4,%xmm3
mulpd  %xmm0,%xmm3
addpd  %xmm1,%xmm3
mulsd  0x50(%rbp),%xmm4
addsd  %xmm2,%xmm4
movhpd 0x38(%rbp),%xmm9
movapd %xmm8,%xmm2
unpcklpd %xmm8,%xmm2
mulpd  %xmm9,%xmm2
movapd %xmm2,%xmm1
addpd  %xmm3,%xmm1
mulsd  0x58(%rbp),%xmm8
movapd %xmm8,%xmm0
addsd  %xmm4,%xmm0
add    $0x20,%rax
add    $0x4,%r10d
add    %r11,%rbp
cmp    %edx,%r10d
jl     1330 <kernel_dtrsv_t_3_lib4_new+0x230>
addpd  %xmm3,%xmm2
movapd %xmm2,%xmm1
cmp    %edi,%r10d
jge    1433 <kernel_dtrsv_t_3_lib4_new+0x333>
mov    %edi,%ebx
sub    %r10d,%ebx
mov    %r10d,%edx
not    %edx
test   $0x1,%bl
jne    1440 <kernel_dtrsv_t_3_lib4_new+0x340>
add    %edi,%edx
jne    147f <kernel_dtrsv_t_3_lib4_new+0x37f>
jmp    14fb <kernel_dtrsv_t_3_lib4_new+0x3fb>
lea    0x18(%rsi),%rbp
lea    0x8(%r9),%rax
xorpd  %xmm1,%xmm1
xorpd  %xmm0,%xmm0
mov    $0x3,%r10d
cmp    %edi,%r10d
jl     1400 <kernel_dtrsv_t_3_lib4_new+0x300>
movapd %xmm0,%xmm3
movapd %xmm1,%xmm2
jmp    14fb <kernel_dtrsv_t_3_lib4_new+0x3fb>
movsd  (%rax),%xmm3
movsd  0x0(%rbp),%xmm4
movhpd 0x20(%rbp),%xmm4
movapd %xmm3,%xmm2
unpcklpd %xmm3,%xmm2
mulpd  %xmm4,%xmm2
addpd  %xmm1,%xmm2
mulsd  0x40(%rbp),%xmm3
addsd  %xmm0,%xmm3
add    $0x8,%rbp
add    $0x8,%rax
add    $0x1,%r10d
movapd %xmm3,%xmm0
movapd %xmm2,%xmm1
add    %edi,%edx
je     14fb <kernel_dtrsv_t_3_lib4_new+0x3fb>
sub    %r10d,%edi
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  0x0(%rbp,%rdx,8),%xmm2
movhpd 0x20(%rbp,%rdx,8),%xmm2
movsd  (%rax,%rdx,8),%xmm4
movapd %xmm4,%xmm3
mulsd  0x40(%rbp,%rdx,8),%xmm4
movsd  0x8(%rbp,%rdx,8),%xmm5
addsd  %xmm0,%xmm4
movsd  0x8(%rax,%rdx,8),%xmm0
unpcklpd %xmm3,%xmm3
mulpd  %xmm2,%xmm3
addpd  %xmm1,%xmm3
movhpd 0x28(%rbp,%rdx,8),%xmm5
movapd %xmm0,%xmm2
unpcklpd %xmm0,%xmm2
mulpd  %xmm5,%xmm2
movapd %xmm2,%xmm1
mulsd  0x48(%rbp,%rdx,8),%xmm0
addpd  %xmm3,%xmm1
addsd  %xmm4,%xmm0
add    $0x2,%rdx
cmp    %edx,%edi
jne    1490 <kernel_dtrsv_t_3_lib4_new+0x390>
addpd  %xmm3,%xmm2
movapd %xmm0,%xmm3
movsd  0x10(%r9),%xmm0
subsd  %xmm3,%xmm0
test   %ecx,%ecx
je     155e <kernel_dtrsv_t_3_lib4_new+0x45e>
mulsd  0x10(%r8),%xmm0
movsd  %xmm0,0x10(%r9)
movsd  0x10(%rsi),%xmm1
mulsd  %xmm0,%xmm1
addsd  %xmm2,%xmm1
unpckhpd %xmm2,%xmm2
mulsd  0x30(%rsi),%xmm0
addsd  %xmm2,%xmm0
movsd  0x8(%r9),%xmm2
subsd  %xmm0,%xmm2
mulsd  0x8(%r8),%xmm2
movsd  (%r9),%xmm0
movsd  %xmm2,0x8(%r9)
mulsd  0x8(%rsi),%xmm2
subsd  %xmm2,%xmm0
subsd  %xmm1,%xmm0
mulsd  (%r8),%xmm0
jmp    15ae <kernel_dtrsv_t_3_lib4_new+0x4ae>
divsd  0x50(%rsi),%xmm0
movsd  %xmm0,0x10(%r9)
movsd  0x10(%rsi),%xmm1
mulsd  %xmm0,%xmm1
addsd  %xmm2,%xmm1
unpckhpd %xmm2,%xmm2
mulsd  0x30(%rsi),%xmm0
addsd  %xmm2,%xmm0
movsd  0x8(%r9),%xmm2
subsd  %xmm0,%xmm2
divsd  0x28(%rsi),%xmm2
movsd  (%r9),%xmm0
movsd  %xmm2,0x8(%r9)
mulsd  0x8(%rsi),%xmm2
subsd  %xmm2,%xmm0
subsd  %xmm1,%xmm0
divsd  (%rsi),%xmm0
movsd  %xmm0,(%r9)
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @kernel_dtrsv_t_3_lib4_new(i32 %0, double* nocapture %1, i32 %2, i32 %3, double* nocapture %4, double* nocapture %5) {
%7 = icmp slt i32 %0, 1
br i1 %7, label %383, label %8
8: ; preds = %6
%9 = icmp ugt i32 %0, 4
br i1 %9, label %10, label %237
10: ; preds = %8
%11 = getelementptr inbounds double, double* %5, i64 3
%12 = load double, double* %11
%13 = getelementptr inbounds double, double* %1, i64 3
%14 = load double, double* %13
%15 = getelementptr inbounds double, double* %1, i64 7
%16 = load double, double* %15
%17 = insertelement <2 x double> poison, double %14, i64 0
%18 = insertelement <2 x double> %17, double %16, i64 1
%19 = insertelement <2 x double> poison, double %12, i64 0
%20 = shufflevector <2 x double> %19, <2 x double> poison, <2 x i32> zeroinitializer
%21 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %18, <2 x double> %20, <2 x double> zeroinitializer)
%22 = getelementptr inbounds double, double* %1, i64 11
%23 = load double, double* %22
%24 = tail call double @llvm.fmuladd.f64(double %23, double %12, double 0.000000e+00)
%25 = shl i32 %2, 2
%26 = sext i32 %25 to i64
%27 = add nsw i32 %0, -7
%28 = getelementptr inbounds double, double* %1, i64 %26
%29 = getelementptr inbounds double, double* %5, i64 4
%30 = icmp ugt i32 %0, 11
br i1 %30, label %31, label %44
31: ; preds = %10
%32 = add nsw i32 %0, -12
%33 = and i32 %32, -8
br label %52
34: ; preds = %52
%35 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %70, <2 x double> %72, <2 x double> %58)
%36 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %82, <2 x double> %84, <2 x double> %35)
%37 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %94, <2 x double> %96, <2 x double> %36)
%38 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %106, <2 x double> %108, <2 x double> %37)
%39 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %126, <2 x double> %128, <2 x double> %38)
%40 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %138, <2 x double> %140, <2 x double> %39)
%41 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %150, <2 x double> %152, <2 x double> %40)
%42 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %162, <2 x double> %164, <2 x double> %41)
%43 = add i32 %33, 12
br label %44
44: ; preds = %34, %10
%45 = phi i32 [ 4, %10 ], [ %43, %34 ]
%46 = phi double [ %24, %10 ], [ %168, %34 ]
%47 = phi double* [ %28, %10 ], [ %170, %34 ]
%48 = phi double* [ %29, %10 ], [ %171, %34 ]
%49 = phi <2 x double> [ %21, %10 ], [ %42, %34 ]
%50 = add nsw i32 %0, -3
%51 = icmp slt i32 %45, %50
br i1 %51, label %173, label %245
52: ; preds = %31, %52
%53 = phi double* [ %171, %52 ], [ %29, %31 ]
%54 = phi double* [ %170, %52 ], [ %28, %31 ]
%55 = phi double [ %168, %52 ], [ %24, %31 ]
%56 = phi double* [ %114, %52 ], [ %5, %31 ]
%57 = phi i32 [ %169, %52 ], [ 4, %31 ]
%58 = phi <2 x double> [ %165, %52 ], [ %21, %31 ]
%59 = load double, double* %53
%60 = getelementptr inbounds double, double* %56, i64 5
%61 = load double, double* %60
%62 = getelementptr inbounds double, double* %56, i64 6
%63 = load double, double* %62
%64 = getelementptr inbounds double, double* %56, i64 7
%65 = load double, double* %64
%66 = load double, double* %54
%67 = getelementptr inbounds double, double* %54, i64 4
%68 = load double, double* %67
%69 = insertelement <2 x double> poison, double %66, i64 0
%70 = insertelement <2 x double> %69, double %68, i64 1
%71 = insertelement <2 x double> poison, double %59, i64 0
%72 = shufflevector <2 x double> %71, <2 x double> poison, <2 x i32> zeroinitializer
%73 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %70, <2 x double> %72, <2 x double> %58)
%74 = getelementptr inbounds double, double* %54, i64 8
%75 = load double, double* %74
%76 = tail call double @llvm.fmuladd.f64(double %75, double %59, double %55)
%77 = getelementptr inbounds double, double* %54, i64 1
%78 = load double, double* %77
%79 = getelementptr inbounds double, double* %54, i64 5
%80 = load double, double* %79
%81 = insertelement <2 x double> poison, double %78, i64 0
%82 = insertelement <2 x double> %81, double %80, i64 1
%83 = insertelement <2 x double> poison, double %61, i64 0
%84 = shufflevector <2 x double> %83, <2 x double> poison, <2 x i32> zeroinitializer
%85 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %82, <2 x double> %84, <2 x double> %73)
%86 = getelementptr inbounds double, double* %54, i64 9
%87 = load double, double* %86
%88 = tail call double @llvm.fmuladd.f64(double %87, double %61, double %76)
%89 = getelementptr inbounds double, double* %54, i64 2
%90 = load double, double* %89
%91 = getelementptr inbounds double, double* %54, i64 6
%92 = load double, double* %91
%93 = insertelement <2 x double> poison, double %90, i64 0
%94 = insertelement <2 x double> %93, double %92, i64 1
%95 = insertelement <2 x double> poison, double %63, i64 0
%96 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> zeroinitializer
%97 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %94, <2 x double> %96, <2 x double> %85)
%98 = getelementptr inbounds double, double* %54, i64 10
%99 = load double, double* %98
%100 = tail call double @llvm.fmuladd.f64(double %99, double %63, double %88)
%101 = getelementptr inbounds double, double* %54, i64 3
%102 = load double, double* %101
%103 = getelementptr inbounds double, double* %54, i64 7
%104 = load double, double* %103
%105 = insertelement <2 x double> poison, double %102, i64 0
%106 = insertelement <2 x double> %105, double %104, i64 1
%107 = insertelement <2 x double> poison, double %65, i64 0
%108 = shufflevector <2 x double> %107, <2 x double> poison, <2 x i32> zeroinitializer
%109 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %106, <2 x double> %108, <2 x double> %97)
%110 = getelementptr inbounds double, double* %54, i64 11
%111 = load double, double* %110
%112 = tail call double @llvm.fmuladd.f64(double %111, double %65, double %100)
%113 = getelementptr inbounds double, double* %54, i64 %26
%114 = getelementptr inbounds double, double* %56, i64 8
%115 = load double, double* %114
%116 = getelementptr inbounds double, double* %56, i64 9
%117 = load double, double* %116
%118 = getelementptr inbounds double, double* %56, i64 10
%119 = load double, double* %118
%120 = getelementptr inbounds double, double* %56, i64 11
%121 = load double, double* %120
%122 = load double, double* %113
%123 = getelementptr inbounds double, double* %113, i64 4
%124 = load double, double* %123
%125 = insertelement <2 x double> poison, double %122, i64 0
%126 = insertelement <2 x double> %125, double %124, i64 1
%127 = insertelement <2 x double> poison, double %115, i64 0
%128 = shufflevector <2 x double> %127, <2 x double> poison, <2 x i32> zeroinitializer
%129 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %126, <2 x double> %128, <2 x double> %109)
%130 = getelementptr inbounds double, double* %113, i64 8
%131 = load double, double* %130
%132 = tail call double @llvm.fmuladd.f64(double %131, double %115, double %112)
%133 = getelementptr inbounds double, double* %113, i64 1
%134 = load double, double* %133
%135 = getelementptr inbounds double, double* %113, i64 5
%136 = load double, double* %135
%137 = insertelement <2 x double> poison, double %134, i64 0
%138 = insertelement <2 x double> %137, double %136, i64 1
%139 = insertelement <2 x double> poison, double %117, i64 0
%140 = shufflevector <2 x double> %139, <2 x double> poison, <2 x i32> zeroinitializer
%141 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %138, <2 x double> %140, <2 x double> %129)
%142 = getelementptr inbounds double, double* %113, i64 9
%143 = load double, double* %142
%144 = tail call double @llvm.fmuladd.f64(double %143, double %117, double %132)
%145 = getelementptr inbounds double, double* %113, i64 2
%146 = load double, double* %145
%147 = getelementptr inbounds double, double* %113, i64 6
%148 = load double, double* %147
%149 = insertelement <2 x double> poison, double %146, i64 0
%150 = insertelement <2 x double> %149, double %148, i64 1
%151 = insertelement <2 x double> poison, double %119, i64 0
%152 = shufflevector <2 x double> %151, <2 x double> poison, <2 x i32> zeroinitializer
%153 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %150, <2 x double> %152, <2 x double> %141)
%154 = getelementptr inbounds double, double* %113, i64 10
%155 = load double, double* %154
%156 = tail call double @llvm.fmuladd.f64(double %155, double %119, double %144)
%157 = getelementptr inbounds double, double* %113, i64 3
%158 = load double, double* %157
%159 = getelementptr inbounds double, double* %113, i64 7
%160 = load double, double* %159
%161 = insertelement <2 x double> poison, double %158, i64 0
%162 = insertelement <2 x double> %161, double %160, i64 1
%163 = insertelement <2 x double> poison, double %121, i64 0
%164 = shufflevector <2 x double> %163, <2 x double> poison, <2 x i32> zeroinitializer
%165 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %162, <2 x double> %164, <2 x double> %153)
%166 = getelementptr inbounds double, double* %113, i64 11
%167 = load double, double* %166
%168 = tail call double @llvm.fmuladd.f64(double %167, double %121, double %156)
%169 = add nuw nsw i32 %57, 8
%170 = getelementptr inbounds double, double* %113, i64 %26
%171 = getelementptr inbounds double, double* %56, i64 12
%172 = icmp slt i32 %169, %27
br i1 %172, label %52, label %34
173: ; preds = %44, %173
%174 = phi double [ %232, %173 ], [ %46, %44 ]
%175 = phi double* [ %233, %173 ], [ %47, %44 ]
%176 = phi double* [ %234, %173 ], [ %48, %44 ]
%177 = phi i32 [ %235, %173 ], [ %45, %44 ]
%178 = phi <2 x double> [ %229, %173 ], [ %49, %44 ]
%179 = load double, double* %176
%180 = getelementptr inbounds double, double* %176, i64 1
%181 = load double, double* %180
%182 = getelementptr inbounds double, double* %176, i64 2
%183 = load double, double* %182
%184 = getelementptr inbounds double, double* %176, i64 3
%185 = load double, double* %184
%186 = load double, double* %175
%187 = getelementptr inbounds double, double* %175, i64 4
%188 = load double, double* %187
%189 = insertelement <2 x double> poison, double %186, i64 0
%190 = insertelement <2 x double> %189, double %188, i64 1
%191 = insertelement <2 x double> poison, double %179, i64 0
%192 = shufflevector <2 x double> %191, <2 x double> poison, <2 x i32> zeroinitializer
%193 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %190, <2 x double> %192, <2 x double> %178)
%194 = getelementptr inbounds double, double* %175, i64 8
%195 = load double, double* %194
%196 = tail call double @llvm.fmuladd.f64(double %195, double %179, double %174)
%197 = getelementptr inbounds double, double* %175, i64 1
%198 = load double, double* %197
%199 = getelementptr inbounds double, double* %175, i64 5
%200 = load double, double* %199
%201 = insertelement <2 x double> poison, double %198, i64 0
%202 = insertelement <2 x double> %201, double %200, i64 1
%203 = insertelement <2 x double> poison, double %181, i64 0
%204 = shufflevector <2 x double> %203, <2 x double> poison, <2 x i32> zeroinitializer
%205 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %202, <2 x double> %204, <2 x double> %193)
%206 = getelementptr inbounds double, double* %175, i64 9
%207 = load double, double* %206
%208 = tail call double @llvm.fmuladd.f64(double %207, double %181, double %196)
%209 = getelementptr inbounds double, double* %175, i64 2
%210 = load double, double* %209
%211 = getelementptr inbounds double, double* %175, i64 6
%212 = load double, double* %211
%213 = insertelement <2 x double> poison, double %210, i64 0
%214 = insertelement <2 x double> %213, double %212, i64 1
%215 = insertelement <2 x double> poison, double %183, i64 0
%216 = shufflevector <2 x double> %215, <2 x double> poison, <2 x i32> zeroinitializer
%217 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %214, <2 x double> %216, <2 x double> %205)
%218 = getelementptr inbounds double, double* %175, i64 10
%219 = load double, double* %218
%220 = tail call double @llvm.fmuladd.f64(double %219, double %183, double %208)
%221 = getelementptr inbounds double, double* %175, i64 3
%222 = load double, double* %221
%223 = getelementptr inbounds double, double* %175, i64 7
%224 = load double, double* %223
%225 = insertelement <2 x double> poison, double %222, i64 0
%226 = insertelement <2 x double> %225, double %224, i64 1
%227 = insertelement <2 x double> poison, double %185, i64 0
%228 = shufflevector <2 x double> %227, <2 x double> poison, <2 x i32> zeroinitializer
%229 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %226, <2 x double> %228, <2 x double> %217)
%230 = getelementptr inbounds double, double* %175, i64 11
%231 = load double, double* %230
%232 = tail call double @llvm.fmuladd.f64(double %231, double %185, double %220)
%233 = getelementptr inbounds double, double* %175, i64 %26
%234 = getelementptr inbounds double, double* %176, i64 4
%235 = add nuw nsw i32 %177, 4
%236 = icmp slt i32 %235, %50
br i1 %236, label %173, label %240
237: ; preds = %8
%238 = getelementptr inbounds double, double* %1, i64 3
%239 = getelementptr inbounds double, double* %5, i64 1
br label %245
240: ; preds = %173
%241 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %190, <2 x double> %192, <2 x double> %178)
%242 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %202, <2 x double> %204, <2 x double> %241)
%243 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %214, <2 x double> %216, <2 x double> %242)
%244 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %226, <2 x double> %228, <2 x double> %243)
br label %245
245: ; preds = %240, %44, %237
%246 = phi i32 [ 3, %237 ], [ %45, %44 ], [ %235, %240 ]
%247 = phi double* [ %239, %237 ], [ %48, %44 ], [ %234, %240 ]
%248 = phi double* [ %238, %237 ], [ %47, %44 ], [ %233, %240 ]
%249 = phi double [ 0.000000e+00, %237 ], [ %46, %44 ], [ %232, %240 ]
%250 = phi <2 x double> [ zeroinitializer, %237 ], [ %49, %44 ], [ %244, %240 ]
%251 = icmp slt i32 %246, %0
br i1 %251, label %252, label %322
252: ; preds = %245
%253 = sub i32 %0, %246
%254 = xor i32 %246, -1
%255 = and i32 %253, 1
%256 = icmp eq i32 %255, 0
br i1 %256, label %274, label %257
257: ; preds = %252
%258 = load double, double* %247
%259 = load double, double* %248
%260 = getelementptr inbounds double, double* %248, i64 4
%261 = load double, double* %260
%262 = insertelement <2 x double> poison, double %259, i64 0
%263 = insertelement <2 x double> %262, double %261, i64 1
%264 = insertelement <2 x double> poison, double %258, i64 0
%265 = shufflevector <2 x double> %264, <2 x double> poison, <2 x i32> zeroinitializer
%266 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %263, <2 x double> %265, <2 x double> %250)
%267 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %263, <2 x double> %265, <2 x double> %250)
%268 = getelementptr inbounds double, double* %248, i64 8
%269 = load double, double* %268
%270 = tail call double @llvm.fmuladd.f64(double %269, double %258, double %249)
%271 = getelementptr inbounds double, double* %248, i64 1
%272 = getelementptr inbounds double, double* %247, i64 1
%273 = add nsw i32 %246, 1
br label %274
274: ; preds = %257, %252
%275 = phi <2 x double> [ undef, %252 ], [ %267, %257 ]
%276 = phi double [ undef, %252 ], [ %270, %257 ]
%277 = phi double [ %249, %252 ], [ %270, %257 ]
%278 = phi double* [ %248, %252 ], [ %271, %257 ]
%279 = phi double* [ %247, %252 ], [ %272, %257 ]
%280 = phi i32 [ %246, %252 ], [ %273, %257 ]
%281 = phi <2 x double> [ %250, %252 ], [ %266, %257 ]
%282 = sub i32 0, %0
%283 = icmp eq i32 %254, %282
br i1 %283, label %322, label %284
284: ; preds = %274, %284
%285 = phi double [ %315, %284 ], [ %277, %274 ]
%286 = phi double* [ %316, %284 ], [ %278, %274 ]
%287 = phi double* [ %317, %284 ], [ %279, %274 ]
%288 = phi i32 [ %318, %284 ], [ %280, %274 ]
%289 = phi <2 x double> [ %312, %284 ], [ %281, %274 ]
%290 = load double, double* %287
%291 = load double, double* %286
%292 = getelementptr inbounds double, double* %286, i64 4
%293 = load double, double* %292
%294 = insertelement <2 x double> poison, double %291, i64 0
%295 = insertelement <2 x double> %294, double %293, i64 1
%296 = insertelement <2 x double> poison, double %290, i64 0
%297 = shufflevector <2 x double> %296, <2 x double> poison, <2 x i32> zeroinitializer
%298 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %295, <2 x double> %297, <2 x double> %289)
%299 = getelementptr inbounds double, double* %286, i64 8
%300 = load double, double* %299
%301 = tail call double @llvm.fmuladd.f64(double %300, double %290, double %285)
%302 = getelementptr inbounds double, double* %286, i64 1
%303 = getelementptr inbounds double, double* %287, i64 1
%304 = load double, double* %303
%305 = load double, double* %302
%306 = getelementptr inbounds double, double* %286, i64 5
%307 = load double, double* %306
%308 = insertelement <2 x double> poison, double %305, i64 0
%309 = insertelement <2 x double> %308, double %307, i64 1
%310 = insertelement <2 x double> poison, double %304, i64 0
%311 = shufflevector <2 x double> %310, <2 x double> poison, <2 x i32> zeroinitializer
%312 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %309, <2 x double> %311, <2 x double> %298)
%313 = getelementptr inbounds double, double* %286, i64 9
%314 = load double, double* %313
%315 = tail call double @llvm.fmuladd.f64(double %314, double %304, double %301)
%316 = getelementptr inbounds double, double* %286, i64 2
%317 = getelementptr inbounds double, double* %287, i64 2
%318 = add nsw i32 %288, 2
%319 = icmp eq i32 %318, %0
br i1 %319, label %320, label %284
320: ; preds = %284
%321 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %309, <2 x double> %311, <2 x double> %298)
br label %322
322: ; preds = %320, %274, %245
%323 = phi double [ %249, %245 ], [ %276, %274 ], [ %315, %320 ]
%324 = phi <2 x double> [ %250, %245 ], [ %275, %274 ], [ %321, %320 ]
%325 = icmp eq i32 %3, 0
%326 = getelementptr inbounds double, double* %5, i64 2
%327 = load double, double* %326
%328 = fsub double %327, %323
br i1 %325, label %355, label %329
329: ; preds = %322
%330 = getelementptr inbounds double, double* %4, i64 2
%331 = load double, double* %330
%332 = fmul double %328, %331
store double %332, double* %326
%333 = getelementptr inbounds double, double* %1, i64 2
%334 = load double, double* %333
%335 = extractelement <2 x double> %324, i64 0
%336 = tail call double @llvm.fmuladd.f64(double %334, double %332, double %335)
%337 = getelementptr inbounds double, double* %1, i64 6
%338 = load double, double* %337
%339 = extractelement <2 x double> %324, i64 1
%340 = tail call double @llvm.fmuladd.f64(double %338, double %332, double %339)
%341 = getelementptr inbounds double, double* %5, i64 1
%342 = load double, double* %341
%343 = fsub double %342, %340
%344 = getelementptr inbounds double, double* %4, i64 1
%345 = load double, double* %344
%346 = fmul double %343, %345
store double %346, double* %341
%347 = load double, double* %5
%348 = getelementptr inbounds double, double* %1, i64 1
%349 = load double, double* %348
%350 = fneg double %349
%351 = tail call double @llvm.fmuladd.f64(double %350, double %346, double %347)
%352 = fsub double %351, %336
%353 = load double, double* %4
%354 = fmul double %353, %352
br label %381
355: ; preds = %322
%356 = getelementptr inbounds double, double* %1, i64 10
%357 = load double, double* %356
%358 = fdiv double %328, %357
store double %358, double* %326
%359 = getelementptr inbounds double, double* %1, i64 2
%360 = load double, double* %359
%361 = extractelement <2 x double> %324, i64 0
%362 = tail call double @llvm.fmuladd.f64(double %360, double %358, double %361)
%363 = getelementptr inbounds double, double* %1, i64 6
%364 = load double, double* %363
%365 = extractelement <2 x double> %324, i64 1
%366 = tail call double @llvm.fmuladd.f64(double %364, double %358, double %365)
%367 = getelementptr inbounds double, double* %5, i64 1
%368 = load double, double* %367
%369 = fsub double %368, %366
%370 = getelementptr inbounds double, double* %1, i64 5
%371 = load double, double* %370
%372 = fdiv double %369, %371
store double %372, double* %367
%373 = load double, double* %5
%374 = getelementptr inbounds double, double* %1, i64 1
%375 = load double, double* %374
%376 = fneg double %375
%377 = tail call double @llvm.fmuladd.f64(double %376, double %372, double %373)
%378 = fsub double %377, %362
%379 = load double, double* %1
%380 = fdiv double %378, %379
br label %381
381: ; preds = %355, %329
%382 = phi double [ %380, %355 ], [ %354, %329 ]
store double %382, double* %5
br label %383
383: ; preds = %6, %381
ret void
}