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

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

	gitem_t *quad;
	quad = FindItem("Quad Damage");
	Menu_Set(ent, 1, "Server Settings", Ref_Main_Menu);
	Menu_Set(ent, 2, "---------------", NULL);
	sprintf(text, "Timelimit:           %3d", (int)timelimit->value);
	Menu_Set(ent, 3, text, Ref_Timelimit_Menu);
	sprintf(text, "Fraglimit:           %3d", (int)fraglimit->value);
	Menu_Set(ent, 4, text, Ref_Fraglimit_Menu);
	sprintf(text, "DMFlags:           %5d", ((unsigned short)dmflags->value));
	Menu_Set(ent, 5, text, Ref_DMFlags_Menu);
	sprintf(text, "CTFFlags:          %5d", ((unsigned short)ctfflags->value));
	Menu_Set(ent, 6, text, Ref_CTFFlags_Menu);
	sprintf(text, "Fast Weap Switch:  %5d", ((unsigned short)fastswitch->value));
	Menu_Set(ent, 7, text, NULL);
	sprintf(text, "Teams Locked:      %5d", (game.teamslocked) ? 1 : 0);
	Menu_Set(ent, 8, text, NULL);
	cvar_t *svp = gi.cvar("sv_password","",0);
	if (svp && strlen(svp->string) > 0) {
		sprintf(text, "sv_password: %s", svp->string);
	} else {
		sprintf(text, "password: %s", password->string);
	}
	Menu_Set(ent, 9, text, NULL);
	if (ent->client->ctf.extra_flags & CTF_EXTRAFLAGS_RCON)
		Menu_Set(ent, 10, "Clear password (RCON)", ClearPassword_Exec);
	if (quad) {
		sprintf(text, "Quad Time: %i", quad->quantity);
		Menu_Set(ent, 11, text, NULL);
	}


	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x230, %rsp            # imm = 0x230
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x18a00
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl $0x0, 0xf84(%rax)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl $0x1, 0xf88(%rax)
leaq 0x542e4(%rip), %rdi     # 0x6f787
callq 0x18a90
movq %rax, -0x218(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x53f08(%rip), %rdx     # 0x6f3c2
movq 0x6762f(%rip), %rcx     # 0x82af0
movl $0x1, %esi
callq 0x183b0
movq -0x8(%rbp), %rdi
leaq 0x53cff(%rip), %rdx     # 0x6f1d5
xorl %eax, %eax
movl %eax, -0x230(%rbp)
movl %eax, %ecx
movl $0x2, %esi
callq 0x183b0
movl -0x230(%rbp), %eax
movq 0x671b9(%rip), %rcx     # 0x826b0
movq (%rcx), %rcx
cvttss2si 0x20(%rcx), %edx
leaq 0x5428d(%rip), %rsi     # 0x6f793
movb %al, -0x229(%rbp)
leaq -0x210(%rbp), %rdi
movq %rdi, -0x228(%rbp)
callq 0x19940
movq -0x228(%rbp), %rdx
movq -0x8(%rbp), %rdi
movq 0x679f7(%rip), %rcx     # 0x82f28
movl $0x3, %esi
callq 0x183b0
movb -0x229(%rbp), %al
movq -0x228(%rbp), %rdi
movq 0x678b1(%rip), %rcx     # 0x82e00
movq (%rcx), %rcx
cvttss2si 0x20(%rcx), %edx
leaq 0x5424e(%rip), %rsi     # 0x6f7ac
callq 0x19940
movq -0x228(%rbp), %rdx
movq -0x8(%rbp), %rdi
movq 0x67053(%rip), %rcx     # 0x825c8
movl $0x4, %esi
callq 0x183b0
movb -0x229(%rbp), %al
movq -0x228(%rbp), %rdi
movq 0x67085(%rip), %rcx     # 0x82618
movq (%rcx), %rcx
cvttss2si 0x20(%rcx), %ecx
movzwl %cx, %edx
leaq 0x54220(%rip), %rsi     # 0x6f7c5
callq 0x19940
movq -0x228(%rbp), %rdx
movq -0x8(%rbp), %rdi
movq 0x67164(%rip), %rcx     # 0x82720
movl $0x5, %esi
callq 0x183b0
movb -0x229(%rbp), %al
movq -0x228(%rbp), %rdi
movq 0x6757e(%rip), %rcx     # 0x82b58
movq (%rcx), %rcx
cvttss2si 0x20(%rcx), %ecx
movzwl %cx, %edx
leaq 0x541f0(%rip), %rsi     # 0x6f7dc
callq 0x19940
movq -0x228(%rbp), %rdx
movq -0x8(%rbp), %rdi
movq 0x67145(%rip), %rcx     # 0x82748
movl $0x6, %esi
callq 0x183b0
movq -0x228(%rbp), %rdi
movq 0x67585(%rip), %rax     # 0x82ba0
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
movzwl %ax, %edx
leaq 0x541c6(%rip), %rsi     # 0x6f7f3
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
leaq -0x210(%rbp), %rdx
movl $0x7, %esi
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
leaq -0x210(%rbp), %rdi
movq 0x676e5(%rip), %rax     # 0x82d40
movl 0x624(%rax), %ecx
xorl %edx, %edx
movl $0x1, %eax
cmpl $0x0, %ecx
cmovnel %eax, %edx
leaq 0x54195(%rip), %rsi     # 0x6f80a
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
leaq -0x210(%rbp), %rdx
movl $0x8, %esi
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
leaq 0x54185(%rip), %rdi     # 0x6f821
leaq 0x558dd(%rip), %rsi     # 0x70f80
xorl %edx, %edx
movq 0x66f54(%rip), %rax     # 0x82600
callq *0x120(%rax)
movq %rax, -0x220(%rbp)
cmpq $0x0, -0x220(%rbp)
je 0x1b6fb
movq -0x220(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x186e0
cmpq $0x0, %rax
jbe 0x1b6fb
leaq -0x210(%rbp), %rdi
movq -0x220(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0x5413b(%rip), %rsi     # 0x6f82d
movb $0x0, %al
callq 0x19940
jmp 0x1b71e
leaq -0x210(%rbp), %rdi
movq 0x6714f(%rip), %rax     # 0x82858
movq (%rax), %rax
movq 0x8(%rax), %rdx
leaq 0x54119(%rip), %rsi     # 0x6f830
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
leaq -0x210(%rbp), %rdx
movl $0x9, %esi
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl 0x1108(%rax), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x1b769
movq -0x8(%rbp), %rdi
movl $0xa, %esi
leaq 0x540e0(%rip), %rdx     # 0x6f83d
movq 0x6781c(%rip), %rcx     # 0x82f80
callq 0x183b0
cmpq $0x0, -0x218(%rbp)
je 0x1b7ab
leaq -0x210(%rbp), %rdi
movq -0x218(%rbp), %rax
movl 0x5c(%rax), %edx
leaq 0x540c8(%rip), %rsi     # 0x6f853
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
leaq -0x210(%rbp), %rdx
movl $0xb, %esi
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x230, %rsp            # imm = 0x230
popq %rbp
retq
nopl (%rax)