#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 CDO_alteraNome(char *);
int /*<<< orphan*/ CDO_buscaPorNome(char *);
int /*<<< orphan*/ CDO_cadastra(char *, int, char *, int, char *, int, int, int,
                                int, char *, char *, char *, char *, char *,
                                int, char *);
int /*<<< orphan*/ CDO_consultaNome(char *);
int /*<<< orphan*/ CDO_cria();
int /*<<< orphan*/ CDO_libera();
int /*<<< orphan*/ CDO_limpa();
int /*<<< orphan*/ CDO_mostraAtual();
int /*<<< orphan*/ CDO_mostraTodos();
int /*<<< orphan*/ CDO_retira();
int /*<<< orphan*/ printf(char *, ...);
int main(void) {
  char nome[80];
  CDO_cria();
  CDO_cadastra("Bruce", 111222333, "12345678901", 1112223, "bmMail@mail",
               111222333, 11, 12, 2196, "BrasilComS", "Ra", "RioDeJaneiro",
               "umBairro", "AvQalquer", 666, "defrontePuc");
  CDO_mostraAtual();
  printf("vamos alterar nome\n");
  printf("%d\n", CDO_alteraNome("Marcellino"));
  CDO_mostraAtual();
  printf("vamos consultar o nome\n");
  CDO_consultaNome(nome);
  printf("%s\n", nome);
  CDO_cadastra("Souza", 121222333, "22345678901", 2112223, "cmMail@mail",
               211222333, 12, 12, 2196, "BrasilComB", "Rb", "RioDeJaneiro",
               "umBairro", "AvQalquer", 666, "defrontePuc");
  CDO_cadastra("Pereira", 131222333, "32345678901", 3112223, "dmMail@mail",
               311222333, 13, 12, 2196, "BrasilComC", "Rc", "RioDeJaneiro",
               "umBairro", "AvQalquer", 666, "defrontePuc");
  CDO_cadastra("De", 141222333, "42345678901", 4112223, "emMail@mail",
               411222333, 14, 12, 2196, "BrasilComD", "Rd", "RioDeJaneiro",
               "umBairro", "AvQalquer", 666, "defrontePuc");
  CDO_cadastra("Andrade", 151222333, "52345678901", 5112223, "fmMail@mail",
               511222333, 15, 12, 2196, "BrasilComE", "Re", "RioDeJaneiro",
               "umBairro", "AvQalquer", 666, "defrontePuc");
  printf("vamos procurar por um nome\n");
  CDO_buscaPorNome("Pereira");
  CDO_mostraAtual();
  printf("vamos retirar o atual\n");
  CDO_retira();
  CDO_mostraAtual();
  printf("vamos mostrar todos\n");
  CDO_mostraTodos();
  CDO_limpa();
  CDO_libera();
  printf("FIM\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0xa8,%rsp
movl   $0x0,-0x1c(%rbp)
mov    $0x0,%al
call   10b0 <CDO_cria@plt>
lea    0xe2b(%rip),%rdi
mov    $0x6a11e3d,%r9d
lea    0xe24(%rip),%rdx
mov    $0x10f89f,%ecx
lea    0xe24(%rip),%r8
lea    0xe29(%rip),%r15
lea    0xe2d(%rip),%r14
lea    0xe29(%rip),%rbx
lea    0xe2f(%rip),%r11
lea    0xe31(%rip),%r10
lea    0xe34(%rip),%rax
mov    %r9d,%esi
movl   $0xb,(%rsp)
movl   $0xc,0x8(%rsp)
movl   $0x894,0x10(%rsp)
mov    %r15,0x18(%rsp)
mov    %r14,0x20(%rsp)
mov    %rbx,0x28(%rsp)
mov    %r11,0x30(%rsp)
mov    %r10,0x38(%rsp)
movl   $0x29a,0x40(%rsp)
mov    %rax,0x48(%rsp)
call   1050 <CDO_cadastra@plt>
mov    $0x0,%al
call   1060 <CDO_mostraAtual@plt>
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xdf7(%rip),%rdi
call   10d0 <CDO_alteraNome@plt>
mov    %eax,%esi
lea    0xde5(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
mov    $0x0,%al
call   1060 <CDO_mostraAtual@plt>
lea    0xddf(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    -0x70(%rbp),%rdi
call   1030 <CDO_consultaNome@plt>
lea    -0x70(%rbp),%rsi
lea    0xddc(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xdd2(%rip),%rdi
mov    $0x739b4bd,%esi
lea    0xdcc(%rip),%rdx
mov    $0x203adf,%ecx
lea    0xdcc(%rip),%r8
mov    $0xc96ff3d,%r9d
lea    0xdcb(%rip),%r15
lea    0xdcf(%rip),%r14
lea    0xd34(%rip),%rbx
lea    0xd3a(%rip),%r11
lea    0xd3c(%rip),%r10
lea    0xd3f(%rip),%rax
movl   $0xc,(%rsp)
movl   $0xc,0x8(%rsp)
movl   $0x894,0x10(%rsp)
mov    %r15,0x18(%rsp)
mov    %r14,0x20(%rsp)
mov    %rbx,0x28(%rsp)
mov    %r11,0x30(%rsp)
mov    %r10,0x38(%rsp)
movl   $0x29a,0x40(%rsp)
mov    %rax,0x48(%rsp)
call   1050 <CDO_cadastra@plt>
lea    0xd6d(%rip),%rdi
mov    $0x7d24b3d,%esi
lea    0xd69(%rip),%rdx
mov    $0x2f7d1f,%ecx
lea    0xd69(%rip),%r8
mov    $0x128ce03d,%r9d
lea    0xd68(%rip),%r15
lea    0xd6c(%rip),%r14
lea    0xca3(%rip),%rbx
lea    0xca9(%rip),%r11
lea    0xcab(%rip),%r10
lea    0xcae(%rip),%rax
movl   $0xd,(%rsp)
movl   $0xc,0x8(%rsp)
movl   $0x894,0x10(%rsp)
mov    %r15,0x18(%rsp)
mov    %r14,0x20(%rsp)
mov    %rbx,0x28(%rsp)
mov    %r11,0x30(%rsp)
mov    %r10,0x38(%rsp)
movl   $0x29a,0x40(%rsp)
mov    %rax,0x48(%rsp)
call   1050 <CDO_cadastra@plt>
lea    0xd0a(%rip),%rdi
mov    $0x86ae1bd,%esi
lea    0xd01(%rip),%rdx
mov    $0x3ebf5f,%ecx
lea    0xd01(%rip),%r8
mov    $0x1882c13d,%r9d
lea    0xd00(%rip),%r15
lea    0xd04(%rip),%r14
lea    0xc12(%rip),%rbx
lea    0xc18(%rip),%r11
lea    0xc1a(%rip),%r10
lea    0xc1d(%rip),%rax
movl   $0xe,(%rsp)
movl   $0xc,0x8(%rsp)
movl   $0x894,0x10(%rsp)
mov    %r15,0x18(%rsp)
mov    %r14,0x20(%rsp)
mov    %rbx,0x28(%rsp)
mov    %r11,0x30(%rsp)
mov    %r10,0x38(%rsp)
movl   $0x29a,0x40(%rsp)
mov    %rax,0x48(%rsp)
call   1050 <CDO_cadastra@plt>
lea    0xca2(%rip),%rdi
mov    $0x903783d,%esi
lea    0xc9e(%rip),%rdx
mov    $0x4e019f,%ecx
lea    0xc9e(%rip),%r8
mov    $0x1e78a23d,%r9d
lea    0xc9d(%rip),%r15
lea    0xca1(%rip),%r14
lea    0xb81(%rip),%rbx
lea    0xb87(%rip),%r11
lea    0xb89(%rip),%r10
lea    0xb8c(%rip),%rax
movl   $0xf,(%rsp)
movl   $0xc,0x8(%rsp)
movl   $0x894,0x10(%rsp)
mov    %r15,0x18(%rsp)
mov    %r14,0x20(%rsp)
mov    %rbx,0x28(%rsp)
mov    %r11,0x30(%rsp)
mov    %r10,0x38(%rsp)
movl   $0x29a,0x40(%rsp)
mov    %rax,0x48(%rsp)
call   1050 <CDO_cadastra@plt>
lea    0xc3f(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
lea    0xbac(%rip),%rdi
call   1090 <CDO_buscaPorNome@plt>
mov    $0x0,%al
call   1060 <CDO_mostraAtual@plt>
lea    0xc3a(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
mov    $0x0,%al
call   10c0 <CDO_retira@plt>
mov    $0x0,%al
call   1060 <CDO_mostraAtual@plt>
lea    0xc35(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
mov    $0x0,%al
call   10a0 <CDO_mostraTodos@plt>
mov    $0x0,%al
call   1070 <CDO_limpa@plt>
mov    $0x0,%al
call   1040 <CDO_libera@plt>
lea    0xc27(%rip),%rdi
mov    $0x0,%al
call   1080 <printf@plt>
xor    %eax,%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
xor    %eax,%eax
call   10c0 <CDO_cria@plt>
lea    0xe70(%rip),%r13
lea    0xe5f(%rip),%r12
lea    0xe4f(%rip),%r15
lea    0xe3b(%rip),%r14
lea    0xe31(%rip),%rax
lea    0xe1f(%rip),%rbx
lea    0xdfa(%rip),%rdi
lea    0xdf9(%rip),%rdx
lea    0xdfe(%rip),%r8
mov    $0x6a11e3d,%esi
mov    $0x10f89f,%ecx
mov    $0x6a11e3d,%r9d
push   %r13
push   $0x29a
push   %r12
push   %r15
push   %r14
push   %rax
push   %rbx
push   $0x894
push   $0xc
push   $0xb
call   1050 <CDO_cadastra@plt>
add    $0x50,%rsp
xor    %eax,%eax
call   1070 <CDO_mostraAtual@plt>
lea    0xec5(%rip),%rdi
call   1060 <puts@plt>
lea    0xdfd(%rip),%rdi
call   10e0 <CDO_alteraNome@plt>
lea    0xded(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1090 <printf@plt>
xor    %eax,%eax
call   1070 <CDO_mostraAtual@plt>
lea    0xea9(%rip),%rdi
call   1060 <puts@plt>
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <CDO_consultaNome@plt>
mov    %rbx,%rdi
call   1060 <puts@plt>
lea    0xdef(%rip),%rax
lea    0xddd(%rip),%rbx
lea    0xdb8(%rip),%rdi
lea    0xdb7(%rip),%rdx
lea    0xdbc(%rip),%r8
mov    $0x739b4bd,%esi
mov    $0x203adf,%ecx
mov    $0xc96ff3d,%r9d
push   %r13
push   $0x29a
push   %r12
push   %r15
push   %r14
push   %rax
push   %rbx
push   $0x894
push   $0xc
push   $0xc
call   1050 <CDO_cadastra@plt>
add    $0x50,%rsp
lea    0xdc9(%rip),%rax
lea    0xdb7(%rip),%rbx
lea    0xd90(%rip),%rbp
lea    0xd91(%rip),%rdx
lea    0xd96(%rip),%r8
mov    %rbp,%rdi
mov    $0x7d24b3d,%esi
mov    $0x2f7d1f,%ecx
mov    $0x128ce03d,%r9d
push   %r13
push   $0x29a
push   %r12
push   %r15
push   %r14
push   %rax
push   %rbx
push   $0x894
push   $0xc
push   $0xd
call   1050 <CDO_cadastra@plt>
add    $0x50,%rsp
lea    0xd9b(%rip),%rax
lea    0xd89(%rip),%rbx
lea    0xd67(%rip),%rdi
lea    0xd63(%rip),%rdx
lea    0xd68(%rip),%r8
mov    $0x86ae1bd,%esi
mov    $0x3ebf5f,%ecx
mov    $0x1882c13d,%r9d
push   %r13
push   $0x29a
push   %r12
push   %r15
push   %r14
push   %rax
push   %rbx
push   $0x894
push   $0xc
push   $0xe
call   1050 <CDO_cadastra@plt>
add    $0x50,%rsp
lea    0xd75(%rip),%rax
lea    0xd63(%rip),%rbx
lea    0xd3c(%rip),%rdi
lea    0xd3d(%rip),%rdx
lea    0xd42(%rip),%r8
mov    $0x903783d,%esi
mov    $0x4e019f,%ecx
mov    $0x1e78a23d,%r9d
push   %r13
push   $0x29a
push   %r12
push   %r15
push   %r14
push   %rax
push   %rbx
push   $0x894
push   $0xc
push   $0xf
call   1050 <CDO_cadastra@plt>
add    $0x50,%rsp
lea    0xd4e(%rip),%rdi
call   1060 <puts@plt>
mov    %rbp,%rdi
call   10a0 <CDO_buscaPorNome@plt>
xor    %eax,%eax
call   1070 <CDO_mostraAtual@plt>
lea    0xd4e(%rip),%rdi
call   1060 <puts@plt>
xor    %eax,%eax
call   10d0 <CDO_retira@plt>
xor    %eax,%eax
call   1070 <CDO_mostraAtual@plt>
lea    0xd4a(%rip),%rdi
call   1060 <puts@plt>
xor    %eax,%eax
call   10b0 <CDO_mostraTodos@plt>
xor    %eax,%eax
call   1080 <CDO_limpa@plt>
xor    %eax,%eax
call   1040 <CDO_libera@plt>
lea    0xd3d(%rip),%rdi
call   1060 <puts@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [6 x i8] c"Bruce\00"
@.str.1 = [12 x i8] c"12345678901\00"
@.str.2 = [12 x i8] c"bmMail@mail\00"
@.str.3 = [11 x i8] c"BrasilComS\00"
@.str.4 = [3 x i8] c"Ra\00"
@.str.5 = [13 x i8] c"RioDeJaneiro\00"
@.str.6 = [9 x i8] c"umBairro\00"
@.str.7 = [10 x i8] c"AvQalquer\00"
@.str.8 = [12 x i8] c"defrontePuc\00"
@.str.9 = [20 x i8] c"vamos alterar nome\0A\00"
@.str.10 = [4 x i8] c"%d\0A\00"
@.str.11 = [11 x i8] c"Marcellino\00"
@.str.12 = [24 x i8] c"vamos consultar o nome\0A\00"
@.str.13 = [4 x i8] c"%s\0A\00"
@.str.14 = [6 x i8] c"Souza\00"
@.str.15 = [12 x i8] c"22345678901\00"
@.str.16 = [12 x i8] c"cmMail@mail\00"
@.str.17 = [11 x i8] c"BrasilComB\00"
@.str.18 = [3 x i8] c"Rb\00"
@.str.19 = [8 x i8] c"Pereira\00"
@.str.20 = [12 x i8] c"32345678901\00"
@.str.21 = [12 x i8] c"dmMail@mail\00"
@.str.22 = [11 x i8] c"BrasilComC\00"
@.str.23 = [3 x i8] c"Rc\00"
@.str.24 = [3 x i8] c"De\00"
@.str.25 = [12 x i8] c"42345678901\00"
@.str.26 = [12 x i8] c"emMail@mail\00"
@.str.27 = [11 x i8] c"BrasilComD\00"
@.str.28 = [3 x i8] c"Rd\00"
@.str.29 = [8 x i8] c"Andrade\00"
@.str.30 = [12 x i8] c"52345678901\00"
@.str.31 = [12 x i8] c"fmMail@mail\00"
@.str.32 = [11 x i8] c"BrasilComE\00"
@.str.33 = [3 x i8] c"Re\00"
@.str.34 = [28 x i8] c"vamos procurar por um nome\0A\00"
@.str.35 = [23 x i8] c"vamos retirar o atual\0A\00"
@.str.36 = [21 x i8] c"vamos mostrar todos\0A\00"
@.str.37 = [5 x i8] c"FIM\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [80 x i8]
store i32 0, i32* %1
%3 = call i32 (...) @CDO_cria()
%4 = call i32 @CDO_cadastra(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 111222333, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 1112223, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 111222333, i32 11, i32 12, i32 2196, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 666, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%5 = call i32 (...) @CDO_mostraAtual()
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0))
%7 = call i32 @CDO_alteraNome(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %7)
%9 = call i32 (...) @CDO_mostraAtual()
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.12, i64 0, i64 0))
%11 = getelementptr inbounds [80 x i8], [80 x i8]* %2, i64 0, i64 0
%12 = call i32 @CDO_consultaNome(i8* %11)
%13 = getelementptr inbounds [80 x i8], [80 x i8]* %2, i64 0, i64 0
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i8* %13)
%15 = call i32 @CDO_cadastra(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i32 121222333, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i32 2112223, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 211222333, i32 12, i32 12, i32 2196, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 666, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%16 = call i32 @CDO_cadastra(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0), i32 131222333, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.20, i64 0, i64 0), i32 3112223, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i32 311222333, i32 13, i32 12, i32 2196, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 666, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%17 = call i32 @CDO_cadastra(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.24, i64 0, i64 0), i32 141222333, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0), i32 4112223, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.26, i64 0, i64 0), i32 411222333, i32 14, i32 12, i32 2196, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 666, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%18 = call i32 @CDO_cadastra(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0), i32 151222333, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.30, i64 0, i64 0), i32 5112223, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.31, i64 0, i64 0), i32 511222333, i32 15, i32 12, i32 2196, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.33, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 666, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.34, i64 0, i64 0))
%20 = call i32 @CDO_buscaPorNome(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 (...) @CDO_mostraAtual()
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.35, i64 0, i64 0))
%23 = call i32 (...) @CDO_retira()
%24 = call i32 (...) @CDO_mostraAtual()
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.36, i64 0, i64 0))
%26 = call i32 (...) @CDO_mostraTodos()
%27 = call i32 (...) @CDO_limpa()
%28 = call i32 (...) @CDO_libera()
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.37, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [6 x i8] c"Bruce\00"
@.str.1 = [12 x i8] c"12345678901\00"
@.str.2 = [12 x i8] c"bmMail@mail\00"
@.str.3 = [11 x i8] c"BrasilComS\00"
@.str.4 = [3 x i8] c"Ra\00"
@.str.5 = [13 x i8] c"RioDeJaneiro\00"
@.str.6 = [9 x i8] c"umBairro\00"
@.str.7 = [10 x i8] c"AvQalquer\00"
@.str.8 = [12 x i8] c"defrontePuc\00"
@.str.10 = [4 x i8] c"%d\0A\00"
@.str.11 = [11 x i8] c"Marcellino\00"
@.str.14 = [6 x i8] c"Souza\00"
@.str.15 = [12 x i8] c"22345678901\00"
@.str.16 = [12 x i8] c"cmMail@mail\00"
@.str.17 = [11 x i8] c"BrasilComB\00"
@.str.18 = [3 x i8] c"Rb\00"
@.str.19 = [8 x i8] c"Pereira\00"
@.str.20 = [12 x i8] c"32345678901\00"
@.str.21 = [12 x i8] c"dmMail@mail\00"
@.str.22 = [11 x i8] c"BrasilComC\00"
@.str.23 = [3 x i8] c"Rc\00"
@.str.24 = [3 x i8] c"De\00"
@.str.25 = [12 x i8] c"42345678901\00"
@.str.26 = [12 x i8] c"emMail@mail\00"
@.str.27 = [11 x i8] c"BrasilComD\00"
@.str.28 = [3 x i8] c"Rd\00"
@.str.29 = [8 x i8] c"Andrade\00"
@.str.30 = [12 x i8] c"52345678901\00"
@.str.31 = [12 x i8] c"fmMail@mail\00"
@.str.32 = [11 x i8] c"BrasilComE\00"
@.str.33 = [3 x i8] c"Re\00"
@str = [19 x i8] c"vamos alterar nome\00"
@str.38 = [23 x i8] c"vamos consultar o nome\00"
@str.39 = [27 x i8] c"vamos procurar por um nome\00"
@str.40 = [22 x i8] c"vamos retirar o atual\00"
@str.41 = [20 x i8] c"vamos mostrar todos\00"
@str.42 = [4 x i8] c"FIM\00"
define i32 @main() {
%1 = alloca [80 x i8]
%2 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%3 = tail call i32 (...) @CDO_cria()
%4 = tail call i32 @CDO_cadastra(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 111222333, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i32 1112223, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 111222333, i32 11, i32 12, i32 2196, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 666, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%5 = tail call i32 (...) @CDO_mostraAtual()
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str, i64 0, i64 0))
%7 = tail call i32 @CDO_alteraNome(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %7)
%9 = tail call i32 (...) @CDO_mostraAtual()
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.38, i64 0, i64 0))
%11 = call i32 @CDO_consultaNome(i8* %2)
%12 = call i32 @puts(i8* %2)
%13 = call i32 @CDO_cadastra(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i32 121222333, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i32 2112223, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 211222333, i32 12, i32 12, i32 2196, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 666, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%14 = call i32 @CDO_cadastra(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0), i32 131222333, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.20, i64 0, i64 0), i32 3112223, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i32 311222333, i32 13, i32 12, i32 2196, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 666, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%15 = call i32 @CDO_cadastra(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.24, i64 0, i64 0), i32 141222333, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0), i32 4112223, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.26, i64 0, i64 0), i32 411222333, i32 14, i32 12, i32 2196, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 666, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%16 = call i32 @CDO_cadastra(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0), i32 151222333, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.30, i64 0, i64 0), i32 5112223, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.31, i64 0, i64 0), i32 511222333, i32 15, i32 12, i32 2196, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.33, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 666, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%17 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.39, i64 0, i64 0))
%18 = call i32 @CDO_buscaPorNome(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0))
%19 = call i32 (...) @CDO_mostraAtual()
%20 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.40, i64 0, i64 0))
%21 = call i32 (...) @CDO_retira()
%22 = call i32 (...) @CDO_mostraAtual()
%23 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.41, i64 0, i64 0))
%24 = call i32 (...) @CDO_mostraTodos()
%25 = call i32 (...) @CDO_limpa()
%26 = call i32 (...) @CDO_libera()
%27 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.42, i64 0, i64 0))
ret i32 0
}