#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_r4_sse2_u1_f(double *, double *, double *, double *,
                                     double *, double *, long);
void fftss_r4_sse2_u1_f(double *in, double *out, double *w, long bsize,
                        long blocks) {
  kern_r4_sse2_u1_f(out, out + blocks * 2, out + blocks * 4, out + blocks * 6,
                    in, w, blocks);
}


x86 assembly (clang, -O0):
<fftss_r4_sse2_u1_f>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x28(%rbp),%rax
shl    $0x1,%rax
shl    $0x3,%rax
add    %rax,%rsi
mov    -0x10(%rbp),%rdx
mov    -0x28(%rbp),%rax
shl    $0x2,%rax
shl    $0x3,%rax
add    %rax,%rdx
mov    -0x10(%rbp),%rcx
imul   $0x6,-0x28(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rcx
mov    -0x8(%rbp),%r8
mov    -0x18(%rbp),%r9
mov    -0x28(%rbp),%rax
mov    %rax,(%rsp)
call   1030 <kern_r4_sse2_u1_f@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fftss_r4_sse2_u1_f>:
push   %rax
mov    %rdx,%r9
mov    %rsi,%rax
mov    %rdi,%r10
mov    %r8,%rsi
shl    $0x4,%rsi
add    %rax,%rsi
mov    %r8,%rdx
shl    $0x5,%rdx
add    %rax,%rdx
lea    (%r8,%r8,2),%rcx
shl    $0x4,%rcx
add    %rax,%rcx
mov    %r8,(%rsp)
mov    %rax,%rdi
mov    %r10,%r8
call   1030 <kern_r4_sse2_u1_f@plt>
pop    %rax
ret

LLVM IR (-O0):
define void @fftss_r4_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* %10
%14 = mul nsw i64 %13, 2
%15 = getelementptr inbounds double, double* %12, i64 %14
%16 = load double*, double** %7
%17 = load i64, i64* %10
%18 = mul nsw i64 %17, 4
%19 = getelementptr inbounds double, double* %16, i64 %18
%20 = load double*, double** %7
%21 = load i64, i64* %10
%22 = mul nsw i64 %21, 6
%23 = getelementptr inbounds double, double* %20, i64 %22
%24 = load double*, double** %6
%25 = load double*, double** %8
%26 = load i64, i64* %10
%27 = call i32 @kern_r4_sse2_u1_f(double* %11, double* %15, double* %19, double* %23, double* %24, double* %25, i64 %26)
ret void
}

LLVM IR (-O2):
define void @fftss_r4_sse2_u1_f(double* %0, double* %1, double* %2, i64 %3, i64 %4) {
%6 = shl nsw i64 %4, 1
%7 = getelementptr inbounds double, double* %1, i64 %6
%8 = shl nsw i64 %4, 2
%9 = getelementptr inbounds double, double* %1, i64 %8
%10 = mul nsw i64 %4, 6
%11 = getelementptr inbounds double, double* %1, i64 %10
%12 = tail call i32 @kern_r4_sse2_u1_f(double* %1, double* %7, double* %9, double* %11, double* %0, double* %2, i64 %4)
ret void
}