#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 myPow(int, int);
void fft(double *dataA, double *dataB, double *wA, double *wB,
         int *bitRLocations) {
  int loop = 0;
  int innerLoop = 0;
  int butterflySize = 0;
  int butterflySizeHalf = 0;
  int currButterfly = 0;
  int pos1, pos2;
  int tfLocation = 0;
  double swapA;
  double swapB;
  for (loop = 0; loop < 64; loop++) {
    if (bitRLocations[loop] > loop) {
      swapA = dataA[loop];
      swapB = dataB[loop];
      dataA[loop] = dataA[bitRLocations[loop]];
      dataB[loop] = dataB[bitRLocations[loop]];
      dataA[bitRLocations[loop]] = swapA;
      dataB[bitRLocations[loop]] = swapB;
    }
  }
  for (loop = 1; myPow(2, loop) <= 64; loop += 1) {
    butterflySize = myPow(2, loop);
    for (innerLoop = 0; innerLoop < 64; innerLoop += butterflySize) {
      butterflySizeHalf = butterflySize >> 1;
      for (currButterfly = 0; currButterfly < butterflySizeHalf;
           currButterfly += 1) {
        pos1 = innerLoop + currButterfly;
        pos2 = pos1 + butterflySizeHalf;
        tfLocation = currButterfly * 64 >> loop;
        swapA = dataA[pos2] * wA[tfLocation] - dataB[pos2] * wB[tfLocation];
        swapB = dataA[pos2] * wB[tfLocation] + dataB[pos2] * wA[tfLocation];
        dataA[pos2] = dataA[pos1] - swapA;
        dataB[pos2] = dataB[pos1] - swapB;
        dataA[pos1] = dataA[pos1] + swapA;
        dataB[pos1] = dataB[pos1] + swapB;
      }
    }
  }
}


x86 assembly (clang, -O0):
<fft>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
movl   $0x0,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
movl   $0x0,-0x48(%rbp)
movl   $0x0,-0x2c(%rbp)
cmpl   $0x40,-0x2c(%rbp)
jge    122a <fft+0x11a>
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
cmp    -0x2c(%rbp),%eax
jle    1217 <fft+0x107>
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%rcx
movslq -0x2c(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%rcx
movslq -0x2c(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%rcx
movslq -0x2c(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%rcx
movslq -0x2c(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    121c <fft+0x10c>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    115d <fft+0x4d>
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%esi
mov    $0x2,%edi
call   1030 <myPow@plt>
cmp    $0x40,%eax
jg     13ed <fft+0x2dd>
mov    -0x2c(%rbp),%esi
mov    $0x2,%edi
call   1030 <myPow@plt>
mov    %eax,-0x34(%rbp)
movl   $0x0,-0x30(%rbp)
cmpl   $0x40,-0x30(%rbp)
jge    13da <fft+0x2ca>
mov    -0x34(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x38(%rbp),%eax
jge    13c7 <fft+0x2b7>
mov    -0x30(%rbp),%eax
add    -0x3c(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x40(%rbp),%eax
add    -0x38(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x3c(%rbp),%eax
shl    $0x6,%eax
mov    -0x2c(%rbp),%ecx
sar    %cl,%eax
mov    %eax,-0x48(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x48(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x10(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x20(%rbp),%rax
movslq -0x48(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x48(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x10(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x18(%rbp),%rax
movslq -0x48(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1278 <fft+0x168>
jmp    13cc <fft+0x2bc>
mov    -0x34(%rbp),%eax
add    -0x30(%rbp),%eax
mov    %eax,-0x30(%rbp)
jmp    125e <fft+0x14e>
jmp    13df <fft+0x2cf>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1231 <fft+0x121>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fft>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rcx,%r14
mov    %rdx,%r13
mov    %rsi,%rbx
mov    %rdi,%rbp
xor    %eax,%eax
jmp    113a <fft+0x2a>
xchg   %ax,%ax
add    $0x1,%rax
cmp    $0x40,%rax
je     1171 <fft+0x61>
movslq (%r8,%rax,4),%rcx
cmp    %rcx,%rax
jge    1130 <fft+0x20>
movsd  0x0(%rbp,%rax,8),%xmm0
movsd  (%rbx,%rax,8),%xmm1
movsd  0x0(%rbp,%rcx,8),%xmm2
movsd  %xmm2,0x0(%rbp,%rax,8)
movsd  (%rbx,%rcx,8),%xmm2
movsd  %xmm2,(%rbx,%rax,8)
movsd  %xmm0,0x0(%rbp,%rcx,8)
movsd  %xmm1,(%rbx,%rcx,8)
jmp    1130 <fft+0x20>
mov    $0x1,%r15d
mov    $0x2,%edi
mov    $0x1,%esi
call   1030 <myPow@plt>
cmp    $0x40,%eax
jg     12d1 <fft+0x1c1>
mov    %rbx,0x10(%rsp)
mov    %rbp,0x8(%rsp)
jmp    11c4 <fft+0xb4>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r15d
mov    $0x2,%edi
mov    %r15d,%esi
call   1030 <myPow@plt>
cmp    $0x41,%eax
mov    0x10(%rsp),%rbx
mov    0x8(%rsp),%rbp
jge    12d1 <fft+0x1c1>
mov    $0x2,%edi
mov    %r15d,%esi
call   1030 <myPow@plt>
mov    %eax,%ecx
sar    %ecx
movslq %ecx,%rcx
cmp    $0x2,%ecx
mov    $0x1,%r11d
cmovge %ecx,%r11d
mov    %eax,0x4(%rsp)
cltq
lea    0x0(,%rcx,8),%rdi
add    %rbp,%rdi
lea    0x0(,%rax,8),%r9
lea    (%rbx,%rcx,8),%rsi
xor    %r10d,%r10d
jmp    1229 <fft+0x119>
nopw   0x0(%rax,%rax,1)
add    %rax,%r10
add    %r9,%rdi
add    %r9,%rsi
add    %r9,%rbp
add    %r9,%rbx
cmp    $0x40,%r10
jge    11a0 <fft+0x90>
cmpl   $0x2,0x4(%rsp)
jl     1210 <fft+0x100>
xor    %edx,%edx
xor    %r12d,%r12d
cs nopw 0x0(%rax,%rax,1)
nop
mov    %edx,%r8d
mov    %r15d,%ecx
shr    %cl,%r8d
movsd  (%rdi,%r12,8),%xmm0
movslq %r8d,%rcx
movsd  0x0(%r13,%rcx,8),%xmm1
movsd  (%rsi,%r12,8),%xmm2
movsd  (%r14,%rcx,8),%xmm3
movapd %xmm0,%xmm4
mulsd  %xmm3,%xmm0
mulsd  %xmm2,%xmm3
mulsd  %xmm1,%xmm4
subsd  %xmm3,%xmm4
mulsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  0x0(%rbp,%r12,8),%xmm1
subsd  %xmm4,%xmm1
movsd  %xmm1,(%rdi,%r12,8)
movsd  (%rbx,%r12,8),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,(%rsi,%r12,8)
addsd  0x0(%rbp,%r12,8),%xmm4
movsd  %xmm4,0x0(%rbp,%r12,8)
addsd  (%rbx,%r12,8),%xmm0
movsd  %xmm0,(%rbx,%r12,8)
add    $0x1,%r12
add    $0x40,%edx
cmp    %r12,%r11
jne    1240 <fft+0x130>
jmp    1210 <fft+0x100>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @fft(double* nocapture %0, double* nocapture %1, double* nocapture %2, double* nocapture %3, i32* nocapture %4) {
br label %9
6: ; preds = %24
%7 = tail call i32 @myPow(i32 2, i32 1)
%8 = icmp slt i32 %7, 65
br i1 %8, label %27, label %78
9: ; preds = %5, %24
%10 = phi i64 [ 0, %5 ], [ %25, %24 ]
%11 = getelementptr inbounds i32, i32* %4, i64 %10
%12 = load i32, i32* %11
%13 = sext i32 %12 to i64
%14 = icmp slt i64 %10, %13
br i1 %14, label %15, label %24
15: ; preds = %9
%16 = getelementptr inbounds double, double* %0, i64 %10
%17 = load double, double* %16
%18 = getelementptr inbounds double, double* %1, i64 %10
%19 = load double, double* %18
%20 = getelementptr inbounds double, double* %0, i64 %13
%21 = load double, double* %20
store double %21, double* %16
%22 = getelementptr inbounds double, double* %1, i64 %13
%23 = load double, double* %22
store double %23, double* %18
store double %17, double* %20
store double %19, double* %22
br label %24
24: ; preds = %9, %15
%25 = add nuw nsw i64 %10, 1
%26 = icmp eq i64 %25, 64
br i1 %26, label %6, label %9
27: ; preds = %6, %74
%28 = phi i32 [ %75, %74 ], [ 1, %6 ]
%29 = tail call i32 @myPow(i32 2, i32 %28)
%30 = ashr i32 %29, 1
%31 = icmp sgt i32 %29, 1
%32 = sext i32 %30 to i64
%33 = call i32 @llvm.smax.i32(i32 %30, i32 1)
%34 = sext i32 %29 to i64
%35 = zext i32 %33 to i64
br label %36
36: ; preds = %27, %71
%37 = phi i64 [ 0, %27 ], [ %72, %71 ]
br i1 %31, label %38, label %71
38: ; preds = %36, %38
%39 = phi i64 [ %69, %38 ], [ 0, %36 ]
%40 = add nsw i64 %39, %37
%41 = add nsw i64 %40, %32
%42 = trunc i64 %39 to i32
%43 = shl i32 %42, 6
%44 = lshr i32 %43, %28
%45 = getelementptr inbounds double, double* %0, i64 %41
%46 = load double, double* %45
%47 = sext i32 %44 to i64
%48 = getelementptr inbounds double, double* %2, i64 %47
%49 = load double, double* %48
%50 = getelementptr inbounds double, double* %1, i64 %41
%51 = load double, double* %50
%52 = getelementptr inbounds double, double* %3, i64 %47
%53 = load double, double* %52
%54 = fneg double %51
%55 = fmul double %53, %54
%56 = tail call double @llvm.fmuladd.f64(double %46, double %49, double %55)
%57 = fmul double %49, %51
%58 = tail call double @llvm.fmuladd.f64(double %46, double %53, double %57)
%59 = getelementptr inbounds double, double* %0, i64 %40
%60 = load double, double* %59
%61 = fsub double %60, %56
store double %61, double* %45
%62 = getelementptr inbounds double, double* %1, i64 %40
%63 = load double, double* %62
%64 = fsub double %63, %58
store double %64, double* %50
%65 = load double, double* %59
%66 = fadd double %56, %65
store double %66, double* %59
%67 = load double, double* %62
%68 = fadd double %58, %67
store double %68, double* %62
%69 = add nuw nsw i64 %39, 1
%70 = icmp eq i64 %69, %35
br i1 %70, label %71, label %38
71: ; preds = %38, %36
%72 = add nsw i64 %37, %34
%73 = icmp slt i64 %72, 64
br i1 %73, label %36, label %74
74: ; preds = %71
%75 = add nuw nsw i32 %28, 1
%76 = tail call i32 @myPow(i32 2, i32 %75)
%77 = icmp slt i32 %76, 65
br i1 %77, label %27, label %78
78: ; preds = %74, %6
ret void
}