#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 mesh2daftss_main(int *, double *, int *, int *, int *, int *, int *, int *,
                     int, int, int, double, double, int /*<<< orphan*/ *,
                     int /*<<< orphan*/ *, int /*<<< orphan*/ *);
int mesh2daftsslim(int *pnV, double *vertex, int *pnE, int *edge,
                   int *edgecolor, int *pnT, int *tria, int *triacolor, int nnV,
                   int nnE, int nnT, double ss, double lim) {
  return mesh2daftss_main(pnV, vertex, pnE, edge, edgecolor, pnT, tria,
                          triacolor, nnV, nnE, nnT, ss, lim, NULL, NULL, NULL);
}


x86 assembly (clang, -O0):
<mesh2daftsslim>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x88,%rsp
mov    0x30(%rbp),%eax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x20(%rbp)
mov    %rsi,-0x28(%rbp)
mov    %rdx,-0x30(%rbp)
mov    %rcx,-0x38(%rbp)
mov    %r8,-0x40(%rbp)
mov    %r9,-0x48(%rbp)
movsd  %xmm0,-0x50(%rbp)
movsd  %xmm1,-0x58(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x38(%rbp),%rcx
mov    -0x40(%rbp),%r8
mov    -0x48(%rbp),%r9
mov    0x10(%rbp),%r14
mov    0x18(%rbp),%rbx
mov    0x20(%rbp),%r11d
mov    0x28(%rbp),%r10d
mov    0x30(%rbp),%eax
movsd  -0x50(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
xor    %r15d,%r15d
mov    %r14,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11d,0x10(%rsp)
mov    %r10d,0x18(%rsp)
mov    %eax,0x20(%rsp)
movq   $0x0,0x28(%rsp)
movq   $0x0,0x30(%rsp)
movq   $0x0,0x38(%rsp)
call   1030 <mesh2daftss_main@plt>
add    $0x88,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<mesh2daftsslim>:
sub    $0x48,%rsp
movaps 0x50(%rsp),%xmm2
mov    0x60(%rsp),%r10d
mov    0x68(%rsp),%r11d
mov    0x70(%rsp),%eax
xorps  %xmm3,%xmm3
movups %xmm3,0x28(%rsp)
mov    %eax,0x20(%rsp)
mov    %r11d,0x18(%rsp)
mov    %r10d,0x10(%rsp)
movups %xmm2,(%rsp)
movq   $0x0,0x38(%rsp)
call   1030 <mesh2daftss_main@plt>
add    $0x48,%rsp
ret

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

LLVM IR (-O2):
define i32 @mesh2daftsslim(i32* %0, double* %1, i32* %2, i32* %3, i32* %4, i32* %5, i32* %6, i32* %7, i32 %8, i32 %9, i32 %10, double %11, double %12) {
%14 = tail call i32 @mesh2daftss_main(i32* %0, double* %1, i32* %2, i32* %3, i32* %4, i32* %5, i32* %6, i32* %7, i32 %8, i32 %9, i32 %10, double %11, double %12, i32* null, i32* null, i32* null)
ret i32 %14
}