#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_fma_u1_b(double *, double *, double *, double *,
                                    double *, double *, double *, int, long);
void fftss_r4_fma_u1_b(double *in, double *out, double *w, long bsize,
                       long blocks) {
  kern_r4_fma_u1_b(out, out + blocks * 2, out + blocks * 4, out + blocks * 6,
                   in, w, w + blocks * 6, 1, blocks);
}


x86 assembly (clang, -O0):
<fftss_r4_fma_u1_b>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%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    -0x18(%rbp),%r10
imul   $0x6,-0x28(%rbp),%rax
shl    $0x3,%rax
add    %rax,%r10
mov    -0x28(%rbp),%rax
mov    %r10,(%rsp)
movl   $0x1,0x8(%rsp)
mov    %rax,0x10(%rsp)
call   1030 <kern_r4_fma_u1_b@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fftss_r4_fma_u1_b>:
push   %rax
mov    %r8,%r10
mov    %rdx,%r9
mov    %rsi,%rax
mov    %rdi,%r8
mov    %r10,%rcx
shl    $0x4,%rcx
add    %rcx,%rsi
mov    %r10,%rdx
shl    $0x5,%rdx
add    %rax,%rdx
lea    (%rcx,%rcx,2),%r11
lea    (%rax,%r11,1),%rcx
add    %r9,%r11
sub    $0x8,%rsp
mov    %rax,%rdi
push   %r10
push   $0x1
push   %r11
call   1030 <kern_r4_fma_u1_b@plt>
add    $0x20,%rsp
pop    %rax
ret

LLVM IR (-O0):
define void @fftss_r4_fma_u1_b(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 double*, double** %8
%27 = load i64, i64* %10
%28 = mul nsw i64 %27, 6
%29 = getelementptr inbounds double, double* %26, i64 %28
%30 = load i64, i64* %10
%31 = call i32 @kern_r4_fma_u1_b(double* %11, double* %15, double* %19, double* %23, double* %24, double* %25, double* %29, i32 1, i64 %30)
ret void
}

LLVM IR (-O2):
define void @fftss_r4_fma_u1_b(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 = getelementptr inbounds double, double* %2, i64 %10
%13 = tail call i32 @kern_r4_fma_u1_b(double* %1, double* %7, double* %9, double* %11, double* %0, double* %2, double* %12, i32 1, i64 %4)
ret void
}