#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 */

/* Variables and functions */
int /*<<< orphan*/ memcpy(double *, double *, int);
void multMatSafe(const double m1[16], const double m2[16], double matRes[16]) {
  double tmpRes[16];
  for (int i = 0; i < 4; ++i) {
    const int i1 = 0 + i;
    const int i2 = 4 + i;
    const int i3 = 8 + i;
    const int i4 = 12 + i;
    const double m11 = m1[i1];
    const double m12 = m1[i2];
    const double m13 = m1[i3];
    const double m14 = m1[i4];
    tmpRes[i1] = m11 * m2[0] + m12 * m2[1] + m13 * m2[2] + m14 * m2[3];
    tmpRes[i2] = m11 * m2[4] + m12 * m2[5] + m13 * m2[6] + m14 * m2[7];
    tmpRes[i3] = m11 * m2[8] + m12 * m2[9] + m13 * m2[10] + m14 * m2[11];
    tmpRes[i4] = m11 * m2[12] + m12 * m2[13] + m13 * m2[14] + m14 * m2[15];
  }
  memcpy(matRes, tmpRes, 16 * sizeof(double));
}


x86 assembly (clang, -O0):
<multMatSafe>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movl   $0x0,-0xa4(%rbp)
cmpl   $0x4,-0xa4(%rbp)
jge    139d <multMatSafe+0x28d>
mov    -0xa4(%rbp),%eax
add    $0x0,%eax
mov    %eax,-0xa8(%rbp)
mov    -0xa4(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0xac(%rbp)
mov    -0xa4(%rbp),%eax
add    $0x8,%eax
mov    %eax,-0xb0(%rbp)
mov    -0xa4(%rbp),%eax
add    $0xc,%eax
mov    %eax,-0xb4(%rbp)
mov    -0x8(%rbp),%rax
movslq -0xa8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x8(%rbp),%rax
movslq -0xac(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
mov    -0x8(%rbp),%rax
movslq -0xb0(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
mov    -0x8(%rbp),%rax
movslq -0xb4(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0xc8(%rbp),%xmm1
ff
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xd0(%rbp),%xmm1
ff
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xd8(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0xa8(%rbp),%rax
movsd  %xmm0,-0xa0(%rbp,%rax,8)
ff ff
movsd  -0xc0(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm2
movsd  -0xc8(%rbp),%xmm1
ff
mov    -0x10(%rbp),%rax
mulsd  0x28(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xd0(%rbp),%xmm1
ff
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xd8(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0xac(%rbp),%rax
movsd  %xmm0,-0xa0(%rbp,%rax,8)
ff ff
movsd  -0xc0(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
movsd  -0xc8(%rbp),%xmm1
ff
mov    -0x10(%rbp),%rax
mulsd  0x48(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xd0(%rbp),%xmm1
ff
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xd8(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0xb0(%rbp),%rax
movsd  %xmm0,-0xa0(%rbp,%rax,8)
ff ff
movsd  -0xc0(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movsd  0x60(%rax),%xmm2
movsd  -0xc8(%rbp),%xmm1
ff
mov    -0x10(%rbp),%rax
mulsd  0x68(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xd0(%rbp),%xmm1
ff
mov    -0x10(%rbp),%rax
movsd  0x70(%rax),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xd8(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0xb4(%rbp),%rax
movsd  %xmm0,-0xa0(%rbp,%rax,8)
ff ff
mov    -0xa4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa4(%rbp)
jmp    1131 <multMatSafe+0x21>
mov    -0x18(%rbp),%rdi
lea    -0xa0(%rbp),%rsi
mov    $0x80,%edx
call   1030 <memcpy@plt>
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<multMatSafe>:
sub    $0x108,%rsp
movupd (%rdi),%xmm4
movupd 0x20(%rdi),%xmm12
movupd 0x40(%rdi),%xmm5
movupd 0x60(%rdi),%xmm6
movsd  (%rsi),%xmm10
movsd  0x8(%rsi),%xmm0
movsd  0x10(%rsi),%xmm14
movsd  0x18(%rsi),%xmm15
unpcklpd %xmm0,%xmm0
movapd %xmm0,0x70(%rsp)
movapd %xmm12,%xmm2
mulpd  %xmm0,%xmm2
unpcklpd %xmm10,%xmm10
movapd %xmm4,%xmm3
mulpd  %xmm10,%xmm3
addpd  %xmm2,%xmm3
unpcklpd %xmm14,%xmm14
movapd %xmm5,%xmm2
mulpd  %xmm14,%xmm2
addpd  %xmm3,%xmm2
unpcklpd %xmm15,%xmm15
movapd %xmm6,%xmm1
mulpd  %xmm15,%xmm1
addpd  %xmm2,%xmm1
movsd  0x28(%rsi),%xmm0
movsd  0x20(%rsi),%xmm2
movsd  0x30(%rsi),%xmm3
movsd  0x38(%rsi),%xmm8
movsd  0x48(%rsi),%xmm7
movaps %xmm7,0x20(%rsp)
movsd  0x40(%rsi),%xmm9
movsd  0x50(%rsi),%xmm7
movaps %xmm7,(%rsp)
movsd  0x58(%rsi),%xmm11
movsd  0x68(%rsi),%xmm7
movaps %xmm7,0x10(%rsp)
movsd  0x60(%rsi),%xmm7
movaps %xmm7,0x30(%rsp)
movsd  0x70(%rsi),%xmm7
movaps %xmm7,0x40(%rsp)
movsd  0x78(%rsi),%xmm13
movaps %xmm13,0x50(%rsp)
movapd %xmm1,0x80(%rsp)
unpcklpd %xmm0,%xmm0
movapd %xmm0,0x60(%rsp)
movapd %xmm12,%xmm1
mulpd  %xmm0,%xmm1
unpcklpd %xmm2,%xmm2
movapd %xmm4,%xmm0
mulpd  %xmm2,%xmm0
addpd  %xmm1,%xmm0
unpcklpd %xmm3,%xmm3
movapd %xmm5,%xmm1
mulpd  %xmm3,%xmm1
addpd  %xmm0,%xmm1
unpcklpd %xmm8,%xmm8
movapd %xmm6,%xmm0
mulpd  %xmm8,%xmm0
addpd  %xmm1,%xmm0
movapd %xmm0,0xa0(%rsp)
movapd 0x20(%rsp),%xmm1
unpcklpd %xmm1,%xmm1
movapd %xmm1,0x20(%rsp)
movapd %xmm12,%xmm0
mulpd  %xmm1,%xmm0
unpcklpd %xmm9,%xmm9
movapd %xmm4,%xmm1
mulpd  %xmm9,%xmm1
addpd  %xmm0,%xmm1
movapd (%rsp),%xmm7
unpcklpd %xmm7,%xmm7
movapd %xmm7,(%rsp)
movapd %xmm5,%xmm0
mulpd  %xmm7,%xmm0
addpd  %xmm1,%xmm0
unpcklpd %xmm11,%xmm11
movapd %xmm6,%xmm1
mulpd  %xmm11,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0xc0(%rsp)
movapd 0x10(%rsp),%xmm0
unpcklpd %xmm0,%xmm0
movapd %xmm0,0x10(%rsp)
mulpd  %xmm0,%xmm12
movapd 0x30(%rsp),%xmm13
unpcklpd %xmm13,%xmm13
mulpd  %xmm13,%xmm4
addpd  %xmm12,%xmm4
movapd 0x40(%rsp),%xmm12
unpcklpd %xmm12,%xmm12
mulpd  %xmm12,%xmm5
addpd  %xmm4,%xmm5
movapd 0x50(%rsp),%xmm4
unpcklpd %xmm4,%xmm4
mulpd  %xmm4,%xmm6
addpd  %xmm5,%xmm6
movapd %xmm6,0xe0(%rsp)
movupd 0x30(%rdi),%xmm0
movapd 0x70(%rsp),%xmm5
mulpd  %xmm0,%xmm5
movupd 0x10(%rdi),%xmm1
mulpd  %xmm1,%xmm10
addpd  %xmm5,%xmm10
movupd 0x50(%rdi),%xmm5
mulpd  %xmm5,%xmm14
addpd  %xmm10,%xmm14
movupd 0x70(%rdi),%xmm7
mulpd  %xmm7,%xmm15
addpd  %xmm14,%xmm15
movapd %xmm15,0x90(%rsp)
movapd 0x60(%rsp),%xmm6
mulpd  %xmm0,%xmm6
mulpd  %xmm1,%xmm2
addpd  %xmm6,%xmm2
mulpd  %xmm5,%xmm3
addpd  %xmm2,%xmm3
mulpd  %xmm7,%xmm8
addpd  %xmm3,%xmm8
movapd %xmm8,0xb0(%rsp)
movapd 0x20(%rsp),%xmm2
mulpd  %xmm0,%xmm2
mulpd  %xmm1,%xmm9
addpd  %xmm2,%xmm9
movapd (%rsp),%xmm2
mulpd  %xmm5,%xmm2
addpd  %xmm9,%xmm2
mulpd  %xmm7,%xmm11
addpd  %xmm2,%xmm11
movapd %xmm11,0xd0(%rsp)
movapd 0x10(%rsp),%xmm2
mulpd  %xmm0,%xmm2
movapd %xmm13,%xmm0
mulpd  %xmm1,%xmm0
addpd  %xmm2,%xmm0
movapd %xmm0,%xmm1
movapd %xmm12,%xmm0
mulpd  %xmm5,%xmm0
addpd  %xmm1,%xmm0
movapd %xmm4,%xmm1
mulpd  %xmm7,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0xf0(%rsp)
lea    0x80(%rsp),%rsi
mov    %rdx,%rdi
mov    $0x80,%edx
call   1030 <memcpy@plt>
add    $0x108,%rsp
ret

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

LLVM IR (-O2):
define void @multMatSafe(double* nocapture %0, double* nocapture %1, double* %2) {
%4 = alloca [16 x double]
%5 = bitcast [16 x double]* %4 to i8*
%6 = load double, double* %1
%7 = getelementptr inbounds double, double* %1, i64 1
%8 = load double, double* %7
%9 = getelementptr inbounds double, double* %1, i64 2
%10 = load double, double* %9
%11 = getelementptr inbounds double, double* %1, i64 3
%12 = load double, double* %11
%13 = getelementptr inbounds double, double* %1, i64 4
%14 = load double, double* %13
%15 = getelementptr inbounds double, double* %1, i64 5
%16 = load double, double* %15
%17 = getelementptr inbounds double, double* %1, i64 6
%18 = load double, double* %17
%19 = getelementptr inbounds double, double* %1, i64 7
%20 = load double, double* %19
%21 = getelementptr inbounds double, double* %1, i64 8
%22 = load double, double* %21
%23 = getelementptr inbounds double, double* %1, i64 9
%24 = load double, double* %23
%25 = getelementptr inbounds double, double* %1, i64 10
%26 = load double, double* %25
%27 = getelementptr inbounds double, double* %1, i64 11
%28 = load double, double* %27
%29 = getelementptr inbounds double, double* %1, i64 12
%30 = load double, double* %29
%31 = getelementptr inbounds double, double* %1, i64 13
%32 = load double, double* %31
%33 = getelementptr inbounds double, double* %1, i64 14
%34 = load double, double* %33
%35 = getelementptr inbounds double, double* %1, i64 15
%36 = load double, double* %35
%37 = getelementptr inbounds double, double* %0, i64 4
%38 = getelementptr inbounds double, double* %0, i64 8
%39 = getelementptr inbounds double, double* %0, i64 12
%40 = getelementptr inbounds [16 x double], [16 x double]* %4, i64 0, i64 0
%41 = bitcast double* %37 to <2 x double>*
%42 = load <2 x double>, <2 x double>* %41
%43 = bitcast double* %0 to <2 x double>*
%44 = load <2 x double>, <2 x double>* %43
%45 = bitcast double* %38 to <2 x double>*
%46 = load <2 x double>, <2 x double>* %45
%47 = bitcast double* %39 to <2 x double>*
%48 = load <2 x double>, <2 x double>* %47
%49 = getelementptr inbounds [16 x double], [16 x double]* %4, i64 0, i64 4
%50 = getelementptr inbounds [16 x double], [16 x double]* %4, i64 0, i64 8
%51 = getelementptr inbounds [16 x double], [16 x double]* %4, i64 0, i64 12
%52 = insertelement <2 x double> poison, double %8, i64 0
%53 = shufflevector <2 x double> %52, <2 x double> poison, <2 x i32> zeroinitializer
%54 = fmul <2 x double> %42, %53
%55 = insertelement <2 x double> poison, double %6, i64 0
%56 = shufflevector <2 x double> %55, <2 x double> poison, <2 x i32> zeroinitializer
%57 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %44, <2 x double> %56, <2 x double> %54)
%58 = insertelement <2 x double> poison, double %10, i64 0
%59 = shufflevector <2 x double> %58, <2 x double> poison, <2 x i32> zeroinitializer
%60 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %46, <2 x double> %59, <2 x double> %57)
%61 = insertelement <2 x double> poison, double %12, i64 0
%62 = shufflevector <2 x double> %61, <2 x double> poison, <2 x i32> zeroinitializer
%63 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %48, <2 x double> %62, <2 x double> %60)
%64 = bitcast [16 x double]* %4 to <2 x double>*
store <2 x double> %63, <2 x double>* %64
%65 = insertelement <2 x double> poison, double %16, i64 0
%66 = shufflevector <2 x double> %65, <2 x double> poison, <2 x i32> zeroinitializer
%67 = fmul <2 x double> %42, %66
%68 = insertelement <2 x double> poison, double %14, i64 0
%69 = shufflevector <2 x double> %68, <2 x double> poison, <2 x i32> zeroinitializer
%70 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %44, <2 x double> %69, <2 x double> %67)
%71 = insertelement <2 x double> poison, double %18, i64 0
%72 = shufflevector <2 x double> %71, <2 x double> poison, <2 x i32> zeroinitializer
%73 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %46, <2 x double> %72, <2 x double> %70)
%74 = insertelement <2 x double> poison, double %20, i64 0
%75 = shufflevector <2 x double> %74, <2 x double> poison, <2 x i32> zeroinitializer
%76 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %48, <2 x double> %75, <2 x double> %73)
%77 = bitcast double* %49 to <2 x double>*
store <2 x double> %76, <2 x double>* %77
%78 = insertelement <2 x double> poison, double %24, i64 0
%79 = shufflevector <2 x double> %78, <2 x double> poison, <2 x i32> zeroinitializer
%80 = fmul <2 x double> %42, %79
%81 = insertelement <2 x double> poison, double %22, i64 0
%82 = shufflevector <2 x double> %81, <2 x double> poison, <2 x i32> zeroinitializer
%83 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %44, <2 x double> %82, <2 x double> %80)
%84 = insertelement <2 x double> poison, double %26, i64 0
%85 = shufflevector <2 x double> %84, <2 x double> poison, <2 x i32> zeroinitializer
%86 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %46, <2 x double> %85, <2 x double> %83)
%87 = insertelement <2 x double> poison, double %28, i64 0
%88 = shufflevector <2 x double> %87, <2 x double> poison, <2 x i32> zeroinitializer
%89 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %48, <2 x double> %88, <2 x double> %86)
%90 = bitcast double* %50 to <2 x double>*
store <2 x double> %89, <2 x double>* %90
%91 = insertelement <2 x double> poison, double %32, i64 0
%92 = shufflevector <2 x double> %91, <2 x double> poison, <2 x i32> zeroinitializer
%93 = fmul <2 x double> %42, %92
%94 = insertelement <2 x double> poison, double %30, i64 0
%95 = shufflevector <2 x double> %94, <2 x double> poison, <2 x i32> zeroinitializer
%96 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %44, <2 x double> %95, <2 x double> %93)
%97 = insertelement <2 x double> poison, double %34, i64 0
%98 = shufflevector <2 x double> %97, <2 x double> poison, <2 x i32> zeroinitializer
%99 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %46, <2 x double> %98, <2 x double> %96)
%100 = insertelement <2 x double> poison, double %36, i64 0
%101 = shufflevector <2 x double> %100, <2 x double> poison, <2 x i32> zeroinitializer
%102 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %48, <2 x double> %101, <2 x double> %99)
%103 = bitcast double* %51 to <2 x double>*
store <2 x double> %102, <2 x double>* %103
%104 = getelementptr inbounds double, double* %0, i64 2
%105 = getelementptr inbounds double, double* %0, i64 6
%106 = getelementptr inbounds double, double* %0, i64 10
%107 = getelementptr inbounds double, double* %0, i64 14
%108 = getelementptr inbounds [16 x double], [16 x double]* %4, i64 0, i64 2
%109 = bitcast double* %105 to <2 x double>*
%110 = load <2 x double>, <2 x double>* %109
%111 = bitcast double* %104 to <2 x double>*
%112 = load <2 x double>, <2 x double>* %111
%113 = bitcast double* %106 to <2 x double>*
%114 = load <2 x double>, <2 x double>* %113
%115 = bitcast double* %107 to <2 x double>*
%116 = load <2 x double>, <2 x double>* %115
%117 = getelementptr inbounds [16 x double], [16 x double]* %4, i64 0, i64 6
%118 = getelementptr inbounds [16 x double], [16 x double]* %4, i64 0, i64 10
%119 = getelementptr inbounds [16 x double], [16 x double]* %4, i64 0, i64 14
%120 = fmul <2 x double> %110, %53
%121 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %56, <2 x double> %120)
%122 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %114, <2 x double> %59, <2 x double> %121)
%123 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %116, <2 x double> %62, <2 x double> %122)
%124 = bitcast double* %108 to <2 x double>*
store <2 x double> %123, <2 x double>* %124
%125 = fmul <2 x double> %110, %66
%126 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %69, <2 x double> %125)
%127 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %114, <2 x double> %72, <2 x double> %126)
%128 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %116, <2 x double> %75, <2 x double> %127)
%129 = bitcast double* %117 to <2 x double>*
store <2 x double> %128, <2 x double>* %129
%130 = fmul <2 x double> %110, %79
%131 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %82, <2 x double> %130)
%132 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %114, <2 x double> %85, <2 x double> %131)
%133 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %116, <2 x double> %88, <2 x double> %132)
%134 = bitcast double* %118 to <2 x double>*
store <2 x double> %133, <2 x double>* %134
%135 = fmul <2 x double> %110, %92
%136 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %95, <2 x double> %135)
%137 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %114, <2 x double> %98, <2 x double> %136)
%138 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %116, <2 x double> %101, <2 x double> %137)
%139 = bitcast double* %119 to <2 x double>*
store <2 x double> %138, <2 x double>* %139
%140 = call i32 @memcpy(double* %2, double* %40, i32 128)
ret void
}