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

/* Variables and functions */
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ *openPipe(char *, char *);
int /*<<< orphan*/ *readZippedFile(char *, char *);
int /*<<< orphan*/ sprintf(char *, char *, char *);
int /*<<< orphan*/ stat(char *, struct stat *);
int /*<<< orphan*/ *stdin;
int /*<<< orphan*/ strcmp(char *, char *);
scalar_t__ stringEndsIn(char *, char *);
FILE *svd_readFile(char *fileName) {
  char fileBuf[512];
  struct stat statbuf;
  if (!strcmp(fileName, "-"))
    return stdin;
  if (fileName[0] == '|')
    return openPipe(fileName + 1, "r");
  if (stringEndsIn(fileName, ".gz") || stringEndsIn(fileName, ".Z")) {
    if (!stat(fileName, &statbuf))
      return readZippedFile("gzip -d", fileName);
    return NULL;
  }
  if (stringEndsIn(fileName, ".bz") || stringEndsIn(fileName, ".bz2")) {
    if (!stat(fileName, &statbuf))
      return readZippedFile("bzip2 -d", fileName);
    return NULL;
  }
  if (!stat(fileName, &statbuf))
    return fopen(fileName, "r");
  sprintf(fileBuf, "%s.gz", fileName);
  if (!stat(fileBuf, &statbuf))
    return readZippedFile("gzip -d", fileBuf);
  sprintf(fileBuf, "%s.Z", fileName);
  if (!stat(fileBuf, &statbuf))
    return readZippedFile("gzip -d", fileBuf);
  sprintf(fileBuf, "%s.bz2", fileName);
  if (!stat(fileBuf, &statbuf))
    return readZippedFile("bzip2 -d", fileBuf);
  sprintf(fileBuf, "%s.bz", fileName);
  if (!stat(fileBuf, &statbuf))
    return readZippedFile("bzip2 -d", fileBuf);
  return NULL;
}


x86 assembly (clang, -O0):
<svd_readFile>:
push   %rbp
mov    %rsp,%rbp
sub    $0x220,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xe76(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    11ab <svd_readFile+0x3b>
mov    0x2e49(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x7c,%eax
jne    11d8 <svd_readFile+0x68>
mov    -0x10(%rbp),%rdi
add    $0x1,%rdi
lea    0xe38(%rip),%rsi
call   1080 <openPipe@plt>
mov    %rax,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
mov    -0x10(%rbp),%rdi
lea    0xe34(%rip),%rsi
call   1040 <stringEndsIn@plt>
cmp    $0x0,%rax
jne    120c <svd_readFile+0x9c>
mov    -0x10(%rbp),%rdi
lea    0xe20(%rip),%rsi
call   1040 <stringEndsIn@plt>
cmp    $0x0,%rax
je     124b <svd_readFile+0xdb>
mov    -0x10(%rbp),%rdi
lea    -0x218(%rbp),%rsi
call   1060 <stat@plt>
cmp    $0x0,%eax
jne    123e <svd_readFile+0xce>
mov    -0x10(%rbp),%rsi
lea    0xdd4(%rip),%rdi
call   1030 <readZippedFile@plt>
mov    %rax,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
movq   $0x0,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
mov    -0x10(%rbp),%rdi
lea    0xdd3(%rip),%rsi
call   1040 <stringEndsIn@plt>
cmp    $0x0,%rax
jne    127f <svd_readFile+0x10f>
mov    -0x10(%rbp),%rdi
lea    0xdb2(%rip),%rsi
call   1040 <stringEndsIn@plt>
cmp    $0x0,%rax
je     12be <svd_readFile+0x14e>
mov    -0x10(%rbp),%rdi
lea    -0x218(%rbp),%rsi
call   1060 <stat@plt>
cmp    $0x0,%eax
jne    12b1 <svd_readFile+0x141>
mov    -0x10(%rbp),%rsi
lea    0xd69(%rip),%rdi
call   1030 <readZippedFile@plt>
mov    %rax,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
movq   $0x0,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
mov    -0x10(%rbp),%rdi
lea    -0x218(%rbp),%rsi
call   1060 <stat@plt>
cmp    $0x0,%eax
jne    12f0 <svd_readFile+0x180>
mov    -0x10(%rbp),%rdi
lea    0xd20(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
lea    -0x210(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xd13(%rip),%rsi
call   1090 <sprintf@plt>
lea    -0x210(%rbp),%rdi
lea    -0x218(%rbp),%rsi
call   1060 <stat@plt>
cmp    $0x0,%eax
jne    133f <svd_readFile+0x1cf>
lea    -0x210(%rbp),%rsi
lea    0xcd3(%rip),%rdi
call   1030 <readZippedFile@plt>
mov    %rax,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
lea    -0x210(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xcca(%rip),%rsi
call   1090 <sprintf@plt>
lea    -0x210(%rbp),%rdi
lea    -0x218(%rbp),%rsi
call   1060 <stat@plt>
cmp    $0x0,%eax
jne    138e <svd_readFile+0x21e>
lea    -0x210(%rbp),%rsi
lea    0xc84(%rip),%rdi
call   1030 <readZippedFile@plt>
mov    %rax,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
lea    -0x210(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xc80(%rip),%rsi
call   1090 <sprintf@plt>
lea    -0x210(%rbp),%rdi
lea    -0x218(%rbp),%rsi
call   1060 <stat@plt>
cmp    $0x0,%eax
jne    13dd <svd_readFile+0x26d>
lea    -0x210(%rbp),%rsi
lea    0xc3d(%rip),%rdi
call   1030 <readZippedFile@plt>
mov    %rax,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
lea    -0x210(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xc38(%rip),%rsi
call   1090 <sprintf@plt>
lea    -0x210(%rbp),%rdi
lea    -0x218(%rbp),%rsi
call   1060 <stat@plt>
cmp    $0x0,%eax
jne    142c <svd_readFile+0x2bc>
lea    -0x210(%rbp),%rsi
lea    0xbee(%rip),%rdi
call   1030 <readZippedFile@plt>
mov    %rax,-0x8(%rbp)
jmp    1434 <svd_readFile+0x2c4>
movq   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x220,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<svd_readFile>:
push   %r14
push   %rbx
sub    $0x218,%rsp
mov    %rdi,%rbx
lea    0xe7c(%rip),%rsi
call   1050 <strcmp@plt>
test   %eax,%eax
je     11af <svd_readFile+0x3f>
cmpb   $0x7c,(%rbx)
jne    11bb <svd_readFile+0x4b>
add    $0x1,%rbx
lea    0xe65(%rip),%rsi
mov    %rbx,%rdi
add    $0x218,%rsp
pop    %rbx
pop    %r14
jmp    1080 <openPipe@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%rax
jmp    11f6 <svd_readFile+0x86>
lea    0xe55(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stringEndsIn@plt>
test   %rax,%rax
jne    11e3 <svd_readFile+0x73>
lea    0xe47(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stringEndsIn@plt>
test   %rax,%rax
je     121a <svd_readFile+0xaa>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <stat@plt>
test   %eax,%eax
je     1201 <svd_readFile+0x91>
xor    %eax,%eax
add    $0x218,%rsp
pop    %rbx
pop    %r14
ret
lea    0xdfc(%rip),%rdi
mov    %rbx,%rsi
add    $0x218,%rsp
pop    %rbx
pop    %r14
jmp    1030 <readZippedFile@plt>
lea    0xe08(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stringEndsIn@plt>
test   %rax,%rax
jne    1242 <svd_readFile+0xd2>
lea    0xded(%rip),%rsi
mov    %rbx,%rdi
call   1040 <stringEndsIn@plt>
test   %rax,%rax
je     125c <svd_readFile+0xec>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <stat@plt>
test   %eax,%eax
jne    11f4 <svd_readFile+0x84>
lea    0xdb2(%rip),%rdi
jmp    1208 <svd_readFile+0x98>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1060 <stat@plt>
test   %eax,%eax
je     1322 <svd_readFile+0x1b2>
lea    0xd9d(%rip),%rsi
lea    0x10(%rsp),%r14
mov    %r14,%rdi
mov    %rbx,%rdx
call   1090 <sprintf@plt>
lea    0x8(%rsp),%rsi
mov    %r14,%rdi
call   1060 <stat@plt>
test   %eax,%eax
je     133b <svd_readFile+0x1cb>
lea    0xd77(%rip),%rsi
lea    0x10(%rsp),%r14
mov    %r14,%rdi
mov    %rbx,%rdx
call   1090 <sprintf@plt>
lea    0x8(%rsp),%rsi
mov    %r14,%rdi
call   1060 <stat@plt>
test   %eax,%eax
je     133b <svd_readFile+0x1cb>
lea    0xd54(%rip),%rsi
lea    0x10(%rsp),%r14
mov    %r14,%rdi
mov    %rbx,%rdx
call   1090 <sprintf@plt>
lea    0x8(%rsp),%rsi
mov    %r14,%rdi
call   1060 <stat@plt>
test   %eax,%eax
je     1319 <svd_readFile+0x1a9>
lea    0xd33(%rip),%rsi
lea    0x10(%rsp),%r14
mov    %r14,%rdi
mov    %rbx,%rdx
call   1090 <sprintf@plt>
lea    0x8(%rsp),%rsi
mov    %r14,%rdi
call   1060 <stat@plt>
test   %eax,%eax
jne    11f4 <svd_readFile+0x84>
lea    0xcec(%rip),%rdi
jmp    1342 <svd_readFile+0x1d2>
lea    0xcd9(%rip),%rsi
mov    %rbx,%rdi
add    $0x218,%rsp
pop    %rbx
pop    %r14
jmp    1070 <fopen@plt>
lea    0xcc2(%rip),%rdi
lea    0x10(%rsp),%rsi
call   1030 <readZippedFile@plt>
jmp    11f6 <svd_readFile+0x86>

LLVM IR (-O0):
%struct.stat = type { i32 }
@.str = [2 x i8] c"-\00"
@stdin = global i32* null
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [4 x i8] c".gz\00"
@.str.3 = [3 x i8] c".Z\00"
@.str.4 = [8 x i8] c"gzip -d\00"
@.str.5 = [4 x i8] c".bz\00"
@.str.6 = [5 x i8] c".bz2\00"
@.str.7 = [9 x i8] c"bzip2 -d\00"
@.str.8 = [6 x i8] c"%s.gz\00"
@.str.9 = [5 x i8] c"%s.Z\00"
@.str.10 = [7 x i8] c"%s.bz2\00"
@.str.11 = [6 x i8] c"%s.bz\00"
define i32* @svd_readFile(i8* %0) {
%2 = alloca i32*
%3 = alloca i8*
%4 = alloca [512 x i8]
%5 = alloca %struct.stat
store i8* %0, i8** %3
%6 = load i8*, i8** %3
%7 = call i32 @strcmp(i8* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%8 = icmp ne i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = load i32*, i32** @stdin
store i32* %10, i32** %2
br label %101
11: ; preds = %1
%12 = load i8*, i8** %3
%13 = getelementptr inbounds i8, i8* %12, i64 0
%14 = load i8, i8* %13
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 124
br i1 %16, label %17, label %21
17: ; preds = %11
%18 = load i8*, i8** %3
%19 = getelementptr inbounds i8, i8* %18, i64 1
%20 = call i32* @openPipe(i8* %19, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %20, i32** %2
br label %101
21: ; preds = %11
%22 = load i8*, i8** %3
%23 = call i64 @stringEndsIn(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%24 = icmp ne i64 %23, 0
br i1 %24, label %29, label %25
25: ; preds = %21
%26 = load i8*, i8** %3
%27 = call i64 @stringEndsIn(i8* %26, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %37
29: ; preds = %25, %21
%30 = load i8*, i8** %3
%31 = call i32 @stat(i8* %30, %struct.stat* %5)
%32 = icmp ne i32 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %29
%34 = load i8*, i8** %3
%35 = call i32* @readZippedFile(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* %34)
store i32* %35, i32** %2
br label %101
36: ; preds = %29
store i32* null, i32** %2
br label %101
37: ; preds = %25
%38 = load i8*, i8** %3
%39 = call i64 @stringEndsIn(i8* %38, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%40 = icmp ne i64 %39, 0
br i1 %40, label %45, label %41
41: ; preds = %37
%42 = load i8*, i8** %3
%43 = call i64 @stringEndsIn(i8* %42, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %53
45: ; preds = %41, %37
%46 = load i8*, i8** %3
%47 = call i32 @stat(i8* %46, %struct.stat* %5)
%48 = icmp ne i32 %47, 0
br i1 %48, label %52, label %49
49: ; preds = %45
%50 = load i8*, i8** %3
%51 = call i32* @readZippedFile(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* %50)
store i32* %51, i32** %2
br label %101
52: ; preds = %45
store i32* null, i32** %2
br label %101
53: ; preds = %41
%54 = load i8*, i8** %3
%55 = call i32 @stat(i8* %54, %struct.stat* %5)
%56 = icmp ne i32 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %53
%58 = load i8*, i8** %3
%59 = call i32* @fopen(i8* %58, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %59, i32** %2
br label %101
60: ; preds = %53
%61 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%62 = load i8*, i8** %3
%63 = call i32 @sprintf(i8* %61, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* %62)
%64 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%65 = call i32 @stat(i8* %64, %struct.stat* %5)
%66 = icmp ne i32 %65, 0
br i1 %66, label %70, label %67
67: ; preds = %60
%68 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%69 = call i32* @readZippedFile(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* %68)
store i32* %69, i32** %2
br label %101
70: ; preds = %60
%71 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%72 = load i8*, i8** %3
%73 = call i32 @sprintf(i8* %71, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* %72)
%74 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%75 = call i32 @stat(i8* %74, %struct.stat* %5)
%76 = icmp ne i32 %75, 0
br i1 %76, label %80, label %77
77: ; preds = %70
%78 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%79 = call i32* @readZippedFile(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* %78)
store i32* %79, i32** %2
br label %101
80: ; preds = %70
%81 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%82 = load i8*, i8** %3
%83 = call i32 @sprintf(i8* %81, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i8* %82)
%84 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%85 = call i32 @stat(i8* %84, %struct.stat* %5)
%86 = icmp ne i32 %85, 0
br i1 %86, label %90, label %87
87: ; preds = %80
%88 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%89 = call i32* @readZippedFile(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* %88)
store i32* %89, i32** %2
br label %101
90: ; preds = %80
%91 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%92 = load i8*, i8** %3
%93 = call i32 @sprintf(i8* %91, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* %92)
%94 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%95 = call i32 @stat(i8* %94, %struct.stat* %5)
%96 = icmp ne i32 %95, 0
br i1 %96, label %100, label %97
97: ; preds = %90
%98 = getelementptr inbounds [512 x i8], [512 x i8]* %4, i64 0, i64 0
%99 = call i32* @readZippedFile(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* %98)
store i32* %99, i32** %2
br label %101
100: ; preds = %90
store i32* null, i32** %2
br label %101
101: ; preds = %100, %97, %87, %77, %67, %57, %52, %49, %36, %33, %17, %9
%102 = load i32*, i32** %2
ret i32* %102
}

LLVM IR (-O2):
%struct.stat = type { i32 }
@.str = [2 x i8] c"-\00"
@stdin = global i32* null
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [4 x i8] c".gz\00"
@.str.3 = [3 x i8] c".Z\00"
@.str.4 = [8 x i8] c"gzip -d\00"
@.str.5 = [4 x i8] c".bz\00"
@.str.6 = [5 x i8] c".bz2\00"
@.str.7 = [9 x i8] c"bzip2 -d\00"
@.str.8 = [6 x i8] c"%s.gz\00"
@.str.9 = [5 x i8] c"%s.Z\00"
@.str.10 = [7 x i8] c"%s.bz2\00"
@.str.11 = [6 x i8] c"%s.bz\00"
define i32* @svd_readFile(i8* %0) {
%2 = alloca [512 x i8]
%3 = alloca %struct.stat
%4 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 0
%5 = bitcast %struct.stat* %3 to i8*
%6 = tail call i32 @strcmp(i8* dereferenceable(1) %0, i8* dereferenceable(2) getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32*, i32** @stdin
br label %67
10: ; preds = %1
%11 = load i8, i8* %0
%12 = icmp eq i8 %11, 124
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = getelementptr inbounds i8, i8* %0, i64 1
%15 = tail call i32* @openPipe(i8* %14, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %67
16: ; preds = %10
%17 = tail call i64 @stringEndsIn(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %16
%20 = tail call i64 @stringEndsIn(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %19, %16
%23 = call i32 @stat(i8* %0, %struct.stat* %3)
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %67
25: ; preds = %22
%26 = tail call i32* @readZippedFile(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* %0)
br label %67
27: ; preds = %19
%28 = tail call i64 @stringEndsIn(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %27
%31 = tail call i64 @stringEndsIn(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%32 = icmp eq i64 %31, 0
br i1 %32, label %38, label %33
33: ; preds = %30, %27
%34 = call i32 @stat(i8* %0, %struct.stat* %3)
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %67
36: ; preds = %33
%37 = tail call i32* @readZippedFile(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* %0)
br label %67
38: ; preds = %30
%39 = call i32 @stat(i8* %0, %struct.stat* %3)
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = tail call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %67
43: ; preds = %38
%44 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* %0)
%45 = call i32 @stat(i8* %4, %struct.stat* %3)
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = call i32* @readZippedFile(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* %4)
br label %67
49: ; preds = %43
%50 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* %0)
%51 = call i32 @stat(i8* %4, %struct.stat* %3)
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = call i32* @readZippedFile(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* %4)
br label %67
55: ; preds = %49
%56 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i8* %0)
%57 = call i32 @stat(i8* %4, %struct.stat* %3)
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %55
%60 = call i32* @readZippedFile(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* %4)
br label %67
61: ; preds = %55
%62 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i8* %0)
%63 = call i32 @stat(i8* %4, %struct.stat* %3)
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = call i32* @readZippedFile(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* %4)
br label %67
67: ; preds = %61, %33, %22, %65, %59, %53, %47, %41, %36, %25, %13, %8
%68 = phi i32* [ %15, %13 ], [ %26, %25 ], [ %37, %36 ], [ %66, %65 ], [ %60, %59 ], [ %54, %53 ], [ %48, %47 ], [ %42, %41 ], [ %9, %8 ], [ null, %22 ], [ null, %33 ], [ null, %61 ]
ret i32* %68
}