#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_load_sd(double *);
int /*<<< orphan*/ _mm_loadu_pd(double *);
int /*<<< orphan*/ _mm_store_sd(double *, int /*<<< orphan*/);
int /*<<< orphan*/ _mm_storeu_pd(double *, int /*<<< orphan*/);
void kernel_dgecp_3_3_lib4(int tri, int kmax, double *A0, int sda, double *B) {
  if (tri == 1) {
    kmax += 1;
  }
  if (kmax <= 0)
    return;
  const int bs = 4;
  double *A1 = A0 + bs * sda;
  __m128d a_0, a_1;
  int k;
  for (k = 0; k < kmax - 3; k += 4) {
    a_0 = _mm_load_sd(&A0[3 + bs * 0]);
    _mm_store_sd(&B[0 + bs * 0], a_0);
    a_1 = _mm_loadu_pd(&A1[0 + bs * 0]);
    _mm_storeu_pd(&B[1 + bs * 0], a_1);
    a_0 = _mm_load_sd(&A0[3 + bs * 1]);
    _mm_store_sd(&B[0 + bs * 1], a_0);
    a_1 = _mm_loadu_pd(&A1[0 + bs * 1]);
    _mm_storeu_pd(&B[1 + bs * 1], a_1);
    a_0 = _mm_load_sd(&A0[3 + bs * 2]);
    _mm_store_sd(&B[0 + bs * 2], a_0);
    a_1 = _mm_loadu_pd(&A1[0 + bs * 2]);
    _mm_storeu_pd(&B[1 + bs * 2], a_1);
    a_0 = _mm_load_sd(&A0[3 + bs * 3]);
    _mm_store_sd(&B[0 + bs * 3], a_0);
    a_1 = _mm_loadu_pd(&A1[0 + bs * 3]);
    _mm_storeu_pd(&B[1 + bs * 3], a_1);
    A0 += 16;
    A1 += 16;
    B += 16;
  }
  for (; k < kmax; k++) {
    a_0 = _mm_load_sd(&A0[3 + bs * 0]);
    _mm_store_sd(&B[0 + bs * 0], a_0);
    a_1 = _mm_loadu_pd(&A1[0 + bs * 0]);
    _mm_storeu_pd(&B[1 + bs * 0], a_1);
    A0 += 4;
    A1 += 4;
    B += 4;
  }
  if (tri == 1) {
    a_0 = _mm_loadu_pd(&A1[0 + bs * 0]);
    _mm_storeu_pd(&B[1 + bs * 0], a_0);
    a_0 = _mm_load_sd(&A1[1 + bs * 1]);
    _mm_store_sd(&B[2 + bs * 1], a_0);
  }
}


x86 assembly (clang, -O0):
<kernel_dgecp_3_3_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8,-0x20(%rbp)
cmpl   $0x1,-0x4(%rbp)
jne    116c <kernel_dgecp_3_3_lib4+0x2c>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jg     117b <kernel_dgecp_3_3_lib4+0x3b>
jmp    13a3 <kernel_dgecp_3_3_lib4+0x263>
movl   $0x4,-0x24(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
shl    $0x2,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
mov    -0x8(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    12e2 <kernel_dgecp_3_3_lib4+0x1a2>
mov    -0x10(%rbp),%rdi
add    $0x18,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x34(%rbp),%esi
call   1060 <_mm_store_sd@plt>
mov    -0x30(%rbp),%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x38(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x8,%rdi
mov    -0x38(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x10(%rbp),%rdi
add    $0x38,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x20,%rdi
mov    -0x34(%rbp),%esi
call   1060 <_mm_store_sd@plt>
mov    -0x30(%rbp),%rdi
add    $0x20,%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x38(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x28,%rdi
mov    -0x38(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x10(%rbp),%rdi
add    $0x58,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x40,%rdi
mov    -0x34(%rbp),%esi
call   1060 <_mm_store_sd@plt>
mov    -0x30(%rbp),%rdi
add    $0x40,%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x38(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x48,%rdi
mov    -0x38(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x10(%rbp),%rdi
add    $0x78,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x60,%rdi
mov    -0x34(%rbp),%esi
call   1060 <_mm_store_sd@plt>
mov    -0x30(%rbp),%rdi
add    $0x60,%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x38(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x68,%rdi
mov    -0x38(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x10(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x10(%rbp)
mov    -0x30(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x20(%rbp)
mov    -0x3c(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x3c(%rbp)
jmp    11a1 <kernel_dgecp_3_3_lib4+0x61>
jmp    12e7 <kernel_dgecp_3_3_lib4+0x1a7>
mov    -0x3c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    135d <kernel_dgecp_3_3_lib4+0x21d>
mov    -0x10(%rbp),%rdi
add    $0x18,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x34(%rbp),%esi
call   1060 <_mm_store_sd@plt>
mov    -0x30(%rbp),%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x38(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x8,%rdi
mov    -0x38(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x10(%rbp)
mov    -0x30(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x20(%rbp)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    12e7 <kernel_dgecp_3_3_lib4+0x1a7>
cmpl   $0x1,-0x4(%rbp)
jne    13a3 <kernel_dgecp_3_3_lib4+0x263>
mov    -0x30(%rbp),%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x8,%rdi
mov    -0x34(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x30(%rbp),%rdi
add    $0x28,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x34(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x30,%rdi
mov    -0x34(%rbp),%esi
call   1060 <_mm_store_sd@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dgecp_3_3_lib4>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
xor    %ebp,%ebp
cmp    $0x1,%edi
sete   %bpl
add    %esi,%ebp
test   %ebp,%ebp
jle    1337 <kernel_dgecp_3_3_lib4+0x1f7>
mov    %r8,%rbx
mov    %rdx,%r12
mov    %edi,%r15d
shl    $0x2,%ecx
movslq %ecx,%rax
lea    (%rdx,%rax,8),%r14
xor    %eax,%eax
cmp    $0x4,%ebp
jb     12aa <kernel_dgecp_3_3_lib4+0x16a>
mov    %r15d,0x4(%rsp)
mov    %rbp,0x10(%rsp)
lea    -0x3(%rbp),%eax
mov    %eax,0x8(%rsp)
xor    %r15d,%r15d
xor    %eax,%eax
cs nopw 0x0(%rax,%rax,1)
nop
mov    %eax,0xc(%rsp)
lea    (%r14,%r15,1),%r13
lea    (%rbx,%r15,1),%rbp
lea    (%r12,%r15,1),%rdi
add    $0x18,%rdi
call   1030 <_mm_load_sd@plt>
mov    %rbp,%rdi
mov    %eax,%esi
call   1060 <_mm_store_sd@plt>
mov    %r13,%rdi
call   1050 <_mm_loadu_pd@plt>
lea    (%rbx,%r15,1),%rdi
add    $0x8,%rdi
mov    %eax,%esi
call   1040 <_mm_storeu_pd@plt>
lea    (%r12,%r15,1),%rdi
add    $0x38,%rdi
call   1030 <_mm_load_sd@plt>
lea    (%rbx,%r15,1),%rdi
add    $0x20,%rdi
mov    %eax,%esi
call   1060 <_mm_store_sd@plt>
lea    (%r14,%r15,1),%rdi
add    $0x20,%rdi
call   1050 <_mm_loadu_pd@plt>
lea    (%rbx,%r15,1),%rdi
add    $0x28,%rdi
mov    %eax,%esi
call   1040 <_mm_storeu_pd@plt>
lea    (%r12,%r15,1),%rdi
add    $0x58,%rdi
call   1030 <_mm_load_sd@plt>
lea    (%rbx,%r15,1),%rdi
add    $0x40,%rdi
mov    %eax,%esi
call   1060 <_mm_store_sd@plt>
lea    (%r14,%r15,1),%rdi
add    $0x40,%rdi
call   1050 <_mm_loadu_pd@plt>
lea    (%rbx,%r15,1),%rdi
add    $0x48,%rdi
mov    %eax,%esi
call   1040 <_mm_storeu_pd@plt>
lea    (%r12,%r15,1),%rdi
add    $0x78,%rdi
call   1030 <_mm_load_sd@plt>
lea    (%rbx,%r15,1),%rdi
add    $0x60,%rdi
mov    %eax,%esi
call   1060 <_mm_store_sd@plt>
lea    (%r14,%r15,1),%rdi
add    $0x60,%rdi
call   1050 <_mm_loadu_pd@plt>
lea    (%rbx,%r15,1),%rdi
add    $0x68,%rdi
mov    %eax,%esi
call   1040 <_mm_storeu_pd@plt>
mov    0xc(%rsp),%eax
add    $0x4,%eax
sub    $0xffffffffffffff80,%r15
cmp    0x8(%rsp),%eax
jl     11a0 <kernel_dgecp_3_3_lib4+0x60>
add    %r15,%r14
add    %r15,%rbx
add    %r15,%r12
mov    0x4(%rsp),%r15d
mov    0x10(%rsp),%rbp
cmp    %ebp,%eax
jge    12f6 <kernel_dgecp_3_3_lib4+0x1b6>
sub    %eax,%ebp
add    $0x18,%r12
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r12,%rdi
call   1030 <_mm_load_sd@plt>
mov    %rbx,%rdi
mov    %eax,%esi
call   1060 <_mm_store_sd@plt>
mov    %r14,%rdi
call   1050 <_mm_loadu_pd@plt>
lea    0x8(%rbx),%rdi
mov    %eax,%esi
call   1040 <_mm_storeu_pd@plt>
add    $0x20,%r14
add    $0x20,%rbx
add    $0x20,%r12
add    $0xffffffff,%ebp
jne    12c0 <kernel_dgecp_3_3_lib4+0x180>
cmp    $0x1,%r15d
jne    1337 <kernel_dgecp_3_3_lib4+0x1f7>
mov    %r14,%rdi
call   1050 <_mm_loadu_pd@plt>
lea    0x8(%rbx),%rdi
mov    %eax,%esi
call   1040 <_mm_storeu_pd@plt>
add    $0x28,%r14
mov    %r14,%rdi
call   1030 <_mm_load_sd@plt>
add    $0x30,%rbx
mov    %rbx,%rdi
mov    %eax,%esi
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <_mm_store_sd@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @kernel_dgecp_3_3_lib4(i32 %0, i32 %1, double* %2, i32 %3, double* %4) {
%6 = alloca i32
%7 = alloca i32
%8 = alloca double*
%9 = alloca i32
%10 = alloca double*
%11 = alloca i32
%12 = alloca double*
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
store i32 %0, i32* %6
store i32 %1, i32* %7
store double* %2, double** %8
store i32 %3, i32* %9
store double* %4, double** %10
%16 = load i32, i32* %6
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %21
18: ; preds = %5
%19 = load i32, i32* %7
%20 = add nsw i32 %19, 1
store i32 %20, i32* %7
br label %21
21: ; preds = %18, %5
%22 = load i32, i32* %7
%23 = icmp sle i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21
br label %149
25: ; preds = %21
store i32 4, i32* %11
%26 = load double*, double** %8
%27 = load i32, i32* %9
%28 = mul nsw i32 4, %27
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, double* %26, i64 %29
store double* %30, double** %12
store i32 0, i32* %15
br label %31
31: ; preds = %99, %25
%32 = load i32, i32* %15
%33 = load i32, i32* %7
%34 = sub nsw i32 %33, 3
%35 = icmp slt i32 %32, %34
br i1 %35, label %36, label %102
36: ; preds = %31
%37 = load double*, double** %8
%38 = getelementptr inbounds double, double* %37, i64 3
%39 = call i32 @_mm_load_sd(double* %38)
store i32 %39, i32* %13
%40 = load double*, double** %10
%41 = getelementptr inbounds double, double* %40, i64 0
%42 = load i32, i32* %13
%43 = call i32 @_mm_store_sd(double* %41, i32 %42)
%44 = load double*, double** %12
%45 = getelementptr inbounds double, double* %44, i64 0
%46 = call i32 @_mm_loadu_pd(double* %45)
store i32 %46, i32* %14
%47 = load double*, double** %10
%48 = getelementptr inbounds double, double* %47, i64 1
%49 = load i32, i32* %14
%50 = call i32 @_mm_storeu_pd(double* %48, i32 %49)
%51 = load double*, double** %8
%52 = getelementptr inbounds double, double* %51, i64 7
%53 = call i32 @_mm_load_sd(double* %52)
store i32 %53, i32* %13
%54 = load double*, double** %10
%55 = getelementptr inbounds double, double* %54, i64 4
%56 = load i32, i32* %13
%57 = call i32 @_mm_store_sd(double* %55, i32 %56)
%58 = load double*, double** %12
%59 = getelementptr inbounds double, double* %58, i64 4
%60 = call i32 @_mm_loadu_pd(double* %59)
store i32 %60, i32* %14
%61 = load double*, double** %10
%62 = getelementptr inbounds double, double* %61, i64 5
%63 = load i32, i32* %14
%64 = call i32 @_mm_storeu_pd(double* %62, i32 %63)
%65 = load double*, double** %8
%66 = getelementptr inbounds double, double* %65, i64 11
%67 = call i32 @_mm_load_sd(double* %66)
store i32 %67, i32* %13
%68 = load double*, double** %10
%69 = getelementptr inbounds double, double* %68, i64 8
%70 = load i32, i32* %13
%71 = call i32 @_mm_store_sd(double* %69, i32 %70)
%72 = load double*, double** %12
%73 = getelementptr inbounds double, double* %72, i64 8
%74 = call i32 @_mm_loadu_pd(double* %73)
store i32 %74, i32* %14
%75 = load double*, double** %10
%76 = getelementptr inbounds double, double* %75, i64 9
%77 = load i32, i32* %14
%78 = call i32 @_mm_storeu_pd(double* %76, i32 %77)
%79 = load double*, double** %8
%80 = getelementptr inbounds double, double* %79, i64 15
%81 = call i32 @_mm_load_sd(double* %80)
store i32 %81, i32* %13
%82 = load double*, double** %10
%83 = getelementptr inbounds double, double* %82, i64 12
%84 = load i32, i32* %13
%85 = call i32 @_mm_store_sd(double* %83, i32 %84)
%86 = load double*, double** %12
%87 = getelementptr inbounds double, double* %86, i64 12
%88 = call i32 @_mm_loadu_pd(double* %87)
store i32 %88, i32* %14
%89 = load double*, double** %10
%90 = getelementptr inbounds double, double* %89, i64 13
%91 = load i32, i32* %14
%92 = call i32 @_mm_storeu_pd(double* %90, i32 %91)
%93 = load double*, double** %8
%94 = getelementptr inbounds double, double* %93, i64 16
store double* %94, double** %8
%95 = load double*, double** %12
%96 = getelementptr inbounds double, double* %95, i64 16
store double* %96, double** %12
%97 = load double*, double** %10
%98 = getelementptr inbounds double, double* %97, i64 16
store double* %98, double** %10
br label %99
99: ; preds = %36
%100 = load i32, i32* %15
%101 = add nsw i32 %100, 4
store i32 %101, i32* %15
br label %31
102: ; preds = %31
br label %103
103: ; preds = %128, %102
%104 = load i32, i32* %15
%105 = load i32, i32* %7
%106 = icmp slt i32 %104, %105
br i1 %106, label %107, label %131
107: ; preds = %103
%108 = load double*, double** %8
%109 = getelementptr inbounds double, double* %108, i64 3
%110 = call i32 @_mm_load_sd(double* %109)
store i32 %110, i32* %13
%111 = load double*, double** %10
%112 = getelementptr inbounds double, double* %111, i64 0
%113 = load i32, i32* %13
%114 = call i32 @_mm_store_sd(double* %112, i32 %113)
%115 = load double*, double** %12
%116 = getelementptr inbounds double, double* %115, i64 0
%117 = call i32 @_mm_loadu_pd(double* %116)
store i32 %117, i32* %14
%118 = load double*, double** %10
%119 = getelementptr inbounds double, double* %118, i64 1
%120 = load i32, i32* %14
%121 = call i32 @_mm_storeu_pd(double* %119, i32 %120)
%122 = load double*, double** %8
%123 = getelementptr inbounds double, double* %122, i64 4
store double* %123, double** %8
%124 = load double*, double** %12
%125 = getelementptr inbounds double, double* %124, i64 4
store double* %125, double** %12
%126 = load double*, double** %10
%127 = getelementptr inbounds double, double* %126, i64 4
store double* %127, double** %10
br label %128
128: ; preds = %107
%129 = load i32, i32* %15
%130 = add nsw i32 %129, 1
store i32 %130, i32* %15
br label %103
131: ; preds = %103
%132 = load i32, i32* %6
%133 = icmp eq i32 %132, 1
br i1 %133, label %134, label %149
134: ; preds = %131
%135 = load double*, double** %12
%136 = getelementptr inbounds double, double* %135, i64 0
%137 = call i32 @_mm_loadu_pd(double* %136)
store i32 %137, i32* %13
%138 = load double*, double** %10
%139 = getelementptr inbounds double, double* %138, i64 1
%140 = load i32, i32* %13
%141 = call i32 @_mm_storeu_pd(double* %139, i32 %140)
%142 = load double*, double** %12
%143 = getelementptr inbounds double, double* %142, i64 5
%144 = call i32 @_mm_load_sd(double* %143)
store i32 %144, i32* %13
%145 = load double*, double** %10
%146 = getelementptr inbounds double, double* %145, i64 6
%147 = load i32, i32* %13
%148 = call i32 @_mm_store_sd(double* %146, i32 %147)
br label %149
149: ; preds = %24, %134, %131
ret void
}

LLVM IR (-O2):
define void @kernel_dgecp_3_3_lib4(i32 %0, i32 %1, double* %2, i32 %3, double* %4) {
%6 = icmp eq i32 %0, 1
%7 = zext i1 %6 to i32
%8 = add i32 %7, %1
%9 = icmp slt i32 %8, 1
br i1 %9, label %89, label %10
10: ; preds = %5
%11 = shl nsw i32 %3, 2
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds double, double* %2, i64 %12
%14 = add nsw i32 %8, -3
%15 = icmp ugt i32 %8, 3
br i1 %15, label %22, label %16
16: ; preds = %22, %10
%17 = phi double* [ %2, %10 ], [ %57, %22 ]
%18 = phi double* [ %4, %10 ], [ %59, %22 ]
%19 = phi double* [ %13, %10 ], [ %58, %22 ]
%20 = phi i32 [ 0, %10 ], [ %60, %22 ]
%21 = icmp slt i32 %20, %8
br i1 %21, label %62, label %78
22: ; preds = %10, %22
%23 = phi i32 [ %60, %22 ], [ 0, %10 ]
%24 = phi double* [ %58, %22 ], [ %13, %10 ]
%25 = phi double* [ %59, %22 ], [ %4, %10 ]
%26 = phi double* [ %57, %22 ], [ %2, %10 ]
%27 = getelementptr inbounds double, double* %26, i64 3
%28 = tail call i32 @_mm_load_sd(double* %27)
%29 = tail call i32 @_mm_store_sd(double* %25, i32 %28)
%30 = tail call i32 @_mm_loadu_pd(double* %24)
%31 = getelementptr inbounds double, double* %25, i64 1
%32 = tail call i32 @_mm_storeu_pd(double* %31, i32 %30)
%33 = getelementptr inbounds double, double* %26, i64 7
%34 = tail call i32 @_mm_load_sd(double* %33)
%35 = getelementptr inbounds double, double* %25, i64 4
%36 = tail call i32 @_mm_store_sd(double* %35, i32 %34)
%37 = getelementptr inbounds double, double* %24, i64 4
%38 = tail call i32 @_mm_loadu_pd(double* %37)
%39 = getelementptr inbounds double, double* %25, i64 5
%40 = tail call i32 @_mm_storeu_pd(double* %39, i32 %38)
%41 = getelementptr inbounds double, double* %26, i64 11
%42 = tail call i32 @_mm_load_sd(double* %41)
%43 = getelementptr inbounds double, double* %25, i64 8
%44 = tail call i32 @_mm_store_sd(double* %43, i32 %42)
%45 = getelementptr inbounds double, double* %24, i64 8
%46 = tail call i32 @_mm_loadu_pd(double* %45)
%47 = getelementptr inbounds double, double* %25, i64 9
%48 = tail call i32 @_mm_storeu_pd(double* %47, i32 %46)
%49 = getelementptr inbounds double, double* %26, i64 15
%50 = tail call i32 @_mm_load_sd(double* %49)
%51 = getelementptr inbounds double, double* %25, i64 12
%52 = tail call i32 @_mm_store_sd(double* %51, i32 %50)
%53 = getelementptr inbounds double, double* %24, i64 12
%54 = tail call i32 @_mm_loadu_pd(double* %53)
%55 = getelementptr inbounds double, double* %25, i64 13
%56 = tail call i32 @_mm_storeu_pd(double* %55, i32 %54)
%57 = getelementptr inbounds double, double* %26, i64 16
%58 = getelementptr inbounds double, double* %24, i64 16
%59 = getelementptr inbounds double, double* %25, i64 16
%60 = add nuw nsw i32 %23, 4
%61 = icmp slt i32 %60, %14
br i1 %61, label %22, label %16
62: ; preds = %16, %62
%63 = phi i32 [ %76, %62 ], [ %20, %16 ]
%64 = phi double* [ %74, %62 ], [ %19, %16 ]
%65 = phi double* [ %75, %62 ], [ %18, %16 ]
%66 = phi double* [ %73, %62 ], [ %17, %16 ]
%67 = getelementptr inbounds double, double* %66, i64 3
%68 = tail call i32 @_mm_load_sd(double* %67)
%69 = tail call i32 @_mm_store_sd(double* %65, i32 %68)
%70 = tail call i32 @_mm_loadu_pd(double* %64)
%71 = getelementptr inbounds double, double* %65, i64 1
%72 = tail call i32 @_mm_storeu_pd(double* %71, i32 %70)
%73 = getelementptr inbounds double, double* %66, i64 4
%74 = getelementptr inbounds double, double* %64, i64 4
%75 = getelementptr inbounds double, double* %65, i64 4
%76 = add i32 %63, 1
%77 = icmp eq i32 %76, %8
br i1 %77, label %78, label %62
78: ; preds = %62, %16
%79 = phi double* [ %18, %16 ], [ %75, %62 ]
%80 = phi double* [ %19, %16 ], [ %74, %62 ]
br i1 %6, label %81, label %89
81: ; preds = %78
%82 = tail call i32 @_mm_loadu_pd(double* %80)
%83 = getelementptr inbounds double, double* %79, i64 1
%84 = tail call i32 @_mm_storeu_pd(double* %83, i32 %82)
%85 = getelementptr inbounds double, double* %80, i64 5
%86 = tail call i32 @_mm_load_sd(double* %85)
%87 = getelementptr inbounds double, double* %79, i64 6
%88 = tail call i32 @_mm_store_sd(double* %87, i32 %86)
br label %89
89: ; preds = %78, %81, %5
ret void
}