#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*/ s2textxyf(float, float, float, float, float, char *);
void s2textxyf_(float *x, float *y, float *z, float *flipx, float *flipy,
                char *text, long int textlen) {
  char *t1 = _s2_f2cstr(text, textlen);
  s2textxyf(*x, *y, *z, *flipx, *flipy, t1);
  free(t1);
}


x86 assembly (clang, -O0):
<s2textxyf_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
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    -0x30(%rbp),%rdi
mov    0x10(%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    -0x38(%rbp),%rdi
call   1040 <s2textxyf@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<s2textxyf_>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %r8,%r14
mov    %rcx,%r15
mov    %rdx,%r12
mov    %rsi,%r13
mov    %rdi,%rbx
mov    0x40(%rsp),%rsi
mov    %r9,%rdi
call   1050 <_s2_f2cstr@plt>
mov    %rax,%rbp
movss  (%rbx),%xmm0
movss  0x0(%r13),%xmm1
movss  (%r12),%xmm2
movss  (%r15),%xmm3
movss  (%r14),%xmm4
mov    %rax,%rdi
call   1040 <s2textxyf@plt>
mov    %rbp,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

LLVM IR (-O0):
define void @s2textxyf_(float* %0, float* %1, float* %2, float* %3, float* %4, i8* %5, i64 %6) {
%8 = alloca float*
%9 = alloca float*
%10 = alloca float*
%11 = alloca float*
%12 = alloca float*
%13 = alloca i8*
%14 = alloca i64
%15 = alloca i8*
store float* %0, float** %8
store float* %1, float** %9
store float* %2, float** %10
store float* %3, float** %11
store float* %4, float** %12
store i8* %5, i8** %13
store i64 %6, i64* %14
%16 = load i8*, i8** %13
%17 = load i64, i64* %14
%18 = call i8* @_s2_f2cstr(i8* %16, i64 %17)
store i8* %18, i8** %15
%19 = load float*, float** %8
%20 = load float, float* %19
%21 = load float*, float** %9
%22 = load float, float* %21
%23 = load float*, float** %10
%24 = load float, float* %23
%25 = load float*, float** %11
%26 = load float, float* %25
%27 = load float*, float** %12
%28 = load float, float* %27
%29 = load i8*, i8** %15
%30 = call i32 @s2textxyf(float %20, float %22, float %24, float %26, float %28, i8* %29)
%31 = load i8*, i8** %15
%32 = call i32 @free(i8* %31)
ret void
}

LLVM IR (-O2):
define void @s2textxyf_(float* nocapture %0, float* nocapture %1, float* nocapture %2, float* nocapture %3, float* nocapture %4, i8* %5, i64 %6) {
%8 = tail call i8* @_s2_f2cstr(i8* %5, i64 %6)
%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 = tail call i32 @s2textxyf(float %9, float %10, float %11, float %12, float %13, i8* %8)
%15 = tail call i32 @free(i8* %8)
ret void
}