#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*/ ns2arc(float, float, float, float, float, float, float,
                          float, float, float, int);
void ns2arc_(float *px, float *py, float *pz, float *nx, float *ny, float *nz,
             float *sx, float *sy, float *sz, float *deg, int *nseg) {
  ns2arc(*px, *py, *pz, *nx, *ny, *nz, *sx, *sy, *sz, *deg, *nseg);
}


x86 assembly (clang, -O0):
<ns2arc_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
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),%rax
movss  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm1
mov    -0x18(%rbp),%rax
movss  (%rax),%xmm2
mov    -0x20(%rbp),%rax
movss  (%rax),%xmm3
mov    -0x28(%rbp),%rax
movss  (%rax),%xmm4
mov    -0x30(%rbp),%rax
movss  (%rax),%xmm5
mov    0x10(%rbp),%rax
movss  (%rax),%xmm6
mov    0x18(%rbp),%rax
movss  (%rax),%xmm7
mov    0x20(%rbp),%rax
movss  (%rax),%xmm9
mov    0x28(%rbp),%rax
movss  (%rax),%xmm8
mov    0x30(%rbp),%rax
mov    (%rax),%edi
movss  %xmm9,(%rsp)
movss  %xmm8,0x8(%rsp)
call   1030 <ns2arc@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ns2arc_>:
push   %r14
push   %rbx
sub    $0x18,%rsp
mov    0x50(%rsp),%r10
mov    0x48(%rsp),%r11
mov    0x40(%rsp),%r14
mov    0x38(%rsp),%rbx
mov    0x30(%rsp),%rax
movss  (%rdi),%xmm0
movss  (%rsi),%xmm1
movss  (%rdx),%xmm2
movss  (%rcx),%xmm3
movss  (%r8),%xmm4
movss  (%r9),%xmm5
movss  (%rax),%xmm6
movss  (%rbx),%xmm7
movss  (%r14),%xmm8
movss  (%r11),%xmm9
mov    (%r10),%edi
movss  %xmm9,0x8(%rsp)
movss  %xmm8,(%rsp)
call   1030 <ns2arc@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

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

LLVM IR (-O2):
define void @ns2arc_(float* nocapture %0, float* nocapture %1, float* nocapture %2, float* nocapture %3, float* nocapture %4, float* nocapture %5, float* nocapture %6, float* nocapture %7, float* nocapture %8, float* nocapture %9, i32* nocapture %10) {
%12 = load float, float* %0
%13 = load float, float* %1
%14 = load float, float* %2
%15 = load float, float* %3
%16 = load float, float* %4
%17 = load float, float* %5
%18 = load float, float* %6
%19 = load float, float* %7
%20 = load float, float* %8
%21 = load float, float* %9
%22 = load i32, i32* %10
%23 = tail call i32 @ns2arc(float %12, float %13, float %14, float %15, float %16, float %17, float %18, float %19, float %20, float %21, i32 %22)
ret void
}