// File: /workspace/github_cpp_makefile_star2_O3/lotuskip[P]yuxtapa/client/base.cpp
// Function: Base::print_teams_upd(unsigned char, unsigned char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Base::print_teams_upd(const unsigned char greens,
	const unsigned char purples, const std::string &obj_state_str)
{
	wmove(windows[STAT_WIN], 0, 0);
	change_colour(windows[STAT_WIN], BASE_LIGHT_GRAY);
	waddstr(windows[STAT_WIN], obj_state_str.c_str());
	wclrtoeol(windows[STAT_WIN]);

	wmove(windows[STAT_WIN], 1, 0);
	change_colour(windows[STAT_WIN], C_GREEN_PC);
	string str = "Green team: "
		+ lex_cast(greens)
		+ " players ";
	waddstr(windows[STAT_WIN], str.c_str());
	change_colour(windows[STAT_WIN], C_PURPLE_PC);
	str = " Purple team: "
		+ lex_cast(purples)
		+ " players";
	waddstr(windows[STAT_WIN], str.c_str());
	wclrtoeol(windows[STAT_WIN]);
	wrefresh(windows[STAT_WIN]);
	return_cursor(cursor_in_view);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdx, %r15
movl %esi, %ebx
movl %edi, %r14d
movq 0x10c07(%rip), %rdi     # 0x17970
xorl %esi, %esi
xorl %edx, %edx
callq 0x4230
movq 0x10bf7(%rip), %rdi     # 0x17970
movl $0x700, %esi            # imm = 0x700
callq 0x41c0
movq 0x10be6(%rip), %rdi     # 0x17970
movq (%r15), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x4680
movq 0x10bd2(%rip), %rdi     # 0x17970
callq 0x4500
movq 0x10bc6(%rip), %rdi     # 0x17970
movl $0x1, %esi
xorl %edx, %edx
callq 0x4230
movq 0x10bb3(%rip), %rdi     # 0x17970
cmpl $0x2, 0x10b98(%rip)     # 0x1795c
movl $0x600, %eax            # imm = 0x600
movl $0x1e00, %esi           # imm = 0x1E00
cmovel %eax, %esi
callq 0x41c0
leaq -0x40(%rbp), %r15
movq %r15, %rdi
movl %r14d, %esi
callq 0xfcfb
leaq 0x9272(%rip), %rcx      # 0x1005e
movl $0xc, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4400
leaq -0x50(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6e22
movq %rdx, -0x60(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x50(%rbp)
jmp 0x6e29
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x60(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x9220(%rip), %rsi      # 0x1006b
callq 0x46e0
leaq -0x70(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6e74
movq %rdx, -0x80(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x70(%rbp)
jmp 0x6e7b
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, -0x78(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x6ea7
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x4390
leaq -0x30(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x6ec1
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x4390
movq 0x10aa8(%rip), %rdi     # 0x17970
movq -0x80(%rbp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x4680
movq 0x10a93(%rip), %rdi     # 0x17970
cmpl $0x2, 0x10a78(%rip)     # 0x1795c
movl $0x500, %eax            # imm = 0x500
movl $0x1f00, %esi           # imm = 0x1F00
cmovel %eax, %esi
callq 0x41c0
movzbl %bl, %esi
leaq -0xa0(%rbp), %rdi
callq 0xfcfb
leaq 0x9169(%rip), %rcx      # 0x10075
leaq -0xa0(%rbp), %rdi
movl $0xe, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4400
movq %r12, -0x40(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6f42
movq %rdx, -0x40(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x30(%rbp)
jmp 0x6f4a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq -0x40(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x9118(%rip), %rsi      # 0x10084
callq 0x46e0
movq %r15, -0x60(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6f91
movq %rdx, -0x60(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x50(%rbp)
jmp 0x6f98
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0x60(%rbp), %rbx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x80(%rbp), %rdi
movq %rbx, %rsi
callq 0x4480
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x6fd3
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x4390
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x6fe8
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x4390
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7007
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x4390
movq 0x10962(%rip), %rdi     # 0x17970
movq -0x80(%rbp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x4680
movq 0x1094d(%rip), %rdi     # 0x17970
callq 0x4500
movq 0x10941(%rip), %rdi     # 0x17970
callq 0x4420
movzbl 0x10955(%rip), %edi     # 0x17990
xorl $0x1, %edi
callq 0x697f
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x7058
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x4390
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x7085
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x4390
jmp 0x7085
movq %rax, %rbx
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70db
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x4390
jmp 0x70db
jmp 0x70d8
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x70c5
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x4390
jmp 0x70c5
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70f0
movq -0x30(%rbp), %rsi
jmp 0x70e8
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x70f0
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x4390
movq %rbx, %rdi
callq 0x4660