#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 mesh_3d_aft_opts(int *, double *, int *, int *, int *, int *, int *, int *,
                     int, int, int, int /*<<< orphan*/, int /*<<< orphan*/, int,
                     int /*<<< orphan*/);
int mesh_3d_aft_(int *pnV, double *vertex, int *pnF, int *face, int *facecolor,
                 int *pnT, int *tetra, int *tetracolor, int *pnnV, int *pnnF,
                 int *pnnT) {
  return mesh_3d_aft_opts(pnV, vertex, pnF, face, facecolor, pnT, tetra,
                          tetracolor, *pnnV, *pnnF, *pnnT, 0, 0, 1, 0);
}


x86 assembly (clang, -O0):
<mesh_3d_aft_>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x78,%rsp
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
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)
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),%rax
mov    (%rax),%r11d
mov    0x28(%rbp),%rax
mov    (%rax),%r10d
mov    0x30(%rbp),%rax
mov    (%rax),%eax
xor    %r15d,%r15d
mov    %r14,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11d,0x10(%rsp)
mov    %r10d,0x18(%rsp)
mov    %eax,0x20(%rsp)
movl   $0x0,0x28(%rsp)
movl   $0x0,0x30(%rsp)
movl   $0x1,0x38(%rsp)
movl   $0x0,0x40(%rsp)
call   1030 <mesh_3d_aft_opts@plt>
add    $0x78,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<mesh_3d_aft_>:
push   %rbp
push   %rbx
sub    $0x48,%rsp
movaps 0x60(%rsp),%xmm0
mov    0x80(%rsp),%r10
mov    0x78(%rsp),%r11
mov    0x70(%rsp),%rax
mov    (%rax),%ebp
mov    (%r11),%eax
mov    (%r10),%ebx
mov    %ebx,0x20(%rsp)
mov    %eax,0x18(%rsp)
mov    %ebp,0x10(%rsp)
movups %xmm0,(%rsp)
movl   $0x0,0x40(%rsp)
movl   $0x1,0x38(%rsp)
movl   $0x0,0x30(%rsp)
movl   $0x0,0x28(%rsp)
call   1030 <mesh_3d_aft_opts@plt>
add    $0x48,%rsp
pop    %rbx
pop    %rbp
ret

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

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