// File: /workspace/github_c_makefile_star2_O3/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_CTFFlags_Menu
void Ref_CTFFlags_Menu (edict_t *ent)
{
	char text[MAX_INFO_STRING];

	Menu_Free(ent);
	ent->client->menu = MENU_LOCAL;
	ent->client->menuselect = 1;

	sprintf(text, "CTFFlags:            %d", ((unsigned short)ctfflags->value));
	Menu_Set(ent, 0, text, Ref_Settings_Menu);
	Menu_Set(ent, 1, "----------------", NULL);
#ifdef WEAP_BALANCE_OK
	sprintf(text, "Weapon Balance       %s", CTFFLAG(CTF_WEAP_BALANCE));
	Menu_Set(ent, 2, text, CTFFlags_Exec);
#endif
	sprintf(text, "Allow Invuln         %s", CTFFLAG(CTF_ALLOW_INVULN));
	Menu_Set(ent, 3, text, CTFFlags_Exec);
	sprintf(text, "Team Reset           %s", CTFFLAG(CTF_TEAM_RESET));
	Menu_Set(ent, 4, text, CTFFlags_Exec);
	sprintf(text, "Team No Switch       %s", CTFFLAG(CTF_TEAM_NOSWITCH));
	Menu_Set(ent, 5, text, CTFFlags_Exec);
	sprintf(text, "Offhand Hook         %s", CTFFLAG(CTF_OFFHAND_HOOK));
#ifdef NOVOICE_OK
	Menu_Set(ent, 6, text, CTFFlags_Exec);
	sprintf(text, "No Voice             %s", CTFFLAG(CTF_NOVOICE));
#endif
	Menu_Set(ent, 7, text, CTFFlags_Exec);
	sprintf(text, "No Grapple Damage    %s", CTFFLAG(CTF_NO_GRAP_DAMAGE));
	Menu_Set(ent, 8, text, CTFFlags_Exec);
	sprintf(text, "No Teams             %s", CTFFLAG(CTF_TEAM_NOTEAMS));
	Menu_Set(ent, 9, text, CTFFlags_Exec);
	sprintf(text, "No Flags             %s", CTFFLAG(CTF_FLAGS_NOFLAGS));
	Menu_Set(ent, 10, text, CTFFlags_Exec);
	sprintf(text, "Score Balance        %s", CTFFLAG(CTF_SCORE_BALANCE));
	Menu_Set(ent, 11, text, CTFFlags_Exec);
	sprintf(text, "Team Armor Protect   %s", CTFFLAG(CTF_TEAM_ARMOR_PROTECT));
	Menu_Set(ent, 12, text, CTFFlags_Exec);

	//-bat
	sprintf(text, "Random Map List      %s", CTFFLAG(CTF_RANDOM_MAPS));
	Menu_Set(ent, 14, text, CTFFlags_Exec);
	sprintf(text, "Random Quad Respawn  %s", CTFFLAG(CTF_RANDOM_QUAD));
	Menu_Set(ent, 15, text, CTFFlags_Exec);
	sprintf(text, "Random Death Msgs    %s", CTFFLAG(CTF_RANDOM_DEATH_MSG));
	Menu_Set(ent, 16, text, CTFFlags_Exec);


	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdi, %rbx
movq 0x58(%rdi), %rax
xorl %r14d, %r14d
movq 0x4b6b6(%rip), %r12     # 0x68600
movq 0xf90(%rax,%r14), %rdi
testq %rdi, %rdi
je 0x1cf6f
callq *0x110(%r12)
movq 0x58(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0xf90(%rax,%r14)
addq $0x10, %r14
cmpq $0x120, %r14            # imm = 0x120
jne 0x1cf4a
movq 0x58(%rbx), %rax
movabsq $0x100000000, %rcx      # imm = 0x100000000
movq %rcx, 0xf84(%rax)
movq 0x4bbc0(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
movzwl %ax, %edx
leaq 0x35a66(%rip), %rsi     # 0x52a10
movq %rsp, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0xf90(%rax), %rdi
testq %rdi, %rdi
je 0x1cfcc
callq *0x110(%r12)
movq %rsp, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0xf90(%rcx)
movq 0x4bc6a(%rip), %rax     # 0x68c50
movq %rax, 0xf98(%rcx)
movq 0xfa0(%rcx), %rdi
testq %rdi, %rdi
je 0x1d001
callq *0x110(%r12)
leaq 0x351dc(%rip), %rdi     # 0x521e4
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0xfa0(%rcx)
movq $0x0, 0xfa8(%rcx)
movq 0x4bb2e(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb $0x2, %al
leaq 0x35869(%rip), %rbp     # 0x528a4
leaq 0x3585f(%rip), %r14     # 0x528a1
movq %r14, %rdx
cmoveq %rbp, %rdx
leaq 0x359d8(%rip), %rsi     # 0x52a28
movq %rsp, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0xfc0(%rax), %rdi
testq %rdi, %rdi
je 0x1d072
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0xfc0(%rcx)
movq 0x4b7a1(%rip), %r13     # 0x68830
movq %r13, 0xfc8(%rcx)
movq 0x4babb(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb $0x4, %al
movq %r14, %rdx
cmoveq %rbp, %rdx
leaq 0x3598b(%rip), %rsi     # 0x52a40
movq %r15, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0xfd0(%rax), %rdi
testq %rdi, %rdi
je 0x1d0d7
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0xfd0(%rcx)
movq %r13, 0xfd8(%rcx)
movq 0x4ba5d(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb $0x8, %al
movq %r14, %rdx
cmoveq %rbp, %rdx
leaq 0x35945(%rip), %rsi     # 0x52a58
movq %r15, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0xfe0(%rax), %rdi
testq %rdi, %rdi
je 0x1d135
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0xfe0(%rcx)
movq %r13, 0xfe8(%rcx)
movq 0x4b9ff(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb $0x10, %al
movq %r14, %rdx
cmoveq %rbp, %rdx
leaq 0x358ff(%rip), %rsi     # 0x52a70
movq %r15, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0x1000(%rax), %rdi
testq %rdi, %rdi
je 0x1d193
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1000(%rcx)
movq %r13, 0x1008(%rcx)
movq 0x4b9a1(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb $0x40, %al
movq %r14, %rdx
cmoveq %rbp, %rdx
leaq 0x358b9(%rip), %rsi     # 0x52a88
movq %r15, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0x1010(%rax), %rdi
testq %rdi, %rdi
je 0x1d1f1
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1010(%rcx)
movq %r13, 0x1018(%rcx)
movq 0x4b943(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb %al, %al
movq %r14, %rdx
cmovnsq %rbp, %rdx
leaq 0x35873(%rip), %rsi     # 0x52aa0
movq %r15, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0x1020(%rax), %rdi
testq %rdi, %rdi
je 0x1d24f
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1020(%rcx)
movq %r13, 0x1028(%rcx)
movq 0x4b8e5(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0x8, %eax
movq %r14, %rdx
cmovaeq %rbp, %rdx
leaq 0x3582b(%rip), %rsi     # 0x52ab8
movq %r15, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0x1030(%rax), %rdi
testq %rdi, %rdi
je 0x1d2af
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1030(%rcx)
movq %r13, 0x1038(%rcx)
movq 0x4b885(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0x9, %eax
movq %r14, %rdx
cmovaeq %rbp, %rdx
leaq 0x357e3(%rip), %rsi     # 0x52ad0
movq %r15, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0x1040(%rax), %rdi
testq %rdi, %rdi
je 0x1d30f
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1040(%rcx)
movq %r13, 0x1048(%rcx)
movq 0x4b825(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0xa, %eax
movq %r14, %rdx
cmovaeq %rbp, %rdx
leaq 0x3579b(%rip), %rsi     # 0x52ae8
movq %r15, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0x1050(%rax), %rdi
testq %rdi, %rdi
je 0x1d36f
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1050(%rcx)
movq %r13, 0x1058(%rcx)
movq 0x4b7c5(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0xc, %eax
movq %r14, %rdx
cmovaeq %rbp, %rdx
leaq 0x35753(%rip), %rsi     # 0x52b00
movq %r15, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0x1070(%rax), %rdi
testq %rdi, %rdi
je 0x1d3cf
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1070(%rcx)
movq %r13, 0x1078(%rcx)
movq 0x4b765(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0xd, %eax
movq %r14, %rdx
cmovaeq %rbp, %rdx
leaq 0x3570b(%rip), %rsi     # 0x52b18
movq %r15, %rdi
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0x1080(%rax), %rdi
testq %rdi, %rdi
je 0x1d42f
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1080(%rcx)
movq %r13, 0x1088(%rcx)
movq 0x4b705(%rip), %rax     # 0x68b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0xe, %eax
cmovaeq %rbp, %r14
leaq 0x356c6(%rip), %rsi     # 0x52b30
movq %r15, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x196f0
movq 0x58(%rbx), %rax
movq 0x1090(%rax), %rdi
testq %rdi, %rdi
je 0x1d48f
callq *0x110(%r12)
movq %rsp, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1090(%rcx)
movq %r13, 0x1098(%rcx)
movq %rbx, %rdi
callq 0x196b0
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq