#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 prntHelp(void) {
  printf("\nComandos disponibles\n\n");
  printf("conectar <usuario> -- Conecta al servidor con el nombre de usuario "
         "ingresado\n");
  printf("pass -- Cambiar clave\n");
  printf("descargar <pelicula> -- Descarga una pelicula\n");
  printf("comprar <pelicula> -- Comprar una pelicula\n");
  printf("lsgen -- Listar generos\n");
  printf("lsfilm -- Listar peliculas\n");
  printf("desconectar -- Desconectar usuario del servidor\n");
  printf("salir -- Cierra el cliente\n\n");
}


x86 assembly (clang, -O0):
<prntHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef1(%rip),%rdi
call   1030 <printf@plt>
lea    0xf33(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf61(%rip),%rdi
call   1030 <printf@plt>
lea    0xf81(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9e(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc3(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<prntHelp>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef3(%rip),%rdi
call   1030 <puts@plt>
lea    0xf34(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf60(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfbe(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [24 x i8] c"\0AComandos disponibles\0A\0A\00"
@.str.1 = [78 x i8] c"conectar <usuario> -- Conecta al servidor con el nombre de usuario ingresado\0A\00"
@.str.2 = [23 x i8] c"pass -- Cambiar clave\0A\00"
@.str.3 = [47 x i8] c"descargar <pelicula> -- Descarga una pelicula\0A\00"
@.str.4 = [44 x i8] c"comprar <pelicula> -- Comprar una pelicula\0A\00"
@.str.5 = [25 x i8] c"lsgen -- Listar generos\0A\00"
@.str.6 = [28 x i8] c"lsfilm -- Listar peliculas\0A\00"
@.str.7 = [49 x i8] c"desconectar -- Desconectar usuario del servidor\0A\00"
@.str.8 = [29 x i8] c"salir -- Cierra el cliente\0A\0A\00"
define void @prntHelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [23 x i8] c"\0AComandos disponibles\0A\00"
@str.9 = [77 x i8] c"conectar <usuario> -- Conecta al servidor con el nombre de usuario ingresado\00"
@str.10 = [22 x i8] c"pass -- Cambiar clave\00"
@str.11 = [46 x i8] c"descargar <pelicula> -- Descarga una pelicula\00"
@str.12 = [43 x i8] c"comprar <pelicula> -- Comprar una pelicula\00"
@str.13 = [24 x i8] c"lsgen -- Listar generos\00"
@str.14 = [27 x i8] c"lsfilm -- Listar peliculas\00"
@str.15 = [48 x i8] c"desconectar -- Desconectar usuario del servidor\00"
@str.16 = [28 x i8] c"salir -- Cierra el cliente\0A\00"
define void @prntHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.9, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.10, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.11, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.12, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.13, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.14, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.15, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.16, i64 0, i64 0))
ret void
}