void UI_Update(const char *name) {
  int val = trap_Cvar_VariableValue(name);
  if (Q_stricmp(name, "ui_SetName") == 0)
    trap_Cvar_Set("name", UI_Cvar_VariableString("ui_Name"));
  else if (Q_stricmp(name, "ui_setRate") == 0) {
    float rate = trap_Cvar_VariableValue("rate");
    if (rate >= 5000) {
      trap_Cvar_Set("cl_maxpackets", "30");
      trap_Cvar_Set("cl_packetdup", "1");
    } else if (rate >= 4000) {
      trap_Cvar_Set("cl_maxpackets", "15");
      trap_Cvar_Set("cl_packetdup", "2");
    } else {
      trap_Cvar_Set("cl_maxpackets", "15");
      trap_Cvar_Set("cl_packetdup", "1");
    }
  } else if (Q_stricmp(name, "ui_GetName") == 0)
    trap_Cvar_Set("ui_Name", UI_Cvar_VariableString("name"));
  else if (Q_stricmp(name, "r_colorbits") == 0) {
    switch (val) {
    case 0:
      trap_Cvar_SetValue("r_depthbits", 0);
      trap_Cvar_SetValue("r_stencilbits", 0);
      break;
    case 16:
      trap_Cvar_SetValue("r_depthbits", 16);
      trap_Cvar_SetValue("r_stencilbits", 0);
      break;
    case 32:
      trap_Cvar_SetValue("r_depthbits", 24);
      break;
    }
  } else if (Q_stricmp(name, "r_lodbias") == 0) {
    switch (val) {
    case 0:
      trap_Cvar_SetValue("r_subdivisions", 4);
      break;
    case 1:
      trap_Cvar_SetValue("r_subdivisions", 12);
      break;
    case 2:
      trap_Cvar_SetValue("r_subdivisions", 20);
      break;
    }
  } else if (Q_stricmp(name, "ui_glCustom") == 0) {
    switch (val) {
    case 0:
      trap_Cvar_SetValue("r_subdivisions", 4);
      trap_Cvar_SetValue("r_vertexlight", 0);
      trap_Cvar_SetValue("r_lodbias", 0);
      trap_Cvar_SetValue("r_colorbits", 32);
      trap_Cvar_SetValue("r_depthbits", 24);
      trap_Cvar_SetValue("r_picmip", 0);
      trap_Cvar_SetValue("r_texturebits", 32);
      trap_Cvar_SetValue("r_fastSky", 0);
      trap_Cvar_SetValue("r_inGameVideo", 1);
      trap_Cvar_SetValue("cg_shadows", 1);
      trap_Cvar_SetValue("cg_bounceParticles", 1);
      trap_Cvar_Set("r_texturemode", "GL_LINEAR_MIPMAP_LINEAR");
      break;
    case 1:
      trap_Cvar_SetValue("r_subdivisions", 12);
      trap_Cvar_SetValue("r_vertexlight", 0);
      trap_Cvar_SetValue("r_lodbias", 0);
      trap_Cvar_SetValue("r_colorbits", 0);
      trap_Cvar_SetValue("r_depthbits", 24);
      trap_Cvar_SetValue("r_picmip", 1);
      trap_Cvar_SetValue("r_texturebits", 0);
      trap_Cvar_SetValue("r_fastSky", 0);
      trap_Cvar_SetValue("r_inGameVideo", 1);
      trap_Cvar_Set("r_texturemode", "GL_LINEAR_MIPMAP_LINEAR");
      trap_Cvar_SetValue("cg_shadows", 0);
      trap_Cvar_SetValue("cg_bounceParticles", 0);
      break;
    case 2:
      trap_Cvar_SetValue("r_subdivisions", 8);
      trap_Cvar_SetValue("r_vertexlight", 0);
      trap_Cvar_SetValue("r_lodbias", 1);
      trap_Cvar_SetValue("r_colorbits", 0);
      trap_Cvar_SetValue("r_depthbits", 0);
      trap_Cvar_SetValue("r_picmip", 1);
      trap_Cvar_SetValue("r_texturebits", 0);
      trap_Cvar_SetValue("cg_shadows", 0);
      trap_Cvar_SetValue("r_fastSky", 1);
      trap_Cvar_SetValue("r_inGameVideo", 0);
      trap_Cvar_SetValue("cg_bounceParticles", 0);
      trap_Cvar_Set("r_texturemode", "GL_LINEAR_MIPMAP_NEAREST");
      break;
    case 3:
      trap_Cvar_SetValue("r_subdivisions", 20);
      trap_Cvar_SetValue("r_vertexlight", 1);
      trap_Cvar_SetValue("r_lodbias", 2);
      trap_Cvar_SetValue("r_colorbits", 16);
      trap_Cvar_SetValue("r_depthbits", 16);
      trap_Cvar_SetValue("r_picmip", 2);
      trap_Cvar_SetValue("r_texturebits", 16);
      trap_Cvar_SetValue("cg_shadows", 0);
      trap_Cvar_SetValue("r_fastSky", 1);
      trap_Cvar_SetValue("r_inGameVideo", 0);
      trap_Cvar_SetValue("cg_bounceParticles", 0);
      trap_Cvar_Set("r_texturemode", "GL_LINEAR_MIPMAP_NEAREST");
      break;
    }
  } else if (Q_stricmp(name, "ui_mousePitch") == 0) {
    if (val == 0)
      trap_Cvar_SetValue("m_pitch", 0.022f);
    else
      trap_Cvar_SetValue("m_pitch", -0.022f);
  }
}


x86 assembly (clang, -O0):
<UI_Update>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x0,%al
call   1050 <trap_Cvar_VariableValue@plt>
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xeb3(%rip),%rsi
mov    $0x0,%al
call   1030 <Q_stricmp@plt>
cmp    $0x0,%eax
jne    11a8 <UI_Update+0x58>
lea    0xeac(%rip),%rdi
mov    $0x0,%al
call   1040 <UI_Cvar_VariableString@plt>
mov    %eax,%esi
lea    0xe97(%rip),%rdi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
jmp    1849 <UI_Update+0x6f9>
mov    -0x8(%rbp),%rdi
lea    0xe8d(%rip),%rsi
mov    $0x0,%al
call   1030 <Q_stricmp@plt>
cmp    $0x0,%eax
jne    1298 <UI_Update+0x148>
lea    0xe81(%rip),%rdi
mov    $0x0,%al
call   1050 <trap_Cvar_VariableValue@plt>
cvtsi2ss %eax,%xmm0
movss  %xmm0,-0x10(%rbp)
movss  -0x10(%rbp),%xmm0
movss  0xe29(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     121f <UI_Update+0xcf>
lea    0xe59(%rip),%rdi
lea    0xe60(%rip),%rsi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
lea    0xe55(%rip),%rdi
lea    0xe5b(%rip),%rsi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
jmp    1293 <UI_Update+0x143>
movss  -0x10(%rbp),%xmm0
movss  0xde8(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     1264 <UI_Update+0x114>
lea    0xe14(%rip),%rdi
lea    0xe2d(%rip),%rsi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
lea    0xe10(%rip),%rdi
lea    0xe1b(%rip),%rsi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
jmp    128e <UI_Update+0x13e>
lea    0xde5(%rip),%rdi
lea    0xdfe(%rip),%rsi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
lea    0xde1(%rip),%rdi
lea    0xde7(%rip),%rsi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
jmp    1293 <UI_Update+0x143>
jmp    1844 <UI_Update+0x6f4>
mov    -0x8(%rbp),%rdi
lea    0xdd2(%rip),%rsi
mov    $0x0,%al
call   1030 <Q_stricmp@plt>
cmp    $0x0,%eax
jne    12d6 <UI_Update+0x186>
lea    0xd79(%rip),%rdi
mov    $0x0,%al
call   1040 <UI_Cvar_VariableString@plt>
mov    %eax,%esi
lea    0xd6e(%rip),%rdi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
jmp    183f <UI_Update+0x6ef>
mov    -0x8(%rbp),%rdi
lea    0xd9f(%rip),%rsi
mov    $0x0,%al
call   1030 <Q_stricmp@plt>
cmp    $0x0,%eax
jne    138b <UI_Update+0x23b>
mov    -0xc(%rbp),%eax
mov    %eax,-0x14(%rbp)
test   %eax,%eax
je     1326 <UI_Update+0x1d6>
jmp    1304 <UI_Update+0x1b4>
mov    -0x14(%rbp),%eax
sub    $0x10,%eax
je     134b <UI_Update+0x1fb>
jmp    1315 <UI_Update+0x1c5>
mov    -0x14(%rbp),%eax
sub    $0x20,%eax
je     1373 <UI_Update+0x223>
jmp    1386 <UI_Update+0x236>
lea    0xd5f(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd5b(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
jmp    1386 <UI_Update+0x236>
lea    0xd3a(%rip),%rdi
mov    $0x10,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd33(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
jmp    1386 <UI_Update+0x236>
lea    0xd12(%rip),%rdi
mov    $0x18,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
jmp    183a <UI_Update+0x6ea>
mov    -0x8(%rbp),%rdi
lea    0xd10(%rip),%rsi
mov    $0x0,%al
call   1030 <Q_stricmp@plt>
cmp    $0x0,%eax
jne    1423 <UI_Update+0x2d3>
mov    -0xc(%rbp),%eax
mov    %eax,-0x18(%rbp)
test   %eax,%eax
je     13db <UI_Update+0x28b>
jmp    13b9 <UI_Update+0x269>
mov    -0x18(%rbp),%eax
sub    $0x1,%eax
je     13f3 <UI_Update+0x2a3>
jmp    13ca <UI_Update+0x27a>
mov    -0x18(%rbp),%eax
sub    $0x2,%eax
je     140b <UI_Update+0x2bb>
jmp    141e <UI_Update+0x2ce>
lea    0xcce(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
jmp    141e <UI_Update+0x2ce>
lea    0xcb6(%rip),%rdi
mov    $0xc,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
jmp    141e <UI_Update+0x2ce>
lea    0xc9e(%rip),%rdi
mov    $0x14,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
jmp    1835 <UI_Update+0x6e5>
mov    -0x8(%rbp),%rdi
lea    0xc91(%rip),%rsi
mov    $0x0,%al
call   1030 <Q_stricmp@plt>
cmp    $0x0,%eax
jne    17d0 <UI_Update+0x680>
mov    -0xc(%rbp),%eax
mov    %rax,-0x20(%rbp)
sub    $0x3,%rax
ja     17cb <UI_Update+0x67b>
mov    -0x20(%rbp),%rax
lea    0xbbe(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xc46(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xc4e(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xc19(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbe3(%rip),%rdi
mov    $0x20,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbdc(%rip),%rdi
mov    $0x18,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xc16(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xc0f(%rip),%rdi
mov    $0x20,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xc0a(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xc04(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbff(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbf7(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbf7(%rip),%rdi
lea    0xbfe(%rip),%rsi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
jmp    17cb <UI_Update+0x67b>
lea    0xb67(%rip),%rdi
mov    $0xc,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb6f(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb3a(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb04(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb00(%rip),%rdi
mov    $0x18,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb3a(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb30(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb2e(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb28(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb41(%rip),%rdi
lea    0xb48(%rip),%rsi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
lea    0xb0e(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb09(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
jmp    17cb <UI_Update+0x67b>
lea    0xa91(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa99(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa64(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa2b(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa27(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa64(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa5a(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa70(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa48(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa3f(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa48(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa4b(%rip),%rdi
lea    0xa6a(%rip),%rsi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
jmp    17cb <UI_Update+0x67b>
lea    0x9bb(%rip),%rdi
mov    $0x14,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x9c3(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x98b(%rip),%rdi
mov    $0x2,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x952(%rip),%rdi
mov    $0x10,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x94b(%rip),%rdi
mov    $0x10,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x985(%rip),%rdi
mov    $0x2,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x97b(%rip),%rdi
mov    $0x10,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x98e(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x966(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x95d(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x966(%rip),%rdi
xor    %esi,%esi
mov    $0x0,%al
call   1060 <trap_Cvar_SetValue@plt>
lea    0x969(%rip),%rdi
lea    0x988(%rip),%rsi
mov    $0x0,%al
call   1070 <trap_Cvar_Set@plt>
jmp    1830 <UI_Update+0x6e0>
mov    -0x8(%rbp),%rdi
lea    0x98a(%rip),%rsi
mov    $0x0,%al
call   1030 <Q_stricmp@plt>
cmp    $0x0,%eax
jne    182b <UI_Update+0x6db>
cmpl   $0x0,-0xc(%rbp)
jne    1810 <UI_Update+0x6c0>
lea    0x977(%rip),%rdi
movsd  0x804(%rip),%xmm0
mov    $0x1,%al
call   1060 <trap_Cvar_SetValue@plt>
jmp    1826 <UI_Update+0x6d6>
lea    0x95c(%rip),%rdi
movsd  0x7e1(%rip),%xmm0
mov    $0x1,%al
call   1060 <trap_Cvar_SetValue@plt>
jmp    182b <UI_Update+0x6db>
jmp    1830 <UI_Update+0x6e0>
jmp    1835 <UI_Update+0x6e5>
jmp    183a <UI_Update+0x6ea>
jmp    183f <UI_Update+0x6ef>
jmp    1844 <UI_Update+0x6f4>
jmp    1849 <UI_Update+0x6f9>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<UI_Update>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
xor    %eax,%eax
call   1050 <trap_Cvar_VariableValue@plt>
mov    %eax,%ebp
lea    0xeba(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <Q_stricmp@plt>
test   %eax,%eax
je     122a <UI_Update+0xda>
lea    0xeb9(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <Q_stricmp@plt>
test   %eax,%eax
je     1241 <UI_Update+0xf1>
lea    0xed5(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <Q_stricmp@plt>
test   %eax,%eax
je     126d <UI_Update+0x11d>
lea    0xec7(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <Q_stricmp@plt>
test   %eax,%eax
je     12db <UI_Update+0x18b>
lea    0xed4(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <Q_stricmp@plt>
test   %eax,%eax
je     1303 <UI_Update+0x1b3>
lea    0xed4(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <Q_stricmp@plt>
test   %eax,%eax
je     132e <UI_Update+0x1de>
lea    0xf61(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <Q_stricmp@plt>
test   %eax,%eax
jne    1421 <UI_Update+0x2d1>
lea    0xf56(%rip),%rdi
test   %ebp,%ebp
je     147b <UI_Update+0x32b>
movsd  0xddb(%rip),%xmm0
jmp    1483 <UI_Update+0x333>
lea    0xdff(%rip),%rdi
xor    %eax,%eax
call   1040 <UI_Cvar_VariableString@plt>
lea    0xdec(%rip),%rdi
jmp    1282 <UI_Update+0x132>
lea    0xdfb(%rip),%rdi
xor    %eax,%eax
call   1050 <trap_Cvar_VariableValue@plt>
cmp    $0x1388,%eax
jl     1291 <UI_Update+0x141>
lea    0xdeb(%rip),%rdi
lea    0xdf2(%rip),%rsi
xor    %eax,%eax
call   1070 <trap_Cvar_Set@plt>
jmp    12c0 <UI_Update+0x170>
lea    0xdb7(%rip),%rdi
xor    %eax,%eax
call   1040 <UI_Cvar_VariableString@plt>
lea    0xdae(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
jmp    1070 <trap_Cvar_Set@plt>
mov    %eax,%ebx
lea    0xdae(%rip),%rdi
lea    0xdc7(%rip),%rsi
xor    %eax,%eax
call   1070 <trap_Cvar_Set@plt>
cmp    $0xfa0,%ebx
jl     12c0 <UI_Update+0x170>
lea    0xda2(%rip),%rdi
lea    0xdad(%rip),%rsi
jmp    12ce <UI_Update+0x17e>
lea    0xd92(%rip),%rdi
lea    0xd98(%rip),%rsi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
jmp    1070 <trap_Cvar_Set@plt>
cmp    $0x20,%ebp
je     1428 <UI_Update+0x2d8>
cmp    $0x10,%ebp
je     1436 <UI_Update+0x2e6>
test   %ebp,%ebp
jne    1421 <UI_Update+0x2d1>
lea    0xd88(%rip),%rdi
xor    %esi,%esi
jmp    1442 <UI_Update+0x2f2>
cmp    $0x2,%ebp
je     1454 <UI_Update+0x304>
cmp    $0x1,%ebp
je     1462 <UI_Update+0x312>
test   %ebp,%ebp
jne    1421 <UI_Update+0x2d1>
lea    0xd84(%rip),%rdi
mov    $0x4,%esi
jmp    146e <UI_Update+0x31e>
cmp    $0x3,%ebp
ja     1421 <UI_Update+0x2d1>
mov    %ebp,%eax
lea    0xcd0(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xd58(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd60(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd2b(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xcf5(%rip),%rdi
mov    $0x20,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xcee(%rip),%rdi
mov    $0x18,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd28(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd21(%rip),%rdi
mov    $0x20,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd1c(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd16(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd11(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd09(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xd09(%rip),%rdi
lea    0xd10(%rip),%rsi
jmp    12ce <UI_Update+0x17e>
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret
lea    0xc55(%rip),%rdi
mov    $0x18,%esi
jmp    146e <UI_Update+0x31e>
lea    0xc47(%rip),%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xc40(%rip),%rdi
xor    %esi,%esi
jmp    146e <UI_Update+0x31e>
lea    0xc4d(%rip),%rdi
mov    $0x14,%esi
jmp    146e <UI_Update+0x31e>
lea    0xc3f(%rip),%rdi
mov    $0xc,%esi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
jmp    1060 <trap_Cvar_SetValue@plt>
movsd  0xb85(%rip),%xmm0
mov    $0x1,%al
add    $0x8,%rsp
pop    %rbx
pop    %rbp
jmp    1060 <trap_Cvar_SetValue@plt>
lea    0xc11(%rip),%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xc19(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbe4(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbae(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbaa(%rip),%rdi
mov    $0x18,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbe4(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbda(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbd8(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbd2(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbeb(%rip),%rdi
lea    0xbf2(%rip),%rsi
xor    %eax,%eax
call   1070 <trap_Cvar_Set@plt>
lea    0xbb8(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xbb3(%rip),%rdi
jmp    1450 <UI_Update+0x300>
lea    0xb44(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb4c(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb17(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xade(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xada(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb17(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xb0d(%rip),%rdi
xor    %esi,%esi
jmp    164f <UI_Update+0x4ff>
lea    0xad0(%rip),%rdi
mov    $0x14,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xad8(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xaa0(%rip),%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa67(%rip),%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa60(%rip),%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa9a(%rip),%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa90(%rip),%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xaa3(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa7b(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa72(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa7b(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <trap_Cvar_SetValue@plt>
lea    0xa7e(%rip),%rdi
lea    0xa9d(%rip),%rsi
jmp    12ce <UI_Update+0x17e>

LLVM IR (-O0):
@.str = [11 x i8] c"ui_SetName\00"
@.str.1 = [5 x i8] c"name\00"
@.str.2 = [8 x i8] c"ui_Name\00"
@.str.3 = [11 x i8] c"ui_setRate\00"
@.str.4 = [5 x i8] c"rate\00"
@.str.5 = [14 x i8] c"cl_maxpackets\00"
@.str.6 = [3 x i8] c"30\00"
@.str.7 = [13 x i8] c"cl_packetdup\00"
@.str.8 = [2 x i8] c"1\00"
@.str.9 = [3 x i8] c"15\00"
@.str.10 = [2 x i8] c"2\00"
@.str.11 = [11 x i8] c"ui_GetName\00"
@.str.12 = [12 x i8] c"r_colorbits\00"
@.str.13 = [12 x i8] c"r_depthbits\00"
@.str.14 = [14 x i8] c"r_stencilbits\00"
@.str.15 = [10 x i8] c"r_lodbias\00"
@.str.16 = [15 x i8] c"r_subdivisions\00"
@.str.17 = [12 x i8] c"ui_glCustom\00"
@.str.18 = [14 x i8] c"r_vertexlight\00"
@.str.19 = [9 x i8] c"r_picmip\00"
@.str.20 = [14 x i8] c"r_texturebits\00"
@.str.21 = [10 x i8] c"r_fastSky\00"
@.str.22 = [14 x i8] c"r_inGameVideo\00"
@.str.23 = [11 x i8] c"cg_shadows\00"
@.str.24 = [19 x i8] c"cg_bounceParticles\00"
@.str.25 = [14 x i8] c"r_texturemode\00"
@.str.26 = [24 x i8] c"GL_LINEAR_MIPMAP_LINEAR\00"
@.str.27 = [25 x i8] c"GL_LINEAR_MIPMAP_NEAREST\00"
@.str.28 = [14 x i8] c"ui_mousePitch\00"
@.str.29 = [8 x i8] c"m_pitch\00"
define void @UI_Update(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
%4 = alloca float
store i8* %0, i8** %2
%5 = load i8*, i8** %2
%6 = call i32 (i8*, ...) bitcast (i32 (...)* @trap_Cvar_VariableValue to i32 (i8*, ...)*)(i8* %5)
store i32 %6, i32* %3
%7 = load i8*, i8** %2
%8 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %7, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = call i32 (i8*, ...) bitcast (i32 (...)* @UI_Cvar_VariableString to i32 (i8*, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%12 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %11)
br label %148
13: ; preds = %1
%14 = load i8*, i8** %2
%15 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %14, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %36
17: ; preds = %13
%18 = call i32 (i8*, ...) bitcast (i32 (...)* @trap_Cvar_VariableValue to i32 (i8*, ...)*)(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%19 = sitofp i32 %18 to float
store float %19, float* %4
%20 = load float, float* %4
%21 = fcmp oge float %20, 5.000000e+03
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%24 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %35
25: ; preds = %17
%26 = load float, float* %4
%27 = fcmp oge float %26, 4.000000e+03
br i1 %27, label %28, label %31
28: ; preds = %25
%29 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%30 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %34
31: ; preds = %25
%32 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
%33 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %34
34: ; preds = %31, %28
br label %35
35: ; preds = %34, %22
br label %147
36: ; preds = %13
%37 = load i8*, i8** %2
%38 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %37, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0))
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = call i32 (i8*, ...) bitcast (i32 (...)* @UI_Cvar_VariableString to i32 (i8*, ...)*)(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%42 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 %41)
br label %146
43: ; preds = %36
%44 = load i8*, i8** %2
%45 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %44, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0))
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %58
47: ; preds = %43
%48 = load i32, i32* %3
switch i32 %48, label %57 [
i32 0, label %49
i32 16, label %52
i32 32, label %55
]
49: ; preds = %47
%50 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 0)
%51 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i32 0)
br label %57
52: ; preds = %47
%53 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 16)
%54 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i32 0)
br label %57
55: ; preds = %47
%56 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 24)
br label %57
57: ; preds = %47, %55, %52, %49
br label %145
58: ; preds = %43
%59 = load i8*, i8** %2
%60 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %59, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0))
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %71
62: ; preds = %58
%63 = load i32, i32* %3
switch i32 %63, label %70 [
i32 0, label %64
i32 1, label %66
i32 2, label %68
]
64: ; preds = %62
%65 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 4)
br label %70
66: ; preds = %62
%67 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 12)
br label %70
68: ; preds = %62
%69 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 20)
br label %70
70: ; preds = %62, %68, %66, %64
br label %144
71: ; preds = %58
%72 = load i8*, i8** %2
%73 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %72, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0))
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %130
75: ; preds = %71
%76 = load i32, i32* %3
switch i32 %76, label %129 [
i32 0, label %77
i32 1, label %90
i32 2, label %103
i32 3, label %116
]
77: ; preds = %75
%78 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 4)
%79 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i32 0)
%80 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i32 0)
%81 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 32)
%82 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 24)
%83 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i32 0)
%84 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), i32 32)
%85 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i32 0)
%86 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i32 1)
%87 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0), i32 1)
%88 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.24, i64 0, i64 0), i32 1)
%89 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.26, i64 0, i64 0))
br label %129
90: ; preds = %75
%91 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 12)
%92 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i32 0)
%93 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i32 0)
%94 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 0)
%95 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 24)
%96 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i32 1)
%97 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), i32 0)
%98 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i32 0)
%99 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i32 1)
%100 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.26, i64 0, i64 0))
%101 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0), i32 0)
%102 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.24, i64 0, i64 0), i32 0)
br label %129
103: ; preds = %75
%104 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 8)
%105 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i32 0)
%106 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i32 1)
%107 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 0)
%108 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 0)
%109 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i32 1)
%110 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), i32 0)
%111 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0), i32 0)
%112 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i32 1)
%113 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i32 0)
%114 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.24, i64 0, i64 0), i32 0)
%115 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.27, i64 0, i64 0))
br label %129
116: ; preds = %75
%117 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 20)
%118 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i32 1)
%119 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i32 2)
%120 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 16)
%121 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 16)
%122 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i32 2)
%123 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), i32 16)
%124 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0), i32 0)
%125 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i32 1)
%126 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i32 0)
%127 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.24, i64 0, i64 0), i32 0)
%128 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.27, i64 0, i64 0))
br label %129
129: ; preds = %75, %116, %103, %90, %77
br label %143
130: ; preds = %71
%131 = load i8*, i8** %2
%132 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %131, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.28, i64 0, i64 0))
%133 = icmp eq i32 %132, 0
br i1 %133, label %134, label %142
134: ; preds = %130
%135 = load i32, i32* %3
%136 = icmp eq i32 %135, 0
br i1 %136, label %137, label %139
137: ; preds = %134
%138 = call i32 (i8*, double, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, double, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0), double 0x3F96872B00000000)
br label %141
139: ; preds = %134
%140 = call i32 (i8*, double, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, double, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0), double 0xBF96872B00000000)
br label %141
141: ; preds = %139, %137
br label %142
142: ; preds = %141, %130
br label %143
143: ; preds = %142, %129
br label %144
144: ; preds = %143, %70
br label %145
145: ; preds = %144, %57
br label %146
146: ; preds = %145, %40
br label %147
147: ; preds = %146, %35
br label %148
148: ; preds = %147, %10
ret void
}

LLVM IR (-O2):
@.str = [11 x i8] c"ui_SetName\00"
@.str.1 = [5 x i8] c"name\00"
@.str.2 = [8 x i8] c"ui_Name\00"
@.str.3 = [11 x i8] c"ui_setRate\00"
@.str.4 = [5 x i8] c"rate\00"
@.str.5 = [14 x i8] c"cl_maxpackets\00"
@.str.6 = [3 x i8] c"30\00"
@.str.7 = [13 x i8] c"cl_packetdup\00"
@.str.8 = [2 x i8] c"1\00"
@.str.9 = [3 x i8] c"15\00"
@.str.10 = [2 x i8] c"2\00"
@.str.11 = [11 x i8] c"ui_GetName\00"
@.str.12 = [12 x i8] c"r_colorbits\00"
@.str.13 = [12 x i8] c"r_depthbits\00"
@.str.14 = [14 x i8] c"r_stencilbits\00"
@.str.15 = [10 x i8] c"r_lodbias\00"
@.str.16 = [15 x i8] c"r_subdivisions\00"
@.str.17 = [12 x i8] c"ui_glCustom\00"
@.str.18 = [14 x i8] c"r_vertexlight\00"
@.str.19 = [9 x i8] c"r_picmip\00"
@.str.20 = [14 x i8] c"r_texturebits\00"
@.str.21 = [10 x i8] c"r_fastSky\00"
@.str.22 = [14 x i8] c"r_inGameVideo\00"
@.str.23 = [11 x i8] c"cg_shadows\00"
@.str.24 = [19 x i8] c"cg_bounceParticles\00"
@.str.25 = [14 x i8] c"r_texturemode\00"
@.str.26 = [24 x i8] c"GL_LINEAR_MIPMAP_LINEAR\00"
@.str.27 = [25 x i8] c"GL_LINEAR_MIPMAP_NEAREST\00"
@.str.28 = [14 x i8] c"ui_mousePitch\00"
@.str.29 = [8 x i8] c"m_pitch\00"
define void @UI_Update(i8* %0) {
%2 = tail call i32 (i8*, ...) bitcast (i32 (...)* @trap_Cvar_VariableValue to i32 (i8*, ...)*)(i8* %0)
%3 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%4 = icmp eq i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = tail call i32 (i8*, ...) bitcast (i32 (...)* @UI_Cvar_VariableString to i32 (i8*, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %6)
br label %117
8: ; preds = %1
%9 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %24
11: ; preds = %8
%12 = tail call i32 (i8*, ...) bitcast (i32 (...)* @trap_Cvar_VariableValue to i32 (i8*, ...)*)(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%13 = icmp sgt i32 %12, 4999
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%16 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %117
17: ; preds = %11
%18 = icmp sgt i32 %12, 3999
%19 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
br i1 %18, label %20, label %22
20: ; preds = %17
%21 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %117
22: ; preds = %17
%23 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %117
24: ; preds = %8
%25 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0))
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = tail call i32 (i8*, ...) bitcast (i32 (...)* @UI_Cvar_VariableString to i32 (i8*, ...)*)(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%29 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i32 %28)
br label %117
30: ; preds = %24
%31 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0))
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %42
33: ; preds = %30
switch i32 %2, label %117 [
i32 0, label %34
i32 16, label %37
i32 32, label %40
]
34: ; preds = %33
%35 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 0)
%36 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i32 0)
br label %117
37: ; preds = %33
%38 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 16)
%39 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0), i32 0)
br label %117
40: ; preds = %33
%41 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 24)
br label %117
42: ; preds = %30
%43 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0))
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %52
45: ; preds = %42
switch i32 %2, label %117 [
i32 0, label %46
i32 1, label %48
i32 2, label %50
]
46: ; preds = %45
%47 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 4)
br label %117
48: ; preds = %45
%49 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 12)
br label %117
50: ; preds = %45
%51 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 20)
br label %117
52: ; preds = %42
%53 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0))
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %108
55: ; preds = %52
switch i32 %2, label %117 [
i32 0, label %56
i32 1, label %69
i32 2, label %82
i32 3, label %95
]
56: ; preds = %55
%57 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 4)
%58 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i32 0)
%59 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i32 0)
%60 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 32)
%61 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 24)
%62 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i32 0)
%63 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), i32 32)
%64 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i32 0)
%65 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i32 1)
%66 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0), i32 1)
%67 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.24, i64 0, i64 0), i32 1)
%68 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.26, i64 0, i64 0))
br label %117
69: ; preds = %55
%70 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 12)
%71 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i32 0)
%72 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i32 0)
%73 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 0)
%74 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 24)
%75 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i32 1)
%76 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), i32 0)
%77 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i32 0)
%78 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i32 1)
%79 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.26, i64 0, i64 0))
%80 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0), i32 0)
%81 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.24, i64 0, i64 0), i32 0)
br label %117
82: ; preds = %55
%83 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 8)
%84 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i32 0)
%85 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i32 1)
%86 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 0)
%87 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 0)
%88 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i32 1)
%89 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), i32 0)
%90 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0), i32 0)
%91 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i32 1)
%92 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i32 0)
%93 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.24, i64 0, i64 0), i32 0)
%94 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.27, i64 0, i64 0))
br label %117
95: ; preds = %55
%96 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0), i32 20)
%97 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i32 1)
%98 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0), i32 2)
%99 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0), i32 16)
%100 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.13, i64 0, i64 0), i32 16)
%101 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i32 2)
%102 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.20, i64 0, i64 0), i32 16)
%103 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0), i32 0)
%104 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i32 1)
%105 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i32 0)
%106 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.24, i64 0, i64 0), i32 0)
%107 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @trap_Cvar_Set to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.27, i64 0, i64 0))
br label %117
108: ; preds = %52
%109 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @Q_stricmp to i32 (i8*, i8*, ...)*)(i8* %0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.28, i64 0, i64 0))
%110 = icmp eq i32 %109, 0
br i1 %110, label %111, label %117
111: ; preds = %108
%112 = icmp eq i32 %2, 0
br i1 %112, label %113, label %115
113: ; preds = %111
%114 = tail call i32 (i8*, double, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, double, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0), double 0x3F96872B00000000)
br label %117
115: ; preds = %111
%116 = tail call i32 (i8*, double, ...) bitcast (i32 (...)* @trap_Cvar_SetValue to i32 (i8*, double, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.29, i64 0, i64 0), double 0xBF96872B00000000)
br label %117
117: ; preds = %14, %22, %20, %33, %40, %37, %34, %55, %95, %82, %69, %56, %113, %115, %108, %46, %48, %50, %45, %27, %5
ret void
}