#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("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    0xd9f(%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    0xd4b(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xcd0(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xcbd(%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    0xcf7(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xc8a(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xc7b(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     1430 <BotInitLibrary+0x2d0>
lea    0xc58(%rip),%rdi
lea    0xca3(%rip),%rsi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xc45(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     1471 <BotInitLibrary+0x311>
lea    -0x90(%rbp),%rsi
lea    0xc17(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xc14(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     14b2 <BotInitLibrary+0x352>
lea    -0x90(%rbp),%rsi
lea    0xbe6(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xbe5(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     14f3 <BotInitLibrary+0x393>
lea    -0x90(%rbp),%rsi
lea    0xbb7(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xbaf(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     1534 <BotInitLibrary+0x3d4>
lea    -0x90(%rbp),%rsi
lea    0xb81(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xb79(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
jne    1575 <BotInitLibrary+0x415>
lea    -0x90(%rbp),%rdi
lea    0xb5d(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xb38(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xb3a(%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    0xb0a(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rsi
lea    0xaf9(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xafb(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     161d <BotInitLibrary+0x4bd>
lea    -0x90(%rbp),%rsi
lea    0xad9(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xace(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     165e <BotInitLibrary+0x4fe>
lea    -0x90(%rbp),%rsi
lea    0xaa8(%rip),%rdi
call   1080 <trap_BotLibVarSet@plt>
lea    -0x90(%rbp),%rsi
lea    0xa9d(%rip),%rdi
mov    $0x90,%edx
call   1050 <trap_Cvar_VariableStringBuffer@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%rax
je     169f <BotInitLibrary+0x53f>
lea    -0x90(%rbp),%rsi
lea    0xa79(%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    0xe48(%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    0xe0d(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xd96(%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    1303 <BotInitLibrary+0x1b3>
lea    0xdd3(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xd6a(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xd5c(%rip),%rdi
mov    %rbx,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     1342 <BotInitLibrary+0x1f2>
lea    0xd46(%rip),%rdi
lea    0xd91(%rip),%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xd3a(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     136b <BotInitLibrary+0x21b>
lea    0xd20(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xd21(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     1394 <BotInitLibrary+0x244>
lea    0xd07(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xd0a(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     13bd <BotInitLibrary+0x26d>
lea    0xcf0(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xcec(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     13e6 <BotInitLibrary+0x296>
lea    0xcd2(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xcce(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
jne    140f <BotInitLibrary+0x2bf>
lea    0xcc6(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xca5(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xca8(%rip),%rdi
mov    %rbx,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
jne    144a <BotInitLibrary+0x2fa>
lea    0xc8c(%rip),%rsi
mov    %rsp,%rdi
call   1030 <strcpy@plt>
lea    0xc7f(%rip),%rdi
mov    %rsp,%rbx
mov    %rbx,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xc82(%rip),%rdi
mov    %rbx,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     1485 <BotInitLibrary+0x335>
lea    0xc74(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xc6d(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     14ae <BotInitLibrary+0x35e>
lea    0xc5b(%rip),%rdi
mov    %rsp,%rsi
call   1070 <trap_BotLibVarSet@plt>
lea    0xc54(%rip),%rdi
mov    %rsp,%rsi
mov    $0x90,%edx
call   1040 <trap_Cvar_VariableStringBuffer@plt>
cmpb   $0x0,(%rsp)
je     14d7 <BotInitLibrary+0x387>
lea    0xc44(%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 = [14 x i8] c"bot_developer\00"
@.str.13 = [4 x i8] c"log\00"
@.str.14 = [11 x i8] c"bot_nochat\00"
@.str.15 = [7 x i8] c"nochat\00"
@.str.16 = [16 x i8] c"forceclustering\00"
@.str.17 = [18 x i8] c"forcereachability\00"
@.str.18 = [11 x i8] c"forcewrite\00"
@.str.19 = [11 x i8] c"nooptimize\00"
@.str.20 = [18 x i8] c"framereachability\00"
@.str.21 = [3 x i8] c"20\00"
@.str.22 = [21 x i8] c"bot_reloadcharacters\00"
@.str.23 = [12 x i8] c"fs_basepath\00"
@.str.24 = [8 x i8] c"basedir\00"
@.str.25 = [8 x i8] c"fs_game\00"
@.str.26 = [8 x i8] c"gamedir\00"
@.str.27 = [10 x i8] c"fs_cdpath\00"
@.str.28 = [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 ([14 x i8], [14 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 ([14 x i8], [14 x i8]* @.str.12, 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.12, 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 ([4 x i8], [4 x i8]* @.str.13, 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 ([11 x i8], [11 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 %90, label %92
90: ; preds = %82
%91 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %92
92: ; preds = %90, %82
%93 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%94 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), i8* %93, i32 144)
%95 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%96 = call i64 @strlen(i8* %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %101
98: ; preds = %92
%99 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%100 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), i8* %99)
br label %101
101: ; preds = %98, %92
%102 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%103 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.17, i64 0, i64 0), i8* %102, i32 144)
%104 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%105 = call i64 @strlen(i8* %104)
%106 = icmp ne i64 %105, 0
br i1 %106, label %107, label %110
107: ; preds = %101
%108 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%109 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.17, i64 0, i64 0), i8* %108)
br label %110
110: ; preds = %107, %101
%111 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%112 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.18, i64 0, i64 0), i8* %111, i32 144)
%113 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%114 = call i64 @strlen(i8* %113)
%115 = icmp ne i64 %114, 0
br i1 %115, label %116, label %119
116: ; preds = %110
%117 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%118 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.18, i64 0, i64 0), i8* %117)
br label %119
119: ; preds = %116, %110
%120 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%121 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.19, i64 0, i64 0), i8* %120, i32 144)
%122 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%123 = call i64 @strlen(i8* %122)
%124 = icmp ne i64 %123, 0
br i1 %124, label %125, label %128
125: ; preds = %119
%126 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%127 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.19, i64 0, i64 0), i8* %126)
br label %128
128: ; preds = %125, %119
%129 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%130 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.20, i64 0, i64 0), i8* %129, i32 144)
%131 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%132 = call i64 @strlen(i8* %131)
%133 = icmp ne i64 %132, 0
br i1 %133, label %137, label %134
134: ; preds = %128
%135 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%136 = call i32 @strcpy(i8* %135, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
br label %137
137: ; preds = %134, %128
%138 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%139 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.20, i64 0, i64 0), i8* %138)
%140 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%141 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([21 x i8], [21 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 = %137
%146 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%147 = call i32 @strcpy(i8* %146, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %148
148: ; preds = %145, %137
%149 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%150 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([21 x i8], [21 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 ([12 x i8], [12 x i8]* @.str.23, 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 %156, label %159
156: ; preds = %148
%157 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%158 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i64 0, i64 0), i8* %157)
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_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.25, i64 0, i64 0), i8* %160, i32 144)
%162 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%163 = call i64 @strlen(i8* %162)
%164 = icmp ne i64 %163, 0
br i1 %164, label %165, label %168
165: ; preds = %159
%166 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%167 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0), i8* %166)
br label %168
168: ; preds = %165, %159
%169 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%170 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), i8* %169, i32 144)
%171 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%172 = call i64 @strlen(i8* %171)
%173 = icmp ne i64 %172, 0
br i1 %173, label %174, label %177
174: ; preds = %168
%175 = getelementptr inbounds [144 x i8], [144 x i8]* %1, i64 0, i64 0
%176 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0), i8* %175)
br label %177
177: ; preds = %174, %168
%178 = call i32 (...) @trap_BotLibSetup()
ret i32 %178
}

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 = [14 x i8] c"bot_developer\00"
@.str.13 = [4 x i8] c"log\00"
@.str.14 = [11 x i8] c"bot_nochat\00"
@.str.15 = [7 x i8] c"nochat\00"
@.str.16 = [16 x i8] c"forceclustering\00"
@.str.17 = [18 x i8] c"forcereachability\00"
@.str.18 = [11 x i8] c"forcewrite\00"
@.str.19 = [11 x i8] c"nooptimize\00"
@.str.20 = [18 x i8] c"framereachability\00"
@.str.21 = [3 x i8] c"20\00"
@.str.22 = [21 x i8] c"bot_reloadcharacters\00"
@.str.23 = [12 x i8] c"fs_basepath\00"
@.str.24 = [8 x i8] c"basedir\00"
@.str.25 = [8 x i8] c"fs_game\00"
@.str.26 = [8 x i8] c"gamedir\00"
@.str.27 = [10 x i8] c"fs_cdpath\00"
@.str.28 = [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 ([14 x i8], [14 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 ([14 x i8], [14 x i8]* @.str.12, i64 0, i64 0), i8* %2)
%50 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, 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 ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i8* %2)
%57 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 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 %62, label %60
60: ; preds = %55
%61 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), 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_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), i8* %2, i32 144)
%64 = load i8, i8* %2
%65 = icmp eq i8 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %62
%67 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), i8* %2)
br label %68
68: ; preds = %66, %62
%69 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.17, i64 0, i64 0), i8* %2, i32 144)
%70 = load i8, i8* %2
%71 = icmp eq i8 %70, 0
br i1 %71, label %74, label %72
72: ; preds = %68
%73 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.17, i64 0, i64 0), i8* %2)
br label %74
74: ; preds = %72, %68
%75 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.18, i64 0, i64 0), i8* %2, i32 144)
%76 = load i8, i8* %2
%77 = icmp eq i8 %76, 0
br i1 %77, label %80, label %78
78: ; preds = %74
%79 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.18, i64 0, i64 0), i8* %2)
br label %80
80: ; preds = %78, %74
%81 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.19, i64 0, i64 0), i8* %2, i32 144)
%82 = load i8, i8* %2
%83 = icmp eq i8 %82, 0
br i1 %83, label %86, label %84
84: ; preds = %80
%85 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.19, i64 0, i64 0), i8* %2)
br label %86
86: ; preds = %84, %80
%87 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.20, i64 0, i64 0), i8* %2, i32 144)
%88 = load i8, i8* %2
%89 = icmp eq i8 %88, 0
br i1 %89, label %90, label %92
90: ; preds = %86
%91 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0))
br label %92
92: ; preds = %90, %86
%93 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.20, i64 0, i64 0), i8* %2)
%94 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([21 x i8], [21 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 = %92
%98 = call i32 @strcpy(i8* %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %99
99: ; preds = %97, %92
%100 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.22, i64 0, i64 0), i8* %2)
%101 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.23, i64 0, i64 0), i8* %2, i32 144)
%102 = load i8, i8* %2
%103 = icmp eq i8 %102, 0
br i1 %103, label %106, label %104
104: ; preds = %99
%105 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i64 0, i64 0), i8* %2)
br label %106
106: ; preds = %104, %99
%107 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.25, i64 0, i64 0), i8* %2, i32 144)
%108 = load i8, i8* %2
%109 = icmp eq i8 %108, 0
br i1 %109, label %112, label %110
110: ; preds = %106
%111 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i64 0, i64 0), i8* %2)
br label %112
112: ; preds = %110, %106
%113 = call i32 @trap_Cvar_VariableStringBuffer(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0), i8* %2, i32 144)
%114 = load i8, i8* %2
%115 = icmp eq i8 %114, 0
br i1 %115, label %118, label %116
116: ; preds = %112
%117 = call i32 @trap_BotLibVarSet(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i64 0, i64 0), i8* %2)
br label %118
118: ; preds = %116, %112
%119 = call i32 (...) @trap_BotLibSetup()
ret i32 %119
}