#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*/ ns2disk(float, float, float, float, float, float, float,
                           float, float, float, float);
void ns2disk_(float *x, float *y, float *z, float *nx, float *ny, float *nz,
              float *r1, float *r2, float *red, float *green, float *blue) {
  ns2disk(*x, *y, *z, *nx, *ny, *nz, *r1, *r2, *red, *green, *blue);
}


x86 assembly (clang, -O0):
<ns2disk_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%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),%xmm10
mov    0x28(%rbp),%rax
movss  (%rax),%xmm9
mov    0x30(%rbp),%rax
movss  (%rax),%xmm8
movss  %xmm10,(%rsp)
movss  %xmm9,0x8(%rsp)
movss  %xmm8,0x10(%rsp)
call   1030 <ns2disk@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ns2disk_>:
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
movss  (%r10),%xmm10
movss  %xmm10,0x10(%rsp)
movss  %xmm9,0x8(%rsp)
movss  %xmm8,(%rsp)
call   1030 <ns2disk@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @ns2disk_(float* %0, float* %1, float* %2, float* %3, float* %4, float* %5, float* %6, float* %7, float* %8, float* %9, float* %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 float*
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 float* %10, float** %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 float*, float** %22
%44 = load float, float* %43
%45 = call i32 @ns2disk(float %24, float %26, float %28, float %30, float %32, float %34, float %36, float %38, float %40, float %42, float %44)
ret void
}

LLVM IR (-O2):
define void @ns2disk_(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, float* 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 float, float* %10
%23 = tail call i32 @ns2disk(float %12, float %13, float %14, float %15, float %16, float %17, float %18, float %19, float %20, float %21, float %22)
ret void
}