#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(int /*<<< orphan*/, char *);
int /*<<< orphan*/ trap_SetConfigstring(int, char *);
int /*<<< orphan*/ va(char *, char *);
void bani_clearmapxp(void) {
  trap_SetConfigstring(34, "");
  trap_SetConfigstring(35, "");
  trap_Cvar_Set(va("%s_axismapxp0", "warpig"), "");
  trap_Cvar_Set(va("%s_alliedmapxp0", "warpig"), "");
}


x86 assembly (clang, -O0):
<bani_clearmapxp>:
push   %rbp
mov    %rsp,%rbp
mov    $0x22,%edi
lea    0xee4(%rip),%rsi
call   1040 <trap_SetConfigstring@plt>
mov    $0x23,%edi
lea    0xed3(%rip),%rsi
call   1040 <trap_SetConfigstring@plt>
lea    0xea3(%rip),%rdi
lea    0xeaa(%rip),%rsi
call   1030 <va@plt>
mov    %eax,%edi
lea    0xeb2(%rip),%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xe97(%rip),%rdi
lea    0xe89(%rip),%rsi
call   1030 <va@plt>
mov    %eax,%edi
lea    0xe91(%rip),%rsi
call   1050 <trap_Cvar_Set@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<bani_clearmapxp>:
push   %r14
push   %rbx
push   %rax
lea    0xee9(%rip),%rbx
mov    $0x22,%edi
mov    %rbx,%rsi
call   1040 <trap_SetConfigstring@plt>
mov    $0x23,%edi
mov    %rbx,%rsi
call   1040 <trap_SetConfigstring@plt>
lea    0xea4(%rip),%rdi
lea    0xeab(%rip),%r14
mov    %r14,%rsi
call   1030 <va@plt>
mov    %eax,%edi
mov    %rbx,%rsi
call   1050 <trap_Cvar_Set@plt>
lea    0xe99(%rip),%rdi
mov    %r14,%rsi
call   1030 <va@plt>
mov    %eax,%edi
mov    %rbx,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1050 <trap_Cvar_Set@plt>

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [14 x i8] c"%s_axismapxp0\00"
@.str.2 = [7 x i8] c"warpig\00"
@.str.3 = [16 x i8] c"%s_alliedmapxp0\00"
define void @bani_clearmapxp() {
%1 = call i32 @trap_SetConfigstring(i32 34, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @trap_SetConfigstring(i32 35, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @va(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @trap_Cvar_Set(i32 %3, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%5 = call i32 @va(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @trap_Cvar_Set(i32 %5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [14 x i8] c"%s_axismapxp0\00"
@.str.2 = [7 x i8] c"warpig\00"
@.str.3 = [16 x i8] c"%s_alliedmapxp0\00"
define void @bani_clearmapxp() {
%1 = tail call i32 @trap_SetConfigstring(i32 34, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @trap_SetConfigstring(i32 35, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @va(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @trap_Cvar_Set(i32 %3, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 @va(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 @trap_Cvar_Set(i32 %5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
ret void
}