void mp_mul_rcsqu(int n, double *a, int nc, double *c) {
  int j, k, kk, ks, m;
  double wkr, wki, xr, xi, yr, yi, ajr, aji, akr, aki;
  ks = (nc << 2) / n;
  kk = 0;
  m = n >> 1;
  for (j = 2; j < m; j += 2) {
    k = n - j;
    kk += ks;
    wkr = ((double)0.5) - c[nc - kk];
    wki = c[kk];
    xr = a[j] - a[k];
    xi = a[j + 1] + a[k + 1];
    yr = wkr * xr - wki * xi;
    yi = wkr * xi + wki * xr;
    xr = a[j] - yr;
    xi = a[j + 1] - yi;
    yr = a[k] + yr;
    yi = a[k + 1] - yi;
    ajr = xr * xr - xi * xi;
    aji = 2 * xr * xi;
    akr = yr * yr - yi * yi;
    aki = 2 * yr * yi;
    xr = ajr - akr;
    xi = aji + aki;
    yr = wkr * xr + wki * xi;
    yi = wkr * xi - wki * xr;
    a[j] = ajr - yr;
    a[j + 1] = aji - yi;
    a[k] = akr + yr;
    a[k + 1] = aki - yi;
  }
  xr = a[m];
  xi = a[m + 1];
  a[m] = xr * xr - xi * xi;
  a[m + 1] = 2 * xr * xi;
}


x86 assembly (clang, -O0):
<mp_mul_rcsqu>:
push   %rbp
mov    %rsp,%rbp
push   %rax
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x14(%rbp),%eax
shl    $0x2,%eax
cltd
idivl  -0x4(%rbp)
mov    %eax,-0x30(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x4(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x34(%rbp)
movl   $0x2,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    141f <mp_mul_rcsqu+0x31f>
mov    -0x4(%rbp),%eax
sub    -0x24(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x30(%rbp),%eax
add    -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x20(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    -0x2c(%rbp),%ecx
movslq %ecx,%rcx
movsd  0xe9e(%rip),%xmm0
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xd33(%rip),%xmm0
mulsd  -0x50(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  -0x68(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0xce4(%rip),%xmm0
mulsd  -0x60(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
subsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x78(%rbp),%xmm0
addsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x48(%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  %xmm0,-0x68(%rbp)
movsd  -0x70(%rbp),%xmm0
subsd  -0x60(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x78(%rbp),%xmm0
subsd  -0x68(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x80(%rbp),%xmm0
addsd  -0x60(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x88(%rbp),%xmm0
ff
subsd  -0x68(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x24(%rbp)
jmp    1137 <mp_mul_rcsqu+0x37>
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  0xb70(%rip),%xmm0
mulsd  -0x50(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
add    $0x8,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mp_mul_rcsqu>:
mov    %edi,%r10d
sar    %r10d
movslq %r10d,%r9
cmp    $0x5,%edi
jle    1274 <mp_mul_rcsqu+0x174>
mov    %edx,%r8d
lea    0x0(,%r8,4),%eax
cltd
idiv   %edi
mov    %edi,%edx
movslq %r10d,%r10
movslq %eax,%r11
movslq %r8d,%rax
lea    (%rcx,%r11,8),%rdi
sub    %r11,%rax
shl    $0x3,%r11
lea    (%rcx,%rax,8),%rcx
mov    %r11,%r8
neg    %r8
lea    (%rsi,%rdx,8),%rdx
add    $0xfffffffffffffff8,%rdx
mov    $0x2,%eax
movsd  0xeaa(%rip),%xmm9
movapd 0xeb1(%rip),%xmm8
nop
movapd %xmm9,%xmm2
subsd  (%rcx),%xmm2
movsd  (%rdi),%xmm11
movsd  (%rsi,%rax,8),%xmm5
movsd  0x8(%rsi,%rax,8),%xmm4
movsd  -0x8(%rdx),%xmm12
movsd  (%rdx),%xmm6
movapd %xmm5,%xmm1
subsd  %xmm12,%xmm1
movapd %xmm4,%xmm0
addsd  %xmm6,%xmm0
movapd %xmm11,%xmm10
xorpd  %xmm8,%xmm10
movapd %xmm2,%xmm7
mulsd  %xmm0,%xmm7
mulsd  %xmm11,%xmm0
movapd %xmm2,%xmm3
mulsd  %xmm1,%xmm3
subsd  %xmm0,%xmm3
mulsd  %xmm11,%xmm1
addsd  %xmm7,%xmm1
subsd  %xmm3,%xmm5
subsd  %xmm1,%xmm4
addsd  %xmm12,%xmm3
subsd  %xmm1,%xmm6
movapd %xmm5,%xmm7
addsd  %xmm5,%xmm5
mulsd  %xmm4,%xmm5
mulsd  %xmm4,%xmm4
mulsd  %xmm7,%xmm7
subsd  %xmm4,%xmm7
unpcklpd %xmm5,%xmm7
movapd %xmm3,%xmm0
addsd  %xmm3,%xmm3
mulsd  %xmm6,%xmm3
mulsd  %xmm6,%xmm6
mulsd  %xmm0,%xmm0
subsd  %xmm6,%xmm0
movapd %xmm0,%xmm1
unpcklpd %xmm3,%xmm1
movapd %xmm7,%xmm4
subpd  %xmm1,%xmm4
addpd  %xmm7,%xmm1
movapd %xmm1,%xmm5
movsd  %xmm4,%xmm5
unpcklpd %xmm4,%xmm11
shufpd $0x1,%xmm10,%xmm1
mulpd  %xmm11,%xmm1
unpcklpd %xmm2,%xmm2
mulpd  %xmm5,%xmm2
addpd  %xmm1,%xmm2
subpd  %xmm2,%xmm7
movupd %xmm7,(%rsi,%rax,8)
addsd  %xmm2,%xmm0
movsd  %xmm0,-0x8(%rdx)
unpckhpd %xmm2,%xmm2
subsd  %xmm2,%xmm3
movsd  %xmm3,(%rdx)
add    $0x2,%rax
add    %r11,%rdi
add    %r8,%rcx
add    $0xfffffffffffffff0,%rdx
cmp    %r10,%rax
jl     1160 <mp_mul_rcsqu+0x60>
jmp    1277 <mp_mul_rcsqu+0x177>
mov    %r9,%r10
movsd  (%rsi,%r10,8),%xmm0
movsd  0x8(%rsi,%r9,8),%xmm1
movapd %xmm0,%xmm2
addsd  %xmm0,%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm1
mulsd  %xmm2,%xmm2
subsd  %xmm1,%xmm2
movsd  %xmm2,(%rsi,%r10,8)
movsd  %xmm0,0x8(%rsi,%r9,8)
ret

LLVM IR (-O0):
define void @mp_mul_rcsqu(i32 %0, double* %1, i32 %2, double* %3) {
%5 = alloca i32
%6 = alloca double*
%7 = alloca i32
%8 = alloca double*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
store i32 %0, i32* %5
store double* %1, double** %6
store i32 %2, i32* %7
store double* %3, double** %8
%24 = load i32, i32* %7
%25 = shl i32 %24, 2
%26 = load i32, i32* %5
%27 = sdiv i32 %25, %26
store i32 %27, i32* %12
store i32 0, i32* %11
%28 = load i32, i32* %5
%29 = ashr i32 %28, 1
store i32 %29, i32* %13
store i32 2, i32* %9
br label %30
30: ; preds = %192, %4
%31 = load i32, i32* %9
%32 = load i32, i32* %13
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %195
34: ; preds = %30
%35 = load i32, i32* %5
%36 = load i32, i32* %9
%37 = sub nsw i32 %35, %36
store i32 %37, i32* %10
%38 = load i32, i32* %12
%39 = load i32, i32* %11
%40 = add nsw i32 %39, %38
store i32 %40, i32* %11
%41 = load double*, double** %8
%42 = load i32, i32* %7
%43 = load i32, i32* %11
%44 = sub nsw i32 %42, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, double* %41, i64 %45
%47 = load double, double* %46
%48 = fsub double 5.000000e-01, %47
store double %48, double* %14
%49 = load double*, double** %8
%50 = load i32, i32* %11
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, double* %49, i64 %51
%53 = load double, double* %52
store double %53, double* %15
%54 = load double*, double** %6
%55 = load i32, i32* %9
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, double* %54, i64 %56
%58 = load double, double* %57
%59 = load double*, double** %6
%60 = load i32, i32* %10
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, double* %59, i64 %61
%63 = load double, double* %62
%64 = fsub double %58, %63
store double %64, double* %16
%65 = load double*, double** %6
%66 = load i32, i32* %9
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, double* %65, i64 %68
%70 = load double, double* %69
%71 = load double*, double** %6
%72 = load i32, i32* %10
%73 = add nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, double* %71, i64 %74
%76 = load double, double* %75
%77 = fadd double %70, %76
store double %77, double* %17
%78 = load double, double* %14
%79 = load double, double* %16
%80 = load double, double* %15
%81 = load double, double* %17
%82 = fmul double %80, %81
%83 = fneg double %82
%84 = call double @llvm.fmuladd.f64(double %78, double %79, double %83)
store double %84, double* %18
%85 = load double, double* %14
%86 = load double, double* %17
%87 = load double, double* %15
%88 = load double, double* %16
%89 = fmul double %87, %88
%90 = call double @llvm.fmuladd.f64(double %85, double %86, double %89)
store double %90, double* %19
%91 = load double*, double** %6
%92 = load i32, i32* %9
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, double* %91, i64 %93
%95 = load double, double* %94
%96 = load double, double* %18
%97 = fsub double %95, %96
store double %97, double* %16
%98 = load double*, double** %6
%99 = load i32, i32* %9
%100 = add nsw i32 %99, 1
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, double* %98, i64 %101
%103 = load double, double* %102
%104 = load double, double* %19
%105 = fsub double %103, %104
store double %105, double* %17
%106 = load double*, double** %6
%107 = load i32, i32* %10
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, double* %106, i64 %108
%110 = load double, double* %109
%111 = load double, double* %18
%112 = fadd double %110, %111
store double %112, double* %18
%113 = load double*, double** %6
%114 = load i32, i32* %10
%115 = add nsw i32 %114, 1
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, double* %113, i64 %116
%118 = load double, double* %117
%119 = load double, double* %19
%120 = fsub double %118, %119
store double %120, double* %19
%121 = load double, double* %16
%122 = load double, double* %16
%123 = load double, double* %17
%124 = load double, double* %17
%125 = fmul double %123, %124
%126 = fneg double %125
%127 = call double @llvm.fmuladd.f64(double %121, double %122, double %126)
store double %127, double* %20
%128 = load double, double* %16
%129 = fmul double 2.000000e+00, %128
%130 = load double, double* %17
%131 = fmul double %129, %130
store double %131, double* %21
%132 = load double, double* %18
%133 = load double, double* %18
%134 = load double, double* %19
%135 = load double, double* %19
%136 = fmul double %134, %135
%137 = fneg double %136
%138 = call double @llvm.fmuladd.f64(double %132, double %133, double %137)
store double %138, double* %22
%139 = load double, double* %18
%140 = fmul double 2.000000e+00, %139
%141 = load double, double* %19
%142 = fmul double %140, %141
store double %142, double* %23
%143 = load double, double* %20
%144 = load double, double* %22
%145 = fsub double %143, %144
store double %145, double* %16
%146 = load double, double* %21
%147 = load double, double* %23
%148 = fadd double %146, %147
store double %148, double* %17
%149 = load double, double* %14
%150 = load double, double* %16
%151 = load double, double* %15
%152 = load double, double* %17
%153 = fmul double %151, %152
%154 = call double @llvm.fmuladd.f64(double %149, double %150, double %153)
store double %154, double* %18
%155 = load double, double* %14
%156 = load double, double* %17
%157 = load double, double* %15
%158 = load double, double* %16
%159 = fmul double %157, %158
%160 = fneg double %159
%161 = call double @llvm.fmuladd.f64(double %155, double %156, double %160)
store double %161, double* %19
%162 = load double, double* %20
%163 = load double, double* %18
%164 = fsub double %162, %163
%165 = load double*, double** %6
%166 = load i32, i32* %9
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, double* %165, i64 %167
store double %164, double* %168
%169 = load double, double* %21
%170 = load double, double* %19
%171 = fsub double %169, %170
%172 = load double*, double** %6
%173 = load i32, i32* %9
%174 = add nsw i32 %173, 1
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, double* %172, i64 %175
store double %171, double* %176
%177 = load double, double* %22
%178 = load double, double* %18
%179 = fadd double %177, %178
%180 = load double*, double** %6
%181 = load i32, i32* %10
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double, double* %180, i64 %182
store double %179, double* %183
%184 = load double, double* %23
%185 = load double, double* %19
%186 = fsub double %184, %185
%187 = load double*, double** %6
%188 = load i32, i32* %10
%189 = add nsw i32 %188, 1
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds double, double* %187, i64 %190
store double %186, double* %191
br label %192
192: ; preds = %34
%193 = load i32, i32* %9
%194 = add nsw i32 %193, 2
store i32 %194, i32* %9
br label %30
195: ; preds = %30
%196 = load double*, double** %6
%197 = load i32, i32* %13
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, double* %196, i64 %198
%200 = load double, double* %199
store double %200, double* %16
%201 = load double*, double** %6
%202 = load i32, i32* %13
%203 = add nsw i32 %202, 1
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds double, double* %201, i64 %204
%206 = load double, double* %205
store double %206, double* %17
%207 = load double, double* %16
%208 = load double, double* %16
%209 = load double, double* %17
%210 = load double, double* %17
%211 = fmul double %209, %210
%212 = fneg double %211
%213 = call double @llvm.fmuladd.f64(double %207, double %208, double %212)
%214 = load double*, double** %6
%215 = load i32, i32* %13
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds double, double* %214, i64 %216
store double %213, double* %217
%218 = load double, double* %16
%219 = fmul double 2.000000e+00, %218
%220 = load double, double* %17
%221 = fmul double %219, %220
%222 = load double*, double** %6
%223 = load i32, i32* %13
%224 = add nsw i32 %223, 1
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds double, double* %222, i64 %225
store double %221, double* %226
ret void
}

LLVM IR (-O2):
define void @mp_mul_rcsqu(i32 %0, double* nocapture %1, i32 %2, double* nocapture %3) {
%5 = ashr i32 %0, 1
%6 = icmp sgt i32 %0, 5
br i1 %6, label %9, label %7
7: ; preds = %4
%8 = sext i32 %5 to i64
br label %82
9: ; preds = %4
%10 = shl i32 %2, 2
%11 = sdiv i32 %10, %0
%12 = zext i32 %0 to i64
%13 = sext i32 %5 to i64
%14 = sext i32 %11 to i64
%15 = sext i32 %2 to i64
br label %16
16: ; preds = %9, %16
%17 = phi i64 [ 0, %9 ], [ %20, %16 ]
%18 = phi i64 [ 2, %9 ], [ %80, %16 ]
%19 = sub nsw i64 %12, %18
%20 = add nsw i64 %17, %14
%21 = sub nsw i64 %15, %20
%22 = getelementptr inbounds double, double* %3, i64 %21
%23 = load double, double* %22
%24 = fsub double 5.000000e-01, %23
%25 = getelementptr inbounds double, double* %3, i64 %20
%26 = load double, double* %25
%27 = getelementptr inbounds double, double* %1, i64 %18
%28 = load double, double* %27
%29 = getelementptr inbounds double, double* %1, i64 %19
%30 = load double, double* %29
%31 = fsub double %28, %30
%32 = or i64 %18, 1
%33 = getelementptr inbounds double, double* %1, i64 %32
%34 = load double, double* %33
%35 = add nsw i64 %19, 1
%36 = getelementptr inbounds double, double* %1, i64 %35
%37 = load double, double* %36
%38 = fadd double %34, %37
%39 = fneg double %26
%40 = fmul double %38, %39
%41 = tail call double @llvm.fmuladd.f64(double %24, double %31, double %40)
%42 = fmul double %26, %31
%43 = tail call double @llvm.fmuladd.f64(double %24, double %38, double %42)
%44 = fsub double %28, %41
%45 = fsub double %34, %43
%46 = fadd double %30, %41
%47 = fsub double %37, %43
%48 = fneg double %45
%49 = fmul double %45, %48
%50 = tail call double @llvm.fmuladd.f64(double %44, double %44, double %49)
%51 = fmul double %44, 2.000000e+00
%52 = fmul double %45, %51
%53 = fneg double %47
%54 = fmul double %47, %53
%55 = tail call double @llvm.fmuladd.f64(double %46, double %46, double %54)
%56 = fmul double %46, 2.000000e+00
%57 = fmul double %47, %56
%58 = insertelement <2 x double> poison, double %50, i64 0
%59 = insertelement <2 x double> %58, double %52, i64 1
%60 = insertelement <2 x double> poison, double %55, i64 0
%61 = insertelement <2 x double> %60, double %57, i64 1
%62 = fsub <2 x double> %59, %61
%63 = fadd <2 x double> %59, %61
%64 = shufflevector <2 x double> %62, <2 x double> %63, <2 x i32> <i32 0, i32 3>
%65 = insertelement <2 x double> poison, double %26, i64 0
%66 = shufflevector <2 x double> %65, <2 x double> %62, <2 x i32> <i32 0, i32 2>
%67 = extractelement <2 x double> %63, i64 1
%68 = insertelement <2 x double> poison, double %67, i64 0
%69 = insertelement <2 x double> %68, double %39, i64 1
%70 = fmul <2 x double> %66, %69
%71 = insertelement <2 x double> poison, double %24, 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> %72, <2 x double> %64, <2 x double> %70)
%74 = fsub <2 x double> %59, %73
%75 = bitcast double* %27 to <2 x double>*
store <2 x double> %74, <2 x double>* %75
%76 = extractelement <2 x double> %73, i64 0
%77 = fadd double %55, %76
store double %77, double* %29
%78 = extractelement <2 x double> %73, i64 1
%79 = fsub double %57, %78
store double %79, double* %36
%80 = add nuw nsw i64 %18, 2
%81 = icmp slt i64 %80, %13
br i1 %81, label %16, label %82
82: ; preds = %16, %7
%83 = phi i64 [ %8, %7 ], [ %13, %16 ]
%84 = getelementptr inbounds double, double* %1, i64 %83
%85 = load double, double* %84
%86 = add nsw i32 %5, 1
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, double* %1, i64 %87
%89 = load double, double* %88
%90 = fneg double %89
%91 = fmul double %89, %90
%92 = tail call double @llvm.fmuladd.f64(double %85, double %85, double %91)
store double %92, double* %84
%93 = fmul double %85, 2.000000e+00
%94 = fmul double %93, %89
store double %94, double* %88
ret void
}