// File: /workspace/github_cpp_makefile_star2_O1/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 0x10be3(%rip), %rdi     # 0x17970
xorl %esi, %esi
xorl %edx, %edx
callq 0x4230
movq 0x10bd3(%rip), %rdi     # 0x17970
movl $0x7, %esi
callq 0x6930
movq 0x10bc2(%rip), %rdi     # 0x17970
movq (%r15), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x4690
movq 0x10bae(%rip), %rdi     # 0x17970
callq 0x4510
movq 0x10ba2(%rip), %rdi     # 0x17970
movl $0x1, %esi
xorl %edx, %edx
callq 0x4230
movq 0x10b8f(%rip), %rdi     # 0x17970
movl $0x1e, %esi
callq 0x6930
leaq -0x40(%rbp), %r15
movq %r15, %rdi
movl %r14d, %esi
callq 0xfe83
leaq 0x925d(%rip), %rcx      # 0x1005e
movl $0xc, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4410
leaq -0x50(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6e37
movq %rdx, -0x60(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x50(%rbp)
jmp 0x6e3e
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 0x920b(%rip), %rsi      # 0x1006b
callq 0x46f0
leaq -0x70(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6e89
movq %rdx, -0x80(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x70(%rbp)
jmp 0x6e90
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 0x6ebc
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x43a0
leaq -0x30(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x6ed6
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x43a0
movq 0x10a93(%rip), %rdi     # 0x17970
movq -0x80(%rbp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x4690
movq 0x10a7e(%rip), %rdi     # 0x17970
movl $0x1f, %esi
callq 0x6930
movzbl %bl, %esi
leaq -0xa0(%rbp), %rdi
callq 0xfe83
leaq 0x9163(%rip), %rcx      # 0x10075
leaq -0xa0(%rbp), %rdi
movl $0xe, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4410
movq %r12, -0x40(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6f48
movq %rdx, -0x40(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x30(%rbp)
jmp 0x6f50
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 0x9112(%rip), %rsi      # 0x10084
callq 0x46f0
movq %r15, -0x60(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6f97
movq %rdx, -0x60(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x50(%rbp)
jmp 0x6f9e
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 0x4490
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x6fd9
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x43a0
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x6fee
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x43a0
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x700d
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x43a0
movq 0x1095c(%rip), %rdi     # 0x17970
movq -0x80(%rbp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x4690
movq 0x10947(%rip), %rdi     # 0x17970
callq 0x4510
movq 0x1093b(%rip), %rdi     # 0x17970
callq 0x4430
movzbl 0x1094f(%rip), %edi     # 0x17990
xorl $0x1, %edi
callq 0x69c1
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x705e
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x43a0
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 0x708b
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x708b
movq %rax, %rbx
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70e1
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x70e1
jmp 0x70de
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r15, %rdi
je 0x70cb
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x70cb
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x70f6
movq -0x30(%rbp), %rsi
jmp 0x70ee
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x70f6
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x43a0
movq %rbx, %rdi
callq 0x4670