#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, double, double, double,
                           double, double);
void TextFloat(FILE *F, double x, double y, double n) {
  fprintf(F,
          "<text xml:space=\"preserve\" "
          "style=\"font-size:40px;font-style:normal;"
          "font-weight:normal;line-height:125%%;"
          "letter-spacing:0px;word-spacing:0px;fill:#000000;"
          "fill-opacity:1;stroke:none;font-family:Sans\" "
          "x=\"%.2lf\" "
          "y=\"%.2lf\" "
          "id=\"corben\" "
          "sodipodi:linespacing=\"125%%\">"
          "<tspan sodipodi:role=\"line\" "
          "id=\"tspan3804\" "
          "x=\"%.2lf\" "
          "y=\"%.2lf\" "
          "style=\"font-size:18px;font-style:normal;font-variant:"
          "normal;font-weight:normal;font-stretch:normal;"
          "text-align:start;line-height:125%%;writing-mode"
          ":lr-tb;text-anchor:start;font-family:Arial;-"
          "inkscape-font-specification:Arial\"> %5.2lf</tspan>\n"
          "</text>\n",
          x, y, x, y, n);
}


x86 assembly (clang, -O0):
<TextFloat>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
movsd  %xmm2,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm3
movsd  -0x20(%rbp),%xmm4
lea    0xeb1(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<TextFloat>:
movaps %xmm2,%xmm4
lea    0xee6(%rip),%rsi
movaps %xmm0,%xmm2
movaps %xmm1,%xmm3
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@.str = [572 x i8] c"<text xml:space=\22preserve\22 style=\22font-size:40px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:;fill-opacity:1;stroke:none;font-family:Sans\22 x=\22%.2lf\22 y=\22%.2lf\22 id=\22corben\22 sodipodi:linespacing=\22125%%\22><tspan sodipodi:role=\22line\22 id=\22tspan3804\22 x=\22%.2lf\22 y=\22%.2lf\22 style=\22font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%%;writing-mode:lr-tb;text-anchor:start;font-family:Arial;-inkscape-font-specification:Arial\22> %5.2lf</tspan>\0A</text>\0A\00"
define void @TextFloat(i32* %0, double %1, double %2, double %3) {
%5 = alloca i32*
%6 = alloca double
%7 = alloca double
%8 = alloca double
store i32* %0, i32** %5
store double %1, double* %6
store double %2, double* %7
store double %3, double* %8
%9 = load i32*, i32** %5
%10 = load double, double* %6
%11 = load double, double* %7
%12 = load double, double* %6
%13 = load double, double* %7
%14 = load double, double* %8
%15 = call i32 @fprintf(i32* %9, i8* getelementptr inbounds ([572 x i8], [572 x i8]* @.str, i64 0, i64 0), double %10, double %11, double %12, double %13, double %14)
ret void
}

LLVM IR (-O2):
@.str = [572 x i8] c"<text xml:space=\22preserve\22 style=\22font-size:40px;font-style:normal;font-weight:normal;line-height:125%%;letter-spacing:0px;word-spacing:0px;fill:;fill-opacity:1;stroke:none;font-family:Sans\22 x=\22%.2lf\22 y=\22%.2lf\22 id=\22corben\22 sodipodi:linespacing=\22125%%\22><tspan sodipodi:role=\22line\22 id=\22tspan3804\22 x=\22%.2lf\22 y=\22%.2lf\22 style=\22font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%%;writing-mode:lr-tb;text-anchor:start;font-family:Arial;-inkscape-font-specification:Arial\22> %5.2lf</tspan>\0A</text>\0A\00"
define void @TextFloat(i32* nocapture %0, double %1, double %2, double %3) {
%5 = tail call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([572 x i8], [572 x i8]* @.str, i64 0, i64 0), double %1, double %2, double %1, double %2, double %3)
ret void
}