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


x86 assembly (clang, -O0):
<cftmd1>:
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)
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    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    -0x10(%rbp),%rdx
mov    -0x18(%rbp),%rcx
call   1040 <cftmd0@plt>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x20(%rbp)
movl   $0x2,-0x24(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    143e <cftmd1+0x31e>
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  0xdc4(%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  0xd8e(%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    -0x8(%rbp),%ecx
add    -0x20(%rbp),%ecx
cmp    %ecx,%eax
jge    1300 <cftmd1+0x1e0>
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    12ab <cftmd1+0x18b>
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  0xcbf(%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  0xc89(%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    -0x8(%rbp),%ecx
add    -0x20(%rbp),%ecx
add    -0x28(%rbp),%ecx
cmp    %ecx,%eax
jge    1422 <cftmd1+0x302>
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    13b3 <cftmd1+0x293>
jmp    1427 <cftmd1+0x307>
mov    -0x2c(%rbp),%eax
add    -0x20(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x24(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x24(%rbp)
jmp    11d1 <cftmd1+0xb1>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cftmd1>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
mov    %rdx,%r15
mov    %edi,%ebx
lea    0x0(,%rsi,8),%ebp
mov    %rsi,0x8(%rsp)
mov    %rcx,0x10(%rsp)
call   1040 <cftmd0@plt>
mov    %ebx,0x44(%rsp)
mov    %ebp,0x4(%rsp)
cmp    %ebx,%ebp
jge    135a <cftmd1+0x23a>
mov    0x8(%rsp),%rax
lea    0x0(,%rax,4),%ecx
mov    %rcx,0x70(%rsp)
cltq
lea    (%r15,%rax,8),%r14
lea    (%r14,%rax,8),%rbx
lea    (%rbx,%rax,8),%r12
mov    $0x2,%edx
mov    0x4(%rsp),%eax
jmp    11af <cftmd1+0x8f>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x18(%rsp),%rax
add    0x4(%rsp),%eax
mov    0x20(%rsp),%rdx
add    $0x2,%rdx
cmp    0x44(%rsp),%eax
mov    %rbp,%r15
jge    135a <cftmd1+0x23a>
mov    0x8(%rsp),%rcx
mov    %rax,0x18(%rsp)
lea    (%rax,%rcx,1),%r13d
mov    0x10(%rsp),%rax
movsd  (%rax,%rdx,8),%xmm2
mov    %rdx,0x20(%rsp)
movsd  0x8(%rax,%rdx,8),%xmm3
test   %ecx,%ecx
movsd  %xmm2,0x48(%rsp)
jle    1283 <cftmd1+0x163>
mov    0x20(%rsp),%rax
shl    $0x4,%rax
mov    0x10(%rsp),%rcx
movsd  (%rcx,%rax,1),%xmm1
movsd  0x8(%rcx,%rax,1),%xmm4
movapd %xmm3,%xmm5
addsd  %xmm3,%xmm5
movapd %xmm5,%xmm0
mulsd  %xmm4,%xmm0
movapd %xmm1,%xmm6
subsd  %xmm0,%xmm6
movsd  %xmm6,0x28(%rsp)
movsd  %xmm1,0x38(%rsp)
mulsd  %xmm1,%xmm5
movsd  %xmm4,0x30(%rsp)
subsd  %xmm4,%xmm5
movapd %xmm5,0x60(%rsp)
mov    0x18(%rsp),%rax
mov    %eax,%ebp
movapd %xmm3,0x50(%rsp)
xchg   %ax,%ax
mov    %ebp,%edi
movsd  0x38(%rsp),%xmm0
movsd  0x30(%rsp),%xmm1
movaps 0x50(%rsp),%xmm3
movsd  0x28(%rsp),%xmm4
movaps 0x60(%rsp),%xmm5
mov    %r15,%rsi
mov    %r14,%rdx
mov    %rbx,%rcx
mov    %r12,%r8
call   1030 <btrfly@plt>
movapd 0x50(%rsp),%xmm3
movsd  0x48(%rsp),%xmm2
add    $0x2,%ebp
cmp    %r13d,%ebp
jl     1240 <cftmd1+0x120>
cmpl   $0x0,0x8(%rsp)
mov    %r15,%rbp
jle    1190 <cftmd1+0x70>
mov    0x20(%rsp),%rax
add    %rax,%rax
shl    $0x3,%rax
or     $0x10,%rax
mov    0x70(%rsp),%rdx
add    %edx,%r13d
mov    0x10(%rsp),%rcx
movsd  (%rcx,%rax,1),%xmm1
movsd  0x8(%rcx,%rax,1),%xmm4
addsd  %xmm2,%xmm2
movapd %xmm2,%xmm0
mulsd  %xmm4,%xmm0
movapd %xmm1,%xmm5
subsd  %xmm0,%xmm5
movsd  %xmm5,0x28(%rsp)
movsd  %xmm1,0x38(%rsp)
mulsd  %xmm1,%xmm2
movsd  %xmm4,0x30(%rsp)
subsd  %xmm4,%xmm2
movsd  %xmm2,0x60(%rsp)
mov    0x18(%rsp),%rax
lea    (%rax,%rdx,1),%r15d
xorpd  0xd02(%rip),%xmm3
movapd %xmm3,0x50(%rsp)
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r15d,%edi
movsd  0x38(%rsp),%xmm0
movsd  0x30(%rsp),%xmm1
movapd %xmm3,%xmm2
movsd  0x48(%rsp),%xmm3
movsd  0x28(%rsp),%xmm4
movsd  0x60(%rsp),%xmm5
mov    %rbp,%rsi
mov    %r14,%rdx
mov    %rbx,%rcx
mov    %r12,%r8
call   1030 <btrfly@plt>
movapd 0x50(%rsp),%xmm3
add    $0x2,%r15d
cmp    %r13d,%r15d
jl     1310 <cftmd1+0x1f0>
jmp    1190 <cftmd1+0x70>
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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