// File: /workspace/github_c_makefile_star2_O0/QwazyWabbitWOS[P]lmctf60/g_cmds.c
// Function: Cmd_Id_f
void Cmd_Id_f (edict_t *ent)
{
	vec3_t	forward, right, start, offset, mins, maxs, end;
	trace_t	tr;
	float	*v;

	v = tv(-32,-32,-32);
	VectorCopy (v, mins);
	v = tv(32,32,32);
	VectorCopy (v, maxs);

	// Set out ending point to our starting point
	AngleVectors (ent->client->v_angle, forward, right, NULL);
	VectorSet(offset, 8, 0, ent->viewheight-8);
	G_ProjectSource (ent->s.origin, offset, forward, right, start);

	VectorSet(offset, 10000, 0, 0);
	G_ProjectSource (start, offset, forward, right, end);

	tr = gi.trace (start, mins, maxs, end, ent, MASK_SHOT);
	if (tr.ent)
	{
		if (tr.ent->client)
			gi.centerprintf (ent, tr.ent->client->pers.netname);
		else if (tr.ent->item)
			gi.centerprintf (ent, tr.ent->item->pickup_name);
	}

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq %rdi, -0x8(%rbp)
movss 0x43735(%rip), %xmm2    # 0x7140c
movaps %xmm2, %xmm0
movaps %xmm2, %xmm1
callq 0x19740
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
movss (%rax), %xmm0
movss %xmm0, -0x44(%rbp)
movq -0xb0(%rbp), %rax
movss 0x4(%rax), %xmm0
movss %xmm0, -0x40(%rbp)
movq -0xb0(%rbp), %rax
movss 0x8(%rax), %xmm0
movss %xmm0, -0x3c(%rbp)
movss 0x42751(%rip), %xmm2    # 0x70474
movaps %xmm2, %xmm0
movaps %xmm2, %xmm1
callq 0x19740
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
movss (%rax), %xmm0
movss %xmm0, -0x50(%rbp)
movq -0xb0(%rbp), %rax
movss 0x4(%rax), %xmm0
movss %xmm0, -0x4c(%rbp)
movq -0xb0(%rbp), %rax
movss 0x8(%rax), %xmm0
movss %xmm0, -0x48(%rbp)
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rdi
addq $0xebc, %rdi            # imm = 0xEBC
leaq -0x14(%rbp), %rsi
leaq -0x20(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
callq 0x183e0
movss 0x4216d(%rip), %xmm0    # 0x6fefc
movss %xmm0, -0x38(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x34(%rbp)
movq -0x8(%rbp), %rax
movl 0x278(%rax), %eax
subl $0x8, %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, -0x30(%rbp)
movq -0x8(%rbp), %rdi
addq $0x4, %rdi
leaq -0x38(%rbp), %rsi
leaq -0x14(%rbp), %rdx
leaq -0x20(%rbp), %rcx
leaq -0x2c(%rbp), %r8
callq 0x19140
movss 0x43631(%rip), %xmm0    # 0x71408
movss %xmm0, -0x38(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x34(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -0x30(%rbp)
leaq -0x2c(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq -0x14(%rbp), %rdx
leaq -0x20(%rbp), %rcx
leaq -0x5c(%rbp), %r8
callq 0x19140
movq 0x547f4(%rip), %rax     # 0x82600
movq 0x60(%rax), %rax
leaq -0x2c(%rbp), %rsi
leaq -0x44(%rbp), %rdx
leaq -0x50(%rbp), %rcx
leaq -0x5c(%rbp), %r8
movq -0x8(%rbp), %r9
leaq -0xf8(%rbp), %rdi
movl $0x6000003, (%rsp)      # imm = 0x6000003
callq *%rax
leaq -0xa8(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
movl $0x48, %edx
callq 0x18dc0
cmpq $0x0, -0x68(%rbp)
je 0x2debd
movq -0x68(%rbp), %rax
cmpq $0x0, 0x58(%rax)
je 0x2de89
movq 0x5479b(%rip), %rax     # 0x82600
movq 0x18(%rax), %rcx
movq -0x8(%rbp), %rdi
movq -0x68(%rbp), %rax
movq 0x58(%rax), %rsi
addq $0xc0, %rsi
addq $0x200, %rsi            # imm = 0x200
movb $0x0, %al
callq *%rcx
jmp 0x2debb
movq -0x68(%rbp), %rax
cmpq $0x0, 0x330(%rax)
je 0x2deb9
movq 0x54762(%rip), %rax     # 0x82600
movq 0x18(%rax), %rcx
movq -0x8(%rbp), %rdi
movq -0x68(%rbp), %rax
movq 0x330(%rax), %rax
movq 0x50(%rax), %rsi
movb $0x0, %al
callq *%rcx
jmp 0x2debb
jmp 0x2debd
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
nopw %cs:(%rax,%rax)