// File: /workspace/github_cpp_makefile_star2_O3/yanlinlin82[P]icpp/icpp.cpp
// Function: show()
int show()
{
	if (verbose >= 1) {
		for (size_t i = 0; i < external_code_size;) {
			i = print_code(code_sec, i);
		}
	}
	for (size_t i = 0; i < src.size(); ++i) {
		print_source_code_line(i);
		auto it = offset.find(i + 1);
		if (it != offset.end()) {
			log(COLOR_BLUE);
			for (size_t j = it->second.first; j <= it->second.second;) {
				j = print_code(code_sec, j);
			}
			log(COLOR_NORMAL);
		}
	}
	log("\n");

	for (size_t i = (verbose >= 1 ? 0 : external_data_size); i < data_sec.size(); ++i) {
		auto it = data_symbol_dict.find(i);
		if (it != data_symbol_dict.end()) {
			auto name = it->second;
			auto [ is_code, offset, size, type, ret_type, arg_count ] = symbols[name];
			string data_type = "word";
			if (type == "const char*") data_type = "byte";
			log(COLOR_YELLOW "%-10zd", i);
			log(COLOR_BLUE ".%-13s", data_type.c_str());
			size_t width = 0;
			if (type == "const char*") {
				log("\""); ++width;
				const char* s = reinterpret_cast<const char*>(&data_sec[offset]);
				for (size_t i = 0; i + 1 < size * sizeof(int); ++i) {
					switch (s[i]) {
						default: log("%c", s[i]); ++width; break;
						case '\t': log("\\t"); width += 2; break;
						case '\r': log("\\r"); width += 2; break;
						case '\n': log("\\n"); width += 2; break;
						case '\\': log("\\\\"); width += 2; break;
						case '\'': log("\\\'"); width += 2; break;
						case '\"': log("\\\""); width += 2; break;
						case '\0': log("\\0"); width += 2; break;
					}
				}
				log("\""); ++width;
			} else {
				for (size_t i = 0; i < size; ++i) {
					if (i > 0) { log("  "); width += 2; }
					log("0x%08X", static_cast<unsigned int>(data_sec[offset + i]));
					width += 10;
				}
			}
			if (width > 25) {
				log("\n%*s", (10 + 14 + 25), "");
			} else {
				log("%*s", 25 - width, "");
			}
			log(" ; %s %s" COLOR_NORMAL "\n", type.c_str(), name.c_str());
		}
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
cmpl $0x0, 0xfbf9(%rip)      # 0x235e0
jle 0x13a12
cmpq $0x0, 0xf957(%rip)      # 0x23348
je 0x13a12
xorl %eax, %eax
leaq 0xf914(%rip), %rbx      # 0x23310
movq %rbx, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x4bf7
cmpq 0xf938(%rip), %rax      # 0x23348
jb 0x139fc
movq 0xf85f(%rip), %rax      # 0x23278
cmpq 0xf850(%rip), %rax      # 0x23270
je 0x13ab1
leaq 0xfa8b(%rip), %rbx      # 0x234b8
leaq -0xd0(%rbp), %r14
leaq 0xf8d5(%rip), %r13      # 0x23310
xorl %r15d, %r15d
movq %r15, %rdi
callq 0x40eb
incq %r15
movq %r15, -0xd0(%rbp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x18834
testq %rax, %rax
je 0x13a9a
movq %rax, %r12
leaq 0x795d(%rip), %rdi      # 0x1b3c7
xorl %eax, %eax
callq 0x15114
movq 0x10(%r12), %rax
cmpq 0x18(%r12), %rax
ja 0x13a8c
movq %r13, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x4bf7
jmp 0x13a76
leaq 0x8a2f(%rip), %rdi      # 0x1c4c2
xorl %eax, %eax
callq 0x15114
movq 0xf7d7(%rip), %rax      # 0x23278
subq 0xf7c8(%rip), %rax      # 0x23270
sarq $0x5, %rax
cmpq %rax, %r15
jb 0x13a3e
leaq 0x885a(%rip), %rdi      # 0x1c312
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x15114
cmpl $0x0, 0xfb18(%rip)      # 0x235e0
jg 0x13ad1
movq 0xf86f(%rip), %rbx      # 0x23340
movq %rbx, -0x30(%rbp)
movq 0xf854(%rip), %rax      # 0x23330
subq 0xf845(%rip), %rax      # 0x23328
sarq $0x2, %rax
cmpq %rax, %rbx
jae 0x13e5e
leaq -0x60(%rbp), %rbx
leaq -0x40(%rbp), %r12
leaq 0x777d(%rip), %r13      # 0x1b27c
leaq 0xf8d2(%rip), %rdi      # 0x233d8
leaq -0x30(%rbp), %rsi
callq 0x187d2
testq %rax, %rax
je 0x13e38
movq %rbx, %r15
movq %rbx, -0x70(%rbp)
movq 0x10(%rax), %rsi
movq 0x18(%rax), %rdx
addq %rsi, %rdx
leaq -0x70(%rbp), %rbx
movq %rbx, %rdi
callq 0x16942
leaq 0xf863(%rip), %rdi      # 0x233a0
movq %rbx, %rsi
callq 0x17042
movq %rax, %rbx
leaq -0xd0(%rbp), %rdi
movq %rax, %rsi
callq 0x163a6
movq %r13, %r14
movq 0x48(%rbx), %rax
movq %rax, -0x88(%rbp)
movq 0x50(%rbx), %rax
movq %rax, -0x80(%rbp)
movb 0x58(%rbx), %al
movb %al, -0x78(%rbp)
movq %r12, -0x50(%rbp)
leaq -0x50(%rbp), %rdi
leaq 0x854e(%rip), %rsi      # 0x1c0d0
leaq 0x854b(%rip), %rdx      # 0x1c0d4
callq 0x169e0
leaq -0xa8(%rbp), %rbx
movq %rbx, %rdi
leaq 0x835d(%rip), %r13      # 0x1befc
movq %r13, %rsi
callq 0x30b0
testl %eax, %eax
jne 0x13bc7
movq -0x48(%rbp), %rdx
movl $0x4, %r8d
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
leaq 0x8513(%rip), %rcx      # 0x1c0d5
callq 0x32a0
movq -0x30(%rbp), %rsi
leaq 0x8508(%rip), %rdi      # 0x1c0da
xorl %eax, %eax
callq 0x15114
movq -0x50(%rbp), %rsi
leaq 0x8502(%rip), %rdi      # 0x1c0e6
xorl %eax, %eax
callq 0x15114
movq %rbx, %rdi
movq %r13, %rsi
callq 0x30b0
testl %eax, %eax
je 0x13c5c
cmpq $0x0, -0x88(%rbp)
je 0x13d4e
xorl %r12d, %r12d
xorl %ebx, %ebx
movq %r14, %r13
leaq 0x84f0(%rip), %r14      # 0x1c107
testq %r12, %r12
je 0x13c2a
movq %r13, %rdi
xorl %eax, %eax
callq 0x15114
addq $0x2, %rbx
movq -0x80(%rbp), %rax
shlq $0x2, %rax
addq 0xf6ef(%rip), %rax      # 0x23328
movl (%rax,%r12,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x15114
addq $0xa, %rbx
incq %r12
cmpq -0x88(%rbp), %r12
jb 0x13c17
jmp 0x13d6b
leaq 0x7b6a(%rip), %rdi      # 0x1b7cd
xorl %eax, %eax
callq 0x15114
movq -0x88(%rbp), %rax
shlq $0x2, %rax
testq %rax, %rax
je 0x13d55
movq -0x80(%rbp), %r12
shlq $0x2, %r12
addq 0xf69b(%rip), %r12      # 0x23328
movl $0x1, %r13d
movl $0x1, %ebx
movzbl -0x1(%r12,%r13), %eax
cmpl $0xc, %eax
jle 0x13cbb
cmpl $0x26, %eax
jg 0x13cd2
cmpl $0xd, %eax
je 0x13d06
cmpl $0x22, %eax
jne 0x13cee
leaq 0x8448(%rip), %rdi      # 0x1c101
jmp 0x13d1f
testl %eax, %eax
je 0x13ce5
cmpl $0x9, %eax
je 0x13d18
cmpl $0xa, %eax
jne 0x13cee
leaq 0x8428(%rip), %rdi      # 0x1c0f8
jmp 0x13d1f
cmpl $0x27, %eax
je 0x13d0f
cmpl $0x5c, %eax
jne 0x13cee
leaq 0x8418(%rip), %rdi      # 0x1c0fb
jmp 0x13d1f
leaq 0x8418(%rip), %rdi      # 0x1c104
jmp 0x13d1f
movsbl %al, %esi
leaq 0x757e(%rip), %rdi      # 0x1b276
xorl %eax, %eax
callq 0x15114
movl $0x1, %eax
jmp 0x13d2b
leaq 0x83e8(%rip), %rdi      # 0x1c0f5
jmp 0x13d1f
leaq 0x83e8(%rip), %rdi      # 0x1c0fe
jmp 0x13d1f
leaq 0x83d3(%rip), %rdi      # 0x1c0f2
xorl %eax, %eax
callq 0x15114
movl $0x2, %eax
addq %rax, %rbx
incq %r13
movq -0x88(%rbp), %rax
shlq $0x2, %rax
cmpq %rax, %r13
jb 0x13c98
incq %rbx
leaq -0x60(%rbp), %r15
jmp 0x13d5a
xorl %ebx, %ebx
movq %r14, %r13
jmp 0x13d91
movl $0x2, %ebx
leaq 0x7a6c(%rip), %rdi      # 0x1b7cd
xorl %eax, %eax
callq 0x15114
movq %r14, %r13
cmpq $0x1a, %rbx
leaq -0x40(%rbp), %r12
jb 0x13d91
leaq 0x8392(%rip), %rdi      # 0x1c10e
movl $0x31, %esi
leaq 0x86f9(%rip), %rdx      # 0x1c481
xorl %eax, %eax
callq 0x15114
jmp 0x13dae
movl $0x19, %esi
subq %rbx, %rsi
leaq 0x836f(%rip), %rdi      # 0x1c10f
leaq 0x86da(%rip), %rdx      # 0x1c481
xorl %eax, %eax
callq 0x15114
movq %r15, %rbx
movq -0xa8(%rbp), %rsi
movq -0x70(%rbp), %rdx
leaq 0x8350(%rip), %rdi      # 0x1c113
xorl %eax, %eax
callq 0x15114
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x13ddf
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x13e01
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0x13e23
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x13e38
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x30(%rbp), %rax
incq %rax
movq %rax, -0x30(%rbp)
movq 0xf4e6(%rip), %rcx      # 0x23330
subq 0xf4d7(%rip), %rcx      # 0x23328
sarq $0x2, %rcx
cmpq %rcx, %rax
jb 0x13aff
xorl %eax, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x13e8f
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x13e8f
movq %rax, %rbx
leaq -0xd0(%rbp), %rdi
callq 0x15246
jmp 0x13ea0
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x13eb9
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x31d0
movq %rbx, %rdi
callq 0x3320