// File: /workspace/github_cpp_makefile_star2_O3/lotuskip[P]yuxtapa/client/view.cpp
// Function: draw_team_info()
void draw_team_info()
{
	char *rp = &(teambuffer[1]);
	unsigned char num = static_cast<unsigned char>(teambuffer[0]);
	int i;
	unsigned short sh;
	for(i = 0; i < (VIEWSIZE - num)/2; ++i)
		Base::print_str("", 0, 0, i, VIEW_WIN, true);
	for(; i < (VIEWSIZE + num)/2; ++i)
	{
		Base::incr_print_start(0, i, VIEW_WIN);
		Base::incr_print(rp, 7, VIEW_WIN); // nick & AL
		for(sh = num_syms(string(rp)); sh < 16; ++sh) // fill in blanks
			Base::incr_print(" ", 0, VIEW_WIN);
		rp += strlen(rp)+1; // skip '\0'
		if(*rp != NO_CLASS)
			Base::incr_print(classes[*rp].abbr, 7, VIEW_WIN);
		else
			Base::incr_print("- ", 7, VIEW_WIN);
		Base::incr_print(" ", 0, VIEW_WIN);
		if(*(++rp) == -1) // dead?
			Base::incr_print("SPWN", 11, VIEW_WIN);
		else // sector name
		{
			Base::incr_print("(", 7, VIEW_WIN);
			Base::incr_print(short_sector_name[*rp].c_str(), 7, VIEW_WIN);
			Base::incr_print(")", 7, VIEW_WIN);
		}
		Base::incr_print_end(VIEW_WIN, true);
		++rp;
	}
	for(; i < VIEWSIZE; ++i)
		Base::print_str("", 0, 0, i, VIEW_WIN, true);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movzbl 0xaf34(%rip), %r13d     # 0x19ec0
xorl %r12d, %r12d
cmpl $0x15, %r13d
ja 0xefce
movb $0x17, %al
subb %r13b, %al
shrb %al
movzbl %al, %r12d
xorl %r15d, %r15d
leaq 0x14cf(%rip), %rbx      # 0x10479
movsbl %r15b, %ecx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
movl $0x3, %r8d
movl $0x1, %r9d
callq 0x686d
incl %r15d
cmpl %r15d, %r12d
jne 0xefaa
addl $0x17, %r13d
shrl %r13d
cmpl %r13d, %r12d
jae 0xf153
leaq 0xaedc(%rip), %rbx      # 0x19ec1
leaq -0x40(%rbp), %r14
leaq 0x1488(%rip), %r15      # 0x10478
movl %r13d, -0x2c(%rbp)
movsbl %r12b, %esi
xorl %edi, %edi
movl $0x3, %edx
callq 0x69d0
movq %rbx, %rdi
movl $0x7, %esi
movl $0x3, %edx
callq 0x69eb
movq %r14, -0x50(%rbp)
movq %rbx, %rdi
callq 0x41b0
leaq (%rax,%rbx), %rdx
leaq -0x50(%rbp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x891a
movq %r13, %rdi
callq 0xf738
movl %eax, %r13d
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0xf055
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x4390
cmpw $0xf, %r13w
ja 0xf075
addl $-0x10, %r13d
movq %r15, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x69eb
incw %r13w
jne 0xf060
movq %rbx, %rdi
callq 0x41b0
addq %rax, %rbx
incq %rbx
movsbq (%rbx), %rax
leaq (%rax,%rax,2), %rcx
leaq (%rax,%rcx,4), %rdi
leaq 0x1fea(%rip), %rcx      # 0x11080
addq %rcx, %rdi
cmpq $0xb, %rax
leaq 0x1b0b(%rip), %rax      # 0x10baf
cmoveq %rax, %rdi
movl $0x7, %esi
movl $0x3, %edx
callq 0x69eb
movq %r15, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x69eb
cmpb $-0x1, 0x1(%rbx)
je 0xf113
leaq 0x1ae4(%rip), %rdi      # 0x10bb7
movl $0x7, %esi
movl $0x3, %edx
callq 0x69eb
movsbq 0x1(%rbx), %rax
shlq $0x5, %rax
leaq 0xa4ae(%rip), %rcx      # 0x195a0
movq (%rax,%rcx), %rdi
movl $0x7, %esi
movl $0x3, %edx
callq 0x69eb
leaq 0x156e(%rip), %rdi      # 0x1067a
movl $0x7, %esi
jmp 0xf11f
leaq 0x1a98(%rip), %rdi      # 0x10bb2
movl $0xb, %esi
movl $0x3, %edx
callq 0x69eb
leaq -0x40(%rbp), %r14
movl -0x2c(%rbp), %r13d
movl $0x3, %edi
movl $0x1, %esi
callq 0x6a26
addq $0x2, %rbx
incl %r12d
cmpl %r13d, %r12d
jne 0xeff4
movl %r13d, %r12d
cmpl $0x16, %r12d
ja 0xf185
leaq 0x1319(%rip), %rbx      # 0x10479
movsbl %r12b, %ecx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
movl $0x3, %r8d
movl $0x1, %r9d
callq 0x686d
incl %r12d
cmpl $0x17, %r12d
jne 0xf160
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0xf1ac
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x4390
movq %rbx, %rdi
callq 0x4660