#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 */
int /*<<< orphan*/ hrt(double, double, char *);
int /*<<< orphan*/ printf(char *, double, double);
void print_start(double bordersize) {
  printf("        <rect x=\"%.2fin\" y=\"%.2fin\" width=\"4.50in\" "
         "height=\"0.5in\" fill=\"#0000e0\" />\n",
         bordersize, 16.5 + bordersize);
  printf("        <rect x=\"%.2fin\" y=\"%.2fin\" width=\"4.50in\" "
         "height=\"0.5in\" fill=\"#ef0000\" />\n",
         bordersize + 1.25, 17.0 + bordersize);
  hrt(bordersize, 16.0 + bordersize, "START");
}


x86 assembly (clang, -O0):
<print_start>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xede(%rip),%xmm1
addsd  -0x8(%rbp),%xmm1
lea    0xeda(%rip),%rdi
call   1040 <printf@plt>
movsd  0xebd(%rip),%xmm0
addsd  -0x8(%rbp),%xmm0
movsd  0xea8(%rip),%xmm1
addsd  -0x8(%rbp),%xmm1
lea    0xf09(%rip),%rdi
call   1040 <printf@plt>
movsd  -0x8(%rbp),%xmm0
movsd  0xe82(%rip),%xmm1
addsd  -0x8(%rbp),%xmm1
lea    0xf40(%rip),%rdi
call   1030 <hrt@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_start>:
push   %rax
movsd  %xmm0,(%rsp)
movsd  0xed2(%rip),%xmm1
addsd  %xmm0,%xmm1
lea    0xee7(%rip),%rdi
call   1040 <printf@plt>
movsd  0xec2(%rip),%xmm0
movsd  (%rsp),%xmm2
addsd  %xmm2,%xmm0
movsd  0xeb9(%rip),%xmm1
addsd  %xmm2,%xmm1
lea    0xf13(%rip),%rdi
call   1040 <printf@plt>
movsd  0xea9(%rip),%xmm1
movsd  (%rsp),%xmm0
addsd  %xmm0,%xmm1
lea    0xf4b(%rip),%rdi
pop    %rax
jmp    1030 <hrt@plt>

LLVM IR (-O0):
@.str = [85 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\224.50in\22 height=\220.5in\22 fill=\22e0\22 />\0A\00"
@.str.1 = [85 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\224.50in\22 height=\220.5in\22 fill=\22#ef0000\22 />\0A\00"
@.str.2 = [6 x i8] c"START\00"
define void @print_start(double %0) {
%2 = alloca double
store double %0, double* %2
%3 = load double, double* %2
%4 = load double, double* %2
%5 = fadd double 1.650000e+01, %4
%6 = call i32 @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str, i64 0, i64 0), double %3, double %5)
%7 = load double, double* %2
%8 = fadd double %7, 1.250000e+00
%9 = load double, double* %2
%10 = fadd double 1.700000e+01, %9
%11 = call i32 @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.1, i64 0, i64 0), double %8, double %10)
%12 = load double, double* %2
%13 = load double, double* %2
%14 = fadd double 1.600000e+01, %13
%15 = call i32 @hrt(double %12, double %14, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [85 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\224.50in\22 height=\220.5in\22 fill=\22e0\22 />\0A\00"
@.str.1 = [85 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\224.50in\22 height=\220.5in\22 fill=\22#ef0000\22 />\0A\00"
@.str.2 = [6 x i8] c"START\00"
define void @print_start(double %0) {
%2 = fadd double %0, 1.650000e+01
%3 = tail call i32 @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str, i64 0, i64 0), double %0, double %2)
%4 = fadd double %0, 1.250000e+00
%5 = fadd double %0, 1.700000e+01
%6 = tail call i32 @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.1, i64 0, i64 0), double %4, double %5)
%7 = fadd double %0, 1.600000e+01
%8 = tail call i32 @hrt(double %0, double %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
ret void
}