#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 */
struct stat {
  int st_mode;
};
struct dirent {
  char *d_name;
};
typedef int /*<<< orphan*/ file;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ PATH_MAX;
int S_IFDIR;
int S_IFMT;
int /*<<< orphan*/ alphasort;
int /*<<< orphan*/ err(int, char *, char *);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ read_file(int /*<<< orphan*/ *);
int scandir(char *, struct dirent ***, int /*<<< orphan*/ *,
            int /*<<< orphan*/);
int /*<<< orphan*/ snprintf(char *, int, char *, char *, char *);
scalar_t__ stat(char *, struct stat *);
int /*<<< orphan*/ strncmp(char *, char *, int);
int /*<<< orphan*/ strncpy(char *, char *, int);
int /*<<< orphan*/ warn(char *, char *);
void file_parse(char **files) {
  struct stat st;
  FILE *fp;
  int i, m;
  char file[PATH_MAX + 1];
  if (stat(*files, &st) < 0) {
    warn("stat(%s) fails", *files);
    return;
  }
  if ((st.st_mode & S_IFMT) == S_IFDIR) {
    struct dirent **flist;
    if ((m = scandir(*files, &flist, NULL, alphasort)) < 0)
      err(1, "scandir(%s) is failed", *files);
    for (i = 0; i < m; i++) {
      if (!strncmp(flist[i]->d_name, ".", 1))
        continue;
      if (!strncmp(flist[i]->d_name, "..", 2))
        continue;
      snprintf(file, sizeof(file), "%s/%s", *files, flist[i]->d_name);
      if ((fp = fopen(file, "r")) == NULL)
        err(1, "can't open %s", file);
      read_file(fp);
      (void)fclose(fp);
    }
  } else {
    strncpy(file, *files, sizeof(file));
    if ((fp = fopen(file, "r")) == NULL)
      err(1, "can't open %s", file);
    read_file(fp);
    (void)fclose(fp);
  }
}


x86 assembly (clang, -O0):
<file_parse>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2e3d(%rip),%rax
mov    (%rax),%eax
add    $0x1,%eax
mov    %rax,-0x50(%rbp)
mov    %rsp,%rcx
mov    %rcx,-0x28(%rbp)
mov    %rax,%rdx
add    $0xf,%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x48(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rdi
lea    -0x10(%rbp),%rsi
call   1090 <stat@plt>
cmp    $0x0,%rax
jge    1218 <file_parse+0x78>
mov    -0x8(%rbp),%rax
mov    (%rax),%rsi
lea    0xdf9(%rip),%rdi
call   1050 <warn@plt>
movl   $0x1,-0x34(%rbp)
jmp    13c9 <file_parse+0x229>
mov    -0x10(%rbp),%eax
mov    0x2db6(%rip),%rcx
and    (%rcx),%eax
mov    0x2d95(%rip),%rcx
cmp    (%rcx),%eax
jne    1367 <file_parse+0x1c7>
mov    -0x8(%rbp),%rax
mov    (%rax),%rdi
mov    0x2d8f(%rip),%rax
mov    (%rax),%ecx
lea    -0x40(%rbp),%rsi
xor    %eax,%eax
mov    %eax,%edx
call   1080 <scandir@plt>
mov    %eax,-0x20(%rbp)
cmp    $0x0,%eax
jge    1274 <file_parse+0xd4>
mov    -0x8(%rbp),%rax
mov    (%rax),%rdx
mov    $0x1,%edi
lea    0xda0(%rip),%rsi
call   10b0 <err@plt>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1362 <file_parse+0x1c2>
mov    -0x40(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    (%rax),%rdi
lea    0xd89(%rip),%rsi
mov    $0x1,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    12b5 <file_parse+0x115>
jmp    1354 <file_parse+0x1b4>
mov    -0x40(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    (%rax),%rdi
lea    0xd5a(%rip),%rsi
mov    $0x2,%edx
call   1040 <strncmp@plt>
cmp    $0x0,%eax
jne    12e3 <file_parse+0x143>
jmp    1354 <file_parse+0x1b4>
mov    -0x48(%rbp),%rdi
mov    -0x50(%rbp),%rax
mov    %eax,%esi
mov    -0x8(%rbp),%rax
mov    (%rax),%rcx
mov    -0x40(%rbp),%rax
movslq -0x1c(%rbp),%rdx
mov    (%rax,%rdx,8),%rax
mov    (%rax),%r8
lea    0xd1e(%rip),%rdx
call   1070 <snprintf@plt>
mov    -0x48(%rbp),%rdi
lea    0xd14(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
jne    1342 <file_parse+0x1a2>
mov    -0x48(%rbp),%rdx
mov    $0x1,%edi
lea    0xcf3(%rip),%rsi
call   10b0 <err@plt>
mov    -0x18(%rbp),%rdi
call   10a0 <read_file@plt>
mov    -0x18(%rbp),%rdi
call   1060 <fclose@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    127b <file_parse+0xdb>
jmp    13c2 <file_parse+0x222>
mov    -0x48(%rbp),%rdi
mov    -0x50(%rbp),%rax
mov    -0x8(%rbp),%rcx
mov    (%rcx),%rsi
mov    %eax,%edx
call   1030 <strncpy@plt>
mov    -0x48(%rbp),%rdi
lea    0xca6(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
jne    13b0 <file_parse+0x210>
mov    -0x48(%rbp),%rdx
mov    $0x1,%edi
lea    0xc85(%rip),%rsi
call   10b0 <err@plt>
mov    -0x18(%rbp),%rdi
call   10a0 <read_file@plt>
mov    -0x18(%rbp),%rdi
call   1060 <fclose@plt>
movl   $0x0,-0x34(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,%rsp
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<file_parse>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rdi,%r13
mov    %rsp,%r12
mov    0x2e32(%rip),%rax
mov    (%rax),%eax
add    $0x1,%eax
mov    %rsp,%rbx
mov    %rax,-0x48(%rbp)
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rbx
mov    %rbx,%rsp
mov    (%rdi),%rdi
lea    -0x38(%rbp),%rsi
call   1090 <stat@plt>
test   %rax,%rax
js     130a <file_parse+0x16a>
mov    0x2de4(%rip),%rax
mov    (%rax),%eax
and    -0x38(%rbp),%eax
mov    0x2dc0(%rip),%rcx
cmp    (%rcx),%eax
jne    131c <file_parse+0x17c>
mov    %r12,-0x50(%rbp)
mov    0x0(%r13),%rdi
mov    0x2db9(%rip),%rax
mov    (%rax),%ecx
lea    -0x30(%rbp),%rsi
xor    %edx,%edx
call   1080 <scandir@plt>
test   %eax,%eax
js     1369 <file_parse+0x1c9>
mov    %rbx,-0x40(%rbp)
je     137e <file_parse+0x1de>
mov    %eax,%ebx
xor    %r14d,%r14d
lea    0xde4(%rip),%r15
jmp    1270 <file_parse+0xd0>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r13,%rdi
call   10a0 <read_file@plt>
mov    %r13,%rdi
call   1060 <fclose@plt>
mov    %r12,%r13
add    $0x1,%r14
cmp    %r14,%rbx
je     137e <file_parse+0x1de>
mov    -0x30(%rbp),%rax
mov    (%rax,%r14,8),%rax
mov    (%rax),%rdi
mov    %r15,%rsi
mov    $0x1,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
je     1263 <file_parse+0xc3>
mov    -0x30(%rbp),%rax
mov    (%rax,%r14,8),%rax
mov    (%rax),%rdi
lea    0xd87(%rip),%rsi
mov    $0x2,%edx
call   1040 <strncmp@plt>
test   %eax,%eax
je     1263 <file_parse+0xc3>
mov    %r13,%r12
mov    0x0(%r13),%rcx
mov    -0x30(%rbp),%rax
mov    (%rax,%r14,8),%rax
mov    (%rax),%r8
mov    -0x40(%rbp),%r13
mov    %r13,%rdi
mov    -0x48(%rbp),%rsi
lea    0xd58(%rip),%rdx
call   1070 <snprintf@plt>
mov    %r13,%rdi
lea    0xd4f(%rip),%rsi
call   10c0 <fopen@plt>
mov    %rax,%r13
test   %rax,%rax
jne    1250 <file_parse+0xb0>
mov    $0x1,%edi
lea    0xd34(%rip),%rsi
mov    -0x40(%rbp),%rdx
call   10b0 <err@plt>
jmp    1250 <file_parse+0xb0>
mov    0x0(%r13),%rsi
lea    0xceb(%rip),%rdi
call   1050 <warn@plt>
jmp    1382 <file_parse+0x1e2>
mov    0x0(%r13),%rsi
mov    %rbx,%rdi
mov    -0x48(%rbp),%rdx
call   1030 <strncpy@plt>
lea    0xcfb(%rip),%rsi
mov    %rbx,%rdi
call   10c0 <fopen@plt>
mov    %rax,%r14
test   %rax,%rax
jne    1357 <file_parse+0x1b7>
lea    0xce6(%rip),%rsi
mov    $0x1,%edi
mov    %rbx,%rdx
call   10b0 <err@plt>
mov    %r14,%rdi
call   10a0 <read_file@plt>
mov    %r14,%rdi
call   1060 <fclose@plt>
jmp    1382 <file_parse+0x1e2>
mov    0x0(%r13),%rdx
lea    0xc9b(%rip),%rsi
mov    $0x1,%edi
call   10b0 <err@plt>
mov    -0x50(%rbp),%r12
mov    %r12,%rsp
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
%struct.stat = type { i32 }
%struct.dirent = type { i8* }
@PATH_MAX = global i32 0
@.str = [15 x i8] c"stat(%s) fails\00"
@S_IFMT = global i32 0
@S_IFDIR = global i32 0
@alphasort = global i32 0
@.str.1 = [22 x i8] c"scandir(%s) is failed\00"
@.str.2 = [2 x i8] c".\00"
@.str.3 = [3 x i8] c"..\00"
@.str.4 = [6 x i8] c"%s/%s\00"
@.str.5 = [2 x i8] c"r\00"
@.str.6 = [14 x i8] c"can't open %s\00"
define void @file_parse(i8** %0) {
%2 = alloca i8**
%3 = alloca %struct.stat
%4 = alloca i32*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i64
%9 = alloca i32
%10 = alloca %struct.dirent**
store i8** %0, i8*** %2
%11 = load i32, i32* @PATH_MAX
%12 = add nsw i32 %11, 1
%13 = zext i32 %12 to i64
%14 = call i8* @llvm.stacksave()
store i8* %14, i8** %7
%15 = alloca i8, i64 %13
store i64 %13, i64* %8
%16 = load i8**, i8*** %2
%17 = load i8*, i8** %16
%18 = call i64 @stat(i8* %17, %struct.stat* %3)
%19 = icmp slt i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %1
%21 = load i8**, i8*** %2
%22 = load i8*, i8** %21
%23 = call i32 @warn(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* %22)
store i32 1, i32* %9
br label %108
24: ; preds = %1
%25 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%26 = load i32, i32* %25
%27 = load i32, i32* @S_IFMT
%28 = and i32 %26, %27
%29 = load i32, i32* @S_IFDIR
%30 = icmp eq i32 %28, %29
br i1 %30, label %31, label %93
31: ; preds = %24
%32 = load i8**, i8*** %2
%33 = load i8*, i8** %32
%34 = load i32, i32* @alphasort
%35 = call i32 @scandir(i8* %33, %struct.dirent*** %10, i32* null, i32 %34)
store i32 %35, i32* %6
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %31
%38 = load i8**, i8*** %2
%39 = load i8*, i8** %38
%40 = call i32 @err(i32 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* %39)
br label %41
41: ; preds = %37, %31
store i32 0, i32* %5
br label %42
42: ; preds = %89, %41
%43 = load i32, i32* %5
%44 = load i32, i32* %6
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %92
46: ; preds = %42
%47 = load %struct.dirent**, %struct.dirent*** %10
%48 = load i32, i32* %5
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds %struct.dirent*, %struct.dirent** %47, i64 %49
%51 = load %struct.dirent*, %struct.dirent** %50
%52 = getelementptr inbounds %struct.dirent, %struct.dirent* %51, i32 0, i32 0
%53 = load i8*, i8** %52
%54 = call i32 @strncmp(i8* %53, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 1)
%55 = icmp ne i32 %54, 0
br i1 %55, label %57, label %56
56: ; preds = %46
br label %89
57: ; preds = %46
%58 = load %struct.dirent**, %struct.dirent*** %10
%59 = load i32, i32* %5
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds %struct.dirent*, %struct.dirent** %58, i64 %60
%62 = load %struct.dirent*, %struct.dirent** %61
%63 = getelementptr inbounds %struct.dirent, %struct.dirent* %62, i32 0, i32 0
%64 = load i8*, i8** %63
%65 = call i32 @strncmp(i8* %64, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 2)
%66 = icmp ne i32 %65, 0
br i1 %66, label %68, label %67
67: ; preds = %57
br label %89
68: ; preds = %57
%69 = trunc i64 %13 to i32
%70 = load i8**, i8*** %2
%71 = load i8*, i8** %70
%72 = load %struct.dirent**, %struct.dirent*** %10
%73 = load i32, i32* %5
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds %struct.dirent*, %struct.dirent** %72, i64 %74
%76 = load %struct.dirent*, %struct.dirent** %75
%77 = getelementptr inbounds %struct.dirent, %struct.dirent* %76, i32 0, i32 0
%78 = load i8*, i8** %77
%79 = call i32 @snprintf(i8* %15, i32 %69, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* %71, i8* %78)
%80 = call i32* @fopen(i8* %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i32* %80, i32** %4
%81 = icmp eq i32* %80, null
br i1 %81, label %82, label %84
82: ; preds = %68
%83 = call i32 @err(i32 1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* %15)
br label %84
84: ; preds = %82, %68
%85 = load i32*, i32** %4
%86 = call i32 @read_file(i32* %85)
%87 = load i32*, i32** %4
%88 = call i32 @fclose(i32* %87)
br label %89
89: ; preds = %84, %67, %56
%90 = load i32, i32* %5
%91 = add nsw i32 %90, 1
store i32 %91, i32* %5
br label %42
92: ; preds = %42
br label %107
93: ; preds = %24
%94 = load i8**, i8*** %2
%95 = load i8*, i8** %94
%96 = trunc i64 %13 to i32
%97 = call i32 @strncpy(i8* %15, i8* %95, i32 %96)
%98 = call i32* @fopen(i8* %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i32* %98, i32** %4
%99 = icmp eq i32* %98, null
br i1 %99, label %100, label %102
100: ; preds = %93
%101 = call i32 @err(i32 1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* %15)
br label %102
102: ; preds = %100, %93
%103 = load i32*, i32** %4
%104 = call i32 @read_file(i32* %103)
%105 = load i32*, i32** %4
%106 = call i32 @fclose(i32* %105)
br label %107
107: ; preds = %102, %92
store i32 0, i32* %9
br label %108
108: ; preds = %107, %20
%109 = load i8*, i8** %7
%110 = load i32, i32* %9
switch i32 %110, label %112 [
i32 0, label %111
i32 1, label %111
]
111: ; preds = %108, %108
ret void
112: ; preds = %108
unreachable
}

LLVM IR (-O2):
%struct.stat = type { i32 }
%struct.dirent = type { i8* }
@PATH_MAX = global i32 0
@.str = [15 x i8] c"stat(%s) fails\00"
@S_IFMT = global i32 0
@S_IFDIR = global i32 0
@alphasort = global i32 0
@.str.1 = [22 x i8] c"scandir(%s) is failed\00"
@.str.2 = [2 x i8] c".\00"
@.str.3 = [3 x i8] c"..\00"
@.str.4 = [6 x i8] c"%s/%s\00"
@.str.5 = [2 x i8] c"r\00"
@.str.6 = [14 x i8] c"can't open %s\00"
define void @file_parse(i8** nocapture %0) {
%2 = alloca %struct.stat
%3 = alloca %struct.dirent**
%4 = bitcast %struct.stat* %2 to i8*
%5 = load i32, i32* @PATH_MAX
%6 = add nsw i32 %5, 1
%7 = zext i32 %6 to i64
%8 = tail call i8* @llvm.stacksave()
%9 = alloca i8, i64 %7
%10 = load i8*, i8** %0
%11 = call i64 @stat(i8* %10, %struct.stat* %2)
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %1
%14 = load i8*, i8** %0
%15 = call i32 @warn(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* %14)
br label %82
16: ; preds = %1
%17 = getelementptr inbounds %struct.stat, %struct.stat* %2, i64 0, i32 0
%18 = load i32, i32* %17
%19 = load i32, i32* @S_IFMT
%20 = and i32 %19, %18
%21 = load i32, i32* @S_IFDIR
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %72
23: ; preds = %16
%24 = bitcast %struct.dirent*** %3 to i8*
%25 = load i8*, i8** %0
%26 = load i32, i32* @alphasort
%27 = call i32 @scandir(i8* %25, %struct.dirent*** %3, i32* null, i32 %26)
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = load i8*, i8** %0
%31 = call i32 @err(i32 1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* %30)
br label %71
32: ; preds = %23
%33 = icmp eq i32 %27, 0
br i1 %33, label %71, label %34
34: ; preds = %32
%35 = zext i32 %27 to i64
br label %36
36: ; preds = %34, %68
%37 = phi i64 [ 0, %34 ], [ %69, %68 ]
%38 = load %struct.dirent**, %struct.dirent*** %3
%39 = getelementptr inbounds %struct.dirent*, %struct.dirent** %38, i64 %37
%40 = load %struct.dirent*, %struct.dirent** %39
%41 = getelementptr inbounds %struct.dirent, %struct.dirent* %40, i64 0, i32 0
%42 = load i8*, i8** %41
%43 = call i32 @strncmp(i8* %42, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 1)
%44 = icmp eq i32 %43, 0
br i1 %44, label %68, label %45
45: ; preds = %36
%46 = load %struct.dirent**, %struct.dirent*** %3
%47 = getelementptr inbounds %struct.dirent*, %struct.dirent** %46, i64 %37
%48 = load %struct.dirent*, %struct.dirent** %47
%49 = getelementptr inbounds %struct.dirent, %struct.dirent* %48, i64 0, i32 0
%50 = load i8*, i8** %49
%51 = call i32 @strncmp(i8* %50, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 2)
%52 = icmp eq i32 %51, 0
br i1 %52, label %68, label %53
53: ; preds = %45
%54 = load i8*, i8** %0
%55 = load %struct.dirent**, %struct.dirent*** %3
%56 = getelementptr inbounds %struct.dirent*, %struct.dirent** %55, i64 %37
%57 = load %struct.dirent*, %struct.dirent** %56
%58 = getelementptr inbounds %struct.dirent, %struct.dirent* %57, i64 0, i32 0
%59 = load i8*, i8** %58
%60 = call i32 @snprintf(i8* %9, i32 %6, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* %54, i8* %59)
%61 = call i32* @fopen(i8* %9, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%62 = icmp eq i32* %61, null
br i1 %62, label %63, label %65
63: ; preds = %53
%64 = call i32 @err(i32 1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* %9)
br label %65
65: ; preds = %63, %53
%66 = call i32 @read_file(i32* %61)
%67 = call i32 @fclose(i32* %61)
br label %68
68: ; preds = %45, %36, %65
%69 = add nuw nsw i64 %37, 1
%70 = icmp eq i64 %69, %35
br i1 %70, label %71, label %36
71: ; preds = %68, %29, %32
br label %82
72: ; preds = %16
%73 = load i8*, i8** %0
%74 = call i32 @strncpy(i8* %9, i8* %73, i32 %6)
%75 = call i32* @fopen(i8* %9, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%76 = icmp eq i32* %75, null
br i1 %76, label %77, label %79
77: ; preds = %72
%78 = call i32 @err(i32 1, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* %9)
br label %79
79: ; preds = %77, %72
%80 = call i32 @read_file(i32* %75)
%81 = call i32 @fclose(i32* %75)
br label %82
82: ; preds = %71, %79, %13
ret void
}