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

/* Variables and functions */
int /*<<< orphan*/ Com_sprintf(char *, int, char *, int);
int /*<<< orphan*/ Controls_GetKeyBindings(char *, int *);
int /*<<< orphan*/ trap_Cvar_Set(char *, char *);
scalar_t__ trap_Key_GetCatcher();
void Send_KeyBindings(void) {
  int keys[2];
  char key[5];
  if (trap_Key_GetCatcher())
    return;
  Controls_GetKeyBindings("+attack", keys);
  if (keys[0] != -1) {
    Com_sprintf(key, sizeof(key), "%i", keys[0]);
    trap_Cvar_Set("cl_button_attack1", key);
    if (keys[1] != -1) {
      Com_sprintf(key, sizeof(key), "%i", keys[1]);
      trap_Cvar_Set("cl_button_attack2", key);
    }
  }
  Controls_GetKeyBindings("+button6", keys);
  if (keys[0] != -1) {
    Com_sprintf(key, sizeof(key), "%i", keys[0]);
    trap_Cvar_Set("cl_button_altattack1", key);
    if (keys[1] != -1) {
      Com_sprintf(key, sizeof(key), "%i", keys[1]);
      trap_Cvar_Set("cl_button_altattack2", key);
    }
  }
  Controls_GetKeyBindings("+forward", keys);
  if (keys[0] != -1) {
    Com_sprintf(key, sizeof(key), "%i", keys[0]);
    trap_Cvar_Set("cl_button_forward1", key);
    if (keys[1] != -1) {
      Com_sprintf(key, sizeof(key), "%i", keys[1]);
      trap_Cvar_Set("cl_button_forward2", key);
    }
  }
  Controls_GetKeyBindings("+back", keys);
  if (keys[0] != -1) {
    Com_sprintf(key, sizeof(key), "%i", keys[0]);
    trap_Cvar_Set("cl_button_back1", key);
    if (keys[1] != -1) {
      Com_sprintf(key, sizeof(key), "%i", keys[1]);
      trap_Cvar_Set("cl_button_back2", key);
    }
  }
  Controls_GetKeyBindings("+moveleft", keys);
  if (keys[0] != -1) {
    Com_sprintf(key, sizeof(key), "%i", keys[0]);
    trap_Cvar_Set("cl_button_moveleft1", key);
    if (keys[1] != -1) {
      Com_sprintf(key, sizeof(key), "%i", keys[1]);
      trap_Cvar_Set("cl_button_moveleft2", key);
    }
  }
  Controls_GetKeyBindings("+moveright", keys);
  if (keys[0] != -1) {
    Com_sprintf(key, sizeof(key), "%i", keys[0]);
    trap_Cvar_Set("cl_button_moveright1", key);
    if (keys[1] != -1) {
      Com_sprintf(key, sizeof(key), "%i", keys[1]);
      trap_Cvar_Set("cl_button_moveright2", key);
    }
  }
  Controls_GetKeyBindings("+left", keys);
  if (keys[0] != -1) {
    Com_sprintf(key, sizeof(key), "%i", keys[0]);
    trap_Cvar_Set("cl_button_turnleft1", key);
    if (keys[1] != -1) {
      Com_sprintf(key, sizeof(key), "%i", keys[1]);
      trap_Cvar_Set("cl_button_turnleft2", key);
    }
  }
  Controls_GetKeyBindings("+right", keys);
  if (keys[0] != -1) {
    Com_sprintf(key, sizeof(key), "%i", keys[0]);
    trap_Cvar_Set("cl_button_turnright1", key);
    if (keys[1] != -1) {
      Com_sprintf(key, sizeof(key), "%i", keys[1]);
      trap_Cvar_Set("cl_button_turnright2", key);
    }
  }
}


x86 assembly (clang, -O0):
<Send_KeyBindings>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x0,%al
call   1050 <trap_Key_GetCatcher@plt>
cmp    $0x0,%rax
je     115e <Send_KeyBindings+0x1e>
jmp    1526 <Send_KeyBindings+0x3e6>
lea    -0x8(%rbp),%rsi
lea    0xe97(%rip),%rdi
call   1030 <Controls_GetKeyBindings@plt>
cmpl   $0xffffffff,-0x8(%rbp)
je     11d7 <Send_KeyBindings+0x97>
lea    -0xd(%rbp),%rdi
mov    -0x8(%rbp),%ecx
mov    $0x5,%esi
lea    0xe7d(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xe70(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
cmpl   $0xffffffff,-0x4(%rbp)
je     11d2 <Send_KeyBindings+0x92>
lea    -0xd(%rbp),%rdi
mov    -0x4(%rbp),%ecx
mov    $0x5,%esi
lea    0xe4b(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xe50(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
jmp    11d7 <Send_KeyBindings+0x97>
lea    -0x8(%rbp),%rsi
lea    0xe4d(%rip),%rdi
call   1030 <Controls_GetKeyBindings@plt>
cmpl   $0xffffffff,-0x8(%rbp)
je     1250 <Send_KeyBindings+0x110>
lea    -0xd(%rbp),%rdi
mov    -0x8(%rbp),%ecx
mov    $0x5,%esi
lea    0xe04(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xe24(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
cmpl   $0xffffffff,-0x4(%rbp)
je     124b <Send_KeyBindings+0x10b>
lea    -0xd(%rbp),%rdi
mov    -0x4(%rbp),%ecx
mov    $0x5,%esi
lea    0xdd2(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xe07(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
jmp    1250 <Send_KeyBindings+0x110>
lea    -0x8(%rbp),%rsi
lea    0xe07(%rip),%rdi
call   1030 <Controls_GetKeyBindings@plt>
cmpl   $0xffffffff,-0x8(%rbp)
je     12c9 <Send_KeyBindings+0x189>
lea    -0xd(%rbp),%rdi
mov    -0x8(%rbp),%ecx
mov    $0x5,%esi
lea    0xd8b(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xdde(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
cmpl   $0xffffffff,-0x4(%rbp)
je     12c4 <Send_KeyBindings+0x184>
lea    -0xd(%rbp),%rdi
mov    -0x4(%rbp),%ecx
mov    $0x5,%esi
lea    0xd59(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xdbf(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
jmp    12c9 <Send_KeyBindings+0x189>
lea    -0x8(%rbp),%rsi
lea    0xdbd(%rip),%rdi
call   1030 <Controls_GetKeyBindings@plt>
cmpl   $0xffffffff,-0x8(%rbp)
je     1342 <Send_KeyBindings+0x202>
lea    -0xd(%rbp),%rdi
mov    -0x8(%rbp),%ecx
mov    $0x5,%esi
lea    0xd12(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xd91(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
cmpl   $0xffffffff,-0x4(%rbp)
je     133d <Send_KeyBindings+0x1fd>
lea    -0xd(%rbp),%rdi
mov    -0x4(%rbp),%ecx
mov    $0x5,%esi
lea    0xce0(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xd6f(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
jmp    1342 <Send_KeyBindings+0x202>
lea    -0x8(%rbp),%rsi
lea    0xd6a(%rip),%rdi
call   1030 <Controls_GetKeyBindings@plt>
cmpl   $0xffffffff,-0x8(%rbp)
je     13bb <Send_KeyBindings+0x27b>
lea    -0xd(%rbp),%rdi
mov    -0x8(%rbp),%ecx
mov    $0x5,%esi
lea    0xc99(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xd42(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
cmpl   $0xffffffff,-0x4(%rbp)
je     13b6 <Send_KeyBindings+0x276>
lea    -0xd(%rbp),%rdi
mov    -0x4(%rbp),%ecx
mov    $0x5,%esi
lea    0xc67(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xd24(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
jmp    13bb <Send_KeyBindings+0x27b>
lea    -0x8(%rbp),%rsi
lea    0xd23(%rip),%rdi
call   1030 <Controls_GetKeyBindings@plt>
cmpl   $0xffffffff,-0x8(%rbp)
je     1434 <Send_KeyBindings+0x2f4>
lea    -0xd(%rbp),%rdi
mov    -0x8(%rbp),%ecx
mov    $0x5,%esi
lea    0xc20(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xcfc(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
cmpl   $0xffffffff,-0x4(%rbp)
je     142f <Send_KeyBindings+0x2ef>
lea    -0xd(%rbp),%rdi
mov    -0x4(%rbp),%ecx
mov    $0x5,%esi
lea    0xbee(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xcdf(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
jmp    1434 <Send_KeyBindings+0x2f4>
lea    -0x8(%rbp),%rsi
lea    0xcdf(%rip),%rdi
call   1030 <Controls_GetKeyBindings@plt>
cmpl   $0xffffffff,-0x8(%rbp)
je     14ad <Send_KeyBindings+0x36d>
lea    -0xd(%rbp),%rdi
mov    -0x8(%rbp),%ecx
mov    $0x5,%esi
lea    0xba7(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xcb3(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
cmpl   $0xffffffff,-0x4(%rbp)
je     14a8 <Send_KeyBindings+0x368>
lea    -0xd(%rbp),%rdi
mov    -0x4(%rbp),%ecx
mov    $0x5,%esi
lea    0xb75(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xc95(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
jmp    14ad <Send_KeyBindings+0x36d>
lea    -0x8(%rbp),%rsi
lea    0xc94(%rip),%rdi
call   1030 <Controls_GetKeyBindings@plt>
cmpl   $0xffffffff,-0x8(%rbp)
je     1526 <Send_KeyBindings+0x3e6>
lea    -0xd(%rbp),%rdi
mov    -0x8(%rbp),%ecx
mov    $0x5,%esi
lea    0xb2e(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xc69(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
cmpl   $0xffffffff,-0x4(%rbp)
je     1521 <Send_KeyBindings+0x3e1>
lea    -0xd(%rbp),%rdi
mov    -0x4(%rbp),%ecx
mov    $0x5,%esi
lea    0xafc(%rip),%rdx
call   1040 <Com_sprintf@plt>
lea    -0xd(%rbp),%rsi
lea    0xc4c(%rip),%rdi
call   1060 <trap_Cvar_Set@plt>
jmp    1526 <Send_KeyBindings+0x3e6>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Send_KeyBindings>:
push   %rbx
sub    $0x10,%rsp
xor    %eax,%eax
call   1050 <trap_Key_GetCatcher@plt>
test   %rax,%rax
jne    14ed <Send_KeyBindings+0x3ad>
lea    0xea4(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Controls_GetKeyBindings@plt>
mov    0x8(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     11c8 <Send_KeyBindings+0x88>
lea    0xe92(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xe7c(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
mov    0xc(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     11c8 <Send_KeyBindings+0x88>
lea    0xe61(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xe5d(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
lea    0xe60(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Controls_GetKeyBindings@plt>
mov    0x8(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     123b <Send_KeyBindings+0xfb>
lea    0xe1f(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xe36(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
mov    0xc(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     123b <Send_KeyBindings+0xfb>
lea    0xdee(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xe1a(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
lea    0xe20(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Controls_GetKeyBindings@plt>
mov    0x8(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     12ae <Send_KeyBindings+0x16e>
lea    0xdac(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xdf6(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
mov    0xc(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     12ae <Send_KeyBindings+0x16e>
lea    0xd7b(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xdd8(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
lea    0xddc(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Controls_GetKeyBindings@plt>
mov    0x8(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     1321 <Send_KeyBindings+0x1e1>
lea    0xd39(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xdaf(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
mov    0xc(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     1321 <Send_KeyBindings+0x1e1>
lea    0xd08(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xd8e(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
lea    0xd8f(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Controls_GetKeyBindings@plt>
mov    0x8(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     1394 <Send_KeyBindings+0x254>
lea    0xcc6(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xd66(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
mov    0xc(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     1394 <Send_KeyBindings+0x254>
lea    0xc95(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xd49(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
lea    0xd4e(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Controls_GetKeyBindings@plt>
mov    0x8(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     1407 <Send_KeyBindings+0x2c7>
lea    0xc53(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xd26(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
mov    0xc(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     1407 <Send_KeyBindings+0x2c7>
lea    0xc22(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xd0a(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
lea    0xd10(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Controls_GetKeyBindings@plt>
mov    0x8(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     147a <Send_KeyBindings+0x33a>
lea    0xbe0(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xce3(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
mov    0xc(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     147a <Send_KeyBindings+0x33a>
lea    0xbaf(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xcc6(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
lea    0xccb(%rip),%rdi
lea    0x8(%rsp),%rsi
call   1030 <Controls_GetKeyBindings@plt>
mov    0x8(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     14ed <Send_KeyBindings+0x3ad>
lea    0xb6d(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xc9f(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
mov    0xc(%rsp),%ecx
cmp    $0xffffffff,%ecx
je     14ed <Send_KeyBindings+0x3ad>
lea    0xb3c(%rip),%rdx
lea    0x3(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
call   1040 <Com_sprintf@plt>
lea    0xc83(%rip),%rdi
mov    %rbx,%rsi
call   1060 <trap_Cvar_Set@plt>
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [8 x i8] c"+attack\00"
@.str.1 = [3 x i8] c"%i\00"
@.str.2 = [18 x i8] c"cl_button_attack1\00"
@.str.3 = [18 x i8] c"cl_button_attack2\00"
@.str.4 = [9 x i8] c"+button6\00"
@.str.5 = [21 x i8] c"cl_button_altattack1\00"
@.str.6 = [21 x i8] c"cl_button_altattack2\00"
@.str.7 = [9 x i8] c"+forward\00"
@.str.8 = [19 x i8] c"cl_button_forward1\00"
@.str.9 = [19 x i8] c"cl_button_forward2\00"
@.str.10 = [6 x i8] c"+back\00"
@.str.11 = [16 x i8] c"cl_button_back1\00"
@.str.12 = [16 x i8] c"cl_button_back2\00"
@.str.13 = [10 x i8] c"+moveleft\00"
@.str.14 = [20 x i8] c"cl_button_moveleft1\00"
@.str.15 = [20 x i8] c"cl_button_moveleft2\00"
@.str.16 = [11 x i8] c"+moveright\00"
@.str.17 = [21 x i8] c"cl_button_moveright1\00"
@.str.18 = [21 x i8] c"cl_button_moveright2\00"
@.str.19 = [6 x i8] c"+left\00"
@.str.20 = [20 x i8] c"cl_button_turnleft1\00"
@.str.21 = [20 x i8] c"cl_button_turnleft2\00"
@.str.22 = [7 x i8] c"+right\00"
@.str.23 = [21 x i8] c"cl_button_turnright1\00"
@.str.24 = [21 x i8] c"cl_button_turnright2\00"
define void @Send_KeyBindings() {
%1 = alloca [2 x i32]
%2 = alloca [5 x i8]
%3 = call i64 (...) @trap_Key_GetCatcher()
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %0
br label %198
6: ; preds = %0
%7 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%8 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32* %7)
%9 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%10 = load i32, i32* %9
%11 = icmp ne i32 %10, -1
br i1 %11, label %12, label %30
12: ; preds = %6
%13 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%14 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%15 = load i32, i32* %14
%16 = call i32 @Com_sprintf(i8* %13, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %15)
%17 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%18 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0), i8* %17)
%19 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%20 = load i32, i32* %19
%21 = icmp ne i32 %20, -1
br i1 %21, label %22, label %29
22: ; preds = %12
%23 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%24 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%25 = load i32, i32* %24
%26 = call i32 @Com_sprintf(i8* %23, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %25)
%27 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%28 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* %27)
br label %29
29: ; preds = %22, %12
br label %30
30: ; preds = %29, %6
%31 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%32 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32* %31)
%33 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%34 = load i32, i32* %33
%35 = icmp ne i32 %34, -1
br i1 %35, label %36, label %54
36: ; preds = %30
%37 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%38 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%39 = load i32, i32* %38
%40 = call i32 @Com_sprintf(i8* %37, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %39)
%41 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%42 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i8* %41)
%43 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%44 = load i32, i32* %43
%45 = icmp ne i32 %44, -1
br i1 %45, label %46, label %53
46: ; preds = %36
%47 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%48 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%49 = load i32, i32* %48
%50 = call i32 @Com_sprintf(i8* %47, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %49)
%51 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%52 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i8* %51)
br label %53
53: ; preds = %46, %36
br label %54
54: ; preds = %53, %30
%55 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%56 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i32* %55)
%57 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%58 = load i32, i32* %57
%59 = icmp ne i32 %58, -1
br i1 %59, label %60, label %78
60: ; preds = %54
%61 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%62 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%63 = load i32, i32* %62
%64 = call i32 @Com_sprintf(i8* %61, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %63)
%65 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%66 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), i8* %65)
%67 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%68 = load i32, i32* %67
%69 = icmp ne i32 %68, -1
br i1 %69, label %70, label %77
70: ; preds = %60
%71 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%72 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%73 = load i32, i32* %72
%74 = call i32 @Com_sprintf(i8* %71, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %73)
%75 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%76 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i8* %75)
br label %77
77: ; preds = %70, %60
br label %78
78: ; preds = %77, %54
%79 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%80 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i32* %79)
%81 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%82 = load i32, i32* %81
%83 = icmp ne i32 %82, -1
br i1 %83, label %84, label %102
84: ; preds = %78
%85 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%86 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%87 = load i32, i32* %86
%88 = call i32 @Com_sprintf(i8* %85, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %87)
%89 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%90 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), i8* %89)
%91 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%92 = load i32, i32* %91
%93 = icmp ne i32 %92, -1
br i1 %93, label %94, label %101
94: ; preds = %84
%95 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%96 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%97 = load i32, i32* %96
%98 = call i32 @Com_sprintf(i8* %95, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %97)
%99 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%100 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.12, i64 0, i64 0), i8* %99)
br label %101
101: ; preds = %94, %84
br label %102
102: ; preds = %101, %78
%103 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%104 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0), i32* %103)
%105 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%106 = load i32, i32* %105
%107 = icmp ne i32 %106, -1
br i1 %107, label %108, label %126
108: ; preds = %102
%109 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%110 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%111 = load i32, i32* %110
%112 = call i32 @Com_sprintf(i8* %109, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %111)
%113 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%114 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.14, i64 0, i64 0), i8* %113)
%115 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%116 = load i32, i32* %115
%117 = icmp ne i32 %116, -1
br i1 %117, label %118, label %125
118: ; preds = %108
%119 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%120 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%121 = load i32, i32* %120
%122 = call i32 @Com_sprintf(i8* %119, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %121)
%123 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%124 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0), i8* %123)
br label %125
125: ; preds = %118, %108
br label %126
126: ; preds = %125, %102
%127 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%128 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0), i32* %127)
%129 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%130 = load i32, i32* %129
%131 = icmp ne i32 %130, -1
br i1 %131, label %132, label %150
132: ; preds = %126
%133 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%134 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%135 = load i32, i32* %134
%136 = call i32 @Com_sprintf(i8* %133, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %135)
%137 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%138 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.17, i64 0, i64 0), i8* %137)
%139 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%140 = load i32, i32* %139
%141 = icmp ne i32 %140, -1
br i1 %141, label %142, label %149
142: ; preds = %132
%143 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%144 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%145 = load i32, i32* %144
%146 = call i32 @Com_sprintf(i8* %143, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %145)
%147 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%148 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.18, i64 0, i64 0), i8* %147)
br label %149
149: ; preds = %142, %132
br label %150
150: ; preds = %149, %126
%151 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%152 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0), i32* %151)
%153 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%154 = load i32, i32* %153
%155 = icmp ne i32 %154, -1
br i1 %155, label %156, label %174
156: ; preds = %150
%157 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%158 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%159 = load i32, i32* %158
%160 = call i32 @Com_sprintf(i8* %157, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %159)
%161 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%162 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.20, i64 0, i64 0), i8* %161)
%163 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%164 = load i32, i32* %163
%165 = icmp ne i32 %164, -1
br i1 %165, label %166, label %173
166: ; preds = %156
%167 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%168 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%169 = load i32, i32* %168
%170 = call i32 @Com_sprintf(i8* %167, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %169)
%171 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%172 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0), i8* %171)
br label %173
173: ; preds = %166, %156
br label %174
174: ; preds = %173, %150
%175 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%176 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.22, i64 0, i64 0), i32* %175)
%177 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%178 = load i32, i32* %177
%179 = icmp ne i32 %178, -1
br i1 %179, label %180, label %198
180: ; preds = %174
%181 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%182 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%183 = load i32, i32* %182
%184 = call i32 @Com_sprintf(i8* %181, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %183)
%185 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%186 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.23, i64 0, i64 0), i8* %185)
%187 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%188 = load i32, i32* %187
%189 = icmp ne i32 %188, -1
br i1 %189, label %190, label %197
190: ; preds = %180
%191 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%192 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%193 = load i32, i32* %192
%194 = call i32 @Com_sprintf(i8* %191, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %193)
%195 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%196 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.24, i64 0, i64 0), i8* %195)
br label %197
197: ; preds = %190, %180
br label %198
198: ; preds = %5, %197, %174
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c"+attack\00"
@.str.1 = [3 x i8] c"%i\00"
@.str.2 = [18 x i8] c"cl_button_attack1\00"
@.str.3 = [18 x i8] c"cl_button_attack2\00"
@.str.4 = [9 x i8] c"+button6\00"
@.str.5 = [21 x i8] c"cl_button_altattack1\00"
@.str.6 = [21 x i8] c"cl_button_altattack2\00"
@.str.7 = [9 x i8] c"+forward\00"
@.str.8 = [19 x i8] c"cl_button_forward1\00"
@.str.9 = [19 x i8] c"cl_button_forward2\00"
@.str.10 = [6 x i8] c"+back\00"
@.str.11 = [16 x i8] c"cl_button_back1\00"
@.str.12 = [16 x i8] c"cl_button_back2\00"
@.str.13 = [10 x i8] c"+moveleft\00"
@.str.14 = [20 x i8] c"cl_button_moveleft1\00"
@.str.15 = [20 x i8] c"cl_button_moveleft2\00"
@.str.16 = [11 x i8] c"+moveright\00"
@.str.17 = [21 x i8] c"cl_button_moveright1\00"
@.str.18 = [21 x i8] c"cl_button_moveright2\00"
@.str.19 = [6 x i8] c"+left\00"
@.str.20 = [20 x i8] c"cl_button_turnleft1\00"
@.str.21 = [20 x i8] c"cl_button_turnleft2\00"
@.str.22 = [7 x i8] c"+right\00"
@.str.23 = [21 x i8] c"cl_button_turnright1\00"
@.str.24 = [21 x i8] c"cl_button_turnright2\00"
define void @Send_KeyBindings() {
%1 = alloca [2 x i32]
%2 = alloca [5 x i8]
%3 = bitcast [2 x i32]* %1 to i8*
%4 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%5 = tail call i64 (...) @trap_Key_GetCatcher()
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %112
7: ; preds = %0
%8 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 0
%9 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32* %8)
%10 = load i32, i32* %8
%11 = icmp eq i32 %10, -1
br i1 %11, label %21, label %12
12: ; preds = %7
%13 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %10)
%14 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0), i8* %4)
%15 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%16 = load i32, i32* %15
%17 = icmp eq i32 %16, -1
br i1 %17, label %21, label %18
18: ; preds = %12
%19 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %16)
%20 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i8* %4)
br label %21
21: ; preds = %12, %18, %7
%22 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i32* %8)
%23 = load i32, i32* %8
%24 = icmp eq i32 %23, -1
br i1 %24, label %34, label %25
25: ; preds = %21
%26 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %23)
%27 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.5, i64 0, i64 0), i8* %4)
%28 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%29 = load i32, i32* %28
%30 = icmp eq i32 %29, -1
br i1 %30, label %34, label %31
31: ; preds = %25
%32 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %29)
%33 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i8* %4)
br label %34
34: ; preds = %25, %31, %21
%35 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i32* %8)
%36 = load i32, i32* %8
%37 = icmp eq i32 %36, -1
br i1 %37, label %47, label %38
38: ; preds = %34
%39 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %36)
%40 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), i8* %4)
%41 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%42 = load i32, i32* %41
%43 = icmp eq i32 %42, -1
br i1 %43, label %47, label %44
44: ; preds = %38
%45 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %42)
%46 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i8* %4)
br label %47
47: ; preds = %38, %44, %34
%48 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i32* %8)
%49 = load i32, i32* %8
%50 = icmp eq i32 %49, -1
br i1 %50, label %60, label %51
51: ; preds = %47
%52 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %49)
%53 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), i8* %4)
%54 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%55 = load i32, i32* %54
%56 = icmp eq i32 %55, -1
br i1 %56, label %60, label %57
57: ; preds = %51
%58 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %55)
%59 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.12, i64 0, i64 0), i8* %4)
br label %60
60: ; preds = %51, %57, %47
%61 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0), i32* %8)
%62 = load i32, i32* %8
%63 = icmp eq i32 %62, -1
br i1 %63, label %73, label %64
64: ; preds = %60
%65 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %62)
%66 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.14, i64 0, i64 0), i8* %4)
%67 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%68 = load i32, i32* %67
%69 = icmp eq i32 %68, -1
br i1 %69, label %73, label %70
70: ; preds = %64
%71 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %68)
%72 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.15, i64 0, i64 0), i8* %4)
br label %73
73: ; preds = %64, %70, %60
%74 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0), i32* %8)
%75 = load i32, i32* %8
%76 = icmp eq i32 %75, -1
br i1 %76, label %86, label %77
77: ; preds = %73
%78 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %75)
%79 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.17, i64 0, i64 0), i8* %4)
%80 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%81 = load i32, i32* %80
%82 = icmp eq i32 %81, -1
br i1 %82, label %86, label %83
83: ; preds = %77
%84 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %81)
%85 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.18, i64 0, i64 0), i8* %4)
br label %86
86: ; preds = %77, %83, %73
%87 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0), i32* %8)
%88 = load i32, i32* %8
%89 = icmp eq i32 %88, -1
br i1 %89, label %99, label %90
90: ; preds = %86
%91 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %88)
%92 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.20, i64 0, i64 0), i8* %4)
%93 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%94 = load i32, i32* %93
%95 = icmp eq i32 %94, -1
br i1 %95, label %99, label %96
96: ; preds = %90
%97 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %94)
%98 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0), i8* %4)
br label %99
99: ; preds = %90, %96, %86
%100 = call i32 @Controls_GetKeyBindings(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.22, i64 0, i64 0), i32* %8)
%101 = load i32, i32* %8
%102 = icmp eq i32 %101, -1
br i1 %102, label %112, label %103
103: ; preds = %99
%104 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %101)
%105 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.23, i64 0, i64 0), i8* %4)
%106 = getelementptr inbounds [2 x i32], [2 x i32]* %1, i64 0, i64 1
%107 = load i32, i32* %106
%108 = icmp eq i32 %107, -1
br i1 %108, label %112, label %109
109: ; preds = %103
%110 = call i32 @Com_sprintf(i8* %4, i32 5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 %107)
%111 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.24, i64 0, i64 0), i8* %4)
br label %112
112: ; preds = %99, %109, %103, %0
ret void
}