#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*/ back_square(double, double);
int /*<<< orphan*/ hrt(double, double, char *);
int /*<<< orphan*/ print_check(double, double);
int /*<<< orphan*/ printf(char *, double, double);
void print_six(double x, double y) {
  printf("        <rect x=\"%.2fin\" y=\"%.2fin\" width=\"5.75in\" "
         "height=\"0.5in\" fill=\"#0000e0\" />\n",
         x, y);
  print_check(x, y + 0.5);
  back_square(x, y);
  hrt(x, y, "6");
}


x86 assembly (clang, -O0):
<print_six>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
lea    0xea5(%rip),%rdi
call   1050 <printf@plt>
movsd  -0x8(%rbp),%xmm0
movsd  0xe8b(%rip),%xmm1
addsd  -0x10(%rbp),%xmm1
call   1060 <print_check@plt>
movsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
call   1040 <back_square@plt>
movsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
lea    0xebe(%rip),%rdi
call   1030 <hrt@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_six>:
sub    $0x18,%rsp
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x8(%rsp)
lea    0xeb1(%rip),%rdi
call   1050 <printf@plt>
movsd  0xe9c(%rip),%xmm1
addsd  0x10(%rsp),%xmm1
movsd  0x8(%rsp),%xmm0
call   1060 <print_check@plt>
movsd  0x8(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
call   1040 <back_square@plt>
lea    0xed0(%rip),%rdi
movsd  0x8(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
add    $0x18,%rsp
jmp    1030 <hrt@plt>

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

LLVM IR (-O2):
@.str = [85 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\225.75in\22 height=\220.5in\22 fill=\22e0\22 />\0A\00"
@.str.1 = [2 x i8] c"6\00"
define void @print_six(double %0, double %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str, i64 0, i64 0), double %0, double %1)
%4 = fadd double %1, 5.000000e-01
%5 = tail call i32 @print_check(double %0, double %4)
%6 = tail call i32 @back_square(double %0, double %1)
%7 = tail call i32 @hrt(double %0, double %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
ret void
}