#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*/ getch();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ system(char *);
void inst() {
  printf("\n <Informacoes>\n");
  printf(" /---+X;Y+---\\\n");
  printf(" |0;0|0;1|0;2|\n");
  printf(" +---+---+---+\n");
  printf(" |1;0|1;1|1;2|\n");
  printf(" +---+---+---+\n");
  printf(" |2;0|2;1|2;2|\n");
  printf(" \\---+---+---/\n");
  getch();
  system("cls");
}


x86 assembly (clang, -O0):
<inst>:
push   %rbp
mov    %rsp,%rbp
lea    0xec5(%rip),%rdi
call   1040 <printf@plt>
lea    0xeca(%rip),%rdi
call   1040 <printf@plt>
lea    0xece(%rip),%rdi
call   1040 <printf@plt>
lea    0xed2(%rip),%rdi
call   1040 <printf@plt>
lea    0xed6(%rip),%rdi
call   1040 <printf@plt>
lea    0xeba(%rip),%rdi
call   1040 <printf@plt>
lea    0xece(%rip),%rdi
call   1040 <printf@plt>
lea    0xed2(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1050 <getch@plt>
lea    0xecf(%rip),%rdi
call   1030 <system@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<inst>:
push   %rbx
lea    0xecc(%rip),%rdi
call   1030 <puts@plt>
lea    0xed0(%rip),%rdi
call   1030 <puts@plt>
lea    0xed3(%rip),%rdi
call   1030 <puts@plt>
lea    0xee5(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xec7(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xed1(%rip),%rdi
call   1030 <puts@plt>
lea    0xed4(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
call   1050 <getch@plt>
lea    0xe62(%rip),%rdi
pop    %rbx
jmp    1040 <system@plt>

LLVM IR (-O0):
@.str = [17 x i8] c"\0A <Informacoes>\0A\00"
@.str.1 = [16 x i8] c" /---+X;Y+---\\\0A\00"
@.str.2 = [16 x i8] c" |0;0|0;1|0;2|\0A\00"
@.str.3 = [16 x i8] c" +---+---+---+\0A\00"
@.str.4 = [16 x i8] c" |1;0|1;1|1;2|\0A\00"
@.str.5 = [16 x i8] c" |2;0|2;1|2;2|\0A\00"
@.str.6 = [16 x i8] c" \\---+---+---/\0A\00"
@.str.7 = [4 x i8] c"cls\00"
define void @inst() {
%1 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 (...) @getch()
%10 = call i32 @system(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.7 = [4 x i8] c"cls\00"
@str = [16 x i8] c"\0A <Informacoes>\00"
@str.8 = [15 x i8] c" /---+X;Y+---\\\00"
@str.9 = [15 x i8] c" |0;0|0;1|0;2|\00"
@str.11 = [15 x i8] c" |1;0|1;1|1;2|\00"
@str.12 = [15 x i8] c" +---+---+---+\00"
@str.13 = [15 x i8] c" |2;0|2;1|2;2|\00"
@str.14 = [15 x i8] c" \\---+---+---/\00"
define void @inst() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.8, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.9, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.12, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.11, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.12, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.13, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.14, i64 0, i64 0))
%9 = tail call i32 (...) @getch()
%10 = tail call i32 @system(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
ret void
}