#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(int);
int sin(int);
int sqrt(int);
void ft_r(double *restrict real, double *restrict imag, int n, int sign,
          double *restrict work_r, double *restrict work_i) {
  int j, k;
  double sum_r, sum_i, norm;
  double w_r, w_i, ww_r, ww_i, temp_r;
  for (k = 0; k < n; k++) {
    w_r = cos(2 * 3.14159265358979323846 * k / n);
    w_i = sin(2 * 3.14159265358979323846 * k / n) * sign;
    ww_r = 1;
    ww_i = 0;
    sum_r = 0;
    sum_i = 0;
    for (j = 0; j < n; j++) {
      sum_r += real[j] * ww_r - imag[j] * ww_i;
      sum_i += real[j] * ww_i + imag[j] * ww_r;
      temp_r = ww_r;
      ww_r = ww_r * w_r - ww_i * w_i;
      ww_i = temp_r * w_i + ww_i * w_r;
    }
    work_r[k] = sum_r;
    work_i[k] = sum_i;
  }
  norm = 1. / sqrt(n);
  for (k = 0; k < n; k++) {
    real[k] = work_r[k] * norm;
    imag[k] = work_i[k] * norm;
  }
}


x86 assembly (clang, -O0):
<ft_r>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1317 <ft_r+0x1e7>
cvtsi2sdl -0x30(%rbp),%xmm1
movsd  0xe9a(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsi2sdl -0x14(%rbp),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1040 <cos@plt>
movsd  %xmm0,-0x50(%rbp)
cvtsi2sdl -0x30(%rbp),%xmm1
movsd  0xe72(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsi2sdl -0x14(%rbp),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <sin@plt>
imul   -0x18(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xe3f(%rip),%xmm0
movsd  %xmm0,-0x60(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12e5 <ft_r+0x1b5>
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x60(%rbp),%xmm2
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  -0x68(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x68(%rbp),%xmm2
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
addsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x68(%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  -0x70(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    11e5 <ft_r+0xb5>
movsd  -0x38(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x40(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1155 <ft_r+0x25>
mov    -0x14(%rbp),%edi
call   1050 <sqrt@plt>
cvtsi2sd %eax,%xmm1
movsd  0xcd5(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1393 <ft_r+0x263>
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x48(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x48(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    133b <ft_r+0x20b>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ft_r>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %ecx,0xc(%rsp)
test   %edx,%edx
jle    1298 <ft_r+0x168>
mov    %r9,%r15
mov    %rsi,%r12
mov    %rdi,%rbx
mov    %r8,0x10(%rsp)
cvtsi2sd %edx,%xmm0
movsd  %xmm0,0x18(%rsp)
mov    %edx,0x8(%rsp)
mov    %edx,%ebp
xor    %r14d,%r14d
nopl   0x0(%rax,%rax,1)
xorps  %xmm0,%xmm0
cvtsi2sd %r14d,%xmm0
mulsd  0xe80(%rip),%xmm0
divsd  0x18(%rsp),%xmm0
cvttsd2si %xmm0,%r13d
mov    %r13d,%edi
call   1040 <cos@plt>
movapd %xmm0,0x20(%rsp)
mov    %r13d,%edi
call   1030 <sin@plt>
movapd 0xe67(%rip),%xmm1
imul   0xc(%rsp),%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd 0x20(%rsp),%xmm2
movapd %xmm2,%xmm8
unpcklpd %xmm0,%xmm8
unpcklpd %xmm2,%xmm0
xorpd  %xmm2,%xmm2
xor    %eax,%eax
movsd  0xe31(%rip),%xmm3
nopw   0x0(%rax,%rax,1)
movsd  (%r12,%rax,8),%xmm4
movapd %xmm4,%xmm5
xorpd  %xmm1,%xmm5
movapd %xmm3,%xmm6
unpckhpd %xmm3,%xmm6
movapd %xmm3,%xmm7
shufpd $0x1,%xmm3,%xmm7
unpcklpd %xmm4,%xmm5
mulpd  %xmm7,%xmm5
movsd  (%rbx,%rax,8),%xmm4
unpcklpd %xmm4,%xmm4
mulpd  %xmm3,%xmm4
addpd  %xmm5,%xmm4
addpd  %xmm4,%xmm2
xorpd  %xmm1,%xmm6
shufpd $0x2,%xmm3,%xmm6
mulpd  %xmm0,%xmm6
unpcklpd %xmm3,%xmm3
mulpd  %xmm8,%xmm3
addpd  %xmm6,%xmm3
add    $0x1,%rax
cmp    %rax,%rbp
jne    11e0 <ft_r+0xb0>
mov    0x10(%rsp),%rax
movlpd %xmm2,(%rax,%r14,8)
movhpd %xmm2,(%r15,%r14,8)
add    $0x1,%r14
cmp    %rbp,%r14
jne    1170 <ft_r+0x40>
mov    0x8(%rsp),%r14d
mov    %r14d,%edi
call   1050 <sqrt@plt>
test   %r14d,%r14d
mov    0x10(%rsp),%rdi
jle    13e7 <ft_r+0x2b7>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  0xd81(%rip),%xmm0
divsd  %xmm1,%xmm0
cmp    $0x4,%r14d
jae    12ad <ft_r+0x17d>
xor    %eax,%eax
jmp    13c0 <ft_r+0x290>
mov    %edx,%edi
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <sqrt@plt>
mov    %ebp,%eax
and    $0xfffffffc,%eax
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
lea    -0x4(%rax),%rcx
mov    %rcx,%rdx
shr    $0x2,%rdx
add    $0x1,%rdx
test   %rcx,%rcx
je     13f6 <ft_r+0x2c6>
mov    %rdx,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %ecx,%ecx
nopl   0x0(%rax,%rax,1)
movupd (%rdi,%rcx,8),%xmm2
movupd 0x10(%rdi,%rcx,8),%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm3
movupd %xmm2,(%rbx,%rcx,8)
movupd %xmm3,0x10(%rbx,%rcx,8)
movupd (%r15,%rcx,8),%xmm2
movupd 0x10(%r15,%rcx,8),%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm3
movupd %xmm2,(%r12,%rcx,8)
movupd %xmm3,0x10(%r12,%rcx,8)
movupd 0x20(%rdi,%rcx,8),%xmm2
movupd 0x30(%rdi,%rcx,8),%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm3
movupd %xmm2,0x20(%rbx,%rcx,8)
movupd %xmm3,0x30(%rbx,%rcx,8)
movupd 0x20(%r15,%rcx,8),%xmm2
movupd 0x30(%r15,%rcx,8),%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm3
movupd %xmm2,0x20(%r12,%rcx,8)
movupd %xmm3,0x30(%r12,%rcx,8)
add    $0x8,%rcx
add    $0xfffffffffffffffe,%rsi
jne    12e0 <ft_r+0x1b0>
test   $0x1,%dl
je     13b7 <ft_r+0x287>
movupd (%rdi,%rcx,8),%xmm2
movupd 0x10(%rdi,%rcx,8),%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm3
movupd %xmm2,(%rbx,%rcx,8)
movupd %xmm3,0x10(%rbx,%rcx,8)
movupd (%r15,%rcx,8),%xmm2
movupd 0x10(%r15,%rcx,8),%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm3
movupd %xmm2,(%r12,%rcx,8)
movupd %xmm3,0x10(%r12,%rcx,8)
cmp    %rbp,%rax
je     13e7 <ft_r+0x2b7>
nopl   0x0(%rax)
movsd  (%rdi,%rax,8),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx,%rax,8)
movsd  (%r15,%rax,8),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,(%r12,%rax,8)
add    $0x1,%rax
cmp    %rax,%rbp
jne    13c0 <ft_r+0x290>
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %ecx,%ecx
test   $0x1,%dl
jne    1377 <ft_r+0x247>
jmp    13b7 <ft_r+0x287>

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

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