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

/* Variables and functions */
char *UI_Cvar_VariableString(char *);
int /*<<< orphan*/ trap_Cvar_Register(void *, char *, char *, int);
int /*<<< orphan*/ trap_Cvar_Set(char *, char *);
void UI_GetVideoSetup(void) {
  trap_Cvar_Register(((void *)0), "ui_r_glCustom", "4",
                     0x00000040 | 0x00000800 | 0x00000001);
  trap_Cvar_Register(((void *)0), "ui_r_mode", "0", 0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_fullscreen", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_colorbits", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_lodbias", "0", 0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_picmip", "0", 0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_texturebits", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_texturemode", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_detailtextures", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_ext_compress_textures", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_depthbits", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_subdivisions", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_fastSky", "0", 0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_inGameVideo", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_allowExtensions", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_cg_shadows", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Register(((void *)0), "ui_r_modified", "0",
                     0x00000040 | 0x00000800);
  trap_Cvar_Set("ui_r_mode", UI_Cvar_VariableString("r_mode"));
  trap_Cvar_Set("ui_r_colorbits", UI_Cvar_VariableString("r_colorbits"));
  trap_Cvar_Set("ui_r_fullscreen", UI_Cvar_VariableString("r_fullscreen"));
  trap_Cvar_Set("ui_r_lodbias", UI_Cvar_VariableString("r_lodbias"));
  trap_Cvar_Set("ui_r_picmip", UI_Cvar_VariableString("r_picmip"));
  trap_Cvar_Set("ui_r_texturebits", UI_Cvar_VariableString("r_texturebits"));
  trap_Cvar_Set("ui_r_texturemode", UI_Cvar_VariableString("r_texturemode"));
  trap_Cvar_Set("ui_r_detailtextures",
                UI_Cvar_VariableString("r_detailtextures"));
  trap_Cvar_Set("ui_r_ext_compress_textures",
                UI_Cvar_VariableString("r_ext_compress_textures"));
  trap_Cvar_Set("ui_r_depthbits", UI_Cvar_VariableString("r_depthbits"));
  trap_Cvar_Set("ui_r_subdivisions", UI_Cvar_VariableString("r_subdivisions"));
  trap_Cvar_Set("ui_r_fastSky", UI_Cvar_VariableString("r_fastSky"));
  trap_Cvar_Set("ui_r_inGameVideo", UI_Cvar_VariableString("r_inGameVideo"));
  trap_Cvar_Set("ui_r_allowExtensions",
                UI_Cvar_VariableString("r_allowExtensions"));
  trap_Cvar_Set("ui_cg_shadows", UI_Cvar_VariableString("cg_shadows"));
  trap_Cvar_Set("ui_r_modified", "0");
}


x86 assembly (clang, -O0):
<UI_GetVideoSetup>:
push   %rbp
mov    %rsp,%rbp
xor    %eax,%eax
mov    %eax,%edi
lea    0xec1(%rip),%rsi
lea    0xec8(%rip),%rdx
mov    $0x841,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xeb5(%rip),%rsi
lea    0xeb8(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xea5(%rip),%rsi
lea    0xe9c(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe99(%rip),%rsi
lea    0xe80(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe8c(%rip),%rsi
lea    0xe64(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe7d(%rip),%rsi
lea    0xe48(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe6d(%rip),%rsi
lea    0xe2c(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe62(%rip),%rsi
lea    0xe10(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe57(%rip),%rsi
lea    0xdf4(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe4f(%rip),%rsi
lea    0xdd8(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe4e(%rip),%rsi
lea    0xdbc(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe41(%rip),%rsi
lea    0xda0(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe37(%rip),%rsi
lea    0xd84(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe28(%rip),%rsi
lea    0xd68(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe1d(%rip),%rsi
lea    0xd4c(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe16(%rip),%rsi
lea    0xd30(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe08(%rip),%rsi
lea    0xd14(%rip),%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xcfc(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xcea(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xcfd(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xceb(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xcd2(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xcc0(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xcd6(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xcc4(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xcc8(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xcb6(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xcb9(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xca7(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xcaf(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xc9d(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xca5(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xc93(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xc9e(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xc8c(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xc9e(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xc8c(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xc92(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xc80(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xc89(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xc77(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xc7b(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xc69(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xc71(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xc5f(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xc6b(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rax,%rsi
lea    0xc59(%rip),%rdi
call   1050 <trap_Cvar_Set@plt>
lea    0xc5b(%rip),%rdi
lea    0xb67(%rip),%rsi
call   1050 <trap_Cvar_Set@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<UI_GetVideoSetup>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xebe(%rip),%rsi
lea    0xec5(%rip),%rdx
xor    %edi,%edi
mov    $0x841,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xeb4(%rip),%rbp
lea    0xeb7(%rip),%rbx
xor    %edi,%edi
mov    %rbp,%rsi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xea0(%rip),%r15
xor    %edi,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe97(%rip),%r14
xor    %edi,%edi
mov    %r14,%rsi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe8d(%rip),%r13
xor    %edi,%edi
mov    %r13,%rsi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe81(%rip),%r12
xor    %edi,%edi
mov    %r12,%rsi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe74(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe6f(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe6a(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe68(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe6d(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe66(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe62(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe59(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe54(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe53(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xe4b(%rip),%rsi
xor    %edi,%edi
mov    %rbx,%rdx
mov    $0x840,%ecx
call   1030 <trap_Cvar_Register@plt>
lea    0xd41(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %rbp,%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xd46(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %r14,%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xd1f(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %r15,%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xd27(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %r13,%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xd1d(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
mov    %r12,%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xd12(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
lea    0xd03(%rip),%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xd08(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
lea    0xcf9(%rip),%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xcfe(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
lea    0xcef(%rip),%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xcf7(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
lea    0xce8(%rip),%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xcf7(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
lea    0xce8(%rip),%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xceb(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
lea    0xcdc(%rip),%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xce2(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
lea    0xcd3(%rip),%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xcd4(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
lea    0xcc5(%rip),%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xcca(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
lea    0xcbb(%rip),%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xcc4(%rip),%rdi
call   1040 <UI_Cvar_VariableString@plt>
lea    0xcb5(%rip),%rdi
mov    %rax,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xcb4(%rip),%rdi
mov    %rbx,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <trap_Cvar_Set@plt>

LLVM IR (-O0):
@.str = [14 x i8] c"ui_r_glCustom\00"
@.str.1 = [2 x i8] c"4\00"
@.str.2 = [10 x i8] c"ui_r_mode\00"
@.str.3 = [2 x i8] c"0\00"
@.str.4 = [16 x i8] c"ui_r_fullscreen\00"
@.str.5 = [15 x i8] c"ui_r_colorbits\00"
@.str.6 = [13 x i8] c"ui_r_lodbias\00"
@.str.7 = [12 x i8] c"ui_r_picmip\00"
@.str.8 = [17 x i8] c"ui_r_texturebits\00"
@.str.9 = [17 x i8] c"ui_r_texturemode\00"
@.str.10 = [20 x i8] c"ui_r_detailtextures\00"
@.str.11 = [27 x i8] c"ui_r_ext_compress_textures\00"
@.str.12 = [15 x i8] c"ui_r_depthbits\00"
@.str.13 = [18 x i8] c"ui_r_subdivisions\00"
@.str.14 = [13 x i8] c"ui_r_fastSky\00"
@.str.15 = [17 x i8] c"ui_r_inGameVideo\00"
@.str.16 = [21 x i8] c"ui_r_allowExtensions\00"
@.str.17 = [14 x i8] c"ui_cg_shadows\00"
@.str.18 = [14 x i8] c"ui_r_modified\00"
@.str.19 = [7 x i8] c"r_mode\00"
@.str.20 = [12 x i8] c"r_colorbits\00"
@.str.21 = [13 x i8] c"r_fullscreen\00"
@.str.22 = [10 x i8] c"r_lodbias\00"
@.str.23 = [9 x i8] c"r_picmip\00"
@.str.24 = [14 x i8] c"r_texturebits\00"
@.str.25 = [14 x i8] c"r_texturemode\00"
@.str.26 = [17 x i8] c"r_detailtextures\00"
@.str.27 = [24 x i8] c"r_ext_compress_textures\00"
@.str.28 = [12 x i8] c"r_depthbits\00"
@.str.29 = [15 x i8] c"r_subdivisions\00"
@.str.30 = [10 x i8] c"r_fastSky\00"
@.str.31 = [14 x i8] c"r_inGameVideo\00"
@.str.32 = [18 x i8] c"r_allowExtensions\00"
@.str.33 = [11 x i8] c"cg_shadows\00"
define void @UI_GetVideoSetup() {
%1 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 2113)
%2 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%3 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%4 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%5 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%6 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%7 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%8 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%9 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%10 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%11 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%12 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%13 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%14 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%15 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%16 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%17 = call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%18 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.19, i64 0, i64 0))
%19 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %18)
%20 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.20, i64 0, i64 0))
%21 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* %20)
%22 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i8* %22)
%24 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.22, i64 0, i64 0))
%25 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* %24)
%26 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0))
%27 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8* %26)
%28 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.24, i64 0, i64 0))
%29 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i8* %28)
%30 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.25, i64 0, i64 0))
%31 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), i8* %30)
%32 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.26, i64 0, i64 0))
%33 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i8* %32)
%34 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.27, i64 0, i64 0))
%35 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0), i8* %34)
%36 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.28, i64 0, i64 0))
%37 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), i8* %36)
%38 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.29, i64 0, i64 0))
%39 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), i8* %38)
%40 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.30, i64 0, i64 0))
%41 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* %40)
%42 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.31, i64 0, i64 0))
%43 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i64 0, i64 0), i8* %42)
%44 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.32, i64 0, i64 0))
%45 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0), i8* %44)
%46 = call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.33, i64 0, i64 0))
%47 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0), i8* %46)
%48 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [14 x i8] c"ui_r_glCustom\00"
@.str.1 = [2 x i8] c"4\00"
@.str.2 = [10 x i8] c"ui_r_mode\00"
@.str.3 = [2 x i8] c"0\00"
@.str.4 = [16 x i8] c"ui_r_fullscreen\00"
@.str.5 = [15 x i8] c"ui_r_colorbits\00"
@.str.6 = [13 x i8] c"ui_r_lodbias\00"
@.str.7 = [12 x i8] c"ui_r_picmip\00"
@.str.8 = [17 x i8] c"ui_r_texturebits\00"
@.str.9 = [17 x i8] c"ui_r_texturemode\00"
@.str.10 = [20 x i8] c"ui_r_detailtextures\00"
@.str.11 = [27 x i8] c"ui_r_ext_compress_textures\00"
@.str.12 = [15 x i8] c"ui_r_depthbits\00"
@.str.13 = [18 x i8] c"ui_r_subdivisions\00"
@.str.14 = [13 x i8] c"ui_r_fastSky\00"
@.str.15 = [17 x i8] c"ui_r_inGameVideo\00"
@.str.16 = [21 x i8] c"ui_r_allowExtensions\00"
@.str.17 = [14 x i8] c"ui_cg_shadows\00"
@.str.18 = [14 x i8] c"ui_r_modified\00"
@.str.19 = [7 x i8] c"r_mode\00"
@.str.20 = [12 x i8] c"r_colorbits\00"
@.str.21 = [13 x i8] c"r_fullscreen\00"
@.str.22 = [10 x i8] c"r_lodbias\00"
@.str.23 = [9 x i8] c"r_picmip\00"
@.str.24 = [14 x i8] c"r_texturebits\00"
@.str.25 = [14 x i8] c"r_texturemode\00"
@.str.26 = [17 x i8] c"r_detailtextures\00"
@.str.27 = [24 x i8] c"r_ext_compress_textures\00"
@.str.28 = [12 x i8] c"r_depthbits\00"
@.str.29 = [15 x i8] c"r_subdivisions\00"
@.str.30 = [10 x i8] c"r_fastSky\00"
@.str.31 = [14 x i8] c"r_inGameVideo\00"
@.str.32 = [18 x i8] c"r_allowExtensions\00"
@.str.33 = [11 x i8] c"cg_shadows\00"
define void @UI_GetVideoSetup() {
%1 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 2113)
%2 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%3 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%4 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%5 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%6 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%7 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%8 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%9 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%10 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%11 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%12 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%13 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%14 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%15 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%16 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%17 = tail call i32 @trap_Cvar_Register(i8* null, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 2112)
%18 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.19, i64 0, i64 0))
%19 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %18)
%20 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.20, i64 0, i64 0))
%21 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8* %20)
%22 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0))
%23 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i8* %22)
%24 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.22, i64 0, i64 0))
%25 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i8* %24)
%26 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0))
%27 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8* %26)
%28 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.24, i64 0, i64 0))
%29 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i8* %28)
%30 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.25, i64 0, i64 0))
%31 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), i8* %30)
%32 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.26, i64 0, i64 0))
%33 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i8* %32)
%34 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.27, i64 0, i64 0))
%35 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0), i8* %34)
%36 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.28, i64 0, i64 0))
%37 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), i8* %36)
%38 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.29, i64 0, i64 0))
%39 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), i8* %38)
%40 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.30, i64 0, i64 0))
%41 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* %40)
%42 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.31, i64 0, i64 0))
%43 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i64 0, i64 0), i8* %42)
%44 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.32, i64 0, i64 0))
%45 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0), i8* %44)
%46 = tail call i8* @UI_Cvar_VariableString(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.33, i64 0, i64 0))
%47 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0), i8* %46)
%48 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
ret void
}