#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_fma_u1_b(double *, double *, double *, double *,
                                    double *, double *, double *, double *,
                                    double *, double *, double *, double *,
                                    double *, double *, double *, double *,
                                    double *, double *, long, long);
void fftss_r8_fma_u1_b(double *in, double *out, double *w, long bsize,
                       long blocks) {
  kern_r8_fma_u1_b(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,
                   w + bsize * blocks * 12, bsize, blocks);
}


x86 assembly (clang, -O0):
<fftss_r8_fma_u1_b>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xd8,%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,-0x88(%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,-0x80(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x48(%rbp),%r10
shl    $0x1,%r10
shl    $0x3,%r10
add    %r10,%rax
mov    %rax,-0x70(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x48(%rbp),%r10
shl    $0x2,%r10
shl    $0x3,%r10
add    %r10,%rax
mov    %rax,-0x68(%rbp)
mov    -0x30(%rbp),%rax
imul   $0x6,-0x48(%rbp),%r10
shl    $0x3,%r10
add    %r10,%rax
mov    %rax,-0x60(%rbp)
mov    -0x30(%rbp),%r13
mov    -0x48(%rbp),%rax
shl    $0x3,%rax
shl    $0x3,%rax
add    %rax,%r13
mov    -0x30(%rbp),%r12
imul   $0xa,-0x48(%rbp),%rax
shl    $0x3,%rax
add    %rax,%r12
mov    -0x30(%rbp),%r15
imul   $0xc,-0x48(%rbp),%rax
shl    $0x3,%rax
add    %rax,%r15
mov    -0x30(%rbp),%r14
imul   $0xe,-0x48(%rbp),%rax
shl    $0x3,%rax
add    %rax,%r14
mov    -0x40(%rbp),%rbx
mov    -0x40(%rbp),%r11
mov    -0x48(%rbp),%rax
imul   -0x50(%rbp),%rax
imul   $0xc,%rax,%rax
shl    $0x3,%rax
add    %rax,%r11
mov    -0x48(%rbp),%r10
mov    -0x50(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x88(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x80(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x78(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0x70(%rbp),%rax
mov    %rax,0x18(%rsp)
mov    -0x68(%rbp),%rax
mov    %rax,0x20(%rsp)
mov    -0x60(%rbp),%rax
mov    %rax,0x28(%rsp)
mov    -0x58(%rbp),%rax
mov    %r13,0x30(%rsp)
mov    %r12,0x38(%rsp)
mov    %r15,0x40(%rsp)
mov    %r14,0x48(%rsp)
mov    %rbx,0x50(%rsp)
mov    %r11,0x58(%rsp)
mov    %r10,0x60(%rsp)
mov    %rax,0x68(%rsp)
call   1030 <kern_r8_fma_u1_b@plt>
add    $0xd8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<fftss_r8_fma_u1_b>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %r8,0x30(%rsp)
mov    %rcx,%r12
mov    %rdx,(%rsp)
mov    %rsi,%rbx
mov    %rdi,%r11
mov    %r8,%rsi
imul   %rcx,%rsi
mov    %rsi,%rax
lea    (%rsi,%rsi,2),%rcx
mov    %rsi,%r8
lea    (%rsi,%rsi,4),%r9
imul   $0x70,%rsi,%rdi
shl    $0x4,%rsi
add    %rbx,%rsi
shl    $0x5,%rax
lea    (%rbx,%rax,1),%rdx
mov    %rdx,0x10(%rsp)
shl    $0x4,%rcx
add    %rbx,%rcx
shl    $0x6,%r8
add    %rbx,%r8
shl    $0x4,%r9
add    %rbx,%r9
lea    (%rax,%rax,2),%rdx
add    %rbx,%rdi
mov    %rdi,0x28(%rsp)
mov    %r12,%rax
shl    $0x4,%rax
add    %r11,%rax
mov    %rax,0x20(%rsp)
mov    %r12,%r13
shl    $0x5,%r13
add    %r11,%r13
lea    (%r12,%r12,2),%rbp
mov    %rbp,%r10
shl    $0x4,%r10
add    %r11,%r10
mov    %r12,%rax
shl    $0x6,%rax
add    %r11,%rax
lea    (%r12,%r12,4),%r15
shl    $0x4,%r15
add    %r11,%r15
shl    $0x5,%rbp
add    %r11,%rbp
imul   $0x70,%r12,%r14
add    %r11,%r14
mov    %rdx,%rdi
add    %rbx,%rdx
mov    %rdx,0x18(%rsp)
add    (%rsp),%rdi
mov    %rdi,0x8(%rsp)
mov    %rbx,%rdi
mov    0x10(%rsp),%rdx
push   0x30(%rsp)
push   %r12
push   0x18(%rsp)
push   0x18(%rsp)
push   %r14
push   %rbp
push   %r15
push   %rax
push   %r10
push   %r13
push   0x70(%rsp)
push   %r11
push   0x88(%rsp)
push   0x80(%rsp)
call   1030 <kern_r8_fma_u1_b@plt>
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @fftss_r8_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* %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 double*, double** %8
%85 = load i64, i64* %9
%86 = load i64, i64* %10
%87 = mul nsw i64 %85, %86
%88 = mul nsw i64 %87, 12
%89 = getelementptr inbounds double, double* %84, i64 %88
%90 = load i64, i64* %9
%91 = load i64, i64* %10
%92 = call i32 @kern_r8_fma_u1_b(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, double* %89, i64 %90, i64 %91)
ret void
}

LLVM IR (-O2):
define void @fftss_r8_fma_u1_b(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 = getelementptr inbounds double, double* %2, i64 %17
%36 = tail call i32 @kern_r8_fma_u1_b(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, double* %35, i64 %3, i64 %4)
ret void
}