#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*/ s2qtxtxz(float *, float *, float *, float *, float, float,
                            float, char *, float);
void s2qtxtxz_(float *x1, float *x2, float *z1, float *z2, float *x, float *y,
               float *z, char *text, float *pad, long int textlen) {
  char *t1 = _s2_f2cstr(text, textlen);
  s2qtxtxz(x1, x2, z1, z2, *x, *y, *z, t1, *pad);
  free(t1);
}


x86 assembly (clang, -O0):
<s2qtxtxz_>:
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    0x18(%rbp),%rdi
mov    0x28(%rbp),%rsi
call   1050 <_s2_f2cstr@plt>
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%rdx
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x30(%rbp),%rax
movss  (%rax),%xmm1
mov    0x10(%rbp),%rax
movss  (%rax),%xmm2
mov    -0x38(%rbp),%r8
mov    0x20(%rbp),%rax
movss  (%rax),%xmm3
call   1040 <s2qtxtxz@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<s2qtxtxz_>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9,%r14
mov    %r8,%rbx
mov    %rcx,0x10(%rsp)
mov    %rdx,0x8(%rsp)
mov    %rsi,(%rsp)
mov    %rdi,%rbp
mov    0x60(%rsp),%r12
mov    0x50(%rsp),%r13
mov    0x58(%rsp),%rdi
mov    0x68(%rsp),%rsi
call   1050 <_s2_f2cstr@plt>
mov    %rax,%r15
movss  (%rbx),%xmm0
movss  (%r14),%xmm1
movss  0x0(%r13),%xmm2
movss  (%r12),%xmm3
mov    %rbp,%rdi
mov    (%rsp),%rsi
mov    0x8(%rsp),%rdx
mov    0x10(%rsp),%rcx
mov    %rax,%r8
call   1040 <s2qtxtxz@plt>
mov    %r15,%rdi
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

LLVM IR (-O0):
define void @s2qtxtxz_(float* %0, float* %1, float* %2, float* %3, float* %4, float* %5, float* %6, i8* %7, float* %8, i64 %9) {
%11 = alloca float*
%12 = alloca float*
%13 = alloca float*
%14 = alloca float*
%15 = alloca float*
%16 = alloca float*
%17 = alloca float*
%18 = alloca i8*
%19 = alloca float*
%20 = alloca i64
%21 = alloca i8*
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 i8* %7, i8** %18
store float* %8, float** %19
store i64 %9, i64* %20
%22 = load i8*, i8** %18
%23 = load i64, i64* %20
%24 = call i8* @_s2_f2cstr(i8* %22, i64 %23)
store i8* %24, i8** %21
%25 = load float*, float** %11
%26 = load float*, float** %12
%27 = load float*, float** %13
%28 = load float*, float** %14
%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 i8*, i8** %21
%36 = load float*, float** %19
%37 = load float, float* %36
%38 = call i32 @s2qtxtxz(float* %25, float* %26, float* %27, float* %28, float %30, float %32, float %34, i8* %35, float %37)
%39 = load i8*, i8** %21
%40 = call i32 @free(i8* %39)
ret void
}

LLVM IR (-O2):
define void @s2qtxtxz_(float* %0, float* %1, float* %2, float* %3, float* nocapture %4, float* nocapture %5, float* nocapture %6, i8* %7, float* nocapture %8, i64 %9) {
%11 = tail call i8* @_s2_f2cstr(i8* %7, i64 %9)
%12 = load float, float* %4
%13 = load float, float* %5
%14 = load float, float* %6
%15 = load float, float* %8
%16 = tail call i32 @s2qtxtxz(float* %0, float* %1, float* %2, float* %3, float %12, float %13, float %14, i8* %11, float %15)
%17 = tail call i32 @free(i8* %11)
ret void
}