#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 */
unsigned int getchar();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ scanf(char *, unsigned int *);
int sceltaEconomy(unsigned int *, int, int);
int sceltaPrimaClasse(unsigned int *, int);
int main(void) {
  unsigned int mappaPosti[5 + 5] = {0};
  unsigned int sceltaUtente;
  unsigned int valoreSentinella = 0;
  int situazionePosti;
  do {
    puts("*******************************");
    puts("");
    printf("Please type 1 for \"first class\"\nPlease type 2 "
           "for\"economy\"\n(0 per uscire): ");
    scanf("%u", &sceltaUtente);
    puts("");
    puts("*******************************");
    if (sceltaUtente == 1) {
      situazionePosti = sceltaPrimaClasse(mappaPosti, 5);
      if (situazionePosti == 0) {
        printf("Posti in prima classe terminati, desideri accettare un posto "
               "in economy? (Y per accettare): ");
        sceltaUtente = getchar();
        sceltaUtente = getchar();
        if (sceltaUtente == 'Y' || sceltaUtente == 'y') {
          situazionePosti = sceltaEconomy(mappaPosti, 5, 5 + 5);
          if (situazionePosti == 0) {
            puts("Aereo al completo, Next flight leaves in 3 hours");
          } else {
            printf("Prego accomodarsi al posto %u in classe Economy.\n",
                   situazionePosti);
          }
        } else {
          puts("Next flight leaves in 3 hours");
        }
      } else {
        printf("Prego accomodarsi al posto %u in Prima Classe.\n",
               situazionePosti);
      }
    } else if (sceltaUtente == 2) {
      situazionePosti = sceltaEconomy(mappaPosti, 5, 5 + 5);
      if (situazionePosti == 0) {
        printf("Posti in classe Economy terminati, desideri accettare un posto "
               "in Prima Classe? (Y per accettare): ");
        sceltaUtente = getchar();
        sceltaUtente = getchar();
        if (sceltaUtente == 'Y' || sceltaUtente == 'y') {
          situazionePosti = sceltaPrimaClasse(mappaPosti, 5);
          if (situazionePosti == 0) {
            puts("Aereo al completo, Next flight leaves in 3 hours");
          } else {
            printf("Prego accomodarsi al posto %u in Prima Classe.\n",
                   situazionePosti);
          }
        } else {
          puts("Next flight leaves in 3 hours");
        }
      } else {
        printf("Prego accomodarsi al posto %u in classe Economy.\n",
               situazionePosti);
      }
    } else if (sceltaUtente != valoreSentinella) {
      printf("Attenzione e' stato inserito un valore errato!\n");
    }
  } while (sceltaUtente != valoreSentinella);
  puts("\nGrazie per aver scelto i nostri volti!\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x30(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1050 <memset@plt>
movl   $0x0,-0x38(%rbp)
lea    0xe63(%rip),%rdi
call   1030 <puts@plt>
lea    0x1072(%rip),%rdi
call   1030 <puts@plt>
lea    0xe6b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xea9(%rip),%rdi
lea    -0x34(%rbp),%rsi
call   1070 <scanf@plt>
lea    0x1048(%rip),%rdi
call   1030 <puts@plt>
lea    0xe21(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x1,-0x34(%rbp)
jne    12ad <main+0x13d>
lea    -0x30(%rbp),%rdi
mov    $0x5,%esi
call   1080 <sceltaPrimaClasse@plt>
mov    %eax,-0x3c(%rbp)
cmpl   $0x0,-0x3c(%rbp)
jne    1297 <main+0x127>
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x0,%al
call   1060 <getchar@plt>
mov    %eax,-0x34(%rbp)
mov    $0x0,%al
call   1060 <getchar@plt>
mov    %eax,-0x34(%rbp)
cmpl   $0x59,-0x34(%rbp)
je     123f <main+0xcf>
cmpl   $0x79,-0x34(%rbp)
jne    1286 <main+0x116>
lea    -0x30(%rbp),%rdi
mov    $0x5,%esi
mov    $0xa,%edx
call   1090 <sceltaEconomy@plt>
mov    %eax,-0x3c(%rbp)
cmpl   $0x0,-0x3c(%rbp)
jne    1270 <main+0x100>
lea    0xe66(%rip),%rdi
call   1030 <puts@plt>
jmp    1281 <main+0x111>
mov    -0x3c(%rbp),%esi
lea    0xe83(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1292 <main+0x122>
lea    0xe52(%rip),%rdi
call   1030 <puts@plt>
jmp    12a8 <main+0x138>
mov    -0x3c(%rbp),%esi
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    139a <main+0x22a>
cmpl   $0x2,-0x34(%rbp)
jne    1376 <main+0x206>
lea    -0x30(%rbp),%rdi
mov    $0x5,%esi
mov    $0xa,%edx
call   1090 <sceltaEconomy@plt>
mov    %eax,-0x3c(%rbp)
cmpl   $0x0,-0x3c(%rbp)
jne    1360 <main+0x1f0>
lea    0xe81(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x0,%al
call   1060 <getchar@plt>
mov    %eax,-0x34(%rbp)
mov    $0x0,%al
call   1060 <getchar@plt>
mov    %eax,-0x34(%rbp)
cmpl   $0x59,-0x34(%rbp)
je     130d <main+0x19d>
cmpl   $0x79,-0x34(%rbp)
jne    134f <main+0x1df>
lea    -0x30(%rbp),%rdi
mov    $0x5,%esi
call   1080 <sceltaPrimaClasse@plt>
mov    %eax,-0x3c(%rbp)
cmpl   $0x0,-0x3c(%rbp)
jne    1339 <main+0x1c9>
lea    0xd9d(%rip),%rdi
call   1030 <puts@plt>
jmp    134a <main+0x1da>
mov    -0x3c(%rbp),%esi
lea    0xdec(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    135b <main+0x1eb>
lea    0xd89(%rip),%rdi
call   1030 <puts@plt>
jmp    1371 <main+0x201>
mov    -0x3c(%rbp),%esi
lea    0xd93(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1395 <main+0x225>
mov    -0x34(%rbp),%eax
cmp    -0x38(%rbp),%eax
je     1390 <main+0x220>
lea    0xe3a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1395 <main+0x225>
jmp    139a <main+0x22a>
jmp    139f <main+0x22f>
mov    -0x34(%rbp),%eax
cmp    -0x38(%rbp),%eax
jne    1196 <main+0x26>
lea    0xe41(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movq   $0x0,0x30(%rsp)
lea    0xe65(%rip),%rbx
lea    0xe7e(%rip),%r14
lea    0xec3(%rip),%r15
lea    0xc(%rsp),%r12
lea    0x10(%rsp),%r13
lea    0x1032(%rip),%rbp
jmp    1240 <main+0xd0>
nop
mov    %r13,%rdi
mov    $0x5,%esi
mov    $0xa,%edx
call   1090 <sceltaEconomy@plt>
test   %eax,%eax
je     11f2 <main+0x82>
lea    0xf20(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <printf@plt>
cmpl   $0x0,0xc(%rsp)
jne    1240 <main+0xd0>
jmp    1323 <main+0x1b3>
lea    0xf66(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
call   1060 <getchar@plt>
mov    %eax,0xc(%rsp)
xor    %eax,%eax
call   1060 <getchar@plt>
mov    %eax,0xc(%rsp)
and    $0xffffffdf,%eax
cmp    $0x59,%eax
jne    130c <main+0x19c>
mov    %r13,%rdi
mov    $0x5,%esi
call   1080 <sceltaPrimaClasse@plt>
test   %eax,%eax
jne    12b1 <main+0x141>
jmp    1303 <main+0x193>
nopl   0x0(%rax,%rax,1)
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
mov    %r12,%rsi
call   1070 <scanf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    0xc(%rsp),%eax
cmp    $0x1,%eax
je     12a0 <main+0x130>
cmp    $0x2,%eax
je     11c0 <main+0x50>
test   %eax,%eax
je     1323 <main+0x1b3>
mov    %rbp,%rdi
jmp    1313 <main+0x1a3>
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
mov    $0x5,%esi
call   1080 <sceltaPrimaClasse@plt>
test   %eax,%eax
je     12bd <main+0x14d>
lea    0xe77(%rip),%rdi
jmp    11dd <main+0x6d>
lea    0xdab(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
call   1060 <getchar@plt>
mov    %eax,0xc(%rsp)
xor    %eax,%eax
call   1060 <getchar@plt>
mov    %eax,0xc(%rsp)
and    $0xffffffdf,%eax
cmp    $0x59,%eax
jne    130c <main+0x19c>
mov    %r13,%rdi
mov    $0x5,%esi
mov    $0xa,%edx
call   1090 <sceltaEconomy@plt>
test   %eax,%eax
jne    11d6 <main+0x66>
lea    0xdc2(%rip),%rdi
jmp    1313 <main+0x1a3>
lea    0xdcc(%rip),%rdi
call   1040 <puts@plt>
cmpl   $0x0,0xc(%rsp)
jne    1240 <main+0xd0>
lea    0xe99(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [32 x i8] c"*******************************\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [76 x i8] c"Please type 1 for \22first class\22\0APlease type 2 for\22economy\22\0A(0 per uscire): \00"
@.str.3 = [3 x i8] c"%u\00"
@.str.4 = [93 x i8] c"Posti in prima classe terminati, desideri accettare un posto in economy? (Y per accettare): \00"
@.str.5 = [49 x i8] c"Aereo al completo, Next flight leaves in 3 hours\00"
@.str.6 = [50 x i8] c"Prego accomodarsi al posto %u in classe Economy.\0A\00"
@.str.7 = [30 x i8] c"Next flight leaves in 3 hours\00"
@.str.8 = [48 x i8] c"Prego accomodarsi al posto %u in Prima Classe.\0A\00"
@.str.9 = [100 x i8] c"Posti in classe Economy terminati, desideri accettare un posto in Prima Classe? (Y per accettare): \00"
@.str.10 = [48 x i8] c"Attenzione e' stato inserito un valore errato!\0A\00"
@.str.11 = [41 x i8] c"\0AGrazie per aver scelto i nostri volti!\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x i32]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
%6 = bitcast [10 x i32]* %2 to i8*
store i32 0, i32* %4
br label %7
7: ; preds = %92, %0
%8 = call i32 @puts(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %3)
%12 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%13 = call i32 @puts(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%14 = load i32, i32* %3
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %48
16: ; preds = %7
%17 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 0
%18 = call i32 @sceltaPrimaClasse(i32* %17, i32 5)
store i32 %18, i32* %5
%19 = load i32, i32* %5
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %44
21: ; preds = %16
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([93 x i8], [93 x i8]* @.str.4, i64 0, i64 0))
%23 = call i32 (...) @getchar()
store i32 %23, i32* %3
%24 = call i32 (...) @getchar()
store i32 %24, i32* %3
%25 = load i32, i32* %3
%26 = icmp eq i32 %25, 89
br i1 %26, label %30, label %27
27: ; preds = %21
%28 = load i32, i32* %3
%29 = icmp eq i32 %28, 121
br i1 %29, label %30, label %41
30: ; preds = %27, %21
%31 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 0
%32 = call i32 @sceltaEconomy(i32* %31, i32 5, i32 10)
store i32 %32, i32* %5
%33 = load i32, i32* %5
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = call i32 @puts(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %40
37: ; preds = %30
%38 = load i32, i32* %5
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0), i32 %38)
br label %40
40: ; preds = %37, %35
br label %43
41: ; preds = %27
%42 = call i32 @puts(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0))
br label %43
43: ; preds = %41, %40
br label %47
44: ; preds = %16
%45 = load i32, i32* %5
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0), i32 %45)
br label %47
47: ; preds = %44, %43
br label %91
48: ; preds = %7
%49 = load i32, i32* %3
%50 = icmp eq i32 %49, 2
br i1 %50, label %51, label %83
51: ; preds = %48
%52 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 0
%53 = call i32 @sceltaEconomy(i32* %52, i32 5, i32 10)
store i32 %53, i32* %5
%54 = load i32, i32* %5
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %79
56: ; preds = %51
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.9, i64 0, i64 0))
%58 = call i32 (...) @getchar()
store i32 %58, i32* %3
%59 = call i32 (...) @getchar()
store i32 %59, i32* %3
%60 = load i32, i32* %3
%61 = icmp eq i32 %60, 89
br i1 %61, label %65, label %62
62: ; preds = %56
%63 = load i32, i32* %3
%64 = icmp eq i32 %63, 121
br i1 %64, label %65, label %76
65: ; preds = %62, %56
%66 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 0
%67 = call i32 @sceltaPrimaClasse(i32* %66, i32 5)
store i32 %67, i32* %5
%68 = load i32, i32* %5
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %72
70: ; preds = %65
%71 = call i32 @puts(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %75
72: ; preds = %65
%73 = load i32, i32* %5
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0), i32 %73)
br label %75
75: ; preds = %72, %70
br label %78
76: ; preds = %62
%77 = call i32 @puts(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0))
br label %78
78: ; preds = %76, %75
br label %82
79: ; preds = %51
%80 = load i32, i32* %5
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0), i32 %80)
br label %82
82: ; preds = %79, %78
br label %90
83: ; preds = %48
%84 = load i32, i32* %3
%85 = load i32, i32* %4
%86 = icmp ne i32 %84, %85
br i1 %86, label %87, label %89
87: ; preds = %83
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.10, i64 0, i64 0))
br label %89
89: ; preds = %87, %83
br label %90
90: ; preds = %89, %82
br label %91
91: ; preds = %90, %47
br label %92
92: ; preds = %91
%93 = load i32, i32* %3
%94 = load i32, i32* %4
%95 = icmp ne i32 %93, %94
br i1 %95, label %7, label %96
96: ; preds = %92
%97 = call i32 @puts(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.11, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [32 x i8] c"*******************************\00"
@.str.2 = [76 x i8] c"Please type 1 for \22first class\22\0APlease type 2 for\22economy\22\0A(0 per uscire): \00"
@.str.3 = [3 x i8] c"%u\00"
@.str.4 = [93 x i8] c"Posti in prima classe terminati, desideri accettare un posto in economy? (Y per accettare): \00"
@.str.5 = [49 x i8] c"Aereo al completo, Next flight leaves in 3 hours\00"
@.str.6 = [50 x i8] c"Prego accomodarsi al posto %u in classe Economy.\0A\00"
@.str.7 = [30 x i8] c"Next flight leaves in 3 hours\00"
@.str.8 = [48 x i8] c"Prego accomodarsi al posto %u in Prima Classe.\0A\00"
@.str.9 = [100 x i8] c"Posti in classe Economy terminati, desideri accettare un posto in Prima Classe? (Y per accettare): \00"
@.str.11 = [41 x i8] c"\0AGrazie per aver scelto i nostri volti!\0A\00"
@str = [47 x i8] c"Attenzione e' stato inserito un valore errato!\00"
define i32 @main() {
%1 = alloca [10 x i32]
%2 = alloca i32
%3 = bitcast [10 x i32]* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 0
br label %6
6: ; preds = %56, %0
%7 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @putchar(i32 10)
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @.str.2, i64 0, i64 0))
%10 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %2)
%11 = call i32 @putchar(i32 10)
%12 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%13 = load i32, i32* %2
switch i32 %13, label %54 [
i32 1, label %14
i32 2, label %34
i32 0, label %59
]
14: ; preds = %6
%15 = call i32 @sceltaPrimaClasse(i32* %5, i32 5)
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %32
17: ; preds = %14
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([93 x i8], [93 x i8]* @.str.4, i64 0, i64 0))
%19 = call i32 (...) @getchar()
store i32 %19, i32* %2
%20 = call i32 (...) @getchar()
store i32 %20, i32* %2
%21 = and i32 %20, -33
%22 = icmp eq i32 %21, 89
br i1 %22, label %23, label %30
23: ; preds = %17
%24 = call i32 @sceltaEconomy(i32* %5, i32 5, i32 10)
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %56
28: ; preds = %23
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0), i32 %24)
br label %56
30: ; preds = %17
%31 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0))
br label %56
32: ; preds = %14
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0), i32 %15)
br label %56
34: ; preds = %6
%35 = call i32 @sceltaEconomy(i32* %5, i32 5, i32 10)
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %52
37: ; preds = %34
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([100 x i8], [100 x i8]* @.str.9, i64 0, i64 0))
%39 = call i32 (...) @getchar()
store i32 %39, i32* %2
%40 = call i32 (...) @getchar()
store i32 %40, i32* %2
%41 = and i32 %40, -33
%42 = icmp eq i32 %41, 89
br i1 %42, label %43, label %50
43: ; preds = %37
%44 = call i32 @sceltaPrimaClasse(i32* %5, i32 5)
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %43
%47 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.5, i64 0, i64 0))
br label %56
48: ; preds = %43
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0), i32 %44)
br label %56
50: ; preds = %37
%51 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i64 0, i64 0))
br label %56
52: ; preds = %34
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0), i32 %35)
br label %56
54: ; preds = %6
%55 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str, i64 0, i64 0))
br label %56
56: ; preds = %30, %28, %26, %32, %54, %52, %46, %48, %50
%57 = load i32, i32* %2
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %6
59: ; preds = %6, %56
%60 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.11, i64 0, i64 0))
ret i32 0
}