#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 ani3d_surface_boundary_uni(
    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 /*<<< orphan*/ *, int *, double *,
    int *, int *, int *, int /*<<< orphan*/ *, int /*<<< orphan*/ *,
    int /*<<< orphan*/ *, int, int, int /*<<< orphan*/, int);
int ani3d_surface_boundary_(
    int *pnVVert, double *VVertxyz, int *pnLine, int *LineD, int *LineP,
    double *LineT, int *pnSurface, 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 *pnV, double *vertex, int *pnF,
    int *face, int *facecolor, int *pmaxnV, int *pmaxnF) {
  return ani3d_surface_boundary_uni(
      *pnVVert, VVertxyz, *pnLine, LineD, LineP, LineT, *pnSurface, SurfL,
      SurfI, SurfT, v_u, bounsurf, bounline, periodicfunction, fsize, NULL, pnV,
      vertex, pnF, face, facecolor, NULL, NULL, NULL, *pmaxnV, *pmaxnF, 0, 1);
}


x86 assembly (clang, -O0):
<ani3d_surface_boundary_>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x128,%rsp
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),%rax
mov    %rdi,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
mov    %rdx,-0x40(%rbp)
mov    %rcx,-0x48(%rbp)
mov    %r8,-0x50(%rbp)
mov    %r9,-0x58(%rbp)
mov    -0x30(%rbp),%rax
mov    (%rax),%edi
mov    -0x38(%rbp),%rsi
mov    -0x40(%rbp),%rax
mov    (%rax),%edx
mov    -0x48(%rbp),%rcx
mov    -0x50(%rbp),%r8
mov    -0x58(%rbp),%r9
mov    0x10(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x9c(%rbp)
mov    0x18(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    0x20(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    0x28(%rbp),%rax
mov    %rax,-0x88(%rbp)
mov    0x30(%rbp),%rax
mov    %rax,-0x80(%rbp)
mov    0x38(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    0x40(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    0x48(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    0x50(%rbp),%r13
mov    0x58(%rbp),%r12
mov    0x60(%rbp),%r15
mov    0x68(%rbp),%r14
mov    0x70(%rbp),%rbx
mov    0x78(%rbp),%r11
mov    0x80(%rbp),%rax
mov    (%rax),%r10d
mov    0x88(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x5c(%rbp)
xor    %eax,%eax
xor    %eax,%eax
mov    -0x9c(%rbp),%eax
mov    %eax,(%rsp)
mov    -0x98(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x90(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0x88(%rbp),%rax
mov    %rax,0x18(%rsp)
mov    -0x80(%rbp),%rax
mov    %rax,0x20(%rsp)
mov    -0x78(%rbp),%rax
mov    %rax,0x28(%rsp)
mov    -0x70(%rbp),%rax
mov    %rax,0x30(%rsp)
mov    -0x68(%rbp),%rax
mov    %rax,0x38(%rsp)
mov    -0x5c(%rbp),%eax
mov    %r13,0x40(%rsp)
movq   $0x0,0x48(%rsp)
mov    %r12,0x50(%rsp)
mov    %r15,0x58(%rsp)
mov    %r14,0x60(%rsp)
mov    %rbx,0x68(%rsp)
mov    %r11,0x70(%rsp)
movq   $0x0,0x78(%rsp)
movq   $0x0,0x80(%rsp)
movq   $0x0,0x88(%rsp)
mov    %r10d,0x90(%rsp)
mov    %eax,0x98(%rsp)
movl   $0x0,0xa0(%rsp)
movl   $0x1,0xa8(%rsp)
call   1030 <ani3d_surface_boundary_uni@plt>
add    $0x128,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<ani3d_surface_boundary_>:
push   %rbp
push   %rbx
sub    $0xb8,%rsp
movups 0xd8(%rsp),%xmm0
movups 0xe8(%rsp),%xmm1
movups 0xf8(%rsp),%xmm2
movups 0x108(%rsp),%xmm3
movups 0x118(%rsp),%xmm4
movups 0x128(%rsp),%xmm5
mov    0x138(%rsp),%r10
mov    0x148(%rsp),%r11
mov    0x140(%rsp),%rax
mov    0xd0(%rsp),%rbx
mov    (%rdi),%edi
mov    (%rdx),%edx
mov    (%rbx),%ebp
mov    (%rax),%eax
mov    (%r11),%ebx
mov    %ebx,0x98(%rsp)
mov    %eax,0x90(%rsp)
xorps  %xmm6,%xmm6
movups %xmm6,0x78(%rsp)
mov    %r10,0x70(%rsp)
movups %xmm5,0x60(%rsp)
movups %xmm4,0x50(%rsp)
movups %xmm3,0x38(%rsp)
movups %xmm2,0x28(%rsp)
movups %xmm1,0x18(%rsp)
movups %xmm0,0x8(%rsp)
mov    %ebp,(%rsp)
movl   $0x1,0xa8(%rsp)
movl   $0x0,0xa0(%rsp)
movq   $0x0,0x88(%rsp)
movq   $0x0,0x48(%rsp)
call   1030 <ani3d_surface_boundary_uni@plt>
add    $0xb8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
define i32 @ani3d_surface_boundary_(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, double* %16, i32* %17, i32* %18, i32* %19, i32* %20, i32* %21) {
%23 = alloca i32*
%24 = alloca double*
%25 = alloca i32*
%26 = alloca i32*
%27 = alloca i32*
%28 = alloca double*
%29 = alloca i32*
%30 = alloca i32*
%31 = alloca i32*
%32 = alloca double*
%33 = alloca void (i32, double, double*)*
%34 = alloca i32 (i32, double, double, double*, double*, double*)*
%35 = alloca i32 (i32, double, double*, double*)*
%36 = alloca double (i32, i32)*
%37 = alloca double (double, double, double)*
%38 = alloca i32*
%39 = alloca double*
%40 = alloca i32*
%41 = alloca i32*
%42 = alloca i32*
%43 = alloca i32*
%44 = alloca i32*
store i32* %0, i32** %23
store double* %1, double** %24
store i32* %2, i32** %25
store i32* %3, i32** %26
store i32* %4, i32** %27
store double* %5, double** %28
store i32* %6, i32** %29
store i32* %7, i32** %30
store i32* %8, i32** %31
store double* %9, double** %32
store void (i32, double, double*)* %10, void (i32, double, double*)** %33
store i32 (i32, double, double, double*, double*, double*)* %11, i32 (i32, double, double, double*, double*, double*)** %34
store i32 (i32, double, double*, double*)* %12, i32 (i32, double, double*, double*)** %35
store double (i32, i32)* %13, double (i32, i32)** %36
store double (double, double, double)* %14, double (double, double, double)** %37
store i32* %15, i32** %38
store double* %16, double** %39
store i32* %17, i32** %40
store i32* %18, i32** %41
store i32* %19, i32** %42
store i32* %20, i32** %43
store i32* %21, i32** %44
%45 = load i32*, i32** %23
%46 = load i32, i32* %45
%47 = load double*, double** %24
%48 = load i32*, i32** %25
%49 = load i32, i32* %48
%50 = load i32*, i32** %26
%51 = load i32*, i32** %27
%52 = load double*, double** %28
%53 = load i32*, i32** %29
%54 = load i32, i32* %53
%55 = load i32*, i32** %30
%56 = load i32*, i32** %31
%57 = load double*, double** %32
%58 = load void (i32, double, double*)*, void (i32, double, double*)** %33
%59 = load i32 (i32, double, double, double*, double*, double*)*, i32 (i32, double, double, double*, double*, double*)** %34
%60 = load i32 (i32, double, double*, double*)*, i32 (i32, double, double*, double*)** %35
%61 = load double (i32, i32)*, double (i32, i32)** %36
%62 = load double (double, double, double)*, double (double, double, double)** %37
%63 = load i32*, i32** %38
%64 = load double*, double** %39
%65 = load i32*, i32** %40
%66 = load i32*, i32** %41
%67 = load i32*, i32** %42
%68 = load i32*, i32** %43
%69 = load i32, i32* %68
%70 = load i32*, i32** %44
%71 = load i32, i32* %70
%72 = call i32 @ani3d_surface_boundary_uni(i32 %46, double* %47, i32 %49, i32* %50, i32* %51, double* %52, i32 %54, i32* %55, i32* %56, double* %57, void (i32, double, double*)* %58, i32 (i32, double, double, double*, double*, double*)* %59, i32 (i32, double, double*, double*)* %60, double (i32, i32)* %61, double (double, double, double)* %62, i32* null, i32* %63, double* %64, i32* %65, i32* %66, i32* %67, i32* null, i32* null, i32* null, i32 %69, i32 %71, i32 0, i32 1)
ret i32 %72
}

LLVM IR (-O2):
define i32 @ani3d_surface_boundary_(i32* nocapture %0, double* %1, i32* nocapture %2, i32* %3, i32* %4, double* %5, i32* nocapture %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, double* %16, i32* %17, i32* %18, i32* %19, i32* nocapture %20, i32* nocapture %21) {
%23 = load i32, i32* %0
%24 = load i32, i32* %2
%25 = load i32, i32* %6
%26 = load i32, i32* %20
%27 = load i32, i32* %21
%28 = tail call i32 @ani3d_surface_boundary_uni(i32 %23, double* %1, i32 %24, i32* %3, i32* %4, double* %5, i32 %25, 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* null, i32* %15, double* %16, i32* %17, i32* %18, i32* %19, i32* null, i32* null, i32* null, i32 %26, i32 %27, i32 0, i32 1)
ret i32 %28
}