#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
char EOF;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
char fgetc(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int hhist(int /*<<< orphan*/ *, int *, int, int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
int main(int argc, char *argv[]) {
  char ch;
  int i, state;
  int wordlen;
  int wlc[15 + 1];
  int rc;
  FILE *in, *out;
  in = fopen("ex0113m.c", "r");
  out = fopen("output.dat", "w");
  if (in == NULL || out == NULL) {
    perror("In Out");
    return 1;
  }
  state = 0;
  wordlen = 0;
  for (i = 0; i <= 15; i++) {
    wlc[i] = 0;
  }
  while ((ch = fgetc(in)) != EOF) {
    if (ch == ' ' || ch == '\n' || ch == '\t') {
      state = 0;
      if (wordlen > 0) {
        if (wordlen < 15) {
          wlc[wordlen]++;
        } else {
          wlc[15]++;
        }
        wordlen = 0;
      }
    } else if (state == 0) {
      state = 1;
      wordlen = 1;
    } else {
      wordlen++;
    }
  }
  rc = hhist(out, wlc, 15 + 1, 1);
  if (rc > 0) {
    printf("Error occured when drawing histogram\n");
    return 1;
  }
  for (i = 0; i <= 15; i++) {
    printf(" %02d ", wlc[i]);
  }
  putchar('\n');
  fclose(in);
  fclose(out);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xe70(%rip),%rdi
lea    0xe73(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x70(%rbp)
lea    0xe65(%rip),%rdi
lea    0xe69(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x78(%rbp)
cmpq   $0x0,-0x70(%rbp)
je     11cd <main+0x5d>
cmpq   $0x0,-0x78(%rbp)
jne    11e5 <main+0x75>
lea    0xe45(%rip),%rdi
call   1080 <perror@plt>
movl   $0x1,-0x4(%rbp)
jmp    1375 <main+0x205>
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
movl   $0x0,-0x18(%rbp)
cmpl   $0xf,-0x18(%rbp)
jg     121e <main+0xae>
movslq -0x18(%rbp),%rax
movl   $0x0,-0x60(%rbp,%rax,4)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11fa <main+0x8a>
jmp    1223 <main+0xb3>
mov    -0x70(%rbp),%rdi
call   1060 <fgetc@plt>
mov    %al,-0x11(%rbp)
movsbl %al,%eax
mov    0x2daf(%rip),%rcx
movsbl (%rcx),%ecx
cmp    %ecx,%eax
je     12df <main+0x16f>
movsbl -0x11(%rbp),%eax
cmp    $0x20,%eax
je     126b <main+0xfb>
movsbl -0x11(%rbp),%eax
cmp    $0xa,%eax
je     126b <main+0xfb>
movsbl -0x11(%rbp),%eax
cmp    $0x9,%eax
jne    12af <main+0x13f>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x0,-0x20(%rbp)
jle    12aa <main+0x13a>
cmpl   $0xf,-0x20(%rbp)
jge    129a <main+0x12a>
movslq -0x20(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x60(%rbp,%rax,4)
jmp    12a3 <main+0x133>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
movl   $0x0,-0x20(%rbp)
jmp    12da <main+0x16a>
cmpl   $0x0,-0x1c(%rbp)
jne    12cc <main+0x15c>
movl   $0x1,-0x1c(%rbp)
movl   $0x1,-0x20(%rbp)
jmp    12d5 <main+0x165>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12da <main+0x16a>
jmp    1223 <main+0xb3>
mov    -0x78(%rbp),%rdi
lea    -0x60(%rbp),%rsi
mov    $0x10,%edx
mov    $0x1,%ecx
call   1090 <hhist@plt>
mov    %eax,-0x64(%rbp)
cmpl   $0x0,-0x64(%rbp)
jle    131d <main+0x1ad>
lea    0xd16(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    1375 <main+0x205>
movl   $0x0,-0x18(%rbp)
cmpl   $0xf,-0x18(%rbp)
jg     1352 <main+0x1e2>
movslq -0x18(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%esi
lea    0xd09(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1324 <main+0x1b4>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x70(%rbp),%rdi
call   1040 <fclose@plt>
mov    -0x78(%rbp),%rdi
call   1040 <fclose@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
lea    0xe6b(%rip),%rdi
lea    0xe6e(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,%r12
lea    0xe61(%rip),%rdi
lea    0xe65(%rip),%rsi
call   1080 <fopen@plt>
test   %r12,%r12
je     1394 <main+0x214>
mov    %rax,%r14
test   %rax,%rax
je     1394 <main+0x214>
xorps  %xmm0,%xmm0
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
mov    %r12,%rdi
call   1070 <fgetc@plt>
mov    0x2df7(%rip),%r13
cmp    0x0(%r13),%al
jne    1227 <main+0xa7>
mov    %rsp,%rsi
mov    $0x1,%r15d
mov    %r14,%rdi
mov    $0x10,%edx
mov    $0x1,%ecx
call   10a0 <hhist@plt>
test   %eax,%eax
jle    127f <main+0xff>
lea    0xe0a(%rip),%rdi
call   1040 <puts@plt>
jmp    1382 <main+0x202>
xor    %ebp,%ebp
movabs $0x100000600,%r15
xor    %ebx,%ebx
jmp    124e <main+0xce>
addl   $0x1,0x3c(%rsp)
xor    %ebx,%ebx
xor    %ebp,%ebp
mov    %r12,%rdi
call   1070 <fgetc@plt>
cmp    0x0(%r13),%al
je     11f7 <main+0x77>
cmp    $0x20,%al
ja     1270 <main+0xf0>
movzbl %al,%eax
bt     %rax,%r15
jae    1270 <main+0xf0>
test   %ebx,%ebx
jle    123e <main+0xbe>
cmp    $0xe,%ebx
ja     1237 <main+0xb7>
mov    %ebx,%eax
addl   $0x1,(%rsp,%rax,4)
jmp    123c <main+0xbc>
nopl   0x0(%rax)
add    $0x1,%ebx
test   %ebp,%ebp
mov    $0x1,%ebp
cmove  %ebp,%ebx
jmp    1240 <main+0xc0>
mov    (%rsp),%esi
lea    0xd97(%rip),%rbp
xor    %r15d,%r15d
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x4(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x8(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xc(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x10(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x14(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x18(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x1c(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x20(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x24(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x28(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2c(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x30(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x34(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x38(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x3c(%rsp),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r12,%rdi
call   1050 <fclose@plt>
mov    %r14,%rdi
call   1050 <fclose@plt>
mov    %r15d,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xc7e(%rip),%rdi
call   1090 <perror@plt>
mov    $0x1,%r15d
jmp    1382 <main+0x202>

LLVM IR (-O0):
@.str = [10 x i8] c"ex0113m.c\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [11 x i8] c"output.dat\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [7 x i8] c"In Out\00"
@EOF = global i8 0
@.str.5 = [38 x i8] c"Error occured when drawing histogram\0A\00"
@.str.6 = [7 x i8] c" %02d \00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca [16 x i32]
%11 = alloca i32
%12 = alloca i32*
%13 = alloca i32*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%14 = call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %14, i32** %12
%15 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %15, i32** %13
%16 = load i32*, i32** %12
%17 = icmp eq i32* %16, null
br i1 %17, label %21, label %18
18: ; preds = %2
%19 = load i32*, i32** %13
%20 = icmp eq i32* %19, null
br i1 %20, label %21, label %23
21: ; preds = %18, %2
%22 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
store i32 1, i32* %3
br label %108
23: ; preds = %18
store i32 0, i32* %8
store i32 0, i32* %9
store i32 0, i32* %7
br label %24
24: ; preds = %31, %23
%25 = load i32, i32* %7
%26 = icmp sle i32 %25, 15
br i1 %26, label %27, label %34
27: ; preds = %24
%28 = load i32, i32* %7
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [16 x i32], [16 x i32]* %10, i64 0, i64 %29
store i32 0, i32* %30
br label %31
31: ; preds = %27
%32 = load i32, i32* %7
%33 = add nsw i32 %32, 1
store i32 %33, i32* %7
br label %24
34: ; preds = %24
br label %35
35: ; preds = %80, %34
%36 = load i32*, i32** %12
%37 = call signext i8 @fgetc(i32* %36)
store i8 %37, i8* %6
%38 = sext i8 %37 to i32
%39 = load i8, i8* @EOF
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %38, %40
br i1 %41, label %42, label %81
42: ; preds = %35
%43 = load i8, i8* %6
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 32
br i1 %45, label %54, label %46
46: ; preds = %42
%47 = load i8, i8* %6
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 10
br i1 %49, label %54, label %50
50: ; preds = %46
%51 = load i8, i8* %6
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 9
br i1 %53, label %54, label %72
54: ; preds = %50, %46, %42
store i32 0, i32* %8
%55 = load i32, i32* %9
%56 = icmp sgt i32 %55, 0
br i1 %56, label %57, label %71
57: ; preds = %54
%58 = load i32, i32* %9
%59 = icmp slt i32 %58, 15
br i1 %59, label %60, label %66
60: ; preds = %57
%61 = load i32, i32* %9
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [16 x i32], [16 x i32]* %10, i64 0, i64 %62
%64 = load i32, i32* %63
%65 = add nsw i32 %64, 1
store i32 %65, i32* %63
br label %70
66: ; preds = %57
%67 = getelementptr inbounds [16 x i32], [16 x i32]* %10, i64 0, i64 15
%68 = load i32, i32* %67
%69 = add nsw i32 %68, 1
store i32 %69, i32* %67
br label %70
70: ; preds = %66, %60
store i32 0, i32* %9
br label %71
71: ; preds = %70, %54
br label %80
72: ; preds = %50
%73 = load i32, i32* %8
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %72
store i32 1, i32* %8
store i32 1, i32* %9
br label %79
76: ; preds = %72
%77 = load i32, i32* %9
%78 = add nsw i32 %77, 1
store i32 %78, i32* %9
br label %79
79: ; preds = %76, %75
br label %80
80: ; preds = %79, %71
br label %35
81: ; preds = %35
%82 = load i32*, i32** %13
%83 = getelementptr inbounds [16 x i32], [16 x i32]* %10, i64 0, i64 0
%84 = call i32 @hhist(i32* %82, i32* %83, i32 16, i32 1)
store i32 %84, i32* %11
%85 = load i32, i32* %11
%86 = icmp sgt i32 %85, 0
br i1 %86, label %87, label %89
87: ; preds = %81
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.5, i64 0, i64 0))
store i32 1, i32* %3
br label %108
89: ; preds = %81
store i32 0, i32* %7
br label %90
90: ; preds = %99, %89
%91 = load i32, i32* %7
%92 = icmp sle i32 %91, 15
br i1 %92, label %93, label %102
93: ; preds = %90
%94 = load i32, i32* %7
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [16 x i32], [16 x i32]* %10, i64 0, i64 %95
%97 = load i32, i32* %96
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %97)
br label %99
99: ; preds = %93
%100 = load i32, i32* %7
%101 = add nsw i32 %100, 1
store i32 %101, i32* %7
br label %90
102: ; preds = %90
%103 = call i32 @putchar(i8 signext 10)
%104 = load i32*, i32** %12
%105 = call i32 @fclose(i32* %104)
%106 = load i32*, i32** %13
%107 = call i32 @fclose(i32* %106)
store i32 0, i32* %3
br label %108
108: ; preds = %102, %87, %21
%109 = load i32, i32* %3
ret i32 %109
}

LLVM IR (-O2):
@.str = [10 x i8] c"ex0113m.c\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [11 x i8] c"output.dat\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [7 x i8] c"In Out\00"
@EOF = global i8 0
@.str.6 = [7 x i8] c" %02d \00"
@str = [37 x i8] c"Error occured when drawing histogram\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [16 x i32]
%4 = bitcast [16 x i32]* %3 to i8*
%5 = tail call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%6 = tail call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%7 = icmp eq i32* %5, null
%8 = icmp eq i32* %6, null
%9 = or i1 %7, %8
br i1 %9, label %14, label %10
10: ; preds = %2
%11 = tail call signext i8 @fgetc(i32* %5)
%12 = load i8, i8* @EOF
%13 = icmp eq i8 %11, %12
br i1 %13, label %44, label %16
14: ; preds = %2
%15 = tail call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
br label %101
16: ; preds = %10
%17 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 15
br label %18
18: ; preds = %16, %38
%19 = phi i8 [ %11, %16 ], [ %41, %38 ]
%20 = phi i32 [ 0, %16 ], [ %40, %38 ]
%21 = phi i32 [ 0, %16 ], [ %39, %38 ]
switch i8 %19, label %34 [
i8 32, label %22
i8 10, label %22
i8 9, label %22
]
22: ; preds = %18, %18, %18
%23 = icmp sgt i32 %21, 0
br i1 %23, label %24, label %38
24: ; preds = %22
%25 = icmp ult i32 %21, 15
br i1 %25, label %26, label %31
26: ; preds = %24
%27 = zext i32 %21 to i64
%28 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 %27
%29 = load i32, i32* %28
%30 = add nsw i32 %29, 1
store i32 %30, i32* %28
br label %38
31: ; preds = %24
%32 = load i32, i32* %17
%33 = add nsw i32 %32, 1
store i32 %33, i32* %17
br label %38
34: ; preds = %18
%35 = icmp eq i32 %20, 0
%36 = add nsw i32 %21, 1
%37 = select i1 %35, i32 1, i32 %36
br label %38
38: ; preds = %34, %26, %31, %22
%39 = phi i32 [ %21, %22 ], [ 0, %31 ], [ 0, %26 ], [ %37, %34 ]
%40 = phi i32 [ 0, %22 ], [ 0, %31 ], [ 0, %26 ], [ 1, %34 ]
%41 = tail call signext i8 @fgetc(i32* %5)
%42 = load i8, i8* @EOF
%43 = icmp eq i8 %41, %42
br i1 %43, label %44, label %18
44: ; preds = %38, %10
%45 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 0
%46 = call i32 @hhist(i32* %6, i32* %45, i32 16, i32 1)
%47 = icmp sgt i32 %46, 0
br i1 %47, label %99, label %48
48: ; preds = %44
%49 = load i32, i32* %45
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %49)
%51 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 1
%52 = load i32, i32* %51
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %52)
%54 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 2
%55 = load i32, i32* %54
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %55)
%57 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 3
%58 = load i32, i32* %57
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %58)
%60 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 4
%61 = load i32, i32* %60
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %61)
%63 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 5
%64 = load i32, i32* %63
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %64)
%66 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 6
%67 = load i32, i32* %66
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %67)
%69 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 7
%70 = load i32, i32* %69
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %70)
%72 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 8
%73 = load i32, i32* %72
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %73)
%75 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 9
%76 = load i32, i32* %75
%77 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %76)
%78 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 10
%79 = load i32, i32* %78
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %79)
%81 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 11
%82 = load i32, i32* %81
%83 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %82)
%84 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 12
%85 = load i32, i32* %84
%86 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %85)
%87 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 13
%88 = load i32, i32* %87
%89 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %88)
%90 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 14
%91 = load i32, i32* %90
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %91)
%93 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 15
%94 = load i32, i32* %93
%95 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i32 %94)
%96 = call i32 @putchar(i8 signext 10)
%97 = call i32 @fclose(i32* %5)
%98 = call i32 @fclose(i32* %6)
br label %101
99: ; preds = %44
%100 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str, i64 0, i64 0))
br label %101
101: ; preds = %48, %99, %14
%102 = phi i32 [ 1, %14 ], [ 1, %99 ], [ 0, %48 ]
ret i32 %102
}