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


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

x86 assembly (clang, -O2):
<fftss_r4_u1_f>:
push   %r15
push   %r14
push   %rbx
mov    %r8,%r11
mov    %rcx,%r15
mov    %rdx,%r10
mov    %rsi,%r14
mov    %rdi,%r8
mov    %r11,%rsi
imul   %rcx,%rsi
mov    %rsi,%rdx
lea    (%rsi,%rsi,2),%rcx
shl    $0x4,%rsi
add    %r14,%rsi
shl    $0x5,%rdx
add    %r14,%rdx
shl    $0x4,%rcx
add    %r14,%rcx
mov    %r15,%r9
shl    $0x4,%r9
add    %rdi,%r9
mov    %r15,%rax
shl    $0x5,%rax
add    %rdi,%rax
lea    (%r15,%r15,2),%rbx
shl    $0x4,%rbx
add    %rdi,%rbx
sub    $0x8,%rsp
mov    %r14,%rdi
push   %r11
push   %r15
push   %r10
push   %rbx
push   %rax
call   1030 <kern_r4_u1_f@plt>
add    $0x30,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define void @fftss_r4_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** %6
%31 = load double*, double** %6
%32 = load i64, i64* %9
%33 = mul nsw i64 %32, 2
%34 = getelementptr inbounds double, double* %31, i64 %33
%35 = load double*, double** %6
%36 = load i64, i64* %9
%37 = mul nsw i64 %36, 4
%38 = getelementptr inbounds double, double* %35, i64 %37
%39 = load double*, double** %6
%40 = load i64, i64* %9
%41 = mul nsw i64 %40, 6
%42 = getelementptr inbounds double, double* %39, i64 %41
%43 = load double*, double** %8
%44 = load i64, i64* %9
%45 = load i64, i64* %10
%46 = call i32 @kern_r4_u1_f(double* %11, double* %17, double* %23, double* %29, double* %30, double* %34, double* %38, double* %42, double* %43, i64 %44, i64 %45)
ret void
}

LLVM IR (-O2):
define void @fftss_r4_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 %3, 1
%14 = getelementptr inbounds double, double* %0, i64 %13
%15 = shl nsw i64 %3, 2
%16 = getelementptr inbounds double, double* %0, i64 %15
%17 = mul nsw i64 %3, 6
%18 = getelementptr inbounds double, double* %0, i64 %17
%19 = tail call i32 @kern_r4_u1_f(double* %1, double* %8, double* %10, double* %12, double* %0, double* %14, double* %16, double* %18, double* %2, i64 %3, i64 %4)
ret void
}