// File: /workspace/github_cpp_makefile_star2_O2/aempirei[P]Chat-Art/calibration.cc
// Function: display_calibration()
void display_calibration() {

	/////////////////////////////////////////////
	// calibration text is 8 lines and 32 columns
	/////////////////////////////////////////////
	// 0.32 prefix code
	// 1.08 background colors
	// 2.08 foreground colors
	// 3.08 bold foreground colors
	// 4.26 uppercase alphabet
	// 5.26 lowercase alphabet
	// 6.10 numbers
	// 7.32 suffix code

	//////////////
	// prefix code

	display_code(prefix_code);

	////////////////////
	// background colors

	for(int i = ansi::first_color; i <= ansi::last_color; i++)
		std::cout << ansi::bg(i) << ' ';

	std::cout << std::endl;

	////////////////////
	// foreground colors

	std::cout << ansi::bg(ansi::black);

	for(int i = ansi::first_color; i <= ansi::last_color; i++)
		std::cout << ansi::fg(i) << '#';

	std::cout << std::endl;

	/////////////////////////
	// bold foreground colors

	std::cout << ansi::bg(ansi::black);

	for(int i = ansi::first_color; i <= ansi::last_color; i++)
		std::cout << ansi::bold << ansi::fg(i) << '#';

	std::cout << std::endl;

	///////
	// font

	std::cout << ansi::fg(ansi::white) << ansi::bg(ansi::black);

	std::cout << "ABCDEFGHIJKLMNOPQRSTUVWXYZ" << std::endl;
	std::cout << "abcdefghijklmnopqrstuvwxyz" << std::endl;
	std::cout << "0123456789" << std::endl;

	//////////////
	// suffix code

	display_code(suffix_code);

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl $0xa55faced, %edi       # imm = 0xA55FACED
callq 0x3490
xorl %ebx, %ebx
leaq 0x8(%rsp), %r14
movq 0x4a76(%rip), %r15      # 0x7fd0
pushq $0x20
popq %rbp
cmpl $0x8, %ebx
je 0x358d
movq %r14, %rdi
movl %ebx, %esi
callq 0x25c6
movq %r15, %rdi
movq %r14, %rsi
callq 0x2170
movq %rax, %rdi
movl %ebp, %esi
callq 0x21c0
movq %r14, %rdi
callq 0x22e8
incl %ebx
jmp 0x355d
movq 0x4a3c(%rip), %r14      # 0x7fd0
movq %r14, %rdi
callq 0x20d0
leaq 0x8(%rsp), %r15
xorl %ebx, %ebx
movq %r15, %rdi
xorl %esi, %esi
callq 0x25c6
movq %r14, %rdi
movq %r15, %rsi
callq 0x2170
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x22e8
movq 0x4a04(%rip), %r15      # 0x7fd0
pushq $0x23
popq %rbp
cmpl $0x8, %ebx
je 0x35ff
movq %r14, %rdi
movl %ebx, %esi
callq 0x25da
movq %r15, %rdi
movq %r14, %rsi
callq 0x2170
movq %rax, %rdi
movl %ebp, %esi
callq 0x21c0
movq %r14, %rdi
callq 0x22e8
incl %ebx
jmp 0x35cf
movq 0x49ca(%rip), %r14      # 0x7fd0
movq %r14, %rdi
callq 0x20d0
leaq 0x8(%rsp), %r15
xorl %ebx, %ebx
movq %r15, %rdi
xorl %esi, %esi
callq 0x25c6
movq %r14, %rdi
movq %r15, %rsi
callq 0x2170
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x22e8
movq 0x4992(%rip), %r15      # 0x7fd0
leaq 0x4bb3(%rip), %r12      # 0x81f8
pushq $0x23
popq %rbp
cmpl $0x8, %ebx
je 0x3686
movq %r15, %rdi
movq %r12, %rsi
callq 0x2170
movq %rax, %r13
movq %r14, %rdi
movl %ebx, %esi
callq 0x25da
movq %r13, %rdi
movq %r14, %rsi
callq 0x2170
movq %rax, %rdi
movl %ebp, %esi
callq 0x21c0
movq %r14, %rdi
callq 0x22e8
incl %ebx
jmp 0x3648
movq 0x4943(%rip), %rbx      # 0x7fd0
movq %rbx, %rdi
callq 0x20d0
leaq 0x8(%rsp), %r14
pushq $0x7
popq %rsi
movq %r14, %rdi
callq 0x25da
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2170
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x25c6
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x2170
leaq 0x28(%rsp), %rdi
callq 0x22e8
leaq 0x8(%rsp), %rdi
callq 0x22e8
movq 0x48e9(%rip), %rbx      # 0x7fd0
leaq 0x1ac8(%rip), %rsi      # 0x51b6
movq %rbx, %rdi
callq 0x2180
movq %rax, %rdi
callq 0x20d0
leaq 0x1acc(%rip), %rsi      # 0x51d1
movq %rbx, %rdi
callq 0x2180
movq %rax, %rdi
callq 0x20d0
leaq 0x1ad0(%rip), %rsi      # 0x51ec
movq %rbx, %rdi
callq 0x2180
movq %rax, %rdi
callq 0x20d0
movl $0x1deadfed, %edi       # imm = 0x1DEADFED
callq 0x3490
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x22e8
jmp 0x3763
jmp 0x3760
jmp 0x3760
jmp 0x3760
jmp 0x3760
jmp 0x3760
jmp 0x3760
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x22e8
movq %rbx, %rdi
callq 0x22b0