#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*/ kern_r8_sse2_u1_f(double *, double *, double *, double *,
                                     double *, double *, double *, double *,
                                     double *, double *, double *, double *,
                                     double *, double *, double *, double *,
                                     double *, long, long);
void fftss_r8_sse2_u1_f(double *in, double *out, double *w, long bsize,
                        long blocks) {
  kern_r8_sse2_u1_f(out, out + bsize * blocks * 2, out + bsize * blocks * 4,
                    out + bsize * blocks * 6, out + bsize * blocks * 8,
                    out + bsize * blocks * 10, out + bsize * blocks * 12,
                    out + bsize * blocks * 14, in, in + bsize * 2,
                    in + bsize * 4, in + bsize * 6, in + bsize * 8,
                    in + bsize * 10, in + bsize * 12, in + bsize * 14, w, bsize,
                    blocks);
}


x86 assembly (clang, -O0):
<fftss_r8_sse2_u1_f>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xc8,%rsp
mov    %rdi,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
mov    %rdx,-0x40(%rbp)
mov    %rcx,-0x48(%rbp)
mov    %r8,-0x50(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x38(%rbp),%rsi
mov    -0x48(%rbp),%rax
imul   -0x50(%rbp),%rax
shl    $0x1,%rax
shl    $0x3,%rax
add    %rax,%rsi
mov    -0x38(%rbp),%rdx
mov    -0x48(%rbp),%rax
imul   -0x50(%rbp),%rax
shl    $0x2,%rax
shl    $0x3,%rax
add    %rax,%rdx
mov    -0x38(%rbp),%rcx
mov    -0x48(%rbp),%rax
imul   -0x50(%rbp),%rax
imul   $0x6,%rax,%rax
shl    $0x3,%rax
add    %rax,%rcx
mov    -0x38(%rbp),%r8
mov    -0x48(%rbp),%rax
imul   -0x50(%rbp),%rax
shl    $0x3,%rax
shl    $0x3,%rax
add    %rax,%r8
mov    -0x38(%rbp),%r9
mov    -0x48(%rbp),%rax
imul   -0x50(%rbp),%rax
imul   $0xa,%rax,%rax
shl    $0x3,%rax
add    %rax,%r9
mov    -0x38(%rbp),%rax
mov    -0x48(%rbp),%r10
imul   -0x50(%rbp),%r10
imul   $0xc,%r10,%r10
shl    $0x3,%r10
add    %r10,%rax
mov    %rax,-0x80(%rbp)
mov    -0x38(%rbp),%rax
mov    -0x48(%rbp),%r10
imul   -0x50(%rbp),%r10
imul   $0xe,%r10,%r10
shl    $0x3,%r10
add    %r10,%rax
mov    %rax,-0x78(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x48(%rbp),%r10
shl    $0x1,%r10
shl    $0x3,%r10
add    %r10,%rax
mov    %rax,-0x68(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x48(%rbp),%r10
shl    $0x2,%r10
shl    $0x3,%r10
add    %r10,%rax
mov    %rax,-0x60(%rbp)
mov    -0x30(%rbp),%r13
imul   $0x6,-0x48(%rbp),%rax
shl    $0x3,%rax
add    %rax,%r13
mov    -0x30(%rbp),%r12
mov    -0x48(%rbp),%rax
shl    $0x3,%rax
shl    $0x3,%rax
add    %rax,%r12
mov    -0x30(%rbp),%r15
imul   $0xa,-0x48(%rbp),%rax
shl    $0x3,%rax
add    %rax,%r15
mov    -0x30(%rbp),%r14
imul   $0xc,-0x48(%rbp),%rax
shl    $0x3,%rax
add    %rax,%r14
mov    -0x30(%rbp),%rbx
imul   $0xe,-0x48(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rbx
mov    -0x40(%rbp),%r11
mov    -0x48(%rbp),%r10
mov    -0x50(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x80(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x78(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x70(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0x68(%rbp),%rax
mov    %rax,0x18(%rsp)
mov    -0x60(%rbp),%rax
mov    %rax,0x20(%rsp)
mov    -0x58(%rbp),%rax
mov    %r13,0x28(%rsp)
mov    %r12,0x30(%rsp)
mov    %r15,0x38(%rsp)
mov    %r14,0x40(%rsp)
mov    %rbx,0x48(%rsp)
mov    %r11,0x50(%rsp)
mov    %r10,0x58(%rsp)
mov    %rax,0x60(%rsp)
call   1030 <kern_r8_sse2_u1_f@plt>
add    $0xc8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<fftss_r8_sse2_u1_f>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %r8,0x18(%rsp)
mov    %rcx,%r13
mov    %rdx,0x20(%rsp)
mov    %rsi,%rbx
mov    %r8,%rsi
imul   %rcx,%rsi
mov    %rsi,%rdx
lea    (%rsi,%rsi,2),%rax
mov    %rsi,%r8
lea    (%rsi,%rsi,4),%r9
imul   $0x70,%rsi,%rbp
shl    $0x4,%rsi
add    %rbx,%rsi
shl    $0x5,%rdx
add    %rbx,%rdx
mov    %rax,%rcx
shl    $0x4,%rcx
add    %rbx,%rcx
shl    $0x6,%r8
add    %rbx,%r8
shl    $0x4,%r9
add    %rbx,%r9
shl    $0x5,%rax
add    %rbx,%rax
mov    %rax,0x10(%rsp)
add    %rbx,%rbp
mov    %rbp,0x8(%rsp)
mov    %r13,%r14
shl    $0x4,%r14
mov    %rdi,(%rsp)
add    %rdi,%r14
mov    %r13,%rbp
shl    $0x5,%rbp
add    %rdi,%rbp
lea    0x0(,%r13,2),%r10
add    %r13,%r10
mov    %r10,%r12
shl    $0x4,%r12
add    %rdi,%r12
mov    %r13,%rax
shl    $0x6,%rax
add    %rdi,%rax
lea    0x0(,%r13,4),%r15
add    %r13,%r15
shl    $0x4,%r15
add    %rdi,%r15
shl    $0x5,%r10
add    %rdi,%r10
imul   $0x70,%r13,%r11
add    %rdi,%r11
sub    $0x8,%rsp
mov    %rbx,%rdi
push   0x20(%rsp)
push   %r13
push   0x38(%rsp)
push   %r11
push   %r10
push   %r15
push   %rax
push   %r12
push   %rbp
push   %r14
push   0x58(%rsp)
push   0x68(%rsp)
push   0x78(%rsp)
call   1030 <kern_r8_sse2_u1_f@plt>
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @fftss_r8_sse2_u1_f(double* %0, double* %1, double* %2, i64 %3, i64 %4) {
%6 = alloca double*
%7 = alloca double*
%8 = alloca double*
%9 = alloca i64
%10 = alloca i64
store double* %0, double** %6
store double* %1, double** %7
store double* %2, double** %8
store i64 %3, i64* %9
store i64 %4, i64* %10
%11 = load double*, double** %7
%12 = load double*, double** %7
%13 = load i64, i64* %9
%14 = load i64, i64* %10
%15 = mul nsw i64 %13, %14
%16 = mul nsw i64 %15, 2
%17 = getelementptr inbounds double, double* %12, i64 %16
%18 = load double*, double** %7
%19 = load i64, i64* %9
%20 = load i64, i64* %10
%21 = mul nsw i64 %19, %20
%22 = mul nsw i64 %21, 4
%23 = getelementptr inbounds double, double* %18, i64 %22
%24 = load double*, double** %7
%25 = load i64, i64* %9
%26 = load i64, i64* %10
%27 = mul nsw i64 %25, %26
%28 = mul nsw i64 %27, 6
%29 = getelementptr inbounds double, double* %24, i64 %28
%30 = load double*, double** %7
%31 = load i64, i64* %9
%32 = load i64, i64* %10
%33 = mul nsw i64 %31, %32
%34 = mul nsw i64 %33, 8
%35 = getelementptr inbounds double, double* %30, i64 %34
%36 = load double*, double** %7
%37 = load i64, i64* %9
%38 = load i64, i64* %10
%39 = mul nsw i64 %37, %38
%40 = mul nsw i64 %39, 10
%41 = getelementptr inbounds double, double* %36, i64 %40
%42 = load double*, double** %7
%43 = load i64, i64* %9
%44 = load i64, i64* %10
%45 = mul nsw i64 %43, %44
%46 = mul nsw i64 %45, 12
%47 = getelementptr inbounds double, double* %42, i64 %46
%48 = load double*, double** %7
%49 = load i64, i64* %9
%50 = load i64, i64* %10
%51 = mul nsw i64 %49, %50
%52 = mul nsw i64 %51, 14
%53 = getelementptr inbounds double, double* %48, i64 %52
%54 = load double*, double** %6
%55 = load double*, double** %6
%56 = load i64, i64* %9
%57 = mul nsw i64 %56, 2
%58 = getelementptr inbounds double, double* %55, i64 %57
%59 = load double*, double** %6
%60 = load i64, i64* %9
%61 = mul nsw i64 %60, 4
%62 = getelementptr inbounds double, double* %59, i64 %61
%63 = load double*, double** %6
%64 = load i64, i64* %9
%65 = mul nsw i64 %64, 6
%66 = getelementptr inbounds double, double* %63, i64 %65
%67 = load double*, double** %6
%68 = load i64, i64* %9
%69 = mul nsw i64 %68, 8
%70 = getelementptr inbounds double, double* %67, i64 %69
%71 = load double*, double** %6
%72 = load i64, i64* %9
%73 = mul nsw i64 %72, 10
%74 = getelementptr inbounds double, double* %71, i64 %73
%75 = load double*, double** %6
%76 = load i64, i64* %9
%77 = mul nsw i64 %76, 12
%78 = getelementptr inbounds double, double* %75, i64 %77
%79 = load double*, double** %6
%80 = load i64, i64* %9
%81 = mul nsw i64 %80, 14
%82 = getelementptr inbounds double, double* %79, i64 %81
%83 = load double*, double** %8
%84 = load i64, i64* %9
%85 = load i64, i64* %10
%86 = call i32 @kern_r8_sse2_u1_f(double* %11, double* %17, double* %23, double* %29, double* %35, double* %41, double* %47, double* %53, double* %54, double* %58, double* %62, double* %66, double* %70, double* %74, double* %78, double* %82, double* %83, i64 %84, i64 %85)
ret void
}

LLVM IR (-O2):
define void @fftss_r8_sse2_u1_f(double* %0, double* %1, double* %2, i64 %3, i64 %4) {
%6 = mul nsw i64 %4, %3
%7 = shl nsw i64 %6, 1
%8 = getelementptr inbounds double, double* %1, i64 %7
%9 = shl nsw i64 %6, 2
%10 = getelementptr inbounds double, double* %1, i64 %9
%11 = mul nsw i64 %6, 6
%12 = getelementptr inbounds double, double* %1, i64 %11
%13 = shl nsw i64 %6, 3
%14 = getelementptr inbounds double, double* %1, i64 %13
%15 = mul nsw i64 %6, 10
%16 = getelementptr inbounds double, double* %1, i64 %15
%17 = mul nsw i64 %6, 12
%18 = getelementptr inbounds double, double* %1, i64 %17
%19 = mul nsw i64 %6, 14
%20 = getelementptr inbounds double, double* %1, i64 %19
%21 = shl nsw i64 %3, 1
%22 = getelementptr inbounds double, double* %0, i64 %21
%23 = shl nsw i64 %3, 2
%24 = getelementptr inbounds double, double* %0, i64 %23
%25 = mul nsw i64 %3, 6
%26 = getelementptr inbounds double, double* %0, i64 %25
%27 = shl nsw i64 %3, 3
%28 = getelementptr inbounds double, double* %0, i64 %27
%29 = mul nsw i64 %3, 10
%30 = getelementptr inbounds double, double* %0, i64 %29
%31 = mul nsw i64 %3, 12
%32 = getelementptr inbounds double, double* %0, i64 %31
%33 = mul nsw i64 %3, 14
%34 = getelementptr inbounds double, double* %0, i64 %33
%35 = tail call i32 @kern_r8_sse2_u1_f(double* %1, double* %8, double* %10, double* %12, double* %14, double* %16, double* %18, double* %20, double* %0, double* %22, double* %24, double* %26, double* %28, double* %30, double* %32, double* %34, double* %2, i64 %3, i64 %4)
ret void
}