LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: WriteField2
void WriteField2(FILE* f, field_t* field, byte* base)
{
	size_t		len;
	void* p;

	if (field->flags & FFL_SPAWNTEMP)
		return;

	p = (void*)(base + field->ofs);
	switch (field->type)
	{
	case F_LSTRING:
		if (*(char**)p)
		{
			len = strlen(*(char**)p) + 1;
			fwrite(*(char**)p, len, 1, f);
		}
		break;
	default:// MJD Added because the compile FREAKS, here
		break;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testb $0x1, 0x10(%rsi)
jne 0x3677e
cmpl $0x2, 0xc(%rsi)
jne 0x3677e
movslq 0x8(%rsi), %rax
movq (%rdx,%rax), %r14
testq %r14, %r14
je 0x3677e
movq %rdi, %rbx
movq %r14, %rdi
callq 0x186c0
leaq 0x1(%rax), %rsi
pushq $0x1
popq %rdx
movq %r14, %rdi
movq %rbx, %rcx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x198e0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: ReadField
void ReadField(FILE* f, field_t* field, byte* base)
{
	void* p;
	int			len;
	int			index;

	if (field->flags & FFL_SPAWNTEMP)
		return;

	p = (void*)(base + field->ofs);
	switch (field->type)
	{
	case F_INT:
	case F_FLOAT:
	case F_ANGLEHACK:
	case F_VECTOR:
	case F_IGNORE:
		break;

	case F_LSTRING:
		len = *(int*)p;
		if (!len)
			*(char**)p = NULL;
		else
		{
			*(char**)p = gi.TagMalloc(len, TAG_LEVEL);
			size_t count = fread(*(char**)p, len, 1, f);
			if (count)
				; // don't worry, be happy
		}
		break;
	case F_EDICT:
		index = *(int*)p;
		if (index == -1)
			*(edict_t**)p = NULL;
		else
			*(edict_t**)p = &g_edicts[index];
		break;
	case F_CLIENT:
		index = *(int*)p;
		if (index == -1)
			*(gclient_t**)p = NULL;
		else
			*(gclient_t**)p = &game.clients[index];
		break;
	case F_ITEM:
		index = *(int*)p;
		if (index == -1)
			*(gitem_t**)p = NULL;
		else
			*(gitem_t**)p = &itemlist[index];
		break;

		//relative to code segment
	case F_FUNCTION:
		index = *(int*)p;
		if (index == 0)
			*(byte**)p = NULL;
		else
			*(byte**)p = ((byte*)InitGame) + index;
		break;

		//relative to data segment
	case F_MMOVE:
		index = *(int*)p;
		if (index == 0)
			*(byte**)p = NULL;
		else
			*(byte**)p = (byte*)&mmove_reloc + index;
		break;

	default:
		gi.error("ReadEdict: unknown field type");
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
testb $0x1, 0x10(%rsi)
jne 0x36886
movl 0xc(%rsi), %eax
cmpq $0xb, %rax
ja 0x36892
movq %rdx, %rbx
movslq 0x8(%rsi), %r12
leaq 0x1d345(%rip), %rcx     # 0x53af8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movslq (%rbx,%r12), %r15
testq %r15, %r15
je 0x36881
movq %rdi, %r14
movq 0x2fe2d(%rip), %rax     # 0x66600
movl %r15d, %edi
movl $0x2fe, %esi            # imm = 0x2FE
callq *0x108(%rax)
movq %rax, (%rbx,%r12)
pushq $0x1
popq %rdx
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rcx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x18420
movslq (%rbx,%r12), %rax
testq %rax, %rax
je 0x36881
addq 0x2fe77(%rip), %rax     # 0x66688
jmp 0x3687b
movslq (%rbx,%r12), %rax
cmpq $-0x1, %rax
je 0x36881
imulq $0x88, %rax, %rax
addq 0x30615(%rip), %rax     # 0x66e40
jmp 0x3687b
movslq (%rbx,%r12), %rax
testq %rax, %rax
je 0x36881
addq 0x3014b(%rip), %rax     # 0x66988
jmp 0x3687b
movslq (%rbx,%r12), %rax
cmpq $-0x1, %rax
je 0x36881
movq 0x304f0(%rip), %rcx     # 0x66d40
imulq $0x9140, %rax, %rax     # imm = 0x9140
addq 0x408(%rcx), %rax
jmp 0x3687b
movslq (%rbx,%r12), %rax
cmpq $-0x1, %rax
je 0x36881
movq 0x2fce7(%rip), %rcx     # 0x66558
imulq $0x4a8, %rax, %rax      # imm = 0x4A8
addq (%rcx), %rax
movq %rax, (%rbx,%r12)
jmp 0x36886
andq $0x0, (%rbx,%r12)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq 0x2fd67(%rip), %rax     # 0x66600
movq 0x38(%rax), %rcx
leaq 0x1d7e7(%rip), %rdi     # 0x5408b
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmpq *%rcx
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: WriteClient
void WriteClient(FILE* f, gclient_t* client)
{
	field_t* field;

	// all of the ints, floats, and vectors stay as they are
	temp = *client;

	// change the pointers to lengths or indexes
	for (field = clientfields; field->name; field++)
	{
		WriteField1(f, field, (byte*)&temp);
	}

	// write the block
	fwrite(&temp, sizeof(temp), 1, f);

	// now write any allocated data following the edict
	for (field = clientfields; field->name; field++)
	{
		WriteField2(f, field, (byte*)client);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x4d4b0(%rip), %r15     # 0x83d78
movl $0x9140, %edx           # imm = 0x9140
movq %r15, %rdi
callq 0x18d60
movq 0x30054(%rip), %r12     # 0x66930
cmpq $0x0, (%r12)
je 0x368f4
movq %r12, %rsi
movq %r15, %rdx
callq 0x18570
addq $0x18, %r12
jmp 0x368dc
leaq 0x4d47d(%rip), %rdi     # 0x83d78
pushq $0x1
popq %rdx
movl $0x9140, %esi           # imm = 0x9140
movq %r14, %rcx
callq 0x198e0
movq 0x3001e(%rip), %r15     # 0x66930
cmpq $0x0, (%r15)
je 0x3692c
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x19320
addq $0x18, %r15
jmp 0x36912
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: ReadClient
void ReadClient(FILE* f, gclient_t* client)
{
	field_t* field;
	size_t	count;

	count = fread(client, sizeof(*client), 1, f);
	if (count)
		; // don't worry, be happy

	for (field = clientfields; field->name; field++)
	{
		ReadField(f, field, (byte*)client);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x1
popq %rdx
movl $0x9140, %esi           # imm = 0x9140
movq %rbx, %rdi
movq %r14, %rcx
callq 0x18420
movq 0x2ffd3(%rip), %r15     # 0x66930
cmpq $0x0, (%r15)
je 0x36977
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x19a90
addq $0x18, %r15
jmp 0x3695d
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: WriteGame
void WriteGame(char* filename, qboolean autosave)
{
	FILE* f;
	int		i;
	char	str[MAX_INFO_STRING];

	if (!autosave)
		SaveClientData();

	f = fopen(filename, "wb");
	if (!f)
	{
		gi.error("Couldn't open %s", filename);
		return;
	}

	memset(str, 0, sizeof(str));
	strcpy(str, __DATE__);
	fwrite(str, sizeof(str), 1, f);

	game.autosaved = autosave;
	fwrite(&game, sizeof(game), 1, f);
	game.autosaved = false;

	for (i = 0; i < game.maxclients; i++)
		WriteClient(f, &game.clients[i]);

	fclose(f);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movl %esi, %ebp
movq %rdi, %r14
testl %esi, %esi
jne 0x3699a
callq 0x18db0
leaq 0x1c8ff(%rip), %rsi     # 0x532a0
movq %r14, %rdi
callq 0x19620
testq %rax, %rax
je 0x36a66
movq %rax, %rbx
leaq 0xc(%rsp), %r14
xorl %r12d, %r12d
movl $0x1f4, %edx            # imm = 0x1F4
movq %r14, %rdi
xorl %esi, %esi
callq 0x188e0
movabsq $0x3220333120677541, %rax # imm = 0x3220333120677541
movq %rax, -0xc(%r14)
movl $0x353230, -0x4(%r14)   # imm = 0x353230
movq %rsp, %rdi
pushq $0x1
popq %r15
movl $0x200, %esi            # imm = 0x200
movq %r15, %rdx
movq %rbx, %rcx
callq 0x198e0
movq 0x30340(%rip), %r14     # 0x66d40
movl %ebp, 0x620(%r14)
movl $0x628, %esi            # imm = 0x628
movq %r14, %rdi
movq %r15, %rdx
movq %rbx, %rcx
callq 0x198e0
andl $0x0, 0x620(%r14)
xorl %r15d, %r15d
movslq 0x610(%r14), %rax
cmpq %rax, %r15
jge 0x36a4f
movq 0x408(%r14), %rsi
addq %r12, %rsi
movq %rbx, %rdi
callq 0x19650
incq %r15
addq $0x9140, %r12           # imm = 0x9140
jmp 0x36a25
movq %rbx, %rdi
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x185e0
movq 0x2fb93(%rip), %rax     # 0x66600
movq 0x38(%rax), %rcx
leaq 0x19485(%rip), %rdi     # 0x4fefd
movq %r14, %rsi
xorl %eax, %eax
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rcx
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: ReadGame
void ReadGame(char* filename)
{
	FILE* f;
	int		i;
	char	str[MAX_INFO_STRING] = { 0 };
	size_t	count;

	gi.FreeTags(TAG_GAME);

	f = fopen(filename, "rb");
	if (!f)
	{
		gi.error("Couldn't open %s", filename);
		return;
	}

	count = fread(str, sizeof(str), 1, f);
	if (count)
		; // don't worry, be happy
	if (strcmp(str, __DATE__))
	{
		fclose(f);
		gi.error("Savegame from an older version.\n");
	}

	g_edicts = gi.TagMalloc(game.maxentities * sizeof(g_edicts[0]), TAG_GAME);
	globals.edicts = g_edicts;

	count = fread(&game, sizeof(game), 1, f);
	game.clients = gi.TagMalloc(game.maxclients * sizeof(game.clients[0]), TAG_GAME);
	for (i = 0; i < game.maxclients; i++)
		ReadClient(f, &game.clients[i]);

	fclose(f);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rdi, %r14
movq %rsp, %rdi
movl $0x200, %edx            # imm = 0x200
xorl %esi, %esi
callq 0x188e0
movq 0x2fb4b(%rip), %r15     # 0x66600
movl $0x2fd, %edi            # imm = 0x2FD
callq *0x118(%r15)
leaq 0x1c7d5(%rip), %rsi     # 0x5329d
movq %r14, %rdi
callq 0x19620
testq %rax, %rax
je 0x36bca
movq %rax, %rbx
movq %rsp, %r14
pushq $0x1
popq %rdx
movl $0x200, %esi            # imm = 0x200
movq %r14, %rdi
movq %rax, %rcx
callq 0x18420
leaq 0x1ae7f(%rip), %rsi     # 0x51978
pushq $0xc
popq %rdx
movq %r14, %rdi
callq 0x191e0
testl %eax, %eax
je 0x36b1d
movq %rbx, %rdi
callq 0x185e0
leaq 0x1d592(%rip), %rdi     # 0x540a9
xorl %eax, %eax
callq *0x38(%r15)
movq 0x3021c(%rip), %r14     # 0x66d40
imull $0x4a8, 0x614(%r14), %edi # imm = 0x4A8
movl $0x2fd, %esi            # imm = 0x2FD
callq *0x108(%r15)
movq 0x2fa16(%rip), %rcx     # 0x66558
movq %rax, (%rcx)
movq 0x2ffbc(%rip), %rcx     # 0x66b08
movq %rax, 0x80(%rcx)
pushq $0x1
popq %rdx
movl $0x628, %esi            # imm = 0x628
movq %r14, %rdi
movq %rbx, %rcx
callq 0x18420
imull $0x9140, 0x610(%r14), %edi # imm = 0x9140
movl $0x2fd, %esi            # imm = 0x2FD
callq *0x108(%r15)
movq %rax, 0x408(%r14)
xorl %r15d, %r15d
xorl %r12d, %r12d
movslq 0x610(%r14), %rax
cmpq %rax, %r12
jge 0x36bb4
movq 0x408(%r14), %rsi
addq %r15, %rsi
movq %rbx, %rdi
callq 0x19410
incq %r12
addq $0x9140, %r15           # imm = 0x9140
jmp 0x36b8a
movq %rbx, %rdi
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x185e0
movq 0x38(%r15), %rcx
leaq 0x19328(%rip), %rdi     # 0x4fefd
movq %r14, %rsi
xorl %eax, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r14
popq %r15
jmpq *%rcx
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: WriteEdict
void WriteEdict(FILE* f, edict_t* ent)
{
	field_t* field;
	edict_t		temp;

	// all of the ints, floats, and vectors stay as they are
	temp = *ent;

	// change the pointers to lengths or indexes
	for (field = fields; field->name; field++)
	{
		WriteField1(f, field, (byte*)&temp);
	}

	// write the block
	fwrite(&temp, sizeof(temp), 1, f);

	// now write any allocated data following the edict
	for (field = fields; field->name; field++)
	{
		WriteField2(f, field, (byte*)ent);
	}

}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x4a8, %rsp            # imm = 0x4A8
movq %rsi, %rbx
movq %rdi, %r14
movq %rsp, %r15
movl $0x4a8, %edx            # imm = 0x4A8
movq %r15, %rdi
callq 0x18d60
movq 0x2fe2b(%rip), %r12     # 0x66a40
cmpq $0x0, (%r12)
je 0x36c2d
movq %r12, %rsi
movq %r15, %rdx
callq 0x18570
addq $0x18, %r12
jmp 0x36c15
movq %rsp, %rdi
pushq $0x1
popq %rdx
movl $0x4a8, %esi            # imm = 0x4A8
movq %r14, %rcx
callq 0x198e0
movq 0x2fdf9(%rip), %r15     # 0x66a40
cmpq $0x0, (%r15)
je 0x36c61
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x19320
addq $0x18, %r15
jmp 0x36c47
addq $0x4a8, %rsp            # imm = 0x4A8
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: WriteLevelLocals
void WriteLevelLocals(FILE* f)
{
	field_t* field;
	level_locals_t		temp;

	// all of the ints, floats, and vectors stay as they are
	temp = level;

	// change the pointers to lengths or indexes
	for (field = levelfields; field->name; field++)
	{
		WriteField1(f, field, (byte*)&temp);
	}

	// write the block
	fwrite(&temp, sizeof(temp), 1, f);

	// now write any allocated data following the edict
	for (field = levelfields; field->name; field++)
	{
		WriteField2(f, field, (byte*)&level);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x160, %rsp            # imm = 0x160
movq %rdi, %rbx
movq 0x3011a(%rip), %rsi     # 0x66da0
leaq 0x8(%rsp), %r14
movl $0x158, %edx            # imm = 0x158
movq %r14, %rdi
callq 0x18d60
movq 0x2fa59(%rip), %r15     # 0x666f8
cmpq $0x0, (%r15)
je 0x36cb6
movq %r15, %rsi
movq %r14, %rdx
callq 0x18570
addq $0x18, %r15
jmp 0x36c9f
leaq 0x8(%rsp), %rdi
pushq $0x1
popq %rdx
movl $0x158, %esi            # imm = 0x158
movq %rbx, %rcx
callq 0x198e0
movq 0x2fa26(%rip), %r14     # 0x666f8
movq 0x300c7(%rip), %r15     # 0x66da0
cmpq $0x0, (%r14)
je 0x36cf3
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x19320
addq $0x18, %r14
jmp 0x36cd9
addq $0x160, %rsp            # imm = 0x160
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: ReadEdict
void ReadEdict(FILE* f, edict_t* ent)
{
	field_t* field;
	size_t	count;

	count = fread(ent, sizeof(*ent), 1, f);
	if (count)
		; // don't worry, be happy

	for (field = fields; field->name; field++)
	{
		ReadField(f, field, (byte*)ent);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x1
popq %rdx
movl $0x4a8, %esi            # imm = 0x4A8
movq %rbx, %rdi
movq %r14, %rcx
callq 0x18420
movq 0x2fd1b(%rip), %r15     # 0x66a40
cmpq $0x0, (%r15)
je 0x36d3f
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x19a90
addq $0x18, %r15
jmp 0x36d25
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: ReadLevelLocals
void ReadLevelLocals(FILE* f)
{
	field_t* field;
	size_t	count;

	count = fread(&level, sizeof(level), 1, f);
	if (count)
		; // don't worry, be happy

	for (field = levelfields; field->name; field++)
	{
		ReadField(f, field, (byte*)&level);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x3004c(%rip), %r14     # 0x66da0
pushq $0x1
popq %rdx
movl $0x158, %esi            # imm = 0x158
movq %r14, %rdi
movq %rbx, %rcx
callq 0x18420
movq 0x2f98a(%rip), %r15     # 0x666f8
cmpq $0x0, (%r15)
je 0x36d88
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x19a90
addq $0x18, %r15
jmp 0x36d6e
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_save.c
// Function: WriteLevel
void WriteLevel(char* filename)
{
	int		i;
	edict_t* ent;
	FILE* f;
	void	(*base)(void);	/* Pointer to function with no arguments */

	f = fopen(filename, "wb");
	if (!f)
	{
		gi.error("Couldn't open %s", filename);
		return;
	}

	// write out edict size for checking
	i = sizeof(edict_t);
	fwrite(&i, sizeof(i), 1, f);

	// write out a function pointer for checking
	base = InitGame;
	fwrite(&base, sizeof(base), 1, f);

	// write out level_locals_t
	WriteLevelLocals(f);

	// write out all the entities
	for (i = 0; i < globals.num_edicts; i++)
	{
		ent = &g_edicts[i];
		if (!ent->inuse)
			continue;
		fwrite(&i, sizeof(i), 1, f);
		WriteEdict(f, ent);
	}
	i = -1;
	fwrite(&i, sizeof(i), 1, f);

	fclose(f);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
leaq 0x1c4fa(%rip), %rsi     # 0x532a0
callq 0x19620
testq %rax, %rax
je 0x36e89
movq %rax, %rbx
leaq 0xc(%rsp), %r14
movl $0x4a8, (%r14)          # imm = 0x4A8
pushq $0x4
popq %rsi
pushq $0x1
popq %r12
movq %r14, %rdi
movq %r12, %rdx
movq %rax, %rcx
callq 0x198e0
movq 0x2f8a9(%rip), %rax     # 0x66688
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
pushq $0x8
popq %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x198e0
movq %rbx, %rdi
callq 0x19b10
movq 0x2fd04(%rip), %rbp     # 0x66b08
movl 0x8c(%rbp), %eax
xorl %ecx, %ecx
movq 0x2f745(%rip), %r15     # 0x66558
movl %ecx, 0xc(%rsp)
cmpl %eax, %ecx
jge 0x36e5d
movq (%r15), %r13
movslq %ecx, %rdx
imulq $0x4a8, %rdx, %rdx      # imm = 0x4A8
cmpl $0x0, 0x60(%r13,%rdx)
je 0x36e59
addq %rdx, %r13
movq %r14, %rdi
pushq $0x4
popq %rsi
movq %r12, %rdx
movq %rbx, %rcx
callq 0x198e0
movq %rbx, %rdi
movq %r13, %rsi
callq 0x181f0
movl 0x8c(%rbp), %eax
movl 0xc(%rsp), %ecx
incl %ecx
jmp 0x36e13
leaq 0xc(%rsp), %rdi
orl $-0x1, (%rdi)
pushq $0x4
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rcx
callq 0x198e0
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x185e0
movq 0x2f770(%rip), %rax     # 0x66600
movq 0x38(%rax), %rcx
leaq 0x19062(%rip), %rdi     # 0x4fefd
movq %r14, %rsi
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rcx
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_spawn.c
// Function: SP_info_flag_red
void SP_info_flag_red(edict_t *self)
{
	if (!deathmatch->value)
	{
		G_FreeEdict (self);
		return;
	}
	SP_misc_teleporter_dest (self);
	self->s.effects |= EF_COLOR_SHELL;
	self->s.renderfx |= RF_SHELL_RED;
	self->classname = "info_flag_red";
	redflag = self;
	putonfloor(self);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x2f80b(%rip), %rax     # 0x66ec0
movq (%rax), %rax
movss 0x20(%rax), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x376c7
jnp 0x376fe
movq %rbx, %rdi
callq 0x18540
movabsq $0x40000000100, %rax    # imm = 0x40000000100
orq %rax, 0x40(%rbx)
leaq 0x1786c(%rip), %rax     # 0x4ef50
movq %rax, 0x138(%rbx)
movq 0x2f106(%rip), %rax     # 0x667f8
movq %rbx, (%rax)
movq %rbx, %rdi
popq %rbx
jmp 0x186b0
movq %rbx, %rdi
popq %rbx
jmp 0x19c50
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_spawn.c
// Function: SP_info_flag_blue
void SP_info_flag_blue(edict_t *self)
{
	if (!deathmatch->value)
	{
		G_FreeEdict (self);
		return;
	}
	SP_misc_teleporter_dest (self);
	self->s.effects |= EF_COLOR_SHELL;
	self->s.renderfx |= RF_SHELL_BLUE;
	self->classname = "info_flag_blue";
	blueflag = self;
	putonfloor(self);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x2f7ae(%rip), %rax     # 0x66ec0
movq (%rax), %rax
movss 0x20(%rax), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x37724
jnp 0x3775b
movq %rbx, %rdi
callq 0x18540
movabsq $0x100000000100, %rax   # imm = 0x100000000100
orq %rax, 0x40(%rbx)
leaq 0x1781d(%rip), %rax     # 0x4ef5e
movq %rax, 0x138(%rbx)
movq 0x2f111(%rip), %rax     # 0x66860
movq %rbx, (%rax)
movq %rbx, %rdi
popq %rbx
jmp 0x186b0
movq %rbx, %rdi
popq %rbx
jmp 0x19c50
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_spawn.c
// Function: WriteEntFile
void WriteEntFile (char *mapname, char *entities)
{
	FILE	*fp;
	char	name[MAX_INFO_STRING];

	strcpy (name, gamedir->string);
	strcat (name, "/ent/");
	strcat (name, mapname);
	strcat (name, ".ent");

	fp = fopen (name, "wt");
	fwrite(entities, 1, strlen(entities), fp);
	fclose(fp);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rsi, %rbx
movq %rdi, %r14
movq 0x2f733(%rip), %rax     # 0x66eb0
movq (%rax), %rax
movq 0x8(%rax), %rsi
movq %rsp, %r15
movq %r15, %rdi
callq 0x182c0
movq %r15, %rdi
callq 0x186c0
movl $0x746e652f, (%rsp,%rax) # imm = 0x746E652F
movw $0x2f, 0x4(%rsp,%rax)
movq %r15, %rdi
movq %r14, %rsi
callq 0x19800
movq %r15, %rdi
callq 0x186c0
movl $0x746e652e, (%rsp,%rax) # imm = 0x746E652E
movb $0x0, 0x4(%rsp,%rax)
leaq 0x1cd8c(%rip), %rsi     # 0x54557
movq %r15, %rdi
callq 0x19620
movq %rax, %r14
movq %rbx, %rdi
callq 0x186c0
pushq $0x1
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
movq %r14, %rcx
callq 0x198e0
movq %r14, %rdi
callq 0x185e0
addq $0x200, %rsp            # imm = 0x200
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_spawn.c
// Function: ED_CallSpawn
void ED_CallSpawn (edict_t *ent)
{
	spawn_t	*s;
	gitem_t	*item;
	int		i;

	if (!ent->classname)
	{
		gi.dprintf ("ED_CallSpawn: NULL classname\n");
		return;
	}

	// check item spawn functions
	for (i=0,item=itemlist ; i<game.num_items ; i++,item++)
	{
		if (!item->classname)
			continue;
		if (!strcmp(item->classname, ent->classname))
		{	// found it
			SpawnItem (ent, item);
			return;
		}
	}

	// check normal spawn functions
	for (s=spawns ; s->name ; s++)
	{
		if (!strcmp(s->name, ent->classname))
		{	// found it
			s->spawn (ent);
			return;
		}
	}
	gi.dprintf ("%s doesn't have a spawn function\n", ent->classname);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0x138(%rdi), %rbx
testq %rbx, %rbx
je 0x37a91
movq %rdi, %r14
movq 0x2f311(%rip), %rax     # 0x66d40
movl 0x61c(%rax), %eax
xorl %ebp, %ebp
testl %eax, %eax
cmovgl %eax, %ebp
movq 0x2f3fd(%rip), %r15     # 0x66e40
subl $0x1, %ebp
jb 0x37a65
movq (%r15), %rdi
testq %rdi, %rdi
je 0x37a5c
movq %rbx, %rsi
callq 0x18bc0
testl %eax, %eax
je 0x37ab1
addq $0x88, %r15
jmp 0x37a43
movq 0x2f2f4(%rip), %rax     # 0x66d60
addq $0x8, %rax
movq -0x8(%rax), %rdi
testq %rdi, %rdi
je 0x37ac6
movq %rax, %r15
movq %rbx, %rsi
callq 0x18bc0
testl %eax, %eax
je 0x37ae9
movq %r15, %rax
addq $0x10, %rax
jmp 0x37a70
movq 0x2eb68(%rip), %rax     # 0x66600
movq 0x8(%rax), %rcx
leaq 0x1cbb1(%rip), %rdi     # 0x54654
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *%rcx
movq %r14, %rdi
movq %r15, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x18fe0
movq 0x2eb33(%rip), %rax     # 0x66600
movq 0x8(%rax), %rcx
leaq 0x1cb9a(%rip), %rdi     # 0x54672
movq %rbx, %rsi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *%rcx
movq %r14, %rdi
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *(%rax)
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_spawn.c
// Function: ED_NewString
char *ED_NewString (char *string)
{
	char	*newb, *new_p;
	int		i;
	int		len;
	
	len = (int)strlen(string) + 1;

	newb = gi.TagMalloc (len, TAG_LEVEL);

	new_p = newb;

	for (i=0 ; i< len ; i++)
	{
		if (string[i] == '\\' && i < len-1)
		{
			i++;
			if (string[i] == 'n')
				*new_p++ = '\n';
			else
				*new_p++ = '\\';
		}
		else
			*new_p++ = string[i];
	}
	
	return newb;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x186c0
movq %rax, %r14
leal 0x1(%rax), %edi
movq 0x2eaec(%rip), %rax     # 0x66600
movl $0x2fe, %esi            # imm = 0x2FE
callq *0x108(%rax)
xorl %esi, %esi
pushq $0xa
popq %rcx
pushq $0x5c
popq %rdx
movq %rax, %rdi
cmpl %r14d, %esi
jg 0x37b65
movslq %esi, %r9
movb (%rbx,%r9), %r8b
cmpb $0x5c, %r8b
setne %r10b
cmpl %r14d, %esi
setge %r11b
orb %r10b, %r11b
jne 0x37b5b
cmpb $0x6e, 0x1(%rbx,%r9)
leaq 0x1(%r9), %rsi
movl %edx, %r8d
cmovel %ecx, %r8d
movb %r8b, (%rdi)
incq %rdi
incl %esi
jmp 0x37b2a
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_spawn.c
// Function: ED_ParseEdict
char *ED_ParseEdict (char *data, edict_t *ent)
{
	qboolean	init;
	char		keyname[MAX_INFO_STRING];
	char		*com_token;

	init = false;
	memset (&st, 0, sizeof(st));

// go through all the dictionary pairs
	while (1)
	{	
	// parse key
		com_token = COM_Parse (&data);
		if (com_token[0] == '}')
			break;
		if (!data)
			gi.error ("ED_ParseEntity: EOF without closing brace");

		strncpy (keyname, com_token, sizeof(keyname)-1);
		
	// parse value	
		com_token = COM_Parse (&data);
		if (!data)
			gi.error ("ED_ParseEntity: EOF without closing brace");

		if (com_token[0] == '}')
			gi.error ("ED_ParseEntity: closing brace without data");

		init = true;	

	// keynames with a leading underscore are used for utility comments,
	// and are immediately discarded by quake
		if (keyname[0] == '_')
			continue;

		ED_ParseField (keyname, com_token, ent);
	}

	if (!init)
		memset (ent, 0, sizeof(*ent));

	return data;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rsi, %rbx
leaq 0x8(%rsp), %r14
movq %rdi, (%r14)
xorps %xmm0, %xmm0
movq 0x2e956(%rip), %rax     # 0x66668
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x50(%rax)
movb $0x1, %r15b
movq 0x2e8cd(%rip), %r13     # 0x66600
leaq 0x10(%rsp), %r12
movq %r14, %rdi
callq 0x19300
cmpb $0x7d, (%rax)
je 0x37dc0
movq %rax, %rbp
cmpq $0x0, 0x8(%rsp)
jne 0x37d5d
leaq 0x1c9a3(%rip), %rdi     # 0x546fa
xorl %eax, %eax
callq *0x38(%r13)
movl $0x1ff, %edx            # imm = 0x1FF
movq %r12, %rdi
movq %rbp, %rsi
callq 0x181e0
movq %r14, %rdi
callq 0x19300
movq %rax, %rbp
cmpq $0x0, 0x8(%rsp)
jne 0x37d8d
leaq 0x1c973(%rip), %rdi     # 0x546fa
xorl %eax, %eax
callq *0x38(%r13)
cmpb $0x7d, (%rbp)
jne 0x37da0
leaq 0x1c98a(%rip), %rdi     # 0x54724
xorl %eax, %eax
callq *0x38(%r13)
xorl %r15d, %r15d
cmpb $0x5f, 0x10(%rsp)
je 0x37d38
movq %r12, %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x18990
xorl %r15d, %r15d
jmp 0x37d38
testb $0x1, %r15b
je 0x37dd5
movl $0x4a8, %edx            # imm = 0x4A8
movq %rbx, %rdi
xorl %esi, %esi
callq 0x188e0
movq 0x8(%rsp), %rax
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_spawn.c
// Function: G_FindTeams
void G_FindTeams (void)
{
	edict_t	*e, *e2, *chain;
	int		i, j;
	int		c, c2;

	c = 0;
	c2 = 0;
	for (i=1, e=g_edicts+i ; i < globals.num_edicts ; i++,e++)
	{
		if (!e->inuse)
			continue;
		if (!e->team)
			continue;
		if (e->flags & FL_TEAMSLAVE)
			continue;
		chain = e;
		e->teammaster = e;
		c++;
		c2++;
		for (j=i+1, e2=e+1 ; j < globals.num_edicts ; j++,e2++)
		{
			if (!e2->inuse)
				continue;
			if (!e2->team)
				continue;
			if (e2->flags & FL_TEAMSLAVE)
				continue;
			if (!strcmp(e->team, e2->team))
			{
				c2++;
				chain->teamchain = e2;
				e2->teammaster = e;
				chain = e2;
				e2->flags |= FL_TEAMSLAVE;
			}
		}
	}

	gi.dprintf ("%i teams with %i entities\n", c, c2);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x2e757(%rip), %rax     # 0x66558
movq (%rax), %rcx
movq 0x2ecfd(%rip), %rax     # 0x66b08
movl 0x8c(%rax), %r15d
xorl %esi, %esi
pushq $0x1
popq %rbx
xorl %edx, %edx
cmpl %r15d, %ebx
jge 0x37efa
movq %rcx, %rax
addq $0x4a8, %rcx            # imm = 0x4A8
cmpl $0x0, 0x508(%rax)
je 0x37ef3
movq 0x610(%rax), %r14
testq %r14, %r14
je 0x37ef3
testb $0x4, 0x5c5(%rax)
jne 0x37ef3
movl %esi, 0x4(%rsp)
movq %rcx, 0x778(%rax)
movq %rcx, 0x8(%rsp)
movl %ebx, %r12d
incl %edx
movl %edx, (%rsp)
movq %rcx, 0x10(%rsp)
leaq 0x4a8(%rcx), %rbp
incl %r12d
cmpl %r15d, %r12d
jge 0x37ee5
cmpl $0x0, 0x60(%rbp)
je 0x37eae
movq 0x168(%rbp), %rsi
testq %rsi, %rsi
je 0x37eae
movl 0x11c(%rbp), %r13d
btl $0xa, %r13d
jb 0x37eae
movq %r14, %rdi
callq 0x18bc0
testl %eax, %eax
je 0x37eb7
addq $0x4a8, %rbp            # imm = 0x4A8
jmp 0x37e7a
movq 0x10(%rsp), %rax
movq %rbp, 0x2c8(%rax)
movq 0x8(%rsp), %rax
movq %rax, 0x2d0(%rbp)
orl $0x400, %r13d           # imm = 0x400
movl %r13d, 0x11c(%rbp)
movq %rbp, %rcx
movl (%rsp), %edx
jmp 0x37e69
movl 0x4(%rsp), %esi
incl %esi
movl (%rsp), %edx
movq 0x8(%rsp), %rcx
incl %ebx
jmp 0x37e19
movq 0x2e6ff(%rip), %rax     # 0x66600
movq 0x8(%rax), %rcx
leaq 0x1c843(%rip), %rdi     # 0x5474f
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rcx
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_spawn.c
// Function: putonfloor
void putonfloor (edict_t *ent)
{
	trace_t		tr;
	vec3_t		dest;
	float		*v;

	v = tv(0,0,-128);
	VectorAdd (ent->s.origin, v, dest);

	tr = gi.trace (ent->s.origin, ent->mins, ent->maxs, dest, ent, MASK_SOLID);
	if (tr.startsolid)
	{
		// If we start solid, don't move us
		return;
	}

	VectorCopy (tr.endpos, ent->s.origin);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
movss 0x1752c(%rip), %xmm2    # 0x4f45c
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
callq 0x196c0
leaq 0x4(%rbx), %rsi
movsd 0x4(%rbx), %xmm0
movsd (%rax), %xmm1
addps %xmm0, %xmm1
leaq 0x10(%rsp), %r8
movlps %xmm1, (%r8)
movss 0xc(%rbx), %xmm0
addss 0x8(%rax), %xmm0
movss %xmm0, 0x8(%r8)
movq 0x2e695(%rip), %rax     # 0x66600
leaq 0xcc(%rbx), %rdx
leaq 0xd8(%rbx), %rcx
movl $0x3, (%rsp)
leaq 0x20(%rsp), %r14
movq %r14, %rdi
movq %rbx, %r9
callq *0x60(%rax)
cmpl $0x0, 0x4(%r14)
jne 0x37faa
movsd 0x2c(%rsp), %xmm0
movss 0x34(%rsp), %xmm1
movlps %xmm0, 0x4(%rbx)
movss %xmm1, 0xc(%rbx)
addq $0x68, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_svcmds.c
// Function: SV_FilterPacket
qboolean SV_FilterPacket (char *from)
{
	int		i;
	unsigned	in;
	byte m[4] = { 0 };
	char *p;

	i = 0;
	p = from;
	while (*p && i < 4) {
		m[i] = 0;
		while (*p >= '0' && *p <= '9') {
			m[i] = m[i]*10 + (*p - '0');
			p++;
		}
		if (!*p || *p == ':')
			break;
		i++, p++;
	}
	
	memcpy(&in, m, sizeof in);

	for (i=0 ; i<numipfilters ; i++)
		if ( (in & ipfilters[i].mask) == ipfilters[i].compare)
			return (int)filterban->value;

	return (int)!filterban->value;
}

// Assembly:
andl $0x0, -0x4(%rsp)
xorl %eax, %eax
cmpb $0x0, (%rdi)
je 0x383c9
cmpq $0x3, %rax
ja 0x383c9
movb $0x0, -0x4(%rsp,%rax)
incq %rdi
xorl %ecx, %ecx
movzbl -0x1(%rdi), %esi
leal -0x30(%rsi), %edx
cmpb $0x9, %dl
ja 0x383bb
movzbl %cl, %ecx
imull $0xa, %ecx, %ecx
addb %cl, %dl
movb %dl, -0x4(%rsp,%rax)
incq %rdi
movl %edx, %ecx
jmp 0x3839c
testl %esi, %esi
je 0x383c9
cmpl $0x3a, %esi
je 0x383c9
incq %rax
jmp 0x38387
movl -0x4(%rsp), %eax
movq 0x2e3dc(%rip), %rcx     # 0x667b0
movl (%rcx), %ecx
xorl %edx, %edx
testl %ecx, %ecx
cmovlel %edx, %ecx
movq 0x2e9c4(%rip), %rsi     # 0x66da8
cmpq %rdx, %rcx
je 0x3840b
movl (%rsi,%rdx,8), %edi
andl %eax, %edi
leaq 0x1(%rdx), %r8
cmpl 0x4(%rsi,%rdx,8), %edi
movq %r8, %rdx
jne 0x383e4
movq 0x2e9ce(%rip), %rax     # 0x66dd0
movq (%rax), %rax
cvttss2si 0x20(%rax), %eax
retq
movq 0x2e9be(%rip), %rax     # 0x66dd0
movq (%rax), %rax
xorps %xmm0, %xmm0
cmpeqss 0x20(%rax), %xmm0
movd %xmm0, %eax
andl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_svcmds.c
// Function: SVCmd_AddIP_f
void SVCmd_AddIP_f (void)
{
	int		i;
	
	if (gi.argc() < 3) {
		gi.cprintf(NULL, PRINT_HIGH, "Usage:  addip <ip-mask>\n");
		return;
	}

	for (i=0 ; i<numipfilters ; i++)
		if (ipfilters[i].compare == 0xffffffff)
			break;		// free spot
	if (i == numipfilters)
	{
		if (numipfilters == MAX_IPFILTERS)
		{
			gi.cprintf (NULL, PRINT_HIGH, "IP filter list is full\n");
			return;
		}
		numipfilters++;
	}
	
	if (!StringToFilter (gi.argv(2), &ipfilters[i]))
		ipfilters[i].compare = 0xffffffff;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x2e1cf(%rip), %rbx     # 0x66600
callq *0x138(%rbx)
cmpl $0x3, %eax
jge 0x38457
movq 0x10(%rbx), %rcx
leaq 0x1cb27(%rip), %rdx     # 0x54f6e
pushq $0x2
popq %rsi
xorl %edi, %edi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rcx
movq 0x2e352(%rip), %rax     # 0x667b0
movl (%rax), %ecx
xorl %edx, %edx
testl %ecx, %ecx
movl $0x0, %r14d
cmovgl %ecx, %r14d
movq 0x2e933(%rip), %rsi     # 0x66da8
cmpq %rdx, %r14
je 0x38489
cmpl $-0x1, 0x4(%rsi,%rdx,8)
je 0x38486
incq %rdx
jmp 0x38475
movl %edx, %r14d
cmpl %ecx, %r14d
jne 0x384a7
cmpl $0x400, %ecx            # imm = 0x400
jne 0x384a3
movq 0x10(%rbx), %rcx
leaq 0x1cae6(%rip), %rdx     # 0x54f87
jmp 0x38447
incl %ecx
movl %ecx, (%rax)
pushq $0x2
popq %rdi
callq *0x140(%rbx)
movl %r14d, %ebx
shlq $0x3, %rbx
addq 0x2e8ea(%rip), %rbx     # 0x66da8
movq %rax, %rdi
movq %rbx, %rsi
callq 0x384d9
testl %eax, %eax
jne 0x384d1
orl $-0x1, 0x4(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_svcmds.c
// Function: StringToFilter
static qboolean StringToFilter (char *s, ipfilter_t *f)
{
	char	num[128];
	int		i, j;
	byte	b[4];
	byte	m[4];
	
	for (i=0 ; i<4 ; i++)
	{
		b[i] = 0;
		m[i] = 0;
	}
	
	for (i=0 ; i<4 ; i++)
	{
		if (*s < '0' || *s > '9')
		{
			gi.cprintf(NULL, PRINT_HIGH, "Bad filter address: %s\n", s);
			return false;
		}
		
		j = 0;
		while (*s >= '0' && *s <= '9')
		{
			num[j++] = *s++;
		}
		num[j] = 0;
		b[i] = atoi(num);
		if (b[i] != 0)
			m[i] = 255;

		if (!*s)
			break;
		s++;
	}
	
	memcpy(&f->mask, m, sizeof f->mask);
	memcpy(&f->compare, b, sizeof f->compare);

	return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
xorl %ecx, %ecx
cmpq $0x4, %rcx
je 0x38506
movb %al, 0xc(%rsp,%rcx)
movb %al, 0x8(%rsp,%rcx)
incq %rcx
jmp 0x384f3
xorl %r12d, %r12d
leaq 0x10(%rsp), %r15
cmpq $0x4, %r12
je 0x38569
movb (%rbx), %al
leal -0x3a(%rax), %ecx
cmpb $-0xa, %cl
jb 0x3857e
xorl %r13d, %r13d
leal -0x30(%rax), %ecx
cmpb $0x9, %cl
ja 0x38538
movb %al, 0x10(%rsp,%r13)
movb 0x1(%rbx,%r13), %al
incq %r13
jmp 0x38521
movl %r13d, %eax
movb $0x0, 0x10(%rsp,%rax)
movq %r15, %rdi
callq 0x197a0
movb %al, 0xc(%rsp,%r12)
testb %al, %al
je 0x38557
movb $-0x1, 0x8(%rsp,%r12)
cmpb $0x0, (%rbx,%r13)
je 0x38569
addq %r13, %rbx
incq %rbx
incq %r12
jmp 0x3850e
movl 0x8(%rsp), %eax
movl %eax, (%r14)
movl 0xc(%rsp), %eax
movl %eax, 0x4(%r14)
pushq $0x1
popq %r14
jmp 0x3859d
movq 0x2e07b(%rip), %r8      # 0x66600
leaq 0x1cb6a(%rip), %rdx     # 0x550f6
xorl %r14d, %r14d
pushq $0x2
popq %rsi
xorl %edi, %edi
movq %rbx, %rcx
xorl %eax, %eax
callq *0x10(%r8)
movl %r14d, %eax
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_svcmds.c
// Function: SVCmd_RemoveIP_f
void SVCmd_RemoveIP_f (void)
{
	ipfilter_t	f;
	int			i, j;

	if (gi.argc() < 3) {
		gi.cprintf(NULL, PRINT_HIGH, "Usage:  sv removeip <ip-mask>\n");
		return;
	}

	if (!StringToFilter (gi.argv(2), &f))
		return;

	for (i=0 ; i<numipfilters ; i++)
		if (ipfilters[i].mask == f.mask
		&& ipfilters[i].compare == f.compare)
		{
			for (j=i+1 ; j<numipfilters ; j++)
				ipfilters[j-1] = ipfilters[j];
			numipfilters--;
			gi.cprintf (NULL, PRINT_HIGH, "Removed.\n");
			return;
		}
	gi.cprintf (NULL, PRINT_HIGH, "Didn't find %s.\n", gi.argv(2));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq 0x2e03f(%rip), %r14     # 0x66600
callq *0x138(%r14)
cmpl $0x2, %eax
jg 0x385ea
movq 0x10(%r14), %rcx
leaq 0x1c9c7(%rip), %rdx     # 0x54f9f
pushq $0x2
popq %rsi
xorl %edi, %edi
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
jmpq *%rcx
pushq $0x2
popq %rdi
callq *0x140(%r14)
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x384d9
testl %eax, %eax
je 0x386a0
movq 0x2e1a0(%rip), %rax     # 0x667b0
movl (%rax), %ecx
movl 0x8(%rsp), %edi
xorl %r8d, %r8d
testl %ecx, %ecx
cmovgl %ecx, %r8d
movl 0xc(%rsp), %r9d
negq %r8
pushq $0x1
popq %rdx
movq 0x2e777(%rip), %rsi     # 0x66da8
leaq (%r8,%rdx), %r10
cmpq $0x1, %r10
je 0x38671
cmpl %edi, -0x8(%rsi,%rdx,8)
jne 0x38648
cmpl %r9d, -0x4(%rsi,%rdx,8)
je 0x38659
incq %rdx
jmp 0x38631
movq (%rsi,%rdx,8), %rdi
movq %rdi, -0x8(%rsi,%rdx,8)
incq %rdx
cmpl %edx, %ecx
jg 0x3864d
decl %ecx
movl %ecx, (%rax)
movq 0x10(%r14), %rcx
leaq 0x1c952(%rip), %rdx     # 0x54fbe
jmp 0x385d8
movq 0x10(%r14), %r15
pushq $0x2
popq %rbx
movl %ebx, %edi
callq *0x140(%r14)
leaq 0x1c940(%rip), %rdx     # 0x54fc8
xorl %edi, %edi
movl %ebx, %esi
movq %rax, %rcx
xorl %eax, %eax
movq %r15, %r8
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
jmpq *%r8
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_svcmds.c
// Function: SVCmd_ListIP_f
void SVCmd_ListIP_f(void)
{
	int		i, j;
	byte	b[4];

	gi.cprintf(NULL, PRINT_HIGH, "Filter list:\n");
	for (i = 0; i < numipfilters; i++)
	{
		for (j = 0; j < sizeof b; j++)
		{
			b[j] = (ipfilters[i].compare >> (j * 8)) & 0xff;
		}
		gi.cprintf(NULL, PRINT_HIGH, "%3i.%3i.%3i.%3i\n", b[0], b[1], b[2], b[3]);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x2df41(%rip), %rcx     # 0x66600
leaq 0x1c913(%rip), %rdx     # 0x54fd9
pushq $0x2
popq %rsi
xorl %edi, %edi
xorl %eax, %eax
movq %rcx, %rbx
callq *0x10(%rcx)
movq 0x2e0d6(%rip), %r12     # 0x667b0
movq 0x2e6c7(%rip), %r13     # 0x66da8
leaq 0x14(%rsp), %rbp
leaq 0x1c8fa(%rip), %r14     # 0x54fe7
xorl %r15d, %r15d
movslq (%r12), %rax
cmpq %rax, %r15
jge 0x38744
movl 0x4(%r13,%r15,8), %eax
movq %rbp, %rdx
xorl %ecx, %ecx
cmpq $0x20, %rcx
je 0x38719
movl %eax, %esi
shrl %cl, %esi
movb %sil, (%rdx)
addq $0x8, %rcx
incq %rdx
jmp 0x38703
movzbl 0x14(%rsp), %ecx
movzbl 0x15(%rsp), %r8d
movzbl 0x16(%rsp), %r9d
movzbl 0x17(%rsp), %eax
movl %eax, (%rsp)
xorl %edi, %edi
pushq $0x2
popq %rsi
movq %r14, %rdx
xorl %eax, %eax
callq *0x10(%rbx)
incq %r15
jmp 0x386f0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_svcmds.c
// Function: SVCmd_WriteIP_f
void SVCmd_WriteIP_f (void)
{
	FILE* f;
	char	name[MAX_OSPATH];
	byte	b[4];
	int		i, j;

	if (gamedir->string && gamedir->string[0])
		sprintf(name, "./%s/listip.cfg", gamedir->string);
	else
		sprintf(name, "./listip.cfg");

	gi.cprintf(NULL, PRINT_HIGH, "Writing %s.\n", name);

	f = fopen(name, "wb");
	if (!f)
	{
		gi.cprintf(NULL, PRINT_HIGH, "Couldn't open %s\n", name);
		return;
	}

	fprintf(f, "set filterban %d\n", (int)filterban->value);

	for (i = 0; i < numipfilters; i++)
	{
		for (j = 0; j < sizeof b; j++)
		{
			b[j] = (ipfilters[i].compare >> (j * 8)) & 0xff;
		}
		fprintf(f, "sv addip %u.%u.%u.%u\n", b[0], b[1], b[2], b[3]);
	}

	fclose(f);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq 0x2e745(%rip), %rax     # 0x66eb0
movq (%rax), %rax
movq 0x8(%rax), %rdx
testq %rdx, %rdx
je 0x38791
cmpb $0x0, (%rdx)
je 0x38791
leaq 0x1c875(%rip), %rsi     # 0x54ff8
leaq 0x10(%rsp), %rdi
xorl %eax, %eax
callq 0x198c0
jmp 0x387af
movabsq $0x6766632e706974, %rax # imm = 0x6766632E706974
movq %rax, 0x15(%rsp)
movabsq $0x70697473696c2f2e, %rax # imm = 0x70697473696C2F2E
movq %rax, 0x10(%rsp)
movq 0x2de4a(%rip), %r14     # 0x66600
leaq 0x1c858(%rip), %rdx     # 0x55015
pushq $0x2
popq %rsi
leaq 0x10(%rsp), %rbx
xorl %edi, %edi
movq %rbx, %rcx
xorl %eax, %eax
callq *0x10(%r14)
leaq 0x1aac9(%rip), %rsi     # 0x532a0
movq %rbx, %rdi
callq 0x19620
testq %rax, %rax
je 0x38881
movq %rax, %rbx
movq 0x2e5de(%rip), %rax     # 0x66dd0
movq (%rax), %rax
cvttss2si 0x20(%rax), %edx
leaq 0x1c833(%rip), %rsi     # 0x55034
movq %rbx, %rdi
xorl %eax, %eax
callq 0x18cb0
movq 0x2df9e(%rip), %r15     # 0x667b0
movq 0x2e58f(%rip), %r12     # 0x66da8
leaq 0xc(%rsp), %r13
leaq 0x1c821(%rip), %r14     # 0x55046
xorl %ebp, %ebp
movslq (%r15), %rax
cmpq %rax, %rbp
jge 0x38877
movl 0x4(%r12,%rbp,8), %eax
movq %r13, %rdx
xorl %ecx, %ecx
cmpq $0x20, %rcx
je 0x3884f
movl %eax, %esi
shrl %cl, %esi
movb %sil, (%rdx)
addq $0x8, %rcx
incq %rdx
jmp 0x38839
movzbl 0xc(%rsp), %edx
movzbl 0xd(%rsp), %ecx
movzbl 0xe(%rsp), %r8d
movzbl 0xf(%rsp), %r9d
movq %rbx, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x18cb0
incq %rbp
jmp 0x38827
movq %rbx, %rdi
callq 0x185e0
jmp 0x38898
leaq 0x1c79a(%rip), %rdx     # 0x55022
pushq $0x2
popq %rsi
leaq 0x10(%rsp), %rcx
xorl %edi, %edi
xorl %eax, %eax
callq *0x10(%r14)
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_svcmds.c
// Function: SVCmd_QuadTime_f
void SVCmd_QuadTime_f(void)
{
        unsigned long i=0;
        gitem_t * target = NULL;

        if (gi.argc() < 3) {
                gi.cprintf(NULL, PRINT_HIGH, "Usage:  sv quadtime <seconds>\n");
                return;
        }

        if (!sscanf(gi.argv(2), "%lu", &i))
        {
	        gi.cprintf(NULL, PRINT_HIGH, "Usage: sv quadtime <seconds>\n");

                return;
        }

        target = FindItem("Quad Damage");
        if (target && i > 0 && i < 1200) {
                target->quantity = i;
		char buffer[MAX_INFO_STRING];
		sprintf(buffer, "Quad respawn updated to %lu\n", i);
		ctf_BSafePrint(PRINT_HIGH, buffer);
        }
}

// Assembly:
pushq %rbx
subq $0x210, %rsp            # imm = 0x210
andq $0x0, 0x8(%rsp)
movq 0x2dd41(%rip), %rbx     # 0x66600
callq *0x138(%rbx)
cmpl $0x2, %eax
jg 0x388e6
movq 0x10(%rbx), %rcx
leaq 0x1c787(%rip), %rdx     # 0x5505c
pushq $0x2
popq %rsi
xorl %edi, %edi
xorl %eax, %eax
addq $0x210, %rsp            # imm = 0x210
popq %rbx
jmpq *%rcx
pushq $0x2
popq %rdi
callq *0x140(%rbx)
leaq 0x164c9(%rip), %rsi     # 0x4edbf
leaq 0x8(%rsp), %rdx
movq %rax, %rdi
xorl %eax, %eax
callq 0x19110
testl %eax, %eax
je 0x3895e
leaq 0x15e87(%rip), %rdi     # 0x4e797
callq 0x18a80
testq %rax, %rax
setne %cl
movq 0x8(%rsp), %rdx
leaq -0x1(%rdx), %rsi
cmpq $0x4af, %rsi            # imm = 0x4AF
setb %sil
andb %cl, %sil
cmpb $0x1, %sil
jne 0x3896f
movl %edx, 0x5c(%rax)
leaq 0x1c757(%rip), %rsi     # 0x55099
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x198c0
pushq $0x2
popq %rdi
movq %rbx, %rsi
callq 0x193f0
jmp 0x3896f
leaq 0x1c716(%rip), %rdx     # 0x5507b
pushq $0x2
popq %rsi
xorl %edi, %edi
xorl %eax, %eax
callq *0x10(%rbx)
addq $0x210, %rsp            # imm = 0x210
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_svcmds.c
// Function: ServerCommand
void	ServerCommand (void)
{
	char	*cmd;

	cmd = gi.argv(1);
	if (Q_stricmp (cmd, "test") == 0)
		Svcmd_Test_f ();
	else if (Q_stricmp (cmd, "addip") == 0)
		SVCmd_AddIP_f ();
	else if (Q_stricmp (cmd, "removeip") == 0)
		SVCmd_RemoveIP_f ();
	else if (Q_stricmp (cmd, "listip") == 0)
		SVCmd_ListIP_f ();
	else if (Q_stricmp (cmd, "writeip") == 0)
		SVCmd_WriteIP_f ();
	else if (Q_stricmp (cmd, "quadtime") == 0)
		SVCmd_QuadTime_f ();
	else if ((Q_stricmp (cmd, "next") == 0) || (Q_stricmp (cmd, "skip") == 0))
		Svcmd_NextLevel_f ();
	else
		gi.cprintf (NULL, PRINT_HIGH, "Unknown server command \"%s\"\n", cmd);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x2dc7d(%rip), %r14     # 0x66600
pushq $0x1
popq %rdi
callq *0x140(%r14)
movq %rax, %rbx
leaq 0x18f82(%rip), %rsi     # 0x51919
movq %rax, %rdi
callq 0x186d0
testl %eax, %eax
je 0x38a5f
leaq 0x1c708(%rip), %rsi     # 0x550b6
movq %rbx, %rdi
callq 0x186d0
testl %eax, %eax
je 0x38a7a
leaq 0x1c6f7(%rip), %rsi     # 0x550bc
movq %rbx, %rdi
callq 0x186d0
testl %eax, %eax
je 0x38a86
leaq 0x1c6e9(%rip), %rsi     # 0x550c5
movq %rbx, %rdi
callq 0x186d0
testl %eax, %eax
je 0x38a92
leaq 0x1c6d9(%rip), %rsi     # 0x550cc
movq %rbx, %rdi
callq 0x186d0
testl %eax, %eax
je 0x38a9e
leaq 0x18ffc(%rip), %rsi     # 0x51a06
movq %rbx, %rdi
callq 0x186d0
testl %eax, %eax
je 0x38ab6
leaq 0x1903b(%rip), %rsi     # 0x51a5c
movq %rbx, %rdi
callq 0x186d0
testl %eax, %eax
je 0x38aaa
leaq 0x1c6a0(%rip), %rsi     # 0x550d4
movq %rbx, %rdi
callq 0x186d0
testl %eax, %eax
je 0x38aaa
movq 0x10(%r14), %r8
leaq 0x1c68e(%rip), %rdx     # 0x550d9
pushq $0x2
popq %rsi
xorl %edi, %edi
movq %rbx, %rcx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%r8
movq 0x10(%r14), %rcx
leaq 0x1c4dc(%rip), %rdx     # 0x54f46
pushq $0x2
popq %rsi
xorl %edi, %edi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rcx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x19a70
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x18b60
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x18870
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x19ad0
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x187e0
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x18580
nop
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_target.c
// Function: Use_Target_Tent
void Use_Target_Tent (edict_t *ent, edict_t *other, edict_t *activator)
{
	gi.WriteByte (svc_temp_entity);
	gi.WriteByte (ent->style);
	gi.WritePosition (ent->s.origin);
	gi.multicast (ent->s.origin, MULTICAST_PVS);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x2db2e(%rip), %r14     # 0x66600
pushq $0x3
popq %rdi
callq *0xc8(%r14)
movl 0x32c(%rbx), %edi
callq *0xc8(%r14)
addq $0x4, %rbx
movq %rbx, %rdi
callq *0xf0(%r14)
movq 0xb0(%r14), %rax
pushq $0x2
popq %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rax
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_target.c
// Function: Use_Target_Speaker
void Use_Target_Speaker (edict_t *ent, edict_t *other, edict_t *activator)
{
	int		chan;

	if (ent->spawnflags & 3)
	{	// looping sound toggles
		if (ent->s.sound)
			ent->s.sound = 0;	// turn it off
		else
			ent->s.sound = ent->noise_index;	// start it
	}
	else
	{	// normal sound
		if (ent->spawnflags & 4)
			chan = CHAN_VOICE|CHAN_RELIABLE;
		else
			chan = CHAN_VOICE;
		// use a positioned_sound, because this entity won't normally be
		// sent to any clients because it is invisible
		gi.positioned_sound (ent->s.origin, ent, chan, ent->noise_index, ent->volume, ent->attenuation, 0);
	}
}

// Assembly:
movq %rdi, %rsi
movl 0x140(%rdi), %eax
testb $0x3, %al
je 0x38b34
cmpl $0x0, 0x4c(%rsi)
je 0x38b68
andl $0x0, 0x4c(%rsi)
retq
andl $0x4, %eax
leal 0x2(,%rax,4), %edx
movq 0x2dabb(%rip), %rax     # 0x66600
movq 0x28(%rax), %rax
leaq 0x4(%rsi), %rdi
movl 0x2e8(%rsi), %ecx
movss 0x2f0(%rsi), %xmm0
movss 0x2f4(%rsi), %xmm1
xorps %xmm2, %xmm2
jmpq *%rax
movl 0x2e8(%rsi), %eax
movl %eax, 0x4c(%rsi)
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_target.c
// Function: SP_target_speaker
void SP_target_speaker (edict_t *ent)
{
	char	buffer[MAX_QPATH];

	if(!st.noise)
	{
		gi.dprintf("target_speaker with no noise set at %s\n", vtos(ent->s.origin));
		return;
	}
	if (!strstr (st.noise, ".wav"))
		Com_sprintf (buffer, sizeof(buffer), "%s.wav", st.noise);
	else
		strncpy (buffer, st.noise, sizeof buffer - 1);
	ent->noise_index = gi.soundindex (buffer);

	if (!ent->volume)
		ent->volume = 1.0;

	if (!ent->attenuation)
		ent->attenuation = 1.0;
	else if (ent->attenuation == -1)	// use -1 so 0 defaults to 1
		ent->attenuation = 0;

	// check for prestarted looping sound
	if (ent->spawnflags & 1)
		ent->s.sound = ent->noise_index;

	ent->use = Use_Target_Speaker;

	// must link the entity so we get areas and clusters so
	// the server can determine who to send updates to
	gi.linkentity (ent);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq 0x2dae5(%rip), %rax     # 0x66668
movq 0x30(%rax), %r14
testq %r14, %r14
je 0x38bb0
leaq 0x16f89(%rip), %rsi     # 0x4fb1c
movq %r14, %rdi
callq 0x19b60
testq %rax, %rax
je 0x38bdf
movq %rsp, %rdi
pushq $0x3f
popq %rdx
movq %r14, %rsi
callq 0x181e0
jmp 0x38bf6
movq 0x2da49(%rip), %rax     # 0x66600
movq 0x8(%rax), %r14
addq $0x4, %rbx
movq %rbx, %rdi
callq 0x19200
leaq 0x1c55a(%rip), %rdi     # 0x55128
movq %rax, %rsi
xorl %eax, %eax
movq %r14, %rcx
addq $0x48, %rsp
popq %rbx
popq %r14
jmpq *%rcx
leaq 0x17a49(%rip), %rdx     # 0x5062f
movq %rsp, %rdi
pushq $0x40
popq %rsi
movq %r14, %rcx
xorl %eax, %eax
callq 0x18f30
movq 0x2da03(%rip), %r14     # 0x66600
movq %rsp, %rdi
callq *0x48(%r14)
movl %eax, 0x2e8(%rbx)
movss 0x2f0(%rbx), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm1
jne 0x38c26
jp 0x38c26
movl $0x3f800000, 0x2f0(%rbx) # imm = 0x3F800000
movss 0x2f4(%rbx), %xmm1
ucomiss %xmm0, %xmm1
jne 0x38c35
jnp 0x38c42
ucomiss 0x18ff8(%rip), %xmm1    # 0x51c34
jne 0x38c52
jnp 0x38c4a
jmp 0x38c52
movss 0x162de(%rip), %xmm0    # 0x4ef28
movss %xmm0, 0x2f4(%rbx)
testb $0x1, 0x140(%rbx)
je 0x38c5e
movl %eax, 0x4c(%rbx)
movq 0x2d76b(%rip), %rax     # 0x663d0
movq %rax, 0x228(%rbx)
movq %rbx, %rdi
callq *0x90(%r14)
addq $0x48, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/QwazyWabbitWOS[P]lmctf60/g_target.c
// Function: SP_target_help
void SP_target_help(edict_t *ent)
{
	if (deathmatch->value)
	{	// auto-remove for deathmatch
		G_FreeEdict (ent);
		return;
	}

	if (!ent->message)
	{
		gi.dprintf ("%s with no message at %s\n", ent->classname, vtos(ent->s.origin));
		G_FreeEdict (ent);
		return;
	}
	ent->use = Use_Target_Help;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x2e1fd(%rip), %rax     # 0x66ec0
movq (%rax), %rax
movss 0x20(%rax), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x38cd5
jnp 0x38ce2
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x19c50
cmpq $0x0, 0x130(%rbx)
je 0x38d00
movq 0x2dffd(%rip), %rax     # 0x66cf0
movq %rax, 0x228(%rbx)
popq %rbx
popq %r14
popq %r15
retq
movq 0x2d8f9(%rip), %rax     # 0x66600
movq 0x8(%rax), %r15
movq 0x138(%rbx), %r14
leaq 0x4(%rbx), %rdi
callq 0x19200
leaq 0x1c42e(%rip), %rdi     # 0x55150
movq %r14, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq *%r15
jmp 0x38cd5