#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*/ printf(char *);
void PrintHelp() {
  printf("LCD display help: \n");
  printf("\t-s [sentence]\t\t\t: print sentence\n");
  printf("\t-l [x,y,x1,y1]\t\t\t: plot line\n");
  printf("\t-b [0-15,0-15]\t\t\t: set color foreground background\n");
  printf("\t-t [x,y,x1,y1,x2,y2]\t\t: plot triangle\n");
  printf("\t-c [x,y,r]\t\t\t: plot circle\n");
  printf("\t-f \t\t\t\t: fill screen with color\n");
  printf("\t-a [x,y,dx,dy]\t\t\t: filovana kocka na raznju\n");
  printf("\t-h \t\t\t\t: show help\n");
  return;
}


x86 assembly (clang, -O0):
<PrintHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
call   1030 <printf@plt>
lea    0xf04(%rip),%rdi
call   1030 <printf@plt>
lea    0xf17(%rip),%rdi
call   1030 <printf@plt>
lea    0xf40(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6d(%rip),%rdi
call   1030 <printf@plt>
lea    0xf83(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<PrintHelp>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xeef(%rip),%rdi
call   1030 <puts@plt>
lea    0xf05(%rip),%rdi
call   1030 <puts@plt>
lea    0xf17(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7f(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa0(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [20 x i8] c"LCD display help: \0A\00"
@.str.1 = [35 x i8] c"\09-s [sentence]\09\09\09: print sentence\0A\00"
@.str.2 = [31 x i8] c"\09-l [x,y,x1,y1]\09\09\09: plot line\0A\00"
@.str.3 = [53 x i8] c"\09-b [0-15,0-15]\09\09\09: set color foreground background\0A\00"
@.str.4 = [40 x i8] c"\09-t [x,y,x1,y1,x2,y2]\09\09: plot triangle\0A\00"
@.str.5 = [29 x i8] c"\09-c [x,y,r]\09\09\09: plot circle\0A\00"
@.str.6 = [34 x i8] c"\09-f \09\09\09\09: fill screen with color\0A\00"
@.str.7 = [46 x i8] c"\09-a [x,y,dx,dy]\09\09\09: filovana kocka na raznju\0A\00"
@.str.8 = [21 x i8] c"\09-h \09\09\09\09: show help\0A\00"
define void @PrintHelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [19 x i8] c"LCD display help: \00"
@str.9 = [34 x i8] c"\09-s [sentence]\09\09\09: print sentence\00"
@str.10 = [30 x i8] c"\09-l [x,y,x1,y1]\09\09\09: plot line\00"
@str.11 = [52 x i8] c"\09-b [0-15,0-15]\09\09\09: set color foreground background\00"
@str.12 = [39 x i8] c"\09-t [x,y,x1,y1,x2,y2]\09\09: plot triangle\00"
@str.13 = [28 x i8] c"\09-c [x,y,r]\09\09\09: plot circle\00"
@str.14 = [33 x i8] c"\09-f \09\09\09\09: fill screen with color\00"
@str.15 = [45 x i8] c"\09-a [x,y,dx,dy]\09\09\09: filovana kocka na raznju\00"
@str.16 = [20 x i8] c"\09-h \09\09\09\09: show help\00"
define void @PrintHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.9, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.10, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.11, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.12, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.13, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.15, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.16, i64 0, i64 0))
ret void
}