#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ __m128d;

/* Variables and functions */
int /*<<< orphan*/ _mm_add_pd(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_load_pd(double *);
int /*<<< orphan*/ _mm_mul_pd(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_setzero_pd();
int /*<<< orphan*/ _mm_shuffle_pd(int /*<<< orphan*/, int /*<<< orphan*/, int);
int /*<<< orphan*/ _mm_store_pd(double *, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_store_sd(double *, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_sub_pd(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpackhi_pd(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_unpacklo_pd(int /*<<< orphan*/, int /*<<< orphan*/);
void kernel_dgemm_nt_2x4_vs_lib4(int km, int kn, int kmax, double *A, double *B,
                                 double *C, double *D, int alg, int tc,
                                 int td) {
  const int ldc = 4;
  int k;
  __m128d c_00_11, c_01_10, c_02_13, c_03_12, a_01, b_01, b_10, b_23, b_32;
  c_00_11 = _mm_setzero_pd();
  c_01_10 = _mm_setzero_pd();
  c_02_13 = _mm_setzero_pd();
  c_03_12 = _mm_setzero_pd();
  k = 0;
  for (; k < kmax - 3; k += 4) {
    a_01 = _mm_load_pd(&A[0]);
    b_01 = _mm_load_pd(&B[0]);
    b_10 = _mm_shuffle_pd(b_01, b_01, 1);
    b_23 = _mm_load_pd(&B[2]);
    b_32 = _mm_shuffle_pd(b_23, b_23, 1);
    b_01 = _mm_mul_pd(a_01, b_01);
    c_00_11 = _mm_add_pd(c_00_11, b_01);
    b_10 = _mm_mul_pd(a_01, b_10);
    c_01_10 = _mm_add_pd(c_01_10, b_10);
    b_23 = _mm_mul_pd(a_01, b_23);
    c_02_13 = _mm_add_pd(c_02_13, b_23);
    b_32 = _mm_mul_pd(a_01, b_32);
    c_03_12 = _mm_add_pd(c_03_12, b_32);
    a_01 = _mm_load_pd(&A[4]);
    b_01 = _mm_load_pd(&B[4]);
    b_10 = _mm_shuffle_pd(b_01, b_01, 1);
    b_23 = _mm_load_pd(&B[6]);
    b_32 = _mm_shuffle_pd(b_23, b_23, 1);
    b_01 = _mm_mul_pd(a_01, b_01);
    c_00_11 = _mm_add_pd(c_00_11, b_01);
    b_10 = _mm_mul_pd(a_01, b_10);
    c_01_10 = _mm_add_pd(c_01_10, b_10);
    b_23 = _mm_mul_pd(a_01, b_23);
    c_02_13 = _mm_add_pd(c_02_13, b_23);
    b_32 = _mm_mul_pd(a_01, b_32);
    c_03_12 = _mm_add_pd(c_03_12, b_32);
    a_01 = _mm_load_pd(&A[8]);
    b_01 = _mm_load_pd(&B[8]);
    b_10 = _mm_shuffle_pd(b_01, b_01, 1);
    b_23 = _mm_load_pd(&B[10]);
    b_32 = _mm_shuffle_pd(b_23, b_23, 1);
    b_01 = _mm_mul_pd(a_01, b_01);
    c_00_11 = _mm_add_pd(c_00_11, b_01);
    b_10 = _mm_mul_pd(a_01, b_10);
    c_01_10 = _mm_add_pd(c_01_10, b_10);
    b_23 = _mm_mul_pd(a_01, b_23);
    c_02_13 = _mm_add_pd(c_02_13, b_23);
    b_32 = _mm_mul_pd(a_01, b_32);
    c_03_12 = _mm_add_pd(c_03_12, b_32);
    a_01 = _mm_load_pd(&A[12]);
    b_01 = _mm_load_pd(&B[12]);
    b_10 = _mm_shuffle_pd(b_01, b_01, 1);
    b_23 = _mm_load_pd(&B[14]);
    b_32 = _mm_shuffle_pd(b_23, b_23, 1);
    b_01 = _mm_mul_pd(a_01, b_01);
    c_00_11 = _mm_add_pd(c_00_11, b_01);
    b_10 = _mm_mul_pd(a_01, b_10);
    c_01_10 = _mm_add_pd(c_01_10, b_10);
    b_23 = _mm_mul_pd(a_01, b_23);
    c_02_13 = _mm_add_pd(c_02_13, b_23);
    b_32 = _mm_mul_pd(a_01, b_32);
    c_03_12 = _mm_add_pd(c_03_12, b_32);
    A += 16;
    B += 16;
  }
  for (; k < kmax; k++) {
    a_01 = _mm_load_pd(&A[0]);
    b_01 = _mm_load_pd(&B[0]);
    b_10 = _mm_shuffle_pd(b_01, b_01, 1);
    b_23 = _mm_load_pd(&B[2]);
    b_32 = _mm_shuffle_pd(b_23, b_23, 1);
    b_01 = _mm_mul_pd(a_01, b_01);
    c_00_11 = _mm_add_pd(c_00_11, b_01);
    b_10 = _mm_mul_pd(a_01, b_10);
    c_01_10 = _mm_add_pd(c_01_10, b_10);
    b_23 = _mm_mul_pd(a_01, b_23);
    c_02_13 = _mm_add_pd(c_02_13, b_23);
    b_32 = _mm_mul_pd(a_01, b_32);
    c_03_12 = _mm_add_pd(c_03_12, b_32);
    A += 4;
    B += 4;
  }
  __m128d t_0, c_0, c_1, c_2, c_3, d_0, d_1, d_2, d_3;
  if (alg == 0) {
    if (td == 0) {
      d_0 = _mm_shuffle_pd(c_00_11, c_01_10, 0x2);
      d_1 = _mm_shuffle_pd(c_01_10, c_00_11, 0x2);
      d_2 = _mm_shuffle_pd(c_02_13, c_03_12, 0x2);
      d_3 = _mm_shuffle_pd(c_03_12, c_02_13, 0x2);
      goto store_n;
    } else {
      d_0 = _mm_unpacklo_pd(c_00_11, c_01_10);
      d_1 = _mm_unpackhi_pd(c_01_10, c_00_11);
      d_2 = _mm_unpacklo_pd(c_02_13, c_03_12);
      d_3 = _mm_unpackhi_pd(c_03_12, c_02_13);
      goto store_t;
    }
  } else {
    if (tc == 0) {
      c_0 = _mm_shuffle_pd(c_00_11, c_01_10, 0x2);
      c_1 = _mm_shuffle_pd(c_01_10, c_00_11, 0x2);
      c_2 = _mm_shuffle_pd(c_02_13, c_03_12, 0x2);
      c_3 = _mm_shuffle_pd(c_03_12, c_02_13, 0x2);
      d_0 = _mm_load_pd(&C[0 + ldc * 0]);
      d_1 = _mm_load_pd(&C[0 + ldc * 1]);
      d_2 = _mm_load_pd(&C[0 + ldc * 2]);
      d_3 = _mm_load_pd(&C[0 + ldc * 3]);
      if (alg == 1) {
        d_0 = _mm_add_pd(d_0, c_0);
        d_1 = _mm_add_pd(d_1, c_1);
        d_2 = _mm_add_pd(d_2, c_2);
        d_3 = _mm_add_pd(d_3, c_3);
      } else {
        d_0 = _mm_sub_pd(d_0, c_0);
        d_1 = _mm_sub_pd(d_1, c_1);
        d_2 = _mm_sub_pd(d_2, c_2);
        d_3 = _mm_sub_pd(d_3, c_3);
      }
      if (td == 0) {
        goto store_n;
      } else {
        t_0 = d_0;
        d_0 = _mm_unpacklo_pd(d_0, d_1);
        d_1 = _mm_unpackhi_pd(t_0, d_1);
        t_0 = d_2;
        d_2 = _mm_unpacklo_pd(d_2, d_3);
        d_3 = _mm_unpackhi_pd(t_0, d_3);
        goto store_t;
      }
    } else {
      c_0 = _mm_unpacklo_pd(c_00_11, c_01_10);
      c_1 = _mm_unpackhi_pd(c_01_10, c_00_11);
      c_2 = _mm_unpacklo_pd(c_02_13, c_03_12);
      c_3 = _mm_unpackhi_pd(c_03_12, c_02_13);
      d_0 = _mm_load_pd(&C[0 + ldc * 0]);
      d_1 = _mm_load_pd(&C[0 + ldc * 1]);
      d_2 = _mm_load_pd(&C[2 + ldc * 0]);
      d_3 = _mm_load_pd(&C[2 + ldc * 1]);
      if (alg == 1) {
        d_0 = _mm_add_pd(d_0, c_0);
        d_1 = _mm_add_pd(d_1, c_1);
        d_2 = _mm_add_pd(d_2, c_2);
        d_3 = _mm_add_pd(d_3, c_3);
      } else {
        d_0 = _mm_sub_pd(d_0, c_0);
        d_1 = _mm_sub_pd(d_1, c_1);
        d_2 = _mm_sub_pd(d_2, c_2);
        d_3 = _mm_sub_pd(d_3, c_3);
      }
      if (td == 0) {
        t_0 = d_0;
        d_0 = _mm_unpacklo_pd(d_0, d_1);
        d_1 = _mm_unpackhi_pd(t_0, d_1);
        t_0 = d_2;
        d_2 = _mm_unpacklo_pd(d_2, d_3);
        d_3 = _mm_unpackhi_pd(t_0, d_3);
        goto store_n;
      } else {
        goto store_t;
      }
    }
  }
store_n:
  if (km >= 2) {
    _mm_store_pd(&D[0 + ldc * 0], d_0);
    _mm_store_pd(&D[0 + ldc * 1], d_1);
    _mm_store_pd(&D[0 + ldc * 2], d_2);
    if (kn >= 4)
      _mm_store_pd(&D[0 + ldc * 3], d_3);
  } else {
    _mm_store_sd(&D[0 + ldc * 0], d_0);
    _mm_store_sd(&D[0 + ldc * 1], d_1);
    _mm_store_sd(&D[0 + ldc * 2], d_2);
    if (kn >= 4)
      _mm_store_sd(&D[0 + ldc * 3], d_3);
  }
  return;
store_t:
  if (kn >= 4) {
    _mm_store_pd(&D[0 + ldc * 0], d_0);
    _mm_store_pd(&D[2 + ldc * 0], d_2);
    if (km >= 2) {
      _mm_store_pd(&D[0 + ldc * 1], d_1);
      _mm_store_pd(&D[2 + ldc * 1], d_3);
    }
  } else {
    _mm_store_pd(&D[0 + ldc * 0], d_0);
    _mm_store_sd(&D[2 + ldc * 0], d_2);
    if (km >= 2) {
      _mm_store_pd(&D[0 + ldc * 1], d_1);
      _mm_store_sd(&D[2 + ldc * 1], d_3);
    }
  }
  return;
}


x86 assembly (clang, -O0):
<kernel_dgemm_nt_2x4_vs_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
movl   $0x4,-0x2c(%rbp)
mov    $0x0,%al
call   10a0 <_mm_setzero_pd@plt>
mov    %eax,-0x34(%rbp)
mov    $0x0,%al
call   10a0 <_mm_setzero_pd@plt>
mov    %eax,-0x38(%rbp)
mov    $0x0,%al
call   10a0 <_mm_setzero_pd@plt>
mov    %eax,-0x3c(%rbp)
mov    $0x0,%al
call   10a0 <_mm_setzero_pd@plt>
mov    %eax,-0x40(%rbp)
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
mov    -0xc(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    154e <kernel_dgemm_nt_2x4_vs_lib4+0x3ae>
mov    -0x18(%rbp),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x44(%rbp)
mov    -0x20(%rbp),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x48(%rbp),%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x10,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x50(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x50(%rbp),%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x54(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x48(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x48(%rbp)
mov    -0x34(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x38(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x50(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x50(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x50(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x54(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x54(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x54(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x40(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x20,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x44(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x20,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x48(%rbp),%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x30,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x50(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x50(%rbp),%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x54(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x48(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x48(%rbp)
mov    -0x34(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x38(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x50(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x50(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x50(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x54(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x54(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x54(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x40(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x40,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x44(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x40,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x48(%rbp),%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x50,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x50(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x50(%rbp),%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x54(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x48(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x48(%rbp)
mov    -0x34(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x38(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x50(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x50(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x50(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x54(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x54(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x54(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x40(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x60,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x44(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x60,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x48(%rbp),%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x70,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x50(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x50(%rbp),%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x54(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x48(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x48(%rbp)
mov    -0x34(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x38(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x50(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x50(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x50(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x54(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x54(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x54(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x40(%rbp)
mov    -0x18(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x18(%rbp)
mov    -0x20(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x20(%rbp)
mov    -0x30(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x30(%rbp)
jmp    1203 <kernel_dgemm_nt_2x4_vs_lib4+0x63>
jmp    1553 <kernel_dgemm_nt_2x4_vs_lib4+0x3b3>
mov    -0x30(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1643 <kernel_dgemm_nt_2x4_vs_lib4+0x4a3>
mov    -0x18(%rbp),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x44(%rbp)
mov    -0x20(%rbp),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x48(%rbp)
mov    -0x48(%rbp),%edi
mov    -0x48(%rbp),%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x10,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x50(%rbp)
mov    -0x50(%rbp),%edi
mov    -0x50(%rbp),%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x54(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x48(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x48(%rbp)
mov    -0x34(%rbp),%edi
mov    -0x48(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x4c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x4c(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x38(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x50(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x50(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x50(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x54(%rbp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    %eax,-0x54(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x54(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x40(%rbp)
mov    -0x18(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x18(%rbp)
mov    -0x20(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x20(%rbp)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1553 <kernel_dgemm_nt_2x4_vs_lib4+0x3b3>
cmpl   $0x0,0x18(%rbp)
jne    16e5 <kernel_dgemm_nt_2x4_vs_lib4+0x545>
cmpl   $0x0,0x28(%rbp)
jne    16a8 <kernel_dgemm_nt_2x4_vs_lib4+0x508>
mov    -0x34(%rbp),%edi
mov    -0x38(%rbp),%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x70(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x40(%rbp),%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x74(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x3c(%rbp),%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x78(%rbp)
jmp    1999 <kernel_dgemm_nt_2x4_vs_lib4+0x7f9>
mov    -0x34(%rbp),%edi
mov    -0x38(%rbp),%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x34(%rbp),%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,-0x70(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x40(%rbp),%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,-0x74(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x3c(%rbp),%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,-0x78(%rbp)
jmp    1a3e <kernel_dgemm_nt_2x4_vs_lib4+0x89e>
cmpl   $0x0,0x20(%rbp)
jne    184e <kernel_dgemm_nt_2x4_vs_lib4+0x6ae>
mov    -0x34(%rbp),%edi
mov    -0x38(%rbp),%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x60(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x40(%rbp),%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x64(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x3c(%rbp),%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,-0x68(%rbp)
mov    -0x28(%rbp),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x28(%rbp),%rdi
add    $0x20,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x70(%rbp)
mov    -0x28(%rbp),%rdi
add    $0x40,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x74(%rbp)
mov    -0x28(%rbp),%rdi
add    $0x60,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x78(%rbp)
cmpl   $0x1,0x18(%rbp)
jne    17be <kernel_dgemm_nt_2x4_vs_lib4+0x61e>
mov    -0x6c(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x70(%rbp),%edi
mov    -0x60(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x70(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x64(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x74(%rbp)
mov    -0x78(%rbp),%edi
mov    -0x68(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x78(%rbp)
jmp    17f6 <kernel_dgemm_nt_2x4_vs_lib4+0x656>
mov    -0x6c(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x70(%rbp),%edi
mov    -0x60(%rbp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,-0x70(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x64(%rbp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,-0x74(%rbp)
mov    -0x78(%rbp),%edi
mov    -0x68(%rbp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,-0x78(%rbp)
cmpl   $0x0,0x28(%rbp)
jne    1805 <kernel_dgemm_nt_2x4_vs_lib4+0x665>
jmp    1999 <kernel_dgemm_nt_2x4_vs_lib4+0x7f9>
mov    -0x6c(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x6c(%rbp),%edi
mov    -0x70(%rbp),%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x70(%rbp),%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,-0x70(%rbp)
mov    -0x74(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x78(%rbp),%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,-0x74(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x78(%rbp),%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,-0x78(%rbp)
jmp    1a3e <kernel_dgemm_nt_2x4_vs_lib4+0x89e>
mov    -0x34(%rbp),%edi
mov    -0x38(%rbp),%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x38(%rbp),%edi
mov    -0x34(%rbp),%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,-0x60(%rbp)
mov    -0x3c(%rbp),%edi
mov    -0x40(%rbp),%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,-0x64(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x3c(%rbp),%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,-0x68(%rbp)
mov    -0x28(%rbp),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x28(%rbp),%rdi
add    $0x20,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x70(%rbp)
mov    -0x28(%rbp),%rdi
add    $0x10,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x74(%rbp)
mov    -0x28(%rbp),%rdi
add    $0x30,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,-0x78(%rbp)
cmpl   $0x1,0x18(%rbp)
jne    1909 <kernel_dgemm_nt_2x4_vs_lib4+0x769>
mov    -0x6c(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x70(%rbp),%edi
mov    -0x60(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x70(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x64(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x74(%rbp)
mov    -0x78(%rbp),%edi
mov    -0x68(%rbp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,-0x78(%rbp)
jmp    1941 <kernel_dgemm_nt_2x4_vs_lib4+0x7a1>
mov    -0x6c(%rbp),%edi
mov    -0x5c(%rbp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x70(%rbp),%edi
mov    -0x60(%rbp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,-0x70(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x64(%rbp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,-0x74(%rbp)
mov    -0x78(%rbp),%edi
mov    -0x68(%rbp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,-0x78(%rbp)
cmpl   $0x0,0x28(%rbp)
jne    1994 <kernel_dgemm_nt_2x4_vs_lib4+0x7f4>
mov    -0x6c(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x6c(%rbp),%edi
mov    -0x70(%rbp),%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x70(%rbp),%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,-0x70(%rbp)
mov    -0x74(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x78(%rbp),%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,-0x74(%rbp)
mov    -0x58(%rbp),%edi
mov    -0x78(%rbp),%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,-0x78(%rbp)
jmp    1999 <kernel_dgemm_nt_2x4_vs_lib4+0x7f9>
jmp    1a3e <kernel_dgemm_nt_2x4_vs_lib4+0x89e>
cmpl   $0x2,-0x4(%rbp)
jl     19ee <kernel_dgemm_nt_2x4_vs_lib4+0x84e>
mov    0x10(%rbp),%rdi
mov    -0x6c(%rbp),%esi
call   1030 <_mm_store_pd@plt>
mov    0x10(%rbp),%rdi
add    $0x20,%rdi
mov    -0x70(%rbp),%esi
call   1030 <_mm_store_pd@plt>
mov    0x10(%rbp),%rdi
add    $0x40,%rdi
mov    -0x74(%rbp),%esi
call   1030 <_mm_store_pd@plt>
cmpl   $0x4,-0x8(%rbp)
jl     19e9 <kernel_dgemm_nt_2x4_vs_lib4+0x849>
mov    0x10(%rbp),%rdi
add    $0x60,%rdi
mov    -0x78(%rbp),%esi
call   1030 <_mm_store_pd@plt>
jmp    1a39 <kernel_dgemm_nt_2x4_vs_lib4+0x899>
mov    0x10(%rbp),%rdi
mov    -0x6c(%rbp),%esi
call   10c0 <_mm_store_sd@plt>
mov    0x10(%rbp),%rdi
add    $0x20,%rdi
mov    -0x70(%rbp),%esi
call   10c0 <_mm_store_sd@plt>
mov    0x10(%rbp),%rdi
add    $0x40,%rdi
mov    -0x74(%rbp),%esi
call   10c0 <_mm_store_sd@plt>
cmpl   $0x4,-0x8(%rbp)
jl     1a34 <kernel_dgemm_nt_2x4_vs_lib4+0x894>
mov    0x10(%rbp),%rdi
add    $0x60,%rdi
mov    -0x78(%rbp),%esi
call   10c0 <_mm_store_sd@plt>
jmp    1a39 <kernel_dgemm_nt_2x4_vs_lib4+0x899>
jmp    1ae3 <kernel_dgemm_nt_2x4_vs_lib4+0x943>
cmpl   $0x4,-0x8(%rbp)
jl     1a93 <kernel_dgemm_nt_2x4_vs_lib4+0x8f3>
mov    0x10(%rbp),%rdi
mov    -0x6c(%rbp),%esi
call   1030 <_mm_store_pd@plt>
mov    0x10(%rbp),%rdi
add    $0x10,%rdi
mov    -0x74(%rbp),%esi
call   1030 <_mm_store_pd@plt>
cmpl   $0x2,-0x4(%rbp)
jl     1a8e <kernel_dgemm_nt_2x4_vs_lib4+0x8ee>
mov    0x10(%rbp),%rdi
add    $0x20,%rdi
mov    -0x70(%rbp),%esi
call   1030 <_mm_store_pd@plt>
mov    0x10(%rbp),%rdi
add    $0x30,%rdi
mov    -0x78(%rbp),%esi
call   1030 <_mm_store_pd@plt>
jmp    1ade <kernel_dgemm_nt_2x4_vs_lib4+0x93e>
mov    0x10(%rbp),%rdi
mov    -0x6c(%rbp),%esi
call   1030 <_mm_store_pd@plt>
mov    0x10(%rbp),%rdi
add    $0x10,%rdi
mov    -0x74(%rbp),%esi
call   10c0 <_mm_store_sd@plt>
cmpl   $0x2,-0x4(%rbp)
jl     1ad9 <kernel_dgemm_nt_2x4_vs_lib4+0x939>
mov    0x10(%rbp),%rdi
add    $0x20,%rdi
mov    -0x70(%rbp),%esi
call   1030 <_mm_store_pd@plt>
mov    0x10(%rbp),%rdi
add    $0x30,%rdi
mov    -0x78(%rbp),%esi
call   10c0 <_mm_store_sd@plt>
jmp    1ade <kernel_dgemm_nt_2x4_vs_lib4+0x93e>
jmp    1ae3 <kernel_dgemm_nt_2x4_vs_lib4+0x943>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dgemm_nt_2x4_vs_lib4>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r9,0x50(%rsp)
mov    %r8,%r13
mov    %rcx,%rbx
mov    %edx,%r14d
mov    %esi,0x30(%rsp)
mov    %edi,0x2c(%rsp)
mov    0xa8(%rsp),%eax
mov    %eax,0x1c(%rsp)
mov    0xa0(%rsp),%eax
mov    %eax,0x40(%rsp)
mov    0x98(%rsp),%eax
mov    %eax,0x34(%rsp)
mov    0x90(%rsp),%rax
mov    %rax,0x20(%rsp)
xor    %ebp,%ebp
xor    %eax,%eax
call   10a0 <_mm_setzero_pd@plt>
mov    %eax,0x4(%rsp)
xor    %eax,%eax
call   10a0 <_mm_setzero_pd@plt>
mov    %eax,(%rsp)
xor    %eax,%eax
call   10a0 <_mm_setzero_pd@plt>
mov    %eax,%r12d
xor    %eax,%eax
call   10a0 <_mm_setzero_pd@plt>
mov    %eax,%r15d
cmp    $0x4,%r14d
jl     152a <kernel_dgemm_nt_2x4_vs_lib4+0x38a>
mov    %r14,0x38(%rsp)
lea    -0x3(%r14),%eax
mov    %eax,0x44(%rsp)
xor    %ebp,%ebp
mov    %r12d,0x8(%rsp)
mov    (%rsp),%r14d
nop
mov    %r14d,(%rsp)
mov    %r15d,0xc(%rsp)
mov    %ebp,0x4c(%rsp)
mov    %rbx,0x10(%rsp)
mov    %rbx,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r15d
mov    %r13,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r14d
mov    %eax,%edi
mov    %eax,%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%ebx
lea    0x10(%r13),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%ebp
mov    %eax,%edi
mov    %eax,%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%r12d
mov    %r15d,%edi
mov    %r14d,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0x4(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0x4(%rsp)
mov    %r15d,%edi
mov    %ebx,%esi
call   10b0 <_mm_mul_pd@plt>
mov    (%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,(%rsp)
mov    %r15d,%edi
mov    %ebp,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0x8(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0x8(%rsp)
mov    %r15d,%edi
mov    %r12d,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0xc(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0xc(%rsp)
mov    0x10(%rsp),%rax
lea    0x20(%rax),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r14d
lea    0x20(%r13),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%ebx
mov    %eax,%edi
mov    %eax,%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%r12d
lea    0x30(%r13),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%ebp
mov    %eax,%edi
mov    %eax,%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%r15d
mov    %r14d,%edi
mov    %ebx,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0x4(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0x4(%rsp)
mov    %r14d,%edi
mov    %r12d,%esi
call   10b0 <_mm_mul_pd@plt>
mov    (%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,(%rsp)
mov    %r14d,%edi
mov    %ebp,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0x8(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0x8(%rsp)
mov    %r14d,%edi
mov    %r15d,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0xc(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0x48(%rsp)
mov    0x10(%rsp),%rax
lea    0x40(%rax),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r14d
lea    0x40(%r13),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%ebx
mov    %eax,%edi
mov    %eax,%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%r12d
lea    0x50(%r13),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%ebp
mov    %eax,%edi
mov    %eax,%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%r15d
mov    %r14d,%edi
mov    %ebx,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0x4(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0x4(%rsp)
mov    %r14d,%edi
mov    %r12d,%esi
call   10b0 <_mm_mul_pd@plt>
mov    (%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0xc(%rsp)
mov    %r14d,%edi
mov    %ebp,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0x8(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0x8(%rsp)
mov    %r14d,%edi
mov    %r15d,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0x48(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,(%rsp)
mov    0x10(%rsp),%rax
lea    0x60(%rax),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r12d
lea    0x60(%r13),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%ebx
mov    %eax,%edi
mov    %eax,%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%r14d
lea    0x70(%r13),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%ebp
mov    %eax,%edi
mov    %eax,%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%r15d
mov    %r12d,%edi
mov    %ebx,%esi
mov    0x10(%rsp),%rbx
call   10b0 <_mm_mul_pd@plt>
mov    0x4(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0x4(%rsp)
mov    %r12d,%edi
mov    %r14d,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0xc(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,%r14d
mov    %r12d,%edi
mov    %ebp,%esi
mov    0x4c(%rsp),%ebp
call   10b0 <_mm_mul_pd@plt>
mov    0x8(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0x8(%rsp)
mov    %r12d,%edi
mov    %r15d,%esi
call   10b0 <_mm_mul_pd@plt>
mov    (%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,%r15d
sub    $0xffffffffffffff80,%rbx
sub    $0xffffffffffffff80,%r13
add    $0x4,%ebp
cmp    0x44(%rsp),%ebp
jl     1240 <kernel_dgemm_nt_2x4_vs_lib4+0xa0>
mov    %r14d,(%rsp)
mov    0x38(%rsp),%r14
mov    0x8(%rsp),%r12d
cmp    %r14d,%ebp
jge    1612 <kernel_dgemm_nt_2x4_vs_lib4+0x472>
sub    %ebp,%r14d
cs nopw 0x0(%rax,%rax,1)
mov    %r12d,0x8(%rsp)
mov    %r15d,0xc(%rsp)
mov    %r14,0x38(%rsp)
mov    %rbx,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r15d
mov    %r13,%rdi
call   1090 <_mm_load_pd@plt>
mov    %rbx,%r12
mov    %eax,%ebx
mov    %eax,%edi
mov    %eax,%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%r14d
lea    0x10(%r13),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%ebp
mov    %eax,%edi
mov    %eax,%esi
mov    $0x1,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,0x10(%rsp)
mov    %r15d,%edi
mov    %ebx,%esi
mov    %r12,%rbx
call   10b0 <_mm_mul_pd@plt>
mov    0x4(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,0x4(%rsp)
mov    %r15d,%edi
mov    %r14d,%esi
mov    0x38(%rsp),%r14
call   10b0 <_mm_mul_pd@plt>
mov    (%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,(%rsp)
mov    %r15d,%edi
mov    %ebp,%esi
call   10b0 <_mm_mul_pd@plt>
mov    0x8(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,%r12d
mov    %r15d,%edi
mov    0x10(%rsp),%esi
call   10b0 <_mm_mul_pd@plt>
mov    0xc(%rsp),%edi
mov    %eax,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,%r15d
add    $0x20,%rbx
add    $0x20,%r13
add    $0xffffffff,%r14d
jne    1540 <kernel_dgemm_nt_2x4_vs_lib4+0x3a0>
mov    (%rsp),%eax
mov    0x4(%rsp),%ebx
cmpl   $0x0,0x34(%rsp)
je     16e2 <kernel_dgemm_nt_2x4_vs_lib4+0x542>
cmpl   $0x0,0x40(%rsp)
je     1721 <kernel_dgemm_nt_2x4_vs_lib4+0x581>
mov    %ebx,%edi
mov    %eax,%ebp
mov    %eax,%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,%r13d
mov    %ebp,%edi
mov    %ebx,%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,0x4(%rsp)
mov    %r12d,%edi
mov    %r15d,%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,(%rsp)
mov    %r15d,%edi
mov    %r12d,%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,0x10(%rsp)
mov    0x50(%rsp),%rbx
mov    %rbx,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r14d
lea    0x20(%rbx),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r15d
lea    0x10(%rbx),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%ebp
add    $0x30,%rbx
mov    %rbx,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r12d
cmpl   $0x1,0x34(%rsp)
jne    17e9 <kernel_dgemm_nt_2x4_vs_lib4+0x649>
mov    %r14d,%edi
mov    %r13d,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,%r13d
mov    %r15d,%edi
mov    0x4(%rsp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    (%rsp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,%r14d
mov    %r12d,%edi
mov    0x10(%rsp),%esi
call   1060 <_mm_add_pd@plt>
jmp    181e <kernel_dgemm_nt_2x4_vs_lib4+0x67e>
cmpl   $0x0,0x1c(%rsp)
je     1863 <kernel_dgemm_nt_2x4_vs_lib4+0x6c3>
mov    %ebx,%ebp
mov    %ebx,%edi
mov    %eax,%ebx
mov    %eax,%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,%r13d
mov    %ebx,%edi
mov    %ebp,%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,%ebx
mov    %r12d,%edi
mov    %r15d,%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,%r14d
mov    %r15d,%edi
mov    %r12d,%esi
jmp    1920 <kernel_dgemm_nt_2x4_vs_lib4+0x780>
mov    %ebx,%ebp
mov    %ebx,%edi
mov    %eax,%ebx
mov    %eax,%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %r15d,%r14d
mov    %eax,%r15d
mov    %ebx,%edi
mov    %ebp,%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%ebp
mov    %r12d,%edi
mov    %r14d,%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,(%rsp)
mov    %r14d,%edi
mov    %r12d,%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,0x10(%rsp)
mov    0x50(%rsp),%rbx
mov    %rbx,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r14d
lea    0x20(%rbx),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r12d
lea    0x40(%rbx),%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%r13d
add    $0x60,%rbx
mov    %rbx,%rdi
call   1090 <_mm_load_pd@plt>
mov    %eax,%ebx
cmpl   $0x1,0x34(%rsp)
jne    18b1 <kernel_dgemm_nt_2x4_vs_lib4+0x711>
mov    %r14d,%edi
mov    %r15d,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,%r14d
mov    %r12d,%edi
mov    %ebp,%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,%ebp
mov    %r13d,%edi
mov    (%rsp),%esi
call   1060 <_mm_add_pd@plt>
mov    %eax,%r12d
mov    %ebx,%edi
mov    0x10(%rsp),%esi
call   1060 <_mm_add_pd@plt>
jmp    18e4 <kernel_dgemm_nt_2x4_vs_lib4+0x744>
mov    %r14d,%edi
mov    %r13d,%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,%r13d
mov    %r15d,%edi
mov    0x4(%rsp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,%ebx
mov    %ebp,%edi
mov    (%rsp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,%r14d
mov    %r12d,%edi
mov    0x10(%rsp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,%r15d
mov    0x1c(%rsp),%eax
test   %eax,%eax
jne    1928 <kernel_dgemm_nt_2x4_vs_lib4+0x788>
mov    %r13d,%edi
mov    %ebx,%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %ebx,%esi
mov    %eax,%ebx
mov    %r13d,%edi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,%ebp
mov    %r14d,%edi
mov    %r15d,%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,%r12d
mov    %r14d,%edi
mov    %ebx,%r14d
mov    %r15d,%esi
call   1070 <_mm_unpackhi_pd@plt>
jmp    18a9 <kernel_dgemm_nt_2x4_vs_lib4+0x709>
mov    %ebx,%edi
mov    %eax,%ebp
mov    %eax,%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%r14d
mov    %ebp,%edi
mov    %ebx,%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%ebp
mov    %r12d,%edi
mov    %r15d,%esi
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %r15d,%edi
mov    %r12d,%esi
mov    %eax,%r12d
mov    $0x2,%edx
call   1080 <_mm_shuffle_pd@plt>
mov    %eax,%r15d
jmp    1973 <kernel_dgemm_nt_2x4_vs_lib4+0x7d3>
mov    %r14d,%edi
mov    %r15d,%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,%r14d
mov    %r12d,%edi
mov    %ebp,%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,%ebp
mov    %r13d,%edi
mov    (%rsp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,%r12d
mov    %ebx,%edi
mov    0x10(%rsp),%esi
call   1040 <_mm_sub_pd@plt>
mov    %eax,%r15d
mov    0x1c(%rsp),%eax
test   %eax,%eax
je     1973 <kernel_dgemm_nt_2x4_vs_lib4+0x7d3>
mov    %r14d,%edi
mov    %ebp,%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,%r13d
mov    %r14d,%edi
mov    %ebp,%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,%ebx
mov    %r12d,%edi
mov    %r15d,%esi
call   1050 <_mm_unpacklo_pd@plt>
mov    %eax,%r14d
mov    %r12d,%edi
mov    %r15d,%esi
call   1070 <_mm_unpackhi_pd@plt>
mov    %eax,%r15d
mov    0x20(%rsp),%rbp
mov    %rbp,%rdi
mov    %r13d,%esi
call   1030 <_mm_store_pd@plt>
lea    0x10(%rbp),%rdi
cmpl   $0x4,0x30(%rsp)
jl     19cb <kernel_dgemm_nt_2x4_vs_lib4+0x82b>
mov    %r14d,%esi
call   1030 <_mm_store_pd@plt>
cmpl   $0x2,0x2c(%rsp)
jl     1a40 <kernel_dgemm_nt_2x4_vs_lib4+0x8a0>
mov    %ebx,%esi
mov    0x20(%rsp),%rbx
lea    0x20(%rbx),%rdi
call   1030 <_mm_store_pd@plt>
add    $0x30,%rbx
mov    %rbx,%rdi
jmp    19b5 <kernel_dgemm_nt_2x4_vs_lib4+0x815>
cmpl   $0x2,0x2c(%rsp)
jl     19f3 <kernel_dgemm_nt_2x4_vs_lib4+0x853>
mov    0x20(%rsp),%rbx
mov    %rbx,%rdi
mov    %r14d,%esi
call   1030 <_mm_store_pd@plt>
lea    0x20(%rbx),%rdi
mov    %ebp,%esi
call   1030 <_mm_store_pd@plt>
lea    0x40(%rbx),%rdi
mov    %r12d,%esi
call   1030 <_mm_store_pd@plt>
cmpl   $0x4,0x30(%rsp)
jl     1a40 <kernel_dgemm_nt_2x4_vs_lib4+0x8a0>
mov    0x20(%rsp),%rdi
add    $0x60,%rdi
mov    %r15d,%esi
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <_mm_store_pd@plt>
mov    %r14d,%esi
call   10c0 <_mm_store_sd@plt>
cmpl   $0x2,0x2c(%rsp)
jl     1a40 <kernel_dgemm_nt_2x4_vs_lib4+0x8a0>
mov    %ebx,%esi
mov    0x20(%rsp),%rbx
lea    0x20(%rbx),%rdi
call   1030 <_mm_store_pd@plt>
add    $0x30,%rbx
mov    %rbx,%rdi
jmp    1a2a <kernel_dgemm_nt_2x4_vs_lib4+0x88a>
mov    0x20(%rsp),%rbx
mov    %rbx,%rdi
mov    %r14d,%esi
call   10c0 <_mm_store_sd@plt>
lea    0x20(%rbx),%rdi
mov    %ebp,%esi
call   10c0 <_mm_store_sd@plt>
lea    0x40(%rbx),%rdi
mov    %r12d,%esi
call   10c0 <_mm_store_sd@plt>
cmpl   $0x4,0x30(%rsp)
jl     1a40 <kernel_dgemm_nt_2x4_vs_lib4+0x8a0>
mov    0x20(%rsp),%rdi
add    $0x60,%rdi
mov    %r15d,%esi
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    10c0 <_mm_store_sd@plt>
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @kernel_dgemm_nt_2x4_vs_lib4(i32 %0, i32 %1, i32 %2, double* %3, double* %4, double* %5, double* %6, i32 %7, i32 %8, i32 %9) {
%11 = tail call i32 (...) @_mm_setzero_pd()
%12 = tail call i32 (...) @_mm_setzero_pd()
%13 = tail call i32 (...) @_mm_setzero_pd()
%14 = tail call i32 (...) @_mm_setzero_pd()
%15 = add nsw i32 %2, -3
%16 = icmp sgt i32 %2, 3
br i1 %16, label %26, label %17
17: ; preds = %26, %10
%18 = phi double* [ %4, %10 ], [ %97, %26 ]
%19 = phi double* [ %3, %10 ], [ %96, %26 ]
%20 = phi i32 [ 0, %10 ], [ %98, %26 ]
%21 = phi i32 [ %11, %10 ], [ %89, %26 ]
%22 = phi i32 [ %12, %10 ], [ %91, %26 ]
%23 = phi i32 [ %13, %10 ], [ %93, %26 ]
%24 = phi i32 [ %14, %10 ], [ %95, %26 ]
%25 = icmp slt i32 %20, %2
br i1 %25, label %100, label %126
26: ; preds = %10, %26
%27 = phi i32 [ %95, %26 ], [ %14, %10 ]
%28 = phi i32 [ %93, %26 ], [ %13, %10 ]
%29 = phi i32 [ %91, %26 ], [ %12, %10 ]
%30 = phi i32 [ %89, %26 ], [ %11, %10 ]
%31 = phi i32 [ %98, %26 ], [ 0, %10 ]
%32 = phi double* [ %96, %26 ], [ %3, %10 ]
%33 = phi double* [ %97, %26 ], [ %4, %10 ]
%34 = tail call i32 @_mm_load_pd(double* %32)
%35 = tail call i32 @_mm_load_pd(double* %33)
%36 = tail call i32 @_mm_shuffle_pd(i32 %35, i32 %35, i32 1)
%37 = getelementptr inbounds double, double* %33, i64 2
%38 = tail call i32 @_mm_load_pd(double* %37)
%39 = tail call i32 @_mm_shuffle_pd(i32 %38, i32 %38, i32 1)
%40 = tail call i32 @_mm_mul_pd(i32 %34, i32 %35)
%41 = tail call i32 @_mm_add_pd(i32 %30, i32 %40)
%42 = tail call i32 @_mm_mul_pd(i32 %34, i32 %36)
%43 = tail call i32 @_mm_add_pd(i32 %29, i32 %42)
%44 = tail call i32 @_mm_mul_pd(i32 %34, i32 %38)
%45 = tail call i32 @_mm_add_pd(i32 %28, i32 %44)
%46 = tail call i32 @_mm_mul_pd(i32 %34, i32 %39)
%47 = tail call i32 @_mm_add_pd(i32 %27, i32 %46)
%48 = getelementptr inbounds double, double* %32, i64 4
%49 = tail call i32 @_mm_load_pd(double* %48)
%50 = getelementptr inbounds double, double* %33, i64 4
%51 = tail call i32 @_mm_load_pd(double* %50)
%52 = tail call i32 @_mm_shuffle_pd(i32 %51, i32 %51, i32 1)
%53 = getelementptr inbounds double, double* %33, i64 6
%54 = tail call i32 @_mm_load_pd(double* %53)
%55 = tail call i32 @_mm_shuffle_pd(i32 %54, i32 %54, i32 1)
%56 = tail call i32 @_mm_mul_pd(i32 %49, i32 %51)
%57 = tail call i32 @_mm_add_pd(i32 %41, i32 %56)
%58 = tail call i32 @_mm_mul_pd(i32 %49, i32 %52)
%59 = tail call i32 @_mm_add_pd(i32 %43, i32 %58)
%60 = tail call i32 @_mm_mul_pd(i32 %49, i32 %54)
%61 = tail call i32 @_mm_add_pd(i32 %45, i32 %60)
%62 = tail call i32 @_mm_mul_pd(i32 %49, i32 %55)
%63 = tail call i32 @_mm_add_pd(i32 %47, i32 %62)
%64 = getelementptr inbounds double, double* %32, i64 8
%65 = tail call i32 @_mm_load_pd(double* %64)
%66 = getelementptr inbounds double, double* %33, i64 8
%67 = tail call i32 @_mm_load_pd(double* %66)
%68 = tail call i32 @_mm_shuffle_pd(i32 %67, i32 %67, i32 1)
%69 = getelementptr inbounds double, double* %33, i64 10
%70 = tail call i32 @_mm_load_pd(double* %69)
%71 = tail call i32 @_mm_shuffle_pd(i32 %70, i32 %70, i32 1)
%72 = tail call i32 @_mm_mul_pd(i32 %65, i32 %67)
%73 = tail call i32 @_mm_add_pd(i32 %57, i32 %72)
%74 = tail call i32 @_mm_mul_pd(i32 %65, i32 %68)
%75 = tail call i32 @_mm_add_pd(i32 %59, i32 %74)
%76 = tail call i32 @_mm_mul_pd(i32 %65, i32 %70)
%77 = tail call i32 @_mm_add_pd(i32 %61, i32 %76)
%78 = tail call i32 @_mm_mul_pd(i32 %65, i32 %71)
%79 = tail call i32 @_mm_add_pd(i32 %63, i32 %78)
%80 = getelementptr inbounds double, double* %32, i64 12
%81 = tail call i32 @_mm_load_pd(double* %80)
%82 = getelementptr inbounds double, double* %33, i64 12
%83 = tail call i32 @_mm_load_pd(double* %82)
%84 = tail call i32 @_mm_shuffle_pd(i32 %83, i32 %83, i32 1)
%85 = getelementptr inbounds double, double* %33, i64 14
%86 = tail call i32 @_mm_load_pd(double* %85)
%87 = tail call i32 @_mm_shuffle_pd(i32 %86, i32 %86, i32 1)
%88 = tail call i32 @_mm_mul_pd(i32 %81, i32 %83)
%89 = tail call i32 @_mm_add_pd(i32 %73, i32 %88)
%90 = tail call i32 @_mm_mul_pd(i32 %81, i32 %84)
%91 = tail call i32 @_mm_add_pd(i32 %75, i32 %90)
%92 = tail call i32 @_mm_mul_pd(i32 %81, i32 %86)
%93 = tail call i32 @_mm_add_pd(i32 %77, i32 %92)
%94 = tail call i32 @_mm_mul_pd(i32 %81, i32 %87)
%95 = tail call i32 @_mm_add_pd(i32 %79, i32 %94)
%96 = getelementptr inbounds double, double* %32, i64 16
%97 = getelementptr inbounds double, double* %33, i64 16
%98 = add nuw nsw i32 %31, 4
%99 = icmp slt i32 %98, %15
br i1 %99, label %26, label %17
100: ; preds = %17, %100
%101 = phi i32 [ %121, %100 ], [ %24, %17 ]
%102 = phi i32 [ %119, %100 ], [ %23, %17 ]
%103 = phi i32 [ %117, %100 ], [ %22, %17 ]
%104 = phi i32 [ %115, %100 ], [ %21, %17 ]
%105 = phi i32 [ %124, %100 ], [ %20, %17 ]
%106 = phi double* [ %122, %100 ], [ %19, %17 ]
%107 = phi double* [ %123, %100 ], [ %18, %17 ]
%108 = tail call i32 @_mm_load_pd(double* %106)
%109 = tail call i32 @_mm_load_pd(double* %107)
%110 = tail call i32 @_mm_shuffle_pd(i32 %109, i32 %109, i32 1)
%111 = getelementptr inbounds double, double* %107, i64 2
%112 = tail call i32 @_mm_load_pd(double* %111)
%113 = tail call i32 @_mm_shuffle_pd(i32 %112, i32 %112, i32 1)
%114 = tail call i32 @_mm_mul_pd(i32 %108, i32 %109)
%115 = tail call i32 @_mm_add_pd(i32 %104, i32 %114)
%116 = tail call i32 @_mm_mul_pd(i32 %108, i32 %110)
%117 = tail call i32 @_mm_add_pd(i32 %103, i32 %116)
%118 = tail call i32 @_mm_mul_pd(i32 %108, i32 %112)
%119 = tail call i32 @_mm_add_pd(i32 %102, i32 %118)
%120 = tail call i32 @_mm_mul_pd(i32 %108, i32 %113)
%121 = tail call i32 @_mm_add_pd(i32 %101, i32 %120)
%122 = getelementptr inbounds double, double* %106, i64 4
%123 = getelementptr inbounds double, double* %107, i64 4
%124 = add i32 %105, 1
%125 = icmp eq i32 %124, %2
br i1 %125, label %126, label %100
126: ; preds = %100, %17
%127 = phi i32 [ %21, %17 ], [ %115, %100 ]
%128 = phi i32 [ %22, %17 ], [ %117, %100 ]
%129 = phi i32 [ %23, %17 ], [ %119, %100 ]
%130 = phi i32 [ %24, %17 ], [ %121, %100 ]
%131 = icmp eq i32 %7, 0
br i1 %131, label %132, label %144
132: ; preds = %126
%133 = icmp eq i32 %9, 0
br i1 %133, label %134, label %139
134: ; preds = %132
%135 = tail call i32 @_mm_shuffle_pd(i32 %127, i32 %128, i32 2)
%136 = tail call i32 @_mm_shuffle_pd(i32 %128, i32 %127, i32 2)
%137 = tail call i32 @_mm_shuffle_pd(i32 %129, i32 %130, i32 2)
%138 = tail call i32 @_mm_shuffle_pd(i32 %130, i32 %129, i32 2)
br label %214
139: ; preds = %132
%140 = tail call i32 @_mm_unpacklo_pd(i32 %127, i32 %128)
%141 = tail call i32 @_mm_unpackhi_pd(i32 %128, i32 %127)
%142 = tail call i32 @_mm_unpacklo_pd(i32 %129, i32 %130)
%143 = tail call i32 @_mm_unpackhi_pd(i32 %130, i32 %129)
br label %240
144: ; preds = %126
%145 = icmp eq i32 %8, 0
br i1 %145, label %146, label %180
146: ; preds = %144
%147 = tail call i32 @_mm_shuffle_pd(i32 %127, i32 %128, i32 2)
%148 = tail call i32 @_mm_shuffle_pd(i32 %128, i32 %127, i32 2)
%149 = tail call i32 @_mm_shuffle_pd(i32 %129, i32 %130, i32 2)
%150 = tail call i32 @_mm_shuffle_pd(i32 %130, i32 %129, i32 2)
%151 = tail call i32 @_mm_load_pd(double* %5)
%152 = getelementptr inbounds double, double* %5, i64 4
%153 = tail call i32 @_mm_load_pd(double* %152)
%154 = getelementptr inbounds double, double* %5, i64 8
%155 = tail call i32 @_mm_load_pd(double* %154)
%156 = getelementptr inbounds double, double* %5, i64 12
%157 = tail call i32 @_mm_load_pd(double* %156)
%158 = icmp eq i32 %7, 1
br i1 %158, label %159, label %164
159: ; preds = %146
%160 = tail call i32 @_mm_add_pd(i32 %151, i32 %147)
%161 = tail call i32 @_mm_add_pd(i32 %153, i32 %148)
%162 = tail call i32 @_mm_add_pd(i32 %155, i32 %149)
%163 = tail call i32 @_mm_add_pd(i32 %157, i32 %150)
br label %169
164: ; preds = %146
%165 = tail call i32 @_mm_sub_pd(i32 %151, i32 %147)
%166 = tail call i32 @_mm_sub_pd(i32 %153, i32 %148)
%167 = tail call i32 @_mm_sub_pd(i32 %155, i32 %149)
%168 = tail call i32 @_mm_sub_pd(i32 %157, i32 %150)
br label %169
169: ; preds = %164, %159
%170 = phi i32 [ %160, %159 ], [ %165, %164 ]
%171 = phi i32 [ %161, %159 ], [ %166, %164 ]
%172 = phi i32 [ %162, %159 ], [ %167, %164 ]
%173 = phi i32 [ %163, %159 ], [ %168, %164 ]
%174 = icmp eq i32 %9, 0
br i1 %174, label %214, label %175
175: ; preds = %169
%176 = tail call i32 @_mm_unpacklo_pd(i32 %170, i32 %171)
%177 = tail call i32 @_mm_unpackhi_pd(i32 %170, i32 %171)
%178 = tail call i32 @_mm_unpacklo_pd(i32 %172, i32 %173)
%179 = tail call i32 @_mm_unpackhi_pd(i32 %172, i32 %173)
br label %240
180: ; preds = %144
%181 = tail call i32 @_mm_unpacklo_pd(i32 %127, i32 %128)
%182 = tail call i32 @_mm_unpackhi_pd(i32 %128, i32 %127)
%183 = tail call i32 @_mm_unpacklo_pd(i32 %129, i32 %130)
%184 = tail call i32 @_mm_unpackhi_pd(i32 %130, i32 %129)
%185 = tail call i32 @_mm_load_pd(double* %5)
%186 = getelementptr inbounds double, double* %5, i64 4
%187 = tail call i32 @_mm_load_pd(double* %186)
%188 = getelementptr inbounds double, double* %5, i64 2
%189 = tail call i32 @_mm_load_pd(double* %188)
%190 = getelementptr inbounds double, double* %5, i64 6
%191 = tail call i32 @_mm_load_pd(double* %190)
%192 = icmp eq i32 %7, 1
br i1 %192, label %193, label %198
193: ; preds = %180
%194 = tail call i32 @_mm_add_pd(i32 %185, i32 %181)
%195 = tail call i32 @_mm_add_pd(i32 %187, i32 %182)
%196 = tail call i32 @_mm_add_pd(i32 %189, i32 %183)
%197 = tail call i32 @_mm_add_pd(i32 %191, i32 %184)
br label %203
198: ; preds = %180
%199 = tail call i32 @_mm_sub_pd(i32 %185, i32 %181)
%200 = tail call i32 @_mm_sub_pd(i32 %187, i32 %182)
%201 = tail call i32 @_mm_sub_pd(i32 %189, i32 %183)
%202 = tail call i32 @_mm_sub_pd(i32 %191, i32 %184)
br label %203
203: ; preds = %198, %193
%204 = phi i32 [ %194, %193 ], [ %199, %198 ]
%205 = phi i32 [ %195, %193 ], [ %200, %198 ]
%206 = phi i32 [ %196, %193 ], [ %201, %198 ]
%207 = phi i32 [ %197, %193 ], [ %202, %198 ]
%208 = icmp eq i32 %9, 0
br i1 %208, label %209, label %240
209: ; preds = %203
%210 = tail call i32 @_mm_unpacklo_pd(i32 %204, i32 %205)
%211 = tail call i32 @_mm_unpackhi_pd(i32 %204, i32 %205)
%212 = tail call i32 @_mm_unpacklo_pd(i32 %206, i32 %207)
%213 = tail call i32 @_mm_unpackhi_pd(i32 %206, i32 %207)
br label %214
214: ; preds = %169, %209, %134
%215 = phi i32 [ %135, %134 ], [ %170, %169 ], [ %210, %209 ]
%216 = phi i32 [ %136, %134 ], [ %171, %169 ], [ %211, %209 ]
%217 = phi i32 [ %137, %134 ], [ %172, %169 ], [ %212, %209 ]
%218 = phi i32 [ %138, %134 ], [ %173, %169 ], [ %213, %209 ]
%219 = icmp sgt i32 %0, 1
br i1 %219, label %220, label %230
220: ; preds = %214
%221 = tail call i32 @_mm_store_pd(double* %6, i32 %215)
%222 = getelementptr inbounds double, double* %6, i64 4
%223 = tail call i32 @_mm_store_pd(double* %222, i32 %216)
%224 = getelementptr inbounds double, double* %6, i64 8
%225 = tail call i32 @_mm_store_pd(double* %224, i32 %217)
%226 = icmp sgt i32 %1, 3
br i1 %226, label %227, label %264
227: ; preds = %220
%228 = getelementptr inbounds double, double* %6, i64 12
%229 = tail call i32 @_mm_store_pd(double* %228, i32 %218)
br label %264
230: ; preds = %214
%231 = tail call i32 @_mm_store_sd(double* %6, i32 %215)
%232 = getelementptr inbounds double, double* %6, i64 4
%233 = tail call i32 @_mm_store_sd(double* %232, i32 %216)
%234 = getelementptr inbounds double, double* %6, i64 8
%235 = tail call i32 @_mm_store_sd(double* %234, i32 %217)
%236 = icmp sgt i32 %1, 3
br i1 %236, label %237, label %264
237: ; preds = %230
%238 = getelementptr inbounds double, double* %6, i64 12
%239 = tail call i32 @_mm_store_sd(double* %238, i32 %218)
br label %264
240: ; preds = %203, %175, %139
%241 = phi i32 [ %140, %139 ], [ %176, %175 ], [ %204, %203 ]
%242 = phi i32 [ %141, %139 ], [ %177, %175 ], [ %205, %203 ]
%243 = phi i32 [ %142, %139 ], [ %178, %175 ], [ %206, %203 ]
%244 = phi i32 [ %143, %139 ], [ %179, %175 ], [ %207, %203 ]
%245 = icmp sgt i32 %1, 3
%246 = tail call i32 @_mm_store_pd(double* %6, i32 %241)
%247 = getelementptr inbounds double, double* %6, i64 2
br i1 %245, label %248, label %256
248: ; preds = %240
%249 = tail call i32 @_mm_store_pd(double* %247, i32 %243)
%250 = icmp sgt i32 %0, 1
br i1 %250, label %251, label %264
251: ; preds = %248
%252 = getelementptr inbounds double, double* %6, i64 4
%253 = tail call i32 @_mm_store_pd(double* %252, i32 %242)
%254 = getelementptr inbounds double, double* %6, i64 6
%255 = tail call i32 @_mm_store_pd(double* %254, i32 %244)
br label %264
256: ; preds = %240
%257 = tail call i32 @_mm_store_sd(double* %247, i32 %243)
%258 = icmp sgt i32 %0, 1
br i1 %258, label %259, label %264
259: ; preds = %256
%260 = getelementptr inbounds double, double* %6, i64 4
%261 = tail call i32 @_mm_store_pd(double* %260, i32 %242)
%262 = getelementptr inbounds double, double* %6, i64 6
%263 = tail call i32 @_mm_store_sd(double* %262, i32 %244)
br label %264
264: ; preds = %251, %248, %259, %256, %227, %220, %237, %230
ret void
}