#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 */
int /*<<< orphan*/ trap_Cvar_Set(char *, int /*<<< orphan*/);
int /*<<< orphan*/ va(char *, int);
void CG_InitialCharacterVariables(void) {
  trap_Cvar_Set("ui_char_xp", va("%i", -1));
  trap_Cvar_Set("ui_char_old_xp", va("%i", -1));
  trap_Cvar_Set("char_xp", va("%i", 0));
  trap_Cvar_Set("ui_char_accuracy", va("%i", 1));
  trap_Cvar_Set("ui_char_speed", va("%i", 1));
  trap_Cvar_Set("ui_char_strength", va("%i", 1));
  trap_Cvar_Set("ui_char_stamina", va("%i", 1));
  trap_Cvar_Set("ui_char_stealth", va("%i", 1));
  trap_Cvar_Set("ui_char_technical", va("%i", 1));
  trap_Cvar_Set("ui_gamestate", va("%i", 0));
}


x86 assembly (clang, -O0):
<CG_InitialCharacterVariables>:
push   %rbp
mov    %rsp,%rbp
lea    0xee0(%rip),%rdi
mov    $0xffffffff,%esi
call   1030 <va@plt>
mov    %eax,%esi
lea    0xec2(%rip),%rdi
call   1040 <trap_Cvar_Set@plt>
lea    0xec1(%rip),%rdi
mov    $0xffffffff,%esi
call   1030 <va@plt>
mov    %eax,%esi
lea    0xeb1(%rip),%rdi
call   1040 <trap_Cvar_Set@plt>
lea    0xea2(%rip),%rdi
xor    %esi,%esi
call   1030 <va@plt>
mov    %eax,%esi
lea    0xe8a(%rip),%rdi
call   1040 <trap_Cvar_Set@plt>
lea    0xe86(%rip),%rdi
mov    $0x1,%esi
call   1030 <va@plt>
mov    %eax,%esi
lea    0xe85(%rip),%rdi
call   1040 <trap_Cvar_Set@plt>
lea    0xe67(%rip),%rdi
mov    $0x1,%esi
call   1030 <va@plt>
mov    %eax,%esi
lea    0xe77(%rip),%rdi
call   1040 <trap_Cvar_Set@plt>
lea    0xe48(%rip),%rdi
mov    $0x1,%esi
call   1030 <va@plt>
mov    %eax,%esi
lea    0xe66(%rip),%rdi
call   1040 <trap_Cvar_Set@plt>
lea    0xe29(%rip),%rdi
mov    $0x1,%esi
call   1030 <va@plt>
mov    %eax,%esi
lea    0xe58(%rip),%rdi
call   1040 <trap_Cvar_Set@plt>
lea    0xe0a(%rip),%rdi
mov    $0x1,%esi
call   1030 <va@plt>
mov    %eax,%esi
lea    0xe49(%rip),%rdi
call   1040 <trap_Cvar_Set@plt>
lea    0xdeb(%rip),%rdi
mov    $0x1,%esi
call   1030 <va@plt>
mov    %eax,%esi
lea    0xe3a(%rip),%rdi
call   1040 <trap_Cvar_Set@plt>
lea    0xdcc(%rip),%rdi
xor    %esi,%esi
call   1030 <va@plt>
mov    %eax,%esi
lea    0xe30(%rip),%rdi
call   1040 <trap_Cvar_Set@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<CG_InitialCharacterVariables>:
push   %rbx
lea    0xee3(%rip),%rbx
mov    %rbx,%rdi
mov    $0xffffffff,%esi
call   1030 <va@plt>
lea    0xec4(%rip),%rdi
mov    %eax,%esi
call   1040 <trap_Cvar_Set@plt>
mov    %rbx,%rdi
mov    $0xffffffff,%esi
call   1030 <va@plt>
lea    0xeb7(%rip),%rdi
mov    %eax,%esi
call   1040 <trap_Cvar_Set@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <va@plt>
lea    0xe94(%rip),%rdi
mov    %eax,%esi
call   1040 <trap_Cvar_Set@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
call   1030 <va@plt>
lea    0xe93(%rip),%rdi
mov    %eax,%esi
call   1040 <trap_Cvar_Set@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
call   1030 <va@plt>
lea    0xe89(%rip),%rdi
mov    %eax,%esi
call   1040 <trap_Cvar_Set@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
call   1030 <va@plt>
lea    0xe7c(%rip),%rdi
mov    %eax,%esi
call   1040 <trap_Cvar_Set@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
call   1030 <va@plt>
lea    0xe72(%rip),%rdi
mov    %eax,%esi
call   1040 <trap_Cvar_Set@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
call   1030 <va@plt>
lea    0xe67(%rip),%rdi
mov    %eax,%esi
call   1040 <trap_Cvar_Set@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
call   1030 <va@plt>
lea    0xe5c(%rip),%rdi
mov    %eax,%esi
call   1040 <trap_Cvar_Set@plt>
mov    %rbx,%rdi
xor    %esi,%esi
call   1030 <va@plt>
lea    0xe56(%rip),%rdi
mov    %eax,%esi
pop    %rbx
jmp    1040 <trap_Cvar_Set@plt>

LLVM IR (-O0):
@.str = [11 x i8] c"ui_char_xp\00"
@.str.1 = [3 x i8] c"%i\00"
@.str.2 = [15 x i8] c"ui_char_old_xp\00"
@.str.3 = [8 x i8] c"char_xp\00"
@.str.4 = [17 x i8] c"ui_char_accuracy\00"
@.str.5 = [14 x i8] c"ui_char_speed\00"
@.str.6 = [17 x i8] c"ui_char_strength\00"
@.str.7 = [16 x i8] c"ui_char_stamina\00"
@.str.8 = [16 x i8] c"ui_char_stealth\00"
@.str.9 = [18 x i8] c"ui_char_technical\00"
@.str.10 = [13 x i8] c"ui_gamestate\00"
define void @CG_InitialCharacterVariables() {
%1 = call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 -1)
%2 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 -1)
%4 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i32 %3)
%5 = call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 0)
%6 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %5)
%7 = call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%8 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %7)
%9 = call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%10 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 %9)
%11 = call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%12 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 %11)
%13 = call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%14 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %13)
%15 = call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%16 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i32 %15)
%17 = call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%18 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %17)
%19 = call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 0)
%20 = call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0), i32 %19)
ret void
}

LLVM IR (-O2):
@.str = [11 x i8] c"ui_char_xp\00"
@.str.1 = [3 x i8] c"%i\00"
@.str.2 = [15 x i8] c"ui_char_old_xp\00"
@.str.3 = [8 x i8] c"char_xp\00"
@.str.4 = [17 x i8] c"ui_char_accuracy\00"
@.str.5 = [14 x i8] c"ui_char_speed\00"
@.str.6 = [17 x i8] c"ui_char_strength\00"
@.str.7 = [16 x i8] c"ui_char_stamina\00"
@.str.8 = [16 x i8] c"ui_char_stealth\00"
@.str.9 = [18 x i8] c"ui_char_technical\00"
@.str.10 = [13 x i8] c"ui_gamestate\00"
define void @CG_InitialCharacterVariables() {
%1 = tail call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 -1)
%2 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = tail call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 -1)
%4 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i32 %3)
%5 = tail call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 0)
%6 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %5)
%7 = tail call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%8 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i32 %7)
%9 = tail call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%10 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 %9)
%11 = tail call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%12 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 %11)
%13 = tail call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%14 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 %13)
%15 = tail call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%16 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i32 %15)
%17 = tail call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 1)
%18 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0), i32 %17)
%19 = tail call i32 @va(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 0)
%20 = tail call i32 @trap_Cvar_Set(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0), i32 %19)
ret void
}