#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 /*<<< orphan*/ btrfly(int, double, double, double, double, double, double,
                          double *, double *, double *, double *);
int /*<<< orphan*/ resetA(double *);
void cftmd21(int n, int l, double *a, double *w) {
  int j, k, k1;
  int m = l << 2;
  int m2 = 2 * m;
  int m3 = 3 * m;
  double *v = w + 1;
  double *b = a + l;
  double *c = a + l + l;
  double *d = a + l + l + l;
  for (k = m2, k1 = 2; k < n; k += m2, k1 += 2) {
    double wk2r = w[k1];
    double wk2i = v[k1];
    double wk1r = w[k1 + k1];
    double wk1i = v[k1 + k1];
    double wk3r = wk1r - 2 * wk2i * wk1i;
    double wk3i = 2 * wk2i * wk1r - wk1i;
#pragma mta use 100 streams
#pragma mta assert no dependence
    for (j = k; j < k + l; j += 2) {
      resetA(a);
      btrfly(j, wk1r, wk1i, wk2r, wk2i, wk3r, wk3i, a, b, c, d);
    }
    wk1r = w[k1 + k1 + 2];
    wk1i = v[k1 + k1 + 2];
    wk3r = wk1r - 2 * wk2r * wk1i;
    wk3i = 2 * wk2r * wk1r - wk1i;
#pragma mta use 100 streams
#pragma mta assert no dependence
    for (j = k + m; j < k + m + l; j += 2) {
      resetA(a);
      btrfly(j, wk1r, wk1i, -wk2i, wk2r, wk3r, wk3i, a, b, c, d);
    }
  }
}


x86 assembly (clang, -O0):
<cftmd21>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    -0x8(%rbp),%eax
shl    $0x2,%eax
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%eax
shl    $0x1,%eax
mov    %eax,-0x2c(%rbp)
imul   $0x3,-0x28(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x18(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0x8(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x8(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0x8(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0x8(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x20(%rbp)
movl   $0x2,-0x24(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1444 <cftmd21+0x324>
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x38(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x38(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x68(%rbp),%xmm1
movsd  0xdd0(%rip),%xmm0
mulsd  -0x60(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xd9a(%rip),%xmm0
mulsd  -0x60(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    -0x20(%rbp),%ecx
add    -0x8(%rbp),%ecx
cmp    %ecx,%eax
jge    12fd <cftmd21+0x1dd>
mov    -0x10(%rbp),%rdi
call   1040 <resetA@plt>
mov    -0x1c(%rbp),%edi
movsd  -0x68(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm3
movsd  -0x78(%rbp),%xmm4
movsd  -0x80(%rbp),%xmm5
mov    -0x10(%rbp),%rsi
mov    -0x40(%rbp),%rdx
mov    -0x48(%rbp),%rcx
mov    -0x50(%rbp),%r8
call   1030 <btrfly@plt>
mov    -0x1c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x1c(%rbp)
jmp    129f <cftmd21+0x17f>
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    -0x24(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x38(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    -0x24(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x68(%rbp),%xmm1
movsd  0xcc2(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xc8c(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x20(%rbp),%eax
add    -0x28(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    -0x20(%rbp),%ecx
add    -0x28(%rbp),%ecx
add    -0x8(%rbp),%ecx
cmp    %ecx,%eax
jge    1428 <cftmd21+0x308>
mov    -0x10(%rbp),%rdi
call   1040 <resetA@plt>
mov    -0x1c(%rbp),%edi
movsd  -0x68(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
movsd  -0x58(%rbp),%xmm3
movsd  -0x78(%rbp),%xmm4
movsd  -0x80(%rbp),%xmm5
mov    -0x10(%rbp),%rsi
mov    -0x40(%rbp),%rdx
mov    -0x48(%rbp),%rcx
mov    -0x50(%rbp),%r8
call   1030 <btrfly@plt>
mov    -0x1c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x1c(%rbp)
jmp    13b0 <cftmd21+0x290>
jmp    142d <cftmd21+0x30d>
mov    -0x2c(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x24(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x24(%rbp)
jmp    11c5 <cftmd21+0xa5>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cftmd21>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
mov    %rcx,0x18(%rsp)
mov    %rsi,(%rsp)
lea    0x0(,%rsi,8),%eax
mov    %edi,0x4c(%rsp)
mov    %eax,0xc(%rsp)
cmp    %edi,%eax
jge    134d <cftmd21+0x22d>
mov    %rdx,%rbx
mov    (%rsp),%rax
lea    0x0(,%rax,4),%ecx
mov    %rcx,0x70(%rsp)
cltq
lea    (%rdx,%rax,8),%r13
lea    0x0(%r13,%rax,8),%r14
lea    (%r14,%rax,8),%r12
mov    $0x2,%ecx
mov    0xc(%rsp),%eax
mov    %rax,0x10(%rsp)
jmp    11a1 <cftmd21+0x81>
mov    0x10(%rsp),%rax
add    0xc(%rsp),%eax
mov    0x20(%rsp),%rcx
add    $0x2,%rcx
mov    %rax,0x10(%rsp)
cmp    0x4c(%rsp),%eax
jge    134d <cftmd21+0x22d>
mov    0x18(%rsp),%rax
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,0x40(%rsp)
mov    %rcx,0x20(%rsp)
movsd  0x8(%rax,%rcx,8),%xmm0
movaps %xmm0,0x50(%rsp)
cmpl   $0x0,(%rsp)
jle    1275 <cftmd21+0x155>
mov    0x20(%rsp),%rax
shl    $0x4,%rax
mov    (%rsp),%rcx
mov    0x10(%rsp),%rdx
lea    (%rdx,%rcx,1),%r15d
mov    0x18(%rsp),%rcx
movsd  (%rcx,%rax,1),%xmm1
movsd  0x8(%rcx,%rax,1),%xmm2
movapd 0x50(%rsp),%xmm3
addsd  %xmm3,%xmm3
movapd %xmm3,%xmm0
mulsd  %xmm2,%xmm0
movapd %xmm1,%xmm4
subsd  %xmm0,%xmm4
movsd  %xmm4,0x28(%rsp)
movsd  %xmm1,0x38(%rsp)
mulsd  %xmm1,%xmm3
movsd  %xmm2,0x30(%rsp)
subsd  %xmm2,%xmm3
movapd %xmm3,0x60(%rsp)
mov    %edx,%ebp
nopl   (%rax)
mov    %rbx,%rdi
call   1040 <resetA@plt>
mov    %ebp,%edi
movsd  0x38(%rsp),%xmm0
movsd  0x30(%rsp),%xmm1
movsd  0x40(%rsp),%xmm2
movaps 0x50(%rsp),%xmm3
movsd  0x28(%rsp),%xmm4
movaps 0x60(%rsp),%xmm5
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r14,%rcx
mov    %r12,%r8
call   1030 <btrfly@plt>
add    $0x2,%ebp
cmp    %r15d,%ebp
jl     1230 <cftmd21+0x110>
cmpl   $0x0,(%rsp)
jle    1180 <cftmd21+0x60>
mov    0x20(%rsp),%rax
add    %rax,%rax
shl    $0x3,%rax
or     $0x10,%rax
mov    0x70(%rsp),%rcx
mov    0x10(%rsp),%rdx
lea    (%rdx,%rcx,1),%r15d
mov    (%rsp),%rcx
lea    (%r15,%rcx,1),%ebp
mov    0x18(%rsp),%rcx
movsd  (%rcx,%rax,1),%xmm1
movsd  0x8(%rcx,%rax,1),%xmm2
movsd  0x40(%rsp),%xmm3
addsd  %xmm3,%xmm3
movapd %xmm3,%xmm0
mulsd  %xmm2,%xmm0
movapd %xmm1,%xmm4
subsd  %xmm0,%xmm4
movsd  %xmm4,0x28(%rsp)
movsd  %xmm1,0x38(%rsp)
mulsd  %xmm1,%xmm3
movsd  %xmm2,0x30(%rsp)
subsd  %xmm2,%xmm3
movsd  %xmm3,0x60(%rsp)
movaps 0x50(%rsp),%xmm0
xorps  0xd05(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
mov    %rbx,%rdi
call   1040 <resetA@plt>
mov    %r15d,%edi
movsd  0x38(%rsp),%xmm0
movsd  0x30(%rsp),%xmm1
movaps 0x50(%rsp),%xmm2
movsd  0x40(%rsp),%xmm3
movsd  0x28(%rsp),%xmm4
movsd  0x60(%rsp),%xmm5
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r14,%rcx
mov    %r12,%r8
call   1030 <btrfly@plt>
add    $0x2,%r15d
cmp    %ebp,%r15d
jl     1300 <cftmd21+0x1e0>
jmp    1180 <cftmd21+0x60>
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @cftmd21(i32 %0, i32 %1, double* %2, double* nocapture %3) {
%5 = shl i32 %1, 2
%6 = shl i32 %1, 3
%7 = getelementptr inbounds double, double* %3, i64 1
%8 = sext i32 %1 to i64
%9 = getelementptr inbounds double, double* %2, i64 %8
%10 = getelementptr inbounds double, double* %9, i64 %8
%11 = getelementptr inbounds double, double* %10, i64 %8
%12 = icmp slt i32 %6, %0
br i1 %12, label %13, label %64
13: ; preds = %4
%14 = icmp sgt i32 %1, 0
br label %15
15: ; preds = %13, %60
%16 = phi i64 [ 2, %13 ], [ %62, %60 ]
%17 = phi i32 [ %6, %13 ], [ %61, %60 ]
%18 = getelementptr inbounds double, double* %3, i64 %16
%19 = load double, double* %18
%20 = getelementptr inbounds double, double* %7, i64 %16
%21 = load double, double* %20
%22 = shl nuw nsw i64 %16, 1
%23 = getelementptr inbounds double, double* %3, i64 %22
%24 = load double, double* %23
%25 = getelementptr inbounds double, double* %7, i64 %22
%26 = load double, double* %25
%27 = fmul double %21, 2.000000e+00
%28 = fneg double %27
%29 = tail call double @llvm.fmuladd.f64(double %28, double %26, double %24)
%30 = fneg double %26
%31 = tail call double @llvm.fmuladd.f64(double %27, double %24, double %30)
%32 = add nsw i32 %17, %1
br i1 %14, label %33, label %39
33: ; preds = %15, %33
%34 = phi i32 [ %37, %33 ], [ %17, %15 ]
%35 = tail call i32 @resetA(double* %2)
%36 = tail call i32 @btrfly(i32 %34, double %24, double %26, double %19, double %21, double %29, double %31, double* %2, double* %9, double* %10, double* %11)
%37 = add nsw i32 %34, 2
%38 = icmp slt i32 %37, %32
br i1 %38, label %33, label %39
39: ; preds = %33, %15
%40 = or i64 %22, 2
%41 = getelementptr inbounds double, double* %3, i64 %40
%42 = load double, double* %41
%43 = getelementptr inbounds double, double* %7, i64 %40
%44 = load double, double* %43
%45 = fmul double %19, 2.000000e+00
%46 = fneg double %45
%47 = tail call double @llvm.fmuladd.f64(double %46, double %44, double %42)
%48 = fneg double %44
%49 = tail call double @llvm.fmuladd.f64(double %45, double %42, double %48)
%50 = add nsw i32 %17, %5
%51 = add nsw i32 %50, %1
br i1 %14, label %52, label %60
52: ; preds = %39
%53 = fneg double %21
br label %54
54: ; preds = %52, %54
%55 = phi i32 [ %50, %52 ], [ %58, %54 ]
%56 = tail call i32 @resetA(double* %2)
%57 = tail call i32 @btrfly(i32 %55, double %42, double %44, double %53, double %19, double %47, double %49, double* %2, double* %9, double* %10, double* %11)
%58 = add nsw i32 %55, 2
%59 = icmp slt i32 %58, %51
br i1 %59, label %54, label %60
60: ; preds = %54, %39
%61 = add nsw i32 %17, %6
%62 = add nuw i64 %16, 2
%63 = icmp slt i32 %61, %0
br i1 %63, label %15, label %64
64: ; preds = %60, %4
ret void
}