// File: /workspace/github_cpp_makefile_star2_O1/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 0xae13(%rip), %eax      # 0x19ec0
xorl %r12d, %r12d
movl %eax, %r14d
cmpl $0x15, %eax
ja 0xf108
movl $0x17, %eax
subl %r14d, %eax
movl %eax, %r15d
shrl $0x1f, %r15d
addl %eax, %r15d
sarl %r15d
cmpl $0x2, %r15d
movl $0x1, %eax
cmovll %eax, %r15d
xorl %r12d, %r12d
leaq 0x1395(%rip), %rbx      # 0x10479
movsbl %r12b, %ecx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
movl $0x3, %r8d
movl $0x1, %r9d
callq 0x68af
incl %r12d
cmpl %r12d, %r15d
jne 0xf0e4
addl $0x17, %r14d
shrl %r14d
movl %r14d, -0x2c(%rbp)
cmpl %r14d, %r12d
jae 0xf287
leaq 0xad9e(%rip), %rbx      # 0x19ec1
leaq -0x40(%rbp), %r14
leaq 0x134a(%rip), %r15      # 0x10478
movsbl %r12b, %esi
xorl %edi, %edi
movl $0x3, %edx
callq 0x6a12
movq %rbx, %rdi
movl $0x7, %esi
movl $0x3, %edx
callq 0x6a2d
movq %r14, -0x50(%rbp)
movq %rbx, %rdi
callq 0x41b0
leaq (%rax,%rbx), %rdx
leaq -0x50(%rbp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x8912
movq %r13, %rdi
callq 0xf89c
movl %eax, %r13d
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0xf18f
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x43a0
cmpw $0xf, %r13w
ja 0xf1af
addl $-0x10, %r13d
movq %r15, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x6a2d
incw %r13w
jne 0xf19a
movq %rbx, %rdi
callq 0x41b0
addq %rax, %rbx
incq %rbx
movsbq (%rbx), %rax
leaq (%rax,%rax,2), %rcx
leaq (%rax,%rcx,4), %rdi
leaq 0x1ec0(%rip), %rcx      # 0x11090
addq %rcx, %rdi
cmpq $0xb, %rax
leaq 0x19e1(%rip), %rax      # 0x10bbf
cmoveq %rax, %rdi
movl $0x7, %esi
movl $0x3, %edx
callq 0x6a2d
movq %r15, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x6a2d
cmpb $-0x1, 0x1(%rbx)
je 0xf24d
leaq 0x19ba(%rip), %rdi      # 0x10bc7
movl $0x7, %esi
movl $0x3, %edx
callq 0x6a2d
movsbq 0x1(%rbx), %rax
shlq $0x5, %rax
leaq 0xa374(%rip), %rcx      # 0x195a0
movq (%rax,%rcx), %rdi
movl $0x7, %esi
movl $0x3, %edx
callq 0x6a2d
leaq 0x1434(%rip), %rdi      # 0x1067a
movl $0x7, %esi
jmp 0xf259
leaq 0x196e(%rip), %rdi      # 0x10bc2
movl $0xb, %esi
movl $0x3, %edx
callq 0x6a2d
leaq -0x40(%rbp), %r14
movl $0x3, %edi
movl $0x1, %esi
callq 0x6a68
addq $0x2, %rbx
incl %r12d
cmpl -0x2c(%rbp), %r12d
jne 0xf12e
cmpl $0x16, %r12d
ja 0xf2b9
leaq 0x11e5(%rip), %rbx      # 0x10479
movsbl %r12b, %ecx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
movl $0x3, %r8d
movl $0x1, %r9d
callq 0x68af
incl %r12d
cmpl $0x17, %r12d
jne 0xf294
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 0xf2e0
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x43a0
movq %rbx, %rdi
callq 0x4670