#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 utsname {
  char *sysname;
  char *version;
  char *release;
  char *nodename;
  char *machine;
};

/* Variables and functions */
int EXIT_FAILURE;
int EXIT_SUCCESS;
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ strcmp(char *, char *);
int /*<<< orphan*/ uname(struct utsname *);
int main(int cnt, char *arg[]) {
  struct utsname uinfo;
  int Ret = EXIT_SUCCESS;
  if (cnt > 1 && (!strcmp(arg[1], "-h") || !strcmp(arg[1], "--help"))) {
    printf("  -a\tPrint all information.\n"
           "  -m\tPrint the machine type.\n"
           "  -n\tPrint the node (host) name.\n"
           "  -r\tPrint the OS release.\n"
           "  -s\tPrint the OS name.\n"
           "  -v\tPrint the OS version.\n\n"
           "  -h or --help displays this message.\n\n");
  } else {
    if (!uname(&uinfo)) {
      if (cnt < 2 || !strcmp(arg[1], "-s")) {
        printf("%s\n", uinfo.sysname);
      } else if (!strcmp(arg[1], "-a")) {
        printf("%s %s %s %s %s\n", uinfo.sysname, uinfo.version, uinfo.release,
               uinfo.nodename, uinfo.machine);
      } else if (!strcmp(arg[1], "-m")) {
        printf("%s\n", uinfo.machine);
      } else if (!strcmp(arg[1], "-n")) {
        printf("%s\n", uinfo.nodename);
      } else if (!strcmp(arg[1], "-r")) {
        printf("%s\n", uinfo.release);
      } else if (!strcmp(arg[1], "-v")) {
        printf("%s\n", uinfo.version);
      } else {
        printf("Unknown option \"%s\"!\nTry -h or --help.\n", arg[1]);
        Ret = EXIT_FAILURE;
      }
    } else {
      printf("Unknown error!\n");
    }
  }
  return (Ret);
}


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)
mov    0x2e8b(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x3c(%rbp)
cmpl   $0x1,-0x8(%rbp)
jle    11a9 <main+0x79>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe95(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
je     1196 <main+0x66>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe7b(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    11a9 <main+0x79>
lea    0xe6d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1360 <main+0x230>
lea    -0x38(%rbp),%rdi
call   1040 <uname@plt>
cmp    $0x0,%eax
jne    134d <main+0x21d>
cmpl   $0x2,-0x8(%rbp)
jl     11e2 <main+0xb2>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xf07(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    11f9 <main+0xc9>
mov    -0x38(%rbp),%rsi
lea    0xf00(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1348 <main+0x218>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xed6(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    123d <main+0x10d>
mov    -0x38(%rbp),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x28(%rbp),%rcx
mov    -0x20(%rbp),%r8
mov    -0x18(%rbp),%r9
lea    0xeb0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1343 <main+0x213>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xea5(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1271 <main+0x141>
mov    -0x18(%rbp),%rsi
lea    0xe88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    133e <main+0x20e>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe74(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    12a5 <main+0x175>
mov    -0x20(%rbp),%rsi
lea    0xe54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1339 <main+0x209>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe43(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    12d9 <main+0x1a9>
mov    -0x28(%rbp),%rsi
lea    0xe20(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1334 <main+0x204>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe12(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    130d <main+0x1dd>
mov    -0x30(%rbp),%rsi
lea    0xdec(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    132f <main+0x1ff>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xde1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2cb6(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x3c(%rbp)
jmp    1334 <main+0x204>
jmp    1339 <main+0x209>
jmp    133e <main+0x20e>
jmp    1343 <main+0x213>
jmp    1348 <main+0x218>
jmp    135b <main+0x22b>
lea    0xdd1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1360 <main+0x230>
mov    -0x3c(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x28,%rsp
mov    %rsi,%r14
mov    %edi,%ebp
mov    0x2e82(%rip),%rax
mov    (%rax),%r15d
cmp    $0x2,%edi
jl     1188 <main+0x48>
mov    0x8(%r14),%rbx
lea    0xe97(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     11a0 <main+0x60>
lea    0xe87(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     11a0 <main+0x60>
mov    %rsp,%rdi
call   1050 <uname@plt>
test   %eax,%eax
je     11ac <main+0x6c>
lea    0xeb9(%rip),%rdi
jmp    125c <main+0x11c>
lea    0xebc(%rip),%rdi
jmp    125c <main+0x11c>
cmp    $0x2,%ebp
jl     1258 <main+0x118>
mov    0x8(%r14),%r14
lea    0xe4a(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     1258 <main+0x118>
lea    0xe36(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     126f <main+0x12f>
lea    0xe32(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     1297 <main+0x157>
lea    0xe1e(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     129e <main+0x15e>
lea    0xe0a(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     12a5 <main+0x165>
lea    0xdfa(%rip),%rsi
mov    %r14,%rdi
call   1060 <strcmp@plt>
test   %eax,%eax
je     12ac <main+0x16c>
lea    0xdea(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2d8d(%rip),%rax
mov    (%rax),%r15d
jmp    1261 <main+0x121>
mov    (%rsp),%rdi
call   1030 <puts@plt>
mov    %r15d,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
mov    (%rsp),%rsi
mov    0x8(%rsp),%rdx
mov    0x10(%rsp),%rcx
mov    0x18(%rsp),%r8
mov    0x20(%rsp),%r9
lea    0xd82(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1261 <main+0x121>
mov    0x20(%rsp),%rdi
jmp    125c <main+0x11c>
mov    0x18(%rsp),%rdi
jmp    125c <main+0x11c>
mov    0x10(%rsp),%rdi
jmp    125c <main+0x11c>
mov    0x8(%rsp),%rdi
jmp    125c <main+0x11c>

LLVM IR (-O0):
%struct.utsname = type { i8*, i8*, i8*, i8*, i8* }
@EXIT_SUCCESS = global i32 0
@.str = [3 x i8] c"-h\00"
@.str.1 = [7 x i8] c"--help\00"
@.str.2 = [209 x i8] c" -a\09Print all information.\0A -m\09Print the machine type.\0A -n\09Print the node (host) name.\0A -r\09Print the OS release.\0A -s\09Print the OS name.\0A -v\09Print the OS version.\0A\0A -h or --help displays this message.\0A\0A\00"
@.str.3 = [3 x i8] c"-s\00"
@.str.4 = [4 x i8] c"%s\0A\00"
@.str.5 = [3 x i8] c"-a\00"
@.str.6 = [16 x i8] c"%s %s %s %s %s\0A\00"
@.str.7 = [3 x i8] c"-m\00"
@.str.8 = [3 x i8] c"-n\00"
@.str.9 = [3 x i8] c"-r\00"
@.str.10 = [3 x i8] c"-v\00"
@.str.11 = [40 x i8] c"Unknown option \22%s\22!\0ATry -h or --help.\0A\00"
@EXIT_FAILURE = global i32 0
@.str.12 = [16 x i8] c"Unknown error!\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca %struct.utsname
%7 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%8 = load i32, i32* @EXIT_SUCCESS
store i32 %8, i32* %7
%9 = load i32, i32* %4
%10 = icmp sgt i32 %9, 1
br i1 %10, label %11, label %25
11: ; preds = %2
%12 = load i8**, i8*** %5
%13 = getelementptr inbounds i8*, i8** %12, i64 1
%14 = load i8*, i8** %13
%15 = call i32 @strcmp(i8* %14, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %11
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 1
%20 = load i8*, i8** %19
%21 = call i32 @strcmp(i8* %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%22 = icmp ne i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %17, %11
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([209 x i8], [209 x i8]* @.str.2, i64 0, i64 0))
br label %114
25: ; preds = %17, %2
%26 = call i32 @uname(%struct.utsname* %6)
%27 = icmp ne i32 %26, 0
br i1 %27, label %111, label %28
28: ; preds = %25
%29 = load i32, i32* %4
%30 = icmp slt i32 %29, 2
br i1 %30, label %37, label %31
31: ; preds = %28
%32 = load i8**, i8*** %5
%33 = getelementptr inbounds i8*, i8** %32, i64 1
%34 = load i8*, i8** %33
%35 = call i32 @strcmp(i8* %34, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%36 = icmp ne i32 %35, 0
br i1 %36, label %41, label %37
37: ; preds = %31, %28
%38 = getelementptr inbounds %struct.utsname, %struct.utsname* %6, i32 0, i32 0
%39 = load i8*, i8** %38
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %39)
br label %110
41: ; preds = %31
%42 = load i8**, i8*** %5
%43 = getelementptr inbounds i8*, i8** %42, i64 1
%44 = load i8*, i8** %43
%45 = call i32 @strcmp(i8* %44, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%46 = icmp ne i32 %45, 0
br i1 %46, label %59, label %47
47: ; preds = %41
%48 = getelementptr inbounds %struct.utsname, %struct.utsname* %6, i32 0, i32 0
%49 = load i8*, i8** %48
%50 = getelementptr inbounds %struct.utsname, %struct.utsname* %6, i32 0, i32 1
%51 = load i8*, i8** %50
%52 = getelementptr inbounds %struct.utsname, %struct.utsname* %6, i32 0, i32 2
%53 = load i8*, i8** %52
%54 = getelementptr inbounds %struct.utsname, %struct.utsname* %6, i32 0, i32 3
%55 = load i8*, i8** %54
%56 = getelementptr inbounds %struct.utsname, %struct.utsname* %6, i32 0, i32 4
%57 = load i8*, i8** %56
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i8* %49, i8* %51, i8* %53, i8* %55, i8* %57)
br label %109
59: ; preds = %41
%60 = load i8**, i8*** %5
%61 = getelementptr inbounds i8*, i8** %60, i64 1
%62 = load i8*, i8** %61
%63 = call i32 @strcmp(i8* %62, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%64 = icmp ne i32 %63, 0
br i1 %64, label %69, label %65
65: ; preds = %59
%66 = getelementptr inbounds %struct.utsname, %struct.utsname* %6, i32 0, i32 4
%67 = load i8*, i8** %66
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %67)
br label %108
69: ; preds = %59
%70 = load i8**, i8*** %5
%71 = getelementptr inbounds i8*, i8** %70, i64 1
%72 = load i8*, i8** %71
%73 = call i32 @strcmp(i8* %72, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%74 = icmp ne i32 %73, 0
br i1 %74, label %79, label %75
75: ; preds = %69
%76 = getelementptr inbounds %struct.utsname, %struct.utsname* %6, i32 0, i32 3
%77 = load i8*, i8** %76
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %77)
br label %107
79: ; preds = %69
%80 = load i8**, i8*** %5
%81 = getelementptr inbounds i8*, i8** %80, i64 1
%82 = load i8*, i8** %81
%83 = call i32 @strcmp(i8* %82, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%84 = icmp ne i32 %83, 0
br i1 %84, label %89, label %85
85: ; preds = %79
%86 = getelementptr inbounds %struct.utsname, %struct.utsname* %6, i32 0, i32 2
%87 = load i8*, i8** %86
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %87)
br label %106
89: ; preds = %79
%90 = load i8**, i8*** %5
%91 = getelementptr inbounds i8*, i8** %90, i64 1
%92 = load i8*, i8** %91
%93 = call i32 @strcmp(i8* %92, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%94 = icmp ne i32 %93, 0
br i1 %94, label %99, label %95
95: ; preds = %89
%96 = getelementptr inbounds %struct.utsname, %struct.utsname* %6, i32 0, i32 1
%97 = load i8*, i8** %96
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8* %97)
br label %105
99: ; preds = %89
%100 = load i8**, i8*** %5
%101 = getelementptr inbounds i8*, i8** %100, i64 1
%102 = load i8*, i8** %101
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0), i8* %102)
%104 = load i32, i32* @EXIT_FAILURE
store i32 %104, i32* %7
br label %105
105: ; preds = %99, %95
br label %106
106: ; preds = %105, %85
br label %107
107: ; preds = %106, %75
br label %108
108: ; preds = %107, %65
br label %109
109: ; preds = %108, %47
br label %110
110: ; preds = %109, %37
br label %113
111: ; preds = %25
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.12, i64 0, i64 0))
br label %113
113: ; preds = %111, %110
br label %114
114: ; preds = %113, %23
%115 = load i32, i32* %7
ret i32 %115
}

LLVM IR (-O2):
%struct.utsname = type { i8*, i8*, i8*, i8*, i8* }
@EXIT_SUCCESS = global i32 0
@.str = [3 x i8] c"-h\00"
@.str.1 = [7 x i8] c"--help\00"
@.str.3 = [3 x i8] c"-s\00"
@.str.5 = [3 x i8] c"-a\00"
@.str.6 = [16 x i8] c"%s %s %s %s %s\0A\00"
@.str.7 = [3 x i8] c"-m\00"
@.str.8 = [3 x i8] c"-n\00"
@.str.9 = [3 x i8] c"-r\00"
@.str.10 = [3 x i8] c"-v\00"
@.str.11 = [40 x i8] c"Unknown option \22%s\22!\0ATry -h or --help.\0A\00"
@EXIT_FAILURE = global i32 0
@str = [15 x i8] c"Unknown error!\00"
@str.13 = [208 x i8] c" -a\09Print all information.\0A -m\09Print the machine type.\0A -n\09Print the node (host) name.\0A -r\09Print the OS release.\0A -s\09Print the OS name.\0A -v\09Print the OS version.\0A\0A -h or --help displays this message.\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.utsname
%4 = bitcast %struct.utsname* %3 to i8*
%5 = load i32, i32* @EXIT_SUCCESS
%6 = icmp sgt i32 %0, 1
br i1 %6, label %7, label %17
7: ; preds = %2
%8 = getelementptr inbounds i8*, i8** %1, i64 1
%9 = load i8*, i8** %8
%10 = tail call i32 @strcmp(i8* dereferenceable(1) %9, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%11 = icmp eq i32 %10, 0
br i1 %11, label %15, label %12
12: ; preds = %7
%13 = tail call i32 @strcmp(i8* dereferenceable(1) %9, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %12, %7
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([208 x i8], [208 x i8]* @str.13, i64 0, i64 0))
br label %79
17: ; preds = %12, %2
%18 = call i32 @uname(%struct.utsname* %3)
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %77
20: ; preds = %17
%21 = icmp slt i32 %0, 2
br i1 %21, label %27, label %22
22: ; preds = %20
%23 = getelementptr inbounds i8*, i8** %1, i64 1
%24 = load i8*, i8** %23
%25 = tail call i32 @strcmp(i8* dereferenceable(1) %24, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %22, %20
%28 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 0
%29 = load i8*, i8** %28
%30 = tail call i32 @puts(i8* dereferenceable(1) %29)
br label %79
31: ; preds = %22
%32 = tail call i32 @strcmp(i8* dereferenceable(1) %24, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %46
34: ; preds = %31
%35 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 0
%36 = load i8*, i8** %35
%37 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 1
%38 = load i8*, i8** %37
%39 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 2
%40 = load i8*, i8** %39
%41 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 3
%42 = load i8*, i8** %41
%43 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 4
%44 = load i8*, i8** %43
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i8* %36, i8* %38, i8* %40, i8* %42, i8* %44)
br label %79
46: ; preds = %31
%47 = tail call i32 @strcmp(i8* dereferenceable(1) %24, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %46
%50 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 4
%51 = load i8*, i8** %50
%52 = tail call i32 @puts(i8* dereferenceable(1) %51)
br label %79
53: ; preds = %46
%54 = tail call i32 @strcmp(i8* dereferenceable(1) %24, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %60
56: ; preds = %53
%57 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 3
%58 = load i8*, i8** %57
%59 = tail call i32 @puts(i8* dereferenceable(1) %58)
br label %79
60: ; preds = %53
%61 = tail call i32 @strcmp(i8* dereferenceable(1) %24, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %67
63: ; preds = %60
%64 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 2
%65 = load i8*, i8** %64
%66 = tail call i32 @puts(i8* dereferenceable(1) %65)
br label %79
67: ; preds = %60
%68 = tail call i32 @strcmp(i8* dereferenceable(1) %24, i8* dereferenceable(3) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %74
70: ; preds = %67
%71 = getelementptr inbounds %struct.utsname, %struct.utsname* %3, i64 0, i32 1
%72 = load i8*, i8** %71
%73 = tail call i32 @puts(i8* dereferenceable(1) %72)
br label %79
74: ; preds = %67
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.11, i64 0, i64 0), i8* %24)
%76 = load i32, i32* @EXIT_FAILURE
br label %79
77: ; preds = %17
%78 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str, i64 0, i64 0))
br label %79
79: ; preds = %77, %34, %56, %70, %74, %63, %49, %27, %15
%80 = phi i32 [ %5, %77 ], [ %5, %27 ], [ %76, %74 ], [ %5, %70 ], [ %5, %63 ], [ %5, %56 ], [ %5, %49 ], [ %5, %34 ], [ %5, %15 ]
ret i32 %80
}