#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 */
double cos(double);
double sin(double);
int arGetRot(double a, double b, double c, double rot[3][3]) {
  double sina, sinb, sinc;
  double cosa, cosb, cosc;
  sina = sin(a);
  cosa = cos(a);
  sinb = sin(b);
  cosb = cos(b);
  sinc = sin(c);
  cosc = cos(c);
  rot[0][0] = cosa * cosa * cosb * cosc + sina * sina * cosc +
              sina * cosa * cosb * sinc - sina * cosa * sinc;
  rot[0][1] = -cosa * cosa * cosb * sinc - sina * sina * sinc +
              sina * cosa * cosb * cosc - sina * cosa * cosc;
  rot[0][2] = cosa * sinb;
  rot[1][0] = sina * cosa * cosb * cosc - sina * cosa * cosc +
              sina * sina * cosb * sinc + cosa * cosa * sinc;
  rot[1][1] = -sina * cosa * cosb * sinc + sina * cosa * sinc +
              sina * sina * cosb * cosc + cosa * cosa * cosc;
  rot[1][2] = sina * sinb;
  rot[2][0] = -cosa * sinb * cosc - sina * sinb * sinc;
  rot[2][1] = cosa * sinb * sinc - sina * sinb * cosc;
  rot[2][2] = cosb;
  return 0;
}


x86 assembly (clang, -O0):
<arGetRot>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
mov    %rdi,-0x20(%rbp)
movsd  -0x8(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x28(%rbp)
movsd  -0x8(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x10(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x30(%rbp)
movsd  -0x10(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x18(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  -0x18(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x40(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
mulsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
mulsd  -0x40(%rbp),%xmm1
mulsd  -0x48(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x40(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
mulsd  -0x40(%rbp),%xmm1
mulsd  -0x48(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x40(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
mulsd  -0x40(%rbp),%xmm1
mulsd  -0x50(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
mulsd  -0x48(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x40(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x18(%rax)
movsd  -0x28(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x40(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
mulsd  -0x40(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
mulsd  -0x48(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x40(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x20(%rax)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x28(%rax)
movsd  -0x40(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
mulsd  -0x30(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x30(%rax)
movsd  -0x40(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm1
mulsd  -0x30(%rbp),%xmm1
mulsd  -0x50(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x38(%rax)
movsd  -0x48(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x40(%rax)
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<arGetRot>:
push   %rbx
sub    $0x60,%rsp
mov    %rdi,%rbx
movsd  %xmm2,0x8(%rsp)
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x20(%rsp)
call   1030 <sin@plt>
movaps %xmm0,0x40(%rsp)
movsd  0x20(%rsp),%xmm0
call   1040 <cos@plt>
movaps %xmm0,0x30(%rsp)
movsd  0x10(%rsp),%xmm0
call   1030 <sin@plt>
movaps %xmm0,0x20(%rsp)
movsd  0x10(%rsp),%xmm0
call   1040 <cos@plt>
movaps %xmm0,0x50(%rsp)
movsd  0x8(%rsp),%xmm0
call   1030 <sin@plt>
movaps %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
call   1040 <cos@plt>
movapd 0x40(%rsp),%xmm12
movapd %xmm12,%xmm10
mulsd  %xmm12,%xmm10
movapd 0xe58(%rip),%xmm7
movapd %xmm12,%xmm1
xorpd  %xmm7,%xmm1
movapd 0x30(%rsp),%xmm2
movapd %xmm2,%xmm6
unpcklpd %xmm2,%xmm6
movapd %xmm12,%xmm5
unpcklpd %xmm1,%xmm5
mulpd  %xmm6,%xmm5
movapd %xmm5,%xmm9
xorpd  %xmm7,%xmm9
movapd %xmm2,%xmm11
xorpd  %xmm7,%xmm11
movapd %xmm2,%xmm4
movapd %xmm2,%xmm14
unpcklpd %xmm11,%xmm4
mulpd  %xmm6,%xmm4
movapd 0x50(%rsp),%xmm13
movapd %xmm13,%xmm6
unpcklpd %xmm13,%xmm6
movapd %xmm4,%xmm3
mulpd  %xmm6,%xmm3
xorpd  %xmm10,%xmm7
movapd %xmm10,%xmm2
movapd 0x10(%rsp),%xmm15
unpcklpd %xmm15,%xmm2
movapd %xmm0,%xmm1
unpcklpd %xmm7,%xmm1
mulpd  %xmm2,%xmm1
movapd %xmm0,%xmm8
unpcklpd %xmm15,%xmm8
mulpd  %xmm8,%xmm3
addpd  %xmm1,%xmm3
mulpd  %xmm5,%xmm6
movapd %xmm6,%xmm1
unpcklpd %xmm6,%xmm1
movapd %xmm15,%xmm7
unpcklpd %xmm0,%xmm7
mulpd  %xmm7,%xmm1
addpd  %xmm3,%xmm1
unpcklpd %xmm5,%xmm0
unpcklpd %xmm5,%xmm5
mulpd  %xmm7,%xmm5
subpd  %xmm5,%xmm1
movupd %xmm1,(%rbx)
movapd 0x20(%rsp),%xmm2
movapd %xmm2,%xmm1
unpcklpd %xmm2,%xmm1
unpcklpd %xmm14,%xmm11
mulpd  %xmm1,%xmm11
movhpd %xmm11,0x10(%rbx)
mulsd  %xmm13,%xmm10
unpcklpd %xmm15,%xmm9
mulpd  %xmm0,%xmm9
mulpd  %xmm8,%xmm6
addpd  %xmm9,%xmm6
unpcklpd %xmm10,%xmm10
mulpd  %xmm7,%xmm10
addpd  %xmm6,%xmm10
unpcklpd %xmm4,%xmm4
mulpd  %xmm7,%xmm4
addpd  %xmm10,%xmm4
movupd %xmm4,0x18(%rbx)
movapd %xmm12,%xmm0
mulsd  %xmm2,%xmm0
movsd  %xmm0,0x28(%rbx)
unpcklpd %xmm0,%xmm0
mulpd  %xmm7,%xmm0
mulpd  %xmm8,%xmm11
subpd  %xmm0,%xmm11
movupd %xmm11,0x30(%rbx)
movsd  %xmm13,0x40(%rbx)
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define i32 @arGetRot(double %0, double %1, double %2, [3 x double]* %3) {
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca [3 x double]*
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
store double %0, double* %5
store double %1, double* %6
store double %2, double* %7
store [3 x double]* %3, [3 x double]** %8
%15 = load double, double* %5
%16 = call double @sin(double %15)
store double %16, double* %9
%17 = load double, double* %5
%18 = call double @cos(double %17)
store double %18, double* %12
%19 = load double, double* %6
%20 = call double @sin(double %19)
store double %20, double* %10
%21 = load double, double* %6
%22 = call double @cos(double %21)
store double %22, double* %13
%23 = load double, double* %7
%24 = call double @sin(double %23)
store double %24, double* %11
%25 = load double, double* %7
%26 = call double @cos(double %25)
store double %26, double* %14
%27 = load double, double* %12
%28 = load double, double* %12
%29 = fmul double %27, %28
%30 = load double, double* %13
%31 = fmul double %29, %30
%32 = load double, double* %14
%33 = load double, double* %9
%34 = load double, double* %9
%35 = fmul double %33, %34
%36 = load double, double* %14
%37 = fmul double %35, %36
%38 = call double @llvm.fmuladd.f64(double %31, double %32, double %37)
%39 = load double, double* %9
%40 = load double, double* %12
%41 = fmul double %39, %40
%42 = load double, double* %13
%43 = fmul double %41, %42
%44 = load double, double* %11
%45 = call double @llvm.fmuladd.f64(double %43, double %44, double %38)
%46 = load double, double* %9
%47 = load double, double* %12
%48 = fmul double %46, %47
%49 = load double, double* %11
%50 = fneg double %48
%51 = call double @llvm.fmuladd.f64(double %50, double %49, double %45)
%52 = load [3 x double]*, [3 x double]** %8
%53 = getelementptr inbounds [3 x double], [3 x double]* %52, i64 0
%54 = getelementptr inbounds [3 x double], [3 x double]* %53, i64 0, i64 0
store double %51, double* %54
%55 = load double, double* %12
%56 = fneg double %55
%57 = load double, double* %12
%58 = fmul double %56, %57
%59 = load double, double* %13
%60 = fmul double %58, %59
%61 = load double, double* %11
%62 = load double, double* %9
%63 = load double, double* %9
%64 = fmul double %62, %63
%65 = load double, double* %11
%66 = fmul double %64, %65
%67 = fneg double %66
%68 = call double @llvm.fmuladd.f64(double %60, double %61, double %67)
%69 = load double, double* %9
%70 = load double, double* %12
%71 = fmul double %69, %70
%72 = load double, double* %13
%73 = fmul double %71, %72
%74 = load double, double* %14
%75 = call double @llvm.fmuladd.f64(double %73, double %74, double %68)
%76 = load double, double* %9
%77 = load double, double* %12
%78 = fmul double %76, %77
%79 = load double, double* %14
%80 = fneg double %78
%81 = call double @llvm.fmuladd.f64(double %80, double %79, double %75)
%82 = load [3 x double]*, [3 x double]** %8
%83 = getelementptr inbounds [3 x double], [3 x double]* %82, i64 0
%84 = getelementptr inbounds [3 x double], [3 x double]* %83, i64 0, i64 1
store double %81, double* %84
%85 = load double, double* %12
%86 = load double, double* %10
%87 = fmul double %85, %86
%88 = load [3 x double]*, [3 x double]** %8
%89 = getelementptr inbounds [3 x double], [3 x double]* %88, i64 0
%90 = getelementptr inbounds [3 x double], [3 x double]* %89, i64 0, i64 2
store double %87, double* %90
%91 = load double, double* %9
%92 = load double, double* %12
%93 = fmul double %91, %92
%94 = load double, double* %13
%95 = fmul double %93, %94
%96 = load double, double* %14
%97 = load double, double* %9
%98 = load double, double* %12
%99 = fmul double %97, %98
%100 = load double, double* %14
%101 = fmul double %99, %100
%102 = fneg double %101
%103 = call double @llvm.fmuladd.f64(double %95, double %96, double %102)
%104 = load double, double* %9
%105 = load double, double* %9
%106 = fmul double %104, %105
%107 = load double, double* %13
%108 = fmul double %106, %107
%109 = load double, double* %11
%110 = call double @llvm.fmuladd.f64(double %108, double %109, double %103)
%111 = load double, double* %12
%112 = load double, double* %12
%113 = fmul double %111, %112
%114 = load double, double* %11
%115 = call double @llvm.fmuladd.f64(double %113, double %114, double %110)
%116 = load [3 x double]*, [3 x double]** %8
%117 = getelementptr inbounds [3 x double], [3 x double]* %116, i64 1
%118 = getelementptr inbounds [3 x double], [3 x double]* %117, i64 0, i64 0
store double %115, double* %118
%119 = load double, double* %9
%120 = fneg double %119
%121 = load double, double* %12
%122 = fmul double %120, %121
%123 = load double, double* %13
%124 = fmul double %122, %123
%125 = load double, double* %11
%126 = load double, double* %9
%127 = load double, double* %12
%128 = fmul double %126, %127
%129 = load double, double* %11
%130 = fmul double %128, %129
%131 = call double @llvm.fmuladd.f64(double %124, double %125, double %130)
%132 = load double, double* %9
%133 = load double, double* %9
%134 = fmul double %132, %133
%135 = load double, double* %13
%136 = fmul double %134, %135
%137 = load double, double* %14
%138 = call double @llvm.fmuladd.f64(double %136, double %137, double %131)
%139 = load double, double* %12
%140 = load double, double* %12
%141 = fmul double %139, %140
%142 = load double, double* %14
%143 = call double @llvm.fmuladd.f64(double %141, double %142, double %138)
%144 = load [3 x double]*, [3 x double]** %8
%145 = getelementptr inbounds [3 x double], [3 x double]* %144, i64 1
%146 = getelementptr inbounds [3 x double], [3 x double]* %145, i64 0, i64 1
store double %143, double* %146
%147 = load double, double* %9
%148 = load double, double* %10
%149 = fmul double %147, %148
%150 = load [3 x double]*, [3 x double]** %8
%151 = getelementptr inbounds [3 x double], [3 x double]* %150, i64 1
%152 = getelementptr inbounds [3 x double], [3 x double]* %151, i64 0, i64 2
store double %149, double* %152
%153 = load double, double* %12
%154 = fneg double %153
%155 = load double, double* %10
%156 = fmul double %154, %155
%157 = load double, double* %14
%158 = load double, double* %9
%159 = load double, double* %10
%160 = fmul double %158, %159
%161 = load double, double* %11
%162 = fmul double %160, %161
%163 = fneg double %162
%164 = call double @llvm.fmuladd.f64(double %156, double %157, double %163)
%165 = load [3 x double]*, [3 x double]** %8
%166 = getelementptr inbounds [3 x double], [3 x double]* %165, i64 2
%167 = getelementptr inbounds [3 x double], [3 x double]* %166, i64 0, i64 0
store double %164, double* %167
%168 = load double, double* %12
%169 = load double, double* %10
%170 = fmul double %168, %169
%171 = load double, double* %11
%172 = load double, double* %9
%173 = load double, double* %10
%174 = fmul double %172, %173
%175 = load double, double* %14
%176 = fmul double %174, %175
%177 = fneg double %176
%178 = call double @llvm.fmuladd.f64(double %170, double %171, double %177)
%179 = load [3 x double]*, [3 x double]** %8
%180 = getelementptr inbounds [3 x double], [3 x double]* %179, i64 2
%181 = getelementptr inbounds [3 x double], [3 x double]* %180, i64 0, i64 1
store double %178, double* %181
%182 = load double, double* %13
%183 = load [3 x double]*, [3 x double]** %8
%184 = getelementptr inbounds [3 x double], [3 x double]* %183, i64 2
%185 = getelementptr inbounds [3 x double], [3 x double]* %184, i64 0, i64 2
store double %182, double* %185
ret i32 0
}

LLVM IR (-O2):
define i32 @arGetRot(double %0, double %1, double %2, [3 x double]* nocapture writeonly %3) {
%5 = tail call double @sin(double %0)
%6 = tail call double @cos(double %0)
%7 = tail call double @sin(double %1)
%8 = tail call double @cos(double %1)
%9 = tail call double @sin(double %2)
%10 = tail call double @cos(double %2)
%11 = fmul double %5, %5
%12 = fneg double %5
%13 = insertelement <2 x double> poison, double %6, i64 0
%14 = shufflevector <2 x double> %13, <2 x double> poison, <2 x i32> zeroinitializer
%15 = insertelement <2 x double> poison, double %5, i64 0
%16 = insertelement <2 x double> %15, double %12, i64 1
%17 = fmul <2 x double> %14, %16
%18 = extractelement <2 x double> %17, i64 0
%19 = fneg double %18
%20 = fneg double %6
%21 = insertelement <2 x double> %13, double %20, i64 1
%22 = fmul <2 x double> %14, %21
%23 = insertelement <2 x double> poison, double %8, i64 0
%24 = shufflevector <2 x double> %23, <2 x double> poison, <2 x i32> zeroinitializer
%25 = fmul <2 x double> %22, %24
%26 = fneg double %11
%27 = insertelement <2 x double> poison, double %11, i64 0
%28 = insertelement <2 x double> %27, double %9, i64 1
%29 = insertelement <2 x double> poison, double %10, i64 0
%30 = insertelement <2 x double> %29, double %26, i64 1
%31 = fmul <2 x double> %28, %30
%32 = insertelement <2 x double> %29, double %9, i64 1
%33 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %25, <2 x double> %32, <2 x double> %31)
%34 = fmul <2 x double> %17, %24
%35 = shufflevector <2 x double> %34, <2 x double> undef, <2 x i32> zeroinitializer
%36 = insertelement <2 x double> poison, double %9, i64 0
%37 = insertelement <2 x double> %36, double %10, i64 1
%38 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %35, <2 x double> %37, <2 x double> %33)
%39 = insertelement <2 x double> poison, double %19, i64 0
%40 = shufflevector <2 x double> %39, <2 x double> poison, <2 x i32> zeroinitializer
%41 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %40, <2 x double> %37, <2 x double> %38)
%42 = bitcast [3 x double]* %3 to <2 x double>*
store <2 x double> %41, <2 x double>* %42
%43 = getelementptr inbounds [3 x double], [3 x double]* %3, i64 0, i64 2
%44 = insertelement <2 x double> poison, double %7, i64 0
%45 = shufflevector <2 x double> %44, <2 x double> poison, <2 x i32> zeroinitializer
%46 = insertelement <2 x double> poison, double %20, i64 0
%47 = insertelement <2 x double> %46, double %6, i64 1
%48 = fmul <2 x double> %45, %47
%49 = extractelement <2 x double> %48, i64 1
store double %49, double* %43
%50 = fmul double %11, %8
%51 = getelementptr inbounds [3 x double], [3 x double]* %3, i64 1, i64 0
%52 = shufflevector <2 x double> %29, <2 x double> %17, <2 x i32> <i32 0, i32 2>
%53 = insertelement <2 x double> %39, double %9, i64 1
%54 = fmul <2 x double> %52, %53
%55 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %34, <2 x double> %32, <2 x double> %54)
%56 = insertelement <2 x double> poison, double %50, i64 0
%57 = shufflevector <2 x double> %56, <2 x double> poison, <2 x i32> zeroinitializer
%58 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %57, <2 x double> %37, <2 x double> %55)
%59 = shufflevector <2 x double> %22, <2 x double> undef, <2 x i32> zeroinitializer
%60 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %59, <2 x double> %37, <2 x double> %58)
%61 = bitcast double* %51 to <2 x double>*
store <2 x double> %60, <2 x double>* %61
%62 = fmul double %5, %7
%63 = getelementptr inbounds [3 x double], [3 x double]* %3, i64 1, i64 2
store double %62, double* %63
%64 = fneg double %62
%65 = getelementptr inbounds [3 x double], [3 x double]* %3, i64 2, i64 0
%66 = insertelement <2 x double> poison, double %64, i64 0
%67 = shufflevector <2 x double> %66, <2 x double> poison, <2 x i32> zeroinitializer
%68 = fmul <2 x double> %37, %67
%69 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %48, <2 x double> %32, <2 x double> %68)
%70 = bitcast double* %65 to <2 x double>*
store <2 x double> %69, <2 x double>* %70
%71 = getelementptr inbounds [3 x double], [3 x double]* %3, i64 2, i64 2
store double %8, double* %71
ret i32 0
}