#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*/ gui_gotoxy(int, int);
int /*<<< orphan*/ printf(char *);
void g_print_controls() {
  gui_gotoxy(1, 5);
  printf("Controls:");
  gui_gotoxy(1, 7);
  printf("Left   ... 7");
  gui_gotoxy(1, 8);
  printf("Right  ... 9");
  gui_gotoxy(1, 9);
  printf("Rotate ... 8");
  gui_gotoxy(1, 10);
  printf("Drop   ... 4");
  gui_gotoxy(1, 12);
  printf("Pause  ... P");
  gui_gotoxy(1, 13);
  printf("Quit   ... Q");
}


x86 assembly (clang, -O0):
<g_print_controls>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
mov    $0x5,%esi
call   1030 <gui_gotoxy@plt>
lea    0xec6(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0x7,%esi
call   1030 <gui_gotoxy@plt>
lea    0xeb5(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0x8,%esi
call   1030 <gui_gotoxy@plt>
lea    0xea7(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0x9,%esi
call   1030 <gui_gotoxy@plt>
lea    0xe99(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0xa,%esi
call   1030 <gui_gotoxy@plt>
lea    0xe8b(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0xc,%esi
call   1030 <gui_gotoxy@plt>
lea    0xe7d(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0xd,%esi
call   1030 <gui_gotoxy@plt>
lea    0xe6f(%rip),%rdi
call   1040 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<g_print_controls>:
push   %rax
mov    $0x1,%edi
mov    $0x5,%esi
call   1030 <gui_gotoxy@plt>
lea    0xec9(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0x7,%esi
call   1030 <gui_gotoxy@plt>
lea    0xeb8(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0x8,%esi
call   1030 <gui_gotoxy@plt>
lea    0xeaa(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0x9,%esi
call   1030 <gui_gotoxy@plt>
lea    0xe9c(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0xa,%esi
call   1030 <gui_gotoxy@plt>
lea    0xe8e(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0xc,%esi
call   1030 <gui_gotoxy@plt>
lea    0xe80(%rip),%rdi
call   1040 <printf@plt>
mov    $0x1,%edi
mov    $0xd,%esi
call   1030 <gui_gotoxy@plt>
lea    0xe72(%rip),%rdi
pop    %rax
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [10 x i8] c"Controls:\00"
@.str.1 = [13 x i8] c"Left ... 7\00"
@.str.2 = [13 x i8] c"Right ... 9\00"
@.str.3 = [13 x i8] c"Rotate ... 8\00"
@.str.4 = [13 x i8] c"Drop ... 4\00"
@.str.5 = [13 x i8] c"Pause ... P\00"
@.str.6 = [13 x i8] c"Quit ... Q\00"
define void @g_print_controls() {
%1 = call i32 @gui_gotoxy(i32 1, i32 5)
%2 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @gui_gotoxy(i32 1, i32 7)
%4 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @gui_gotoxy(i32 1, i32 8)
%6 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 @gui_gotoxy(i32 1, i32 9)
%8 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 @gui_gotoxy(i32 1, i32 10)
%10 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%11 = call i32 @gui_gotoxy(i32 1, i32 12)
%12 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
%13 = call i32 @gui_gotoxy(i32 1, i32 13)
%14 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [10 x i8] c"Controls:\00"
@.str.1 = [13 x i8] c"Left ... 7\00"
@.str.2 = [13 x i8] c"Right ... 9\00"
@.str.3 = [13 x i8] c"Rotate ... 8\00"
@.str.4 = [13 x i8] c"Drop ... 4\00"
@.str.5 = [13 x i8] c"Pause ... P\00"
@.str.6 = [13 x i8] c"Quit ... Q\00"
define void @g_print_controls() {
%1 = tail call i32 @gui_gotoxy(i32 1, i32 5)
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @gui_gotoxy(i32 1, i32 7)
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 @gui_gotoxy(i32 1, i32 8)
%6 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32 @gui_gotoxy(i32 1, i32 9)
%8 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0))
%9 = tail call i32 @gui_gotoxy(i32 1, i32 10)
%10 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0))
%11 = tail call i32 @gui_gotoxy(i32 1, i32 12)
%12 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0))
%13 = tail call i32 @gui_gotoxy(i32 1, i32 13)
%14 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
ret void
}