void kernel_dgemm_dtrsm_nt_2x4_vs_lib4(int km, int kn, int tri, int kadd,
                                       int ksub, double *Ap, double *Bp,
                                       double *Am, double *Bm, double *C,
                                       double *D, double *fact, int alg) {
  const int bs = 4;
  int k;
  double a_0, a_1, b_0, b_1, b_2, b_3, c_00 = 0, c_01 = 0, c_02 = 0, c_03 = 0,
                                       c_10 = 0, c_11 = 0, c_12 = 0, c_13 = 0;
  k = 0;
  if (kadd > 0) {
    if (tri == 1) {
      if (kadd >= 2) {
        a_0 = Ap[0 + bs * 0];
        b_0 = Bp[0 + bs * 0];
        b_1 = Bp[1 + bs * 0];
        b_2 = Bp[2 + bs * 0];
        b_3 = Bp[3 + bs * 0];
        c_00 += a_0 * b_0;
        c_01 += a_0 * b_1;
        c_02 += a_0 * b_2;
        c_03 += a_0 * b_3;
        a_0 = Ap[0 + bs * 1];
        a_1 = Ap[1 + bs * 1];
        b_0 = Bp[0 + bs * 1];
        b_1 = Bp[1 + bs * 1];
        b_2 = Bp[2 + bs * 1];
        b_3 = Bp[3 + 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;
        c_02 += a_0 * b_2;
        c_12 += a_1 * b_2;
        c_03 += a_0 * b_3;
        c_13 += a_1 * b_3;
        Ap += 8;
        Bp += 8;
        k += 2;
      } else {
        a_0 = Ap[0 + bs * 0];
        b_0 = Bp[0 + bs * 0];
        b_1 = Bp[1 + bs * 0];
        b_2 = Bp[2 + bs * 0];
        b_3 = Bp[3 + bs * 0];
        c_00 += a_0 * b_0;
        c_01 += a_0 * b_1;
        c_02 += a_0 * b_2;
        c_03 += a_0 * b_3;
        k += 1;
      }
    }
    for (; k < kadd - 3; k += 4) {
      a_0 = Ap[0 + bs * 0];
      a_1 = Ap[1 + bs * 0];
      b_0 = Bp[0 + bs * 0];
      b_1 = Bp[1 + bs * 0];
      b_2 = Bp[2 + bs * 0];
      b_3 = Bp[3 + bs * 0];
      c_00 += a_0 * b_0;
      c_10 += a_1 * b_0;
      c_01 += a_0 * b_1;
      c_11 += a_1 * b_1;
      c_02 += a_0 * b_2;
      c_12 += a_1 * b_2;
      c_03 += a_0 * b_3;
      c_13 += a_1 * b_3;
      a_0 = Ap[0 + bs * 1];
      a_1 = Ap[1 + bs * 1];
      b_0 = Bp[0 + bs * 1];
      b_1 = Bp[1 + bs * 1];
      b_2 = Bp[2 + bs * 1];
      b_3 = Bp[3 + 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;
      c_02 += a_0 * b_2;
      c_12 += a_1 * b_2;
      c_03 += a_0 * b_3;
      c_13 += a_1 * b_3;
      a_0 = Ap[0 + bs * 2];
      a_1 = Ap[1 + bs * 2];
      b_0 = Bp[0 + bs * 2];
      b_1 = Bp[1 + bs * 2];
      b_2 = Bp[2 + bs * 2];
      b_3 = Bp[3 + bs * 2];
      c_00 += a_0 * b_0;
      c_10 += a_1 * b_0;
      c_01 += a_0 * b_1;
      c_11 += a_1 * b_1;
      c_02 += a_0 * b_2;
      c_12 += a_1 * b_2;
      c_03 += a_0 * b_3;
      c_13 += a_1 * b_3;
      a_0 = Ap[0 + bs * 3];
      a_1 = Ap[1 + bs * 3];
      b_0 = Bp[0 + bs * 3];
      b_1 = Bp[1 + bs * 3];
      b_2 = Bp[2 + bs * 3];
      b_3 = Bp[3 + bs * 3];
      c_00 += a_0 * b_0;
      c_10 += a_1 * b_0;
      c_01 += a_0 * b_1;
      c_11 += a_1 * b_1;
      c_02 += a_0 * b_2;
      c_12 += a_1 * b_2;
      c_03 += a_0 * b_3;
      c_13 += a_1 * b_3;
      Ap += 16;
      Bp += 16;
    }
    for (; k < kadd; k++) {
      a_0 = Ap[0 + bs * 0];
      a_1 = Ap[1 + bs * 0];
      b_0 = Bp[0 + bs * 0];
      b_1 = Bp[1 + bs * 0];
      b_2 = Bp[2 + bs * 0];
      b_3 = Bp[3 + bs * 0];
      c_00 += a_0 * b_0;
      c_10 += a_1 * b_0;
      c_01 += a_0 * b_1;
      c_11 += a_1 * b_1;
      c_02 += a_0 * b_2;
      c_12 += a_1 * b_2;
      c_03 += a_0 * b_3;
      c_13 += a_1 * b_3;
      Ap += 4;
      Bp += 4;
    }
  }
  for (k = 0; k < ksub - 3; k += 4) {
    a_0 = Am[0 + bs * 0];
    a_1 = Am[1 + bs * 0];
    b_0 = Bm[0 + bs * 0];
    b_1 = Bm[1 + bs * 0];
    b_2 = Bm[2 + bs * 0];
    b_3 = Bm[3 + bs * 0];
    c_00 -= a_0 * b_0;
    c_10 -= a_1 * b_0;
    c_01 -= a_0 * b_1;
    c_11 -= a_1 * b_1;
    c_02 -= a_0 * b_2;
    c_12 -= a_1 * b_2;
    c_03 -= a_0 * b_3;
    c_13 -= a_1 * b_3;
    a_0 = Am[0 + bs * 1];
    a_1 = Am[1 + bs * 1];
    b_0 = Bm[0 + bs * 1];
    b_1 = Bm[1 + bs * 1];
    b_2 = Bm[2 + bs * 1];
    b_3 = Bm[3 + 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;
    c_02 -= a_0 * b_2;
    c_12 -= a_1 * b_2;
    c_03 -= a_0 * b_3;
    c_13 -= a_1 * b_3;
    a_0 = Am[0 + bs * 2];
    a_1 = Am[1 + bs * 2];
    b_0 = Bm[0 + bs * 2];
    b_1 = Bm[1 + bs * 2];
    b_2 = Bm[2 + bs * 2];
    b_3 = Bm[3 + bs * 2];
    c_00 -= a_0 * b_0;
    c_10 -= a_1 * b_0;
    c_01 -= a_0 * b_1;
    c_11 -= a_1 * b_1;
    c_02 -= a_0 * b_2;
    c_12 -= a_1 * b_2;
    c_03 -= a_0 * b_3;
    c_13 -= a_1 * b_3;
    a_0 = Am[0 + bs * 3];
    a_1 = Am[1 + bs * 3];
    b_0 = Bm[0 + bs * 3];
    b_1 = Bm[1 + bs * 3];
    b_2 = Bm[2 + bs * 3];
    b_3 = Bm[3 + bs * 3];
    c_00 -= a_0 * b_0;
    c_10 -= a_1 * b_0;
    c_01 -= a_0 * b_1;
    c_11 -= a_1 * b_1;
    c_02 -= a_0 * b_2;
    c_12 -= a_1 * b_2;
    c_03 -= a_0 * b_3;
    c_13 -= a_1 * b_3;
    Am += 16;
    Bm += 16;
  }
  if (alg != 0) {
    c_00 += C[0 + bs * 0];
    c_10 += C[1 + bs * 0];
    c_01 += C[0 + bs * 1];
    c_11 += C[1 + bs * 1];
    c_02 += C[0 + bs * 2];
    c_12 += C[1 + bs * 2];
    c_03 += C[0 + bs * 3];
    c_13 += C[1 + bs * 3];
  }
  double a_00, a_10, a_20, a_30, a_11, a_21, a_31, a_22, a_32, a_33;
  a_00 = fact[0];
  c_00 *= a_00;
  c_10 *= a_00;
  D[0 + bs * 0] = c_00;
  if (km >= 4)
    D[1 + bs * 0] = c_10;
  a_10 = fact[1];
  a_11 = fact[2];
  c_01 -= c_00 * a_10;
  c_11 -= c_10 * a_10;
  c_01 *= a_11;
  c_11 *= a_11;
  D[0 + bs * 1] = c_01;
  if (km >= 4)
    D[1 + bs * 1] = c_11;
  a_20 = fact[3];
  a_21 = fact[4];
  a_22 = fact[5];
  c_02 -= c_00 * a_20;
  c_12 -= c_10 * a_20;
  c_02 -= c_01 * a_21;
  c_12 -= c_11 * a_21;
  c_02 *= a_22;
  c_12 *= a_22;
  D[0 + bs * 2] = c_02;
  if (km >= 4)
    D[1 + bs * 2] = c_12;
  if (kn == 3)
    return;
  a_30 = fact[6];
  a_31 = fact[7];
  a_32 = fact[8];
  a_33 = fact[9];
  c_03 -= c_00 * a_30;
  c_13 -= c_10 * a_30;
  c_03 -= c_01 * a_31;
  c_13 -= c_11 * a_31;
  c_03 -= c_02 * a_32;
  c_13 -= c_12 * a_32;
  c_03 *= a_33;
  c_13 *= a_33;
  D[0 + bs * 3] = c_03;
  if (km >= 4)
    D[1 + bs * 3] = c_13;
}


x86 assembly (clang, -O0):
<kernel_dgemm_dtrsm_nt_2x4_vs_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x68,%rsp
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8d,-0x14(%rbp)
mov    %r9,-0x20(%rbp)
movl   $0x4,-0x24(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%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
movl   $0x0,-0x28(%rbp)
cmpl   $0x0,-0x10(%rbp)
jle    1b64 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0xa64>
cmpl   $0x1,-0xc(%rbp)
jne    148e <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x38e>
cmpl   $0x2,-0x10(%rbp)
jl     13cc <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x2cc>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
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)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x38(%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    0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x20(%rbp),%rax
add    $0x40,%rax
mov    %rax,-0x20(%rbp)
mov    0x10(%rbp),%rax
add    $0x40,%rax
mov    %rax,0x10(%rbp)
mov    -0x28(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x28(%rbp)
jmp    1489 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x389>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
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)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    148e <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x38e>
jmp    1493 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x393>
mov    -0x28(%rbp),%eax
mov    -0x10(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    19e4 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x8e4>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
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)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x20(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x38(%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    0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x20(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
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)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x20(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
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)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x20(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x20(%rbp)
mov    0x10(%rbp),%rax
add    $0x80,%rax
mov    %rax,0x10(%rbp)
mov    -0x28(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x28(%rbp)
jmp    1493 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x393>
jmp    19e9 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x8e9>
mov    -0x28(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1b5f <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0xa5f>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
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)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x20(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x20(%rbp)
mov    0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,0x10(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    19e9 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x8e9>
jmp    1b64 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0xa64>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    239c <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x129c>
mov    0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x20(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%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  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%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  -0x30(%rbp),%xmm0
movsd  -0x50(%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  -0x38(%rbp),%xmm0
movsd  -0x50(%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  -0x30(%rbp),%xmm0
movsd  -0x58(%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  -0x38(%rbp),%xmm0
movsd  -0x58(%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    0x18(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    0x18(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    0x20(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    0x20(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    0x20(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x20(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%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  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%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  -0x30(%rbp),%xmm0
movsd  -0x50(%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  -0x38(%rbp),%xmm0
movsd  -0x50(%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  -0x30(%rbp),%xmm0
movsd  -0x58(%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  -0x38(%rbp),%xmm0
movsd  -0x58(%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    0x18(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    0x18(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    0x20(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    0x20(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    0x20(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x20(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%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  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%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  -0x30(%rbp),%xmm0
movsd  -0x50(%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  -0x38(%rbp),%xmm0
movsd  -0x50(%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  -0x30(%rbp),%xmm0
movsd  -0x58(%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  -0x38(%rbp),%xmm0
movsd  -0x58(%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    0x18(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    0x18(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    0x20(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    0x20(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    0x20(%rbp),%rax
movsd  0x70(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x20(%rbp),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%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  -0x30(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x48(%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  -0x30(%rbp),%xmm0
movsd  -0x50(%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  -0x38(%rbp),%xmm0
movsd  -0x50(%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  -0x30(%rbp),%xmm0
movsd  -0x58(%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  -0x38(%rbp),%xmm0
movsd  -0x58(%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    0x18(%rbp),%rax
add    $0x80,%rax
mov    %rax,0x18(%rbp)
mov    0x20(%rbp),%rax
add    $0x80,%rax
mov    %rax,0x20(%rbp)
mov    -0x28(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x28(%rbp)
jmp    1b6b <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0xa6b>
cmpl   $0x0,0x40(%rbp)
je     244f <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x134f>
mov    0x28(%rbp),%rax
movsd  (%rax),%xmm0
addsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
addsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x28(%rbp),%rax
movsd  0x20(%rax),%xmm0
addsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    0x28(%rbp),%rax
movsd  0x28(%rax),%xmm0
addsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
mov    0x28(%rbp),%rax
movsd  0x40(%rax),%xmm0
addsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x28(%rbp),%rax
movsd  0x48(%rax),%xmm0
addsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
mov    0x28(%rbp),%rax
movsd  0x60(%rax),%xmm0
addsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    0x28(%rbp),%rax
movsd  0x68(%rax),%xmm0
addsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
mov    0x38(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x60(%rbp),%xmm0
mov    0x30(%rbp),%rax
movsd  %xmm0,(%rax)
cmpl   $0x4,-0x4(%rbp)
jl     24a8 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x13a8>
movsd  -0x80(%rbp),%xmm0
mov    0x30(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    0x38(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    0x38(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
movsd  -0xa8(%rbp),%xmm2
ff
movsd  -0x68(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x80(%rbp),%xmm0
movsd  -0xa8(%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  -0xc0(%rbp),%xmm0
ff
mulsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
mulsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
mov    0x30(%rbp),%rax
movsd  %xmm0,0x20(%rax)
cmpl   $0x4,-0x4(%rbp)
jl     258f <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x148f>
movsd  -0x88(%rbp),%xmm0
ff
mov    0x30(%rbp),%rax
movsd  %xmm0,0x28(%rax)
mov    0x38(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
mov    0x38(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
mov    0x38(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
movsd  -0xb0(%rbp),%xmm2
ff
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  -0x80(%rbp),%xmm0
movsd  -0xb0(%rbp),%xmm2
ff
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  -0x68(%rbp),%xmm0
movsd  -0xc8(%rbp),%xmm2
ff
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  -0x88(%rbp),%xmm0
ff
movsd  -0xc8(%rbp),%xmm2
ff
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  -0xd8(%rbp),%xmm0
ff
mulsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0xd8(%rbp),%xmm0
ff
mulsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    0x30(%rbp),%rax
movsd  %xmm0,0x40(%rax)
cmpl   $0x4,-0x4(%rbp)
jl     26fc <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x15fc>
movsd  -0x90(%rbp),%xmm0
ff
mov    0x30(%rbp),%rax
movsd  %xmm0,0x48(%rax)
cmpl   $0x3,-0x8(%rbp)
jne    270b <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x160b>
jmp    28fe <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x17fe>
mov    0x38(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
mov    0x38(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
mov    0x38(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
mov    0x38(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0x60(%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  -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  -0x68(%rbp),%xmm0
movsd  -0xd0(%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  -0x88(%rbp),%xmm0
ff
movsd  -0xd0(%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  -0x70(%rbp),%xmm0
movsd  -0xe0(%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  -0x90(%rbp),%xmm0
ff
movsd  -0xe0(%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  -0xe8(%rbp),%xmm0
ff
mulsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0xe8(%rbp),%xmm0
ff
mulsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
mov    0x30(%rbp),%rax
movsd  %xmm0,0x60(%rax)
cmpl   $0x4,-0x4(%rbp)
jl     28fe <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x17fe>
movsd  -0x98(%rbp),%xmm0
ff
mov    0x30(%rbp),%rax
movsd  %xmm0,0x68(%rax)
add    $0x68,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dgemm_dtrsm_nt_2x4_vs_lib4>:
sub    $0x28,%rsp
test   %ecx,%ecx
jle    11ae <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0xae>
mov    0x30(%rsp),%rax
cmp    $0x1,%edx
jne    11c7 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0xc7>
movupd (%rax),%xmm0
movupd 0x10(%rax),%xmm11
movsd  (%r9),%xmm14
unpcklpd %xmm14,%xmm14
mulpd  %xmm14,%xmm11
xorpd  %xmm12,%xmm12
addpd  %xmm12,%xmm11
mulpd  %xmm0,%xmm14
addpd  %xmm12,%xmm14
cmp    $0x2,%ecx
jb     11df <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0xdf>
movupd 0x20(%rax),%xmm0
movupd 0x30(%rax),%xmm13
movsd  0x20(%r9),%xmm1
movsd  0x28(%r9),%xmm12
unpcklpd %xmm1,%xmm1
movapd %xmm1,%xmm2
mulpd  %xmm13,%xmm2
addpd  %xmm2,%xmm11
mulpd  %xmm0,%xmm1
addpd  %xmm1,%xmm14
unpcklpd %xmm12,%xmm12
mulpd  %xmm12,%xmm13
xorpd  %xmm1,%xmm1
addpd  %xmm1,%xmm13
mulpd  %xmm0,%xmm12
addpd  %xmm1,%xmm12
add    $0x40,%r9
add    $0x40,%rax
mov    $0x2,%edx
jmp    11e9 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0xe9>
xorpd  %xmm12,%xmm12
xorpd  %xmm13,%xmm13
xorpd  %xmm14,%xmm14
xorpd  %xmm11,%xmm11
jmp    141e <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x31e>
xorpd  %xmm12,%xmm12
xor    %edx,%edx
xorpd  %xmm13,%xmm13
xorpd  %xmm14,%xmm14
xorpd  %xmm11,%xmm11
jmp    11e9 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0xe9>
mov    $0x1,%edx
xorpd  %xmm13,%xmm13
lea    -0x3(%rcx),%r10d
cmp    %r10d,%edx
jge    1366 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x266>
cs nopw 0x0(%rax,%rax,1)
movupd (%rax),%xmm2
movupd 0x10(%rax),%xmm4
movupd 0x20(%rax),%xmm7
movupd 0x30(%rax),%xmm8
movsd  (%r9),%xmm5
movsd  0x8(%r9),%xmm0
movsd  0x20(%r9),%xmm1
movsd  0x28(%r9),%xmm9
unpcklpd %xmm5,%xmm5
movapd %xmm5,%xmm6
mulpd  %xmm2,%xmm6
addpd  %xmm14,%xmm6
mulpd  %xmm4,%xmm5
addpd  %xmm11,%xmm5
unpcklpd %xmm0,%xmm0
mulpd  %xmm0,%xmm2
addpd  %xmm12,%xmm2
mulpd  %xmm4,%xmm0
addpd  %xmm13,%xmm0
unpcklpd %xmm1,%xmm1
movapd %xmm1,%xmm3
mulpd  %xmm8,%xmm3
addpd  %xmm5,%xmm3
mulpd  %xmm7,%xmm1
addpd  %xmm6,%xmm1
unpcklpd %xmm9,%xmm9
mulpd  %xmm9,%xmm8
addpd  %xmm0,%xmm8
mulpd  %xmm7,%xmm9
addpd  %xmm2,%xmm9
movupd 0x50(%rax),%xmm0
movupd 0x40(%rax),%xmm7
movsd  0x40(%r9),%xmm4
unpcklpd %xmm4,%xmm4
movapd %xmm4,%xmm6
mulpd  %xmm7,%xmm6
addpd  %xmm1,%xmm6
mulpd  %xmm0,%xmm4
addpd  %xmm3,%xmm4
movsd  0x48(%r9),%xmm5
unpcklpd %xmm5,%xmm5
mulpd  %xmm5,%xmm7
addpd  %xmm9,%xmm7
mulpd  %xmm0,%xmm5
addpd  %xmm8,%xmm5
movupd 0x60(%rax),%xmm8
movupd 0x70(%rax),%xmm1
movsd  0x60(%r9),%xmm3
unpcklpd %xmm3,%xmm3
movapd %xmm3,%xmm2
mulpd  %xmm1,%xmm2
movapd %xmm2,%xmm11
addpd  %xmm4,%xmm11
mulpd  %xmm8,%xmm3
movapd %xmm3,%xmm14
addpd  %xmm6,%xmm14
movsd  0x68(%r9),%xmm0
unpcklpd %xmm0,%xmm0
mulpd  %xmm0,%xmm1
movapd %xmm1,%xmm13
addpd  %xmm5,%xmm13
mulpd  %xmm8,%xmm0
movapd %xmm0,%xmm12
addpd  %xmm7,%xmm12
sub    $0xffffffffffffff80,%r9
sub    $0xffffffffffffff80,%rax
add    $0x4,%edx
cmp    %r10d,%edx
jl     1200 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x100>
addpd  %xmm7,%xmm0
addpd  %xmm5,%xmm1
addpd  %xmm6,%xmm3
addpd  %xmm4,%xmm2
movapd %xmm0,%xmm12
movapd %xmm1,%xmm13
movapd %xmm3,%xmm14
movapd %xmm2,%xmm11
cmp    %ecx,%edx
jge    141e <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x31e>
sub    %edx,%ecx
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movapd %xmm11,%xmm8
movapd %xmm14,%xmm2
movapd %xmm13,%xmm5
movapd %xmm12,%xmm1
movupd (%rax,%rdx,1),%xmm0
movupd 0x10(%rax,%rdx,1),%xmm3
movsd  (%r9,%rdx,1),%xmm4
movsd  0x8(%r9,%rdx,1),%xmm7
unpcklpd %xmm4,%xmm4
movapd %xmm4,%xmm6
mulpd  %xmm3,%xmm6
movapd %xmm6,%xmm11
addpd  %xmm8,%xmm11
mulpd  %xmm0,%xmm4
movapd %xmm4,%xmm14
addpd  %xmm2,%xmm14
unpcklpd %xmm7,%xmm7
mulpd  %xmm7,%xmm3
movapd %xmm3,%xmm13
addpd  %xmm5,%xmm13
mulpd  %xmm0,%xmm7
movapd %xmm7,%xmm12
addpd  %xmm1,%xmm12
add    $0x20,%rdx
add    $0xffffffff,%ecx
jne    1380 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x280>
addpd  %xmm1,%xmm7
addpd  %xmm5,%xmm3
addpd  %xmm2,%xmm4
addpd  %xmm8,%xmm6
movapd %xmm7,%xmm12
movapd %xmm3,%xmm13
movapd %xmm4,%xmm14
movapd %xmm6,%xmm11
mov    0x60(%rsp),%r9d
cmp    $0x4,%r8d
jl     172d <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x62d>
mov    0x40(%rsp),%r10
mov    0x38(%rsp),%rdx
add    $0xfffffffd,%r8d
xor    %eax,%eax
xor    %ecx,%ecx
nop
movapd %xmm11,-0x20(%rsp)
movapd %xmm14,-0x10(%rsp)
movapd %xmm13,-0x40(%rsp)
movapd %xmm12,-0x30(%rsp)
movupd (%r10,%rax,1),%xmm6
movupd 0x10(%r10,%rax,1),%xmm4
movupd 0x20(%r10,%rax,1),%xmm3
movupd 0x30(%r10,%rax,1),%xmm5
movsd  (%rdx,%rax,1),%xmm0
movsd  0x8(%rdx,%rax,1),%xmm9
movsd  0x20(%rdx,%rax,1),%xmm7
movsd  0x28(%rdx,%rax,1),%xmm1
movapd %xmm0,-0x70(%rsp)
unpcklpd %xmm0,%xmm0
movapd %xmm0,%xmm2
mulpd  %xmm6,%xmm2
subpd  %xmm2,%xmm14
mulpd  %xmm4,%xmm0
subpd  %xmm0,%xmm11
movapd %xmm9,%xmm0
unpcklpd %xmm9,%xmm0
movapd %xmm0,%xmm2
movapd %xmm6,-0x60(%rsp)
mulpd  %xmm6,%xmm2
subpd  %xmm2,%xmm12
movapd %xmm4,(%rsp)
mulpd  %xmm4,%xmm0
subpd  %xmm0,%xmm13
movapd %xmm7,-0x80(%rsp)
movapd %xmm7,%xmm0
unpcklpd %xmm7,%xmm0
movapd %xmm0,%xmm2
mulpd  %xmm5,%xmm2
subpd  %xmm2,%xmm11
mulpd  %xmm3,%xmm0
subpd  %xmm0,%xmm14
movapd %xmm1,%xmm8
movapd %xmm1,%xmm0
unpcklpd %xmm1,%xmm0
movapd %xmm0,%xmm2
movapd %xmm5,-0x50(%rsp)
mulpd  %xmm5,%xmm2
subpd  %xmm2,%xmm13
movapd %xmm3,0x10(%rsp)
mulpd  %xmm3,%xmm0
subpd  %xmm0,%xmm12
movupd 0x40(%r10,%rax,1),%xmm0
movsd  0x40(%rdx,%rax,1),%xmm1
movapd %xmm1,%xmm2
unpcklpd %xmm1,%xmm2
movapd %xmm2,%xmm3
mulpd  %xmm0,%xmm3
subpd  %xmm3,%xmm14
movupd 0x50(%r10,%rax,1),%xmm4
mulpd  %xmm4,%xmm2
subpd  %xmm2,%xmm11
movsd  0x48(%rdx,%rax,1),%xmm15
movapd %xmm15,%xmm2
unpcklpd %xmm15,%xmm2
movapd %xmm2,%xmm3
mulpd  %xmm0,%xmm3
subpd  %xmm3,%xmm12
mulpd  %xmm4,%xmm2
subpd  %xmm2,%xmm13
movsd  0x60(%rdx,%rax,1),%xmm2
movapd %xmm2,%xmm7
unpcklpd %xmm2,%xmm7
movupd 0x70(%r10,%rax,1),%xmm10
movapd %xmm7,%xmm3
mulpd  %xmm10,%xmm3
subpd  %xmm3,%xmm11
movupd 0x60(%r10,%rax,1),%xmm3
mulpd  %xmm3,%xmm7
subpd  %xmm7,%xmm14
movsd  0x68(%rdx,%rax,1),%xmm6
movapd %xmm6,%xmm5
unpcklpd %xmm6,%xmm5
movapd %xmm5,%xmm7
mulpd  %xmm10,%xmm7
subpd  %xmm7,%xmm13
mulpd  %xmm3,%xmm5
subpd  %xmm5,%xmm12
add    $0x4,%ecx
sub    $0xffffffffffffff80,%rax
cmp    %r8d,%ecx
jl     1440 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x340>
movapd 0xa0a(%rip),%xmm5
movapd -0x70(%rsp),%xmm7
xorpd  %xmm5,%xmm7
movapd %xmm7,-0x70(%rsp)
xorpd  %xmm5,%xmm9
movapd -0x80(%rsp),%xmm7
xorpd  %xmm5,%xmm7
movapd %xmm7,-0x80(%rsp)
xorpd  %xmm5,%xmm8
xorpd  %xmm5,%xmm1
xorpd  %xmm5,%xmm15
xorpd  %xmm5,%xmm2
xorpd  %xmm5,%xmm6
pshufd $0x44,%xmm9,%xmm5
movdqa %xmm5,%xmm9
movapd (%rsp),%xmm14
mulpd  %xmm14,%xmm9
addpd  -0x40(%rsp),%xmm9
mulpd  -0x60(%rsp),%xmm5
addpd  -0x30(%rsp),%xmm5
pshufd $0x44,%xmm8,%xmm7
movdqa %xmm7,%xmm8
movapd 0x10(%rsp),%xmm11
mulpd  %xmm11,%xmm8
addpd  %xmm5,%xmm8
mulpd  -0x50(%rsp),%xmm7
addpd  %xmm9,%xmm7
pshufd $0x44,%xmm15,%xmm5
movdqa %xmm5,%xmm9
mulpd  %xmm4,%xmm9
addpd  %xmm7,%xmm9
mulpd  %xmm0,%xmm5
addpd  %xmm8,%xmm5
pshufd $0x44,%xmm6,%xmm13
movdqa %xmm13,%xmm12
mulpd  %xmm3,%xmm12
addpd  %xmm5,%xmm12
mulpd  %xmm10,%xmm13
addpd  %xmm9,%xmm13
pshufd $0x44,-0x70(%rsp),%xmm6
mulpd  %xmm6,%xmm14
addpd  -0x20(%rsp),%xmm14
mulpd  -0x60(%rsp),%xmm6
addpd  -0x10(%rsp),%xmm6
pshufd $0x44,-0x80(%rsp),%xmm5
mulpd  %xmm5,%xmm11
addpd  %xmm6,%xmm11
mulpd  -0x50(%rsp),%xmm5
addpd  %xmm14,%xmm5
pshufd $0x44,%xmm1,%xmm1
mulpd  %xmm1,%xmm4
addpd  %xmm5,%xmm4
mulpd  %xmm0,%xmm1
addpd  %xmm11,%xmm1
pshufd $0x44,%xmm2,%xmm11
mulpd  %xmm11,%xmm3
addpd  %xmm1,%xmm3
mulpd  %xmm10,%xmm11
addpd  %xmm4,%xmm11
movapd %xmm3,%xmm14
mov    0x58(%rsp),%rdx
mov    0x50(%rsp),%rcx
test   %r9d,%r9d
je     177c <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x67c>
mov    0x48(%rsp),%rax
movsd  (%rax),%xmm0
movsd  0x8(%rax),%xmm1
movsd  0x40(%rax),%xmm2
movsd  0x48(%rax),%xmm3
movhpd 0x20(%rax),%xmm0
movhpd 0x60(%rax),%xmm2
addpd  %xmm2,%xmm11
addpd  %xmm0,%xmm14
movhpd 0x28(%rax),%xmm1
movhpd 0x68(%rax),%xmm3
addpd  %xmm3,%xmm13
addpd  %xmm1,%xmm12
movsd  (%rdx),%xmm0
movapd %xmm14,%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm12,%xmm0
movsd  %xmm1,(%rcx)
cmp    $0x4,%edi
jl     179c <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x69c>
movsd  %xmm0,0x8(%rcx)
movsd  0x8(%rdx),%xmm2
movsd  0x10(%rdx),%xmm3
movapd 0x851(%rip),%xmm8
movapd %xmm1,%xmm6
xorpd  %xmm8,%xmm6
unpckhpd %xmm14,%xmm14
mulsd  %xmm2,%xmm1
subsd  %xmm1,%xmm14
movapd %xmm0,%xmm4
xorpd  %xmm8,%xmm4
unpckhpd %xmm12,%xmm12
mulsd  %xmm2,%xmm0
subsd  %xmm0,%xmm12
mulsd  %xmm3,%xmm14
mulsd  %xmm3,%xmm12
movsd  %xmm14,0x20(%rcx)
cmp    $0x4,%edi
jl     17f8 <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x6f8>
movsd  %xmm12,0x28(%rcx)
movsd  0x18(%rdx),%xmm7
movsd  0x20(%rdx),%xmm0
movsd  0x28(%rdx),%xmm2
movapd %xmm6,%xmm1
mulsd  %xmm7,%xmm1
addsd  %xmm11,%xmm1
mulsd  %xmm4,%xmm7
addsd  %xmm13,%xmm7
movapd %xmm14,%xmm3
mulsd  %xmm0,%xmm3
subsd  %xmm3,%xmm1
mulsd  %xmm12,%xmm0
subsd  %xmm0,%xmm7
mulsd  %xmm2,%xmm1
mulsd  %xmm2,%xmm7
movsd  %xmm1,0x40(%rcx)
cmp    $0x4,%edi
jl     184a <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x74a>
movsd  %xmm7,0x48(%rcx)
cmp    $0x3,%esi
je     18ca <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x7ca>
xorpd  %xmm8,%xmm14
movsd  0x30(%rdx),%xmm5
movsd  0x38(%rdx),%xmm3
movsd  0x40(%rdx),%xmm2
movsd  0x48(%rdx),%xmm0
unpckhpd %xmm11,%xmm11
mulsd  %xmm5,%xmm6
addsd  %xmm11,%xmm6
mulsd  %xmm3,%xmm14
addsd  %xmm6,%xmm14
mulsd  %xmm2,%xmm1
subsd  %xmm1,%xmm14
mulsd  %xmm0,%xmm14
movsd  %xmm14,0x60(%rcx)
cmp    $0x4,%edi
jl     18ca <kernel_dgemm_dtrsm_nt_2x4_vs_lib4+0x7ca>
xorpd  %xmm8,%xmm12
unpckhpd %xmm13,%xmm13
mulsd  %xmm5,%xmm4
addsd  %xmm13,%xmm4
mulsd  %xmm3,%xmm12
addsd  %xmm4,%xmm12
mulsd  %xmm2,%xmm7
subsd  %xmm7,%xmm12
mulsd  %xmm0,%xmm12
movsd  %xmm12,0x68(%rcx)
add    $0x28,%rsp
ret

LLVM IR (-O0):
define void @kernel_dgemm_dtrsm_nt_2x4_vs_lib4(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, double* %5, double* %6, double* %7, double* %8, double* %9, double* %10, double* %11, i32 %12) {
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca double*
%20 = alloca double*
%21 = alloca double*
%22 = alloca double*
%23 = alloca double*
%24 = alloca double*
%25 = alloca double*
%26 = alloca i32
%27 = alloca i32
%28 = alloca i32
%29 = alloca double
%30 = alloca double
%31 = alloca double
%32 = alloca double
%33 = alloca double
%34 = alloca double
%35 = alloca double
%36 = alloca double
%37 = alloca double
%38 = alloca double
%39 = alloca double
%40 = alloca double
%41 = alloca double
%42 = alloca double
%43 = alloca double
%44 = alloca double
%45 = alloca double
%46 = alloca double
%47 = alloca double
%48 = alloca double
%49 = alloca double
%50 = alloca double
%51 = alloca double
%52 = alloca double
store i32 %0, i32* %14
store i32 %1, i32* %15
store i32 %2, i32* %16
store i32 %3, i32* %17
store i32 %4, i32* %18
store double* %5, double** %19
store double* %6, double** %20
store double* %7, double** %21
store double* %8, double** %22
store double* %9, double** %23
store double* %10, double** %24
store double* %11, double** %25
store i32 %12, i32* %26
store i32 4, i32* %27
store double 0.000000e+00, double* %35
store double 0.000000e+00, double* %36
store double 0.000000e+00, double* %37
store double 0.000000e+00, double* %38
store double 0.000000e+00, double* %39
store double 0.000000e+00, double* %40
store double 0.000000e+00, double* %41
store double 0.000000e+00, double* %42
store i32 0, i32* %28
%53 = load i32, i32* %17
%54 = icmp sgt i32 %53, 0
br i1 %54, label %55, label %462
55: ; preds = %13
%56 = load i32, i32* %16
%57 = icmp eq i32 %56, 1
br i1 %57, label %58, label %184
58: ; preds = %55
%59 = load i32, i32* %17
%60 = icmp sge i32 %59, 2
br i1 %60, label %61, label %149
61: ; preds = %58
%62 = load double*, double** %19
%63 = getelementptr inbounds double, double* %62, i64 0
%64 = load double, double* %63
store double %64, double* %29
%65 = load double*, double** %20
%66 = getelementptr inbounds double, double* %65, i64 0
%67 = load double, double* %66
store double %67, double* %31
%68 = load double*, double** %20
%69 = getelementptr inbounds double, double* %68, i64 1
%70 = load double, double* %69
store double %70, double* %32
%71 = load double*, double** %20
%72 = getelementptr inbounds double, double* %71, i64 2
%73 = load double, double* %72
store double %73, double* %33
%74 = load double*, double** %20
%75 = getelementptr inbounds double, double* %74, i64 3
%76 = load double, double* %75
store double %76, double* %34
%77 = load double, double* %29
%78 = load double, double* %31
%79 = load double, double* %35
%80 = call double @llvm.fmuladd.f64(double %77, double %78, double %79)
store double %80, double* %35
%81 = load double, double* %29
%82 = load double, double* %32
%83 = load double, double* %36
%84 = call double @llvm.fmuladd.f64(double %81, double %82, double %83)
store double %84, double* %36
%85 = load double, double* %29
%86 = load double, double* %33
%87 = load double, double* %37
%88 = call double @llvm.fmuladd.f64(double %85, double %86, double %87)
store double %88, double* %37
%89 = load double, double* %29
%90 = load double, double* %34
%91 = load double, double* %38
%92 = call double @llvm.fmuladd.f64(double %89, double %90, double %91)
store double %92, double* %38
%93 = load double*, double** %19
%94 = getelementptr inbounds double, double* %93, i64 4
%95 = load double, double* %94
store double %95, double* %29
%96 = load double*, double** %19
%97 = getelementptr inbounds double, double* %96, i64 5
%98 = load double, double* %97
store double %98, double* %30
%99 = load double*, double** %20
%100 = getelementptr inbounds double, double* %99, i64 4
%101 = load double, double* %100
store double %101, double* %31
%102 = load double*, double** %20
%103 = getelementptr inbounds double, double* %102, i64 5
%104 = load double, double* %103
store double %104, double* %32
%105 = load double*, double** %20
%106 = getelementptr inbounds double, double* %105, i64 6
%107 = load double, double* %106
store double %107, double* %33
%108 = load double*, double** %20
%109 = getelementptr inbounds double, double* %108, i64 7
%110 = load double, double* %109
store double %110, double* %34
%111 = load double, double* %29
%112 = load double, double* %31
%113 = load double, double* %35
%114 = call double @llvm.fmuladd.f64(double %111, double %112, double %113)
store double %114, double* %35
%115 = load double, double* %30
%116 = load double, double* %31
%117 = load double, double* %39
%118 = call double @llvm.fmuladd.f64(double %115, double %116, double %117)
store double %118, double* %39
%119 = load double, double* %29
%120 = load double, double* %32
%121 = load double, double* %36
%122 = call double @llvm.fmuladd.f64(double %119, double %120, double %121)
store double %122, double* %36
%123 = load double, double* %30
%124 = load double, double* %32
%125 = load double, double* %40
%126 = call double @llvm.fmuladd.f64(double %123, double %124, double %125)
store double %126, double* %40
%127 = load double, double* %29
%128 = load double, double* %33
%129 = load double, double* %37
%130 = call double @llvm.fmuladd.f64(double %127, double %128, double %129)
store double %130, double* %37
%131 = load double, double* %30
%132 = load double, double* %33
%133 = load double, double* %41
%134 = call double @llvm.fmuladd.f64(double %131, double %132, double %133)
store double %134, double* %41
%135 = load double, double* %29
%136 = load double, double* %34
%137 = load double, double* %38
%138 = call double @llvm.fmuladd.f64(double %135, double %136, double %137)
store double %138, double* %38
%139 = load double, double* %30
%140 = load double, double* %34
%141 = load double, double* %42
%142 = call double @llvm.fmuladd.f64(double %139, double %140, double %141)
store double %142, double* %42
%143 = load double*, double** %19
%144 = getelementptr inbounds double, double* %143, i64 8
store double* %144, double** %19
%145 = load double*, double** %20
%146 = getelementptr inbounds double, double* %145, i64 8
store double* %146, double** %20
%147 = load i32, i32* %28
%148 = add nsw i32 %147, 2
store i32 %148, i32* %28
br label %183
149: ; preds = %58
%150 = load double*, double** %19
%151 = getelementptr inbounds double, double* %150, i64 0
%152 = load double, double* %151
store double %152, double* %29
%153 = load double*, double** %20
%154 = getelementptr inbounds double, double* %153, i64 0
%155 = load double, double* %154
store double %155, double* %31
%156 = load double*, double** %20
%157 = getelementptr inbounds double, double* %156, i64 1
%158 = load double, double* %157
store double %158, double* %32
%159 = load double*, double** %20
%160 = getelementptr inbounds double, double* %159, i64 2
%161 = load double, double* %160
store double %161, double* %33
%162 = load double*, double** %20
%163 = getelementptr inbounds double, double* %162, i64 3
%164 = load double, double* %163
store double %164, double* %34
%165 = load double, double* %29
%166 = load double, double* %31
%167 = load double, double* %35
%168 = call double @llvm.fmuladd.f64(double %165, double %166, double %167)
store double %168, double* %35
%169 = load double, double* %29
%170 = load double, double* %32
%171 = load double, double* %36
%172 = call double @llvm.fmuladd.f64(double %169, double %170, double %171)
store double %172, double* %36
%173 = load double, double* %29
%174 = load double, double* %33
%175 = load double, double* %37
%176 = call double @llvm.fmuladd.f64(double %173, double %174, double %175)
store double %176, double* %37
%177 = load double, double* %29
%178 = load double, double* %34
%179 = load double, double* %38
%180 = call double @llvm.fmuladd.f64(double %177, double %178, double %179)
store double %180, double* %38
%181 = load i32, i32* %28
%182 = add nsw i32 %181, 1
store i32 %182, i32* %28
br label %183
183: ; preds = %149, %61
br label %184
184: ; preds = %183, %55
br label %185
185: ; preds = %395, %184
%186 = load i32, i32* %28
%187 = load i32, i32* %17
%188 = sub nsw i32 %187, 3
%189 = icmp slt i32 %186, %188
br i1 %189, label %190, label %398
190: ; preds = %185
%191 = load double*, double** %19
%192 = getelementptr inbounds double, double* %191, i64 0
%193 = load double, double* %192
store double %193, double* %29
%194 = load double*, double** %19
%195 = getelementptr inbounds double, double* %194, i64 1
%196 = load double, double* %195
store double %196, double* %30
%197 = load double*, double** %20
%198 = getelementptr inbounds double, double* %197, i64 0
%199 = load double, double* %198
store double %199, double* %31
%200 = load double*, double** %20
%201 = getelementptr inbounds double, double* %200, i64 1
%202 = load double, double* %201
store double %202, double* %32
%203 = load double*, double** %20
%204 = getelementptr inbounds double, double* %203, i64 2
%205 = load double, double* %204
store double %205, double* %33
%206 = load double*, double** %20
%207 = getelementptr inbounds double, double* %206, i64 3
%208 = load double, double* %207
store double %208, double* %34
%209 = load double, double* %29
%210 = load double, double* %31
%211 = load double, double* %35
%212 = call double @llvm.fmuladd.f64(double %209, double %210, double %211)
store double %212, double* %35
%213 = load double, double* %30
%214 = load double, double* %31
%215 = load double, double* %39
%216 = call double @llvm.fmuladd.f64(double %213, double %214, double %215)
store double %216, double* %39
%217 = load double, double* %29
%218 = load double, double* %32
%219 = load double, double* %36
%220 = call double @llvm.fmuladd.f64(double %217, double %218, double %219)
store double %220, double* %36
%221 = load double, double* %30
%222 = load double, double* %32
%223 = load double, double* %40
%224 = call double @llvm.fmuladd.f64(double %221, double %222, double %223)
store double %224, double* %40
%225 = load double, double* %29
%226 = load double, double* %33
%227 = load double, double* %37
%228 = call double @llvm.fmuladd.f64(double %225, double %226, double %227)
store double %228, double* %37
%229 = load double, double* %30
%230 = load double, double* %33
%231 = load double, double* %41
%232 = call double @llvm.fmuladd.f64(double %229, double %230, double %231)
store double %232, double* %41
%233 = load double, double* %29
%234 = load double, double* %34
%235 = load double, double* %38
%236 = call double @llvm.fmuladd.f64(double %233, double %234, double %235)
store double %236, double* %38
%237 = load double, double* %30
%238 = load double, double* %34
%239 = load double, double* %42
%240 = call double @llvm.fmuladd.f64(double %237, double %238, double %239)
store double %240, double* %42
%241 = load double*, double** %19
%242 = getelementptr inbounds double, double* %241, i64 4
%243 = load double, double* %242
store double %243, double* %29
%244 = load double*, double** %19
%245 = getelementptr inbounds double, double* %244, i64 5
%246 = load double, double* %245
store double %246, double* %30
%247 = load double*, double** %20
%248 = getelementptr inbounds double, double* %247, i64 4
%249 = load double, double* %248
store double %249, double* %31
%250 = load double*, double** %20
%251 = getelementptr inbounds double, double* %250, i64 5
%252 = load double, double* %251
store double %252, double* %32
%253 = load double*, double** %20
%254 = getelementptr inbounds double, double* %253, i64 6
%255 = load double, double* %254
store double %255, double* %33
%256 = load double*, double** %20
%257 = getelementptr inbounds double, double* %256, i64 7
%258 = load double, double* %257
store double %258, double* %34
%259 = load double, double* %29
%260 = load double, double* %31
%261 = load double, double* %35
%262 = call double @llvm.fmuladd.f64(double %259, double %260, double %261)
store double %262, double* %35
%263 = load double, double* %30
%264 = load double, double* %31
%265 = load double, double* %39
%266 = call double @llvm.fmuladd.f64(double %263, double %264, double %265)
store double %266, double* %39
%267 = load double, double* %29
%268 = load double, double* %32
%269 = load double, double* %36
%270 = call double @llvm.fmuladd.f64(double %267, double %268, double %269)
store double %270, double* %36
%271 = load double, double* %30
%272 = load double, double* %32
%273 = load double, double* %40
%274 = call double @llvm.fmuladd.f64(double %271, double %272, double %273)
store double %274, double* %40
%275 = load double, double* %29
%276 = load double, double* %33
%277 = load double, double* %37
%278 = call double @llvm.fmuladd.f64(double %275, double %276, double %277)
store double %278, double* %37
%279 = load double, double* %30
%280 = load double, double* %33
%281 = load double, double* %41
%282 = call double @llvm.fmuladd.f64(double %279, double %280, double %281)
store double %282, double* %41
%283 = load double, double* %29
%284 = load double, double* %34
%285 = load double, double* %38
%286 = call double @llvm.fmuladd.f64(double %283, double %284, double %285)
store double %286, double* %38
%287 = load double, double* %30
%288 = load double, double* %34
%289 = load double, double* %42
%290 = call double @llvm.fmuladd.f64(double %287, double %288, double %289)
store double %290, double* %42
%291 = load double*, double** %19
%292 = getelementptr inbounds double, double* %291, i64 8
%293 = load double, double* %292
store double %293, double* %29
%294 = load double*, double** %19
%295 = getelementptr inbounds double, double* %294, i64 9
%296 = load double, double* %295
store double %296, double* %30
%297 = load double*, double** %20
%298 = getelementptr inbounds double, double* %297, i64 8
%299 = load double, double* %298
store double %299, double* %31
%300 = load double*, double** %20
%301 = getelementptr inbounds double, double* %300, i64 9
%302 = load double, double* %301
store double %302, double* %32
%303 = load double*, double** %20
%304 = getelementptr inbounds double, double* %303, i64 10
%305 = load double, double* %304
store double %305, double* %33
%306 = load double*, double** %20
%307 = getelementptr inbounds double, double* %306, i64 11
%308 = load double, double* %307
store double %308, double* %34
%309 = load double, double* %29
%310 = load double, double* %31
%311 = load double, double* %35
%312 = call double @llvm.fmuladd.f64(double %309, double %310, double %311)
store double %312, double* %35
%313 = load double, double* %30
%314 = load double, double* %31
%315 = load double, double* %39
%316 = call double @llvm.fmuladd.f64(double %313, double %314, double %315)
store double %316, double* %39
%317 = load double, double* %29
%318 = load double, double* %32
%319 = load double, double* %36
%320 = call double @llvm.fmuladd.f64(double %317, double %318, double %319)
store double %320, double* %36
%321 = load double, double* %30
%322 = load double, double* %32
%323 = load double, double* %40
%324 = call double @llvm.fmuladd.f64(double %321, double %322, double %323)
store double %324, double* %40
%325 = load double, double* %29
%326 = load double, double* %33
%327 = load double, double* %37
%328 = call double @llvm.fmuladd.f64(double %325, double %326, double %327)
store double %328, double* %37
%329 = load double, double* %30
%330 = load double, double* %33
%331 = load double, double* %41
%332 = call double @llvm.fmuladd.f64(double %329, double %330, double %331)
store double %332, double* %41
%333 = load double, double* %29
%334 = load double, double* %34
%335 = load double, double* %38
%336 = call double @llvm.fmuladd.f64(double %333, double %334, double %335)
store double %336, double* %38
%337 = load double, double* %30
%338 = load double, double* %34
%339 = load double, double* %42
%340 = call double @llvm.fmuladd.f64(double %337, double %338, double %339)
store double %340, double* %42
%341 = load double*, double** %19
%342 = getelementptr inbounds double, double* %341, i64 12
%343 = load double, double* %342
store double %343, double* %29
%344 = load double*, double** %19
%345 = getelementptr inbounds double, double* %344, i64 13
%346 = load double, double* %345
store double %346, double* %30
%347 = load double*, double** %20
%348 = getelementptr inbounds double, double* %347, i64 12
%349 = load double, double* %348
store double %349, double* %31
%350 = load double*, double** %20
%351 = getelementptr inbounds double, double* %350, i64 13
%352 = load double, double* %351
store double %352, double* %32
%353 = load double*, double** %20
%354 = getelementptr inbounds double, double* %353, i64 14
%355 = load double, double* %354
store double %355, double* %33
%356 = load double*, double** %20
%357 = getelementptr inbounds double, double* %356, i64 15
%358 = load double, double* %357
store double %358, double* %34
%359 = load double, double* %29
%360 = load double, double* %31
%361 = load double, double* %35
%362 = call double @llvm.fmuladd.f64(double %359, double %360, double %361)
store double %362, double* %35
%363 = load double, double* %30
%364 = load double, double* %31
%365 = load double, double* %39
%366 = call double @llvm.fmuladd.f64(double %363, double %364, double %365)
store double %366, double* %39
%367 = load double, double* %29
%368 = load double, double* %32
%369 = load double, double* %36
%370 = call double @llvm.fmuladd.f64(double %367, double %368, double %369)
store double %370, double* %36
%371 = load double, double* %30
%372 = load double, double* %32
%373 = load double, double* %40
%374 = call double @llvm.fmuladd.f64(double %371, double %372, double %373)
store double %374, double* %40
%375 = load double, double* %29
%376 = load double, double* %33
%377 = load double, double* %37
%378 = call double @llvm.fmuladd.f64(double %375, double %376, double %377)
store double %378, double* %37
%379 = load double, double* %30
%380 = load double, double* %33
%381 = load double, double* %41
%382 = call double @llvm.fmuladd.f64(double %379, double %380, double %381)
store double %382, double* %41
%383 = load double, double* %29
%384 = load double, double* %34
%385 = load double, double* %38
%386 = call double @llvm.fmuladd.f64(double %383, double %384, double %385)
store double %386, double* %38
%387 = load double, double* %30
%388 = load double, double* %34
%389 = load double, double* %42
%390 = call double @llvm.fmuladd.f64(double %387, double %388, double %389)
store double %390, double* %42
%391 = load double*, double** %19
%392 = getelementptr inbounds double, double* %391, i64 16
store double* %392, double** %19
%393 = load double*, double** %20
%394 = getelementptr inbounds double, double* %393, i64 16
store double* %394, double** %20
br label %395
395: ; preds = %190
%396 = load i32, i32* %28
%397 = add nsw i32 %396, 4
store i32 %397, i32* %28
br label %185
398: ; preds = %185
br label %399
399: ; preds = %458, %398
%400 = load i32, i32* %28
%401 = load i32, i32* %17
%402 = icmp slt i32 %400, %401
br i1 %402, label %403, label %461
403: ; preds = %399
%404 = load double*, double** %19
%405 = getelementptr inbounds double, double* %404, i64 0
%406 = load double, double* %405
store double %406, double* %29
%407 = load double*, double** %19
%408 = getelementptr inbounds double, double* %407, i64 1
%409 = load double, double* %408
store double %409, double* %30
%410 = load double*, double** %20
%411 = getelementptr inbounds double, double* %410, i64 0
%412 = load double, double* %411
store double %412, double* %31
%413 = load double*, double** %20
%414 = getelementptr inbounds double, double* %413, i64 1
%415 = load double, double* %414
store double %415, double* %32
%416 = load double*, double** %20
%417 = getelementptr inbounds double, double* %416, i64 2
%418 = load double, double* %417
store double %418, double* %33
%419 = load double*, double** %20
%420 = getelementptr inbounds double, double* %419, i64 3
%421 = load double, double* %420
store double %421, double* %34
%422 = load double, double* %29
%423 = load double, double* %31
%424 = load double, double* %35
%425 = call double @llvm.fmuladd.f64(double %422, double %423, double %424)
store double %425, double* %35
%426 = load double, double* %30
%427 = load double, double* %31
%428 = load double, double* %39
%429 = call double @llvm.fmuladd.f64(double %426, double %427, double %428)
store double %429, double* %39
%430 = load double, double* %29
%431 = load double, double* %32
%432 = load double, double* %36
%433 = call double @llvm.fmuladd.f64(double %430, double %431, double %432)
store double %433, double* %36
%434 = load double, double* %30
%435 = load double, double* %32
%436 = load double, double* %40
%437 = call double @llvm.fmuladd.f64(double %434, double %435, double %436)
store double %437, double* %40
%438 = load double, double* %29
%439 = load double, double* %33
%440 = load double, double* %37
%441 = call double @llvm.fmuladd.f64(double %438, double %439, double %440)
store double %441, double* %37
%442 = load double, double* %30
%443 = load double, double* %33
%444 = load double, double* %41
%445 = call double @llvm.fmuladd.f64(double %442, double %443, double %444)
store double %445, double* %41
%446 = load double, double* %29
%447 = load double, double* %34
%448 = load double, double* %38
%449 = call double @llvm.fmuladd.f64(double %446, double %447, double %448)
store double %449, double* %38
%450 = load double, double* %30
%451 = load double, double* %34
%452 = load double, double* %42
%453 = call double @llvm.fmuladd.f64(double %450, double %451, double %452)
store double %453, double* %42
%454 = load double*, double** %19
%455 = getelementptr inbounds double, double* %454, i64 4
store double* %455, double** %19
%456 = load double*, double** %20
%457 = getelementptr inbounds double, double* %456, i64 4
store double* %457, double** %20
br label %458
458: ; preds = %403
%459 = load i32, i32* %28
%460 = add nsw i32 %459, 1
store i32 %460, i32* %28
br label %399
461: ; preds = %399
br label %462
462: ; preds = %461, %13
store i32 0, i32* %28
br label %463
463: ; preds = %705, %462
%464 = load i32, i32* %28
%465 = load i32, i32* %18
%466 = sub nsw i32 %465, 3
%467 = icmp slt i32 %464, %466
br i1 %467, label %468, label %708
468: ; preds = %463
%469 = load double*, double** %21
%470 = getelementptr inbounds double, double* %469, i64 0
%471 = load double, double* %470
store double %471, double* %29
%472 = load double*, double** %21
%473 = getelementptr inbounds double, double* %472, i64 1
%474 = load double, double* %473
store double %474, double* %30
%475 = load double*, double** %22
%476 = getelementptr inbounds double, double* %475, i64 0
%477 = load double, double* %476
store double %477, double* %31
%478 = load double*, double** %22
%479 = getelementptr inbounds double, double* %478, i64 1
%480 = load double, double* %479
store double %480, double* %32
%481 = load double*, double** %22
%482 = getelementptr inbounds double, double* %481, i64 2
%483 = load double, double* %482
store double %483, double* %33
%484 = load double*, double** %22
%485 = getelementptr inbounds double, double* %484, i64 3
%486 = load double, double* %485
store double %486, double* %34
%487 = load double, double* %29
%488 = load double, double* %31
%489 = load double, double* %35
%490 = fneg double %487
%491 = call double @llvm.fmuladd.f64(double %490, double %488, double %489)
store double %491, double* %35
%492 = load double, double* %30
%493 = load double, double* %31
%494 = load double, double* %39
%495 = fneg double %492
%496 = call double @llvm.fmuladd.f64(double %495, double %493, double %494)
store double %496, double* %39
%497 = load double, double* %29
%498 = load double, double* %32
%499 = load double, double* %36
%500 = fneg double %497
%501 = call double @llvm.fmuladd.f64(double %500, double %498, double %499)
store double %501, double* %36
%502 = load double, double* %30
%503 = load double, double* %32
%504 = load double, double* %40
%505 = fneg double %502
%506 = call double @llvm.fmuladd.f64(double %505, double %503, double %504)
store double %506, double* %40
%507 = load double, double* %29
%508 = load double, double* %33
%509 = load double, double* %37
%510 = fneg double %507
%511 = call double @llvm.fmuladd.f64(double %510, double %508, double %509)
store double %511, double* %37
%512 = load double, double* %30
%513 = load double, double* %33
%514 = load double, double* %41
%515 = fneg double %512
%516 = call double @llvm.fmuladd.f64(double %515, double %513, double %514)
store double %516, double* %41
%517 = load double, double* %29
%518 = load double, double* %34
%519 = load double, double* %38
%520 = fneg double %517
%521 = call double @llvm.fmuladd.f64(double %520, double %518, double %519)
store double %521, double* %38
%522 = load double, double* %30
%523 = load double, double* %34
%524 = load double, double* %42
%525 = fneg double %522
%526 = call double @llvm.fmuladd.f64(double %525, double %523, double %524)
store double %526, double* %42
%527 = load double*, double** %21
%528 = getelementptr inbounds double, double* %527, i64 4
%529 = load double, double* %528
store double %529, double* %29
%530 = load double*, double** %21
%531 = getelementptr inbounds double, double* %530, i64 5
%532 = load double, double* %531
store double %532, double* %30
%533 = load double*, double** %22
%534 = getelementptr inbounds double, double* %533, i64 4
%535 = load double, double* %534
store double %535, double* %31
%536 = load double*, double** %22
%537 = getelementptr inbounds double, double* %536, i64 5
%538 = load double, double* %537
store double %538, double* %32
%539 = load double*, double** %22
%540 = getelementptr inbounds double, double* %539, i64 6
%541 = load double, double* %540
store double %541, double* %33
%542 = load double*, double** %22
%543 = getelementptr inbounds double, double* %542, i64 7
%544 = load double, double* %543
store double %544, double* %34
%545 = load double, double* %29
%546 = load double, double* %31
%547 = load double, double* %35
%548 = fneg double %545
%549 = call double @llvm.fmuladd.f64(double %548, double %546, double %547)
store double %549, double* %35
%550 = load double, double* %30
%551 = load double, double* %31
%552 = load double, double* %39
%553 = fneg double %550
%554 = call double @llvm.fmuladd.f64(double %553, double %551, double %552)
store double %554, double* %39
%555 = load double, double* %29
%556 = load double, double* %32
%557 = load double, double* %36
%558 = fneg double %555
%559 = call double @llvm.fmuladd.f64(double %558, double %556, double %557)
store double %559, double* %36
%560 = load double, double* %30
%561 = load double, double* %32
%562 = load double, double* %40
%563 = fneg double %560
%564 = call double @llvm.fmuladd.f64(double %563, double %561, double %562)
store double %564, double* %40
%565 = load double, double* %29
%566 = load double, double* %33
%567 = load double, double* %37
%568 = fneg double %565
%569 = call double @llvm.fmuladd.f64(double %568, double %566, double %567)
store double %569, double* %37
%570 = load double, double* %30
%571 = load double, double* %33
%572 = load double, double* %41
%573 = fneg double %570
%574 = call double @llvm.fmuladd.f64(double %573, double %571, double %572)
store double %574, double* %41
%575 = load double, double* %29
%576 = load double, double* %34
%577 = load double, double* %38
%578 = fneg double %575
%579 = call double @llvm.fmuladd.f64(double %578, double %576, double %577)
store double %579, double* %38
%580 = load double, double* %30
%581 = load double, double* %34
%582 = load double, double* %42
%583 = fneg double %580
%584 = call double @llvm.fmuladd.f64(double %583, double %581, double %582)
store double %584, double* %42
%585 = load double*, double** %21
%586 = getelementptr inbounds double, double* %585, i64 8
%587 = load double, double* %586
store double %587, double* %29
%588 = load double*, double** %21
%589 = getelementptr inbounds double, double* %588, i64 9
%590 = load double, double* %589
store double %590, double* %30
%591 = load double*, double** %22
%592 = getelementptr inbounds double, double* %591, i64 8
%593 = load double, double* %592
store double %593, double* %31
%594 = load double*, double** %22
%595 = getelementptr inbounds double, double* %594, i64 9
%596 = load double, double* %595
store double %596, double* %32
%597 = load double*, double** %22
%598 = getelementptr inbounds double, double* %597, i64 10
%599 = load double, double* %598
store double %599, double* %33
%600 = load double*, double** %22
%601 = getelementptr inbounds double, double* %600, i64 11
%602 = load double, double* %601
store double %602, double* %34
%603 = load double, double* %29
%604 = load double, double* %31
%605 = load double, double* %35
%606 = fneg double %603
%607 = call double @llvm.fmuladd.f64(double %606, double %604, double %605)
store double %607, double* %35
%608 = load double, double* %30
%609 = load double, double* %31
%610 = load double, double* %39
%611 = fneg double %608
%612 = call double @llvm.fmuladd.f64(double %611, double %609, double %610)
store double %612, double* %39
%613 = load double, double* %29
%614 = load double, double* %32
%615 = load double, double* %36
%616 = fneg double %613
%617 = call double @llvm.fmuladd.f64(double %616, double %614, double %615)
store double %617, double* %36
%618 = load double, double* %30
%619 = load double, double* %32
%620 = load double, double* %40
%621 = fneg double %618
%622 = call double @llvm.fmuladd.f64(double %621, double %619, double %620)
store double %622, double* %40
%623 = load double, double* %29
%624 = load double, double* %33
%625 = load double, double* %37
%626 = fneg double %623
%627 = call double @llvm.fmuladd.f64(double %626, double %624, double %625)
store double %627, double* %37
%628 = load double, double* %30
%629 = load double, double* %33
%630 = load double, double* %41
%631 = fneg double %628
%632 = call double @llvm.fmuladd.f64(double %631, double %629, double %630)
store double %632, double* %41
%633 = load double, double* %29
%634 = load double, double* %34
%635 = load double, double* %38
%636 = fneg double %633
%637 = call double @llvm.fmuladd.f64(double %636, double %634, double %635)
store double %637, double* %38
%638 = load double, double* %30
%639 = load double, double* %34
%640 = load double, double* %42
%641 = fneg double %638
%642 = call double @llvm.fmuladd.f64(double %641, double %639, double %640)
store double %642, double* %42
%643 = load double*, double** %21
%644 = getelementptr inbounds double, double* %643, i64 12
%645 = load double, double* %644
store double %645, double* %29
%646 = load double*, double** %21
%647 = getelementptr inbounds double, double* %646, i64 13
%648 = load double, double* %647
store double %648, double* %30
%649 = load double*, double** %22
%650 = getelementptr inbounds double, double* %649, i64 12
%651 = load double, double* %650
store double %651, double* %31
%652 = load double*, double** %22
%653 = getelementptr inbounds double, double* %652, i64 13
%654 = load double, double* %653
store double %654, double* %32
%655 = load double*, double** %22
%656 = getelementptr inbounds double, double* %655, i64 14
%657 = load double, double* %656
store double %657, double* %33
%658 = load double*, double** %22
%659 = getelementptr inbounds double, double* %658, i64 15
%660 = load double, double* %659
store double %660, double* %34
%661 = load double, double* %29
%662 = load double, double* %31
%663 = load double, double* %35
%664 = fneg double %661
%665 = call double @llvm.fmuladd.f64(double %664, double %662, double %663)
store double %665, double* %35
%666 = load double, double* %30
%667 = load double, double* %31
%668 = load double, double* %39
%669 = fneg double %666
%670 = call double @llvm.fmuladd.f64(double %669, double %667, double %668)
store double %670, double* %39
%671 = load double, double* %29
%672 = load double, double* %32
%673 = load double, double* %36
%674 = fneg double %671
%675 = call double @llvm.fmuladd.f64(double %674, double %672, double %673)
store double %675, double* %36
%676 = load double, double* %30
%677 = load double, double* %32
%678 = load double, double* %40
%679 = fneg double %676
%680 = call double @llvm.fmuladd.f64(double %679, double %677, double %678)
store double %680, double* %40
%681 = load double, double* %29
%682 = load double, double* %33
%683 = load double, double* %37
%684 = fneg double %681
%685 = call double @llvm.fmuladd.f64(double %684, double %682, double %683)
store double %685, double* %37
%686 = load double, double* %30
%687 = load double, double* %33
%688 = load double, double* %41
%689 = fneg double %686
%690 = call double @llvm.fmuladd.f64(double %689, double %687, double %688)
store double %690, double* %41
%691 = load double, double* %29
%692 = load double, double* %34
%693 = load double, double* %38
%694 = fneg double %691
%695 = call double @llvm.fmuladd.f64(double %694, double %692, double %693)
store double %695, double* %38
%696 = load double, double* %30
%697 = load double, double* %34
%698 = load double, double* %42
%699 = fneg double %696
%700 = call double @llvm.fmuladd.f64(double %699, double %697, double %698)
store double %700, double* %42
%701 = load double*, double** %21
%702 = getelementptr inbounds double, double* %701, i64 16
store double* %702, double** %21
%703 = load double*, double** %22
%704 = getelementptr inbounds double, double* %703, i64 16
store double* %704, double** %22
br label %705
705: ; preds = %468
%706 = load i32, i32* %28
%707 = add nsw i32 %706, 4
store i32 %707, i32* %28
br label %463
708: ; preds = %463
%709 = load i32, i32* %26
%710 = icmp ne i32 %709, 0
br i1 %710, label %711, label %752
711: ; preds = %708
%712 = load double*, double** %23
%713 = getelementptr inbounds double, double* %712, i64 0
%714 = load double, double* %713
%715 = load double, double* %35
%716 = fadd double %715, %714
store double %716, double* %35
%717 = load double*, double** %23
%718 = getelementptr inbounds double, double* %717, i64 1
%719 = load double, double* %718
%720 = load double, double* %39
%721 = fadd double %720, %719
store double %721, double* %39
%722 = load double*, double** %23
%723 = getelementptr inbounds double, double* %722, i64 4
%724 = load double, double* %723
%725 = load double, double* %36
%726 = fadd double %725, %724
store double %726, double* %36
%727 = load double*, double** %23
%728 = getelementptr inbounds double, double* %727, i64 5
%729 = load double, double* %728
%730 = load double, double* %40
%731 = fadd double %730, %729
store double %731, double* %40
%732 = load double*, double** %23
%733 = getelementptr inbounds double, double* %732, i64 8
%734 = load double, double* %733
%735 = load double, double* %37
%736 = fadd double %735, %734
store double %736, double* %37
%737 = load double*, double** %23
%738 = getelementptr inbounds double, double* %737, i64 9
%739 = load double, double* %738
%740 = load double, double* %41
%741 = fadd double %740, %739
store double %741, double* %41
%742 = load double*, double** %23
%743 = getelementptr inbounds double, double* %742, i64 12
%744 = load double, double* %743
%745 = load double, double* %38
%746 = fadd double %745, %744
store double %746, double* %38
%747 = load double*, double** %23
%748 = getelementptr inbounds double, double* %747, i64 13
%749 = load double, double* %748
%750 = load double, double* %42
%751 = fadd double %750, %749
store double %751, double* %42
br label %752
752: ; preds = %711, %708
%753 = load double*, double** %25
%754 = getelementptr inbounds double, double* %753, i64 0
%755 = load double, double* %754
store double %755, double* %43
%756 = load double, double* %43
%757 = load double, double* %35
%758 = fmul double %757, %756
store double %758, double* %35
%759 = load double, double* %43
%760 = load double, double* %39
%761 = fmul double %760, %759
store double %761, double* %39
%762 = load double, double* %35
%763 = load double*, double** %24
%764 = getelementptr inbounds double, double* %763, i64 0
store double %762, double* %764
%765 = load i32, i32* %14
%766 = icmp sge i32 %765, 4
br i1 %766, label %767, label %771
767: ; preds = %752
%768 = load double, double* %39
%769 = load double*, double** %24
%770 = getelementptr inbounds double, double* %769, i64 1
store double %768, double* %770
br label %771
771: ; preds = %767, %752
%772 = load double*, double** %25
%773 = getelementptr inbounds double, double* %772, i64 1
%774 = load double, double* %773
store double %774, double* %44
%775 = load double*, double** %25
%776 = getelementptr inbounds double, double* %775, i64 2
%777 = load double, double* %776
store double %777, double* %47
%778 = load double, double* %35
%779 = load double, double* %44
%780 = load double, double* %36
%781 = fneg double %778
%782 = call double @llvm.fmuladd.f64(double %781, double %779, double %780)
store double %782, double* %36
%783 = load double, double* %39
%784 = load double, double* %44
%785 = load double, double* %40
%786 = fneg double %783
%787 = call double @llvm.fmuladd.f64(double %786, double %784, double %785)
store double %787, double* %40
%788 = load double, double* %47
%789 = load double, double* %36
%790 = fmul double %789, %788
store double %790, double* %36
%791 = load double, double* %47
%792 = load double, double* %40
%793 = fmul double %792, %791
store double %793, double* %40
%794 = load double, double* %36
%795 = load double*, double** %24
%796 = getelementptr inbounds double, double* %795, i64 4
store double %794, double* %796
%797 = load i32, i32* %14
%798 = icmp sge i32 %797, 4
br i1 %798, label %799, label %803
799: ; preds = %771
%800 = load double, double* %40
%801 = load double*, double** %24
%802 = getelementptr inbounds double, double* %801, i64 5
store double %800, double* %802
br label %803
803: ; preds = %799, %771
%804 = load double*, double** %25
%805 = getelementptr inbounds double, double* %804, i64 3
%806 = load double, double* %805
store double %806, double* %45
%807 = load double*, double** %25
%808 = getelementptr inbounds double, double* %807, i64 4
%809 = load double, double* %808
store double %809, double* %48
%810 = load double*, double** %25
%811 = getelementptr inbounds double, double* %810, i64 5
%812 = load double, double* %811
store double %812, double* %50
%813 = load double, double* %35
%814 = load double, double* %45
%815 = load double, double* %37
%816 = fneg double %813
%817 = call double @llvm.fmuladd.f64(double %816, double %814, double %815)
store double %817, double* %37
%818 = load double, double* %39
%819 = load double, double* %45
%820 = load double, double* %41
%821 = fneg double %818
%822 = call double @llvm.fmuladd.f64(double %821, double %819, double %820)
store double %822, double* %41
%823 = load double, double* %36
%824 = load double, double* %48
%825 = load double, double* %37
%826 = fneg double %823
%827 = call double @llvm.fmuladd.f64(double %826, double %824, double %825)
store double %827, double* %37
%828 = load double, double* %40
%829 = load double, double* %48
%830 = load double, double* %41
%831 = fneg double %828
%832 = call double @llvm.fmuladd.f64(double %831, double %829, double %830)
store double %832, double* %41
%833 = load double, double* %50
%834 = load double, double* %37
%835 = fmul double %834, %833
store double %835, double* %37
%836 = load double, double* %50
%837 = load double, double* %41
%838 = fmul double %837, %836
store double %838, double* %41
%839 = load double, double* %37
%840 = load double*, double** %24
%841 = getelementptr inbounds double, double* %840, i64 8
store double %839, double* %841
%842 = load i32, i32* %14
%843 = icmp sge i32 %842, 4
br i1 %843, label %844, label %848
844: ; preds = %803
%845 = load double, double* %41
%846 = load double*, double** %24
%847 = getelementptr inbounds double, double* %846, i64 9
store double %845, double* %847
br label %848
848: ; preds = %844, %803
%849 = load i32, i32* %15
%850 = icmp eq i32 %849, 3
br i1 %850, label %851, label %852
851: ; preds = %848
br label %910
852: ; preds = %848
%853 = load double*, double** %25
%854 = getelementptr inbounds double, double* %853, i64 6
%855 = load double, double* %854
store double %855, double* %46
%856 = load double*, double** %25
%857 = getelementptr inbounds double, double* %856, i64 7
%858 = load double, double* %857
store double %858, double* %49
%859 = load double*, double** %25
%860 = getelementptr inbounds double, double* %859, i64 8
%861 = load double, double* %860
store double %861, double* %51
%862 = load double*, double** %25
%863 = getelementptr inbounds double, double* %862, i64 9
%864 = load double, double* %863
store double %864, double* %52
%865 = load double, double* %35
%866 = load double, double* %46
%867 = load double, double* %38
%868 = fneg double %865
%869 = call double @llvm.fmuladd.f64(double %868, double %866, double %867)
store double %869, double* %38
%870 = load double, double* %39
%871 = load double, double* %46
%872 = load double, double* %42
%873 = fneg double %870
%874 = call double @llvm.fmuladd.f64(double %873, double %871, double %872)
store double %874, double* %42
%875 = load double, double* %36
%876 = load double, double* %49
%877 = load double, double* %38
%878 = fneg double %875
%879 = call double @llvm.fmuladd.f64(double %878, double %876, double %877)
store double %879, double* %38
%880 = load double, double* %40
%881 = load double, double* %49
%882 = load double, double* %42
%883 = fneg double %880
%884 = call double @llvm.fmuladd.f64(double %883, double %881, double %882)
store double %884, double* %42
%885 = load double, double* %37
%886 = load double, double* %51
%887 = load double, double* %38
%888 = fneg double %885
%889 = call double @llvm.fmuladd.f64(double %888, double %886, double %887)
store double %889, double* %38
%890 = load double, double* %41
%891 = load double, double* %51
%892 = load double, double* %42
%893 = fneg double %890
%894 = call double @llvm.fmuladd.f64(double %893, double %891, double %892)
store double %894, double* %42
%895 = load double, double* %52
%896 = load double, double* %38
%897 = fmul double %896, %895
store double %897, double* %38
%898 = load double, double* %52
%899 = load double, double* %42
%900 = fmul double %899, %898
store double %900, double* %42
%901 = load double, double* %38
%902 = load double*, double** %24
%903 = getelementptr inbounds double, double* %902, i64 12
store double %901, double* %903
%904 = load i32, i32* %14
%905 = icmp sge i32 %904, 4
br i1 %905, label %906, label %910
906: ; preds = %852
%907 = load double, double* %42
%908 = load double*, double** %24
%909 = getelementptr inbounds double, double* %908, i64 13
store double %907, double* %909
br label %910
910: ; preds = %851, %906, %852
ret void
}

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