#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 */
int EXIT_FAILURE;
int EXIT_SUCCESS;
scalar_t__ errno;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int fscanf(int /*<<< orphan*/ *, char *, char *, char *);
int /*<<< orphan*/ sprintf(char *, char *, char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
scalar_t__ strcmp(char *, char *);
char *strerror(scalar_t__);
int /*<<< orphan*/ system(char *);
int checkVersion() {
  char cmd[256], vers[256], build[256];
  FILE *fp;
  errno = 0;
  sprintf(cmd, "wget %s -O /tmp/VERSION -q",
          "https://raw.github.com/ynad/aircrack-cli/master/VERSION");
  system(cmd);
  if ((fp = fopen("/tmp/VERSION", "r")) == NULL) {
    fprintf(stderr, "Error reading from file \"%s\": %s\n", "/tmp/VERSION",
            strerror(errno));
    return (EXIT_FAILURE);
  }
  if (fscanf(fp, "%s %s", vers, build) != 2) {
    fprintf(stderr, "No data collected or no internet connection.\n\n");
    vers[0] = '-';
    vers[1] = '\0';
    build[0] = '-';
    build[1] = '\0';
  } else {
    if (strcmp(vers, "1.2.5") < 0 ||
        (strcmp(vers, "1.2.5") == 0 && strcmp(build, "2015-01-24") < 0)) {
      fprintf(stdout,
              "Newer version is in use (local: %s [%s], repo: %s [%s]).\n\n",
              "1.2.5", "2015-01-24", vers, build);
    } else if (strcmp(vers, "1.2.5") == 0 && strcmp(build, "2015-01-24") == 0) {
      fprintf(stdout, "Up-to-date version is in use (%s [%s]).\n\n", "1.2.5",
              "2015-01-24");
    } else {
      fprintf(stdout,
              "Version in use: %s (%s), available: %s (%s)\nCheck \"%s\" for "
              "updates!\n\n",
              "1.2.5", "2015-01-24", vers, build,
              "github.com/ynad/aircrack-cli/");
    }
  }
  fclose(fp);
  system("rm -f /tmp/VERSION");
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<checkVersion>:
push   %rbp
mov    %rsp,%rbp
sub    $0x330,%rsp
mov    0x2e46(%rip),%rax
movq   $0x0,(%rax)
lea    -0x110(%rbp),%rdi
lea    0xe59(%rip),%rsi
lea    0xe6d(%rip),%rdx
call   1090 <sprintf@plt>
lea    -0x110(%rbp),%rdi
call   1040 <system@plt>
lea    0xfc6(%rip),%rdi
lea    0xe86(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x318(%rbp)
cmp    $0x0,%rax
jne    1230 <checkVersion+0xb0>
mov    0x2df6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x31c(%rbp)
mov    0x2ddf(%rip),%rax
mov    (%rax),%rdi
call   10a0 <strerror@plt>
mov    -0x31c(%rbp),%edi
mov    %rax,%rcx
lea    0xe44(%rip),%rsi
lea    0xf74(%rip),%rdx
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    0x2daa(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    13f1 <checkVersion+0x271>
mov    -0x318(%rbp),%rdi
lea    -0x210(%rbp),%rdx
lea    -0x310(%rbp),%rcx
lea    0xe2b(%rip),%rsi
call   1050 <fscanf@plt>
cmp    $0x2,%eax
je     1292 <checkVersion+0x112>
mov    0x2d7f(%rip),%rax
mov    (%rax),%edi
lea    0xe13(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
movb   $0x2d,-0x210(%rbp)
movb   $0x0,-0x20f(%rbp)
movb   $0x2d,-0x310(%rbp)
movb   $0x0,-0x30f(%rbp)
jmp    13cd <checkVersion+0x24d>
lea    -0x210(%rbp),%rdi
lea    0xe0c(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jl     12e9 <checkVersion+0x169>
lea    -0x210(%rbp),%rdi
lea    0xdef(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1321 <checkVersion+0x1a1>
lea    -0x310(%rbp),%rdi
lea    0xdd8(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jge    1321 <checkVersion+0x1a1>
mov    0x2cd8(%rip),%rax
mov    (%rax),%edi
lea    -0x210(%rbp),%r8
lea    -0x310(%rbp),%r9
lea    0xdb6(%rip),%rsi
lea    0xd9e(%rip),%rdx
lea    0xd9d(%rip),%rcx
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    13c8 <checkVersion+0x248>
lea    -0x210(%rbp),%rdi
lea    0xd7d(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1385 <checkVersion+0x205>
lea    -0x310(%rbp),%rdi
lea    0xd66(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1385 <checkVersion+0x205>
mov    0x2c66(%rip),%rax
mov    (%rax),%edi
lea    0xd8d(%rip),%rsi
lea    0xd3a(%rip),%rdx
lea    0xd39(%rip),%rcx
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    13c3 <checkVersion+0x243>
mov    0x2c3c(%rip),%rax
mov    (%rax),%edi
lea    -0x210(%rbp),%r8
lea    -0x310(%rbp),%r9
lea    0xd7f(%rip),%rsi
lea    0xd02(%rip),%rdx
lea    0xd01(%rip),%rcx
lea    0xdb0(%rip),%rax
mov    %rax,(%rsp)
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    13c8 <checkVersion+0x248>
jmp    13cd <checkVersion+0x24d>
mov    -0x318(%rbp),%rdi
call   1030 <fclose@plt>
lea    0xda6(%rip),%rdi
call   1040 <system@plt>
mov    0x2bd4(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x330,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<checkVersion>:
push   %r14
push   %rbx
sub    $0x318,%rsp
mov    0x2e47(%rip),%r14
movq   $0x0,(%r14)
lea    0xe61(%rip),%rsi
lea    0xe75(%rip),%rdx
lea    0x210(%rsp),%rbx
mov    %rbx,%rdi
call   1090 <sprintf@plt>
mov    %rbx,%rdi
call   1040 <system@plt>
lea    0xfc7(%rip),%rdi
lea    0xe87(%rip),%rsi
call   1080 <fopen@plt>
test   %rax,%rax
je     1225 <checkVersion+0xa5>
mov    %rax,%rbx
lea    0xe97(%rip),%rsi
lea    0x10(%rsp),%rdx
lea    0x110(%rsp),%rcx
mov    %rax,%rdi
call   1050 <fscanf@plt>
cmp    $0x2,%eax
jne    125c <checkVersion+0xdc>
lea    0xeab(%rip),%rsi
lea    0x10(%rsp),%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
jns    1289 <checkVersion+0x109>
mov    0x2db1(%rip),%rax
mov    (%rax),%edi
lea    0xe9d(%rip),%rsi
jmp    1306 <checkVersion+0x186>
mov    0x2db4(%rip),%rax
mov    (%rax),%ebx
mov    (%r14),%rdi
call   10a0 <strerror@plt>
lea    0xe18(%rip),%rsi
lea    0xf48(%rip),%rdx
mov    %ebx,%edi
mov    %rax,%rcx
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    0x2d79(%rip),%rax
jmp    1343 <checkVersion+0x1c3>
mov    0x2d7d(%rip),%rax
mov    (%rax),%edi
lea    0xe11(%rip),%rsi
xor    %eax,%eax
call   1070 <fprintf@plt>
movw   $0x2d,0x10(%rsp)
movw   $0x2d,0x110(%rsp)
jmp    1328 <checkVersion+0x1a8>
lea    0xe1c(%rip),%rsi
lea    0x10(%rsp),%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
jne    12bc <checkVersion+0x13c>
lea    0xe0c(%rip),%rsi
lea    0x110(%rsp),%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
js     1210 <checkVersion+0x90>
lea    0xde9(%rip),%rsi
lea    0x10(%rsp),%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
jne    12eb <checkVersion+0x16b>
lea    0xdd9(%rip),%rsi
lea    0x110(%rsp),%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1350 <checkVersion+0x1d0>
mov    0x2cd6(%rip),%rax
mov    (%rax),%edi
lea    0xe6d(%rip),%rax
mov    %rax,(%rsp)
lea    0xe1c(%rip),%rsi
lea    0xd9f(%rip),%rdx
lea    0xd9e(%rip),%rcx
lea    0x10(%rsp),%r8
lea    0x110(%rsp),%r9
xor    %eax,%eax
call   1070 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <fclose@plt>
lea    0xe4f(%rip),%rdi
call   1040 <system@plt>
mov    0x2c7d(%rip),%rax
mov    (%rax),%eax
add    $0x318,%rsp
pop    %rbx
pop    %r14
ret
mov    0x2c71(%rip),%rax
mov    (%rax),%edi
lea    0xd98(%rip),%rsi
lea    0xd45(%rip),%rdx
lea    0xd44(%rip),%rcx
xor    %eax,%eax
call   1070 <fprintf@plt>
jmp    1328 <checkVersion+0x1a8>

LLVM IR (-O0):
@errno = global i64 0
@.str = [27 x i8] c"wget %s -O /tmp/VERSION -q\00"
@.str.1 = [56 x i8] c"https://raw.github.com/ynad/aircrack-cli/master/VERSION\00"
@.str.2 = [13 x i8] c"/tmp/VERSION\00"
@.str.3 = [2 x i8] c"r\00"
@stderr = global i32 0
@.str.4 = [34 x i8] c"Error reading from file \22%s\22: %s\0A\00"
@EXIT_FAILURE = global i32 0
@.str.5 = [6 x i8] c"%s %s\00"
@.str.6 = [47 x i8] c"No data collected or no internet connection.\0A\0A\00"
@.str.7 = [6 x i8] c"1.2.5\00"
@.str.8 = [11 x i8] c"2015-01-24\00"
@stdout = global i32 0
@.str.9 = [59 x i8] c"Newer version is in use (local: %s [%s], repo: %s [%s]).\0A\0A\00"
@.str.10 = [42 x i8] c"Up-to-date version is in use (%s [%s]).\0A\0A\00"
@.str.11 = [70 x i8] c"Version in use: %s (%s), available: %s (%s)\0ACheck \22%s\22 for updates!\0A\0A\00"
@.str.12 = [30 x i8] c"github.com/ynad/aircrack-cli/\00"
@.str.13 = [19 x i8] c"rm -f /tmp/VERSION\00"
@EXIT_SUCCESS = global i32 0
define i32 @checkVersion() {
%1 = alloca i32
%2 = alloca [256 x i8]
%3 = alloca [256 x i8]
%4 = alloca [256 x i8]
%5 = alloca i32*
store i64 0, i64* @errno
%6 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%7 = call i32 @sprintf(i8* %6, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0))
%8 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%9 = call i32 @system(i8* %8)
%10 = call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 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* %10, i32** %5
%11 = icmp eq i32* %10, null
br i1 %11, label %12, label %18
12: ; preds = %0
%13 = load i32, i32* @stderr
%14 = load i64, i64* @errno
%15 = call i8* @strerror(i64 %14)
%16 = call i32 (i32, i8*, ...) @fprintf(i32 %13, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8* %15)
%17 = load i32, i32* @EXIT_FAILURE
store i32 %17, i32* %1
br label %71
18: ; preds = %0
%19 = load i32*, i32** %5
%20 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%21 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%22 = call i32 @fscanf(i32* %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %20, i8* %21)
%23 = icmp ne i32 %22, 2
br i1 %23, label %24, label %31
24: ; preds = %18
%25 = load i32, i32* @stderr
%26 = call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
%27 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
store i8 45, i8* %27
%28 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 1
store i8 0, i8* %28
%29 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
store i8 45, i8* %29
%30 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 1
store i8 0, i8* %30
br label %66
31: ; preds = %18
%32 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%33 = call i64 @strcmp(i8* %32, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%34 = icmp slt i64 %33, 0
br i1 %34, label %43, label %35
35: ; preds = %31
%36 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%37 = call i64 @strcmp(i8* %36, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %35
%40 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%41 = call i64 @strcmp(i8* %40, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%42 = icmp slt i64 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %39, %31
%44 = load i32, i32* @stdout
%45 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%46 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%47 = call i32 (i32, i8*, ...) @fprintf(i32 %44, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* %45, i8* %46)
br label %65
48: ; preds = %39, %35
%49 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%50 = call i64 @strcmp(i8* %49, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %59
52: ; preds = %48
%53 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%54 = call i64 @strcmp(i8* %53, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%55 = icmp eq i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %52
%57 = load i32, i32* @stdout
%58 = call i32 (i32, i8*, ...) @fprintf(i32 %57, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
br label %64
59: ; preds = %52, %48
%60 = load i32, i32* @stdout
%61 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%62 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%63 = call i32 (i32, i8*, ...) @fprintf(i32 %60, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* %61, i8* %62, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0))
br label %64
64: ; preds = %59, %56
br label %65
65: ; preds = %64, %43
br label %66
66: ; preds = %65, %24
%67 = load i32*, i32** %5
%68 = call i32 @fclose(i32* %67)
%69 = call i32 @system(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0))
%70 = load i32, i32* @EXIT_SUCCESS
store i32 %70, i32* %1
br label %71
71: ; preds = %66, %12
%72 = load i32, i32* %1
ret i32 %72
}

LLVM IR (-O2):
@errno = global i64 0
@.str = [27 x i8] c"wget %s -O /tmp/VERSION -q\00"
@.str.1 = [56 x i8] c"https://raw.github.com/ynad/aircrack-cli/master/VERSION\00"
@.str.2 = [13 x i8] c"/tmp/VERSION\00"
@.str.3 = [2 x i8] c"r\00"
@stderr = global i32 0
@.str.4 = [34 x i8] c"Error reading from file \22%s\22: %s\0A\00"
@EXIT_FAILURE = global i32 0
@.str.5 = [6 x i8] c"%s %s\00"
@.str.6 = [47 x i8] c"No data collected or no internet connection.\0A\0A\00"
@.str.7 = [6 x i8] c"1.2.5\00"
@.str.8 = [11 x i8] c"2015-01-24\00"
@stdout = global i32 0
@.str.9 = [59 x i8] c"Newer version is in use (local: %s [%s], repo: %s [%s]).\0A\0A\00"
@.str.10 = [42 x i8] c"Up-to-date version is in use (%s [%s]).\0A\0A\00"
@.str.11 = [70 x i8] c"Version in use: %s (%s), available: %s (%s)\0ACheck \22%s\22 for updates!\0A\0A\00"
@.str.12 = [30 x i8] c"github.com/ynad/aircrack-cli/\00"
@.str.13 = [19 x i8] c"rm -f /tmp/VERSION\00"
@EXIT_SUCCESS = global i32 0
define i32 @checkVersion() {
%1 = alloca [256 x i8]
%2 = alloca [256 x i8]
%3 = alloca [256 x i8]
%4 = getelementptr inbounds [256 x i8], [256 x i8]* %1, i64 0, i64 0
%5 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%6 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
store i64 0, i64* @errno
%7 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0))
%8 = call i32 @system(i8* %4)
%9 = tail call i32* @fopen(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%10 = icmp eq i32* %9, null
br i1 %10, label %11, label %16
11: ; preds = %0
%12 = load i32, i32* @stderr
%13 = load i64, i64* @errno
%14 = tail call i8* @strerror(i64 %13)
%15 = tail call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i8* %14)
br label %51
16: ; preds = %0
%17 = call i32 @fscanf(i32* %9, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %5, i8* %6)
%18 = icmp eq i32 %17, 2
br i1 %18, label %24, label %19
19: ; preds = %16
%20 = load i32, i32* @stderr
%21 = call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
store i8 45, i8* %5
%22 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 1
store i8 0, i8* %22
store i8 45, i8* %6
%23 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 1
store i8 0, i8* %23
br label %48
24: ; preds = %16
%25 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%26 = icmp slt i64 %25, 0
br i1 %26, label %33, label %27
27: ; preds = %24
%28 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %27
%31 = call i64 @strcmp(i8* %6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%32 = icmp slt i64 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %30, %24
%34 = load i32, i32* @stdout
%35 = call i32 (i32, i8*, ...) @fprintf(i32 %34, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* %5, i8* %6)
br label %48
36: ; preds = %30, %27
%37 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %45
39: ; preds = %36
%40 = call i64 @strcmp(i8* %6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = load i32, i32* @stdout
%44 = call i32 (i32, i8*, ...) @fprintf(i32 %43, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
br label %48
45: ; preds = %39, %36
%46 = load i32, i32* @stdout
%47 = call i32 (i32, i8*, ...) @fprintf(i32 %46, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0), i8* %5, i8* %6, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0))
br label %48
48: ; preds = %33, %45, %42, %19
%49 = call i32 @fclose(i32* %9)
%50 = call i32 @system(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0))
br label %51
51: ; preds = %48, %11
%52 = phi i32* [ @EXIT_FAILURE, %11 ], [ @EXIT_SUCCESS, %48 ]
%53 = load i32, i32* %52
ret i32 %53
}