// File: /workspace/github_c_makefile_star2_O1/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
xorl %r14d, %r14d
movq 0x4c6ad(%rip), %r12     # 0x69600
movq 0x58(%rbx), %rax
movq 0xf90(%rax,%r14), %rdi
testq %rdi, %rdi
je 0x1cf7c
callq *0x110(%r12)
movq 0x58(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0xf90(%rax,%r14)
addq $0x10, %r14
cmpq $0x120, %r14            # imm = 0x120
jne 0x1cf53
movq 0x58(%rbx), %rax
movabsq $0x100000000, %rcx      # imm = 0x100000000
movq %rcx, 0xf84(%rax)
movq 0x4cbb3(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
movzwl %ax, %edx
leaq 0x36a59(%rip), %rsi     # 0x53a10
movq %rsp, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0xf90(%rax), %rdi
testq %rdi, %rdi
je 0x1cfd9
callq *0x110(%r12)
movq %rsp, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0xf90(%rcx)
movq 0x4cc5d(%rip), %rax     # 0x69c50
movq %rax, 0xf98(%rcx)
movq 0xfa0(%rcx), %rdi
testq %rdi, %rdi
je 0x1d00e
callq *0x110(%r12)
leaq 0x361cf(%rip), %rdi     # 0x531e4
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0xfa0(%rcx)
movq $0x0, 0xfa8(%rcx)
movq 0x4cb21(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb $0x2, %al
leaq 0x3685c(%rip), %rbp     # 0x538a4
leaq 0x36852(%rip), %r14     # 0x538a1
movq %r14, %rdx
cmoveq %rbp, %rdx
leaq 0x369cb(%rip), %rsi     # 0x53a28
movq %rsp, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0xfc0(%rax), %rdi
testq %rdi, %rdi
je 0x1d07f
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0xfc0(%rcx)
movq 0x4c794(%rip), %r13     # 0x69830
movq %r13, 0xfc8(%rcx)
movq 0x4caae(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb $0x4, %al
movq %r14, %rdx
cmoveq %rbp, %rdx
leaq 0x3697e(%rip), %rsi     # 0x53a40
movq %r15, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0xfd0(%rax), %rdi
testq %rdi, %rdi
je 0x1d0e4
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0xfd0(%rcx)
movq %r13, 0xfd8(%rcx)
movq 0x4ca50(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb $0x8, %al
movq %r14, %rdx
cmoveq %rbp, %rdx
leaq 0x36938(%rip), %rsi     # 0x53a58
movq %r15, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0xfe0(%rax), %rdi
testq %rdi, %rdi
je 0x1d142
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0xfe0(%rcx)
movq %r13, 0xfe8(%rcx)
movq 0x4c9f2(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb $0x10, %al
movq %r14, %rdx
cmoveq %rbp, %rdx
leaq 0x368f2(%rip), %rsi     # 0x53a70
movq %r15, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0x1000(%rax), %rdi
testq %rdi, %rdi
je 0x1d1a0
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1000(%rcx)
movq %r13, 0x1008(%rcx)
movq 0x4c994(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb $0x40, %al
movq %r14, %rdx
cmoveq %rbp, %rdx
leaq 0x368ac(%rip), %rsi     # 0x53a88
movq %r15, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0x1010(%rax), %rdi
testq %rdi, %rdi
je 0x1d1fe
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1010(%rcx)
movq %r13, 0x1018(%rcx)
movq 0x4c936(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
testb %al, %al
movq %r14, %rdx
cmovnsq %rbp, %rdx
leaq 0x36866(%rip), %rsi     # 0x53aa0
movq %r15, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0x1020(%rax), %rdi
testq %rdi, %rdi
je 0x1d25c
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1020(%rcx)
movq %r13, 0x1028(%rcx)
movq 0x4c8d8(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0x8, %eax
movq %r14, %rdx
cmovaeq %rbp, %rdx
leaq 0x3681e(%rip), %rsi     # 0x53ab8
movq %r15, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0x1030(%rax), %rdi
testq %rdi, %rdi
je 0x1d2bc
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1030(%rcx)
movq %r13, 0x1038(%rcx)
movq 0x4c878(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0x9, %eax
movq %r14, %rdx
cmovaeq %rbp, %rdx
leaq 0x367d6(%rip), %rsi     # 0x53ad0
movq %r15, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0x1040(%rax), %rdi
testq %rdi, %rdi
je 0x1d31c
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1040(%rcx)
movq %r13, 0x1048(%rcx)
movq 0x4c818(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0xa, %eax
movq %r14, %rdx
cmovaeq %rbp, %rdx
leaq 0x3678e(%rip), %rsi     # 0x53ae8
movq %r15, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0x1050(%rax), %rdi
testq %rdi, %rdi
je 0x1d37c
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1050(%rcx)
movq %r13, 0x1058(%rcx)
movq 0x4c7b8(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0xc, %eax
movq %r14, %rdx
cmovaeq %rbp, %rdx
leaq 0x36746(%rip), %rsi     # 0x53b00
movq %r15, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0x1070(%rax), %rdi
testq %rdi, %rdi
je 0x1d3dc
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1070(%rcx)
movq %r13, 0x1078(%rcx)
movq 0x4c758(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0xd, %eax
movq %r14, %rdx
cmovaeq %rbp, %rdx
leaq 0x366fe(%rip), %rsi     # 0x53b18
movq %r15, %rdi
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0x1080(%rax), %rdi
testq %rdi, %rdi
je 0x1d43c
callq *0x110(%r12)
movq %rsp, %r15
movq %r15, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1080(%rcx)
movq %r13, 0x1088(%rcx)
movq 0x4c6f8(%rip), %rax     # 0x69b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
btl $0xe, %eax
cmovaeq %rbp, %r14
leaq 0x366b9(%rip), %rsi     # 0x53b30
movq %r15, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x19700
movq 0x58(%rbx), %rax
movq 0x1090(%rax), %rdi
testq %rdi, %rdi
je 0x1d49c
callq *0x110(%r12)
movq %rsp, %rdi
callq 0x18100
movq 0x58(%rbx), %rcx
movq %rax, 0x1090(%rcx)
movq %r13, 0x1098(%rcx)
movq %rbx, %rdi
callq 0x196c0
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq