#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 desenhaMenu() {
  printf("\n\n	"
         "====================================================================="
         "====\n");
  printf("	==================MONITORAMENTO DE ANIMAIS "
         "SILVESTRES====================\n");
  printf("	==============================================================="
         "==========\n");
  printf("	=		1. Adicionar		                       "
         "         =\n");
  printf("	=		2. Consultar (ID)			"
         "		=\n");
  printf("	=		3. Remover  (ID)			"
         "		=\n");
  printf("	=		4. Consultas Pré-Definidas		"
         "		=\n");
  printf("	=		5. Adicionar Dados ao Banco		"
         "		=\n");
  printf("	=		6. Refazer ARVORE B			"
         "		=\n");
  printf("	=		7. Exportar Arvore B			"
         "		=\n");
  printf("	=--------------------------------------------------------------"
         "---------=\n");
  printf("	=		0. Sair					"
         "		=\n");
  printf("	==============================================================="
         "==========\n\n");
}


x86 assembly (clang, -O0):
<desenhaMenu>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf27(%rip),%rdi
call   1030 <printf@plt>
lea    0xecf(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf84(%rip),%rdi
call   1030 <printf@plt>
lea    0xf95(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfbf(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd9(%rip),%rdi
call   1030 <printf@plt>
lea    0xfec(%rip),%rdi
call   1030 <printf@plt>
lea    0x1000(%rip),%rdi
call   1030 <printf@plt>
lea    0x1040(%rip),%rdi
call   1030 <printf@plt>
lea    0x1049(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<desenhaMenu>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf29(%rip),%rdi
call   1030 <puts@plt>
lea    0xed2(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf84(%rip),%rdi
call   1030 <puts@plt>
lea    0xf94(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa3(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbc(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe7(%rip),%rdi
call   1030 <puts@plt>
lea    0xffa(%rip),%rdi
call   1030 <puts@plt>
lea    0x1039(%rip),%rdi
call   1030 <puts@plt>
lea    0x1041(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [78 x i8] c"\0A\0A\09=========================================================================\0A\00"
@.str.1 = [76 x i8] c"\09==================MONITORAMENTO DE ANIMAIS SILVESTRES====================\0A\00"
@.str.2 = [76 x i8] c"\09=========================================================================\0A\00"
@.str.3 = [53 x i8] c"\09=\09\091. Adicionar\09\09 =\0A\00"
@.str.4 = [29 x i8] c"\09=\09\092. Consultar (ID)\09\09\09\09\09=\0A\00"
@.str.5 = [28 x i8] c"\09=\09\093. Remover (ID)\09\09\09\09\09=\0A\00"
@.str.6 = [38 x i8] c"\09=\09\094. Consultas Pr\C3\A9-Definidas\09\09\09\09=\0A\00"
@.str.7 = [38 x i8] c"\09=\09\095. Adicionar Dados ao Banco\09\09\09\09=\0A\00"
@.str.8 = [31 x i8] c"\09=\09\096. Refazer ARVORE B\09\09\09\09\09=\0A\00"
@.str.9 = [32 x i8] c"\09=\09\097. Exportar Arvore B\09\09\09\09\09=\0A\00"
@.str.10 = [76 x i8] c"\09=-----------------------------------------------------------------------=\0A\00"
@.str.11 = [21 x i8] c"\09=\09\090. Sair\09\09\09\09\09\09\09=\0A\00"
@.str.12 = [77 x i8] c"\09=========================================================================\0A\0A\00"
define void @desenhaMenu() {
%1 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 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 ([29 x i8], [29 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [77 x i8] c"\0A\0A\09=========================================================================\00"
@str.13 = [75 x i8] c"\09==================MONITORAMENTO DE ANIMAIS SILVESTRES====================\00"
@str.14 = [75 x i8] c"\09=========================================================================\00"
@str.15 = [52 x i8] c"\09=\09\091. Adicionar\09\09 =\00"
@str.16 = [28 x i8] c"\09=\09\092. Consultar (ID)\09\09\09\09\09=\00"
@str.17 = [27 x i8] c"\09=\09\093. Remover (ID)\09\09\09\09\09=\00"
@str.18 = [37 x i8] c"\09=\09\094. Consultas Pr\C3\A9-Definidas\09\09\09\09=\00"
@str.19 = [37 x i8] c"\09=\09\095. Adicionar Dados ao Banco\09\09\09\09=\00"
@str.20 = [30 x i8] c"\09=\09\096. Refazer ARVORE B\09\09\09\09\09=\00"
@str.21 = [31 x i8] c"\09=\09\097. Exportar Arvore B\09\09\09\09\09=\00"
@str.22 = [75 x i8] c"\09=-----------------------------------------------------------------------=\00"
@str.23 = [20 x i8] c"\09=\09\090. Sair\09\09\09\09\09\09\09=\00"
@str.24 = [76 x i8] c"\09=========================================================================\0A\00"
define void @desenhaMenu() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.13, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.24, i64 0, i64 0))
ret void
}