#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 *, char *, double, double,
                           double, double);
void Chromosome(FILE *F, double w, double h, double x, double y) {
  char borderColor[] = "#000000";
  fprintf(F,
          "<rect style=\"fill:none;stroke:%s;stroke-width:1;"
          "stroke-linecap:butt;stroke-linejoin:miter;"
          "stroke-miterlimit:1;stroke-opacity:1;"
          "stroke-dasharray:none\" "
          "id=\"rect2985\" "
          "width=\"%.2lf\" "
          "height=\"%.2lf\" "
          "x=\"%.2lf\" "
          "y=\"%.2lf\" "
          "/>\n",
          borderColor, w, h, x, y);
}


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

x86 assembly (clang, -O2):
<Chromosome>:
push   %rax
movabs $0x30303030303023,%rax
mov    %rax,(%rsp)
lea    0xeda(%rip),%rsi
mov    %rsp,%rdx
call   1030 <fprintf@plt>
pop    %rax
ret

LLVM IR (-O0):
@__const.Chromosome.borderColor = [8 x i8] c"\00"
@.str = [217 x i8] c"<rect style=\22fill:none;stroke:%s;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1;stroke-opacity:1;stroke-dasharray:none\22 id=\22rect2985\22 width=\22%.2lf\22 height=\22%.2lf\22 x=\22%.2lf\22 y=\22%.2lf\22 />\0A\00"
define void @Chromosome(i32* %0, double %1, double %2, double %3, double %4) {
%6 = alloca i32*
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca [8 x i8]
store i32* %0, i32** %6
store double %1, double* %7
store double %2, double* %8
store double %3, double* %9
store double %4, double* %10
%12 = bitcast [8 x i8]* %11 to i8*
%13 = load i32*, i32** %6
%14 = getelementptr inbounds [8 x i8], [8 x i8]* %11, i64 0, i64 0
%15 = load double, double* %7
%16 = load double, double* %8
%17 = load double, double* %9
%18 = load double, double* %10
%19 = call i32 @fprintf(i32* %13, i8* getelementptr inbounds ([217 x i8], [217 x i8]* @.str, i64 0, i64 0), i8* %14, double %15, double %16, double %17, double %18)
ret void
}

LLVM IR (-O2):
@.str = [217 x i8] c"<rect style=\22fill:none;stroke:%s;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1;stroke-opacity:1;stroke-dasharray:none\22 id=\22rect2985\22 width=\22%.2lf\22 height=\22%.2lf\22 x=\22%.2lf\22 y=\22%.2lf\22 />\0A\00"
define void @Chromosome(i32* nocapture %0, double %1, double %2, double %3, double %4) {
%6 = alloca i64
%7 = bitcast i64* %6 to i8*
store i64 13563782407139363, i64* %6
%8 = call i32 @fprintf(i32* %0, i8* getelementptr inbounds ([217 x i8], [217 x i8]* @.str, i64 0, i64 0), i8* %7, double %1, double %2, double %3, double %4)
ret void
}