LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_Match_Menu
void Ref_Match_Menu (edict_t *ent)
{
	Menu_Free(ent);
	ent->client->menu = MENU_LOCAL;
	ent->client->menuselect = 0;

	//gi.dprintf("Ref_Match_Menu\n");
	Menu_Set(ent, 0, "Match Menu", Ref_Main_Menu);
	Menu_Set(ent, 1, "----------", NULL);
	Menu_Set(ent, 2, "LMCTF Set 1", Ref_Match_A_Menu);
	Menu_Set(ent, 3, "LMCTF Set 2", Ref_Match_B_Menu);
	Menu_Set(ent, 4, "LMCTF Set 3", Ref_Match_C_Menu);
	Menu_Set(ent, 5, "LMCTF Set 4", Ref_Match_D_Menu);
	Menu_Set(ent, 6, "LMCTF Set 5", Ref_Match_E_Menu);
	if (maplistindex != -2) // No list
		Menu_Set(ent, 7, "Maplist", Ref_Match_Maplist_Menu);
	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
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 $0x0, 0xf88(%rax)
movq -0x8(%rbp), %rdi
xorl %esi, %esi
leaq 0x54301(%rip), %rdx     # 0x6fd57
movq 0x67093(%rip), %rcx     # 0x82af0
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
leaq 0x53768(%rip), %rdx     # 0x6f1da
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x2, %esi
leaq 0x542d7(%rip), %rdx     # 0x6fd62
movq 0x66e26(%rip), %rcx     # 0x828b8
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x3, %esi
leaq 0x542c7(%rip), %rdx     # 0x6fd6e
movq 0x66942(%rip), %rcx     # 0x823f0
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x4, %esi
leaq 0x542b7(%rip), %rdx     # 0x6fd7a
movq 0x671ce(%rip), %rcx     # 0x82c98
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x5, %esi
leaq 0x542a7(%rip), %rdx     # 0x6fd86
movq 0x66aca(%rip), %rcx     # 0x825b0
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x6, %esi
leaq 0x54297(%rip), %rdx     # 0x6fd92
movq 0x671a6(%rip), %rcx     # 0x82ca8
callq 0x183b0
movq 0x672ca(%rip), %rax     # 0x82dd8
cmpl $-0x2, (%rax)
je 0x1bb2f
movq -0x8(%rbp), %rdi
movl $0x7, %esi
leaq 0x5427b(%rip), %rdx     # 0x6fd9e
movq 0x67376(%rip), %rcx     # 0x82ea0
callq 0x183b0
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x10, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_Kick_Menu
void Ref_Kick_Menu (edict_t *ent)
{
	int i;
	char message[MAX_INFO_STRING];
	edict_t * player = NULL;

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

	Menu_Set(ent, 0, "LMCTF Kick Menu", Ref_Main_Menu);
	Menu_Set(ent, 1, "---------------", NULL);

	i = 2;
	player = ctf_findplayer(NULL, NULL, CTF_TEAM_IGNORETEAM);
	while (player && i < 17)
	{
		sprintf(message, "%lu %s", player->client->ctf.ctfid, player->client->pers.netname);
		Menu_Set(ent, i, message, SelectKick);
		player = ctf_findplayer(player, NULL, CTF_TEAM_IGNORETEAM);
		i++;
	}

	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp            # imm = 0x220
movq %rdi, -0x8(%rbp)
movq $0x0, -0x218(%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 $0x0, 0xf88(%rax)
movq -0x8(%rbp), %rdi
xorl %esi, %esi
leaq 0x5422d(%rip), %rdx     # 0x6fdc1
movq 0x66f55(%rip), %rcx     # 0x82af0
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
leaq 0x53625(%rip), %rdx     # 0x6f1d5
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movl $0x2, -0xc(%rbp)
xorl %eax, %eax
movl %eax, %esi
movl $0xfffffffc, %edx       # imm = 0xFFFFFFFC
movq %rsi, %rdi
callq 0x19340
movq %rax, -0x218(%rbp)
xorl %eax, %eax
cmpq $0x0, -0x218(%rbp)
movb %al, -0x219(%rbp)
je 0x1bbf7
cmpl $0x11, -0xc(%rbp)
setl %al
movb %al, -0x219(%rbp)
movb -0x219(%rbp), %al
testb $0x1, %al
jne 0x1bc06
jmp 0x1bc8a
leaq -0x210(%rbp), %rdi
movq -0x218(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x9120(%rax), %rdx
movq -0x218(%rbp), %rax
movq 0x58(%rax), %rcx
addq $0xc0, %rcx
addq $0x200, %rcx            # imm = 0x200
leaq 0x54192(%rip), %rsi     # 0x6fdd1
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
leaq -0x210(%rbp), %rdx
movq 0x66d85(%rip), %rcx     # 0x829e0
callq 0x183b0
movq -0x218(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0xfffffffc, %edx       # imm = 0xFFFFFFFC
callq 0x19340
movq %rax, -0x218(%rbp)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x1bbd8
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x220, %rsp            # imm = 0x220
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: RefTogglePause
void RefTogglePause(edict_t *ent)
{
	if (GamePaused())
		SetPause(false);
	else
		SetPause(true);

	Ref_Main_Menu(ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movb $0x0, %al
callq 0x18160
cmpl $0x0, %eax
je 0x1bcc1
xorl %edi, %edi
callq 0x182e0
jmp 0x1bccb
movl $0x1, %edi
callq 0x182e0
movq -0x8(%rbp), %rdi
callq 0x19da8
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_Practice_Menu
void Ref_Practice_Menu(edict_t *ent)
{
	char text[MAX_INFO_STRING];
	Menu_Free(ent);
	ent->client->menu = MENU_LOCAL;
	ent->client->menuselect = 1;
	ctf_validateflags();
	Menu_Set(ent, 1, "LMCTF Practice Menu", Ref_Main_Menu);
	Menu_Set(ent, 2, "-------------------", NULL);
	if (redflag && ((int)refset->value & CTF_RED_FLAG_FROZEN) )
		sprintf(text, "Red Flag:     %s", "FROZEN");
	else
		sprintf(text, "Red Flag:     %s", "NORMAL");
	Menu_Set(ent, 3, text, Ref_PracticeFlagRed_Exec);
	if (blueflag && ((int)refset->value & CTF_BLUE_FLAG_FROZEN) )
		sprintf(text, "Blue Flag:    %s", "FROZEN");
	else
		sprintf(text, "Blue Flag:    %s", "NORMAL");
	Menu_Set(ent, 4, text, Ref_PracticeFlagBlue_Exec);
	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x210, %rsp            # imm = 0x210
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)
movb $0x0, %al
callq 0x185f0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
leaq 0x539d6(%rip), %rdx     # 0x6f709
movq 0x66db6(%rip), %rcx     # 0x82af0
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x2, %esi
leaq 0x53482(%rip), %rdx     # 0x6f1d1
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movq 0x66a99(%rip), %rax     # 0x827f8
cmpq $0x0, (%rax)
je 0x1bd9a
movq 0x66c2c(%rip), %rax     # 0x82998
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x1bd9a
leaq -0x210(%rbp), %rdi
leaq 0x53993(%rip), %rsi     # 0x6f71d
leaq 0x5399d(%rip), %rdx     # 0x6f72e
movb $0x0, %al
callq 0x19940
jmp 0x1bdb6
leaq -0x210(%rbp), %rdi
leaq 0x53975(%rip), %rsi     # 0x6f71d
leaq 0x53986(%rip), %rdx     # 0x6f735
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
leaq -0x210(%rbp), %rdx
movl $0x3, %esi
movq 0x6673b(%rip), %rcx     # 0x82508
callq 0x183b0
movq 0x66a87(%rip), %rax     # 0x82860
cmpq $0x0, (%rax)
je 0x1be14
movq 0x66bb2(%rip), %rax     # 0x82998
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x1be14
leaq -0x210(%rbp), %rdi
leaq 0x53938(%rip), %rsi     # 0x6f73c
leaq 0x53923(%rip), %rdx     # 0x6f72e
movb $0x0, %al
callq 0x19940
jmp 0x1be30
leaq -0x210(%rbp), %rdi
leaq 0x5391a(%rip), %rsi     # 0x6f73c
leaq 0x5390c(%rip), %rdx     # 0x6f735
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
leaq -0x210(%rbp), %rdx
movl $0x4, %esi
movq 0x665d9(%rip), %rcx     # 0x82420
callq 0x183b0
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x210, %rsp            # imm = 0x210
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_Help_Menu
void Ref_Help_Menu(edict_t *ent)
{
	char text[MAX_INFO_STRING];
	int i,j, start;

	// Calculate our page
	start = 15*ent->client->menupage;

	// Find if last page was the last
	if (start > 14)
	{
		for (i=start-15;i < start; i++)
		{
			if (!refhelptext[i]) // Last entry
			{
				start = 0;			// Go to first page
				ent->client->menupage = 0;
			}
		}
	}

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

	Menu_Set(ent, 0, "LMCTF Ref Commands", Ref_Main_Menu);
	Menu_Set(ent, 1, "------------------", NULL);
	for (i=2, j=start; i < 17 && refhelptext[j]; i++, j++)
	{
		sprintf(text, "%.24s", refhelptext[j]);
		Menu_Set(ent, i, text, NULL);
	}
	Menu_Set(ent, 17, "<next page>", Ref_Help_Menu);

	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp            # imm = 0x220
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
imull $0xf, 0x10c0(%rax), %eax
movl %eax, -0x21c(%rbp)
cmpl $0xe, -0x21c(%rbp)
jle 0x1bef0
movl -0x21c(%rbp), %eax
subl $0xf, %eax
movl %eax, -0x214(%rbp)
movl -0x214(%rbp), %eax
cmpl -0x21c(%rbp), %eax
jge 0x1beee
movslq -0x214(%rbp), %rcx
movq 0x66cc0(%rip), %rax     # 0x82b78
cmpq $0x0, (%rax,%rcx,8)
jne 0x1bedb
movl $0x0, -0x21c(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl $0x0, 0x10c0(%rax)
jmp 0x1bedd
movl -0x214(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x214(%rbp)
jmp 0x1be9c
jmp 0x1bef0
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 $0x0, 0xf88(%rax)
movq -0x8(%rbp), %rdi
xorl %esi, %esi
leaq 0x537c6(%rip), %rdx     # 0x6f6f0
movq 0x66bbf(%rip), %rcx     # 0x82af0
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
leaq 0x5328c(%rip), %rdx     # 0x6f1d2
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movl $0x2, -0x214(%rbp)
movl -0x21c(%rbp), %eax
movl %eax, -0x218(%rbp)
xorl %eax, %eax
cmpl $0x11, -0x214(%rbp)
movb %al, -0x21d(%rbp)
jge 0x1bf92
movslq -0x218(%rbp), %rcx
movq 0x66bf4(%rip), %rax     # 0x82b78
cmpq $0x0, (%rax,%rcx,8)
setne %al
movb %al, -0x21d(%rbp)
movb -0x21d(%rbp), %al
testb $0x1, %al
jne 0x1bf9e
jmp 0x1c002
leaq -0x210(%rbp), %rdi
movslq -0x218(%rbp), %rcx
movq 0x66bc5(%rip), %rax     # 0x82b78
movq (%rax,%rcx,8), %rdx
leaq 0x53745(%rip), %rsi     # 0x6f703
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
movl -0x214(%rbp), %esi
leaq -0x210(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movl -0x214(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x214(%rbp)
movl -0x218(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x218(%rbp)
jmp 0x1bf65
movq -0x8(%rbp), %rdi
movl $0x11, %esi
leaq 0x53344(%rip), %rdx     # 0x6f356
movq 0x666d7(%rip), %rcx     # 0x826f0
callq 0x183b0
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x220, %rsp            # imm = 0x220
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_PracticeFlagRed_Exec
void Ref_PracticeFlagRed_Exec(edict_t *ent)
{
	if (redflag && ((int)refset->value & CTF_RED_FLAG_FROZEN) )
		gi.cvar_set("refset", va("%d", ((int) refset->value & ~CTF_RED_FLAG_FROZEN)));
	else
		gi.cvar_set("refset", va("%d", ((int) refset->value | CTF_RED_FLAG_FROZEN)));
	Ref_Practice_Menu(ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq 0x66265(%rip), %rax     # 0x827f8
cmpq $0x0, (%rax)
je 0x1c5f4
movq 0x663f8(%rip), %rax     # 0x82998
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x1c5f4
movq 0x66049(%rip), %rax     # 0x82600
movq 0x128(%rax), %rax
movq %rax, -0x10(%rbp)
movq 0x663cf(%rip), %rax     # 0x82998
movq (%rax), %rax
cvttss2si 0x20(%rax), %esi
andl $-0x2, %esi
leaq 0x5329b(%rip), %rdi     # 0x6f876
movb $0x0, %al
callq 0x19560
movq %rax, %rsi
movq -0x10(%rbp), %rax
leaq 0x5315d(%rip), %rdi     # 0x6f74d
callq *%rax
jmp 0x1c636
movq 0x66005(%rip), %rax     # 0x82600
movq 0x128(%rax), %rax
movq %rax, -0x18(%rbp)
movq 0x6638b(%rip), %rax     # 0x82998
movq (%rax), %rax
cvttss2si 0x20(%rax), %esi
orl $0x1, %esi
leaq 0x53257(%rip), %rdi     # 0x6f876
movb $0x0, %al
callq 0x19560
movq %rax, %rsi
movq -0x18(%rbp), %rax
leaq 0x53119(%rip), %rdi     # 0x6f74d
callq *%rax
movq -0x8(%rbp), %rdi
callq 0x19dc8
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_PracticeFlagBlue_Exec
void Ref_PracticeFlagBlue_Exec(edict_t *ent)
{
	if (blueflag && ((int)refset->value & CTF_BLUE_FLAG_FROZEN) )
		gi.cvar_set("refset", va("%d", ((int) refset->value & ~CTF_BLUE_FLAG_FROZEN)));
	else
		gi.cvar_set("refset", va("%d", ((int) refset->value | CTF_BLUE_FLAG_FROZEN)));
	Ref_Practice_Menu(ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq 0x661fd(%rip), %rax     # 0x82860
cmpq $0x0, (%rax)
je 0x1c6c4
movq 0x66328(%rip), %rax     # 0x82998
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x1c6c4
movq 0x65f79(%rip), %rax     # 0x82600
movq 0x128(%rax), %rax
movq %rax, -0x10(%rbp)
movq 0x662ff(%rip), %rax     # 0x82998
movq (%rax), %rax
cvttss2si 0x20(%rax), %esi
andl $-0x3, %esi
leaq 0x531cb(%rip), %rdi     # 0x6f876
movb $0x0, %al
callq 0x19560
movq %rax, %rsi
movq -0x10(%rbp), %rax
leaq 0x5308d(%rip), %rdi     # 0x6f74d
callq *%rax
jmp 0x1c706
movq 0x65f35(%rip), %rax     # 0x82600
movq 0x128(%rax), %rax
movq %rax, -0x18(%rbp)
movq 0x662bb(%rip), %rax     # 0x82998
movq (%rax), %rax
cvttss2si 0x20(%rax), %esi
orl $0x2, %esi
leaq 0x53187(%rip), %rdi     # 0x6f876
movb $0x0, %al
callq 0x19560
movq %rax, %rsi
movq -0x18(%rbp), %rax
leaq 0x53049(%rip), %rdi     # 0x6f74d
callq *%rax
movq -0x8(%rbp), %rdi
callq 0x19dc8
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_Timelimit_Menu
void Ref_Timelimit_Menu (edict_t *ent)
{
	char text[MAX_INFO_STRING];
	int i;

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

	sprintf(text, "Current Timelimit:  %3d", (int)timelimit->value);
	Menu_Set(ent, 0, text, Ref_Settings_Menu);
	Menu_Set(ent, 1, "------------------", NULL);
	for (i=2; i < 18; i++)
	{
		sprintf(text, "%d", timeslist[i]);
		Menu_Set(ent, i, text, SetTimelimit);
	}

	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp            # imm = 0x220
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 $0x0, 0xf88(%rax)
leaq -0x210(%rbp), %rdi
movq 0x65ea6(%rip), %rax     # 0x826b0
movq (%rax), %rax
cvttss2si 0x20(%rax), %edx
leaq 0x5331f(%rip), %rsi     # 0x6fb38
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
leaq -0x210(%rbp), %rdx
xorl %esi, %esi
movq 0x6641c(%rip), %rcx     # 0x82c50
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
leaq 0x52989(%rip), %rdx     # 0x6f1d2
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movl $0x2, -0x214(%rbp)
cmpl $0x12, -0x214(%rbp)
jge 0x1c8b9
leaq -0x210(%rbp), %rdi
movslq -0x214(%rbp), %rcx
movq 0x66506(%rip), %rax     # 0x82d80
movl (%rax,%rcx,4), %edx
leaq 0x52ff2(%rip), %rsi     # 0x6f876
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
movl -0x214(%rbp), %esi
leaq -0x210(%rbp), %rdx
movq 0x660bd(%rip), %rcx     # 0x82960
callq 0x183b0
movl -0x214(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x214(%rbp)
jmp 0x1c85c
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x220, %rsp            # imm = 0x220
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_Fraglimit_Menu
void Ref_Fraglimit_Menu (edict_t *ent)
{
	char text[MAX_INFO_STRING];
	int i;

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

	sprintf(text, "Current Fraglimit:  %3d", (int)fraglimit->value);
	Menu_Set(ent, 0, text, Ref_Settings_Menu);
	Menu_Set(ent, 1, "------------------", NULL);
	for (i=2; i < 18; i++)
	{
		sprintf(text, "%d", fragslist[i]);
		Menu_Set(ent, i, text, SetFraglimit);
	}

	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp            # imm = 0x220
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 $0x0, 0xf88(%rax)
leaq -0x210(%rbp), %rdi
movq 0x664e6(%rip), %rax     # 0x82e00
movq (%rax), %rax
cvttss2si 0x20(%rax), %edx
leaq 0x53227(%rip), %rsi     # 0x6fb50
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
leaq -0x210(%rbp), %rdx
xorl %esi, %esi
movq 0x6630c(%rip), %rcx     # 0x82c50
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
leaq 0x52879(%rip), %rdx     # 0x6f1d2
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movl $0x2, -0x214(%rbp)
cmpl $0x12, -0x214(%rbp)
jge 0x1c9c9
leaq -0x210(%rbp), %rdi
movslq -0x214(%rbp), %rcx
movq 0x65e76(%rip), %rax     # 0x82800
movl (%rax,%rcx,4), %edx
leaq 0x52ee2(%rip), %rsi     # 0x6f876
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
movl -0x214(%rbp), %esi
leaq -0x210(%rbp), %rdx
movq 0x6662d(%rip), %rcx     # 0x82fe0
callq 0x183b0
movl -0x214(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x214(%rbp)
jmp 0x1c96c
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x220, %rsp            # imm = 0x220
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: DMFlags_Exec
void DMFlags_Exec (edict_t *ent)
{
	int i;

	i = ent->client->menuselect - 2;
	if ((int)dmflags->value & (1 << i)) // is it set?
		gi.cvar_set("dmflags", va("%d", ((int)dmflags->value & ~(1 << i))));
	else
		gi.cvar_set("dmflags", va("%d", ((int)dmflags->value |(1 << i))));
	Ref_DMFlags_Menu(ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl 0xf88(%rax), %eax
subl $0x2, %eax
movl %eax, -0xc(%rbp)
movq 0x650a1(%rip), %rax     # 0x82618
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
movl -0xc(%rbp), %ecx
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
andl %ecx, %eax
cmpl $0x0, %eax
je 0x1d5e2
movq 0x65067(%rip), %rax     # 0x82600
movq 0x128(%rax), %rax
movq %rax, -0x18(%rbp)
movq 0x6506d(%rip), %rax     # 0x82618
movq (%rax), %rax
cvttss2si 0x20(%rax), %esi
movl -0xc(%rbp), %ecx
movl $0x1, %eax
shll %cl, %eax
xorl $-0x1, %eax
andl %eax, %esi
leaq 0x522ad(%rip), %rdi     # 0x6f876
movb $0x0, %al
callq 0x19560
movq %rax, %rsi
movq -0x18(%rbp), %rax
leaq 0x51f29(%rip), %rdi     # 0x6f507
callq *%rax
jmp 0x1d62d
movq 0x65017(%rip), %rax     # 0x82600
movq 0x128(%rax), %rax
movq %rax, -0x20(%rbp)
movq 0x6501d(%rip), %rax     # 0x82618
movq (%rax), %rax
cvttss2si 0x20(%rax), %esi
movl -0xc(%rbp), %ecx
movl $0x1, %eax
shll %cl, %eax
orl %eax, %esi
leaq 0x52260(%rip), %rdi     # 0x6f876
movb $0x0, %al
callq 0x19560
movq %rax, %rsi
movq -0x20(%rbp), %rax
leaq 0x51edc(%rip), %rdi     # 0x6f507
callq *%rax
movq -0x8(%rbp), %rdi
callq 0x19d08
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: CTFFlags_Exec
void CTFFlags_Exec (edict_t *ent)
{
	int i;

	i = ent->client->menuselect - 2;
	if ((int)ctfflags->value & (1 << i)) // is it set?
		gi.cvar_set("ctfflags", va("%d", ((int)ctfflags->value & ~(1 << i))));
	else
		gi.cvar_set("ctfflags", va("%d", ((int)ctfflags->value |(1 << i))));
	Ref_CTFFlags_Menu(ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl 0xf88(%rax), %eax
subl $0x2, %eax
movl %eax, -0xc(%rbp)
movq 0x654f1(%rip), %rax     # 0x82b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
movl -0xc(%rbp), %ecx
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
andl %ecx, %eax
cmpl $0x0, %eax
je 0x1d6d2
movq 0x64f77(%rip), %rax     # 0x82600
movq 0x128(%rax), %rax
movq %rax, -0x18(%rbp)
movq 0x654bd(%rip), %rax     # 0x82b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %esi
movl -0xc(%rbp), %ecx
movl $0x1, %eax
shll %cl, %eax
xorl $-0x1, %eax
andl %eax, %esi
leaq 0x521bd(%rip), %rdi     # 0x6f876
movb $0x0, %al
callq 0x19560
movq %rax, %rsi
movq -0x18(%rbp), %rax
leaq 0x51e45(%rip), %rdi     # 0x6f513
callq *%rax
jmp 0x1d71d
movq 0x64f27(%rip), %rax     # 0x82600
movq 0x128(%rax), %rax
movq %rax, -0x20(%rbp)
movq 0x6546d(%rip), %rax     # 0x82b58
movq (%rax), %rax
cvttss2si 0x20(%rax), %esi
movl -0xc(%rbp), %ecx
movl $0x1, %eax
shll %cl, %eax
orl %eax, %esi
leaq 0x52170(%rip), %rdi     # 0x6f876
movb $0x0, %al
callq 0x19560
movq %rax, %rsi
movq -0x20(%rbp), %rax
leaq 0x51df8(%rip), %rdi     # 0x6f513
callq *%rax
movq -0x8(%rbp), %rdi
callq 0x19d10
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_Match_Maplist_Menu
void Ref_Match_Maplist_Menu (edict_t *ent)
{
	Menu_Free(ent);
	ent->client->menu = MENU_LOCAL;
	ent->client->menuselect = 0;

	Menu_Set(ent, 0, "Match Maplist <min> <max>", Ref_Main_Menu);
	Menu_Set(ent, 1, "-------------", NULL);
	SetMapsForMenu(ent);
	Menu_Set(ent, 17, "<next page>", Ref_Match_Maplist_Menu);

	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
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 $0x0, 0xf88(%rax)
movq -0x8(%rbp), %rdi
xorl %esi, %esi
leaq 0x51f6c(%rip), %rdx     # 0x6fcf2
movq 0x64d63(%rip), %rcx     # 0x82af0
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
leaq 0x51435(%rip), %rdx     # 0x6f1d7
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movq -0x8(%rbp), %rdi
callq 0x19a70
movq -0x8(%rbp), %rdi
movl $0x11, %esi
leaq 0x51592(%rip), %rdx     # 0x6f356
movq 0x650d5(%rip), %rcx     # 0x82ea0
callq 0x183b0
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x10, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Ref_Map_Maplist_Menu
void Ref_Map_Maplist_Menu (edict_t *ent)
{
	Menu_Free(ent);
	ent->client->menu = MENU_LOCAL;
	ent->client->menuselect = 0;

	Menu_Set(ent, 0, "Maplist <min> <max>", Ref_Main_Menu);
	Menu_Set(ent, 1, "-------------", NULL);
	SetMapsForMenu(ent);
	Menu_Set(ent, 17, "<next page>", Ref_Map_Maplist_Menu);

	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
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 $0x0, 0xf88(%rax)
movq -0x8(%rbp), %rdi
xorl %esi, %esi
leaq 0x51de2(%rip), %rdx     # 0x6fcf8
movq 0x64bd3(%rip), %rcx     # 0x82af0
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
leaq 0x512a5(%rip), %rdx     # 0x6f1d7
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movq -0x8(%rbp), %rdi
callq 0x19a70
movq -0x8(%rbp), %rdi
movl $0x11, %esi
leaq 0x51402(%rip), %rdx     # 0x6f356
movq 0x64bb5(%rip), %rcx     # 0x82b10
callq 0x183b0
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x10, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: SetMapsForMenu
void SetMapsForMenu( edict_t *ent)
{
	char text[MAX_INFO_STRING];
	int start;

	SetupShortList();

	MapInfo *slPtr = shortList;

	// Calculate our page
	start = 15*ent->client->menupage;

	slPtr = shortList;
	int mapCtr = 0;
	while (slPtr) {
		mapCtr++;
		slPtr = slPtr->next;
	}

	// Find if last page was the last
	if (start > 14)
	{
		if (start + 15 >= mapCtr)
		{
			start = 0;
			ent->client->menupage = 0;
		}
	}

	slPtr = shortList;
	for (int ct = 0; ct < start; ct++)
		slPtr = slPtr->next;


	for (int endCtr = 2; endCtr < 18 && slPtr; endCtr++) {
		sprintf(text, "%s %d %d", slPtr->mapname, slPtr->minplayers, slPtr->maxplayers);
		Menu_Set(ent, endCtr, text, SetMap);
		slPtr = slPtr->next;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x230, %rsp            # imm = 0x230
movq %rdi, -0x8(%rbp)
callq 0x19610
movq 0x64f45(%rip), %rax     # 0x82ed0
movq (%rax), %rax
movq %rax, -0x220(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
imull $0xf, 0x10c0(%rax), %eax
movl %eax, -0x214(%rbp)
movq 0x64f1f(%rip), %rax     # 0x82ed0
movq (%rax), %rax
movq %rax, -0x220(%rbp)
movl $0x0, -0x224(%rbp)
cmpq $0x0, -0x220(%rbp)
je 0x1dff2
movl -0x224(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x224(%rbp)
movq -0x220(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x220(%rbp)
jmp 0x1dfc5
cmpl $0xe, -0x214(%rbp)
jle 0x1e02a
movl -0x214(%rbp), %eax
addl $0xf, %eax
cmpl -0x224(%rbp), %eax
jl 0x1e028
movl $0x0, -0x214(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl $0x0, 0x10c0(%rax)
jmp 0x1e02a
movq 0x64e9f(%rip), %rax     # 0x82ed0
movq (%rax), %rax
movq %rax, -0x220(%rbp)
movl $0x0, -0x228(%rbp)
movl -0x228(%rbp), %eax
cmpl -0x214(%rbp), %eax
jge 0x1e076
movq -0x220(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x220(%rbp)
movl -0x228(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x228(%rbp)
jmp 0x1e045
movl $0x2, -0x22c(%rbp)
xorl %eax, %eax
cmpl $0x12, -0x22c(%rbp)
movb %al, -0x22d(%rbp)
jge 0x1e0a2
cmpq $0x0, -0x220(%rbp)
setne %al
movb %al, -0x22d(%rbp)
movb -0x22d(%rbp), %al
testb $0x1, %al
jne 0x1e0ae
jmp 0x1e125
leaq -0x210(%rbp), %rdi
movq -0x220(%rbp), %rax
movq (%rax), %rdx
movq -0x220(%rbp), %rax
movl 0x8(%rax), %ecx
movq -0x220(%rbp), %rax
movl 0xc(%rax), %r8d
leaq 0x51c31(%rip), %rsi     # 0x6fd0c
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
movl -0x22c(%rbp), %esi
leaq -0x210(%rbp), %rdx
movq 0x6457e(%rip), %rcx     # 0x82678
callq 0x183b0
movq -0x220(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x220(%rbp)
movl -0x22c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x22c(%rbp)
jmp 0x1e080
addq $0x230, %rsp            # imm = 0x230
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: SetupShortList
void SetupShortList()
{
	if (shortList)
	{
		return;
	}
        MapInfo *slPtr = NULL;
        for(int ctr = 0; maplist[ctr].mapname; ctr++) {
                char *thisMap = maplist[ctr].mapname;
                for(int lmNdx = 0; maplmlist[lmNdx]; lmNdx++) {
                        if (!strcmp(maplmlist[lmNdx], thisMap)) {
                                goto end;
                        }
                }
                if (!slPtr) {
                        shortList = slPtr = &maplist[ctr];
			slPtr->next = NULL;
                } else {
                        slPtr->next = &maplist[ctr];
                        slPtr = slPtr->next;
                        slPtr->next = NULL;
                }
                end:
                        continue;
        }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq 0x64d91(%rip), %rax     # 0x82ed0
cmpq $0x0, (%rax)
je 0x1e14a
jmp 0x1e24c
movq $0x0, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movslq -0xc(%rbp), %rcx
movq 0x64664(%rip), %rax     # 0x827c8
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
cmpq $0x0, (%rax)
je 0x1e24c
movslq -0xc(%rbp), %rcx
movq 0x64648(%rip), %rax     # 0x827c8
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movslq -0x1c(%rbp), %rcx
movq 0x642e8(%rip), %rax     # 0x82488
cmpq $0x0, (%rax,%rcx,8)
je 0x1e1d3
movslq -0x1c(%rbp), %rcx
movq 0x642d6(%rip), %rax     # 0x82488
movq (%rax,%rcx,8), %rdi
movq -0x18(%rbp), %rsi
callq 0x18bf0
cmpl $0x0, %eax
jne 0x1e1c6
jmp 0x1e23c
jmp 0x1e1c8
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x1e195
cmpq $0x0, -0x8(%rbp)
jne 0x1e208
movslq -0xc(%rbp), %rax
movq 0x645e3(%rip), %rcx     # 0x827c8
imulq $0x18, %rax, %rax
addq %rax, %rcx
movq %rcx, -0x8(%rbp)
movq 0x64cd9(%rip), %rax     # 0x82ed0
movq %rcx, (%rax)
movq -0x8(%rbp), %rax
movq $0x0, 0x10(%rax)
jmp 0x1e23a
movslq -0xc(%rbp), %rax
movq 0x645b5(%rip), %rcx     # 0x827c8
imulq $0x18, %rax, %rax
addq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq $0x0, 0x10(%rax)
jmp 0x1e23c
jmp 0x1e23e
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x1e159
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: MapMenu
void MapMenu(edict_t *ent, char *maplist[], char *msg)
{
	char text[MAX_INFO_STRING];
        char title[MAX_INFO_STRING];
	int i;

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

	sprintf(title, "%s", msg);

	Menu_Set(ent, 0, title, ent->client->prevmenu);
	Menu_Set(ent, 1, "-----------", NULL);
	for (i=2; i < 18; i++)
	{
		if (maplist[i])
		{
			sprintf(text, "%s", maplist[i]);
			Menu_Set(ent, i, text, SetMap);
		}
	}

	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x430, %rsp            # imm = 0x430
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%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 $0x0, 0xf88(%rax)
leaq -0x420(%rbp), %rdi
movq -0x18(%rbp), %rdx
leaq 0x516e7(%rip), %rsi     # 0x6f99d
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
leaq -0x420(%rbp), %rdx
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x10b8(%rax), %rcx
xorl %esi, %esi
callq 0x183b0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
leaq 0x50eeb(%rip), %rdx     # 0x6f1d9
xorl %eax, %eax
movl %eax, %ecx
callq 0x183b0
movl $0x2, -0x424(%rbp)
cmpl $0x12, -0x424(%rbp)
jge 0x1e370
movq -0x10(%rbp), %rax
movslq -0x424(%rbp), %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x1e35d
leaq -0x220(%rbp), %rdi
movq -0x10(%rbp), %rax
movslq -0x424(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq 0x51664(%rip), %rsi     # 0x6f99d
movb $0x0, %al
callq 0x19940
movq -0x8(%rbp), %rdi
movl -0x424(%rbp), %esi
leaq -0x220(%rbp), %rdx
movq 0x64320(%rip), %rcx     # 0x82678
callq 0x183b0
jmp 0x1e35f
movl -0x424(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x424(%rbp)
jmp 0x1e301
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x430, %rsp            # imm = 0x430
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: SelectKick
void SelectKick(edict_t* ent)
{
	int i; //initialize j or you read off into memory
	unsigned long id;
	char kickcommand[MAX_INFO_STRING];

	i = ent->client->menuselect;
	if (sscanf(ent->client->localmenu[i].text, "%lu", &id))
	{
		Com_sprintf(kickcommand, sizeof kickcommand, "\nctfkick %lu\n", id);
		ForceCommand(ent, kickcommand);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp            # imm = 0x220
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl 0xf88(%rax), %eax
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
addq $0xf90, %rax            # imm = 0xF90
movslq -0xc(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rdi
leaq 0x519dc(%rip), %rsi     # 0x6fdaf
leaq -0x18(%rbp), %rdx
movb $0x0, %al
callq 0x19180
cmpl $0x0, %eax
je 0x1e411
leaq -0x220(%rbp), %rdi
movq -0x18(%rbp), %rcx
movl $0x200, %esi            # imm = 0x200
leaq 0x519b9(%rip), %rdx     # 0x6fdb3
movb $0x0, %al
callq 0x18f90
movq -0x8(%rbp), %rdi
leaq -0x220(%rbp), %rsi
callq 0x18d80
addq $0x220, %rsp            # imm = 0x220
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Menu_Next
void Menu_Next (edict_t *ent)
{
	gclient_t	*cl;
	menuitem *menu;
	int size;

	cl = ent->client;

	if (ent->client->menu == MENU_LOCAL) // Special case
	{
		menu = ent->client->localmenu;
		size = 18;
	}
	else // Static menu
	{
		menu = menulist[ent->client->menu].menu;
		size = menulist[ent->client->menu].size;
	}

	cl->menuselect = (cl->menuselect + 1) % size;
	while (!menu[cl->menuselect].func)
		cl->menuselect = (cl->menuselect + 1) % size;

	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
cmpl $0x0, 0xf84(%rax)
jne 0x1e4b4
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
addq $0xf90, %rax            # imm = 0xF90
movq %rax, -0x18(%rbp)
movl $0x12, -0x1c(%rbp)
jmp 0x1e4fb
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movslq 0xf84(%rax), %rcx
movq 0x645fe(%rip), %rax     # 0x82ac8
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movslq 0xf84(%rax), %rcx
movq 0x645da(%rip), %rax     # 0x82ac8
shlq $0x4, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movl %eax, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movl 0xf88(%rax), %eax
addl $0x1, %eax
cltd
idivl -0x1c(%rbp)
movq -0x10(%rbp), %rax
movl %edx, 0xf88(%rax)
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movslq 0xf88(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
cmpq $0x0, 0x8(%rax)
setne %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x1e53c
jmp 0x1e559
movq -0x10(%rbp), %rax
movl 0xf88(%rax), %eax
addl $0x1, %eax
cltd
idivl -0x1c(%rbp)
movq -0x10(%rbp), %rax
movl %edx, 0xf88(%rax)
jmp 0x1e516
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Menu_Prev
void Menu_Prev (edict_t *ent)
{
	gclient_t	*cl;
	menuitem *menu;
	int size;

	cl = ent->client;

	if (ent->client->menu == MENU_LOCAL) // Special case
	{
		menu = ent->client->localmenu;
		size = 18;
	}
	else // Static menu
	{
		menu = menulist[ent->client->menu].menu;
		size = menulist[ent->client->menu].size;
	}

	if (!cl->menuselect)
		cl->menuselect = size - 1;
	else
		cl->menuselect--;

	while (!menu[cl->menuselect].func)
	{
		if (!cl->menuselect)
			cl->menuselect = size - 1;
		else
			cl->menuselect--;
	}

	Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
cmpl $0x0, 0xf84(%rax)
jne 0x1e5b4
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
addq $0xf90, %rax            # imm = 0xF90
movq %rax, -0x18(%rbp)
movl $0x12, -0x1c(%rbp)
jmp 0x1e5fb
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movslq 0xf84(%rax), %rcx
movq 0x644fe(%rip), %rax     # 0x82ac8
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movslq 0xf84(%rax), %rcx
movq 0x644da(%rip), %rax     # 0x82ac8
shlq $0x4, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movl %eax, -0x1c(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0xf88(%rax)
jne 0x1e61a
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xf88(%rax)
jmp 0x1e62d
movq -0x10(%rbp), %rax
movl 0xf88(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0xf88(%rax)
jmp 0x1e62f
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movslq 0xf88(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
cmpq $0x0, 0x8(%rax)
setne %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x1e655
jmp 0x1e689
movq -0x10(%rbp), %rax
cmpl $0x0, 0xf88(%rax)
jne 0x1e674
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xf88(%rax)
jmp 0x1e687
movq -0x10(%rbp), %rax
movl 0xf88(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0xf88(%rax)
jmp 0x1e62f
movq -0x8(%rbp), %rdi
callq 0x19900
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_menu.c
// Function: Menu_Use
void Menu_Use (edict_t *ent)
{
	gclient_t	*cl;
	menuitem *menu;
	int size;

	cl = ent->client;

	if (ent->client->menu == MENU_LOCAL) // Special case
	{
		menu = ent->client->localmenu;
		size = 18;
	}
	else // Static menu
	{
		menu = menulist[ent->client->menu].menu;
		size = menulist[ent->client->menu].size;
	}

	if (menu && size)
	{
		if (menu[cl->menuselect].func)
		{
			ent->client->prevmenu = ent->client->currmenu;
			ent->client->currmenu = menu[cl->menuselect].func;

			ent->client->menulastpage = ent->client->menupage;
			if (ent->client->currmenu == ent->client->prevmenu)
				ent->client->menupage++;
			else
				ent->client->menupage = 0;

			menu[cl->menuselect].func(ent);
		}
	}
	//Menu_Draw (ent);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
cmpl $0x0, 0xf84(%rax)
jne 0x1e6e4
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
addq $0xf90, %rax            # imm = 0xF90
movq %rax, -0x18(%rbp)
movl $0x12, -0x1c(%rbp)
jmp 0x1e72b
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movslq 0xf84(%rax), %rcx
movq 0x643ce(%rip), %rax     # 0x82ac8
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movslq 0xf84(%rax), %rcx
movq 0x643aa(%rip), %rax     # 0x82ac8
shlq $0x4, %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
movl %eax, -0x1c(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x1e831
cmpl $0x0, -0x1c(%rbp)
je 0x1e831
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movslq 0xf88(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
cmpq $0x0, 0x8(%rax)
je 0x1e82f
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x10b0(%rax), %rcx
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rcx, 0x10b8(%rax)
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movslq 0xf88(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rcx
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rcx, 0x10b0(%rax)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl 0x10c0(%rax), %ecx
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl %ecx, 0x10c4(%rax)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x10b0(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x58(%rcx), %rcx
cmpq 0x10b8(%rcx), %rax
jne 0x1e7fd
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl 0x10c0(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10c0(%rax)
jmp 0x1e80f
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movl $0x0, 0x10c0(%rax)
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movslq 0xf88(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq -0x8(%rbp), %rdi
callq *%rax
jmp 0x1e831
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_replace.c
// Function: replace_armor
void replace_armor(edict_t *person, char *temp)
{
	gitem_t *item;
	int test, power_armor_type;
	char fill[1024];
	qboolean	hasArmor = false; // MJD Unitialized.  It needs to be


	strcpy(temp, ""); //this will get replaced

	power_armor_type = PowerArmorType(person);

	if (power_armor_type)
	{
		test = person->client->pers.inventory[ITEM_INDEX(FindItem ("cells"))];
		if (test)
		{
			hasArmor = true;
			sprintf(temp, "%i cells of ", test);
			if (power_armor_type == POWER_ARMOR_SCREEN)
				strcat(temp, "power screen ");
			else
				strcat(temp, "power shield ");
		}
	}

	test = ArmorIndex(person);
	if (test)
	{
		item = GetItemByIndex (test);
		if (item)
		{
			hasArmor = true;
			if (strlen(temp) > 1)
				strcat(temp, "and ");
			sprintf(fill, "%i of %s", 
				person->client->pers.inventory[test], item->pickup_name);
			strcat(temp, fill);
		}
	}
	
	if (!hasArmor)
		strcat (temp, "no armor");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x430, %rsp            # imm = 0x430
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x424(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x519c8(%rip), %rsi     # 0x70f80
callq 0x182c0
movq -0x8(%rbp), %rdi
callq 0x18b80
movl %eax, -0x20(%rbp)
cmpl $0x0, -0x20(%rbp)
je 0x1f667
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq %rax, -0x430(%rbp)
leaq 0x543a2(%rip), %rdi     # 0x7398b
callq 0x18a90
movq 0x6384b(%rip), %rcx     # 0x82e40
subq %rcx, %rax
movl $0x88, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq -0x430(%rbp), %rax
movl 0x318(%rax,%rcx,4), %eax
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
je 0x1f665
movl $0x1, -0x424(%rbp)
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %edx
leaq 0x50b0d(%rip), %rsi     # 0x70141
movb $0x0, %al
callq 0x19940
cmpl $0x1, -0x20(%rbp)
jne 0x1f653
movq -0x10(%rbp), %rdi
leaq 0x50b02(%rip), %rsi     # 0x7014e
callq 0x19880
jmp 0x1f663
movq -0x10(%rbp), %rdi
leaq 0x50afe(%rip), %rsi     # 0x7015c
callq 0x19880
jmp 0x1f665
jmp 0x1f667
movq -0x8(%rbp), %rdi
callq 0x187c0
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
je 0x1f6f7
movl -0x1c(%rbp), %edi
callq 0x18d70
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x1f6f5
movl $0x1, -0x424(%rbp)
movq -0x10(%rbp), %rdi
callq 0x186e0
cmpq $0x1, %rax
jbe 0x1f6b5
movq -0x10(%rbp), %rdi
leaq 0x4fa42(%rip), %rsi     # 0x6f0f2
callq 0x19880
leaq -0x420(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movslq -0x1c(%rbp), %rcx
movl 0x318(%rax,%rcx,4), %edx
movq -0x18(%rbp), %rax
movq 0x50(%rax), %rcx
leaq 0x50a8c(%rip), %rsi     # 0x7016a
movb $0x0, %al
callq 0x19940
movq -0x10(%rbp), %rdi
leaq -0x420(%rbp), %rsi
callq 0x19880
jmp 0x1f6f7
cmpl $0x0, -0x424(%rbp)
jne 0x1f710
movq -0x10(%rbp), %rdi
leaq 0x50a68(%rip), %rsi     # 0x70173
callq 0x19880
addq $0x430, %rsp            # imm = 0x430
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_replace.c
// Function: replace_health
void replace_health(edict_t *person, char *temp)
{
	edict_t *cur = NULL;
	int sum = 0;
	char str[10] = "";

	strcpy(temp,"");

	if (person->health <= 0)
		strcpy(temp, "dead");
	else
	{
		sprintf(temp, "%i health", person->health);
		while ((cur = findradius(cur, person->s.origin, 256)) != NULL)
		{
			if (!strcmp(cur->classname, "item_health_small") ||
			!strcmp(cur->classname, "item_health_large") ||
			!strcmp(cur->classname, "item_health") ||
			!strcmp(cur->classname, "item_health_mega") )
				sum += cur->count;
		}

		if (person->health < person->max_health)
		{
			strcat(temp," with ");
			if (!sum)
				strcat(temp,"none ");
			else
			{
				sprintf(str, "%i ", sum);
				strcat(temp, str);
			}
			strcat(temp, "nearby");
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
leaq -0x26(%rbp), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x188f0
movq -0x10(%rbp), %rdi
leaq 0x51826(%rip), %rsi     # 0x70f80
callq 0x182c0
movq -0x8(%rbp), %rax
cmpl $0x0, 0x254(%rax)
jg 0x1f781
movq -0x10(%rbp), %rdi
leaq 0x50a05(%rip), %rsi     # 0x7017c
callq 0x182c0
jmp 0x1f8bb
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x254(%rax), %edx
leaq 0x509eb(%rip), %rsi     # 0x70181
movb $0x0, %al
callq 0x19940
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x4, %rsi
movss 0x5076b(%rip), %xmm0    # 0x6ff1c
callq 0x19ae0
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
je 0x1f849
movq -0x18(%rbp), %rax
movq 0x138(%rax), %rdi
leaq 0x509b5(%rip), %rsi     # 0x7018b
callq 0x18bf0
cmpl $0x0, %eax
je 0x1f834
movq -0x18(%rbp), %rax
movq 0x138(%rax), %rdi
leaq 0x509ab(%rip), %rsi     # 0x7019d
callq 0x18bf0
cmpl $0x0, %eax
je 0x1f834
movq -0x18(%rbp), %rax
movq 0x138(%rax), %rdi
leaq 0x509a1(%rip), %rsi     # 0x701af
callq 0x18bf0
cmpl $0x0, %eax
je 0x1f834
movq -0x18(%rbp), %rax
movq 0x138(%rax), %rdi
leaq 0x5076d(%rip), %rsi     # 0x6ff97
callq 0x18bf0
cmpl $0x0, %eax
jne 0x1f844
movq -0x18(%rbp), %rax
movl 0x290(%rax), %eax
addl -0x1c(%rbp), %eax
movl %eax, -0x1c(%rbp)
jmp 0x1f79d
movq -0x8(%rbp), %rax
movl 0x254(%rax), %eax
movq -0x8(%rbp), %rcx
cmpl 0x258(%rcx), %eax
jge 0x1f8b9
movq -0x10(%rbp), %rdi
leaq 0x50951(%rip), %rsi     # 0x701bb
callq 0x19880
cmpl $0x0, -0x1c(%rbp)
jne 0x1f887
movq -0x10(%rbp), %rdi
leaq 0x50942(%rip), %rsi     # 0x701c2
callq 0x19880
jmp 0x1f8a9
leaq -0x26(%rbp), %rdi
movl -0x1c(%rbp), %edx
leaq 0x57bb4(%rip), %rsi     # 0x77449
movb $0x0, %al
callq 0x19940
movq -0x10(%rbp), %rdi
leaq -0x26(%rbp), %rsi
callq 0x19880
movq -0x10(%rbp), %rdi
leaq 0x50914(%rip), %rsi     # 0x701c8
callq 0x19880
jmp 0x1f8bb
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_replace.c
// Function: replace_artifact
void replace_artifact(edict_t *person, char *temp)
{
	if (person->client->rune)
	{
		if (person->client->rune->item)
		{
			strcpy(temp,person->client->rune->item->pickup_name);
		}
		else
		{
			strcpy(temp, "an unnamed artifact of power");
		}
	}
	else
	{
		strcpy(temp, "no artifact");
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
cmpq $0x0, 0xf68(%rax)
je 0x1f942
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0xf68(%rax), %rax
cmpq $0x0, 0x330(%rax)
je 0x1f930
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0xf68(%rax), %rax
movq 0x330(%rax), %rax
movq 0x50(%rax), %rsi
callq 0x182c0
jmp 0x1f940
movq -0x10(%rbp), %rdi
leaq 0x50894(%rip), %rsi     # 0x701cf
callq 0x182c0
jmp 0x1f952
movq -0x10(%rbp), %rdi
leaq 0x5089f(%rip), %rsi     # 0x701ec
callq 0x182c0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_replace.c
// Function: replace_team
void replace_team(edict_t *person, char *temp)
{
	if (person->client->ctf.teamnum == CTF_TEAM_RED)
		strcpy(temp, "red team");
	else if (person->client->ctf.teamnum == CTF_TEAM_BLUE)
		strcpy(temp, "blue team");
	else
		strcpy(temp, "unassigned team");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
cmpl $0x1, 0x1100(%rax)
jne 0x1f9f3
movq -0x10(%rbp), %rdi
leaq 0x50816(%rip), %rsi     # 0x70202
callq 0x182c0
jmp 0x1fa28
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
cmpl $0x2, 0x1100(%rax)
jne 0x1fa16
movq -0x10(%rbp), %rdi
leaq 0x507fc(%rip), %rsi     # 0x7020b
callq 0x182c0
jmp 0x1fa26
movq -0x10(%rbp), %rdi
leaq 0x507f4(%rip), %rsi     # 0x70215
callq 0x182c0
jmp 0x1fa28
addq $0x10, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_replace.c
// Function: replace_flaginfo
void replace_flaginfo(edict_t *person, char *temp)
{
	int flagcount=CTF_TEAM_UNDEFINED+1;										   
	edict_t *whichflag = NULL;

	if (!ctf_validateplayer(person, CTF_TEAM_IGNORETEAM))
		return;// only works for valid players

	strcpy(temp,"");
	while (flagcount < CTF_TEAM_LIMIT)
	{
		if (flagcount == person->client->ctf.teamnum)
			strcat(temp, "Your ");
		else
			strcat(temp, "The enemy ");
		ctf_teamstring(temp, flagcount, CTF_TEAM_MATCHING);
		strcat(temp, " flag ");
		whichflag = ctf_getteamflag(flagcount, CTF_TEAM_MATCHING);
		if (!whichflag)
			strcat(temp, "is missing.  ");
		else if (whichflag->owner)
		{
			strcat(temp,"is held by ");
			strcat(temp,whichflag->owner->client->pers.netname );
			strcat(temp,".  ");
		}
		else if (!ctf_flagathome(whichflag))
			strcat(temp, "is sitting around.  ");
		else
			strcat(temp, "is at home.  " );

		flagcount++;
	}
	strcat(temp,"\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x1, -0x14(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movl $0xfffffffc, %esi       # imm = 0xFFFFFFFC
callq 0x18e40
cmpl $0x0, %eax
jne 0x1fa67
jmp 0x1fbac
movq -0x10(%rbp), %rdi
leaq 0x5150e(%rip), %rsi     # 0x70f80
callq 0x182c0
cmpl $0x3, -0x14(%rbp)
jge 0x1fb9c
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
movq 0x58(%rcx), %rcx
cmpl 0x1100(%rcx), %eax
jne 0x1faa6
movq -0x10(%rbp), %rdi
leaq 0x50786(%rip), %rsi     # 0x70225
callq 0x19880
jmp 0x1fab6
movq -0x10(%rbp), %rdi
leaq 0x5077a(%rip), %rsi     # 0x7022b
callq 0x19880
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movl $0xfffffff9, %edx       # imm = 0xFFFFFFF9
callq 0x18210
movq -0x10(%rbp), %rdi
leaq 0x4f686(%rip), %rsi     # 0x6f158
callq 0x19880
movl -0x14(%rbp), %edi
movl $0xfffffff9, %esi       # imm = 0xFFFFFFF9
callq 0x18ef0
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x1fb04
movq -0x10(%rbp), %rdi
leaq 0x5073c(%rip), %rsi     # 0x70236
callq 0x19880
jmp 0x1fb8e
movq -0x20(%rbp), %rax
cmpq $0x0, 0x110(%rax)
je 0x1fb5a
movq -0x10(%rbp), %rdi
leaq 0x50727(%rip), %rsi     # 0x70244
callq 0x19880
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x110(%rax), %rax
movq 0x58(%rax), %rsi
addq $0xc0, %rsi
addq $0x200, %rsi            # imm = 0x200
callq 0x19880
movq -0x10(%rbp), %rdi
leaq 0x5070e(%rip), %rsi     # 0x70261
callq 0x19880
jmp 0x1fb8c
movq -0x20(%rbp), %rdi
callq 0x19650
cmpl $0x0, %eax
jne 0x1fb7a
movq -0x10(%rbp), %rdi
leaq 0x506dd(%rip), %rsi     # 0x70250
callq 0x19880
jmp 0x1fb8a
movq -0x10(%rbp), %rdi
leaq 0x506e0(%rip), %rsi     # 0x70265
callq 0x19880
jmp 0x1fb8c
jmp 0x1fb8e
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x1fa77
movq -0x10(%rbp), %rdi
leaq 0x51361(%rip), %rsi     # 0x70f08
callq 0x19880
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)