#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 *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  char nome[100];
  int scelta;
  int l;
  int Y;
  int I;
  int cont;
  printf("\n CALCOLO OCCORRENZE");
  printf("\n 1. Inserisci il tuo nome(max 100 caratteri)");
  printf("\n 2. Calcolo lunghezza");
  printf("\n 3. Calcolo frequenze");
  printf("\n 0. EXIT");
  do {
    do {
      printf("\n Inserisci la scelta(0-3): ");
      scanf("%d", &scelta);
    } while ((scelta < 0) || (scelta > 3));
    switch (scelta) {
    case 1:
      printf("\n Inserisci il nome: ");
      scanf("%s", &nome);
      printf("\n Il tuo nome e' stato inserito \n");
      break;
    case 2:
      l = 0;
      while (nome[l] != '\0') {
        l++;
      }
      printf("\n Il tuo nome e' lungo: %d \n", l);
      break;
    case 3:
      for (I = 0; I < l; I++) {
        cont = 1;
        if (nome[I] != 0) {
          for (Y = I + 1; Y < l; Y++) {
            if (nome[I] == nome[Y]) {
              cont++;
              nome[Y] = 0;
            }
          }
        }
        if (nome[I] != 0) {
          printf("\nIl carattere %c si ripete %d volte\n", nome[I], cont);
        }
      }
      break;
    }
  } while (scelta != 0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xec7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xece(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeee(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    117d <main+0x5d>
lea    0xef7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf06(%rip),%rdi
lea    -0x74(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    $0x1,%al
cmpl   $0x0,-0x74(%rbp)
mov    %al,-0x85(%rbp)
jl     11bc <main+0x9c>
cmpl   $0x3,-0x74(%rbp)
setg   %al
mov    %al,-0x85(%rbp)
mov    -0x85(%rbp),%al
test   $0x1,%al
jne    117d <main+0x5d>
mov    -0x74(%rbp),%eax
mov    %eax,-0x8c(%rbp)
sub    $0x1,%eax
je     1209 <main+0xe9>
jmp    11e1 <main+0xc1>
mov    -0x8c(%rbp),%eax
sub    $0x2,%eax
je     123c <main+0x11c>
jmp    11f5 <main+0xd5>
mov    -0x8c(%rbp),%eax
sub    $0x3,%eax
je     1279 <main+0x159>
jmp    134e <main+0x22e>
lea    0xe8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe93(%rip),%rdi
lea    -0x70(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xe84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    134e <main+0x22e>
movl   $0x0,-0x78(%rbp)
movslq -0x78(%rbp),%rax
movsbl -0x70(%rbp,%rax,1),%eax
cmp    $0x0,%eax
je     1263 <main+0x143>
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    1243 <main+0x123>
mov    -0x78(%rbp),%esi
lea    0xe69(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    134e <main+0x22e>
movl   $0x0,-0x80(%rbp)
mov    -0x80(%rbp),%eax
cmp    -0x78(%rbp),%eax
jge    1349 <main+0x229>
movl   $0x1,-0x84(%rbp)
movslq -0x80(%rbp),%rax
movsbl -0x70(%rbp,%rax,1),%eax
cmp    $0x0,%eax
je     1307 <main+0x1e7>
mov    -0x80(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
mov    -0x7c(%rbp),%eax
cmp    -0x78(%rbp),%eax
jge    1302 <main+0x1e2>
movslq -0x80(%rbp),%rax
movsbl -0x70(%rbp,%rax,1),%eax
movslq -0x7c(%rbp),%rcx
movsbl -0x70(%rbp,%rcx,1),%ecx
cmp    %ecx,%eax
jne    12ef <main+0x1cf>
mov    -0x84(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
movslq -0x7c(%rbp),%rax
movb   $0x0,-0x70(%rbp,%rax,1)
jmp    12f4 <main+0x1d4>
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    12b1 <main+0x191>
jmp    1307 <main+0x1e7>
movslq -0x80(%rbp),%rax
movsbl -0x70(%rbp,%rax,1),%eax
cmp    $0x0,%eax
je     1336 <main+0x216>
movslq -0x80(%rbp),%rax
movsbl -0x70(%rbp,%rax,1),%esi
mov    -0x84(%rbp),%edx
lea    0xdc4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    133b <main+0x21b>
mov    -0x80(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x80(%rbp)
jmp    1280 <main+0x160>
jmp    134e <main+0x22e>
jmp    1353 <main+0x233>
cmpl   $0x0,-0x74(%rbp)
jne    1178 <main+0x58>
mov    -0x4(%rbp),%eax
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
lea    0xebb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeeb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef4(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef0(%rip),%r14
lea    0xf06(%rip),%rbx
lea    0xc(%rsp),%rbp
lea    0x10(%rsp),%r15
jmp    11e0 <main+0xb0>
lea    0xef6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xefe(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xf32(%rip),%rdi
call   1030 <puts@plt>
mov    0xc(%rsp),%eax
test   %eax,%eax
je     12f1 <main+0x1c1>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
mov    0xc(%rsp),%eax
cmp    $0x3,%eax
ja     11e0 <main+0xb0>
cmp    $0x1,%eax
je     119e <main+0x6e>
cmp    $0x3,%eax
je     1240 <main+0x110>
cmp    $0x2,%eax
jne    12f1 <main+0x1c1>
mov    $0xffffffff,%r12d
mov    %r15,%rax
nopl   0x0(%rax)
add    $0x1,%r12d
cmpb   $0x0,(%rax)
lea    0x1(%rax),%rax
jne    1220 <main+0xf0>
lea    0xe80(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    11c9 <main+0x99>
test   %r12d,%r12d
jle    12e4 <main+0x1b4>
mov    %r12d,%ebp
lea    -0x1(%rbp),%r13
lea    0x11(%rsp),%r14
xor    %r15d,%r15d
jmp    1282 <main+0x152>
nopw   0x0(%rax,%rax,1)
test   %cl,%cl
je     1275 <main+0x145>
movsbl %cl,%esi
lea    0xe63(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%r14
add    $0xffffffffffffffff,%r13
cmp    %rbp,%r15
je     12ce <main+0x19e>
mov    %r15,%rax
mov    0x10(%rsp,%r15,1),%cl
add    $0x1,%r15
test   %cl,%cl
je     1275 <main+0x145>
mov    $0x1,%edx
cmp    %rbp,%r15
jae    1264 <main+0x134>
mov    $0x1,%edx
xor    %esi,%esi
jmp    12be <main+0x18e>
cs nopw 0x0(%rax,%rax,1)
nop
movzbl 0x10(%rsp,%rax,1),%ecx
add    $0x1,%rsi
cmp    %rsi,%r13
je     1260 <main+0x130>
cmp    (%r14,%rsi,1),%cl
jne    12b0 <main+0x180>
add    $0x1,%edx
movb   $0x0,(%r14,%rsi,1)
jmp    12b0 <main+0x180>
lea    0xda6(%rip),%r14
lea    0xc(%rsp),%rbp
lea    0x10(%rsp),%r15
jmp    11c9 <main+0x99>
mov    $0x3,%eax
test   %eax,%eax
jne    11e0 <main+0xb0>
xor    %eax,%eax
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [21 x i8] c"\0A CALCOLO OCCORRENZE\00"
@.str.1 = [46 x i8] c"\0A 1. Inserisci il tuo nome(max 100 caratteri)\00"
@.str.2 = [23 x i8] c"\0A 2. Calcolo lunghezza\00"
@.str.3 = [23 x i8] c"\0A 3. Calcolo frequenze\00"
@.str.4 = [10 x i8] c"\0A 0. EXIT\00"
@.str.5 = [29 x i8] c"\0A Inserisci la scelta(0-3): \00"
@.str.6 = [3 x i8] c"%d\00"
@.str.7 = [22 x i8] c"\0A Inserisci il nome: \00"
@.str.8 = [3 x i8] c"%s\00"
@.str.9 = [34 x i8] c"\0A Il tuo nome e' stato inserito \0A\00"
@.str.10 = [29 x i8] c"\0A Il tuo nome e' lungo: %d \0A\00"
@.str.11 = [37 x i8] c"\0AIl carattere %c si ripete %d volte\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [100 x i8]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.1, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
br label %13
13: ; preds = %108, %0
br label %14
14: ; preds = %23, %13
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0))
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %3)
br label %17
17: ; preds = %14
%18 = load i32, i32* %3
%19 = icmp slt i32 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load i32, i32* %3
%22 = icmp sgt i32 %21, 3
br label %23
23: ; preds = %20, %17
%24 = phi i1 [ true, %17 ], [ %22, %20 ]
br i1 %24, label %14, label %25
25: ; preds = %23
%26 = load i32, i32* %3
switch i32 %26, label %107 [
i32 1, label %27
i32 2, label %31
i32 3, label %45
]
27: ; preds = %25
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%29 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), [100 x i8]* %2)
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0))
br label %107
31: ; preds = %25
store i32 0, i32* %4
br label %32
32: ; preds = %39, %31
%33 = load i32, i32* %4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %34
%36 = load i8, i8* %35
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %32
%40 = load i32, i32* %4
%41 = add nsw i32 %40, 1
store i32 %41, i32* %4
br label %32
42: ; preds = %32
%43 = load i32, i32* %4
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i32 %43)
br label %107
45: ; preds = %25
store i32 0, i32* %6
br label %46
46: ; preds = %103, %45
%47 = load i32, i32* %6
%48 = load i32, i32* %4
%49 = icmp slt i32 %47, %48
br i1 %49, label %50, label %106
50: ; preds = %46
store i32 1, i32* %7
%51 = load i32, i32* %6
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %52
%54 = load i8, i8* %53
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %87
57: ; preds = %50
%58 = load i32, i32* %6
%59 = add nsw i32 %58, 1
store i32 %59, i32* %5
br label %60
60: ; preds = %83, %57
%61 = load i32, i32* %5
%62 = load i32, i32* %4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %86
64: ; preds = %60
%65 = load i32, i32* %6
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %66
%68 = load i8, i8* %67
%69 = sext i8 %68 to i32
%70 = load i32, i32* %5
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %71
%73 = load i8, i8* %72
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %69, %74
br i1 %75, label %76, label %82
76: ; preds = %64
%77 = load i32, i32* %7
%78 = add nsw i32 %77, 1
store i32 %78, i32* %7
%79 = load i32, i32* %5
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %80
store i8 0, i8* %81
br label %82
82: ; preds = %76, %64
br label %83
83: ; preds = %82
%84 = load i32, i32* %5
%85 = add nsw i32 %84, 1
store i32 %85, i32* %5
br label %60
86: ; preds = %60
br label %87
87: ; preds = %86, %50
%88 = load i32, i32* %6
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %89
%91 = load i8, i8* %90
%92 = sext i8 %91 to i32
%93 = icmp ne i32 %92, 0
br i1 %93, label %94, label %102
94: ; preds = %87
%95 = load i32, i32* %6
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 %96
%98 = load i8, i8* %97
%99 = sext i8 %98 to i32
%100 = load i32, i32* %7
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.11, i64 0, i64 0), i32 %99, i32 %100)
br label %102
102: ; preds = %94, %87
br label %103
103: ; preds = %102
%104 = load i32, i32* %6
%105 = add nsw i32 %104, 1
store i32 %105, i32* %6
br label %46
106: ; preds = %46
br label %107
107: ; preds = %25, %106, %42, %27
br label %108
108: ; preds = %107
%109 = load i32, i32* %3
%110 = icmp ne i32 %109, 0
br i1 %110, label %13, label %111
111: ; preds = %108
%112 = load i32, i32* %1
ret i32 %112
}

LLVM IR (-O2):
@.str = [21 x i8] c"\0A CALCOLO OCCORRENZE\00"
@.str.1 = [46 x i8] c"\0A 1. Inserisci il tuo nome(max 100 caratteri)\00"
@.str.2 = [23 x i8] c"\0A 2. Calcolo lunghezza\00"
@.str.3 = [23 x i8] c"\0A 3. Calcolo frequenze\00"
@.str.4 = [10 x i8] c"\0A 0. EXIT\00"
@.str.5 = [29 x i8] c"\0A Inserisci la scelta(0-3): \00"
@.str.6 = [3 x i8] c"%d\00"
@.str.7 = [22 x i8] c"\0A Inserisci il nome: \00"
@.str.8 = [3 x i8] c"%s\00"
@.str.10 = [29 x i8] c"\0A Il tuo nome e' lungo: %d \0A\00"
@.str.11 = [37 x i8] c"\0AIl carattere %c si ripete %d volte\0A\00"
@str = [33 x i8] c"\0A Il tuo nome e' stato inserito \00"
define i32 @main() {
%1 = alloca [100 x i8]
%2 = alloca i32
%3 = getelementptr inbounds [100 x i8], [100 x i8]* %1, i64 0, i64 0
%4 = bitcast i32* %2 to i8*
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.1, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
br label %10
10: ; preds = %72, %0
%11 = phi i32 [ undef, %0 ], [ %74, %72 ]
br label %12
12: ; preds = %12, %10
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.5, i64 0, i64 0))
%14 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32* %2)
%15 = load i32, i32* %2
%16 = icmp ugt i32 %15, 3
br i1 %16, label %12, label %17
17: ; preds = %12
switch i32 %15, label %76 [
i32 1, label %23
i32 2, label %27
i32 3, label %18
]
18: ; preds = %17
%19 = icmp sgt i32 %11, 0
br i1 %19, label %20, label %72
20: ; preds = %18
%21 = zext i32 %11 to i64
%22 = zext i32 %11 to i64
br label %36
23: ; preds = %17
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%25 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), [100 x i8]* %1)
%26 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str, i64 0, i64 0))
br label %69
27: ; preds = %17, %27
%28 = phi i64 [ %32, %27 ], [ 0, %17 ]
%29 = getelementptr inbounds [100 x i8], [100 x i8]* %1, i64 0, i64 %28
%30 = load i8, i8* %29
%31 = icmp eq i8 %30, 0
%32 = add nuw i64 %28, 1
br i1 %31, label %33, label %27
33: ; preds = %27
%34 = trunc i64 %28 to i32
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i32 %34)
br label %69
36: ; preds = %20, %66
%37 = phi i64 [ 0, %20 ], [ %42, %66 ]
%38 = phi i64 [ 1, %20 ], [ %67, %66 ]
%39 = getelementptr inbounds [100 x i8], [100 x i8]* %1, i64 0, i64 %37
%40 = load i8, i8* %39
%41 = icmp eq i8 %40, 0
%42 = add nuw nsw i64 %37, 1
br i1 %41, label %66, label %43
43: ; preds = %36
%44 = icmp ult i64 %42, %21
br i1 %44, label %45, label %61
45: ; preds = %43, %54
%46 = phi i8 [ %58, %54 ], [ %40, %43 ]
%47 = phi i64 [ %56, %54 ], [ %38, %43 ]
%48 = phi i32 [ %55, %54 ], [ 1, %43 ]
%49 = getelementptr inbounds [100 x i8], [100 x i8]* %1, i64 0, i64 %47
%50 = load i8, i8* %49
%51 = icmp eq i8 %46, %50
br i1 %51, label %52, label %54
52: ; preds = %45
%53 = add nsw i32 %48, 1
store i8 0, i8* %49
br label %54
54: ; preds = %45, %52
%55 = phi i32 [ %53, %52 ], [ %48, %45 ]
%56 = add nuw nsw i64 %47, 1
%57 = icmp eq i64 %56, %22
%58 = load i8, i8* %39
br i1 %57, label %59, label %45
59: ; preds = %54
%60 = icmp eq i8 %58, 0
br i1 %60, label %66, label %61
61: ; preds = %43, %59
%62 = phi i32 [ %55, %59 ], [ 1, %43 ]
%63 = phi i8 [ %58, %59 ], [ %40, %43 ]
%64 = sext i8 %63 to i32
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.11, i64 0, i64 0), i32 %64, i32 %62)
br label %66
66: ; preds = %36, %59, %61
%67 = add nuw nsw i64 %38, 1
%68 = icmp eq i64 %42, %22
br i1 %68, label %69, label %36
69: ; preds = %66, %33, %23
%70 = phi i32 [ %34, %33 ], [ %11, %23 ], [ %11, %66 ]
%71 = load i32, i32* %2
br label %72
72: ; preds = %69, %18
%73 = phi i32 [ %71, %69 ], [ 3, %18 ]
%74 = phi i32 [ %70, %69 ], [ %11, %18 ]
%75 = icmp eq i32 %73, 0
br i1 %75, label %76, label %10
76: ; preds = %17, %72
ret i32 0
}