#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*/ ns2thwcube(float, float, float, float, float, float, float,
                              float, float, float);
void ns2thwcube_(float *x1, float *y1, float *z1, float *x2, float *y2,
                 float *z2, float *red, float *green, float *blue,
                 float *width) {
  ns2thwcube(*x1, *y1, *z1, *x2, *y2, *z2, *red, *green, *blue, *width);
}


x86 assembly (clang, -O0):
<ns2thwcube_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
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
movss  %xmm9,(%rsp)
movss  %xmm8,0x8(%rsp)
call   1030 <ns2thwcube@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ns2thwcube_>:
push   %rbx
sub    $0x10,%rsp
mov    0x38(%rsp),%r10
mov    0x30(%rsp),%r11
mov    0x28(%rsp),%rax
mov    0x20(%rsp),%rbx
movss  (%rdi),%xmm0
movss  (%rsi),%xmm1
movss  (%rdx),%xmm2
movss  (%rcx),%xmm3
movss  (%r8),%xmm4
movss  (%r9),%xmm5
movss  (%rbx),%xmm6
movss  (%rax),%xmm7
movss  (%r11),%xmm8
movss  (%r10),%xmm9
movss  %xmm9,0x8(%rsp)
movss  %xmm8,(%rsp)
call   1030 <ns2thwcube@plt>
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define void @ns2thwcube_(float* %0, float* %1, float* %2, float* %3, float* %4, float* %5, float* %6, float* %7, float* %8, float* %9) {
%11 = alloca float*
%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*
store float* %0, float** %11
store float* %1, float** %12
store float* %2, float** %13
store float* %3, float** %14
store float* %4, float** %15
store float* %5, float** %16
store float* %6, float** %17
store float* %7, float** %18
store float* %8, float** %19
store float* %9, float** %20
%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 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 = call i32 @ns2thwcube(float %22, float %24, float %26, float %28, float %30, float %32, float %34, float %36, float %38, float %40)
ret void
}

LLVM IR (-O2):
define void @ns2thwcube_(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) {
%11 = load float, float* %0
%12 = load float, float* %1
%13 = load float, float* %2
%14 = load float, float* %3
%15 = load float, float* %4
%16 = load float, float* %5
%17 = load float, float* %6
%18 = load float, float* %7
%19 = load float, float* %8
%20 = load float, float* %9
%21 = tail call i32 @ns2thwcube(float %11, float %12, float %13, float %14, float %15, float %16, float %17, float %18, float %19, float %20)
ret void
}