#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 scalar_t__ uint16_t;
typedef int /*<<< orphan*/ possible_locations;

/* Variables and functions */
scalar_t__ EM_386;
scalar_t__ EM_X86_64;
int /*<<< orphan*/ RTLD_LAZY;
char *dlerror();
void *dlopen(char *, int /*<<< orphan*/);
int find_xlib_by_arch(char const **, int, scalar_t__);
int find_xlib_by_env(char *, scalar_t__);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char const *);
scalar_t__ is_32bit_system();
scalar_t__ is_emulated_32bit();
int /*<<< orphan*/ snprintf(char *, int, char *, char const *);
int /*<<< orphan*/ stderr;
void *get_xlib_handle() {
  void *ret_handle = NULL;
  char library[(1024) + 1];
  const char *possible_locations[] = {
      "/usr/lib/libX11.so.6", "/usr/lib/x86_64-linux-gnu/libX11.so.6",
      "/usr/lib/i386-linux-gnu/libX11.so.6", "/usr/lib64/libX11.so.6",
      "/usr/lib32/libX11.so.6"};
  int locations_len = sizeof(possible_locations) / sizeof(char *);
  uint16_t required_lib_arch;
  if (is_32bit_system() || is_emulated_32bit()) {
    required_lib_arch = EM_386;
  } else {
    required_lib_arch = EM_X86_64;
  }
  int suitable_xlib_index =
      find_xlib_by_arch(possible_locations, locations_len, required_lib_arch);
  int found_library = 0;
  if (suitable_xlib_index >= 0) {
    snprintf(library, (1024), "%s", possible_locations[suitable_xlib_index]);
    found_library = 1;
  } else {
    found_library = find_xlib_by_env(library, required_lib_arch);
  }
  if (found_library == 0) {
    const char *desired_arch =
        (required_lib_arch == EM_386 ? "32-bit" : "64-bit");
    fprintf(stderr,
            "None of the following is a %s version of Xlib:", desired_arch);
    int i;
    for (i = 0; i < locations_len; i++) {
      fprintf(stderr, " %s\n", possible_locations[i]);
    }
    return NULL;
  }
  ret_handle = dlopen(library, RTLD_LAZY);
  if (ret_handle == NULL) {
    fprintf(stderr, "Failed to dlopen %s\n", library);
    fprintf(stderr, "dlerror says: %s\n", dlerror());
  }
  return ret_handle;
}


x86 assembly (clang, -O0):
<get_xlib_handle>:
push   %rbp
mov    %rsp,%rbp
sub    $0x480,%rsp
movq   $0x0,-0x10(%rbp)
lea    -0x450(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1050 <memset@plt>
lea    0xe43(%rip),%rax
mov    %rax,-0x450(%rbp)
lea    0xe4a(%rip),%rax
mov    %rax,-0x448(%rbp)
lea    0xe62(%rip),%rax
mov    %rax,-0x440(%rbp)
lea    0xe78(%rip),%rax
mov    %rax,-0x438(%rbp)
lea    0xe81(%rip),%rax
mov    %rax,-0x430(%rbp)
movl   $0x5,-0x454(%rbp)
mov    $0x0,%al
call   1080 <is_32bit_system@plt>
cmp    $0x0,%rax
jne    1228 <get_xlib_handle+0x98>
mov    $0x0,%al
call   1090 <is_emulated_32bit@plt>
cmp    $0x0,%rax
je     123e <get_xlib_handle+0xae>
mov    0x2d91(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x460(%rbp)
jmp    124f <get_xlib_handle+0xbf>
mov    0x2d93(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x460(%rbp)
lea    -0x450(%rbp),%rdi
mov    -0x454(%rbp),%esi
mov    -0x460(%rbp),%rdx
call   10b0 <find_xlib_by_arch@plt>
mov    %eax,-0x464(%rbp)
movl   $0x0,-0x468(%rbp)
cmpl   $0x0,-0x464(%rbp)
jl     12bb <get_xlib_handle+0x12b>
lea    -0x420(%rbp),%rdi
movslq -0x464(%rbp),%rax
mov    -0x450(%rbp,%rax,8),%rcx
ff
mov    $0x400,%esi
lea    0xde6(%rip),%rdx
call   1040 <snprintf@plt>
movl   $0x1,-0x468(%rbp)
jmp    12d4 <get_xlib_handle+0x144>
lea    -0x420(%rbp),%rdi
mov    -0x460(%rbp),%rsi
call   10a0 <find_xlib_by_env@plt>
mov    %eax,-0x468(%rbp)
cmpl   $0x0,-0x468(%rbp)
jne    138b <get_xlib_handle+0x1fb>
mov    -0x460(%rbp),%rdx
mov    0x2cd1(%rip),%rax
mov    (%rax),%rsi
lea    0xd9e(%rip),%rax
lea    0xd90(%rip),%rcx
cmp    %rsi,%rdx
cmove  %rcx,%rax
mov    %rax,-0x470(%rbp)
mov    0x2ccb(%rip),%rax
mov    (%rax),%edi
mov    -0x470(%rbp),%rdx
lea    0xd79(%rip),%rsi
call   1070 <fprintf@plt>
movl   $0x0,-0x474(%rbp)
mov    -0x474(%rbp),%eax
cmp    -0x454(%rbp),%eax
jge    137e <get_xlib_handle+0x1ee>
mov    0x2c93(%rip),%rax
mov    (%rax),%edi
movslq -0x474(%rbp),%rax
mov    -0x450(%rbp,%rax,8),%rdx
ff
lea    0xd8a(%rip),%rsi
call   1070 <fprintf@plt>
mov    -0x474(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x474(%rbp)
jmp    1334 <get_xlib_handle+0x1a4>
movq   $0x0,-0x8(%rbp)
jmp    13fe <get_xlib_handle+0x26e>
lea    -0x420(%rbp),%rdi
mov    0x2c37(%rip),%rax
mov    (%rax),%esi
call   1060 <dlopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    13f6 <get_xlib_handle+0x266>
mov    0x2c2a(%rip),%rax
mov    (%rax),%edi
lea    -0x420(%rbp),%rdx
lea    0xd07(%rip),%rsi
call   1070 <fprintf@plt>
mov    0x2c0e(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x478(%rbp)
mov    $0x0,%al
call   1030 <dlerror@plt>
mov    -0x478(%rbp),%edi
mov    %rax,%rdx
lea    0xcf1(%rip),%rsi
call   1070 <fprintf@plt>
mov    -0x10(%rbp),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x480,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_xlib_handle>:
push   %rbp
push   %rbx
sub    $0x438,%rsp
lea    0xe70(%rip),%rax
mov    %rax,(%rsp)
lea    0xe7a(%rip),%rax
mov    %rax,0x8(%rsp)
lea    0xe94(%rip),%rax
mov    %rax,0x10(%rsp)
lea    0xeac(%rip),%rax
mov    %rax,0x18(%rsp)
lea    0xeb7(%rip),%rax
mov    %rax,0x20(%rsp)
xor    %eax,%eax
call   1070 <is_32bit_system@plt>
test   %rax,%rax
jne    11e5 <get_xlib_handle+0x65>
xor    %eax,%eax
call   1080 <is_emulated_32bit@plt>
test   %rax,%rax
jne    11e5 <get_xlib_handle+0x65>
mov    0x2df5(%rip),%rax
jmp    11ec <get_xlib_handle+0x6c>
mov    0x2dd4(%rip),%rax
mov    (%rax),%rbx
mov    %rsp,%rdi
mov    $0x5,%esi
mov    %rbx,%rdx
call   10a0 <find_xlib_by_arch@plt>
test   %eax,%eax
js     1221 <get_xlib_handle+0xa1>
mov    %eax,%eax
mov    (%rsp,%rax,8),%rcx
lea    0xe7d(%rip),%rdx
lea    0x30(%rsp),%rdi
mov    $0x400,%esi
call   1040 <snprintf@plt>
jmp    1232 <get_xlib_handle+0xb2>
lea    0x30(%rsp),%rdi
mov    %rbx,%rsi
call   1090 <find_xlib_by_env@plt>
test   %eax,%eax
je     128c <get_xlib_handle+0x10c>
mov    0x2d97(%rip),%rax
mov    (%rax),%esi
lea    0x30(%rsp),%rdi
call   1050 <dlopen@plt>
mov    %rax,%rbx
test   %rax,%rax
jne    1316 <get_xlib_handle+0x196>
mov    0x2d88(%rip),%rbx
mov    (%rbx),%edi
lea    0xe6c(%rip),%rsi
lea    0x30(%rsp),%rdx
call   1060 <fprintf@plt>
mov    (%rbx),%ebp
xor    %ebx,%ebx
xor    %eax,%eax
call   1030 <dlerror@plt>
lea    0xe65(%rip),%rsi
mov    %ebp,%edi
mov    %rax,%rdx
call   1060 <fprintf@plt>
jmp    1316 <get_xlib_handle+0x196>
mov    0x2d2d(%rip),%rax
cmp    (%rax),%rbx
lea    0xdf3(%rip),%rax
lea    0xdf3(%rip),%rdx
cmove  %rax,%rdx
mov    0x2d31(%rip),%rbp
mov    0x0(%rbp),%edi
lea    0xde5(%rip),%rsi
call   1060 <fprintf@plt>
mov    0x0(%rbp),%edi
mov    (%rsp),%rdx
lea    0xe23(%rip),%rbx
mov    %rbx,%rsi
call   1060 <fprintf@plt>
mov    0x0(%rbp),%edi
mov    0x8(%rsp),%rdx
mov    %rbx,%rsi
call   1060 <fprintf@plt>
mov    0x0(%rbp),%edi
mov    0x10(%rsp),%rdx
mov    %rbx,%rsi
call   1060 <fprintf@plt>
mov    0x0(%rbp),%edi
mov    0x18(%rsp),%rdx
mov    %rbx,%rsi
call   1060 <fprintf@plt>
mov    0x0(%rbp),%edi
mov    0x20(%rsp),%rdx
mov    %rbx,%rsi
call   1060 <fprintf@plt>
xor    %ebx,%ebx
mov    %rbx,%rax
add    $0x438,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@.str = [21 x i8] c"/usr/lib/libX11.so.6\00"
@.str.1 = [38 x i8] c"/usr/lib/x86_64-linux-gnu/libX11.so.6\00"
@.str.2 = [36 x i8] c"/usr/lib/i386-linux-gnu/libX11.so.6\00"
@.str.3 = [23 x i8] c"/usr/lib64/libX11.so.6\00"
@.str.4 = [23 x i8] c"/usr/lib32/libX11.so.6\00"
@EM_386 = global i64 0
@EM_X86_64 = global i64 0
@.str.5 = [3 x i8] c"%s\00"
@.str.6 = [7 x i8] c"32-bit\00"
@.str.7 = [7 x i8] c"64-bit\00"
@stderr = global i32 0
@.str.8 = [47 x i8] c"None of the following is a %s version of Xlib:\00"
@.str.9 = [5 x i8] c" %s\0A\00"
@RTLD_LAZY = global i32 0
@.str.10 = [21 x i8] c"Failed to dlopen %s\0A\00"
@.str.11 = [18 x i8] c"dlerror says: %s\0A\00"
define i8* @get_xlib_handle() {
%1 = alloca i8*
%2 = alloca i8*
%3 = alloca [1025 x i8]
%4 = alloca [5 x i8*]
%5 = alloca i32
%6 = alloca i64
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8*
%10 = alloca i32
store i8* null, i8** %2
%11 = bitcast [5 x i8*]* %4 to i8*
%12 = bitcast i8* %11 to [5 x i8*]*
%13 = getelementptr inbounds [5 x i8*], [5 x i8*]* %12, i32 0, i32 0
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i32 0, i32 0), i8** %13
%14 = getelementptr inbounds [5 x i8*], [5 x i8*]* %12, i32 0, i32 1
store i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i32 0, i32 0), i8** %14
%15 = getelementptr inbounds [5 x i8*], [5 x i8*]* %12, i32 0, i32 2
store i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.2, i32 0, i32 0), i8** %15
%16 = getelementptr inbounds [5 x i8*], [5 x i8*]* %12, i32 0, i32 3
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i32 0, i32 0), i8** %16
%17 = getelementptr inbounds [5 x i8*], [5 x i8*]* %12, i32 0, i32 4
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i32 0, i32 0), i8** %17
store i32 5, i32* %5
%18 = call i64 (...) @is_32bit_system()
%19 = icmp ne i64 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %0
%21 = call i64 (...) @is_emulated_32bit()
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20, %0
%24 = load i64, i64* @EM_386
store i64 %24, i64* %6
br label %27
25: ; preds = %20
%26 = load i64, i64* @EM_X86_64
store i64 %26, i64* %6
br label %27
27: ; preds = %25, %23
%28 = getelementptr inbounds [5 x i8*], [5 x i8*]* %4, i64 0, i64 0
%29 = load i32, i32* %5
%30 = load i64, i64* %6
%31 = call i32 @find_xlib_by_arch(i8** %28, i32 %29, i64 %30)
store i32 %31, i32* %7
store i32 0, i32* %8
%32 = load i32, i32* %7
%33 = icmp sge i32 %32, 0
br i1 %33, label %34, label %41
34: ; preds = %27
%35 = getelementptr inbounds [1025 x i8], [1025 x i8]* %3, i64 0, i64 0
%36 = load i32, i32* %7
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [5 x i8*], [5 x i8*]* %4, i64 0, i64 %37
%39 = load i8*, i8** %38
%40 = call i32 @snprintf(i8* %35, i32 1024, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %39)
store i32 1, i32* %8
br label %45
41: ; preds = %27
%42 = getelementptr inbounds [1025 x i8], [1025 x i8]* %3, i64 0, i64 0
%43 = load i64, i64* %6
%44 = call i32 @find_xlib_by_env(i8* %42, i64 %43)
store i32 %44, i32* %8
br label %45
45: ; preds = %41, %34
%46 = load i32, i32* %8
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %72
48: ; preds = %45
%49 = load i64, i64* %6
%50 = load i64, i64* @EM_386
%51 = icmp eq i64 %49, %50
%52 = zext i1 %51 to i64
%53 = select i1 %51, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0)
store i8* %53, i8** %9
%54 = load i32, i32* @stderr
%55 = load i8*, i8** %9
%56 = call i32 @fprintf(i32 %54, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.8, i64 0, i64 0), i8* %55)
store i32 0, i32* %10
br label %57
57: ; preds = %68, %48
%58 = load i32, i32* %10
%59 = load i32, i32* %5
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %71
61: ; preds = %57
%62 = load i32, i32* @stderr
%63 = load i32, i32* %10
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [5 x i8*], [5 x i8*]* %4, i64 0, i64 %64
%66 = load i8*, i8** %65
%67 = call i32 @fprintf(i32 %62, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* %66)
br label %68
68: ; preds = %61
%69 = load i32, i32* %10
%70 = add nsw i32 %69, 1
store i32 %70, i32* %10
br label %57
71: ; preds = %57
store i8* null, i8** %1
br label %87
72: ; preds = %45
%73 = getelementptr inbounds [1025 x i8], [1025 x i8]* %3, i64 0, i64 0
%74 = load i32, i32* @RTLD_LAZY
%75 = call i8* @dlopen(i8* %73, i32 %74)
store i8* %75, i8** %2
%76 = load i8*, i8** %2
%77 = icmp eq i8* %76, null
br i1 %77, label %78, label %85
78: ; preds = %72
%79 = load i32, i32* @stderr
%80 = getelementptr inbounds [1025 x i8], [1025 x i8]* %3, i64 0, i64 0
%81 = call i32 @fprintf(i32 %79, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), i8* %80)
%82 = load i32, i32* @stderr
%83 = call i8* (...) @dlerror()
%84 = call i32 @fprintf(i32 %82, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0), i8* %83)
br label %85
85: ; preds = %78, %72
%86 = load i8*, i8** %2
store i8* %86, i8** %1
br label %87
87: ; preds = %85, %71
%88 = load i8*, i8** %1
ret i8* %88
}

LLVM IR (-O2):
@.str = [21 x i8] c"/usr/lib/libX11.so.6\00"
@.str.1 = [38 x i8] c"/usr/lib/x86_64-linux-gnu/libX11.so.6\00"
@.str.2 = [36 x i8] c"/usr/lib/i386-linux-gnu/libX11.so.6\00"
@.str.3 = [23 x i8] c"/usr/lib64/libX11.so.6\00"
@.str.4 = [23 x i8] c"/usr/lib32/libX11.so.6\00"
@EM_386 = global i64 0
@EM_X86_64 = global i64 0
@.str.5 = [3 x i8] c"%s\00"
@.str.6 = [7 x i8] c"32-bit\00"
@.str.7 = [7 x i8] c"64-bit\00"
@stderr = global i32 0
@.str.8 = [47 x i8] c"None of the following is a %s version of Xlib:\00"
@.str.9 = [5 x i8] c" %s\0A\00"
@RTLD_LAZY = global i32 0
@.str.10 = [21 x i8] c"Failed to dlopen %s\0A\00"
@.str.11 = [18 x i8] c"dlerror says: %s\0A\00"
define i8* @get_xlib_handle() {
%1 = alloca [1025 x i8]
%2 = alloca [5 x i8*]
%3 = getelementptr inbounds [1025 x i8], [1025 x i8]* %1, i64 0, i64 0
%4 = bitcast [5 x i8*]* %2 to i8*
%5 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 0
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8** %5
%6 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 1
store i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0), i8** %6
%7 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 2
store i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.2, i64 0, i64 0), i8** %7
%8 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 3
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i8** %8
%9 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 4
store i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0), i8** %9
%10 = tail call i64 (...) @is_32bit_system()
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %0
%13 = tail call i64 (...) @is_emulated_32bit()
%14 = icmp eq i64 %13, 0
%15 = select i1 %14, i64* @EM_X86_64, i64* @EM_386
br label %16
16: ; preds = %12, %0
%17 = phi i64* [ @EM_386, %0 ], [ %15, %12 ]
%18 = load i64, i64* %17
%19 = call i32 @find_xlib_by_arch(i8** %5, i32 5, i64 %18)
%20 = icmp sgt i32 %19, -1
br i1 %20, label %21, label %26
21: ; preds = %16
%22 = zext i32 %19 to i64
%23 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 %22
%24 = load i8*, i8** %23
%25 = call i32 @snprintf(i8* %3, i32 1024, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* %24)
br label %50
26: ; preds = %16
%27 = call i32 @find_xlib_by_env(i8* %3, i64 %18)
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %50
29: ; preds = %26
%30 = load i64, i64* @EM_386
%31 = icmp eq i64 %18, %30
%32 = select i1 %31, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0)
%33 = load i32, i32* @stderr
%34 = call i32 @fprintf(i32 %33, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.8, i64 0, i64 0), i8* %32)
%35 = load i32, i32* @stderr
%36 = load i8*, i8** %5
%37 = call i32 @fprintf(i32 %35, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* %36)
%38 = load i32, i32* @stderr
%39 = load i8*, i8** %6
%40 = call i32 @fprintf(i32 %38, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* %39)
%41 = load i32, i32* @stderr
%42 = load i8*, i8** %7
%43 = call i32 @fprintf(i32 %41, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* %42)
%44 = load i32, i32* @stderr
%45 = load i8*, i8** %8
%46 = call i32 @fprintf(i32 %44, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* %45)
%47 = load i32, i32* @stderr
%48 = load i8*, i8** %9
%49 = call i32 @fprintf(i32 %47, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* %48)
br label %60
50: ; preds = %21, %26
%51 = load i32, i32* @RTLD_LAZY
%52 = call i8* @dlopen(i8* %3, i32 %51)
%53 = icmp eq i8* %52, null
br i1 %53, label %54, label %60
54: ; preds = %50
%55 = load i32, i32* @stderr
%56 = call i32 @fprintf(i32 %55, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), i8* %3)
%57 = load i32, i32* @stderr
%58 = call i8* (...) @dlerror()
%59 = call i32 @fprintf(i32 %57, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0), i8* %58)
br label %60
60: ; preds = %29, %50, %54
%61 = phi i8* [ null, %54 ], [ %52, %50 ], [ null, %29 ]
ret i8* %61
}