#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 */
char *alloc_string(char const *);
scalar_t__ strstr(char const *, char *);
char *get_real_mac_osx(const char *osx) {
  if (strstr(osx, "11.0"))
    return alloc_string("macOS 11.0 Big Sur");
  else if (strstr(osx, "10.15"))
    return alloc_string("macOS 10.15 Catalina");
  else if (strstr(osx, "10.14"))
    return alloc_string("macOS 10.14 Mojave");
  else if (strstr(osx, "10.13"))
    return alloc_string("macOS 10.13 High Sierra");
  else if (strstr(osx, "10.12"))
    return alloc_string("macOS 10.12 Sierra");
  else if (strstr(osx, "10.11"))
    return alloc_string("OS X 10.11 El Capitan");
  else if (strstr(osx, "10.10"))
    return alloc_string("OS X 10.10 Yosemite");
  else if (strstr(osx, "10.9"))
    return alloc_string("OS X 10.9 Mavericks");
  else if (strstr(osx, "10.8"))
    return alloc_string("OS X 10.8 Mountain Lion");
  else if (strstr(osx, "10.7"))
    return alloc_string("OS X 10.7 Lion");
  else if (strstr(osx, "10.6"))
    return alloc_string("OS X 10.6 Snow Leopard");
  else if (strstr(osx, "10.5"))
    return alloc_string("OS X 10.5 Leopard");
  else if (strstr(osx, "10.4"))
    return alloc_string("OS X 10.4 Tiger");
  else if (strstr(osx, "10.3"))
    return alloc_string("OS X 10.3 Panther");
  else if (strstr(osx, "10.2"))
    return alloc_string("OS X 10.2 Jaguar");
  else if (strstr(osx, "10.1"))
    return alloc_string("OS X 10.1 Puma");
  else if (strstr(osx, "10.0"))
    return alloc_string("OS X 10.0 Cheetah");
  return alloc_string(osx);
}


x86 assembly (clang, -O0):
<get_real_mac_osx>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xec9(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     115b <get_real_mac_osx+0x3b>
lea    0xeb8(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xeb2(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     118a <get_real_mac_osx+0x6a>
lea    0xea2(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xe9e(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     11b9 <get_real_mac_osx+0x99>
lea    0xe8e(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xe88(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     11e8 <get_real_mac_osx+0xc8>
lea    0xe78(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xe77(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     1217 <get_real_mac_osx+0xf7>
lea    0xe67(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xe61(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     1246 <get_real_mac_osx+0x126>
lea    0xe51(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xe4e(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     1275 <get_real_mac_osx+0x155>
lea    0xe3e(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xe39(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     12a4 <get_real_mac_osx+0x184>
lea    0xe28(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xe23(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     12d3 <get_real_mac_osx+0x1b3>
lea    0xe12(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xe11(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     1302 <get_real_mac_osx+0x1e2>
lea    0xe00(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xdf6(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     1331 <get_real_mac_osx+0x211>
lea    0xde5(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xde3(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     1360 <get_real_mac_osx+0x240>
lea    0xdd2(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xdcb(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     138f <get_real_mac_osx+0x26f>
lea    0xdba(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xdb1(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     13be <get_real_mac_osx+0x29e>
lea    0xda0(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xd99(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     13ed <get_real_mac_osx+0x2cd>
lea    0xd88(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xd80(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     141c <get_real_mac_osx+0x2fc>
lea    0xd6f(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
mov    -0x10(%rbp),%rdi
lea    0xd65(%rip),%rsi
call   1040 <strstr@plt>
cmp    $0x0,%rax
je     144b <get_real_mac_osx+0x32b>
lea    0xd54(%rip),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
jmp    14a8 <get_real_mac_osx+0x388>
jmp    1450 <get_real_mac_osx+0x330>
jmp    1455 <get_real_mac_osx+0x335>
jmp    145a <get_real_mac_osx+0x33a>
jmp    145f <get_real_mac_osx+0x33f>
jmp    1464 <get_real_mac_osx+0x344>
jmp    1469 <get_real_mac_osx+0x349>
jmp    146e <get_real_mac_osx+0x34e>
jmp    1473 <get_real_mac_osx+0x353>
jmp    1478 <get_real_mac_osx+0x358>
jmp    147d <get_real_mac_osx+0x35d>
jmp    1482 <get_real_mac_osx+0x362>
jmp    1487 <get_real_mac_osx+0x367>
jmp    148c <get_real_mac_osx+0x36c>
jmp    1491 <get_real_mac_osx+0x371>
jmp    1496 <get_real_mac_osx+0x376>
jmp    149b <get_real_mac_osx+0x37b>
mov    -0x10(%rbp),%rdi
call   1030 <alloc_string@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_real_mac_osx>:
push   %rbx
mov    %rdi,%rbx
lea    0xed5(%rip),%rsi
call   1040 <strstr@plt>
test   %rax,%rax
je     1142 <get_real_mac_osx+0x22>
lea    0xec9(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xecf(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     1163 <get_real_mac_osx+0x43>
lea    0xec1(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xec9(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     1184 <get_real_mac_osx+0x64>
lea    0xebb(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xec1(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     11a5 <get_real_mac_osx+0x85>
lea    0xeb3(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xebe(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     11c6 <get_real_mac_osx+0xa6>
lea    0xeb0(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xeb6(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     11e7 <get_real_mac_osx+0xc7>
lea    0xea8(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xeb1(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     1208 <get_real_mac_osx+0xe8>
lea    0xea3(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xeaa(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     1229 <get_real_mac_osx+0x109>
lea    0xe9b(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xea2(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     124a <get_real_mac_osx+0x12a>
lea    0xe93(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xe9e(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     126b <get_real_mac_osx+0x14b>
lea    0xe8f(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xe91(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     128c <get_real_mac_osx+0x16c>
lea    0xe82(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xe8c(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     12ad <get_real_mac_osx+0x18d>
lea    0xe7d(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xe82(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     12ce <get_real_mac_osx+0x1ae>
lea    0xe73(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xe76(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     12ef <get_real_mac_osx+0x1cf>
lea    0xe67(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xe6c(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     1310 <get_real_mac_osx+0x1f0>
lea    0xe5d(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xe61(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
je     1331 <get_real_mac_osx+0x211>
lea    0xe52(%rip),%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>
lea    0xe54(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strstr@plt>
test   %rax,%rax
lea    0xe47(%rip),%rdi
cmove  %rbx,%rdi
pop    %rbx
jmp    1030 <alloc_string@plt>

LLVM IR (-O0):
@.str = [5 x i8] c"11.0\00"
@.str.1 = [19 x i8] c"macOS 11.0 Big Sur\00"
@.str.2 = [6 x i8] c"10.15\00"
@.str.3 = [21 x i8] c"macOS 10.15 Catalina\00"
@.str.4 = [6 x i8] c"10.14\00"
@.str.5 = [19 x i8] c"macOS 10.14 Mojave\00"
@.str.6 = [6 x i8] c"10.13\00"
@.str.7 = [24 x i8] c"macOS 10.13 High Sierra\00"
@.str.8 = [6 x i8] c"10.12\00"
@.str.9 = [19 x i8] c"macOS 10.12 Sierra\00"
@.str.10 = [6 x i8] c"10.11\00"
@.str.11 = [22 x i8] c"OS X 10.11 El Capitan\00"
@.str.12 = [6 x i8] c"10.10\00"
@.str.13 = [20 x i8] c"OS X 10.10 Yosemite\00"
@.str.14 = [5 x i8] c"10.9\00"
@.str.15 = [20 x i8] c"OS X 10.9 Mavericks\00"
@.str.16 = [5 x i8] c"10.8\00"
@.str.17 = [24 x i8] c"OS X 10.8 Mountain Lion\00"
@.str.18 = [5 x i8] c"10.7\00"
@.str.19 = [15 x i8] c"OS X 10.7 Lion\00"
@.str.20 = [5 x i8] c"10.6\00"
@.str.21 = [23 x i8] c"OS X 10.6 Snow Leopard\00"
@.str.22 = [5 x i8] c"10.5\00"
@.str.23 = [18 x i8] c"OS X 10.5 Leopard\00"
@.str.24 = [5 x i8] c"10.4\00"
@.str.25 = [16 x i8] c"OS X 10.4 Tiger\00"
@.str.26 = [5 x i8] c"10.3\00"
@.str.27 = [18 x i8] c"OS X 10.3 Panther\00"
@.str.28 = [5 x i8] c"10.2\00"
@.str.29 = [17 x i8] c"OS X 10.2 Jaguar\00"
@.str.30 = [5 x i8] c"10.1\00"
@.str.31 = [15 x i8] c"OS X 10.1 Puma\00"
@.str.32 = [5 x i8] c"10.0\00"
@.str.33 = [18 x i8] c"OS X 10.0 Cheetah\00"
define i8* @get_real_mac_osx(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = call i64 @strstr(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i8* @alloc_string(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0))
store i8* %8, i8** %2
br label %124
9: ; preds = %1
%10 = load i8*, i8** %3
%11 = call i64 @strstr(i8* %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i8* @alloc_string(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
store i8* %14, i8** %2
br label %124
15: ; preds = %9
%16 = load i8*, i8** %3
%17 = call i64 @strstr(i8* %16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i8* @alloc_string(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0))
store i8* %20, i8** %2
br label %124
21: ; preds = %15
%22 = load i8*, i8** %3
%23 = call i64 @strstr(i8* %22, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = call i8* @alloc_string(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0))
store i8* %26, i8** %2
br label %124
27: ; preds = %21
%28 = load i8*, i8** %3
%29 = call i64 @strstr(i8* %28, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i8* @alloc_string(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0))
store i8* %32, i8** %2
br label %124
33: ; preds = %27
%34 = load i8*, i8** %3
%35 = call i64 @strstr(i8* %34, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = call i8* @alloc_string(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0))
store i8* %38, i8** %2
br label %124
39: ; preds = %33
%40 = load i8*, i8** %3
%41 = call i64 @strstr(i8* %40, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = call i8* @alloc_string(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.13, i64 0, i64 0))
store i8* %44, i8** %2
br label %124
45: ; preds = %39
%46 = load i8*, i8** %3
%47 = call i64 @strstr(i8* %46, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %45
%50 = call i8* @alloc_string(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0))
store i8* %50, i8** %2
br label %124
51: ; preds = %45
%52 = load i8*, i8** %3
%53 = call i64 @strstr(i8* %52, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %51
%56 = call i8* @alloc_string(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0))
store i8* %56, i8** %2
br label %124
57: ; preds = %51
%58 = load i8*, i8** %3
%59 = call i64 @strstr(i8* %58, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%60 = icmp ne i64 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %57
%62 = call i8* @alloc_string(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.19, i64 0, i64 0))
store i8* %62, i8** %2
br label %124
63: ; preds = %57
%64 = load i8*, i8** %3
%65 = call i64 @strstr(i8* %64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = call i8* @alloc_string(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0))
store i8* %68, i8** %2
br label %124
69: ; preds = %63
%70 = load i8*, i8** %3
%71 = call i64 @strstr(i8* %70, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0))
%72 = icmp ne i64 %71, 0
br i1 %72, label %73, label %75
73: ; preds = %69
%74 = call i8* @alloc_string(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.23, i64 0, i64 0))
store i8* %74, i8** %2
br label %124
75: ; preds = %69
%76 = load i8*, i8** %3
%77 = call i64 @strstr(i8* %76, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0))
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %81
79: ; preds = %75
%80 = call i8* @alloc_string(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.25, i64 0, i64 0))
store i8* %80, i8** %2
br label %124
81: ; preds = %75
%82 = load i8*, i8** %3
%83 = call i64 @strstr(i8* %82, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0))
%84 = icmp ne i64 %83, 0
br i1 %84, label %85, label %87
85: ; preds = %81
%86 = call i8* @alloc_string(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.27, i64 0, i64 0))
store i8* %86, i8** %2
br label %124
87: ; preds = %81
%88 = load i8*, i8** %3
%89 = call i64 @strstr(i8* %88, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.28, i64 0, i64 0))
%90 = icmp ne i64 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %87
%92 = call i8* @alloc_string(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.29, i64 0, i64 0))
store i8* %92, i8** %2
br label %124
93: ; preds = %87
%94 = load i8*, i8** %3
%95 = call i64 @strstr(i8* %94, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.30, i64 0, i64 0))
%96 = icmp ne i64 %95, 0
br i1 %96, label %97, label %99
97: ; preds = %93
%98 = call i8* @alloc_string(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.31, i64 0, i64 0))
store i8* %98, i8** %2
br label %124
99: ; preds = %93
%100 = load i8*, i8** %3
%101 = call i64 @strstr(i8* %100, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.32, i64 0, i64 0))
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %105
103: ; preds = %99
%104 = call i8* @alloc_string(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.33, i64 0, i64 0))
store i8* %104, i8** %2
br label %124
105: ; preds = %99
br label %106
106: ; preds = %105
br label %107
107: ; preds = %106
br label %108
108: ; preds = %107
br label %109
109: ; preds = %108
br label %110
110: ; preds = %109
br label %111
111: ; preds = %110
br label %112
112: ; preds = %111
br label %113
113: ; preds = %112
br label %114
114: ; preds = %113
br label %115
115: ; preds = %114
br label %116
116: ; preds = %115
br label %117
117: ; preds = %116
br label %118
118: ; preds = %117
br label %119
119: ; preds = %118
br label %120
120: ; preds = %119
br label %121
121: ; preds = %120
%122 = load i8*, i8** %3
%123 = call i8* @alloc_string(i8* %122)
store i8* %123, i8** %2
br label %124
124: ; preds = %121, %103, %97, %91, %85, %79, %73, %67, %61, %55, %49, %43, %37, %31, %25, %19, %13, %7
%125 = load i8*, i8** %2
ret i8* %125
}

LLVM IR (-O2):
@.str = [5 x i8] c"11.0\00"
@.str.1 = [19 x i8] c"macOS 11.0 Big Sur\00"
@.str.2 = [6 x i8] c"10.15\00"
@.str.3 = [21 x i8] c"macOS 10.15 Catalina\00"
@.str.4 = [6 x i8] c"10.14\00"
@.str.5 = [19 x i8] c"macOS 10.14 Mojave\00"
@.str.6 = [6 x i8] c"10.13\00"
@.str.7 = [24 x i8] c"macOS 10.13 High Sierra\00"
@.str.8 = [6 x i8] c"10.12\00"
@.str.9 = [19 x i8] c"macOS 10.12 Sierra\00"
@.str.10 = [6 x i8] c"10.11\00"
@.str.11 = [22 x i8] c"OS X 10.11 El Capitan\00"
@.str.12 = [6 x i8] c"10.10\00"
@.str.13 = [20 x i8] c"OS X 10.10 Yosemite\00"
@.str.14 = [5 x i8] c"10.9\00"
@.str.15 = [20 x i8] c"OS X 10.9 Mavericks\00"
@.str.16 = [5 x i8] c"10.8\00"
@.str.17 = [24 x i8] c"OS X 10.8 Mountain Lion\00"
@.str.18 = [5 x i8] c"10.7\00"
@.str.19 = [15 x i8] c"OS X 10.7 Lion\00"
@.str.20 = [5 x i8] c"10.6\00"
@.str.21 = [23 x i8] c"OS X 10.6 Snow Leopard\00"
@.str.22 = [5 x i8] c"10.5\00"
@.str.23 = [18 x i8] c"OS X 10.5 Leopard\00"
@.str.24 = [5 x i8] c"10.4\00"
@.str.25 = [16 x i8] c"OS X 10.4 Tiger\00"
@.str.26 = [5 x i8] c"10.3\00"
@.str.27 = [18 x i8] c"OS X 10.3 Panther\00"
@.str.28 = [5 x i8] c"10.2\00"
@.str.29 = [17 x i8] c"OS X 10.2 Jaguar\00"
@.str.30 = [5 x i8] c"10.1\00"
@.str.31 = [15 x i8] c"OS X 10.1 Puma\00"
@.str.32 = [5 x i8] c"10.0\00"
@.str.33 = [18 x i8] c"OS X 10.0 Cheetah\00"
define i8* @get_real_mac_osx(i8* %0) {
%2 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %53
4: ; preds = %1
%5 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %53
7: ; preds = %4
%8 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %53
10: ; preds = %7
%11 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %53
13: ; preds = %10
%14 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %53
16: ; preds = %13
%17 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %53
19: ; preds = %16
%20 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %53
22: ; preds = %19
%23 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %53
25: ; preds = %22
%26 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %53
28: ; preds = %25
%29 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %53
31: ; preds = %28
%32 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %53
34: ; preds = %31
%35 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %53
37: ; preds = %34
%38 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %53
40: ; preds = %37
%41 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %53
43: ; preds = %40
%44 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.28, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %53
46: ; preds = %43
%47 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.30, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %46
%50 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.32, i64 0, i64 0))
%51 = icmp eq i64 %50, 0
%52 = select i1 %51, i8* %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.33, i64 0, i64 0)
br label %53
53: ; preds = %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7, %4, %1
%54 = phi i8* [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), %1 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0), %4 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), %7 ], [ getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), %10 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), %13 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0), %16 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.13, i64 0, i64 0), %19 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0), %22 ], [ getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0), %25 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.19, i64 0, i64 0), %28 ], [ getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0), %31 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.23, i64 0, i64 0), %34 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.25, i64 0, i64 0), %37 ], [ getelementptr inbounds ([18 x i8], [18 x i8]* @.str.27, i64 0, i64 0), %40 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.29, i64 0, i64 0), %43 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.31, i64 0, i64 0), %46 ], [ %52, %49 ]
%55 = tail call i8* @alloc_string(i8* %54)
ret i8* %55
}