#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 *);
void cabecalho(void) {
  printf("\nProjeto	: Metodos de Ordenacao");
  printf("\nCriado por: DjalmoCruzJr");
  printf("\nDescricao : Implementacao em C e aplicacao dos conceitos");
  printf("\n\treferentes aos metodos de ordenacao sobre numeros inteiros.");
  printf("\n\nPressione qualquer tecla para continuar...");
  getch();
}


x86 assembly (clang, -O0):
<cabecalho>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee9(%rip),%rdi
call   1030 <printf@plt>
lea    0xef7(%rip),%rdi
call   1030 <printf@plt>
lea    0xf25(%rip),%rdi
call   1030 <printf@plt>
lea    0xf57(%rip),%rdi
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <getch@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<cabecalho>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <printf@plt>
lea    0xeec(%rip),%rdi
call   1030 <printf@plt>
lea    0xefa(%rip),%rdi
call   1030 <printf@plt>
lea    0xf28(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5a(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
jmp    1040 <getch@plt>

LLVM IR (-O0):
@.str = [32 x i8] c"\0AProjeto\09: Metodos de Ordenacao\00"
@.str.1 = [26 x i8] c"\0ACriado por: DjalmoCruzJr\00"
@.str.2 = [58 x i8] c"\0ADescricao : Implementacao em C e aplicacao dos conceitos\00"
@.str.3 = [62 x i8] c"\0A\09referentes aos metodos de ordenacao sobre numeros inteiros.\00"
@.str.4 = [45 x i8] c"\0A\0APressione qualquer tecla para continuar...\00"
define void @cabecalho() {
%1 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (...) @getch()
ret void
}

LLVM IR (-O2):
@.str = [32 x i8] c"\0AProjeto\09: Metodos de Ordenacao\00"
@.str.1 = [26 x i8] c"\0ACriado por: DjalmoCruzJr\00"
@.str.2 = [58 x i8] c"\0ADescricao : Implementacao em C e aplicacao dos conceitos\00"
@.str.3 = [62 x i8] c"\0A\09referentes aos metodos de ordenacao sobre numeros inteiros.\00"
@.str.4 = [45 x i8] c"\0A\0APressione qualquer tecla para continuar...\00"
define void @cabecalho() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 (...) @getch()
ret void
}