void op_A_symm_CD(double A1[3][3], double A2[3][3], double x[3], double n1[3],
                  double n2[3], double xi, double C, double D) {
  double x1dotn1 = x[0] * n1[0] + x[1] * n1[1] + x[2] * n1[2];
  double x2dotn2 = -(x[0] * n2[0] + x[1] * n2[1] + x[2] * n2[2]);
  for (int i = 0; i < 3; i++)
    for (int j = 0; j < 3; j++) {
      A1[i][j] = C * x[i] * x[j] * x1dotn1 +
                 D * (x[i] * n1[j] + x[j] * n1[i] + (i == j) * x1dotn1);
      A2[i][j] = C * x[i] * x[j] * x2dotn2 +
                 D * (-x[i] * n2[j] - x[j] * n2[i] + (i == j) * x2dotn2);
    }
}


x86 assembly (clang, -O0):
<op_A_symm_CD>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
movsd  %xmm0,-0x30(%rbp)
movsd  %xmm1,-0x38(%rbp)
movsd  %xmm2,-0x40(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x20(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x28(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x50(%rbp)
movl   $0x0,-0x54(%rbp)
cmpl   $0x3,-0x54(%rbp)
jge    1391 <op_A_symm_CD+0x291>
movl   $0x0,-0x58(%rbp)
cmpl   $0x3,-0x58(%rbp)
jge    137e <op_A_symm_CD+0x27e>
movsd  -0x38(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x54(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x58(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm1
mov    -0x18(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm4
mov    -0x20(%rbp),%rax
movslq -0x58(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm5
mov    -0x18(%rbp),%rax
movslq -0x58(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    -0x20(%rbp),%rax
movslq -0x54(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm3
mulsd  %xmm5,%xmm4
addsd  %xmm3,%xmm4
mov    -0x54(%rbp),%eax
cmp    -0x58(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%eax
cvtsi2sd %eax,%xmm3
movsd  -0x48(%rbp),%xmm5
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
imul   $0x18,%rcx,%rcx
add    %rcx,%rax
movslq -0x58(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x38(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x54(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x58(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm1
mov    -0x18(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm4
mov    -0x28(%rbp),%rax
movslq -0x58(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm5
mov    -0x18(%rbp),%rax
movslq -0x58(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    -0x28(%rbp),%rax
movslq -0x54(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm5,%xmm4
addsd  %xmm3,%xmm4
mov    -0x54(%rbp),%eax
cmp    -0x58(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%eax
cvtsi2sd %eax,%xmm3
movsd  -0x50(%rbp),%xmm5
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x54(%rbp),%rcx
imul   $0x18,%rcx,%rcx
add    %rcx,%rax
movslq -0x58(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    11e8 <op_A_symm_CD+0xe8>
jmp    1383 <op_A_symm_CD+0x283>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    11d7 <op_A_symm_CD+0xd7>
pop    %rbp
ret

x86 assembly (clang, -O2):
<op_A_symm_CD>:
movsd  (%rdx),%xmm0
movsd  0x8(%rdx),%xmm4
movsd  (%rcx),%xmm5
movsd  0x8(%rcx),%xmm3
mulsd  %xmm4,%xmm3
movapd %xmm0,%xmm6
mulsd  %xmm5,%xmm6
addsd  %xmm3,%xmm6
movsd  0x10(%rdx),%xmm11
movsd  0x10(%rcx),%xmm10
mulsd  %xmm11,%xmm10
addsd  %xmm6,%xmm10
mulsd  0x8(%r8),%xmm4
movsd  (%r8),%xmm6
mulsd  %xmm0,%xmm6
mulsd  0x10(%r8),%xmm11
addsd  %xmm4,%xmm6
addsd  %xmm6,%xmm11
xorpd  0xea1(%rip),%xmm11
mov    $0x2,%r9d
xor    %eax,%eax
movsd  0xea0(%rip),%xmm9
movapd 0xe87(%rip),%xmm8
movapd %xmm5,%xmm6
movapd %xmm0,%xmm3
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movapd %xmm9,%xmm4
test   %rax,%rax
je     119e <op_A_symm_CD+0x9e>
xorpd  %xmm4,%xmm4
movapd %xmm3,%xmm7
mulsd  %xmm1,%xmm7
mulsd  %xmm0,%xmm7
mulsd  %xmm0,%xmm5
mulsd  %xmm3,%xmm6
addsd  %xmm5,%xmm6
movapd %xmm4,%xmm0
mulsd  %xmm10,%xmm0
addsd  %xmm6,%xmm0
mulsd  %xmm2,%xmm0
mulsd  %xmm10,%xmm7
addsd  %xmm0,%xmm7
movsd  %xmm7,-0x10(%rdi,%r9,8)
movsd  (%rdx,%rax,1),%xmm0
movapd %xmm0,%xmm3
mulsd  %xmm1,%xmm3
movsd  (%rdx),%xmm5
mulsd  %xmm5,%xmm3
xorpd  %xmm8,%xmm0
mulsd  (%r8,%rax,1),%xmm5
mulsd  (%r8),%xmm0
subsd  %xmm5,%xmm0
mulsd  %xmm11,%xmm4
addsd  %xmm0,%xmm4
mulsd  %xmm2,%xmm4
mulsd  %xmm11,%xmm3
addsd  %xmm4,%xmm3
movsd  %xmm3,-0x10(%rsi,%r9,8)
movapd %xmm9,%xmm6
cmp    $0x8,%rax
je     122c <op_A_symm_CD+0x12c>
xorpd  %xmm6,%xmm6
movsd  (%rdx,%rax,1),%xmm0
movapd %xmm0,%xmm3
mulsd  %xmm1,%xmm3
movsd  0x8(%rdx),%xmm4
mulsd  %xmm4,%xmm3
mulsd  (%rcx,%rax,1),%xmm4
mulsd  0x8(%rcx),%xmm0
addsd  %xmm4,%xmm0
movapd %xmm6,%xmm4
mulsd  %xmm10,%xmm4
addsd  %xmm0,%xmm4
mulsd  %xmm2,%xmm4
mulsd  %xmm10,%xmm3
addsd  %xmm4,%xmm3
movsd  %xmm3,-0x8(%rdi,%r9,8)
movsd  (%rdx,%rax,1),%xmm0
movapd %xmm0,%xmm3
mulsd  %xmm1,%xmm3
movsd  0x8(%rdx),%xmm4
mulsd  %xmm4,%xmm3
xorpd  %xmm8,%xmm0
mulsd  (%r8,%rax,1),%xmm4
mulsd  0x8(%r8),%xmm0
subsd  %xmm4,%xmm0
mulsd  %xmm11,%xmm6
addsd  %xmm0,%xmm6
mulsd  %xmm2,%xmm6
mulsd  %xmm11,%xmm3
addsd  %xmm6,%xmm3
movsd  %xmm3,-0x8(%rsi,%r9,8)
movsd  (%rdx,%rax,1),%xmm3
movsd  0x10(%rdx),%xmm7
movsd  (%rcx,%rax,1),%xmm6
mulsd  %xmm7,%xmm6
movsd  0x10(%rcx),%xmm5
mulsd  %xmm3,%xmm5
movapd %xmm9,%xmm4
cmp    $0x10,%rax
je     12e4 <op_A_symm_CD+0x1e4>
xorpd  %xmm4,%xmm4
mulsd  %xmm1,%xmm3
mulsd  %xmm7,%xmm3
addsd  %xmm6,%xmm5
movapd %xmm4,%xmm0
mulsd  %xmm10,%xmm0
addsd  %xmm5,%xmm0
mulsd  %xmm2,%xmm0
mulsd  %xmm10,%xmm3
addsd  %xmm0,%xmm3
movsd  %xmm3,(%rdi,%r9,8)
movsd  (%rdx,%rax,1),%xmm0
movapd %xmm0,%xmm3
mulsd  %xmm1,%xmm3
movsd  0x10(%rdx),%xmm5
mulsd  %xmm5,%xmm3
xorpd  %xmm8,%xmm0
mulsd  (%r8,%rax,1),%xmm5
mulsd  0x10(%r8),%xmm0
subsd  %xmm5,%xmm0
mulsd  %xmm11,%xmm4
addsd  %xmm0,%xmm4
mulsd  %xmm2,%xmm4
mulsd  %xmm11,%xmm3
addsd  %xmm4,%xmm3
movsd  %xmm3,(%rsi,%r9,8)
je     137a <op_A_symm_CD+0x27a>
movsd  0x8(%rdx,%rax,1),%xmm3
movsd  (%rdx),%xmm0
movsd  (%rcx),%xmm6
movsd  0x8(%rcx,%rax,1),%xmm5
add    $0x8,%rax
add    $0x3,%r9
jmp    1190 <op_A_symm_CD+0x90>
ret

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

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