#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*/ clowess(double *, double *, int, double, int, double,
                           double *, double *, double *);
void lowess(double *x, double *y, int *n, double *f, int *nsteps, double *delta,
            double *ys, double *rw, double *res) {
  clowess(x, y, *n, *f, *nsteps, *delta, ys, rw, res);
}


x86 assembly (clang, -O0):
<lowess>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rax
mov    (%rax),%edx
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x28(%rbp),%rax
mov    (%rax),%ecx
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm1
mov    0x10(%rbp),%r8
mov    0x18(%rbp),%r9
mov    0x20(%rbp),%rax
mov    %rax,(%rsp)
call   1030 <clowess@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<lowess>:
push   %rax
mov    0x10(%rsp),%r11
mov    0x18(%rsp),%r10
mov    0x20(%rsp),%rax
mov    (%rdx),%edx
movsd  (%rcx),%xmm0
mov    (%r8),%ecx
movsd  (%r9),%xmm1
mov    %rax,(%rsp)
mov    %r11,%r8
mov    %r10,%r9
call   1030 <clowess@plt>
pop    %rax
ret

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

LLVM IR (-O2):
define void @lowess(double* %0, double* %1, i32* nocapture %2, double* nocapture %3, i32* nocapture %4, double* nocapture %5, double* %6, double* %7, double* %8) {
%10 = load i32, i32* %2
%11 = load double, double* %3
%12 = load i32, i32* %4
%13 = load double, double* %5
%14 = tail call i32 @clowess(double* %0, double* %1, i32 %10, double %11, i32 %12, double %13, double* %6, double* %7, double* %8)
ret void
}