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


x86 assembly (clang, -O0):
<kernel_dgecp_3_0_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
cmpl   $0x1,-0x4(%rbp)
jne    1169 <kernel_dgecp_3_0_lib4+0x29>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jg     1178 <kernel_dgecp_3_0_lib4+0x38>
jmp    1372 <kernel_dgecp_3_0_lib4+0x232>
movl   $0x4,-0x1c(%rbp)
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x8(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    12b9 <kernel_dgecp_3_0_lib4+0x179>
mov    -0x10(%rbp),%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x10,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x24(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x18(%rbp),%rdi
add    $0x10,%rdi
mov    -0x24(%rbp),%esi
call   1060 <_mm_store_sd@plt>
mov    -0x10(%rbp),%rdi
add    $0x20,%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x30,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x24(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x20,%rdi
mov    -0x20(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x18(%rbp),%rdi
add    $0x30,%rdi
mov    -0x24(%rbp),%esi
call   1060 <_mm_store_sd@plt>
mov    -0x10(%rbp),%rdi
add    $0x40,%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x50,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x24(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x40,%rdi
mov    -0x20(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x18(%rbp),%rdi
add    $0x50,%rdi
mov    -0x24(%rbp),%esi
call   1060 <_mm_store_sd@plt>
mov    -0x10(%rbp),%rdi
add    $0x60,%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x70,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x24(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x60,%rdi
mov    -0x20(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x18(%rbp),%rdi
add    $0x70,%rdi
mov    -0x24(%rbp),%esi
call   1060 <_mm_store_sd@plt>
mov    -0x10(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x18(%rbp)
mov    -0x28(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x28(%rbp)
jmp    1186 <kernel_dgecp_3_0_lib4+0x46>
jmp    12be <kernel_dgecp_3_0_lib4+0x17e>
mov    -0x28(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1328 <kernel_dgecp_3_0_lib4+0x1e8>
mov    -0x10(%rbp),%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x20(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x10,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x24(%rbp)
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x18(%rbp),%rdi
add    $0x10,%rdi
mov    -0x24(%rbp),%esi
call   1060 <_mm_store_sd@plt>
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x18(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    12be <kernel_dgecp_3_0_lib4+0x17e>
cmpl   $0x1,-0x4(%rbp)
jne    1372 <kernel_dgecp_3_0_lib4+0x232>
mov    -0x10(%rbp),%rdi
add    $0x8,%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,-0x20(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x8,%rdi
mov    -0x20(%rbp),%esi
call   1040 <_mm_storeu_pd@plt>
mov    -0x10(%rbp),%rdi
add    $0x30,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x20(%rbp)
mov    -0x18(%rbp),%rdi
add    $0x30,%rdi
mov    -0x20(%rbp),%esi
call   1060 <_mm_store_sd@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dgecp_3_0_lib4>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
xor    %r13d,%r13d
cmp    $0x1,%edi
sete   %r13b
add    %esi,%r13d
test   %r13d,%r13d
jle    12f6 <kernel_dgecp_3_0_lib4+0x1b6>
mov    %rcx,%r14
mov    %rdx,%rbx
xor    %r15d,%r15d
cmp    $0x4,%r13d
mov    %edi,(%rsp)
jae    11c1 <kernel_dgecp_3_0_lib4+0x81>
cmp    %r13d,%r15d
jl     12a9 <kernel_dgecp_3_0_lib4+0x169>
cmp    $0x1,%edi
jne    12f6 <kernel_dgecp_3_0_lib4+0x1b6>
lea    0x8(%rbx),%rdi
call   1050 <_mm_loadu_pd@plt>
lea    0x8(%r14),%rdi
mov    %eax,%esi
call   1040 <_mm_storeu_pd@plt>
add    $0x30,%rbx
mov    %rbx,%rdi
call   1030 <_mm_load_sd@plt>
add    $0x30,%r14
mov    %r14,%rdi
mov    %eax,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <_mm_store_sd@plt>
lea    -0x3(%r13),%eax
mov    %eax,0x4(%rsp)
xor    %r15d,%r15d
nopl   0x0(%rax)
mov    %rbx,%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,%ebp
lea    0x10(%rbx),%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,%r12d
mov    %r14,%rdi
mov    %ebp,%esi
call   1040 <_mm_storeu_pd@plt>
lea    0x10(%r14),%rdi
mov    %r12d,%esi
call   1060 <_mm_store_sd@plt>
lea    0x20(%rbx),%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,%ebp
lea    0x30(%rbx),%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,%r12d
lea    0x20(%r14),%rdi
mov    %ebp,%esi
call   1040 <_mm_storeu_pd@plt>
lea    0x30(%r14),%rdi
mov    %r12d,%esi
call   1060 <_mm_store_sd@plt>
lea    0x40(%rbx),%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,%ebp
lea    0x50(%rbx),%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,%r12d
lea    0x40(%r14),%rdi
mov    %ebp,%esi
call   1040 <_mm_storeu_pd@plt>
lea    0x50(%r14),%rdi
mov    %r12d,%esi
call   1060 <_mm_store_sd@plt>
lea    0x60(%rbx),%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,%ebp
lea    0x70(%rbx),%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,%r12d
lea    0x60(%r14),%rdi
mov    %ebp,%esi
call   1040 <_mm_storeu_pd@plt>
lea    0x70(%r14),%rdi
mov    %r12d,%esi
call   1060 <_mm_store_sd@plt>
sub    $0xffffffffffffff80,%rbx
sub    $0xffffffffffffff80,%r14
add    $0x4,%r15d
cmp    0x4(%rsp),%r15d
jl     11d0 <kernel_dgecp_3_0_lib4+0x90>
mov    (%rsp),%edi
cmp    %r13d,%r15d
jge    117c <kernel_dgecp_3_0_lib4+0x3c>
sub    %r15d,%r13d
nopl   0x0(%rax)
mov    %rbx,%rdi
call   1050 <_mm_loadu_pd@plt>
mov    %eax,%ebp
lea    0x10(%rbx),%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,%r12d
mov    %r14,%rdi
mov    %ebp,%esi
call   1040 <_mm_storeu_pd@plt>
lea    0x10(%r14),%rdi
mov    %r12d,%esi
call   1060 <_mm_store_sd@plt>
add    $0x20,%rbx
add    $0x20,%r14
add    $0xffffffff,%r13d
jne    12b0 <kernel_dgecp_3_0_lib4+0x170>
mov    (%rsp),%edi
cmp    $0x1,%edi
je     1185 <kernel_dgecp_3_0_lib4+0x45>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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