#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*/ buf;

/* Variables and functions */
int /*<<< orphan*/ Com_sprintf(char *, int, char *, int);
int /*<<< orphan*/ strcpy(char *, char *);
scalar_t__ strlen(char *);
int trap_BotLibSetup();
int /*<<< orphan*/ trap_BotLibVarSet(char *, char *);
int /*<<< orphan*/ trap_Cvar_VariableStringBuffer(char *, char *, int);
int BotInitLibrary(void) {
  char buf[144];
  trap_Cvar_VariableStringBuffer("sv_maxclients", buf, sizeof(buf));
  if (!strlen(buf))
    strcpy(buf, "8");
  trap_BotLibVarSet("maxclients", buf);
  Com_sprintf(buf, sizeof(buf), "%d", (1 << 10));
  trap_BotLibVarSet("maxentities", buf);
  trap_Cvar_VariableStringBuffer("sv_mapChecksum", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("sv_mapChecksum", buf);
  trap_Cvar_VariableStringBuffer("max_aaslinks", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("max_aaslinks", buf);
  trap_Cvar_VariableStringBuffer("max_levelitems", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("max_levelitems", buf);
  trap_Cvar_VariableStringBuffer("autolaunchbspc", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("autolaunchbspc", "1");
  trap_Cvar_VariableStringBuffer("g_gametype", buf, sizeof(buf));
  if (!strlen(buf))
    strcpy(buf, "0");
  trap_BotLibVarSet("g_gametype", buf);
  trap_Cvar_VariableStringBuffer("g_gameskill", buf, sizeof(buf));
  if (!strlen(buf))
    strcpy(buf, "0");
  trap_BotLibVarSet("g_gamekill", buf);
  trap_Cvar_VariableStringBuffer("bot_developer", buf, sizeof(buf));
  if (!strlen(buf))
    strcpy(buf, "0");
  trap_BotLibVarSet("bot_developer", buf);
  trap_Cvar_VariableStringBuffer("bot_developer", buf, sizeof(buf));
  if (!strlen(buf))
    strcpy(buf, "0");
  trap_BotLibVarSet("log", buf);
  trap_Cvar_VariableStringBuffer("bot_nochat", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("nochat", "0");
  trap_Cvar_VariableStringBuffer("forceclustering", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("forceclustering", buf);
  trap_Cvar_VariableStringBuffer("forcereachability", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("forcereachability", buf);
  trap_Cvar_VariableStringBuffer("forcewrite", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("forcewrite", buf);
  trap_Cvar_VariableStringBuffer("nooptimize", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("nooptimize", buf);
  trap_Cvar_VariableStringBuffer("framereachability", buf, sizeof(buf));
  if (!strlen(buf))
    strcpy(buf, "20");
  trap_BotLibVarSet("framereachability", buf);
  trap_Cvar_VariableStringBuffer("bot_reloadcharacters", buf, sizeof(buf));
  if (!strlen(buf))
    strcpy(buf, "0");
  trap_BotLibVarSet("bot_reloadcharacters", buf);
  trap_Cvar_VariableStringBuffer("fs_basepath", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("basedir", buf);
  trap_Cvar_VariableStringBuffer("fs_game", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("gamedir", buf);
  trap_Cvar_VariableStringBuffer("fs_cdpath", buf, sizeof(buf));
  if (strlen(buf))
    trap_BotLibVarSet("cddir", buf);
  return trap_BotLibSetup();
}


x86 assembly (clang, -O0):
<BotInitLibrary>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
lea    -0x90(%rbp),%rsi
lea    0xe87(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    11ac <BotInitLibrary+0x4c>
lea    -0x90(%rbp),%rdi
lea    0xe67(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xe49(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rdi
mov    $0x90,%esi
lea    0xe3e(%rip),%rdx
mov    $0x400,%ecx
call   1060 <Com_sprintf@plt>
lea    -0x90(%rbp),%rsi
lea    0xe29(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xe22(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     1230 <BotInitLibrary+0xd0>
lea    -0x90(%rbp),%rsi
lea    0xdf4(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xdf0(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     1271 <BotInitLibrary+0x111>
lea    -0x90(%rbp),%rsi
lea    0xdc2(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xdbc(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     12b2 <BotInitLibrary+0x152>
lea    -0x90(%rbp),%rsi
lea    0xd8e(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xd8a(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     12f3 <BotInitLibrary+0x193>
lea    0xd63(%rip),%rdi
lea    0xd6b(%rip),%rsi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xd5a(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    1334 <BotInitLibrary+0x1d4>
lea    -0x90(%rbp),%rdi
lea    0xdb6(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xd19(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xd11(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    1388 <BotInitLibrary+0x228>
lea    -0x90(%rbp),%rdi
lea    0xd62(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xcdc(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xcd4(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    13dc <BotInitLibrary+0x27c>
lea    -0x90(%rbp),%rdi
lea    0xd0e(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xc93(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xc80(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    1430 <BotInitLibrary+0x2d0>
lea    -0x90(%rbp),%rdi
lea    0xcba(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xc4d(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xc3e(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     1484 <BotInitLibrary+0x324>
lea    0xc1b(%rip),%rdi
lea    0xc66(%rip),%rsi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xc08(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     14c5 <BotInitLibrary+0x365>
lea    -0x90(%rbp),%rsi
lea    0xbda(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xbd7(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     1506 <BotInitLibrary+0x3a6>
lea    -0x90(%rbp),%rsi
lea    0xba9(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xba8(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     1547 <BotInitLibrary+0x3e7>
lea    -0x90(%rbp),%rsi
lea    0xb7a(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xb72(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     1588 <BotInitLibrary+0x428>
lea    -0x90(%rbp),%rsi
lea    0xb44(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xb3c(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    15c9 <BotInitLibrary+0x469>
lea    -0x90(%rbp),%rdi
lea    0xb20(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xafb(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xafd(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    161d <BotInitLibrary+0x4bd>
lea    -0x90(%rbp),%rdi
lea    0xacd(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xabc(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xabe(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     1671 <BotInitLibrary+0x511>
lea    -0x90(%rbp),%rsi
lea    0xa9c(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xa91(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     16b2 <BotInitLibrary+0x552>
lea    -0x90(%rbp),%rsi
lea    0xa6b(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xa60(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     16f3 <BotInitLibrary+0x593>
lea    -0x90(%rbp),%rsi
lea    0xa3c(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
mov    $0x0,%al
call   1070 <trap_BotLibSetup@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<BotInitLibrary>:
push   %r14
push   %rbx
sub    $0x98,%rsp
lea    0xe9f(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
jne    1183 <BotInitLibrary+0x33>
lea    0xe93(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xe79(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xe74(%rip),%rdx
mov    %rbx,%rdi
mov    $0x90,%esi
mov    $0x400,%ecx
call   1050 <Com_sprintf@plt>
lea    0xe5e(%rip),%rdi
mov    %rbx,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xe5b(%rip),%rdi
mov    %rbx,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     11e6 <BotInitLibrary+0x96>
lea    0xe41(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xe41(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     120f <BotInitLibrary+0xbf>
lea    0xe27(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xe25(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     1238 <BotInitLibrary+0xe8>
lea    0xe0b(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xe0b(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     1265 <BotInitLibrary+0x115>
lea    0xdf1(%rip),%rdi
lea    0xdf9(%rip),%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xdef(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
jne    128e <BotInitLibrary+0x13e>
lea    0xe5f(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xdc6(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xdbf(%rip),%rdi
mov    %rbx,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
jne    12c9 <BotInitLibrary+0x179>
lea    0xe24(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xda2(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xd9b(%rip),%rdi
mov    %rbx,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
jne    1304 <BotInitLibrary+0x1b4>
lea    0xde9(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xd72(%rip),%rbx
mov    %rsp,%r14
mov    %rbx,%rdi
mov    %r14,%rsi
call   1070 <trap_BotLibVarSet@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
jne    133e <BotInitLibrary+0x1ee>
lea    0xdaf(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xd46(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xd38(%rip),%rdi
mov    %rbx,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     137d <BotInitLibrary+0x22d>
lea    0xd22(%rip),%rdi
lea    0xd6d(%rip),%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xd16(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     13a6 <BotInitLibrary+0x256>
lea    0xcfc(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xcfd(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     13cf <BotInitLibrary+0x27f>
lea    0xce3(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xce6(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     13f8 <BotInitLibrary+0x2a8>
lea    0xccc(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xcc8(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     1421 <BotInitLibrary+0x2d1>
lea    0xcae(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xcaa(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
jne    144a <BotInitLibrary+0x2fa>
lea    0xca2(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xc81(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xc84(%rip),%rdi
mov    %rbx,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
jne    1485 <BotInitLibrary+0x335>
lea    0xc68(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xc5b(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xc5e(%rip),%rdi
mov    %rbx,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     14c0 <BotInitLibrary+0x370>
lea    0xc50(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xc49(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     14e9 <BotInitLibrary+0x399>
lea    0xc37(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xc30(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     1512 <BotInitLibrary+0x3c2>
lea    0xc20(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
xor    %eax,%eax
call   1060 <trap_BotLibSetup@plt>
add    $0x98,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [14 x i8] c"sv_maxclients\00"
@.str.1 = [2 x i8] c"8\00"
@.str.2 = [11 x i8] c"maxclients\00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [12 x i8] c"maxentities\00"
@.str.5 = [15 x i8] c"sv_mapChecksum\00"
@.str.6 = [13 x i8] c"max_aaslinks\00"
@.str.7 = [15 x i8] c"max_levelitems\00"
@.str.8 = [15 x i8] c"autolaunchbspc\00"
@.str.9 = [2 x i8] c"1\00"
@.str.10 = [11 x i8] c"g_gametype\00"
@.str.11 = [2 x i8] c"0\00"
@.str.12 = [12 x i8] c"g_gameskill\00"
@.str.13 = [11 x i8] c"g_gamekill\00"
@.str.14 = [14 x i8] c"bot_developer\00"
@.str.15 = [4 x i8] c"log\00"
@.str.16 = [11 x i8] c"bot_nochat\00"
@.str.17 = [7 x i8] c"nochat\00"
@.str.18 = [16 x i8] c"forceclustering\00"
@.str.19 = [18 x i8] c"forcereachability\00"
@.str.20 = [11 x i8] c"forcewrite\00"
@.str.21 = [11 x i8] c"nooptimize\00"
@.str.22 = [18 x i8] c"framereachability\00"
@.str.23 = [3 x i8] c"20\00"
@.str.24 = [21 x i8] c"bot_reloadcharacters\00"
@.str.25 = [12 x i8] c"fs_basepath\00"
@.str.26 = [8 x i8] c"basedir\00"
@.str.27 = [8 x i8] c"fs_game\00"
@.str.28 = [8 x i8] c"gamedir\00"
@.str.29 = [10 x i8] c"fs_cdpath\00"
@.str.30 = [6 x i8] c"cddir\00"
define i32 @BotInitLibrary() {
%1 = alloca [144 x i8]
%2 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%3 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* %2, i32 144)
%4 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%5 = call i64 @strlen(i8* %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %10, label %7
7: ; preds = %0
%8 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%9 = call i32 @strcpy(i8* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %10
10: ; preds = %7, %0
%11 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%12 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* %11)
%13 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%14 = call i32 @Com_sprintf(i8* %13, i32 144, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 1024)
%15 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%16 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i8* %15)
%17 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%18 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* %17, i32 144)
%19 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%20 = call i64 @strlen(i8* %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %10
%23 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%24 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* %23)
br label %25
25: ; preds = %22, %10
%26 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%27 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* %26, i32 144)
%28 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%29 = call i64 @strlen(i8* %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %25
%32 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%33 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* %32)
br label %34
34: ; preds = %31, %25
%35 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%36 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %35, i32 144)
%37 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%38 = call i64 @strlen(i8* %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %34
%41 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%42 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %41)
br label %43
43: ; preds = %40, %34
%44 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%45 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* %44, i32 144)
%46 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%47 = call i64 @strlen(i8* %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %43
%50 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %51
51: ; preds = %49, %43
%52 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%53 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i8* %52, i32 144)
%54 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%55 = call i64 @strlen(i8* %54)
%56 = icmp ne i64 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %51
%58 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%59 = call i32 @strcpy(i8* %58, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %60
60: ; preds = %57, %51
%61 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%62 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i8* %61)
%63 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%64 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i8* %63, i32 144)
%65 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%66 = call i64 @strlen(i8* %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %71, label %68
68: ; preds = %60
%69 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%70 = call i32 @strcpy(i8* %69, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %71
71: ; preds = %68, %60
%72 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%73 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i8* %72)
%74 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%75 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i8* %74, i32 144)
%76 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%77 = call i64 @strlen(i8* %76)
%78 = icmp ne i64 %77, 0
br i1 %78, label %82, label %79
79: ; preds = %71
%80 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%81 = call i32 @strcpy(i8* %80, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %82
82: ; preds = %79, %71
%83 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%84 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i8* %83)
%85 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%86 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i8* %85, i32 144)
%87 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%88 = call i64 @strlen(i8* %87)
%89 = icmp ne i64 %88, 0
br i1 %89, label %93, label %90
90: ; preds = %82
%91 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%92 = call i32 @strcpy(i8* %91, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %93
93: ; preds = %90, %82
%94 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%95 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* %94)
%96 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%97 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0), i8* %96, i32 144)
%98 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%99 = call i64 @strlen(i8* %98)
%100 = icmp ne i64 %99, 0
br i1 %100, label %101, label %103
101: ; preds = %93
%102 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %103
103: ; preds = %101, %93
%104 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%105 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i8* %104, i32 144)
%106 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%107 = call i64 @strlen(i8* %106)
%108 = icmp ne i64 %107, 0
br i1 %108, label %109, label %112
109: ; preds = %103
%110 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%111 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i8* %110)
br label %112
112: ; preds = %109, %103
%113 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%114 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* %113, i32 144)
%115 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%116 = call i64 @strlen(i8* %115)
%117 = icmp ne i64 %116, 0
br i1 %117, label %118, label %121
118: ; preds = %112
%119 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%120 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* %119)
br label %121
121: ; preds = %118, %112
%122 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%123 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0), i8* %122, i32 144)
%124 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%125 = call i64 @strlen(i8* %124)
%126 = icmp ne i64 %125, 0
br i1 %126, label %127, label %130
127: ; preds = %121
%128 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%129 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0), i8* %128)
br label %130
130: ; preds = %127, %121
%131 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%132 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i64 0, i64 0), i8* %131, i32 144)
%133 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%134 = call i64 @strlen(i8* %133)
%135 = icmp ne i64 %134, 0
br i1 %135, label %136, label %139
136: ; preds = %130
%137 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%138 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i64 0, i64 0), i8* %137)
br label %139
139: ; preds = %136, %130
%140 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%141 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.22, i64 0, i64 0), i8* %140, i32 144)
%142 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%143 = call i64 @strlen(i8* %142)
%144 = icmp ne i64 %143, 0
br i1 %144, label %148, label %145
145: ; preds = %139
%146 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%147 = call i32 @strcpy(i8* %146, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %148
148: ; preds = %145, %139
%149 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%150 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.22, i64 0, i64 0), i8* %149)
%151 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%152 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.24, i64 0, i64 0), i8* %151, i32 144)
%153 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%154 = call i64 @strlen(i8* %153)
%155 = icmp ne i64 %154, 0
br i1 %155, label %159, label %156
156: ; preds = %148
%157 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%158 = call i32 @strcpy(i8* %157, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %159
159: ; preds = %156, %148
%160 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%161 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.24, i64 0, i64 0), i8* %160)
%162 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%163 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0), i8* %162, i32 144)
%164 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%165 = call i64 @strlen(i8* %164)
%166 = icmp ne i64 %165, 0
br i1 %166, label %167, label %170
167: ; preds = %159
%168 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%169 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0), i8* %168)
br label %170
170: ; preds = %167, %159
%171 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%172 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.27, i64 0, i64 0), i8* %171, i32 144)
%173 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%174 = call i64 @strlen(i8* %173)
%175 = icmp ne i64 %174, 0
br i1 %175, label %176, label %179
176: ; preds = %170
%177 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%178 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0), i8* %177)
br label %179
179: ; preds = %176, %170
%180 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%181 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0), i8* %180, i32 144)
%182 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%183 = call i64 @strlen(i8* %182)
%184 = icmp ne i64 %183, 0
br i1 %184, label %185, label %188
185: ; preds = %179
%186 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%187 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i64 0, i64 0), i8* %186)
br label %188
188: ; preds = %185, %179
%189 = call i32 (...) @trap_BotLibSetup()
ret i32 %189
}

LLVM IR (-O2):
@.str = [14 x i8] c"sv_maxclients\00"
@.str.1 = [2 x i8] c"8\00"
@.str.2 = [11 x i8] c"maxclients\00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [12 x i8] c"maxentities\00"
@.str.5 = [15 x i8] c"sv_mapChecksum\00"
@.str.6 = [13 x i8] c"max_aaslinks\00"
@.str.7 = [15 x i8] c"max_levelitems\00"
@.str.8 = [15 x i8] c"autolaunchbspc\00"
@.str.9 = [2 x i8] c"1\00"
@.str.10 = [11 x i8] c"g_gametype\00"
@.str.11 = [2 x i8] c"0\00"
@.str.12 = [12 x i8] c"g_gameskill\00"
@.str.13 = [11 x i8] c"g_gamekill\00"
@.str.14 = [14 x i8] c"bot_developer\00"
@.str.15 = [4 x i8] c"log\00"
@.str.16 = [11 x i8] c"bot_nochat\00"
@.str.17 = [7 x i8] c"nochat\00"
@.str.18 = [16 x i8] c"forceclustering\00"
@.str.19 = [18 x i8] c"forcereachability\00"
@.str.20 = [11 x i8] c"forcewrite\00"
@.str.21 = [11 x i8] c"nooptimize\00"
@.str.22 = [18 x i8] c"framereachability\00"
@.str.23 = [3 x i8] c"20\00"
@.str.24 = [21 x i8] c"bot_reloadcharacters\00"
@.str.25 = [12 x i8] c"fs_basepath\00"
@.str.26 = [8 x i8] c"basedir\00"
@.str.27 = [8 x i8] c"fs_game\00"
@.str.28 = [8 x i8] c"gamedir\00"
@.str.29 = [10 x i8] c"fs_cdpath\00"
@.str.30 = [6 x i8] c"cddir\00"
define i32 @BotInitLibrary() {
%1 = alloca [144 x i8]
%2 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%3 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* %2, i32 144)
%4 = load i8, i8* %2
%5 = icmp eq i8 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %8
8: ; preds = %6, %0
%9 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* %2)
%10 = call i32 @Com_sprintf(i8* %2, i32 144, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 1024)
%11 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i8* %2)
%12 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* %2, i32 144)
%13 = load i8, i8* %2
%14 = icmp eq i8 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %8
%16 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* %2)
br label %17
17: ; preds = %15, %8
%18 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* %2, i32 144)
%19 = load i8, i8* %2
%20 = icmp eq i8 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %17
%22 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* %2)
br label %23
23: ; preds = %21, %17
%24 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %2, i32 144)
%25 = load i8, i8* %2
%26 = icmp eq i8 %25, 0
br i1 %26, label %29, label %27
27: ; preds = %23
%28 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %2)
br label %29
29: ; preds = %27, %23
%30 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* %2, i32 144)
%31 = load i8, i8* %2
%32 = icmp eq i8 %31, 0
br i1 %32, label %35, label %33
33: ; preds = %29
%34 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
br label %35
35: ; preds = %33, %29
%36 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i8* %2, i32 144)
%37 = load i8, i8* %2
%38 = icmp eq i8 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %41
41: ; preds = %39, %35
%42 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i8* %2)
%43 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i8* %2, i32 144)
%44 = load i8, i8* %2
%45 = icmp eq i8 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %41
%47 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %48
48: ; preds = %46, %41
%49 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i8* %2)
%50 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i8* %2, i32 144)
%51 = load i8, i8* %2
%52 = icmp eq i8 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %48
%54 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %55
55: ; preds = %53, %48
%56 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i8* %2)
%57 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i8* %2, i32 144)
%58 = load i8, i8* %2
%59 = icmp eq i8 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %55
%61 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %62
62: ; preds = %60, %55
%63 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* %2)
%64 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0), i8* %2, i32 144)
%65 = load i8, i8* %2
%66 = icmp eq i8 %65, 0
br i1 %66, label %69, label %67
67: ; preds = %62
%68 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %69
69: ; preds = %67, %62
%70 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i8* %2, i32 144)
%71 = load i8, i8* %2
%72 = icmp eq i8 %71, 0
br i1 %72, label %75, label %73
73: ; preds = %69
%74 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i8* %2)
br label %75
75: ; preds = %73, %69
%76 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* %2, i32 144)
%77 = load i8, i8* %2
%78 = icmp eq i8 %77, 0
br i1 %78, label %81, label %79
79: ; preds = %75
%80 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* %2)
br label %81
81: ; preds = %79, %75
%82 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0), i8* %2, i32 144)
%83 = load i8, i8* %2
%84 = icmp eq i8 %83, 0
br i1 %84, label %87, label %85
85: ; preds = %81
%86 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0), i8* %2)
br label %87
87: ; preds = %85, %81
%88 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i64 0, i64 0), i8* %2, i32 144)
%89 = load i8, i8* %2
%90 = icmp eq i8 %89, 0
br i1 %90, label %93, label %91
91: ; preds = %87
%92 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i64 0, i64 0), i8* %2)
br label %93
93: ; preds = %91, %87
%94 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.22, i64 0, i64 0), i8* %2, i32 144)
%95 = load i8, i8* %2
%96 = icmp eq i8 %95, 0
br i1 %96, label %97, label %99
97: ; preds = %93
%98 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0))
br label %99
99: ; preds = %97, %93
%100 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.22, i64 0, i64 0), i8* %2)
%101 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.24, i64 0, i64 0), i8* %2, i32 144)
%102 = load i8, i8* %2
%103 = icmp eq i8 %102, 0
br i1 %103, label %104, label %106
104: ; preds = %99
%105 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %106
106: ; preds = %104, %99
%107 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.24, i64 0, i64 0), i8* %2)
%108 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0), i8* %2, i32 144)
%109 = load i8, i8* %2
%110 = icmp eq i8 %109, 0
br i1 %110, label %113, label %111
111: ; preds = %106
%112 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0), i8* %2)
br label %113
113: ; preds = %111, %106
%114 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.27, i64 0, i64 0), i8* %2, i32 144)
%115 = load i8, i8* %2
%116 = icmp eq i8 %115, 0
br i1 %116, label %119, label %117
117: ; preds = %113
%118 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0), i8* %2)
br label %119
119: ; preds = %117, %113
%120 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0), i8* %2, i32 144)
%121 = load i8, i8* %2
%122 = icmp eq i8 %121, 0
br i1 %122, label %125, label %123
123: ; preds = %119
%124 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i64 0, i64 0), i8* %2)
br label %125
125: ; preds = %123, %119
%126 = call i32 (...) @trap_BotLibSetup()
ret i32 %126
}