#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 */
struct Persona {
  int dummy;
};

/* Variables and functions */
int agregarPersona(struct Persona **, int /*<<< orphan*/);
int /*<<< orphan*/ crearPersona(int /*<<< orphan*/, int /*<<< orphan*/,
                                int /*<<< orphan*/);
int eliminarRegistrosPersona(struct Persona **, int /*<<< orphan*/);
int /*<<< orphan*/ ingresarCantBotellas();
int /*<<< orphan*/ ingresarNombre();
int /*<<< orphan*/ ingresarRut();
int /*<<< orphan*/ *listadoFinalPersonas(struct Persona **);
int listarBotellasPersona(struct Persona **, int /*<<< orphan*/);
int ordenarDatos(struct Persona **);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
void menu(struct Persona **personas) {
  int opcion = 0, respuesta = 0;
  do {
    printf("%s", "\n\n");
    printf("%s", "1.- Agregar Persona\n");
    printf("%s", "2.- Listar botellas que ha reciclado una persona\n");
    printf("%s", "3.- Eliminar todos los registros de una persona\n");
    printf("%s", "4.- Ordenar datos decendentemente\n");
    printf("%s", "5.- Consolidar datos\n");
    printf("%s", "6.- Salir\n");
    scanf("%d", &opcion);
    switch (opcion) {
    case 1:
      respuesta = agregarPersona(personas,
                                 crearPersona(ingresarCantBotellas(),
                                              ingresarRut(), ingresarNombre()));
      if (respuesta == 0) {
        printf("Hubo un error. Caso1");
      } else {
        printf("La persona se agrego al sistema");
      }
      break;
    case 2:
      respuesta = listarBotellasPersona(personas, ingresarRut());
      if (respuesta == 0) {
        printf("Hubo un error. Caso2");
      }
      break;
    case 3:
      respuesta = eliminarRegistrosPersona(personas, ingresarRut());
      if (respuesta == 0) {
        printf("Hubo un error. Caso3");
      } else {
        printf("La persona fue eliminada");
      }
      break;
    case 4:
      respuesta = ordenarDatos(personas);
      if (respuesta == 0) {
        printf("Hubo un error. Caso4");
      } else {
        printf("Los datos fueron ordenados");
      }
      break;
    case 5:;
      if (listadoFinalPersonas(personas) == NULL) {
        printf("Hubo un error. Caso5");
      } else {
        printf("Los datos fueron consolidados");
      }
      break;
    }
  } while (opcion != 6);
}


x86 assembly (clang, -O0):
<menu>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
lea    0xe43(%rip),%rdi
mov    %rdi,-0x28(%rbp)
lea    0xe3b(%rip),%rsi
xor    %eax,%eax
mov    %al,-0x19(%rbp)
call   1050 <printf@plt>
mov    -0x28(%rbp),%rdi
mov    -0x19(%rbp),%al
lea    0xe26(%rip),%rsi
call   1050 <printf@plt>
mov    -0x28(%rbp),%rdi
mov    -0x19(%rbp),%al
lea    0xe28(%rip),%rsi
call   1050 <printf@plt>
mov    -0x28(%rbp),%rdi
mov    -0x19(%rbp),%al
lea    0xe47(%rip),%rsi
call   1050 <printf@plt>
mov    -0x28(%rbp),%rdi
mov    -0x19(%rbp),%al
lea    0xe65(%rip),%rsi
call   1050 <printf@plt>
mov    -0x28(%rbp),%rdi
mov    -0x19(%rbp),%al
lea    0xe75(%rip),%rsi
call   1050 <printf@plt>
mov    -0x28(%rbp),%rdi
mov    -0x19(%rbp),%al
lea    0xe78(%rip),%rsi
call   1050 <printf@plt>
lea    0xe77(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   10b0 <scanf@plt>
mov    -0xc(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x4,%eax
ja     13fb <menu+0x24b>
mov    -0x18(%rbp),%rax
lea    0xd78(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x8(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    $0x0,%al
call   1040 <ingresarCantBotellas@plt>
mov    %eax,-0x38(%rbp)
mov    $0x0,%al
call   1070 <ingresarRut@plt>
mov    %eax,-0x34(%rbp)
mov    $0x0,%al
call   1080 <ingresarNombre@plt>
mov    -0x38(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    %eax,%edx
call   10c0 <crearPersona@plt>
mov    -0x30(%rbp),%rdi
mov    %eax,%esi
call   1060 <agregarPersona@plt>
mov    %eax,-0x10(%rbp)
cmpl   $0x0,-0x10(%rbp)
jne    12ec <menu+0x13c>
lea    0xdf9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    12fa <menu+0x14a>
lea    0xdfb(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13fb <menu+0x24b>
mov    -0x8(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    $0x0,%al
call   1070 <ingresarRut@plt>
mov    -0x40(%rbp),%rdi
mov    %eax,%esi
call   1030 <listarBotellasPersona@plt>
mov    %eax,-0x10(%rbp)
cmpl   $0x0,-0x10(%rbp)
jne    1334 <menu+0x184>
lea    0xde1(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13fb <menu+0x24b>
mov    -0x8(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    $0x0,%al
call   1070 <ingresarRut@plt>
mov    -0x48(%rbp),%rdi
mov    %eax,%esi
call   10a0 <eliminarRegistrosPersona@plt>
mov    %eax,-0x10(%rbp)
cmpl   $0x0,-0x10(%rbp)
jne    1373 <menu+0x1c3>
lea    0xdbc(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1381 <menu+0x1d1>
lea    0xdbe(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13fb <menu+0x24b>
mov    -0x8(%rbp),%rdi
call   10d0 <ordenarDatos@plt>
mov    %eax,-0x10(%rbp)
cmpl   $0x0,-0x10(%rbp)
jne    13af <menu+0x1ff>
lea    0xdae(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13bd <menu+0x20d>
lea    0xdb0(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13fb <menu+0x24b>
mov    -0x8(%rbp),%rdi
call   1090 <listadoFinalPersonas@plt>
cmp    $0x0,%rax
jne    13e8 <menu+0x238>
lea    0xda5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13f6 <menu+0x246>
lea    0xda7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13fb <menu+0x24b>
jmp    1400 <menu+0x250>
cmpl   $0x6,-0xc(%rbp)
jne    11ca <menu+0x1a>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<menu>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdi,%r12
movl   $0x0,(%rsp)
lea    0xf16(%rip),%rbx
lea    0xf11(%rip),%r14
lea    0xf1e(%rip),%r13
lea    0xf48(%rip),%r15
lea    0xf71(%rip),%rbp
jmp    122a <menu+0x6a>
mov    %r12,%rdi
call   10a0 <listadoFinalPersonas@plt>
test   %rax,%rax
lea    0xec8(%rip),%rdi
lea    0xeac(%rip),%rax
cmove  %rax,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    (%rsp),%eax
cmp    $0x6,%eax
je     1364 <menu+0x1a4>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
mov    %r13,%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
call   1040 <puts@plt>
mov    %rbp,%rdi
call   1040 <puts@plt>
lea    0xf32(%rip),%rdi
call   1040 <puts@plt>
lea    0xf3b(%rip),%rdi
call   1040 <puts@plt>
lea    0xda3(%rip),%rdi
mov    %rsp,%rsi
call   10c0 <scanf@plt>
mov    (%rsp),%eax
lea    -0x1(%rax),%ecx
cmp    $0x4,%ecx
ja     1221 <menu+0x61>
lea    0xd75(%rip),%rdx
movslq (%rdx,%rcx,4),%rax
add    %rdx,%rax
jmp    *%rax
xor    %eax,%eax
call   1050 <ingresarCantBotellas@plt>
mov    %eax,0x4(%rsp)
xor    %eax,%eax
call   1080 <ingresarRut@plt>
mov    %r15,%rbp
mov    %r12,%r15
mov    %r13,%r12
mov    %r14,%r13
mov    %eax,%r14d
xor    %eax,%eax
call   1090 <ingresarNombre@plt>
mov    0x4(%rsp),%edi
mov    %r14d,%esi
mov    %r13,%r14
mov    %r12,%r13
mov    %r15,%r12
mov    %rbp,%r15
lea    0xe93(%rip),%rbp
mov    %eax,%edx
call   10d0 <crearPersona@plt>
mov    %r12,%rdi
mov    %eax,%esi
call   1070 <agregarPersona@plt>
test   %eax,%eax
lea    0xd3c(%rip),%rdi
lea    0xd20(%rip),%rax
jmp    1213 <menu+0x53>
xor    %eax,%eax
call   1080 <ingresarRut@plt>
mov    %r12,%rdi
mov    %eax,%esi
call   1030 <listarBotellasPersona@plt>
lea    0xd38(%rip),%rdi
test   %eax,%eax
jne    121e <menu+0x5e>
jmp    1217 <menu+0x57>
xor    %eax,%eax
call   1080 <ingresarRut@plt>
mov    %r12,%rdi
mov    %eax,%esi
call   10b0 <eliminarRegistrosPersona@plt>
test   %eax,%eax
lea    0xd3b(%rip),%rdi
lea    0xd1f(%rip),%rax
jmp    1213 <menu+0x53>
mov    %r12,%rdi
call   10e0 <ordenarDatos@plt>
test   %eax,%eax
lea    0xd4c(%rip),%rdi
lea    0xd30(%rip),%rax
jmp    1213 <menu+0x53>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.Persona = type { i32 }
@.str = [3 x i8] c"%s\00"
@.str.1 = [3 x i8] c"\0A\0A\00"
@.str.2 = [21 x i8] c"1.- Agregar Persona\0A\00"
@.str.3 = [50 x i8] c"2.- Listar botellas que ha reciclado una persona\0A\00"
@.str.4 = [49 x i8] c"3.- Eliminar todos los registros de una persona\0A\00"
@.str.5 = [35 x i8] c"4.- Ordenar datos decendentemente\0A\00"
@.str.6 = [22 x i8] c"5.- Consolidar datos\0A\00"
@.str.7 = [11 x i8] c"6.- Salir\0A\00"
@.str.8 = [3 x i8] c"%d\00"
@.str.9 = [21 x i8] c"Hubo un error. Caso1\00"
@.str.10 = [32 x i8] c"La persona se agrego al sistema\00"
@.str.11 = [21 x i8] c"Hubo un error. Caso2\00"
@.str.12 = [21 x i8] c"Hubo un error. Caso3\00"
@.str.13 = [25 x i8] c"La persona fue eliminada\00"
@.str.14 = [21 x i8] c"Hubo un error. Caso4\00"
@.str.15 = [27 x i8] c"Los datos fueron ordenados\00"
@.str.16 = [21 x i8] c"Hubo un error. Caso5\00"
@.str.17 = [30 x i8] c"Los datos fueron consolidados\00"
define void @menu(%struct.Persona** %0) {
%2 = alloca %struct.Persona**
%3 = alloca i32
%4 = alloca i32
store %struct.Persona** %0, %struct.Persona*** %2
store i32 0, i32* %3
store i32 0, i32* %4
br label %5
5: ; preds = %69, %1
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.5, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%13 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32* %3)
%14 = load i32, i32* %3
switch i32 %14, label %68 [
i32 1, label %15
i32 2, label %29
i32 3, label %38
i32 4, label %49
i32 5, label %59
]
15: ; preds = %5
%16 = load %struct.Persona**, %struct.Persona*** %2
%17 = call i32 (...) @ingresarCantBotellas()
%18 = call i32 (...) @ingresarRut()
%19 = call i32 (...) @ingresarNombre()
%20 = call i32 @crearPersona(i32 %17, i32 %18, i32 %19)
%21 = call i32 @agregarPersona(%struct.Persona** %16, i32 %20)
store i32 %21, i32* %4
%22 = load i32, i32* %4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %15
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0))
br label %28
26: ; preds = %15
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0))
br label %28
28: ; preds = %26, %24
br label %68
29: ; preds = %5
%30 = load %struct.Persona**, %struct.Persona*** %2
%31 = call i32 (...) @ingresarRut()
%32 = call i32 @listarBotellasPersona(%struct.Persona** %30, i32 %31)
store i32 %32, i32* %4
%33 = load i32, i32* %4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0))
br label %37
37: ; preds = %35, %29
br label %68
38: ; preds = %5
%39 = load %struct.Persona**, %struct.Persona*** %2
%40 = call i32 (...) @ingresarRut()
%41 = call i32 @eliminarRegistrosPersona(%struct.Persona** %39, i32 %40)
store i32 %41, i32* %4
%42 = load i32, i32* %4
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %38
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0))
br label %48
46: ; preds = %38
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.13, i64 0, i64 0))
br label %48
48: ; preds = %46, %44
br label %68
49: ; preds = %5
%50 = load %struct.Persona**, %struct.Persona*** %2
%51 = call i32 @ordenarDatos(%struct.Persona** %50)
store i32 %51, i32* %4
%52 = load i32, i32* %4
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %49
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0))
br label %58
56: ; preds = %49
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0))
br label %58
58: ; preds = %56, %54
br label %68
59: ; preds = %5
%60 = load %struct.Persona**, %struct.Persona*** %2
%61 = call i32* @listadoFinalPersonas(%struct.Persona** %60)
%62 = icmp eq i32* %61, null
br i1 %62, label %63, label %65
63: ; preds = %59
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0))
br label %67
65: ; preds = %59
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.17, i64 0, i64 0))
br label %67
67: ; preds = %65, %63
br label %68
68: ; preds = %5, %67, %58, %48, %37, %28
br label %69
69: ; preds = %68
%70 = load i32, i32* %3
%71 = icmp ne i32 %70, 6
br i1 %71, label %5, label %72
72: ; preds = %69
ret void
}

LLVM IR (-O2):
%struct.Persona = type { i32 }
@.str.8 = [3 x i8] c"%d\00"
@.str.9 = [21 x i8] c"Hubo un error. Caso1\00"
@.str.10 = [32 x i8] c"La persona se agrego al sistema\00"
@.str.11 = [21 x i8] c"Hubo un error. Caso2\00"
@.str.12 = [21 x i8] c"Hubo un error. Caso3\00"
@.str.13 = [25 x i8] c"La persona fue eliminada\00"
@.str.14 = [21 x i8] c"Hubo un error. Caso4\00"
@.str.15 = [27 x i8] c"Los datos fueron ordenados\00"
@.str.16 = [21 x i8] c"Hubo un error. Caso5\00"
@.str.17 = [30 x i8] c"Los datos fueron consolidados\00"
@str = [2 x i8] c"\0A\00"
@str.18 = [20 x i8] c"1.- Agregar Persona\00"
@str.19 = [49 x i8] c"2.- Listar botellas que ha reciclado una persona\00"
@str.20 = [48 x i8] c"3.- Eliminar todos los registros de una persona\00"
@str.21 = [34 x i8] c"4.- Ordenar datos decendentemente\00"
@str.22 = [21 x i8] c"5.- Consolidar datos\00"
@str.23 = [10 x i8] c"6.- Salir\00"
define void @menu(%struct.Persona** %0) {
%2 = alloca i32
%3 = bitcast i32* %2 to i8*
store i32 0, i32* %2
br label %4
4: ; preds = %44, %1
%5 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str, i64 0, i64 0))
%6 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.18, i64 0, i64 0))
%7 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.19, i64 0, i64 0))
%8 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.20, i64 0, i64 0))
%9 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.21, i64 0, i64 0))
%10 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.22, i64 0, i64 0))
%11 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.23, i64 0, i64 0))
%12 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32* %2)
%13 = load i32, i32* %2
switch i32 %13, label %44 [
i32 1, label %14
i32 2, label %22
i32 3, label %26
i32 4, label %31
i32 5, label %35
]
14: ; preds = %4
%15 = call i32 (...) @ingresarCantBotellas()
%16 = call i32 (...) @ingresarRut()
%17 = call i32 (...) @ingresarNombre()
%18 = call i32 @crearPersona(i32 %15, i32 %16, i32 %17)
%19 = call i32 @agregarPersona(%struct.Persona** %0, i32 %18)
%20 = icmp eq i32 %19, 0
%21 = select i1 %20, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0)
br label %39
22: ; preds = %4
%23 = call i32 (...) @ingresarRut()
%24 = call i32 @listarBotellasPersona(%struct.Persona** %0, i32 %23)
%25 = icmp eq i32 %24, 0
br i1 %25, label %39, label %42
26: ; preds = %4
%27 = call i32 (...) @ingresarRut()
%28 = call i32 @eliminarRegistrosPersona(%struct.Persona** %0, i32 %27)
%29 = icmp eq i32 %28, 0
%30 = select i1 %29, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.13, i64 0, i64 0)
br label %39
31: ; preds = %4
%32 = call i32 @ordenarDatos(%struct.Persona** %0)
%33 = icmp eq i32 %32, 0
%34 = select i1 %33, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.15, i64 0, i64 0)
br label %39
35: ; preds = %4
%36 = call i32* @listadoFinalPersonas(%struct.Persona** %0)
%37 = icmp eq i32* %36, null
%38 = select i1 %37, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.17, i64 0, i64 0)
br label %39
39: ; preds = %35, %31, %26, %22, %14
%40 = phi i8* [ %21, %14 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.11, i64 0, i64 0), %22 ], [ %30, %26 ], [ %34, %31 ], [ %38, %35 ]
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %40)
br label %42
42: ; preds = %39, %22
%43 = load i32, i32* %2
br label %44
44: ; preds = %42, %4
%45 = phi i32 [ %43, %42 ], [ %13, %4 ]
%46 = icmp eq i32 %45, 6
br i1 %46, label %47, label %4
47: ; preds = %44
ret void
}