#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*/ ns2spherex(float, float, float, float, float, float, float,
                              unsigned int);
void ns2spherex_(float *x, float *y, float *z, float *r, float *red,
                 float *green, float *blue, unsigned int *textureid) {
  ns2spherex(*x, *y, *z, *r, *red, *green, *blue, *textureid);
}


x86 assembly (clang, -O0):
<ns2spherex_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
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
mov    (%rax),%edi
call   1030 <ns2spherex@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ns2spherex_>:
mov    0x10(%rsp),%r10
mov    0x8(%rsp),%rax
movss  (%rdi),%xmm0
movss  (%rsi),%xmm1
movss  (%rdx),%xmm2
movss  (%rcx),%xmm3
movss  (%r8),%xmm4
movss  (%r9),%xmm5
movss  (%rax),%xmm6
mov    (%r10),%edi
jmp    1030 <ns2spherex@plt>

LLVM IR (-O0):
define void @ns2spherex_(float* %0, float* %1, float* %2, float* %3, float* %4, float* %5, float* %6, i32* %7) {
%9 = alloca float*
%10 = alloca float*
%11 = alloca float*
%12 = alloca float*
%13 = alloca float*
%14 = alloca float*
%15 = alloca float*
%16 = alloca i32*
store float* %0, float** %9
store float* %1, float** %10
store float* %2, float** %11
store float* %3, float** %12
store float* %4, float** %13
store float* %5, float** %14
store float* %6, float** %15
store i32* %7, i32** %16
%17 = load float*, float** %9
%18 = load float, float* %17
%19 = load float*, float** %10
%20 = load float, float* %19
%21 = load float*, float** %11
%22 = load float, float* %21
%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 i32*, i32** %16
%32 = load i32, i32* %31
%33 = call i32 @ns2spherex(float %18, float %20, float %22, float %24, float %26, float %28, float %30, i32 %32)
ret void
}

LLVM IR (-O2):
define void @ns2spherex_(float* nocapture %0, float* nocapture %1, float* nocapture %2, float* nocapture %3, float* nocapture %4, float* nocapture %5, float* nocapture %6, i32* nocapture %7) {
%9 = load float, float* %0
%10 = load float, float* %1
%11 = load float, float* %2
%12 = load float, float* %3
%13 = load float, float* %4
%14 = load float, float* %5
%15 = load float, float* %6
%16 = load i32, i32* %7
%17 = tail call i32 @ns2spherex(float %9, float %10, float %11, float %12, float %13, float %14, float %15, i32 %16)
ret void
}