#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*/ getchar();
int /*<<< orphan*/ printf(char *, char *, ...);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main() {
  void StampaPosizioneTartaruga(unsigned int posizioneT,
                                unsigned int lunghezzaCampo);
  void StampaPosizioneLepre(unsigned int posizioneH,
                            unsigned int lunghezzaCampo);
  void gara(unsigned int *posizioneLeprePtr,
            unsigned int *posizioneTartarugaPtr);
  unsigned int posizioneLepre = 0;
  unsigned int posizioneTartaruga = 0;
  srand(time(NULL));
  printf("%s\n%s\n", "BANG !!!!", "AND THEY'RE OFF !!!!");
  while (posizioneLepre < (unsigned int)70 &&
         posizioneTartaruga < (unsigned int)70) {
    gara(&posizioneLepre, &posizioneTartaruga);
    if (posizioneTartaruga == posizioneLepre) {
      puts("");
      puts("");
      puts("****************************************************");
      printf("%s", "OUCH!!! Mi ha morso! Si ricomincia!\n");
      puts("****************************************************");
      puts("");
      puts("");
      puts("Premi Invio per continuare");
      getchar();
      posizioneLepre = 1;
      posizioneTartaruga = 1;
    } else {
      puts("");
      puts("");
      puts("");
      puts("");
      puts("");
      puts("          H = Lepre                           T = Tartaruga        "
           "            ");
      puts("");
      puts("          |10       |20       |30       |40       |50       |60    "
           "   |Arrivo!!");
      puts("-------------------------------------------------------------------"
           "---");
      StampaPosizioneTartaruga(posizioneTartaruga, (unsigned int)70);
      puts("-------------------------------------------------------------------"
           "---");
      StampaPosizioneLepre(posizioneLepre, (unsigned int)70);
      puts("-------------------------------------------------------------------"
           "---");
      puts("");
      puts("");
      puts("");
      puts("Premi invio per continuare");
      getchar();
      puts("");
      puts("");
      puts("");
      puts("");
      puts("");
      puts("");
      puts("");
      puts("");
    }
  }
  if (posizioneLepre >= 70 && posizioneTartaruga >= 70) {
    puts("E' un Pareggio. Si Riparte! Premi Invio.");
    getchar();
    getchar();
    gara(0, 0);
  } else if (posizioneLepre >= 70 && posizioneTartaruga < 70) {
    puts("Abbiamo un vincitore! La lepre...");
    puts("Premi Invio per uscire");
  } else if (posizioneTartaruga >= 70 && posizioneLepre < 70) {
    puts("LA TARTARUGA VINCE!!! YAY!!!");
    puts("Premi Invio per uscire");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1070 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
lea    0xe4c(%rip),%rdi
lea    0xe4c(%rip),%rsi
lea    0xe4f(%rip),%rdx
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
cmpl   $0x46,-0x8(%rbp)
mov    %al,-0xd(%rbp)
jae    11e2 <main+0x62>
cmpl   $0x46,-0xc(%rbp)
setb   %al
mov    %al,-0xd(%rbp)
mov    -0xd(%rbp),%al
test   $0x1,%al
jne    11f2 <main+0x72>
jmp    13c8 <main+0x248>
lea    -0x8(%rbp),%rdi
lea    -0xc(%rbp),%rsi
call   1090 <gara@plt>
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jne    128e <main+0x10e>
lea    0xe70(%rip),%rdi
call   1030 <puts@plt>
lea    0xe64(%rip),%rdi
call   1030 <puts@plt>
lea    0xdfc(%rip),%rdi
call   1030 <puts@plt>
lea    0xe25(%rip),%rdi
lea    0xe21(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xddb(%rip),%rdi
call   1030 <puts@plt>
lea    0xe2b(%rip),%rdi
call   1030 <puts@plt>
lea    0xe1f(%rip),%rdi
call   1030 <puts@plt>
lea    0xe14(%rip),%rdi
call   1030 <puts@plt>
mov    $0x0,%al
call   1060 <getchar@plt>
movl   $0x1,-0x8(%rbp)
movl   $0x1,-0xc(%rbp)
jmp    13c3 <main+0x243>
lea    0xded(%rip),%rdi
call   1030 <puts@plt>
lea    0xde1(%rip),%rdi
call   1030 <puts@plt>
lea    0xdd5(%rip),%rdi
call   1030 <puts@plt>
lea    0xdc9(%rip),%rdi
call   1030 <puts@plt>
lea    0xdbd(%rip),%rdi
call   1030 <puts@plt>
lea    0xdcd(%rip),%rdi
call   1030 <puts@plt>
lea    0xda5(%rip),%rdi
call   1030 <puts@plt>
lea    0xe05(%rip),%rdi
call   1030 <puts@plt>
lea    0xe49(%rip),%rdi
call   1030 <puts@plt>
mov    -0xc(%rbp),%edi
mov    $0x46,%esi
call   1080 <StampaPosizioneTartaruga@plt>
lea    0xe30(%rip),%rdi
call   1030 <puts@plt>
mov    -0x8(%rbp),%edi
mov    $0x46,%esi
call   10a0 <StampaPosizioneLepre@plt>
lea    0xe17(%rip),%rdi
call   1030 <puts@plt>
lea    0xd4f(%rip),%rdi
call   1030 <puts@plt>
lea    0xd43(%rip),%rdi
call   1030 <puts@plt>
lea    0xd37(%rip),%rdi
call   1030 <puts@plt>
lea    0xe2e(%rip),%rdi
call   1030 <puts@plt>
mov    $0x0,%al
call   1060 <getchar@plt>
lea    0xd18(%rip),%rdi
call   1030 <puts@plt>
lea    0xd0c(%rip),%rdi
call   1030 <puts@plt>
lea    0xd00(%rip),%rdi
call   1030 <puts@plt>
lea    0xcf4(%rip),%rdi
call   1030 <puts@plt>
lea    0xce8(%rip),%rdi
call   1030 <puts@plt>
lea    0xcdc(%rip),%rdi
call   1030 <puts@plt>
lea    0xcd0(%rip),%rdi
call   1030 <puts@plt>
lea    0xcc4(%rip),%rdi
call   1030 <puts@plt>
jmp    11c9 <main+0x49>
cmpl   $0x46,-0x8(%rbp)
jb     1407 <main+0x287>
cmpl   $0x46,-0xc(%rbp)
jb     1407 <main+0x287>
lea    0xdbd(%rip),%rdi
call   1030 <puts@plt>
mov    $0x0,%al
call   1060 <getchar@plt>
mov    $0x0,%al
call   1060 <getchar@plt>
xor    %eax,%eax
mov    %eax,%esi
mov    %rsi,%rdi
call   1090 <gara@plt>
jmp    146e <main+0x2ee>
cmpl   $0x46,-0x8(%rbp)
jb     1438 <main+0x2b8>
cmpl   $0x46,-0xc(%rbp)
jae    1438 <main+0x2b8>
lea    0xda7(%rip),%rdi
call   1030 <puts@plt>
lea    0xdbd(%rip),%rdi
call   1030 <puts@plt>
jmp    1469 <main+0x2e9>
cmpl   $0x46,-0xc(%rbp)
jb     1464 <main+0x2e4>
cmpl   $0x46,-0x8(%rbp)
jae    1464 <main+0x2e4>
lea    0xdaf(%rip),%rdi
call   1030 <puts@plt>
lea    0xd8c(%rip),%rdi
call   1030 <puts@plt>
jmp    1469 <main+0x2e9>
jmp    146e <main+0x2ee>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
movl   $0x0,0x4(%rsp)
movl   $0x0,(%rsp)
xor    %edi,%edi
call   1080 <time@plt>
mov    %eax,%edi
call   1060 <srand@plt>
lea    0xe41(%rip),%rdi
lea    0xe41(%rip),%rsi
lea    0xe44(%rip),%rdx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%rsp),%r14
mov    %rsp,%r15
lea    0xe43(%rip),%rbx
lea    0xf54(%rip),%rbp
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    %r15,%rsi
call   10a0 <gara@plt>
mov    (%rsp),%r13d
mov    0x4(%rsp),%r12d
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
cmp    %r12d,%r13d
jne    1290 <main+0x100>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xe2f(%rip),%rdi
lea    0xe2b(%rip),%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe26(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
movl   $0x1,0x4(%rsp)
movl   $0x1,(%rsp)
mov    $0x1,%ecx
mov    $0x1,%eax
cmp    $0x45,%eax
jbe    1390 <main+0x200>
jmp    1399 <main+0x209>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xde9(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe23(%rip),%rdi
call   1040 <puts@plt>
mov    %rbp,%rdi
call   1040 <puts@plt>
mov    (%rsp),%edi
mov    $0x46,%esi
call   1090 <StampaPosizioneTartaruga@plt>
mov    %rbp,%rdi
call   1040 <puts@plt>
mov    0x4(%rsp),%edi
mov    $0x46,%esi
call   10b0 <StampaPosizioneLepre@plt>
mov    %rbp,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe5d(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x4(%rsp),%eax
mov    (%rsp),%ecx
cmp    $0x45,%eax
ja     1399 <main+0x209>
cmp    $0x46,%ecx
jb     11f0 <main+0x60>
cmp    $0x46,%eax
jb     13c8 <main+0x238>
cmp    $0x46,%ecx
jb     13c8 <main+0x238>
lea    0xdf6(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
xor    %edi,%edi
xor    %esi,%esi
call   10a0 <gara@plt>
jmp    13fd <main+0x26d>
cmp    $0x46,%eax
jb     13db <main+0x24b>
cmp    $0x45,%ecx
ja     13db <main+0x24b>
lea    0xdf0(%rip),%rdi
jmp    13ec <main+0x25c>
cmp    $0x46,%ecx
jb     13fd <main+0x26d>
cmp    $0x45,%eax
ja     13fd <main+0x26d>
lea    0xe16(%rip),%rdi
call   1040 <puts@plt>
lea    0xdf3(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"%s\0A%s\0A\00"
@.str.1 = [10 x i8] c"BANG !!!!\00"
@.str.2 = [21 x i8] c"AND THEY'RE OFF !!!!\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [53 x i8] c"****************************************************\00"
@.str.5 = [3 x i8] c"%s\00"
@.str.6 = [37 x i8] c"OUCH!!! Mi ha morso! Si ricomincia!\0A\00"
@.str.7 = [27 x i8] c"Premi Invio per continuare\00"
@.str.8 = [80 x i8] c" H = Lepre T = Tartaruga \00"
@.str.9 = [80 x i8] c" |10 |20 |30 |40 |50 |60 |Arrivo!!\00"
@.str.10 = [71 x i8] c"----------------------------------------------------------------------\00"
@.str.11 = [27 x i8] c"Premi invio per continuare\00"
@.str.12 = [41 x i8] c"E' un Pareggio. Si Riparte! Premi Invio.\00"
@.str.13 = [34 x i8] c"Abbiamo un vincitore! La lepre...\00"
@.str.14 = [23 x i8] c"Premi Invio per uscire\00"
@.str.15 = [29 x i8] c"LA TARTARUGA VINCE!!! YAY!!!\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
store i32 0, i32* %3
%4 = call i32 @time(i32* null)
%5 = call i32 @srand(i32 %4)
%6 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
br label %7
7: ; preds = %56, %0
%8 = load i32, i32* %2
%9 = icmp ult i32 %8, 70
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load i32, i32* %3
%12 = icmp ult i32 %11, 70
br label %13
13: ; preds = %10, %7
%14 = phi i1 [ false, %7 ], [ %12, %10 ]
br i1 %14, label %15, label %57
15: ; preds = %13
%16 = load i32, i32* %3
%17 = load i32, i32* %2
%18 = icmp eq i32 %16, %17
br i1 %18, label %19, label %29
19: ; preds = %15
%20 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%21 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%22 = call i32 @puts(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.4, i64 0, i64 0))
%23 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0))
%24 = call i32 @puts(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.4, i64 0, i64 0))
%25 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%26 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%27 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%28 = call i32 (...) @getchar()
store i32 1, i32* %2
store i32 1, i32* %3
br label %56
29: ; preds = %15
%30 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%31 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%32 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%33 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%34 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%35 = call i32 @puts(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.8, i64 0, i64 0))
%36 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%37 = call i32 @puts(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.9, i64 0, i64 0))
%38 = call i32 @puts(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0))
%39 = load i32, i32* %3
%40 = call i32 @puts(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0))
%41 = load i32, i32* %2
%42 = call i32 @puts(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0))
%43 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%44 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%45 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%46 = call i32 @puts(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0))
%47 = call i32 (...) @getchar()
%48 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%49 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%50 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%51 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%52 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%53 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%54 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
%55 = call i32 @puts(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0))
br label %56
56: ; preds = %29, %19
br label %7
57: ; preds = %13
%58 = load i32, i32* %2
%59 = icmp uge i32 %58, 70
br i1 %59, label %60, label %67
60: ; preds = %57
%61 = load i32, i32* %3
%62 = icmp uge i32 %61, 70
br i1 %62, label %63, label %67
63: ; preds = %60
%64 = call i32 @puts(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.12, i64 0, i64 0))
%65 = call i32 (...) @getchar()
%66 = call i32 (...) @getchar()
br label %87
67: ; preds = %60, %57
%68 = load i32, i32* %2
%69 = icmp uge i32 %68, 70
br i1 %69, label %70, label %76
70: ; preds = %67
%71 = load i32, i32* %3
%72 = icmp ult i32 %71, 70
br i1 %72, label %73, label %76
73: ; preds = %70
%74 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.13, i64 0, i64 0))
%75 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0))
br label %86
76: ; preds = %70, %67
%77 = load i32, i32* %3
%78 = icmp uge i32 %77, 70
br i1 %78, label %79, label %85
79: ; preds = %76
%80 = load i32, i32* %2
%81 = icmp ult i32 %80, 70
br i1 %81, label %82, label %85
82: ; preds = %79
%83 = call i32 @puts(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.15, i64 0, i64 0))
%84 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0))
br label %85
85: ; preds = %82, %79, %76
br label %86
86: ; preds = %85, %73
br label %87
87: ; preds = %86, %63
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"%s\0A%s\0A\00"
@.str.1 = [10 x i8] c"BANG !!!!\00"
@.str.2 = [21 x i8] c"AND THEY'RE OFF !!!!\00"
@.str.4 = [53 x i8] c"****************************************************\00"
@.str.5 = [3 x i8] c"%s\00"
@.str.6 = [37 x i8] c"OUCH!!! Mi ha morso! Si ricomincia!\0A\00"
@.str.7 = [27 x i8] c"Premi Invio per continuare\00"
@.str.8 = [80 x i8] c" H = Lepre T = Tartaruga \00"
@.str.9 = [80 x i8] c" |10 |20 |30 |40 |50 |60 |Arrivo!!\00"
@.str.10 = [71 x i8] c"----------------------------------------------------------------------\00"
@.str.11 = [27 x i8] c"Premi invio per continuare\00"
@.str.12 = [41 x i8] c"E' un Pareggio. Si Riparte! Premi Invio.\00"
@.str.13 = [34 x i8] c"Abbiamo un vincitore! La lepre...\00"
@.str.14 = [23 x i8] c"Premi Invio per uscire\00"
@.str.15 = [29 x i8] c"LA TARTARUGA VINCE!!! YAY!!!\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
store i32 0, i32* %1
%4 = bitcast i32* %2 to i8*
store i32 0, i32* %2
%5 = tail call i32 @time(i32* null)
%6 = tail call i32 @srand(i32 %5)
%7 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
br label %8
8: ; preds = %0, %49
%9 = load i32, i32* %2
%10 = load i32, i32* %1
%11 = icmp eq i32 %9, %10
%12 = call i32 @putchar(i32 10)
%13 = call i32 @putchar(i32 10)
br i1 %11, label %14, label %22
14: ; preds = %8
%15 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.4, i64 0, i64 0))
%16 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0))
%17 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.4, i64 0, i64 0))
%18 = call i32 @putchar(i32 10)
%19 = call i32 @putchar(i32 10)
%20 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%21 = call i32 (...) @getchar()
store i32 1, i32* %1
store i32 1, i32* %2
br label %49
22: ; preds = %8
%23 = call i32 @putchar(i32 10)
%24 = call i32 @putchar(i32 10)
%25 = call i32 @putchar(i32 10)
%26 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @.str.8, i64 0, i64 0))
%27 = call i32 @putchar(i32 10)
%28 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @.str.9, i64 0, i64 0))
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0))
%30 = load i32, i32* %2
%31 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0))
%32 = load i32, i32* %1
%33 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0))
%34 = call i32 @putchar(i32 10)
%35 = call i32 @putchar(i32 10)
%36 = call i32 @putchar(i32 10)
%37 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0))
%38 = call i32 (...) @getchar()
%39 = call i32 @putchar(i32 10)
%40 = call i32 @putchar(i32 10)
%41 = call i32 @putchar(i32 10)
%42 = call i32 @putchar(i32 10)
%43 = call i32 @putchar(i32 10)
%44 = call i32 @putchar(i32 10)
%45 = call i32 @putchar(i32 10)
%46 = call i32 @putchar(i32 10)
%47 = load i32, i32* %1
%48 = load i32, i32* %2
br label %49
49: ; preds = %22, %14
%50 = phi i32 [ %48, %22 ], [ 1, %14 ]
%51 = phi i32 [ %47, %22 ], [ 1, %14 ]
%52 = icmp ult i32 %51, 70
%53 = icmp ult i32 %50, 70
%54 = select i1 %52, i1 %53, i1 false
br i1 %54, label %8, label %55
55: ; preds = %49
%56 = icmp ugt i32 %51, 69
%57 = icmp ugt i32 %50, 69
%58 = select i1 %56, i1 %57, i1 false
br i1 %58, label %59, label %63
59: ; preds = %55
%60 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.12, i64 0, i64 0))
%61 = call i32 (...) @getchar()
%62 = call i32 (...) @getchar()
br label %73
63: ; preds = %55
%64 = select i1 %56, i1 %53, i1 false
br i1 %64, label %65, label %68
65: ; preds = %63
%66 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.13, i64 0, i64 0))
%67 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0))
br label %73
68: ; preds = %63
%69 = select i1 %57, i1 %52, i1 false
br i1 %69, label %70, label %73
70: ; preds = %68
%71 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.15, i64 0, i64 0))
%72 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0))
br label %73
73: ; preds = %65, %70, %68, %59
ret i32 0
}