#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 aft3dboundary(int, double *, int, int *, int *, double *, int, int *, int *,
                  double *, void (*)(int, double, double *),
                  int (*)(int, double, double, double *, double *, double *),
                  int (*)(int, double, double *, double *),
                  double (*)(int, int), double (*)(double, double, double),
                  int *, int *, double *, int *, int *, int *, int *, int *,
                  int *, int, int, int, int);
int ani3d_surface_boundary_uni(
    int nVVert, double *VVertxyz, int nLine, int *LineD, int *LineP,
    double *LineT, int nSurface, int *SurfL, int *SurfI, double *SurfT,
    void (*v_u)(int, double, double *),
    int (*bounsurf)(int, double, double, double *, double *, double *),
    int (*bounline)(int, double, double *, double *),
    double (*periodicfunction)(int, int),
    double (*fsize)(double, double, double), int *exportCurves, int *pnV,
    double *vertex, int *pnF, int *face, int *facecolor, int *pnE, int *edge,
    int *edgecolor, int maxnV, int maxnF, int maxnE, int shift) {
  return aft3dboundary(nVVert, VVertxyz, nLine, LineD, LineP, LineT, nSurface,
                       SurfL, SurfI, SurfT, v_u, bounsurf, bounline,
                       periodicfunction, fsize, exportCurves, pnV, vertex, pnF,
                       face, facecolor, pnE, edge, edgecolor, maxnV, maxnF,
                       maxnE, shift);
}


x86 assembly (clang, -O0):
<ani3d_surface_boundary_uni>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x158,%rsp
mov    0xb8(%rbp),%eax
mov    0xb0(%rbp),%eax
mov    0xa8(%rbp),%eax
mov    0xa0(%rbp),%eax
mov    0x98(%rbp),%rax
mov    0x90(%rbp),%rax
mov    0x88(%rbp),%rax
mov    0x80(%rbp),%rax
mov    0x78(%rbp),%rax
mov    0x70(%rbp),%rax
mov    0x68(%rbp),%rax
mov    0x60(%rbp),%rax
mov    0x58(%rbp),%rax
mov    0x50(%rbp),%rax
mov    0x48(%rbp),%rax
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%eax
mov    %edi,-0x2c(%rbp)
mov    %rsi,-0x38(%rbp)
mov    %edx,-0x3c(%rbp)
mov    %rcx,-0x48(%rbp)
mov    %r8,-0x50(%rbp)
mov    %r9,-0x58(%rbp)
mov    -0x2c(%rbp),%edi
mov    -0x38(%rbp),%rsi
mov    -0x3c(%rbp),%edx
mov    -0x48(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x58(%rbp),%r9
mov    0x10(%rbp),%eax
mov    %eax,-0xcc(%rbp)
mov    0x18(%rbp),%rax
mov    %rax,-0xc8(%rbp)
mov    0x20(%rbp),%rax
mov    %rax,-0xc0(%rbp)
mov    0x28(%rbp),%rax
mov    %rax,-0xb8(%rbp)
mov    0x30(%rbp),%rax
mov    %rax,-0xb0(%rbp)
mov    0x38(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    0x40(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    0x48(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    0x50(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    0x58(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    0x60(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    0x68(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    0x70(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    0x78(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    0x80(%rbp),%r13
mov    0x88(%rbp),%r12
mov    0x90(%rbp),%r15
mov    0x98(%rbp),%r14
mov    0xa0(%rbp),%ebx
mov    0xa8(%rbp),%r11d
mov    0xb0(%rbp),%r10d
mov    0xb8(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0xcc(%rbp),%eax
mov    %eax,(%rsp)
mov    -0xc8(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0xc0(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0xb8(%rbp),%rax
mov    %rax,0x18(%rsp)
mov    -0xb0(%rbp),%rax
mov    %rax,0x20(%rsp)
mov    -0xa8(%rbp),%rax
mov    %rax,0x28(%rsp)
mov    -0xa0(%rbp),%rax
mov    %rax,0x30(%rsp)
mov    -0x98(%rbp),%rax
mov    %rax,0x38(%rsp)
mov    -0x90(%rbp),%rax
mov    %rax,0x40(%rsp)
mov    -0x88(%rbp),%rax
mov    %rax,0x48(%rsp)
mov    -0x80(%rbp),%rax
mov    %rax,0x50(%rsp)
mov    -0x78(%rbp),%rax
mov    %rax,0x58(%rsp)
mov    -0x70(%rbp),%rax
mov    %rax,0x60(%rsp)
mov    -0x68(%rbp),%rax
mov    %rax,0x68(%rsp)
mov    -0x5c(%rbp),%eax
mov    %r13,0x70(%rsp)
mov    %r12,0x78(%rsp)
mov    %r15,0x80(%rsp)
mov    %r14,0x88(%rsp)
mov    %ebx,0x90(%rsp)
mov    %r11d,0x98(%rsp)
mov    %r10d,0xa0(%rsp)
mov    %eax,0xa8(%rsp)
call   1030 <aft3dboundary@plt>
add    $0x158,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<ani3d_surface_boundary_uni>:
jmp    1030 <aft3dboundary@plt>

LLVM IR (-O0):
define i32 @ani3d_surface_boundary_uni(i32 %0, double* %1, i32 %2, i32* %3, i32* %4, double* %5, i32 %6, i32* %7, i32* %8, double* %9, void (i32, double, double*)* %10, i32 (i32, double, double, double*, double*, double*)* %11, i32 (i32, double, double*, double*)* %12, double (i32, i32)* %13, double (double, double, double)* %14, i32* %15, i32* %16, double* %17, i32* %18, i32* %19, i32* %20, i32* %21, i32* %22, i32* %23, i32 %24, i32 %25, i32 %26, i32 %27) {
%29 = alloca i32
%30 = alloca double*
%31 = alloca i32
%32 = alloca i32*
%33 = alloca i32*
%34 = alloca double*
%35 = alloca i32
%36 = alloca i32*
%37 = alloca i32*
%38 = alloca double*
%39 = alloca void (i32, double, double*)*
%40 = alloca i32 (i32, double, double, double*, double*, double*)*
%41 = alloca i32 (i32, double, double*, double*)*
%42 = alloca double (i32, i32)*
%43 = alloca double (double, double, double)*
%44 = alloca i32*
%45 = alloca i32*
%46 = alloca double*
%47 = alloca i32*
%48 = alloca i32*
%49 = alloca i32*
%50 = alloca i32*
%51 = alloca i32*
%52 = alloca i32*
%53 = alloca i32
%54 = alloca i32
%55 = alloca i32
%56 = alloca i32
store i32 %0, i32* %29
store double* %1, double** %30
store i32 %2, i32* %31
store i32* %3, i32** %32
store i32* %4, i32** %33
store double* %5, double** %34
store i32 %6, i32* %35
store i32* %7, i32** %36
store i32* %8, i32** %37
store double* %9, double** %38
store void (i32, double, double*)* %10, void (i32, double, double*)** %39
store i32 (i32, double, double, double*, double*, double*)* %11, i32 (i32, double, double, double*, double*, double*)** %40
store i32 (i32, double, double*, double*)* %12, i32 (i32, double, double*, double*)** %41
store double (i32, i32)* %13, double (i32, i32)** %42
store double (double, double, double)* %14, double (double, double, double)** %43
store i32* %15, i32** %44
store i32* %16, i32** %45
store double* %17, double** %46
store i32* %18, i32** %47
store i32* %19, i32** %48
store i32* %20, i32** %49
store i32* %21, i32** %50
store i32* %22, i32** %51
store i32* %23, i32** %52
store i32 %24, i32* %53
store i32 %25, i32* %54
store i32 %26, i32* %55
store i32 %27, i32* %56
%57 = load i32, i32* %29
%58 = load double*, double** %30
%59 = load i32, i32* %31
%60 = load i32*, i32** %32
%61 = load i32*, i32** %33
%62 = load double*, double** %34
%63 = load i32, i32* %35
%64 = load i32*, i32** %36
%65 = load i32*, i32** %37
%66 = load double*, double** %38
%67 = load void (i32, double, double*)*, void (i32, double, double*)** %39
%68 = load i32 (i32, double, double, double*, double*, double*)*, i32 (i32, double, double, double*, double*, double*)** %40
%69 = load i32 (i32, double, double*, double*)*, i32 (i32, double, double*, double*)** %41
%70 = load double (i32, i32)*, double (i32, i32)** %42
%71 = load double (double, double, double)*, double (double, double, double)** %43
%72 = load i32*, i32** %44
%73 = load i32*, i32** %45
%74 = load double*, double** %46
%75 = load i32*, i32** %47
%76 = load i32*, i32** %48
%77 = load i32*, i32** %49
%78 = load i32*, i32** %50
%79 = load i32*, i32** %51
%80 = load i32*, i32** %52
%81 = load i32, i32* %53
%82 = load i32, i32* %54
%83 = load i32, i32* %55
%84 = load i32, i32* %56
%85 = call i32 @aft3dboundary(i32 %57, double* %58, i32 %59, i32* %60, i32* %61, double* %62, i32 %63, i32* %64, i32* %65, double* %66, void (i32, double, double*)* %67, i32 (i32, double, double, double*, double*, double*)* %68, i32 (i32, double, double*, double*)* %69, double (i32, i32)* %70, double (double, double, double)* %71, i32* %72, i32* %73, double* %74, i32* %75, i32* %76, i32* %77, i32* %78, i32* %79, i32* %80, i32 %81, i32 %82, i32 %83, i32 %84)
ret i32 %85
}

LLVM IR (-O2):
define i32 @ani3d_surface_boundary_uni(i32 %0, double* %1, i32 %2, i32* %3, i32* %4, double* %5, i32 %6, i32* %7, i32* %8, double* %9, void (i32, double, double*)* %10, i32 (i32, double, double, double*, double*, double*)* %11, i32 (i32, double, double*, double*)* %12, double (i32, i32)* %13, double (double, double, double)* %14, i32* %15, i32* %16, double* %17, i32* %18, i32* %19, i32* %20, i32* %21, i32* %22, i32* %23, i32 %24, i32 %25, i32 %26, i32 %27) {
%29 = tail call i32 @aft3dboundary(i32 %0, double* %1, i32 %2, i32* %3, i32* %4, double* %5, i32 %6, i32* %7, i32* %8, double* %9, void (i32, double, double*)* %10, i32 (i32, double, double, double*, double*, double*)* %11, i32 (i32, double, double*, double*)* %12, double (i32, i32)* %13, double (double, double, double)* %14, i32* %15, i32* %16, double* %17, i32* %18, i32* %19, i32* %20, i32* %21, i32* %22, i32* %23, i32 %24, i32 %25, i32 %26, i32 %27)
ret i32 %29
}