#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*/ dft_4(double *, double *);
void FFT_8(int sofarRadix, int radix, int remainRadix, int groupOffset,
           double yRe[], double yIm[]) {
  int yIndx[8];
  int groupNo, blockNo, adr, i;
  double aRe[4], aIm[4], bRe[4], bIm[4], gem;
  adr = groupOffset;
  for (groupNo = 0; groupNo < remainRadix; groupNo++) {
    for (blockNo = 0; blockNo < radix; blockNo++) {
      yIndx[blockNo] = adr;
      adr = adr + sofarRadix;
    }
    i = 0;
    for (blockNo = 0; blockNo < radix; blockNo += 2) {
      aRe[i] = yRe[yIndx[blockNo]];
      aIm[i] = yIm[yIndx[blockNo]];
      i++;
    }
    i = 0;
    for (blockNo = 1; blockNo < radix; blockNo += 2) {
      bRe[i] = yRe[yIndx[blockNo]];
      bIm[i] = yIm[yIndx[blockNo]];
      i++;
    }
    dft_4(aRe, aIm);
    dft_4(bRe, bIm);
    gem = 0.7071067811865475244008443620 * (bRe[1] + bIm[1]);
    bIm[1] = 0.7071067811865475244008443620 * (bIm[1] - bRe[1]);
    bRe[1] = gem;
    gem = bIm[2];
    bIm[2] = -bRe[2];
    bRe[2] = gem;
    gem = 0.7071067811865475244008443620 * (bIm[3] - bRe[3]);
    bIm[3] = -0.7071067811865475244008443620 * (bRe[3] + bIm[3]);
    bRe[3] = gem;
    yRe[yIndx[0]] = aRe[0] + bRe[0];
    yRe[yIndx[4]] = aRe[0] - bRe[0];
    yRe[yIndx[1]] = aRe[1] + bRe[1];
    yRe[yIndx[5]] = aRe[1] - bRe[1];
    yRe[yIndx[2]] = aRe[2] + bRe[2];
    yRe[yIndx[6]] = aRe[2] - bRe[2];
    yRe[yIndx[3]] = aRe[3] + bRe[3];
    yRe[yIndx[7]] = aRe[3] - bRe[3];
    yIm[yIndx[0]] = aIm[0] + bIm[0];
    yIm[yIndx[4]] = aIm[0] - bIm[0];
    yIm[yIndx[1]] = aIm[1] + bIm[1];
    yIm[yIndx[5]] = aIm[1] - bIm[1];
    yIm[yIndx[2]] = aIm[2] + bIm[2];
    yIm[yIndx[6]] = aIm[2] - bIm[2];
    yIm[yIndx[3]] = aIm[3] + bIm[3];
    yIm[yIndx[7]] = aIm[3] - bIm[3];
    groupOffset = groupOffset + sofarRadix * radix;
    adr = groupOffset;
  }
}


x86 assembly (clang, -O0):
<FFT_8>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8,-0x18(%rbp)
mov    %r9,-0x20(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x4c(%rbp)
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1541 <FFT_8+0x431>
movl   $0x0,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    117d <FFT_8+0x6d>
mov    -0x4c(%rbp),%ecx
movslq -0x48(%rbp),%rax
mov    %ecx,-0x40(%rbp,%rax,4)
mov    -0x4c(%rbp),%eax
add    -0x4(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    114f <FFT_8+0x3f>
movl   $0x0,-0x50(%rbp)
movl   $0x0,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    11e9 <FFT_8+0xd9>
mov    -0x18(%rbp),%rax
movslq -0x48(%rbp),%rcx
movslq -0x40(%rbp,%rcx,4),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x50(%rbp),%rax
movsd  %xmm0,-0x70(%rbp,%rax,8)
mov    -0x20(%rbp),%rax
movslq -0x48(%rbp),%rcx
movslq -0x40(%rbp,%rcx,4),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x50(%rbp),%rax
movsd  %xmm0,-0x90(%rbp,%rax,8)
ff ff
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
mov    -0x48(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x48(%rbp)
jmp    118b <FFT_8+0x7b>
movl   $0x0,-0x50(%rbp)
movl   $0x1,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1258 <FFT_8+0x148>
mov    -0x18(%rbp),%rax
movslq -0x48(%rbp),%rcx
movslq -0x40(%rbp,%rcx,4),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x50(%rbp),%rax
movsd  %xmm0,-0xb0(%rbp,%rax,8)
ff ff
mov    -0x20(%rbp),%rax
movslq -0x48(%rbp),%rcx
movslq -0x40(%rbp,%rcx,4),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x50(%rbp),%rax
movsd  %xmm0,-0xd0(%rbp,%rax,8)
ff ff
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
mov    -0x48(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x48(%rbp)
jmp    11f7 <FFT_8+0xe7>
lea    -0x70(%rbp),%rdi
lea    -0x90(%rbp),%rsi
call   1030 <dft_4@plt>
lea    -0xb0(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
call   1030 <dft_4@plt>
movsd  -0xa8(%rbp),%xmm1
ff
addsd  -0xc8(%rbp),%xmm1
ff
movsd  0xd75(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0xc8(%rbp),%xmm1
ff
subsd  -0xa8(%rbp),%xmm1
ff
movsd  0xd51(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0xb8(%rbp),%xmm1
ff
subsd  -0x98(%rbp),%xmm1
ff
movsd  0xcd6(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x98(%rbp),%xmm1
ff
addsd  -0xb8(%rbp),%xmm1
ff
movsd  0xcaa(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
addsd  -0xb0(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
subsd  -0xb0(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x68(%rbp),%xmm0
addsd  -0xa8(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x68(%rbp),%xmm0
subsd  -0xa8(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x60(%rbp),%xmm0
addsd  -0xa0(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x60(%rbp),%xmm0
subsd  -0xa0(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x58(%rbp),%xmm0
addsd  -0x98(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x58(%rbp),%xmm0
subsd  -0x98(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x90(%rbp),%xmm0
ff
addsd  -0xd0(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x90(%rbp),%xmm0
ff
subsd  -0xd0(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x88(%rbp),%xmm0
ff
addsd  -0xc8(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x88(%rbp),%xmm0
ff
subsd  -0xc8(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x80(%rbp),%xmm0
addsd  -0xc0(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x80(%rbp),%xmm0
subsd  -0xc0(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x78(%rbp),%xmm0
addsd  -0xb8(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x78(%rbp),%xmm0
subsd  -0xb8(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%eax
mov    -0x4(%rbp),%ecx
imul   -0x8(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    113c <FFT_8+0x2c>
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<FFT_8>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x138,%rsp
mov    %edx,0x2c(%rsp)
test   %edx,%edx
jle    16c3 <FFT_8+0x5b3>
mov    %r9,%r14
mov    %r8,%rbx
mov    %esi,%r8d
mov    %edi,%r13d
mov    %esi,%eax
imul   %edi,%eax
mov    %eax,0x28(%rsp)
lea    -0x1(%r8),%eax
mov    %eax,0x20(%rsp)
shr    %eax
add    $0x1,%eax
lea    -0x2(%r8),%edx
mov    %edx,0x24(%rsp)
mov    %edx,%r15d
shr    %r15d
add    $0x1,%r15d
mov    %esi,%r12d
mov    %r12d,%edx
and    $0xfffffff8,%edx
lea    -0x8(%rdx),%rsi
mov    %rsi,0xd8(%rsp)
shr    $0x3,%rsi
add    $0x1,%rsi
mov    %rdx,0x38(%rsp)
imul   %edi,%edx
mov    %rdx,0xc0(%rsp)
movd   %edi,%xmm0
pshufd $0x0,%xmm0,%xmm2
movdqa 0xe61(%rip),%xmm0
pmuludq %xmm2,%xmm0
pshufd $0xe8,%xmm0,%xmm0
movdqa 0xe60(%rip),%xmm1
pmuludq %xmm2,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm0,%xmm1
movdqa %xmm1,0x110(%rsp)
pslld  $0x2,%xmm2
mov    %esi,%edx
and    $0x3,%edx
and    $0xfffffffffffffffc,%rsi
mov    %rsi,0xc8(%rsp)
mov    %rax,0xe0(%rsp)
mov    %eax,%edi
and    $0xfffffffe,%edi
mov    %r15,0xe8(%rsp)
and    $0xfffffffe,%r15d
mov    %rdx,0xd0(%rsp)
shl    $0x5,%rdx
mov    %rdx,0x30(%rsp)
xor    %eax,%eax
mov    %r8,0xf8(%rsp)
movdqa %xmm2,0x120(%rsp)
mov    %rdi,0xf0(%rsp)
jmp    144e <FFT_8+0x33e>
cs nopw 0x0(%rax,%rax,1)
lea    0xa0(%rsp),%rdi
lea    0x80(%rsp),%rsi
call   1030 <dft_4@plt>
lea    0x60(%rsp),%rdi
lea    0x40(%rsp),%rsi
call   1030 <dft_4@plt>
movsd  0x60(%rsp),%xmm8
movsd  0x68(%rsp),%xmm1
movsd  0x48(%rsp),%xmm0
movsd  0x50(%rsp),%xmm3
movapd %xmm1,%xmm5
addsd  %xmm0,%xmm5
movsd  0xdb3(%rip),%xmm6
mulsd  %xmm6,%xmm5
subsd  %xmm1,%xmm0
mulsd  %xmm6,%xmm0
movsd  %xmm0,0x48(%rsp)
movsd  %xmm5,0x68(%rsp)
movsd  0x70(%rsp),%xmm2
movapd %xmm2,%xmm1
xorpd  0xd79(%rip),%xmm1
movlpd %xmm1,0x50(%rsp)
movsd  %xmm3,0x70(%rsp)
movsd  0x58(%rsp),%xmm1
movsd  0x78(%rsp),%xmm7
movapd %xmm1,%xmm4
subsd  %xmm7,%xmm4
mulsd  %xmm6,%xmm4
addsd  %xmm7,%xmm1
mulsd  0xd61(%rip),%xmm1
movsd  %xmm1,0x58(%rsp)
movsd  %xmm4,0x78(%rsp)
movsd  0xa0(%rsp),%xmm7
movapd %xmm7,%xmm6
addsd  %xmm8,%xmm6
movslq (%rsp),%r8
movsd  %xmm6,(%rbx,%r8,8)
subsd  %xmm8,%xmm7
movslq 0x10(%rsp),%r9
movsd  %xmm7,(%rbx,%r9,8)
movsd  0xa8(%rsp),%xmm6
movapd %xmm5,%xmm7
addsd  %xmm6,%xmm7
movslq 0x4(%rsp),%rdx
movsd  %xmm7,(%rbx,%rdx,8)
subsd  %xmm5,%xmm6
movslq 0x14(%rsp),%rsi
movsd  %xmm6,(%rbx,%rsi,8)
movsd  0xb0(%rsp),%xmm5
movapd %xmm3,%xmm6
addsd  %xmm5,%xmm6
movslq 0x8(%rsp),%rdi
movsd  %xmm6,(%rbx,%rdi,8)
subsd  %xmm3,%xmm5
movslq 0x18(%rsp),%rbp
movsd  %xmm5,(%rbx,%rbp,8)
movsd  0xb8(%rsp),%xmm3
movapd %xmm4,%xmm5
addsd  %xmm3,%xmm5
movslq 0xc(%rsp),%rax
movsd  %xmm5,(%rbx,%rax,8)
subsd  %xmm4,%xmm3
movslq 0x1c(%rsp),%rcx
movsd  %xmm3,(%rbx,%rcx,8)
movsd  0x80(%rsp),%xmm3
movsd  0x40(%rsp),%xmm4
movapd %xmm3,%xmm5
addsd  %xmm4,%xmm5
movsd  %xmm5,(%r14,%r8,8)
mov    0xf8(%rsp),%r8
subsd  %xmm4,%xmm3
movsd  %xmm3,(%r14,%r9,8)
movsd  0x88(%rsp),%xmm3
movapd %xmm0,%xmm4
addsd  %xmm3,%xmm4
movsd  %xmm4,(%r14,%rdx,8)
subsd  %xmm0,%xmm3
movsd  %xmm3,(%r14,%rsi,8)
movsd  0x90(%rsp),%xmm0
movapd %xmm0,%xmm3
subsd  %xmm2,%xmm3
movsd  %xmm3,(%r14,%rdi,8)
addsd  %xmm0,%xmm2
movsd  %xmm2,(%r14,%rbp,8)
movsd  0x98(%rsp),%xmm0
movapd %xmm1,%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,(%r14,%rax,8)
subsd  %xmm1,%xmm0
movsd  %xmm0,(%r14,%rcx,8)
mov    0x108(%rsp),%rcx
add    0x28(%rsp),%ecx
mov    0x100(%rsp),%rax
add    $0x1,%eax
cmp    0x2c(%rsp),%eax
movdqa 0x120(%rsp),%xmm2
mov    0xf0(%rsp),%rdi
je     16c3 <FFT_8+0x5b3>
mov    %rax,0x100(%rsp)
test   %r8d,%r8d
jle    1610 <FFT_8+0x500>
cmp    $0x8,%r8d
jae    1470 <FFT_8+0x360>
xor    %eax,%eax
mov    %ecx,%edx
jmp    1560 <FFT_8+0x450>
xchg   %ax,%ax
movd   %ecx,%xmm0
pshufd $0x0,%xmm0,%xmm0
paddd  0x110(%rsp),%xmm0
cmpq   $0x18,0xd8(%rsp)
jae    1496 <FFT_8+0x386>
xor    %eax,%eax
mov    0x30(%rsp),%rsi
jmp    1509 <FFT_8+0x3f9>
mov    0xc8(%rsp),%rdx
xor    %eax,%eax
mov    0x30(%rsp),%rsi
cs nopw 0x0(%rax,%rax,1)
nop
movdqa %xmm0,(%rsp,%rax,4)
paddd  %xmm2,%xmm0
movdqa %xmm0,0x10(%rsp,%rax,4)
paddd  %xmm2,%xmm0
movdqa %xmm0,0x20(%rsp,%rax,4)
paddd  %xmm2,%xmm0
movdqa %xmm0,0x30(%rsp,%rax,4)
paddd  %xmm2,%xmm0
movdqa %xmm0,0x40(%rsp,%rax,4)
paddd  %xmm2,%xmm0
movdqa %xmm0,0x50(%rsp,%rax,4)
paddd  %xmm2,%xmm0
movdqa %xmm0,0x60(%rsp,%rax,4)
paddd  %xmm2,%xmm0
movdqa %xmm0,0x70(%rsp,%rax,4)
add    $0x20,%rax
paddd  %xmm2,%xmm0
add    $0xfffffffffffffffc,%rdx
jne    14b0 <FFT_8+0x3a0>
cmpq   $0x0,0xd0(%rsp)
je     153c <FFT_8+0x42c>
lea    0x10(%rsp),%rdx
lea    (%rdx,%rax,4),%rax
xor    %edx,%edx
nop
movdqa %xmm0,-0x10(%rax,%rdx,1)
paddd  %xmm2,%xmm0
movdqa %xmm0,(%rax,%rdx,1)
paddd  %xmm2,%xmm0
add    $0x20,%rdx
cmp    %rdx,%rsi
jne    1520 <FFT_8+0x410>
cmp    %r12,0x38(%rsp)
je     156f <FFT_8+0x45f>
mov    0xc0(%rsp),%rax
lea    (%rcx,%rax,1),%edx
mov    0x38(%rsp),%rax
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %edx,(%rsp,%rax,4)
add    %r13d,%edx
add    $0x1,%rax
cmp    %rax,%r12
jne    1560 <FFT_8+0x450>
test   %r8d,%r8d
jle    1610 <FFT_8+0x500>
cmpl   $0x2,0x20(%rsp)
jae    1585 <FFT_8+0x475>
xor    %esi,%esi
xor    %eax,%eax
jmp    15e0 <FFT_8+0x4d0>
xor    %esi,%esi
xor    %eax,%eax
nopl   0x0(%rax)
movslq (%rsp,%rsi,4),%rdx
movsd  (%rbx,%rdx,8),%xmm0
movsd  %xmm0,0xa0(%rsp,%rsi,4)
movsd  (%r14,%rdx,8),%xmm0
movsd  %xmm0,0x80(%rsp,%rsi,4)
movslq 0x8(%rsp,%rsi,4),%rdx
movsd  (%rbx,%rdx,8),%xmm0
movsd  %xmm0,0xa8(%rsp,%rsi,4)
movq   (%r14,%rdx,8),%xmm0
movq   %xmm0,0x88(%rsp,%rsi,4)
add    $0x2,%rax
add    $0x4,%rsi
cmp    %rax,%rdi
jne    1590 <FFT_8+0x480>
testb  $0x1,0xe0(%rsp)
01
je     1610 <FFT_8+0x500>
movslq (%rsp,%rsi,4),%rdx
movsd  (%rbx,%rdx,8),%xmm0
movsd  %xmm0,0xa0(%rsp,%rax,8)
movq   (%r14,%rdx,8),%xmm0
movq   %xmm0,0x80(%rsp,%rax,8)
nopl   0x0(%rax,%rax,1)
mov    %rcx,0x108(%rsp)
cmp    $0x2,%r8d
jl     1230 <FFT_8+0x120>
cmpl   $0x2,0x24(%rsp)
jae    1640 <FFT_8+0x530>
mov    $0x1,%eax
xor    %ecx,%ecx
jmp    1695 <FFT_8+0x585>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    $0x1,%eax
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
movslq 0x4(%rsp,%rcx,8),%rdx
movsd  (%rbx,%rdx,8),%xmm0
movsd  %xmm0,0x60(%rsp,%rcx,8)
movsd  (%r14,%rdx,8),%xmm0
movsd  %xmm0,0x40(%rsp,%rcx,8)
movslq 0xc(%rsp,%rcx,8),%rdx
movsd  (%rbx,%rdx,8),%xmm0
movsd  %xmm0,0x68(%rsp,%rcx,8)
movq   (%r14,%rdx,8),%xmm0
movq   %xmm0,0x48(%rsp,%rcx,8)
add    $0x2,%rcx
add    $0x4,%rax
cmp    %rcx,%r15
jne    1650 <FFT_8+0x540>
testb  $0x1,0xe8(%rsp)
01
je     1230 <FFT_8+0x120>
movslq (%rsp,%rax,4),%rax
movsd  (%rbx,%rax,8),%xmm0
movsd  %xmm0,0x60(%rsp,%rcx,8)
movq   (%r14,%rax,8),%xmm0
movq   %xmm0,0x40(%rsp,%rcx,8)
jmp    1230 <FFT_8+0x120>
add    $0x138,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @FFT_8(i32 %0, i32 %1, i32 %2, i32 %3, double* %4, double* %5) {
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca double*
%12 = alloca double*
%13 = alloca [8 x i32]
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca [4 x double]
%19 = alloca [4 x double]
%20 = alloca [4 x double]
%21 = alloca [4 x double]
%22 = alloca double
store i32 %0, i32* %7
store i32 %1, i32* %8
store i32 %2, i32* %9
store i32 %3, i32* %10
store double* %4, double** %11
store double* %5, double** %12
%23 = load i32, i32* %10
store i32 %23, i32* %16
store i32 0, i32* %14
br label %24
24: ; preds = %321, %6
%25 = load i32, i32* %14
%26 = load i32, i32* %9
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %324
28: ; preds = %24
store i32 0, i32* %15
br label %29
29: ; preds = %41, %28
%30 = load i32, i32* %15
%31 = load i32, i32* %8
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %44
33: ; preds = %29
%34 = load i32, i32* %16
%35 = load i32, i32* %15
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 %36
store i32 %34, i32* %37
%38 = load i32, i32* %16
%39 = load i32, i32* %7
%40 = add nsw i32 %38, %39
store i32 %40, i32* %16
br label %41
41: ; preds = %33
%42 = load i32, i32* %15
%43 = add nsw i32 %42, 1
store i32 %43, i32* %15
br label %29
44: ; preds = %29
store i32 0, i32* %17
store i32 0, i32* %15
br label %45
45: ; preds = %74, %44
%46 = load i32, i32* %15
%47 = load i32, i32* %8
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %77
49: ; preds = %45
%50 = load double*, double** %11
%51 = load i32, i32* %15
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 %52
%54 = load i32, i32* %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, double* %50, i64 %55
%57 = load double, double* %56
%58 = load i32, i32* %17
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [4 x double], [4 x double]* %18, i64 0, i64 %59
store double %57, double* %60
%61 = load double*, double** %12
%62 = load i32, i32* %15
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 %63
%65 = load i32, i32* %64
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, double* %61, i64 %66
%68 = load double, double* %67
%69 = load i32, i32* %17
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [4 x double], [4 x double]* %19, i64 0, i64 %70
store double %68, double* %71
%72 = load i32, i32* %17
%73 = add nsw i32 %72, 1
store i32 %73, i32* %17
br label %74
74: ; preds = %49
%75 = load i32, i32* %15
%76 = add nsw i32 %75, 2
store i32 %76, i32* %15
br label %45
77: ; preds = %45
store i32 0, i32* %17
store i32 1, i32* %15
br label %78
78: ; preds = %107, %77
%79 = load i32, i32* %15
%80 = load i32, i32* %8
%81 = icmp slt i32 %79, %80
br i1 %81, label %82, label %110
82: ; preds = %78
%83 = load double*, double** %11
%84 = load i32, i32* %15
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 %85
%87 = load i32, i32* %86
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, double* %83, i64 %88
%90 = load double, double* %89
%91 = load i32, i32* %17
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 %92
store double %90, double* %93
%94 = load double*, double** %12
%95 = load i32, i32* %15
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 %96
%98 = load i32, i32* %97
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, double* %94, i64 %99
%101 = load double, double* %100
%102 = load i32, i32* %17
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 %103
store double %101, double* %104
%105 = load i32, i32* %17
%106 = add nsw i32 %105, 1
store i32 %106, i32* %17
br label %107
107: ; preds = %82
%108 = load i32, i32* %15
%109 = add nsw i32 %108, 2
store i32 %109, i32* %15
br label %78
110: ; preds = %78
%111 = getelementptr inbounds [4 x double], [4 x double]* %18, i64 0, i64 0
%112 = getelementptr inbounds [4 x double], [4 x double]* %19, i64 0, i64 0
%113 = call i32 @dft_4(double* %111, double* %112)
%114 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 0
%115 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 0
%116 = call i32 @dft_4(double* %114, double* %115)
%117 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 1
%118 = load double, double* %117
%119 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 1
%120 = load double, double* %119
%121 = fadd double %118, %120
%122 = fmul double 0x3FE6A09E667F3BCD, %121
store double %122, double* %22
%123 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 1
%124 = load double, double* %123
%125 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 1
%126 = load double, double* %125
%127 = fsub double %124, %126
%128 = fmul double 0x3FE6A09E667F3BCD, %127
%129 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 1
store double %128, double* %129
%130 = load double, double* %22
%131 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 1
store double %130, double* %131
%132 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 2
%133 = load double, double* %132
store double %133, double* %22
%134 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 2
%135 = load double, double* %134
%136 = fneg double %135
%137 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 2
store double %136, double* %137
%138 = load double, double* %22
%139 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 2
store double %138, double* %139
%140 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 3
%141 = load double, double* %140
%142 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 3
%143 = load double, double* %142
%144 = fsub double %141, %143
%145 = fmul double 0x3FE6A09E667F3BCD, %144
store double %145, double* %22
%146 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 3
%147 = load double, double* %146
%148 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 3
%149 = load double, double* %148
%150 = fadd double %147, %149
%151 = fmul double 0xBFE6A09E667F3BCD, %150
%152 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 3
store double %151, double* %152
%153 = load double, double* %22
%154 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 3
store double %153, double* %154
%155 = getelementptr inbounds [4 x double], [4 x double]* %18, i64 0, i64 0
%156 = load double, double* %155
%157 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 0
%158 = load double, double* %157
%159 = fadd double %156, %158
%160 = load double*, double** %11
%161 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 0
%162 = load i32, i32* %161
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds double, double* %160, i64 %163
store double %159, double* %164
%165 = getelementptr inbounds [4 x double], [4 x double]* %18, i64 0, i64 0
%166 = load double, double* %165
%167 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 0
%168 = load double, double* %167
%169 = fsub double %166, %168
%170 = load double*, double** %11
%171 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 4
%172 = load i32, i32* %171
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds double, double* %170, i64 %173
store double %169, double* %174
%175 = getelementptr inbounds [4 x double], [4 x double]* %18, i64 0, i64 1
%176 = load double, double* %175
%177 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 1
%178 = load double, double* %177
%179 = fadd double %176, %178
%180 = load double*, double** %11
%181 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 1
%182 = load i32, i32* %181
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds double, double* %180, i64 %183
store double %179, double* %184
%185 = getelementptr inbounds [4 x double], [4 x double]* %18, i64 0, i64 1
%186 = load double, double* %185
%187 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 1
%188 = load double, double* %187
%189 = fsub double %186, %188
%190 = load double*, double** %11
%191 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 5
%192 = load i32, i32* %191
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds double, double* %190, i64 %193
store double %189, double* %194
%195 = getelementptr inbounds [4 x double], [4 x double]* %18, i64 0, i64 2
%196 = load double, double* %195
%197 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 2
%198 = load double, double* %197
%199 = fadd double %196, %198
%200 = load double*, double** %11
%201 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 2
%202 = load i32, i32* %201
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds double, double* %200, i64 %203
store double %199, double* %204
%205 = getelementptr inbounds [4 x double], [4 x double]* %18, i64 0, i64 2
%206 = load double, double* %205
%207 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 2
%208 = load double, double* %207
%209 = fsub double %206, %208
%210 = load double*, double** %11
%211 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 6
%212 = load i32, i32* %211
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds double, double* %210, i64 %213
store double %209, double* %214
%215 = getelementptr inbounds [4 x double], [4 x double]* %18, i64 0, i64 3
%216 = load double, double* %215
%217 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 3
%218 = load double, double* %217
%219 = fadd double %216, %218
%220 = load double*, double** %11
%221 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 3
%222 = load i32, i32* %221
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds double, double* %220, i64 %223
store double %219, double* %224
%225 = getelementptr inbounds [4 x double], [4 x double]* %18, i64 0, i64 3
%226 = load double, double* %225
%227 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 3
%228 = load double, double* %227
%229 = fsub double %226, %228
%230 = load double*, double** %11
%231 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 7
%232 = load i32, i32* %231
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds double, double* %230, i64 %233
store double %229, double* %234
%235 = getelementptr inbounds [4 x double], [4 x double]* %19, i64 0, i64 0
%236 = load double, double* %235
%237 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 0
%238 = load double, double* %237
%239 = fadd double %236, %238
%240 = load double*, double** %12
%241 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 0
%242 = load i32, i32* %241
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds double, double* %240, i64 %243
store double %239, double* %244
%245 = getelementptr inbounds [4 x double], [4 x double]* %19, i64 0, i64 0
%246 = load double, double* %245
%247 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 0
%248 = load double, double* %247
%249 = fsub double %246, %248
%250 = load double*, double** %12
%251 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 4
%252 = load i32, i32* %251
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds double, double* %250, i64 %253
store double %249, double* %254
%255 = getelementptr inbounds [4 x double], [4 x double]* %19, i64 0, i64 1
%256 = load double, double* %255
%257 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 1
%258 = load double, double* %257
%259 = fadd double %256, %258
%260 = load double*, double** %12
%261 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 1
%262 = load i32, i32* %261
%263 = sext i32 %262 to i64
%264 = getelementptr inbounds double, double* %260, i64 %263
store double %259, double* %264
%265 = getelementptr inbounds [4 x double], [4 x double]* %19, i64 0, i64 1
%266 = load double, double* %265
%267 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 1
%268 = load double, double* %267
%269 = fsub double %266, %268
%270 = load double*, double** %12
%271 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 5
%272 = load i32, i32* %271
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds double, double* %270, i64 %273
store double %269, double* %274
%275 = getelementptr inbounds [4 x double], [4 x double]* %19, i64 0, i64 2
%276 = load double, double* %275
%277 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 2
%278 = load double, double* %277
%279 = fadd double %276, %278
%280 = load double*, double** %12
%281 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 2
%282 = load i32, i32* %281
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds double, double* %280, i64 %283
store double %279, double* %284
%285 = getelementptr inbounds [4 x double], [4 x double]* %19, i64 0, i64 2
%286 = load double, double* %285
%287 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 2
%288 = load double, double* %287
%289 = fsub double %286, %288
%290 = load double*, double** %12
%291 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 6
%292 = load i32, i32* %291
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds double, double* %290, i64 %293
store double %289, double* %294
%295 = getelementptr inbounds [4 x double], [4 x double]* %19, i64 0, i64 3
%296 = load double, double* %295
%297 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 3
%298 = load double, double* %297
%299 = fadd double %296, %298
%300 = load double*, double** %12
%301 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 3
%302 = load i32, i32* %301
%303 = sext i32 %302 to i64
%304 = getelementptr inbounds double, double* %300, i64 %303
store double %299, double* %304
%305 = getelementptr inbounds [4 x double], [4 x double]* %19, i64 0, i64 3
%306 = load double, double* %305
%307 = getelementptr inbounds [4 x double], [4 x double]* %21, i64 0, i64 3
%308 = load double, double* %307
%309 = fsub double %306, %308
%310 = load double*, double** %12
%311 = getelementptr inbounds [8 x i32], [8 x i32]* %13, i64 0, i64 7
%312 = load i32, i32* %311
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds double, double* %310, i64 %313
store double %309, double* %314
%315 = load i32, i32* %10
%316 = load i32, i32* %7
%317 = load i32, i32* %8
%318 = mul nsw i32 %316, %317
%319 = add nsw i32 %315, %318
store i32 %319, i32* %10
%320 = load i32, i32* %10
store i32 %320, i32* %16
br label %321
321: ; preds = %110
%322 = load i32, i32* %14
%323 = add nsw i32 %322, 1
store i32 %323, i32* %14
br label %24
324: ; preds = %24
ret void
}

LLVM IR (-O2):
define void @FFT_8(i32 %0, i32 %1, i32 %2, i32 %3, double* nocapture %4, double* nocapture %5) {
%7 = alloca [8 x i32]
%8 = alloca [4 x double]
%9 = alloca [4 x double]
%10 = alloca [4 x double]
%11 = alloca [4 x double]
%12 = bitcast [8 x i32]* %7 to i8*
%13 = bitcast [4 x double]* %8 to i8*
%14 = bitcast [4 x double]* %9 to i8*
%15 = bitcast [4 x double]* %10 to i8*
%16 = bitcast [4 x double]* %11 to i8*
%17 = icmp sgt i32 %2, 0
br i1 %17, label %18, label %317
18: ; preds = %6
%19 = icmp sgt i32 %1, 0
%20 = icmp sgt i32 %1, 1
%21 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 0
%22 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 0
%23 = getelementptr inbounds [4 x double], [4 x double]* %10, i64 0, i64 0
%24 = getelementptr inbounds [4 x double], [4 x double]* %11, i64 0, i64 0
%25 = getelementptr inbounds [4 x double], [4 x double]* %10, i64 0, i64 1
%26 = getelementptr inbounds [4 x double], [4 x double]* %11, i64 0, i64 1
%27 = getelementptr inbounds [4 x double], [4 x double]* %11, i64 0, i64 2
%28 = getelementptr inbounds [4 x double], [4 x double]* %10, i64 0, i64 2
%29 = getelementptr inbounds [4 x double], [4 x double]* %11, i64 0, i64 3
%30 = getelementptr inbounds [4 x double], [4 x double]* %10, i64 0, i64 3
%31 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 0
%32 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 4
%33 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 1
%34 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 1
%35 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 5
%36 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 2
%37 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 2
%38 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 6
%39 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 3
%40 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 3
%41 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 7
%42 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 1
%43 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 2
%44 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 3
%45 = mul nsw i32 %1, %0
%46 = add i32 %1, -1
%47 = lshr i32 %46, 1
%48 = add nuw i32 %47, 1
%49 = add i32 %1, -2
%50 = lshr i32 %49, 1
%51 = add nuw i32 %50, 1
%52 = zext i32 %1 to i64
%53 = zext i32 %48 to i64
%54 = zext i32 %51 to i64
%55 = and i64 %52, 4294967288
%56 = add nsw i64 %55, -8
%57 = lshr exact i64 %56, 3
%58 = add nuw nsw i64 %57, 1
%59 = icmp ult i32 %1, 8
%60 = and i64 %52, 4294967288
%61 = trunc i64 %60 to i32
%62 = mul i32 %61, %0
%63 = insertelement <4 x i32> poison, i32 %0, i64 0
%64 = shufflevector <4 x i32> %63, <4 x i32> poison, <4 x i32> zeroinitializer
%65 = mul <4 x i32> %64, <i32 0, i32 1, i32 2, i32 3>
%66 = shl i32 %0, 2
%67 = insertelement <4 x i32> poison, i32 %66, i64 0
%68 = shufflevector <4 x i32> %67, <4 x i32> poison, <4 x i32> zeroinitializer
%69 = and i64 %58, 3
%70 = icmp ult i64 %56, 24
%71 = and i64 %58, 4611686018427387900
%72 = icmp eq i64 %69, 0
%73 = icmp eq i64 %60, %52
%74 = and i64 %53, 1
%75 = icmp ult i32 %46, 2
%76 = and i64 %53, 4294967294
%77 = icmp eq i64 %74, 0
%78 = and i64 %54, 1
%79 = icmp ult i32 %49, 2
%80 = and i64 %54, 4294967294
%81 = icmp eq i64 %78, 0
br label %82
82: ; preds = %18, %238
%83 = phi i32 [ %3, %18 ], [ %314, %238 ]
%84 = phi i32 [ 0, %18 ], [ %315, %238 ]
br i1 %19, label %85, label %167
85: ; preds = %82
br i1 %59, label %142, label %86
86: ; preds = %85
%87 = add i32 %83, %62
%88 = insertelement <4 x i32> poison, i32 %83, i64 0
%89 = shufflevector <4 x i32> %88, <4 x i32> poison, <4 x i32> zeroinitializer
%90 = add <4 x i32> %89, %65
br i1 %70, label %125, label %91
91: ; preds = %86, %91
%92 = phi i64 [ %121, %91 ], [ 0, %86 ]
%93 = phi <4 x i32> [ %122, %91 ], [ %90, %86 ]
%94 = phi i64 [ %123, %91 ], [ 0, %86 ]
%95 = add <4 x i32> %93, %68
%96 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %92
%97 = bitcast i32* %96 to <4 x i32>*
store <4 x i32> %93, <4 x i32>* %97
%98 = getelementptr inbounds i32, i32* %96, i64 4
%99 = bitcast i32* %98 to <4 x i32>*
store <4 x i32> %95, <4 x i32>* %99
%100 = or i64 %92, 8
%101 = add <4 x i32> %95, %68
%102 = add <4 x i32> %101, %68
%103 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %100
%104 = bitcast i32* %103 to <4 x i32>*
store <4 x i32> %101, <4 x i32>* %104
%105 = getelementptr inbounds i32, i32* %103, i64 4
%106 = bitcast i32* %105 to <4 x i32>*
store <4 x i32> %102, <4 x i32>* %106
%107 = or i64 %92, 16
%108 = add <4 x i32> %102, %68
%109 = add <4 x i32> %108, %68
%110 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %107
%111 = bitcast i32* %110 to <4 x i32>*
store <4 x i32> %108, <4 x i32>* %111
%112 = getelementptr inbounds i32, i32* %110, i64 4
%113 = bitcast i32* %112 to <4 x i32>*
store <4 x i32> %109, <4 x i32>* %113
%114 = or i64 %92, 24
%115 = add <4 x i32> %109, %68
%116 = add <4 x i32> %115, %68
%117 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %114
%118 = bitcast i32* %117 to <4 x i32>*
store <4 x i32> %115, <4 x i32>* %118
%119 = getelementptr inbounds i32, i32* %117, i64 4
%120 = bitcast i32* %119 to <4 x i32>*
store <4 x i32> %116, <4 x i32>* %120
%121 = add nuw i64 %92, 32
%122 = add <4 x i32> %116, %68
%123 = add i64 %94, 4
%124 = icmp eq i64 %123, %71
br i1 %124, label %125, label %91
125: ; preds = %91, %86
%126 = phi i64 [ 0, %86 ], [ %121, %91 ]
%127 = phi <4 x i32> [ %90, %86 ], [ %122, %91 ]
br i1 %72, label %141, label %128
128: ; preds = %125, %128
%129 = phi i64 [ %137, %128 ], [ %126, %125 ]
%130 = phi <4 x i32> [ %138, %128 ], [ %127, %125 ]
%131 = phi i64 [ %139, %128 ], [ 0, %125 ]
%132 = add <4 x i32> %130, %68
%133 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %129
%134 = bitcast i32* %133 to <4 x i32>*
store <4 x i32> %130, <4 x i32>* %134
%135 = getelementptr inbounds i32, i32* %133, i64 4
%136 = bitcast i32* %135 to <4 x i32>*
store <4 x i32> %132, <4 x i32>* %136
%137 = add nuw i64 %129, 8
%138 = add <4 x i32> %132, %68
%139 = add i64 %131, 1
%140 = icmp eq i64 %139, %69
br i1 %140, label %141, label %128
141: ; preds = %128, %125
br i1 %73, label %145, label %142
142: ; preds = %85, %141
%143 = phi i64 [ 0, %85 ], [ %60, %141 ]
%144 = phi i32 [ %83, %85 ], [ %87, %141 ]
br label %147
145: ; preds = %147, %141
br i1 %19, label %146, label %167
146: ; preds = %145
br i1 %75, label %154, label %169
147: ; preds = %142, %147
%148 = phi i64 [ %152, %147 ], [ %143, %142 ]
%149 = phi i32 [ %151, %147 ], [ %144, %142 ]
%150 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %148
store i32 %149, i32* %150
%151 = add nsw i32 %149, %0
%152 = add nuw nsw i64 %148, 1
%153 = icmp eq i64 %152, %52
br i1 %153, label %145, label %147
154: ; preds = %169, %146
%155 = phi i64 [ 0, %146 ], [ %194, %169 ]
%156 = phi i64 [ 0, %146 ], [ %193, %169 ]
br i1 %77, label %167, label %157
157: ; preds = %154
%158 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %155
%159 = load i32, i32* %158
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds double, double* %4, i64 %160
%162 = load double, double* %161
%163 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 %156
store double %162, double* %163
%164 = getelementptr inbounds double, double* %5, i64 %160
%165 = load double, double* %164
%166 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 %156
store double %165, double* %166
br label %167
167: ; preds = %157, %154, %82, %145
br i1 %20, label %168, label %238
168: ; preds = %167
br i1 %79, label %225, label %197
169: ; preds = %146, %169
%170 = phi i64 [ %194, %169 ], [ 0, %146 ]
%171 = phi i64 [ %193, %169 ], [ 0, %146 ]
%172 = phi i64 [ %195, %169 ], [ 0, %146 ]
%173 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %170
%174 = load i32, i32* %173
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, double* %4, i64 %175
%177 = load double, double* %176
%178 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 %171
store double %177, double* %178
%179 = getelementptr inbounds double, double* %5, i64 %175
%180 = load double, double* %179
%181 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 %171
store double %180, double* %181
%182 = or i64 %171, 1
%183 = or i64 %170, 2
%184 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %183
%185 = load i32, i32* %184
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds double, double* %4, i64 %186
%188 = load double, double* %187
%189 = getelementptr inbounds [4 x double], [4 x double]* %8, i64 0, i64 %182
store double %188, double* %189
%190 = getelementptr inbounds double, double* %5, i64 %186
%191 = load double, double* %190
%192 = getelementptr inbounds [4 x double], [4 x double]* %9, i64 0, i64 %182
store double %191, double* %192
%193 = add nuw nsw i64 %171, 2
%194 = add nuw nsw i64 %170, 4
%195 = add i64 %172, 2
%196 = icmp eq i64 %195, %76
br i1 %196, label %154, label %169
197: ; preds = %168, %197
%198 = phi i64 [ %222, %197 ], [ 1, %168 ]
%199 = phi i64 [ %221, %197 ], [ 0, %168 ]
%200 = phi i64 [ %223, %197 ], [ 0, %168 ]
%201 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %198
%202 = load i32, i32* %201
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds double, double* %4, i64 %203
%205 = load double, double* %204
%206 = getelementptr inbounds [4 x double], [4 x double]* %10, i64 0, i64 %199
store double %205, double* %206
%207 = getelementptr inbounds double, double* %5, i64 %203
%208 = load double, double* %207
%209 = getelementptr inbounds [4 x double], [4 x double]* %11, i64 0, i64 %199
store double %208, double* %209
%210 = or i64 %199, 1
%211 = add nuw nsw i64 %198, 2
%212 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %211
%213 = load i32, i32* %212
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds double, double* %4, i64 %214
%216 = load double, double* %215
%217 = getelementptr inbounds [4 x double], [4 x double]* %10, i64 0, i64 %210
store double %216, double* %217
%218 = getelementptr inbounds double, double* %5, i64 %214
%219 = load double, double* %218
%220 = getelementptr inbounds [4 x double], [4 x double]* %11, i64 0, i64 %210
store double %219, double* %220
%221 = add nuw nsw i64 %199, 2
%222 = add nuw nsw i64 %198, 4
%223 = add i64 %200, 2
%224 = icmp eq i64 %223, %80
br i1 %224, label %225, label %197
225: ; preds = %197, %168
%226 = phi i64 [ 1, %168 ], [ %222, %197 ]
%227 = phi i64 [ 0, %168 ], [ %221, %197 ]
br i1 %81, label %238, label %228
228: ; preds = %225
%229 = getelementptr inbounds [8 x i32], [8 x i32]* %7, i64 0, i64 %226
%230 = load i32, i32* %229
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds double, double* %4, i64 %231
%233 = load double, double* %232
%234 = getelementptr inbounds [4 x double], [4 x double]* %10, i64 0, i64 %227
store double %233, double* %234
%235 = getelementptr inbounds double, double* %5, i64 %231
%236 = load double, double* %235
%237 = getelementptr inbounds [4 x double], [4 x double]* %11, i64 0, i64 %227
store double %236, double* %237
br label %238
238: ; preds = %228, %225, %167
%239 = call i32 @dft_4(double* %21, double* %22)
%240 = call i32 @dft_4(double* %23, double* %24)
%241 = load double, double* %25
%242 = load double, double* %26
%243 = fadd double %241, %242
%244 = fmul double %243, 0x3FE6A09E667F3BCD
%245 = fsub double %242, %241
%246 = fmul double %245, 0x3FE6A09E667F3BCD
store double %246, double* %26
store double %244, double* %25
%247 = load double, double* %27
%248 = load double, double* %28
%249 = fneg double %248
store double %249, double* %27
store double %247, double* %28
%250 = load double, double* %29
%251 = load double, double* %30
%252 = fsub double %250, %251
%253 = fmul double %252, 0x3FE6A09E667F3BCD
%254 = fadd double %250, %251
%255 = fmul double %254, 0xBFE6A09E667F3BCD
store double %255, double* %29
store double %253, double* %30
%256 = load double, double* %21
%257 = load double, double* %23
%258 = fadd double %256, %257
%259 = load i32, i32* %31
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds double, double* %4, i64 %260
store double %258, double* %261
%262 = fsub double %256, %257
%263 = load i32, i32* %32
%264 = sext i32 %263 to i64
%265 = getelementptr inbounds double, double* %4, i64 %264
store double %262, double* %265
%266 = load double, double* %33
%267 = fadd double %244, %266
%268 = load i32, i32* %34
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds double, double* %4, i64 %269
store double %267, double* %270
%271 = fsub double %266, %244
%272 = load i32, i32* %35
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds double, double* %4, i64 %273
store double %271, double* %274
%275 = load double, double* %36
%276 = fadd double %247, %275
%277 = load i32, i32* %37
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds double, double* %4, i64 %278
store double %276, double* %279
%280 = fsub double %275, %247
%281 = load i32, i32* %38
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds double, double* %4, i64 %282
store double %280, double* %283
%284 = load double, double* %39
%285 = fadd double %253, %284
%286 = load i32, i32* %40
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds double, double* %4, i64 %287
store double %285, double* %288
%289 = fsub double %284, %253
%290 = load i32, i32* %41
%291 = sext i32 %290 to i64
%292 = getelementptr inbounds double, double* %4, i64 %291
store double %289, double* %292
%293 = load double, double* %22
%294 = load double, double* %24
%295 = fadd double %293, %294
%296 = getelementptr inbounds double, double* %5, i64 %260
store double %295, double* %296
%297 = fsub double %293, %294
%298 = getelementptr inbounds double, double* %5, i64 %264
store double %297, double* %298
%299 = load double, double* %42
%300 = fadd double %246, %299
%301 = getelementptr inbounds double, double* %5, i64 %269
store double %300, double* %301
%302 = fsub double %299, %246
%303 = getelementptr inbounds double, double* %5, i64 %273
store double %302, double* %303
%304 = load double, double* %43
%305 = fsub double %304, %248
%306 = getelementptr inbounds double, double* %5, i64 %278
store double %305, double* %306
%307 = fadd double %248, %304
%308 = getelementptr inbounds double, double* %5, i64 %282
store double %307, double* %308
%309 = load double, double* %44
%310 = fadd double %255, %309
%311 = getelementptr inbounds double, double* %5, i64 %287
store double %310, double* %311
%312 = fsub double %309, %255
%313 = getelementptr inbounds double, double* %5, i64 %291
store double %312, double* %313
%314 = add nsw i32 %83, %45
%315 = add nuw nsw i32 %84, 1
%316 = icmp eq i32 %315, %2
br i1 %316, label %317, label %82
317: ; preds = %238, %6
ret void
}