// File: /workspace/github_cpp_makefile_star2_O2/lotuskip[P]yuxtapa/client/base.cpp
// Function: Base::print_flags(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Base::print_flags(const string &fs)
{
	// First print the empty box:
	char i;
	change_colour(windows[STAT_WIN], 7);
	wmove(windows[STAT_WIN], 3, 28);
	waddch(windows[STAT_WIN], ACS_ULCORNER);
	for(i = 0; i < 5; ++i)
		waddch(windows[STAT_WIN], ACS_HLINE);	
	waddch(windows[STAT_WIN], ACS_URCORNER);	
	for(i = 0; i < 3; ++i)
	{
		wmove(windows[STAT_WIN], 4+i, 28);
		waddch(windows[STAT_WIN], ACS_VLINE);	
		waddstr(windows[STAT_WIN], "     ");
		waddch(windows[STAT_WIN], ACS_VLINE);	
	}
	wmove(windows[STAT_WIN], 7, 28);
	waddch(windows[STAT_WIN], ACS_LLCORNER);
	for(i = 0; i < 5; ++i)
		waddch(windows[STAT_WIN], ACS_HLINE);	
	waddch(windows[STAT_WIN], ACS_LRCORNER);
#if 0
	print_str("_______", 7, 28, 3, STAT_WIN);
	print_str("|     |", 7, 28, 4, STAT_WIN);
	print_str("|     |", 7, 28, 5, STAT_WIN);
	print_str("|_____|", 7, 28, 6, STAT_WIN);
#endif

	for(char i = 0; i < MAX_D+1; ++i)
	{
		if(fs[i] != MAX_PREDEF_CPAIR)
		{
			wmove(windows[STAT_WIN], flagy[i], flagx[i]);
			change_colour(windows[STAT_WIN], fs[i]);
			waddch(windows[STAT_WIN], '&');
		}
	}
	wrefresh(windows[STAT_WIN]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x1013f(%rip), %rdi     # 0x16970
pushq $0x7
popq %rsi
callq 0x6249
movq 0x10130(%rip), %rdi     # 0x16970
pushq $0x3
popq %r14
pushq $0x1c
popq %rdx
movl %r14d, %esi
callq 0x4250
movq 0x1011a(%rip), %rdi     # 0x16970
movq 0xf743(%rip), %r15      # 0x15fa0
movl 0x1b0(%r15), %esi
callq 0x45b0
movb $0x5, %r12b
movq 0x100fd(%rip), %rdi     # 0x16970
subb $0x1, %r12b
jb 0x6887
movl 0x1c4(%r15), %esi
callq 0x45b0
jmp 0x686c
movl 0x1ac(%r15), %esi
callq 0x45b0
xorl %r12d, %r12d
pushq $-0x1
popq %r13
movq 0x100cf(%rip), %rdi     # 0x16970
subl $0x1, %r14d
jb 0x68f6
movl %r12d, %esi
orl $0x4, %esi
pushq $0x1c
popq %rdx
callq 0x4250
movq 0x100b4(%rip), %rdi     # 0x16970
movl 0x1e0(%r15), %esi
callq 0x45b0
movq 0x100a1(%rip), %rdi     # 0x16970
leaq 0x7bae(%rip), %rsi      # 0xe484
movl %r13d, %edx
callq 0x4670
movq 0x1008b(%rip), %rdi     # 0x16970
movl 0x1e0(%r15), %esi
callq 0x45b0
incl %r12d
jmp 0x689a
pushq $0x7
popq %rsi
pushq $0x1c
popq %rdx
callq 0x4250
movq 0x10068(%rip), %rdi     # 0x16970
movl 0x1b4(%r15), %esi
callq 0x45b0
movb $0x5, %r14b
movq 0x10052(%rip), %rdi     # 0x16970
subb $0x1, %r14b
jb 0x6932
movl 0x1c4(%r15), %esi
callq 0x45b0
jmp 0x6917
movl 0x1a8(%r15), %esi
callq 0x45b0
xorl %r15d, %r15d
leaq 0x7987(%rip), %r12      # 0xe2cf
leaq 0x7989(%rip), %r13      # 0xe2d8
pushq $0x26
popq %r14
cmpq $0x9, %r15
je 0x69a1
movq (%rbx), %rax
cmpb $0x6e, (%rax,%r15)
je 0x699c
movq 0x10006(%rip), %rdi     # 0x16970
movsbl (%r15,%r12), %esi
movsbl (%r15,%r13), %edx
callq 0x4250
movq 0xfff0(%rip), %rdi      # 0x16970
movq (%rbx), %rax
movzbl (%rax,%r15), %esi
callq 0x6249
movq 0xffdc(%rip), %rdi      # 0x16970
movl %r14d, %esi
callq 0x45b0
incq %r15
jmp 0x6953
movq 0xffc8(%rip), %rdi      # 0x16970
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x4420
nop