#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 */
char *_s2_f2cstr(char *, long);
int /*<<< orphan*/ free(char *);
int /*<<< orphan*/ ns2text(float, float, float, float, float, float, float,
                           float, float, float, float, float, char *);
void ns2text_(float *x, float *y, float *z, float *rx, float *ry, float *rz,
              float *ux, float *uy, float *uz, float *red, float *green,
              float *blue, char *text, long int textlen) {
  char *ttex = _s2_f2cstr(text, textlen);
  ns2text(*x, *y, *z, *rx, *ry, *rz, *ux, *uy, *uz, *red, *green, *blue, ttex);
  free(ttex);
}


x86 assembly (clang, -O0):
<ns2text_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
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,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    0x40(%rbp),%rdi
mov    0x48(%rbp),%rsi
call   1050 <_s2_f2cstr@plt>
mov    %rax,-0x38(%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),%xmm11
mov    0x28(%rbp),%rax
movss  (%rax),%xmm10
mov    0x30(%rbp),%rax
movss  (%rax),%xmm9
mov    0x38(%rbp),%rax
movss  (%rax),%xmm8
mov    -0x38(%rbp),%rdi
movss  %xmm11,(%rsp)
movss  %xmm10,0x8(%rsp)
movss  %xmm9,0x10(%rsp)
movss  %xmm8,0x18(%rsp)
call   1040 <ns2text@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ns2text_>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r9,0x50(%rsp)
mov    %r8,0x40(%rsp)
mov    %rcx,0x30(%rsp)
mov    %rdx,%r13
mov    %rsi,%rbx
mov    %rdi,%rbp
mov    0xb8(%rsp),%rax
mov    %rax,0x48(%rsp)
mov    0xb0(%rsp),%rax
mov    %rax,0x38(%rsp)
mov    0xa8(%rsp),%rax
mov    %rax,0x28(%rsp)
mov    0xa0(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0x98(%rsp),%r12
mov    0x90(%rsp),%r15
mov    0xc0(%rsp),%rdi
mov    0xc8(%rsp),%rsi
call   1050 <_s2_f2cstr@plt>
mov    %rax,%r14
movss  0x0(%rbp),%xmm0
movss  (%rbx),%xmm1
movss  0x0(%r13),%xmm2
mov    0x30(%rsp),%rax
movss  (%rax),%xmm3
mov    0x40(%rsp),%rax
movss  (%rax),%xmm4
mov    0x50(%rsp),%rax
movss  (%rax),%xmm5
movss  (%r15),%xmm6
movss  (%r12),%xmm7
mov    0x20(%rsp),%rax
movss  (%rax),%xmm8
mov    0x28(%rsp),%rax
movss  (%rax),%xmm9
mov    0x38(%rsp),%rax
movss  (%rax),%xmm10
mov    0x48(%rsp),%rax
movss  (%rax),%xmm11
movss  %xmm11,0x18(%rsp)
movss  %xmm10,0x10(%rsp)
movss  %xmm9,0x8(%rsp)
movss  %xmm8,(%rsp)
mov    %r14,%rdi
call   1040 <ns2text@plt>
mov    %r14,%rdi
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

LLVM IR (-O0):
define void @ns2text_(float* %0, float* %1, float* %2, float* %3, float* %4, float* %5, float* %6, float* %7, float* %8, float* %9, float* %10, float* %11, i8* %12, i64 %13) {
%15 = alloca float*
%16 = alloca float*
%17 = alloca float*
%18 = alloca float*
%19 = alloca float*
%20 = alloca float*
%21 = alloca float*
%22 = alloca float*
%23 = alloca float*
%24 = alloca float*
%25 = alloca float*
%26 = alloca float*
%27 = alloca i8*
%28 = alloca i64
%29 = alloca i8*
store float* %0, float** %15
store float* %1, float** %16
store float* %2, float** %17
store float* %3, float** %18
store float* %4, float** %19
store float* %5, float** %20
store float* %6, float** %21
store float* %7, float** %22
store float* %8, float** %23
store float* %9, float** %24
store float* %10, float** %25
store float* %11, float** %26
store i8* %12, i8** %27
store i64 %13, i64* %28
%30 = load i8*, i8** %27
%31 = load i64, i64* %28
%32 = call i8* @_s2_f2cstr(i8* %30, i64 %31)
store i8* %32, i8** %29
%33 = load float*, float** %15
%34 = load float, float* %33
%35 = load float*, float** %16
%36 = load float, float* %35
%37 = load float*, float** %17
%38 = load float, float* %37
%39 = load float*, float** %18
%40 = load float, float* %39
%41 = load float*, float** %19
%42 = load float, float* %41
%43 = load float*, float** %20
%44 = load float, float* %43
%45 = load float*, float** %21
%46 = load float, float* %45
%47 = load float*, float** %22
%48 = load float, float* %47
%49 = load float*, float** %23
%50 = load float, float* %49
%51 = load float*, float** %24
%52 = load float, float* %51
%53 = load float*, float** %25
%54 = load float, float* %53
%55 = load float*, float** %26
%56 = load float, float* %55
%57 = load i8*, i8** %29
%58 = call i32 @ns2text(float %34, float %36, float %38, float %40, float %42, float %44, float %46, float %48, float %50, float %52, float %54, float %56, i8* %57)
%59 = load i8*, i8** %29
%60 = call i32 @free(i8* %59)
ret void
}

LLVM IR (-O2):
define void @ns2text_(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, float* nocapture %11, i8* %12, i64 %13) {
%15 = tail call i8* @_s2_f2cstr(i8* %12, i64 %13)
%16 = load float, float* %0
%17 = load float, float* %1
%18 = load float, float* %2
%19 = load float, float* %3
%20 = load float, float* %4
%21 = load float, float* %5
%22 = load float, float* %6
%23 = load float, float* %7
%24 = load float, float* %8
%25 = load float, float* %9
%26 = load float, float* %10
%27 = load float, float* %11
%28 = tail call i32 @ns2text(float %16, float %17, float %18, float %19, float %20, float %21, float %22, float %23, float %24, float %25, float %26, float %27, i8* %15)
%29 = tail call i32 @free(i8* %15)
ret void
}