// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_cmds.c
// Function: Cmd_PlayerList_f
void Cmd_PlayerList_f(edict_t *ent)
{
	int i;
	char st[80];
	char text[MAX_MSGLEN];
	edict_t *e2;

	// connect time, ping, score, name
	*text = 0;
	for (i = 0, e2 = g_edicts + 1; i < maxclients->value; i++, e2++) {
		if (!e2->inuse)
			continue;

		Com_sprintf(st, sizeof(st), "%02d:%02d %4d %3d %s%s id: %i\n",
			(level.framenum - e2->client->resp.enterframe) / 600,
			((level.framenum - e2->client->resp.enterframe) % 600)/10,
			e2->client->ping,
			e2->client->resp.score,
			e2->client->pers.netname,
			e2->client->resp.spectator ? " (spectator)" : "",
			e2->client->ctf.ctfid);
		if (strlen(text) + strlen(st) > sizeof(text) - 50) {
			sprintf(text+strlen(text), "And more...\n");
			gi.cprintf(ent, PRINT_HIGH, "%s", text);
			return;
		}
		strcat(text, st);
	}
	gi.cprintf(ent, PRINT_HIGH, "%s", text);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x628, %rsp            # imm = 0x628
movq %rdi, -0x10(%rbp)
movb $0x0, -0x5f0(%rbp)
movl $0x0, -0x14(%rbp)
movq 0x51cf3(%rip), %rax     # 0x82558
movq (%rax), %rax
addq $0x4a8, %rax            # imm = 0x4A8
movq %rax, -0x5f8(%rbp)
cvtsi2ssl -0x14(%rbp), %xmm1
movq 0x51caf(%rip), %rax     # 0x82530
movq (%rax), %rax
movss 0x20(%rax), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x30a52
movq -0x5f8(%rbp), %rax
cmpl $0x0, 0x60(%rax)
jne 0x308a4
jmp 0x30a30
leaq -0x70(%rbp), %rdi
movq 0x524f1(%rip), %rax     # 0x82da0
movl (%rax), %eax
movq -0x5f8(%rbp), %rcx
movq 0x58(%rcx), %rcx
subl 0xdf0(%rcx), %eax
movl $0x258, %ecx            # imm = 0x258
cltd
idivl %ecx
movl %eax, %ecx
movq 0x524cd(%rip), %rax     # 0x82da0
movl (%rax), %eax
movq -0x5f8(%rbp), %rdx
movq 0x58(%rdx), %rdx
subl 0xdf0(%rdx), %eax
movl $0x258, %esi            # imm = 0x258
cltd
idivl %esi
movl %edx, %eax
movl $0xa, %esi
cltd
idivl %esi
movl %eax, %r8d
movq -0x5f8(%rbp), %rax
movq 0x58(%rax), %rax
movl 0xb8(%rax), %r9d
movq -0x5f8(%rbp), %rax
movq 0x58(%rax), %rax
movl 0xdf4(%rax), %ebx
movq -0x5f8(%rbp), %rax
movq 0x58(%rax), %r11
addq $0xc0, %r11
addq $0x200, %r11            # imm = 0x200
movq -0x5f8(%rbp), %rax
movq 0x58(%rax), %rax
movl 0xe04(%rax), %edx
leaq 0x40631(%rip), %r10     # 0x70f80
leaq 0x41b56(%rip), %rax     # 0x724ac
cmpl $0x0, %edx
cmovneq %rax, %r10
movq -0x5f8(%rbp), %rax
movq 0x58(%rax), %rax
movq 0x9120(%rax), %rax
movl $0x50, %esi
leaq 0x41b12(%rip), %rdx     # 0x7248d
movl %ebx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movq %rax, 0x18(%rsp)
movb $0x0, %al
callq 0x18f90
leaq -0x5f0(%rbp), %rdi
callq 0x186e0
movq %rax, -0x600(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x186e0
movq %rax, %rcx
movq -0x600(%rbp), %rax
addq %rcx, %rax
cmpq $0x546, %rax            # imm = 0x546
jbe 0x30a20
leaq -0x5f0(%rbp), %rax
movq %rax, -0x608(%rbp)
leaq -0x5f0(%rbp), %rdi
callq 0x186e0
movq -0x608(%rbp), %rdi
addq %rax, %rdi
leaq 0x41ac9(%rip), %rsi     # 0x724b9
movb $0x0, %al
callq 0x19940
movq 0x51c02(%rip), %rax     # 0x82600
movq 0x10(%rax), %r8
movq -0x10(%rbp), %rdi
leaq -0x5f0(%rbp), %rcx
movl $0x2, %esi
leaq 0x3ef84(%rip), %rdx     # 0x6f99d
movb $0x0, %al
callq *%r8
jmp 0x30a79
leaq -0x5f0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x19880
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
movq -0x5f8(%rbp), %rax
addq $0x4a8, %rax            # imm = 0x4A8
movq %rax, -0x5f8(%rbp)
jmp 0x30875
movq 0x51ba7(%rip), %rax     # 0x82600
movq 0x10(%rax), %r8
movq -0x10(%rbp), %rdi
leaq -0x5f0(%rbp), %rcx
movl $0x2, %esi
leaq 0x3ef29(%rip), %rdx     # 0x6f99d
movb $0x0, %al
callq *%r8
addq $0x628, %rsp            # imm = 0x628
popq %rbx
popq %rbp
retq
nopw %cs:(%rax,%rax)