#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 EXIT_FAILURE;
int EXIT_SUCCESS;
int /*<<< orphan*/ closeLogging();
char *getDistro();
int innerMain(int, char *, char *);
scalar_t__ isEqual(char *, char *);
int /*<<< orphan*/ printUsage(char *);
int /*<<< orphan*/ printf(char *, char *, char *);
int /*<<< orphan*/ startLogging();
int main(int argc, char **argv) {
  bool testInstall = false;
  char *installPath = "/srv/PufferPanel";
  char *installUser;
  char *distro = getDistro();
  if (isEqual(distro, "ubuntu")) {
    installUser = "www-data";
  } else if (isEqual(distro, "debian")) {
    installUser = "www-data";
  } else if (isEqual(distro, "unknown")) {
    installUser = "apache";
  } else {
    installUser = "apache";
  }
  bool doLangOnly = false;
  bool doConfigOnly = false;
  int i = 1;
  while (i < argc) {
    if (isEqual(argv[i], "-u")) {
      if (i + 1 < argc - 1) {
        printUsage(argv[0]);
        return (EXIT_FAILURE);
      } else {
        i++;
        installUser = argv[i];
      }
    } else if (isEqual(argv[i], "-t")) {
      testInstall = true;
    } else if (isEqual(argv[i], "-v")) {
      printf("PufferPanel Installer - Version C-%s (%s)\n", "0.0.1",
             "0.8.1-beta");
      return (EXIT_SUCCESS);
    } else if (isEqual(argv[i], "-h")) {
      printUsage(argv[0]);
      return (EXIT_SUCCESS);
    } else {
      printUsage(argv[0]);
      return (EXIT_FAILURE);
    }
    i++;
  }
  startLogging();
  int returnCode = innerMain(testInstall, installPath, installUser);
  closeLogging();
  return returnCode;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
lea    0xe6c(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    $0x0,%al
call   1070 <getDistro@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
lea    0xe63(%rip),%rsi
call   1090 <isEqual@plt>
cmp    $0x0,%rax
je     11cd <main+0x5d>
lea    0xe54(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    1236 <main+0xc6>
mov    -0x30(%rbp),%rdi
lea    0xe49(%rip),%rsi
call   1090 <isEqual@plt>
cmp    $0x0,%rax
je     11f7 <main+0x87>
lea    0xe2a(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    1231 <main+0xc1>
mov    -0x30(%rbp),%rdi
lea    0xe26(%rip),%rsi
call   1090 <isEqual@plt>
cmp    $0x0,%rax
je     1221 <main+0xb1>
lea    0xe18(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    122c <main+0xbc>
lea    0xe08(%rip),%rax
mov    %rax,-0x28(%rbp)
jmp    1231 <main+0xc1>
jmp    1236 <main+0xc6>
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x1,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    13b2 <main+0x242>
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xdcd(%rip),%rsi
call   1090 <isEqual@plt>
cmp    $0x0,%rax
je     12c8 <main+0x158>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    -0x8(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    12aa <main+0x13a>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1080 <printUsage@plt>
mov    0x2d40(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    13d9 <main+0x269>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x28(%rbp)
jmp    13a4 <main+0x234>
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd5f(%rip),%rsi
call   1090 <isEqual@plt>
cmp    $0x0,%rax
je     12f6 <main+0x186>
movl   $0x1,-0x14(%rbp)
jmp    139f <main+0x22f>
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd34(%rip),%rsi
call   1090 <isEqual@plt>
cmp    $0x0,%rax
je     1343 <main+0x1d3>
lea    0xd21(%rip),%rdi
lea    0xd45(%rip),%rsi
lea    0xd44(%rip),%rdx
call   1030 <printf@plt>
mov    0x2c9f(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    13d9 <main+0x269>
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,8),%rdi
lea    0xd26(%rip),%rsi
call   1090 <isEqual@plt>
cmp    $0x0,%rax
je     1382 <main+0x212>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1080 <printUsage@plt>
mov    0x2c60(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    13d9 <main+0x269>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1080 <printUsage@plt>
mov    0x2c4b(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    13d9 <main+0x269>
jmp    13a4 <main+0x234>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    124b <main+0xdb>
mov    $0x0,%al
call   1060 <startLogging@plt>
mov    -0x14(%rbp),%edi
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
call   1050 <innerMain@plt>
mov    %eax,-0x40(%rbp)
mov    $0x0,%al
call   1040 <closeLogging@plt>
mov    -0x40(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %edi,%r14d
xor    %ebp,%ebp
xor    %eax,%eax
call   1070 <getDistro@plt>
mov    %rax,%r12
lea    0xe7d(%rip),%rsi
mov    %rax,%rdi
call   1090 <isEqual@plt>
lea    0xe75(%rip),%r13
test   %rax,%rax
jne    11c0 <main+0x50>
lea    0xe72(%rip),%rsi
mov    %r12,%rdi
call   1090 <isEqual@plt>
test   %rax,%rax
je     1246 <main+0xd6>
cmp    $0x2,%r14d
jl     1266 <main+0xf6>
lea    -0x1(%r14),%eax
mov    %eax,0x4(%rsp)
xor    %ebp,%ebp
mov    $0x1,%r12d
jmp    1207 <main+0x97>
nopl   0x0(%rax)
mov    (%rbx,%r15,8),%rdi
lea    0xe4f(%rip),%rsi
call   1090 <isEqual@plt>
mov    $0x1,%ebp
test   %rax,%rax
je     1298 <main+0x128>
add    $0x1,%r12d
cmp    %r14d,%r12d
jge    1266 <main+0xf6>
movslq %r12d,%r15
mov    (%rbx,%r15,8),%rdi
lea    0xe22(%rip),%rsi
call   1090 <isEqual@plt>
test   %rax,%rax
je     11e0 <main+0x70>
add    $0x1,%r12d
cmp    0x4(%rsp),%r12d
jl     1233 <main+0xc3>
movslq %r12d,%rax
mov    (%rbx,%rax,8),%r13
jmp    11fe <main+0x8e>
mov    (%rbx),%rdi
call   1080 <printUsage@plt>
mov    0x2d9e(%rip),%rax
mov    (%rax),%eax
jmp    1289 <main+0x119>
lea    0xddb(%rip),%rsi
mov    %r12,%rdi
call   1090 <isEqual@plt>
lea    0xdd4(%rip),%r13
cmp    $0x2,%r14d
jge    11ca <main+0x5a>
xor    %eax,%eax
call   1060 <startLogging@plt>
lea    0xd8c(%rip),%rsi
mov    %ebp,%edi
mov    %r13,%rdx
call   1050 <innerMain@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1040 <closeLogging@plt>
mov    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    (%rbx,%r15,8),%rdi
lea    0xd9a(%rip),%rsi
call   1090 <isEqual@plt>
test   %rax,%rax
je     12c9 <main+0x159>
lea    0xd8c(%rip),%rdi
lea    0xdb0(%rip),%rsi
lea    0xdaf(%rip),%rdx
call   1030 <printf@plt>
jmp    12ed <main+0x17d>
mov    (%rbx,%r15,8),%rdi
lea    0xda8(%rip),%rsi
call   1090 <isEqual@plt>
mov    %rax,%rbp
mov    (%rbx),%rdi
call   1080 <printUsage@plt>
test   %rbp,%rbp
je     123b <main+0xcb>
mov    0x2ce4(%rip),%rax
mov    (%rax),%eax
jmp    1289 <main+0x119>

LLVM IR (-O0):
@.str = [17 x i8] c"/srv/PufferPanel\00"
@.str.1 = [7 x i8] c"ubuntu\00"
@.str.2 = [9 x i8] c"www-data\00"
@.str.3 = [7 x i8] c"debian\00"
@.str.4 = [8 x i8] c"unknown\00"
@.str.5 = [7 x i8] c"apache\00"
@.str.6 = [3 x i8] c"-u\00"
@EXIT_FAILURE = global i32 0
@.str.7 = [3 x i8] c"-t\00"
@.str.8 = [3 x i8] c"-v\00"
@.str.9 = [43 x i8] c"PufferPanel Installer - Version C-%s (%s)\0A\00"
@.str.10 = [6 x i8] c"0.0.1\00"
@.str.11 = [11 x i8] c"0.8.1-beta\00"
@EXIT_SUCCESS = global i32 0
@.str.12 = [3 x i8] c"-h\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca 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
store i32 0, i32* %6
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8** %7
%14 = call i8* (...) @getDistro()
store i8* %14, i8** %9
%15 = load i8*, i8** %9
%16 = call i64 @isEqual(i8* %15, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %2
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8** %8
br label %32
19: ; preds = %2
%20 = load i8*, i8** %9
%21 = call i64 @isEqual(i8* %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8** %8
br label %31
24: ; preds = %19
%25 = load i8*, i8** %9
%26 = call i64 @isEqual(i8* %25, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %24
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8** %8
br label %30
29: ; preds = %24
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8** %8
br label %30
30: ; preds = %29, %28
br label %31
31: ; preds = %30, %23
br label %32
32: ; preds = %31, %18
store i32 0, i32* %10
store i32 0, i32* %11
store i32 1, i32* %12
br label %33
33: ; preds = %107, %32
%34 = load i32, i32* %12
%35 = load i32, i32* %4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %110
37: ; preds = %33
%38 = load i8**, i8*** %5
%39 = load i32, i32* %12
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8*, i8** %38, i64 %40
%42 = load i8*, i8** %41
%43 = call i64 @isEqual(i8* %42, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %66
45: ; preds = %37
%46 = load i32, i32* %12
%47 = add nsw i32 %46, 1
%48 = load i32, i32* %4
%49 = sub nsw i32 %48, 1
%50 = icmp slt i32 %47, %49
br i1 %50, label %51, label %57
51: ; preds = %45
%52 = load i8**, i8*** %5
%53 = getelementptr inbounds i8*, i8** %52, i64 0
%54 = load i8*, i8** %53
%55 = call i32 @printUsage(i8* %54)
%56 = load i32, i32* @EXIT_FAILURE
store i32 %56, i32* %3
br label %118
57: ; preds = %45
%58 = load i32, i32* %12
%59 = add nsw i32 %58, 1
store i32 %59, i32* %12
%60 = load i8**, i8*** %5
%61 = load i32, i32* %12
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8*, i8** %60, i64 %62
%64 = load i8*, i8** %63
store i8* %64, i8** %8
br label %65
65: ; preds = %57
br label %107
66: ; preds = %37
%67 = load i8**, i8*** %5
%68 = load i32, i32* %12
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8*, i8** %67, i64 %69
%71 = load i8*, i8** %70
%72 = call i64 @isEqual(i8* %71, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %66
store i32 1, i32* %6
br label %106
75: ; preds = %66
%76 = load i8**, i8*** %5
%77 = load i32, i32* %12
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8*, i8** %76, i64 %78
%80 = load i8*, i8** %79
%81 = call i64 @isEqual(i8* %80, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%82 = icmp ne i64 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %75
%84 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0))
%85 = load i32, i32* @EXIT_SUCCESS
store i32 %85, i32* %3
br label %118
86: ; preds = %75
%87 = load i8**, i8*** %5
%88 = load i32, i32* %12
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i8*, i8** %87, i64 %89
%91 = load i8*, i8** %90
%92 = call i64 @isEqual(i8* %91, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%93 = icmp ne i64 %92, 0
br i1 %93, label %94, label %100
94: ; preds = %86
%95 = load i8**, i8*** %5
%96 = getelementptr inbounds i8*, i8** %95, i64 0
%97 = load i8*, i8** %96
%98 = call i32 @printUsage(i8* %97)
%99 = load i32, i32* @EXIT_SUCCESS
store i32 %99, i32* %3
br label %118
100: ; preds = %86
%101 = load i8**, i8*** %5
%102 = getelementptr inbounds i8*, i8** %101, i64 0
%103 = load i8*, i8** %102
%104 = call i32 @printUsage(i8* %103)
%105 = load i32, i32* @EXIT_FAILURE
store i32 %105, i32* %3
br label %118
106: ; preds = %74
br label %107
107: ; preds = %106, %65
%108 = load i32, i32* %12
%109 = add nsw i32 %108, 1
store i32 %109, i32* %12
br label %33
110: ; preds = %33
%111 = call i32 (...) @startLogging()
%112 = load i32, i32* %6
%113 = load i8*, i8** %7
%114 = load i8*, i8** %8
%115 = call i32 @innerMain(i32 %112, i8* %113, i8* %114)
store i32 %115, i32* %13
%116 = call i32 (...) @closeLogging()
%117 = load i32, i32* %13
store i32 %117, i32* %3
br label %118
118: ; preds = %110, %100, %94, %83, %51
%119 = load i32, i32* %3
ret i32 %119
}

LLVM IR (-O2):
@.str = [17 x i8] c"/srv/PufferPanel\00"
@.str.1 = [7 x i8] c"ubuntu\00"
@.str.2 = [9 x i8] c"www-data\00"
@.str.3 = [7 x i8] c"debian\00"
@.str.4 = [8 x i8] c"unknown\00"
@.str.5 = [7 x i8] c"apache\00"
@.str.6 = [3 x i8] c"-u\00"
@EXIT_FAILURE = global i32 0
@.str.7 = [3 x i8] c"-t\00"
@.str.8 = [3 x i8] c"-v\00"
@.str.9 = [43 x i8] c"PufferPanel Installer - Version C-%s (%s)\0A\00"
@.str.10 = [6 x i8] c"0.0.1\00"
@.str.11 = [11 x i8] c"0.8.1-beta\00"
@EXIT_SUCCESS = global i32 0
@.str.12 = [3 x i8] c"-h\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = tail call i8* (...) @getDistro()
%4 = tail call i64 @isEqual(i8* %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %2
%7 = tail call i64 @isEqual(i8* %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = tail call i64 @isEqual(i8* %3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
br label %11
11: ; preds = %9, %6, %2
%12 = phi i8* [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), %2 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), %6 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), %9 ]
%13 = icmp sgt i32 %0, 1
br i1 %13, label %14, label %63
14: ; preds = %11
%15 = add nsw i32 %0, -1
br label %16
16: ; preds = %14, %57
%17 = phi i32 [ 1, %14 ], [ %61, %57 ]
%18 = phi i32 [ 0, %14 ], [ %59, %57 ]
%19 = phi i8* [ %12, %14 ], [ %58, %57 ]
%20 = sext i32 %17 to i64
%21 = getelementptr inbounds i8*, i8** %1, i64 %20
%22 = load i8*, i8** %21
%23 = tail call i64 @isEqual(i8* %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %36, label %25
25: ; preds = %16
%26 = add nsw i32 %17, 1
%27 = icmp slt i32 %26, %15
br i1 %27, label %28, label %32
28: ; preds = %25
%29 = load i8*, i8** %1
%30 = tail call i32 @printUsage(i8* %29)
%31 = load i32, i32* @EXIT_FAILURE
br label %69
32: ; preds = %25
%33 = sext i32 %26 to i64
%34 = getelementptr inbounds i8*, i8** %1, i64 %33
%35 = load i8*, i8** %34
br label %57
36: ; preds = %16
%37 = load i8*, i8** %21
%38 = tail call i64 @isEqual(i8* %37, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %57
40: ; preds = %36
%41 = load i8*, i8** %21
%42 = tail call i64 @isEqual(i8* %41, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%43 = icmp eq i64 %42, 0
br i1 %43, label %47, label %44
44: ; preds = %40
%45 = tail call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0))
%46 = load i32, i32* @EXIT_SUCCESS
br label %69
47: ; preds = %40
%48 = load i8*, i8** %21
%49 = tail call i64 @isEqual(i8* %48, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
%51 = load i8*, i8** %1
%52 = tail call i32 @printUsage(i8* %51)
br i1 %50, label %55, label %53
53: ; preds = %47
%54 = load i32, i32* @EXIT_SUCCESS
br label %69
55: ; preds = %47
%56 = load i32, i32* @EXIT_FAILURE
br label %69
57: ; preds = %36, %32
%58 = phi i8* [ %35, %32 ], [ %19, %36 ]
%59 = phi i32 [ %18, %32 ], [ 1, %36 ]
%60 = phi i32 [ %26, %32 ], [ %17, %36 ]
%61 = add nsw i32 %60, 1
%62 = icmp slt i32 %61, %0
br i1 %62, label %16, label %63
63: ; preds = %57, %11
%64 = phi i8* [ %12, %11 ], [ %58, %57 ]
%65 = phi i32 [ 0, %11 ], [ %59, %57 ]
%66 = tail call i32 (...) @startLogging()
%67 = tail call i32 @innerMain(i32 %65, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* %64)
%68 = tail call i32 (...) @closeLogging()
br label %69
69: ; preds = %63, %55, %53, %44, %28
%70 = phi i32 [ %31, %28 ], [ %46, %44 ], [ %54, %53 ], [ %56, %55 ], [ %67, %63 ]
ret i32 %70
}