#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*/ bandpass(double *, double *, double *, size_t, double,
                            double, double, double, double, double *, int, int);
void lowpass(double time[], double flux[], double weight[], size_t N,
             double flow, double low, double high, double rate, double result[],
             int useweight, int quiet) {
  double fzero = rate;
  bandpass(time, flux, weight, N, fzero, flow, low, high, rate, result,
           useweight, quiet);
}


x86 assembly (clang, -O0):
<lowpass>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    0x10(%rbp),%eax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movsd  %xmm0,-0x28(%rbp)
movsd  %xmm1,-0x30(%rbp)
movsd  %xmm2,-0x38(%rbp)
movsd  %xmm3,-0x40(%rbp)
mov    %r8,-0x48(%rbp)
mov    %r9d,-0x4c(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    -0x20(%rbp),%rcx
movsd  -0x58(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
movsd  -0x40(%rbp),%xmm4
mov    -0x48(%rbp),%r8
mov    -0x4c(%rbp),%r9d
mov    0x10(%rbp),%eax
mov    %eax,(%rsp)
call   1030 <bandpass@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<lowpass>:
movaps %xmm3,%xmm4
movaps %xmm2,%xmm3
movaps %xmm1,%xmm2
movaps %xmm0,%xmm1
movaps %xmm4,%xmm0
jmp    1030 <bandpass@plt>

LLVM IR (-O0):
define void @lowpass(double* %0, double* %1, double* %2, i64 %3, double %4, double %5, double %6, double %7, double* %8, i32 %9, i32 %10) {
%12 = alloca double*
%13 = alloca double*
%14 = alloca double*
%15 = alloca i64
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double*
%21 = alloca i32
%22 = alloca i32
%23 = alloca double
store double* %0, double** %12
store double* %1, double** %13
store double* %2, double** %14
store i64 %3, i64* %15
store double %4, double* %16
store double %5, double* %17
store double %6, double* %18
store double %7, double* %19
store double* %8, double** %20
store i32 %9, i32* %21
store i32 %10, i32* %22
%24 = load double, double* %19
store double %24, double* %23
%25 = load double*, double** %12
%26 = load double*, double** %13
%27 = load double*, double** %14
%28 = load i64, i64* %15
%29 = load double, double* %23
%30 = load double, double* %16
%31 = load double, double* %17
%32 = load double, double* %18
%33 = load double, double* %19
%34 = load double*, double** %20
%35 = load i32, i32* %21
%36 = load i32, i32* %22
%37 = call i32 @bandpass(double* %25, double* %26, double* %27, i64 %28, double %29, double %30, double %31, double %32, double %33, double* %34, i32 %35, i32 %36)
ret void
}

LLVM IR (-O2):
define void @lowpass(double* %0, double* %1, double* %2, i64 %3, double %4, double %5, double %6, double %7, double* %8, i32 %9, i32 %10) {
%12 = tail call i32 @bandpass(double* %0, double* %1, double* %2, i64 %3, double %7, double %4, double %5, double %6, double %7, double* %8, i32 %9, i32 %10)
ret void
}