#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*/ mdct_butterfly_16(double *);
void mdct_butterfly_32(double *x) {
  double r0 = x[30] - x[14];
  double r1 = x[31] - x[15];
  x[30] += x[14];
  x[31] += x[15];
  x[14] = r0;
  x[15] = r1;
  r0 = x[28] - x[12];
  r1 = x[29] - x[13];
  x[28] += x[12];
  x[29] += x[13];
  x[12] = (r0 * 0.92387953251128675613 - r1 * 0.38268343236508977175);
  x[13] = (r0 * 0.38268343236508977175 + r1 * 0.92387953251128675613);
  r0 = x[26] - x[10];
  r1 = x[27] - x[11];
  x[26] += x[10];
  x[27] += x[11];
  x[10] = ((r0 - r1) * 0.70710678118654752441);
  x[11] = ((r0 + r1) * 0.70710678118654752441);
  r0 = x[24] - x[8];
  r1 = x[25] - x[9];
  x[24] += x[8];
  x[25] += x[9];
  x[8] = (r0 * 0.38268343236508977175 - r1 * 0.92387953251128675613);
  x[9] = (r1 * 0.38268343236508977175 + r0 * 0.92387953251128675613);
  r0 = x[22] - x[6];
  r1 = x[7] - x[23];
  x[22] += x[6];
  x[23] += x[7];
  x[6] = r1;
  x[7] = r0;
  r0 = x[4] - x[20];
  r1 = x[5] - x[21];
  x[20] += x[4];
  x[21] += x[5];
  x[4] = (r1 * 0.92387953251128675613 + r0 * 0.38268343236508977175);
  x[5] = (r1 * 0.38268343236508977175 - r0 * 0.92387953251128675613);
  r0 = x[2] - x[18];
  r1 = x[3] - x[19];
  x[18] += x[2];
  x[19] += x[3];
  x[2] = ((r1 + r0) * 0.70710678118654752441);
  x[3] = ((r1 - r0) * 0.70710678118654752441);
  r0 = x[0] - x[16];
  r1 = x[1] - x[17];
  x[16] += x[0];
  x[17] += x[1];
  x[0] = (r1 * 0.38268343236508977175 + r0 * 0.92387953251128675613);
  x[1] = (r1 * 0.92387953251128675613 - r0 * 0.38268343236508977175);
  mdct_butterfly_16(x);
  mdct_butterfly_16(x + 16);
}


x86 assembly (clang, -O0):
<mdct_butterfly_32>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xf0(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x70(%rax),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xf8(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x70(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xf0(%rax),%xmm0
movsd  %xmm0,0xf0(%rax)
mov    -0x8(%rbp),%rax
movsd  0x78(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xf8(%rax),%xmm0
movsd  %xmm0,0xf8(%rax)
movsd  -0x10(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x70(%rax)
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x78(%rax)
mov    -0x8(%rbp),%rax
movsd  0xe0(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xe8(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x60(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xe0(%rax),%xmm0
movsd  %xmm0,0xe0(%rax)
mov    -0x8(%rbp),%rax
movsd  0x68(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xe8(%rax),%xmm0
movsd  %xmm0,0xe8(%rax)
movsd  -0x10(%rbp),%xmm0
movsd  0xde7(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xdbb(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x60(%rax)
movsd  -0x10(%rbp),%xmm0
movsd  0xd9d(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
movsd  0xd98(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x68(%rax)
mov    -0x8(%rbp),%rax
movsd  0xd0(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xd8(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x50(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xd0(%rax),%xmm0
movsd  %xmm0,0xd0(%rax)
mov    -0x8(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xd8(%rax),%xmm0
movsd  %xmm0,0xd8(%rax)
movsd  -0x10(%rbp),%xmm0
subsd  -0x18(%rbp),%xmm0
movsd  0xd0f(%rip),%xmm1
mulsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x50(%rax)
movsd  -0x10(%rbp),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  0xcf0(%rip),%xmm1
mulsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x58(%rax)
mov    -0x8(%rbp),%rax
movsd  0xc0(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0xc8(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xc0(%rax),%xmm0
movsd  %xmm0,0xc0(%rax)
mov    -0x8(%rbp),%rax
movsd  0x48(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xc8(%rax),%xmm0
movsd  %xmm0,0xc8(%rax)
movsd  -0x10(%rbp),%xmm0
movsd  0xc58(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xc3c(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x40(%rax)
movsd  -0x18(%rbp),%xmm0
movsd  0xc16(%rip),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  0xc11(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x48(%rax)
mov    -0x8(%rbp),%rax
movsd  0xb0(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0xb8(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xb0(%rax),%xmm0
movsd  %xmm0,0xb0(%rax)
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xb8(%rax),%xmm0
movsd  %xmm0,0xb8(%rax)
movsd  -0x18(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x30(%rax)
movsd  -0x10(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x38(%rax)
mov    -0x8(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0xa0(%rax),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0xa8(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xa0(%rax),%xmm0
movsd  %xmm0,0xa0(%rax)
mov    -0x8(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0xa8(%rax),%xmm0
movsd  %xmm0,0xa8(%rax)
movsd  -0x18(%rbp),%xmm0
movsd  0xafb(%rip),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  0xae6(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x20(%rax)
movsd  -0x18(%rbp),%xmm0
movsd  0xac8(%rip),%xmm1
mulsd  -0x10(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xaac(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x90(%rax),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x98(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0x90(%rax),%xmm0
movsd  %xmm0,0x90(%rax)
mov    -0x8(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0x98(%rax),%xmm0
movsd  %xmm0,0x98(%rax)
movsd  -0x18(%rbp),%xmm0
addsd  -0x10(%rbp),%xmm0
movsd  0xa23(%rip),%xmm1
mulsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0x18(%rbp),%xmm0
subsd  -0x10(%rbp),%xmm0
movsd  0xa04(%rip),%xmm1
mulsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x80(%rax),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x88(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0x80(%rax),%xmm0
movsd  %xmm0,0x80(%rax)
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x8(%rbp),%rax
addsd  0x88(%rax),%xmm0
movsd  %xmm0,0x88(%rax)
movsd  -0x18(%rbp),%xmm0
movsd  0x96e(%rip),%xmm1
mulsd  -0x10(%rbp),%xmm1
movsd  0x969(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x18(%rbp),%xmm0
movsd  0x94c(%rip),%xmm1
mulsd  -0x10(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0x920(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rdi
call   1030 <mdct_butterfly_16@plt>
mov    -0x8(%rbp),%rdi
add    $0x80,%rdi
call   1030 <mdct_butterfly_16@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mdct_butterfly_32>:
push   %rbx
movupd 0xf0(%rdi),%xmm0
movupd 0x70(%rdi),%xmm1
movapd %xmm0,%xmm2
subpd  %xmm1,%xmm2
addpd  %xmm1,%xmm0
movupd %xmm0,0xf0(%rdi)
movupd %xmm2,0x70(%rdi)
movupd 0xe0(%rdi),%xmm0
movupd 0x30(%rdi),%xmm2
movupd 0x40(%rdi),%xmm3
movupd 0x50(%rdi),%xmm4
movupd 0x60(%rdi),%xmm1
movapd %xmm0,%xmm5
subpd  %xmm1,%xmm5
addpd  %xmm1,%xmm0
movupd %xmm0,0xe0(%rdi)
movapd %xmm5,%xmm0
unpckhpd %xmm5,%xmm0
mulpd  0xe89(%rip),%xmm0
unpcklpd %xmm5,%xmm5
movapd 0xe8d(%rip),%xmm1
mulpd  %xmm1,%xmm5
addpd  %xmm0,%xmm5
movupd %xmm5,0x60(%rdi)
movupd 0xd0(%rdi),%xmm0
movapd %xmm0,%xmm5
subpd  %xmm4,%xmm5
movapd %xmm5,%xmm6
unpckhpd %xmm5,%xmm6
addpd  %xmm4,%xmm0
movupd %xmm0,0xd0(%rdi)
movapd %xmm5,%xmm4
subsd  %xmm6,%xmm4
movsd  0xeac(%rip),%xmm0
mulsd  %xmm0,%xmm4
movsd  %xmm4,0x50(%rdi)
addsd  %xmm5,%xmm6
mulsd  %xmm0,%xmm6
movsd  %xmm6,0x58(%rdi)
movupd 0xc0(%rdi),%xmm4
movapd %xmm4,%xmm5
subpd  %xmm3,%xmm5
addpd  %xmm3,%xmm4
movupd %xmm4,0xc0(%rdi)
movapd 0xe22(%rip),%xmm3
mulpd  %xmm5,%xmm3
mulpd  0xe26(%rip),%xmm5
shufpd $0x1,%xmm3,%xmm3
addpd  %xmm3,%xmm5
movupd %xmm5,0x40(%rdi)
movupd 0xb0(%rdi),%xmm3
movapd %xmm2,%xmm4
shufpd $0x1,%xmm3,%xmm4
movapd %xmm3,%xmm5
shufpd $0x1,%xmm2,%xmm5
subpd  %xmm5,%xmm4
addpd  %xmm3,%xmm2
movupd %xmm2,0xb0(%rdi)
movupd %xmm4,0x30(%rdi)
movupd 0x20(%rdi),%xmm2
movupd 0xa0(%rdi),%xmm3
movapd %xmm2,%xmm4
subpd  %xmm3,%xmm4
addpd  %xmm3,%xmm2
movupd %xmm2,0xa0(%rdi)
movapd %xmm4,%xmm2
unpcklpd %xmm4,%xmm2
mulpd  0xdc8(%rip),%xmm2
unpckhpd %xmm4,%xmm4
mulpd  %xmm1,%xmm4
addpd  %xmm2,%xmm4
movupd %xmm4,0x20(%rdi)
movupd 0x10(%rdi),%xmm1
movupd 0x90(%rdi),%xmm2
movapd %xmm1,%xmm3
subpd  %xmm2,%xmm3
movapd %xmm3,%xmm4
unpckhpd %xmm3,%xmm4
addpd  %xmm2,%xmm1
movupd %xmm1,0x90(%rdi)
movapd %xmm3,%xmm1
addsd  %xmm4,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rdi)
subsd  %xmm3,%xmm4
mulsd  %xmm0,%xmm4
movsd  %xmm4,0x18(%rdi)
lea    0x80(%rdi),%rbx
movupd (%rdi),%xmm0
movupd 0x80(%rdi),%xmm1
movapd %xmm0,%xmm2
subpd  %xmm1,%xmm2
addpd  %xmm1,%xmm0
movupd %xmm0,0x80(%rdi)
movapd %xmm2,%xmm0
unpcklpd %xmm2,%xmm0
mulpd  0xd49(%rip),%xmm0
unpckhpd %xmm2,%xmm2
mulpd  0xd4d(%rip),%xmm2
addpd  %xmm0,%xmm2
movupd %xmm2,(%rdi)
call   1030 <mdct_butterfly_16@plt>
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <mdct_butterfly_16@plt>

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

LLVM IR (-O2):
define void @mdct_butterfly_32(double* %0) {
%2 = getelementptr inbounds double, double* %0, i64 30
%3 = getelementptr inbounds double, double* %0, i64 14
%4 = bitcast double* %2 to <2 x double>*
%5 = load <2 x double>, <2 x double>* %4
%6 = bitcast double* %3 to <2 x double>*
%7 = load <2 x double>, <2 x double>* %6
%8 = fsub <2 x double> %5, %7
%9 = fadd <2 x double> %5, %7
%10 = bitcast double* %2 to <2 x double>*
store <2 x double> %9, <2 x double>* %10
%11 = bitcast double* %3 to <2 x double>*
store <2 x double> %8, <2 x double>* %11
%12 = getelementptr inbounds double, double* %0, i64 28
%13 = getelementptr inbounds double, double* %0, i64 12
%14 = bitcast double* %12 to <2 x double>*
%15 = load <2 x double>, <2 x double>* %14
%16 = bitcast double* %13 to <2 x double>*
%17 = load <2 x double>, <2 x double>* %16
%18 = fsub <2 x double> %15, %17
%19 = fsub <2 x double> %15, %17
%20 = fadd <2 x double> %15, %17
%21 = bitcast double* %12 to <2 x double>*
store <2 x double> %20, <2 x double>* %21
%22 = shufflevector <2 x double> %19, <2 x double> undef, <2 x i32> <i32 1, i32 1>
%23 = fmul <2 x double> %22, <double 0xBFD87DE2A6AEA963, double 0x3FED906BCF328D46>
%24 = shufflevector <2 x double> %18, <2 x double> undef, <2 x i32> zeroinitializer
%25 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %24, <2 x double> <double 0x3FED906BCF328D46, double 0x3FD87DE2A6AEA963>, <2 x double> %23)
%26 = bitcast double* %13 to <2 x double>*
store <2 x double> %25, <2 x double>* %26
%27 = getelementptr inbounds double, double* %0, i64 26
%28 = getelementptr inbounds double, double* %0, i64 10
%29 = bitcast double* %27 to <2 x double>*
%30 = load <2 x double>, <2 x double>* %29
%31 = getelementptr inbounds double, double* %0, i64 11
%32 = bitcast double* %28 to <2 x double>*
%33 = load <2 x double>, <2 x double>* %32
%34 = fsub <2 x double> %30, %33
%35 = extractelement <2 x double> %34, i64 0
%36 = fsub <2 x double> %30, %33
%37 = extractelement <2 x double> %36, i64 1
%38 = fadd <2 x double> %30, %33
%39 = bitcast double* %27 to <2 x double>*
store <2 x double> %38, <2 x double>* %39
%40 = fsub double %35, %37
%41 = fmul double %40, 0x3FE6A09E667F3BCD
store double %41, double* %28
%42 = fadd double %35, %37
%43 = fmul double %42, 0x3FE6A09E667F3BCD
store double %43, double* %31
%44 = getelementptr inbounds double, double* %0, i64 24
%45 = getelementptr inbounds double, double* %0, i64 8
%46 = bitcast double* %44 to <2 x double>*
%47 = load <2 x double>, <2 x double>* %46
%48 = bitcast double* %45 to <2 x double>*
%49 = load <2 x double>, <2 x double>* %48
%50 = fsub <2 x double> %47, %49
%51 = fadd <2 x double> %47, %49
%52 = bitcast double* %44 to <2 x double>*
store <2 x double> %51, <2 x double>* %52
%53 = fmul <2 x double> %50, <double 0x3FED906BCF328D46, double 0xBFED906BCF328D46>
%54 = shufflevector <2 x double> %53, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%55 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %50, <2 x double> <double 0x3FD87DE2A6AEA963, double 0x3FD87DE2A6AEA963>, <2 x double> %54)
%56 = bitcast double* %45 to <2 x double>*
store <2 x double> %55, <2 x double>* %56
%57 = getelementptr inbounds double, double* %0, i64 22
%58 = getelementptr inbounds double, double* %0, i64 6
%59 = bitcast double* %58 to <2 x double>*
%60 = load <2 x double>, <2 x double>* %59
%61 = bitcast double* %57 to <2 x double>*
%62 = load <2 x double>, <2 x double>* %61
%63 = shufflevector <2 x double> %60, <2 x double> %62, <2 x i32> <i32 1, i32 2>
%64 = shufflevector <2 x double> %62, <2 x double> %60, <2 x i32> <i32 1, i32 2>
%65 = fsub <2 x double> %63, %64
%66 = fadd <2 x double> %60, %62
%67 = bitcast double* %57 to <2 x double>*
store <2 x double> %66, <2 x double>* %67
%68 = bitcast double* %58 to <2 x double>*
store <2 x double> %65, <2 x double>* %68
%69 = getelementptr inbounds double, double* %0, i64 4
%70 = getelementptr inbounds double, double* %0, i64 20
%71 = bitcast double* %69 to <2 x double>*
%72 = load <2 x double>, <2 x double>* %71
%73 = bitcast double* %70 to <2 x double>*
%74 = load <2 x double>, <2 x double>* %73
%75 = fsub <2 x double> %72, %74
%76 = fsub <2 x double> %72, %74
%77 = fadd <2 x double> %72, %74
%78 = bitcast double* %70 to <2 x double>*
store <2 x double> %77, <2 x double>* %78
%79 = shufflevector <2 x double> %75, <2 x double> undef, <2 x i32> zeroinitializer
%80 = fmul <2 x double> %79, <double 0x3FD87DE2A6AEA963, double 0xBFED906BCF328D46>
%81 = shufflevector <2 x double> %76, <2 x double> undef, <2 x i32> <i32 1, i32 1>
%82 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %81, <2 x double> <double 0x3FED906BCF328D46, double 0x3FD87DE2A6AEA963>, <2 x double> %80)
%83 = bitcast double* %69 to <2 x double>*
store <2 x double> %82, <2 x double>* %83
%84 = getelementptr inbounds double, double* %0, i64 2
%85 = getelementptr inbounds double, double* %0, i64 18
%86 = getelementptr inbounds double, double* %0, i64 3
%87 = bitcast double* %84 to <2 x double>*
%88 = load <2 x double>, <2 x double>* %87
%89 = bitcast double* %85 to <2 x double>*
%90 = load <2 x double>, <2 x double>* %89
%91 = fsub <2 x double> %88, %90
%92 = extractelement <2 x double> %91, i64 0
%93 = fsub <2 x double> %88, %90
%94 = extractelement <2 x double> %93, i64 1
%95 = fadd <2 x double> %88, %90
%96 = bitcast double* %85 to <2 x double>*
store <2 x double> %95, <2 x double>* %96
%97 = fadd double %92, %94
%98 = fmul double %97, 0x3FE6A09E667F3BCD
store double %98, double* %84
%99 = fsub double %94, %92
%100 = fmul double %99, 0x3FE6A09E667F3BCD
store double %100, double* %86
%101 = getelementptr inbounds double, double* %0, i64 16
%102 = bitcast double* %0 to <2 x double>*
%103 = load <2 x double>, <2 x double>* %102
%104 = bitcast double* %101 to <2 x double>*
%105 = load <2 x double>, <2 x double>* %104
%106 = fsub <2 x double> %103, %105
%107 = fsub <2 x double> %103, %105
%108 = fadd <2 x double> %103, %105
%109 = bitcast double* %101 to <2 x double>*
store <2 x double> %108, <2 x double>* %109
%110 = shufflevector <2 x double> %106, <2 x double> undef, <2 x i32> zeroinitializer
%111 = fmul <2 x double> %110, <double 0x3FED906BCF328D46, double 0xBFD87DE2A6AEA963>
%112 = shufflevector <2 x double> %107, <2 x double> undef, <2 x i32> <i32 1, i32 1>
%113 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> <double 0x3FD87DE2A6AEA963, double 0x3FED906BCF328D46>, <2 x double> %111)
%114 = bitcast double* %0 to <2 x double>*
store <2 x double> %113, <2 x double>* %114
%115 = tail call i32 @mdct_butterfly_16(double* %0)
%116 = tail call i32 @mdct_butterfly_16(double* %101)
ret void
}