#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 mode(int freq[], const int answer[]) {
  int rating, j, h, largest = 0;
  printf("\n%s\n%s\n%s\n", "********", "  Mode", "********");
  for (rating = 1; rating <= 9; rating++)
    freq[rating] = 0;
  for (j = 0; j <= 99 - 1; j++)
    ++freq[answer[j]];
  printf("%s%11s%19s\n%54s\n%54s\n", "Response", "Frequency", "Histogram",
         "1    1    2    2", "5    0    5    0    5");
  for (rating = 1; rating <= 9; rating++) {
    printf("%8d%11d          ", rating, freq[rating]);
    if (freq[rating] > largest) {
      largest = freq[rating];
    }
    for (h = 1; h <= freq[rating]; h++)
      printf("*");
    printf("\n");
  }
  printf("The mode is the most frequent value.\n"
         "For this run the mode includes ( ");
  for (rating = 1; rating <= 9; rating++)
    if (freq[rating] == largest)
      printf("%d ", rating);
  printf(") which occurred %d times.\n", largest);
}


x86 assembly (clang, -O0):
<mode>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x20(%rbp)
lea    0xed2(%rip),%rdi
lea    0xed6(%rip),%rcx
lea    0xed8(%rip),%rdx
mov    %rcx,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x14(%rbp)
cmpl   $0x9,-0x14(%rbp)
jg     1174 <mode+0x64>
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
movl   $0x0,(%rax,%rcx,4)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    114d <mode+0x3d>
movl   $0x0,-0x18(%rbp)
cmpl   $0x62,-0x18(%rbp)
jg     11ac <mode+0x9c>
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq -0x18(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
mov    (%rax,%rcx,4),%edx
add    $0x1,%edx
mov    %edx,(%rax,%rcx,4)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    117b <mode+0x6b>
lea    0xe68(%rip),%rdi
lea    0xe77(%rip),%rsi
lea    0xe79(%rip),%rdx
lea    0xe7c(%rip),%rcx
lea    0xe7f(%rip),%r8
lea    0xe89(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x14(%rbp)
cmpl   $0x9,-0x14(%rbp)
jg     127f <mode+0x16f>
mov    -0x14(%rbp),%esi
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
lea    0xe72(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
cmp    -0x20(%rbp),%eax
jle    122c <mode+0x11c>
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x20(%rbp)
movl   $0x1,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    -0x8(%rbp),%rcx
movslq -0x14(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
jg     1263 <mode+0x153>
lea    0xdc4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1233 <mode+0x123>
lea    0xe82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11e4 <mode+0xd4>
lea    0xe01(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x14(%rbp)
cmpl   $0x9,-0x14(%rbp)
jg     12d6 <mode+0x1c6>
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
cmp    -0x20(%rbp),%eax
jne    12c3 <mode+0x1b3>
mov    -0x14(%rbp),%esi
lea    0xe12(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12c8 <mode+0x1b8>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1294 <mode+0x184>
mov    -0x20(%rbp),%esi
lea    0xdf2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mode>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbp
mov    %rdi,%r13
lea    0xec8(%rip),%rdi
lea    0xed5(%rip),%rdx
lea    0xec5(%rip),%rcx
mov    %rcx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4(%r13),%r12
xorps  %xmm0,%xmm0
movups %xmm0,0x4(%r13)
movups %xmm0,0x14(%r13)
movl   $0x0,0x24(%r13)
mov    $0x2,%eax
xchg   %ax,%ax
movslq -0x8(%rbp,%rax,4),%rcx
addl   $0x1,0x0(%r13,%rcx,4)
movslq -0x4(%rbp,%rax,4),%rcx
addl   $0x1,0x0(%r13,%rcx,4)
movslq 0x0(%rbp,%rax,4),%rcx
addl   $0x1,0x0(%r13,%rcx,4)
add    $0x3,%rax
cmp    $0x65,%rax
jne    1170 <mode+0x50>
lea    0xe79(%rip),%rdi
lea    0xe88(%rip),%rsi
lea    0xe8a(%rip),%rdx
lea    0xe8d(%rip),%rcx
lea    0xe90(%rip),%r8
lea    0xe9a(%rip),%r9
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1,%ebp
lea    0xe9d(%rip),%r15
xor    %r14d,%r14d
jmp    11f4 <mode+0xd4>
nopl   (%rax)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%rbp
cmp    $0xa,%rbp
je     1236 <mode+0x116>
mov    0x0(%r13,%rbp,4),%edx
mov    %r15,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbp,4),%eax
cmp    %r14d,%eax
cmovg  %eax,%r14d
test   %eax,%eax
jle    11e0 <mode+0xc0>
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    $0x2a,%edi
call   1030 <putchar@plt>
add    $0x1,%ebx
cmp    0x0(%r13,%rbp,4),%ebx
jl     1220 <mode+0x100>
jmp    11e0 <mode+0xc0>
lea    0xe4a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    %r14d,(%r12)
je     12c8 <mode+0x1a8>
cmp    %r14d,0x8(%r13)
je     12e5 <mode+0x1c5>
cmp    %r14d,0xc(%r13)
je     1302 <mode+0x1e2>
cmp    %r14d,0x10(%r13)
je     131f <mode+0x1ff>
cmp    %r14d,0x14(%r13)
je     133c <mode+0x21c>
cmp    %r14d,0x18(%r13)
je     1359 <mode+0x239>
cmp    %r14d,0x1c(%r13)
je     1376 <mode+0x256>
cmp    %r14d,0x20(%r13)
je     1393 <mode+0x273>
cmp    %r14d,0x24(%r13)
jne    12a9 <mode+0x189>
lea    0xe31(%rip),%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe22(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <printf@plt>
lea    0xdff(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    %r14d,0x8(%r13)
jne    1254 <mode+0x134>
lea    0xde2(%rip),%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    %r14d,0xc(%r13)
jne    125e <mode+0x13e>
lea    0xdc5(%rip),%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    %r14d,0x10(%r13)
jne    1268 <mode+0x148>
lea    0xda8(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    %r14d,0x14(%r13)
jne    1272 <mode+0x152>
lea    0xd8b(%rip),%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    %r14d,0x18(%r13)
jne    127c <mode+0x15c>
lea    0xd6e(%rip),%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    %r14d,0x1c(%r13)
jne    1286 <mode+0x166>
lea    0xd51(%rip),%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    %r14d,0x20(%r13)
jne    1290 <mode+0x170>
lea    0xd34(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    %r14d,0x24(%r13)
je     1296 <mode+0x176>
jmp    12a9 <mode+0x189>

LLVM IR (-O0):
@.str = [11 x i8] c"\0A%s\0A%s\0A%s\0A\00"
@.str.1 = [9 x i8] c"********\00"
@.str.2 = [7 x i8] c" Mode\00"
@.str.3 = [22 x i8] c"%s%11s%19s\0A%54s\0A%54s\0A\00"
@.str.4 = [9 x i8] c"Response\00"
@.str.5 = [10 x i8] c"Frequency\00"
@.str.6 = [10 x i8] c"Histogram\00"
@.str.7 = [17 x i8] c"1 1 2 2\00"
@.str.8 = [22 x i8] c"5 0 5 0 5\00"
@.str.9 = [18 x i8] c"%8d%11d \00"
@.str.10 = [2 x i8] c"*\00"
@.str.11 = [2 x i8] c"\0A\00"
@.str.12 = [71 x i8] c"The mode is the most frequent value.\0AFor this run the mode includes ( \00"
@.str.13 = [4 x i8] c"%d \00"
@.str.14 = [28 x i8] c") which occurred %d times.\0A\00"
define void @mode(i32* %0, i32* %1) {
%3 = alloca i32*
%4 = alloca i32*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32* %0, i32** %3
store i32* %1, i32** %4
store i32 0, i32* %8
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
store i32 1, i32* %5
br label %10
10: ; preds = %18, %2
%11 = load i32, i32* %5
%12 = icmp sle i32 %11, 9
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load i32*, i32** %3
%15 = load i32, i32* %5
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, i32* %14, i64 %16
store i32 0, i32* %17
br label %18
18: ; preds = %13
%19 = load i32, i32* %5
%20 = add nsw i32 %19, 1
store i32 %20, i32* %5
br label %10
21: ; preds = %10
store i32 0, i32* %6
br label %22
22: ; preds = %36, %21
%23 = load i32, i32* %6
%24 = icmp sle i32 %23, 98
br i1 %24, label %25, label %39
25: ; preds = %22
%26 = load i32*, i32** %3
%27 = load i32*, i32** %4
%28 = load i32, i32* %6
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, i32* %27, i64 %29
%31 = load i32, i32* %30
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, i32* %26, i64 %32
%34 = load i32, i32* %33
%35 = add nsw i32 %34, 1
store i32 %35, i32* %33
br label %36
36: ; preds = %25
%37 = load i32, i32* %6
%38 = add nsw i32 %37, 1
store i32 %38, i32* %6
br label %22
39: ; preds = %22
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
store i32 1, i32* %5
br label %41
41: ; preds = %81, %39
%42 = load i32, i32* %5
%43 = icmp sle i32 %42, 9
br i1 %43, label %44, label %84
44: ; preds = %41
%45 = load i32, i32* %5
%46 = load i32*, i32** %3
%47 = load i32, i32* %5
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, i32* %46, i64 %48
%50 = load i32, i32* %49
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %45, i32 %50)
%52 = load i32*, i32** %3
%53 = load i32, i32* %5
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, i32* %52, i64 %54
%56 = load i32, i32* %55
%57 = load i32, i32* %8
%58 = icmp sgt i32 %56, %57
br i1 %58, label %59, label %65
59: ; preds = %44
%60 = load i32*, i32** %3
%61 = load i32, i32* %5
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, i32* %60, i64 %62
%64 = load i32, i32* %63
store i32 %64, i32* %8
br label %65
65: ; preds = %59, %44
store i32 1, i32* %7
br label %66
66: ; preds = %76, %65
%67 = load i32, i32* %7
%68 = load i32*, i32** %3
%69 = load i32, i32* %5
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, i32* %68, i64 %70
%72 = load i32, i32* %71
%73 = icmp sle i32 %67, %72
br i1 %73, label %74, label %79
74: ; preds = %66
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %76
76: ; preds = %74
%77 = load i32, i32* %7
%78 = add nsw i32 %77, 1
store i32 %78, i32* %7
br label %66
79: ; preds = %66
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %81
81: ; preds = %79
%82 = load i32, i32* %5
%83 = add nsw i32 %82, 1
store i32 %83, i32* %5
br label %41
84: ; preds = %41
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.12, i64 0, i64 0))
store i32 1, i32* %5
br label %86
86: ; preds = %101, %84
%87 = load i32, i32* %5
%88 = icmp sle i32 %87, 9
br i1 %88, label %89, label %104
89: ; preds = %86
%90 = load i32*, i32** %3
%91 = load i32, i32* %5
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, i32* %90, i64 %92
%94 = load i32, i32* %93
%95 = load i32, i32* %8
%96 = icmp eq i32 %94, %95
br i1 %96, label %97, label %100
97: ; preds = %89
%98 = load i32, i32* %5
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 %98)
br label %100
100: ; preds = %97, %89
br label %101
101: ; preds = %100
%102 = load i32, i32* %5
%103 = add nsw i32 %102, 1
store i32 %103, i32* %5
br label %86
104: ; preds = %86
%105 = load i32, i32* %8
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.14, i64 0, i64 0), i32 %105)
ret void
}

LLVM IR (-O2):
@.str = [11 x i8] c"\0A%s\0A%s\0A%s\0A\00"
@.str.1 = [9 x i8] c"********\00"
@.str.2 = [7 x i8] c" Mode\00"
@.str.3 = [22 x i8] c"%s%11s%19s\0A%54s\0A%54s\0A\00"
@.str.4 = [9 x i8] c"Response\00"
@.str.5 = [10 x i8] c"Frequency\00"
@.str.6 = [10 x i8] c"Histogram\00"
@.str.7 = [17 x i8] c"1 1 2 2\00"
@.str.8 = [22 x i8] c"5 0 5 0 5\00"
@.str.9 = [18 x i8] c"%8d%11d \00"
@.str.12 = [71 x i8] c"The mode is the most frequent value.\0AFor this run the mode includes ( \00"
@.str.13 = [4 x i8] c"%d \00"
@.str.14 = [28 x i8] c") which occurred %d times.\0A\00"
define void @mode(i32* nocapture %0, i32* nocapture %1) {
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0))
%4 = getelementptr i32, i32* %0, i64 1
%5 = bitcast i32* %4 to i8*
br label %6
6: ; preds = %6, %2
%7 = phi i64 [ 0, %2 ], [ %28, %6 ]
%8 = getelementptr inbounds i32, i32* %1, i64 %7
%9 = load i32, i32* %8
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, i32* %0, i64 %10
%12 = load i32, i32* %11
%13 = add nsw i32 %12, 1
store i32 %13, i32* %11
%14 = add nuw nsw i64 %7, 1
%15 = getelementptr inbounds i32, i32* %1, i64 %14
%16 = load i32, i32* %15
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, i32* %0, i64 %17
%19 = load i32, i32* %18
%20 = add nsw i32 %19, 1
store i32 %20, i32* %18
%21 = add nuw nsw i64 %7, 2
%22 = getelementptr inbounds i32, i32* %1, i64 %21
%23 = load i32, i32* %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, i32* %0, i64 %24
%26 = load i32, i32* %25
%27 = add nsw i32 %26, 1
store i32 %27, i32* %25
%28 = add nuw nsw i64 %7, 3
%29 = icmp eq i64 %28, 99
br i1 %29, label %30, label %6
30: ; preds = %6
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
br label %32
32: ; preds = %30, %49
%33 = phi i64 [ 1, %30 ], [ %51, %49 ]
%34 = phi i32 [ 0, %30 ], [ %41, %49 ]
%35 = getelementptr inbounds i32, i32* %0, i64 %33
%36 = load i32, i32* %35
%37 = trunc i64 %33 to i32
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %37, i32 %36)
%39 = load i32, i32* %35
%40 = icmp sgt i32 %39, %34
%41 = select i1 %40, i32 %39, i32 %34
%42 = icmp slt i32 %39, 1
br i1 %42, label %49, label %43
43: ; preds = %32, %43
%44 = phi i32 [ %46, %43 ], [ 1, %32 ]
%45 = tail call i32 @putchar(i32 42)
%46 = add nuw nsw i32 %44, 1
%47 = load i32, i32* %35
%48 = icmp slt i32 %44, %47
br i1 %48, label %43, label %49
49: ; preds = %43, %32
%50 = tail call i32 @putchar(i32 10)
%51 = add nuw nsw i64 %33, 1
%52 = icmp eq i64 %51, 10
br i1 %52, label %53, label %32
53: ; preds = %49
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @.str.12, i64 0, i64 0))
%55 = load i32, i32* %4
%56 = icmp eq i32 %55, %41
br i1 %56, label %57, label %59
57: ; preds = %53
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 1)
br label %59
59: ; preds = %53, %57
%60 = getelementptr inbounds i32, i32* %0, i64 2
%61 = load i32, i32* %60
%62 = icmp eq i32 %61, %41
br i1 %62, label %63, label %65
63: ; preds = %59
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 2)
br label %65
65: ; preds = %63, %59
%66 = getelementptr inbounds i32, i32* %0, i64 3
%67 = load i32, i32* %66
%68 = icmp eq i32 %67, %41
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 3)
br label %71
71: ; preds = %69, %65
%72 = getelementptr inbounds i32, i32* %0, i64 4
%73 = load i32, i32* %72
%74 = icmp eq i32 %73, %41
br i1 %74, label %75, label %77
75: ; preds = %71
%76 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 4)
br label %77
77: ; preds = %75, %71
%78 = getelementptr inbounds i32, i32* %0, i64 5
%79 = load i32, i32* %78
%80 = icmp eq i32 %79, %41
br i1 %80, label %81, label %83
81: ; preds = %77
%82 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 5)
br label %83
83: ; preds = %81, %77
%84 = getelementptr inbounds i32, i32* %0, i64 6
%85 = load i32, i32* %84
%86 = icmp eq i32 %85, %41
br i1 %86, label %87, label %89
87: ; preds = %83
%88 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 6)
br label %89
89: ; preds = %87, %83
%90 = getelementptr inbounds i32, i32* %0, i64 7
%91 = load i32, i32* %90
%92 = icmp eq i32 %91, %41
br i1 %92, label %93, label %95
93: ; preds = %89
%94 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 7)
br label %95
95: ; preds = %93, %89
%96 = getelementptr inbounds i32, i32* %0, i64 8
%97 = load i32, i32* %96
%98 = icmp eq i32 %97, %41
br i1 %98, label %99, label %101
99: ; preds = %95
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 8)
br label %101
101: ; preds = %99, %95
%102 = getelementptr inbounds i32, i32* %0, i64 9
%103 = load i32, i32* %102
%104 = icmp eq i32 %103, %41
br i1 %104, label %105, label %107
105: ; preds = %101
%106 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i32 9)
br label %107
107: ; preds = %105, %101
%108 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.14, i64 0, i64 0), i32 %41)
ret void
}