// File: /workspace/github_cpp_makefile_star2_O1/yanlinlin82[P]icpp/icpp.cpp
// Function: init_symbol()
void init_symbol()
{
	log<3>("[DEBUG] prepare external symbols\n");
	add_external_symbol("cout", "ostream");
	add_external_symbol("cerr", "ostream");
	add_external_symbol("endl", "endl_t", "void", 1);
	add_external_symbol("operator<<", "ostream,int", "ostream", 2);
	add_external_symbol("operator<<", "ostream,double", "ostream", 2);
	add_external_symbol("operator<<", "ostream,const char*", "ostream", 2);
	add_external_symbol("operator<<", "ostream,(*)(endl_t)", "ostream", 2);
	add_external_symbol("printf", "const char*,...", "int", -1);
	log<3>("[DEBUG] total %zd symbols are prepared\n", symbols.size());
	external_data_size = data_sec.size();
	external_code_size = code_sec.size();
	if (verbose >= 3) {
		size_t i = 0;
		for (auto it = symbols.begin(); it != symbols.end(); ++it) {
			auto name = it->first;
			auto [ is_code, offset, size, type_name, ret_type, arg_count ] = it->second;
			log("[DEBUG] [%zd] '%s': %s, offset=%zd, size=%zd, type='%s', ret_type='%s', arg_count=%d\n",
					i++, name.c_str(), (is_code ? "code" : "data"), offset, size, type_name.c_str(), ret_type.c_str(), arg_count);
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x388, %rsp            # imm = 0x388
leaq 0xa7aa(%rip), %rdi      # 0x1ce89
xorl %eax, %eax
callq 0x1559d
leaq -0x338(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0xa7b3(%rip), %rsi      # 0x1ceab
leaq 0xa7b0(%rip), %rdx      # 0x1ceaf
leaq -0x348(%rbp), %rdi
callq 0x16dc8
leaq -0x318(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xa793(%rip), %rsi      # 0x1ceb0
leaq 0xa793(%rip), %rdx      # 0x1ceb7
leaq -0x328(%rbp), %rdi
callq 0x16dc8
leaq -0x2f8(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0xad3e(%rip), %rdx      # 0x1d481
leaq -0x308(%rbp), %rdi
movq %rdx, %rsi
callq 0x16dc8
leaq -0x348(%rbp), %rdi
leaq -0x328(%rbp), %rsi
leaq -0x308(%rbp), %rdx
xorl %ecx, %ecx
callq 0x503c
movq -0x308(%rbp), %rdi
cmpq %r12, %rdi
je 0x12789
movq -0x2f8(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x328(%rbp), %rdi
cmpq %rbx, %rdi
je 0x127a4
movq -0x318(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x348(%rbp), %rdi
cmpq %r14, %rdi
je 0x127bf
movq -0x338(%rbp), %rsi
incq %rsi
callq 0x31d0
leaq -0x2d8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0xa6e7(%rip), %rsi      # 0x1ceb8
leaq 0xa6e4(%rip), %rdx      # 0x1cebc
leaq -0x2e8(%rbp), %rdi
callq 0x16dc8
leaq -0x2b8(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xa6ba(%rip), %rsi      # 0x1ceb0
leaq 0xa6ba(%rip), %rdx      # 0x1ceb7
leaq -0x2c8(%rbp), %rdi
callq 0x16dc8
leaq -0x298(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0xac65(%rip), %rdx      # 0x1d481
leaq -0x2a8(%rbp), %rdi
movq %rdx, %rsi
callq 0x16dc8
leaq -0x2e8(%rbp), %rdi
leaq -0x2c8(%rbp), %rsi
leaq -0x2a8(%rbp), %rdx
xorl %ecx, %ecx
callq 0x503c
movq -0x2a8(%rbp), %rdi
cmpq %r12, %rdi
je 0x12862
movq -0x298(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x2c8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x1287d
movq -0x2b8(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x2e8(%rbp), %rdi
cmpq %r14, %rdi
je 0x12898
movq -0x2d8(%rbp), %rsi
incq %rsi
callq 0x31d0
leaq -0x278(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0xa613(%rip), %rsi      # 0x1cebd
leaq 0xa610(%rip), %rdx      # 0x1cec1
leaq -0x288(%rbp), %rdi
callq 0x16dc8
leaq -0x258(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xa5f3(%rip), %rsi      # 0x1cec2
leaq 0xa5f2(%rip), %rdx      # 0x1cec8
leaq -0x268(%rbp), %rdi
callq 0x16dc8
leaq -0x238(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0xa5d4(%rip), %rsi      # 0x1cec9
leaq 0xa5d1(%rip), %rdx      # 0x1cecd
leaq -0x248(%rbp), %rdi
callq 0x16dc8
leaq -0x288(%rbp), %rdi
leaq -0x268(%rbp), %rsi
leaq -0x248(%rbp), %rdx
movl $0x1, %ecx
callq 0x503c
movq -0x248(%rbp), %rdi
cmpq %r12, %rdi
je 0x12942
movq -0x238(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x268(%rbp), %rdi
cmpq %rbx, %rdi
je 0x1295d
movq -0x258(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x288(%rbp), %rdi
cmpq %r14, %rdi
je 0x12978
movq -0x278(%rbp), %rsi
incq %rsi
callq 0x31d0
leaq -0x218(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0xa544(%rip), %rsi      # 0x1cece
leaq 0xa547(%rip), %rdx      # 0x1ced8
leaq -0x228(%rbp), %rdi
callq 0x16dc8
leaq -0x1f8(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xa52a(%rip), %rsi      # 0x1ced9
leaq 0xa52e(%rip), %rdx      # 0x1cee4
leaq -0x208(%rbp), %rdi
callq 0x16dc8
leaq -0x1d8(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0xa4db(%rip), %rsi      # 0x1ceb0
leaq 0xa4db(%rip), %rdx      # 0x1ceb7
leaq -0x1e8(%rbp), %rdi
callq 0x16dc8
leaq -0x228(%rbp), %rdi
leaq -0x208(%rbp), %rsi
leaq -0x1e8(%rbp), %rdx
movl $0x2, %ecx
callq 0x503c
movq -0x1e8(%rbp), %rdi
cmpq %r12, %rdi
je 0x12a22
movq -0x1d8(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x208(%rbp), %rdi
cmpq %rbx, %rdi
je 0x12a3d
movq -0x1f8(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x228(%rbp), %rdi
cmpq %r14, %rdi
je 0x12a58
movq -0x218(%rbp), %rsi
incq %rsi
callq 0x31d0
leaq -0x1b8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0xa464(%rip), %rsi      # 0x1cece
leaq 0xa467(%rip), %rdx      # 0x1ced8
leaq -0x1c8(%rbp), %rdi
callq 0x16dc8
leaq -0x198(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xa456(%rip), %rsi      # 0x1cee5
leaq 0xa45d(%rip), %rdx      # 0x1cef3
leaq -0x1a8(%rbp), %rdi
callq 0x16dc8
leaq -0x178(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0xa3fb(%rip), %rsi      # 0x1ceb0
leaq 0xa3fb(%rip), %rdx      # 0x1ceb7
leaq -0x188(%rbp), %rdi
callq 0x16dc8
leaq -0x1c8(%rbp), %rdi
leaq -0x1a8(%rbp), %rsi
leaq -0x188(%rbp), %rdx
movl $0x2, %ecx
callq 0x503c
movq -0x188(%rbp), %rdi
cmpq %r12, %rdi
je 0x12b02
movq -0x178(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x1a8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x12b1d
movq -0x198(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x1c8(%rbp), %rdi
cmpq %r14, %rdi
je 0x12b38
movq -0x1b8(%rbp), %rsi
incq %rsi
callq 0x31d0
leaq -0x158(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0xa384(%rip), %rsi      # 0x1cece
leaq 0xa387(%rip), %rdx      # 0x1ced8
leaq -0x168(%rbp), %rdi
callq 0x16dc8
leaq -0x138(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xa385(%rip), %rsi      # 0x1cef4
leaq 0xa391(%rip), %rdx      # 0x1cf07
leaq -0x148(%rbp), %rdi
callq 0x16dc8
leaq -0x118(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0xa31b(%rip), %rsi      # 0x1ceb0
leaq 0xa31b(%rip), %rdx      # 0x1ceb7
leaq -0x128(%rbp), %rdi
callq 0x16dc8
leaq -0x168(%rbp), %rdi
leaq -0x148(%rbp), %rsi
leaq -0x128(%rbp), %rdx
movl $0x2, %ecx
callq 0x503c
movq -0x128(%rbp), %rdi
cmpq %r12, %rdi
je 0x12be2
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x148(%rbp), %rdi
cmpq %rbx, %rdi
je 0x12bfd
movq -0x138(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x168(%rbp), %rdi
cmpq %r14, %rdi
je 0x12c18
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x31d0
leaq -0xf8(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0xa2a4(%rip), %rsi      # 0x1cece
leaq 0xa2a7(%rip), %rdx      # 0x1ced8
leaq -0x108(%rbp), %rdi
callq 0x16dc8
leaq -0xd8(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xa2b9(%rip), %rsi      # 0x1cf08
leaq 0xa2c5(%rip), %rdx      # 0x1cf1b
leaq -0xe8(%rbp), %rdi
callq 0x16dc8
leaq -0xb8(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0xa23b(%rip), %rsi      # 0x1ceb0
leaq 0xa23b(%rip), %rdx      # 0x1ceb7
leaq -0xc8(%rbp), %rdi
callq 0x16dc8
leaq -0x108(%rbp), %rdi
leaq -0xe8(%rbp), %rsi
leaq -0xc8(%rbp), %rdx
movl $0x2, %ecx
callq 0x503c
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x12cc2
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0xe8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x12cdd
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x108(%rbp), %rdi
cmpq %r14, %rdi
je 0x12cf8
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x31d0
leaq -0x98(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x98a6(%rip), %rsi      # 0x1c5b0
leaq 0x98a5(%rip), %rdx      # 0x1c5b6
leaq -0xa8(%rbp), %rdi
callq 0x16dc8
leaq -0x78(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xa1f0(%rip), %rsi      # 0x1cf1c
leaq 0xa1f8(%rip), %rdx      # 0x1cf2b
leaq -0x88(%rbp), %rdi
callq 0x16dc8
leaq -0x58(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0xa192(%rip), %rsi      # 0x1cee1
leaq 0xa18e(%rip), %rdx      # 0x1cee4
leaq -0x68(%rbp), %rdi
callq 0x16dc8
leaq -0xa8(%rbp), %rdi
leaq -0x88(%rbp), %rsi
leaq -0x68(%rbp), %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x503c
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x12d90
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x88(%rbp), %rdi
cmpq %rbx, %rdi
je 0x12da8
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0xa8(%rbp), %rdi
cmpq %r14, %rdi
je 0x12dc3
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x31d0
movq 0x115ee(%rip), %rsi     # 0x243b8
leaq 0xa15b(%rip), %rdi      # 0x1cf2c
xorl %eax, %eax
callq 0x1559d
movq 0x11551(%rip), %rax     # 0x24330
subq 0x11542(%rip), %rax     # 0x24328
sarq $0x2, %rax
movq %rax, 0x1154f(%rip)     # 0x24340
movq 0x11520(%rip), %rax     # 0x24318
subq 0x11511(%rip), %rax     # 0x24310
sarq $0x2, %rax
movq %rax, 0x1153e(%rip)     # 0x24348
cmpl $0x3, 0x117cf(%rip)     # 0x245e0
jl 0x12f2e
movq 0x11592(%rip), %r13     # 0x243b0
testq %r13, %r13
je 0x12f2e
leaq -0x38(%rbp), %rbx
leaq 0x94c9(%rip), %r14      # 0x1c2fb
leaq 0xa11b(%rip), %r15      # 0x1cf54
xorl %r12d, %r12d
movq %rbx, -0x48(%rbp)
movq 0x8(%r13), %rsi
movq 0x10(%r13), %rdx
addq %rsi, %rdx
leaq -0x48(%rbp), %rdi
callq 0x16d2e
leaq 0x28(%r13), %rsi
leaq -0x3a8(%rbp), %rdi
callq 0x1678e
movq 0x70(%r13), %r9
movq %r9, -0x360(%rbp)
movq 0x78(%r13), %r8
movq %r8, -0x358(%rbp)
movb 0x80(%r13), %al
movb %al, -0x350(%rbp)
movq -0x48(%rbp), %rdx
testb $0x1, %al
movq %r14, %rcx
leaq 0x945f(%rip), %rax      # 0x1c2f6
cmovneq %rax, %rcx
movl -0x3a8(%rbp), %r10d
subq $0x8, %rsp
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
pushq %r10
pushq -0x3a0(%rbp)
pushq -0x380(%rbp)
callq 0x15504
addq $0x20, %rsp
movq -0x380(%rbp), %rdi
leaq -0x370(%rbp), %rax
cmpq %rax, %rdi
je 0x12ee7
movq -0x370(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x3a0(%rbp), %rdi
leaq -0x390(%rbp), %rax
cmpq %rax, %rdi
je 0x12f09
movq -0x390(%rbp), %rsi
incq %rsi
callq 0x31d0
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0x12f1e
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x31d0
movq (%r13), %r13
incq %r12
testq %r13, %r13
jne 0x12e3c
addq $0x388, %rsp            # imm = 0x388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
movq -0x68(%rbp), %rdi
cmpq %r12, %rdi
je 0x12f5d
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x12f5d
movq %rax, %r15
movq -0x88(%rbp), %rdi
cmpq %rbx, %rdi
je 0x12f7a
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x12f7a
movq %rax, %r15
movq -0xa8(%rbp), %rdi
cmpq %r14, %rdi
je 0x13239
movq -0x98(%rbp), %rsi
jmp 0x13231
movq %rax, %r15
movq -0xc8(%rbp), %rdi
cmpq %r12, %rdi
je 0x12fb9
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x12fb9
movq %rax, %r15
movq -0xe8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x12fd9
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x12fd9
movq %rax, %r15
movq -0x108(%rbp), %rdi
cmpq %r14, %rdi
je 0x13239
movq -0xf8(%rbp), %rsi
jmp 0x13231
movq %rax, %r15
movq -0x128(%rbp), %rdi
cmpq %r12, %rdi
je 0x13018
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x13018
movq %rax, %r15
movq -0x148(%rbp), %rdi
cmpq %rbx, %rdi
je 0x13038
movq -0x138(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x13038
movq %rax, %r15
movq -0x168(%rbp), %rdi
cmpq %r14, %rdi
je 0x13239
movq -0x158(%rbp), %rsi
jmp 0x13231
movq %rax, %r15
movq -0x188(%rbp), %rdi
cmpq %r12, %rdi
je 0x13077
movq -0x178(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x13077
movq %rax, %r15
movq -0x1a8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x13097
movq -0x198(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x13097
movq %rax, %r15
movq -0x1c8(%rbp), %rdi
cmpq %r14, %rdi
je 0x13239
movq -0x1b8(%rbp), %rsi
jmp 0x13231
movq %rax, %r15
movq -0x1e8(%rbp), %rdi
cmpq %r12, %rdi
je 0x130d6
movq -0x1d8(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x130d6
movq %rax, %r15
movq -0x208(%rbp), %rdi
cmpq %rbx, %rdi
je 0x130f6
movq -0x1f8(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x130f6
movq %rax, %r15
movq -0x228(%rbp), %rdi
cmpq %r14, %rdi
je 0x13239
movq -0x218(%rbp), %rsi
jmp 0x13231
movq %rax, %r15
movq -0x248(%rbp), %rdi
cmpq %r12, %rdi
je 0x13135
movq -0x238(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x13135
movq %rax, %r15
movq -0x268(%rbp), %rdi
cmpq %rbx, %rdi
je 0x13155
movq -0x258(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x13155
movq %rax, %r15
movq -0x288(%rbp), %rdi
cmpq %r14, %rdi
je 0x13239
movq -0x278(%rbp), %rsi
jmp 0x13231
movq %rax, %r15
movq -0x2a8(%rbp), %rdi
cmpq %r12, %rdi
je 0x13194
movq -0x298(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x13194
movq %rax, %r15
movq -0x2c8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x131b4
movq -0x2b8(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x131b4
movq %rax, %r15
movq -0x2e8(%rbp), %rdi
cmpq %r14, %rdi
je 0x13239
movq -0x2d8(%rbp), %rsi
jmp 0x13231
movq %rax, %r15
movq -0x308(%rbp), %rdi
cmpq %r12, %rdi
je 0x131ec
movq -0x2f8(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x131ec
movq %rax, %r15
movq -0x328(%rbp), %rdi
cmpq %rbx, %rdi
je 0x1320c
movq -0x318(%rbp), %rsi
incq %rsi
callq 0x31d0
jmp 0x1320c
movq %rax, %r15
movq -0x348(%rbp), %rdi
cmpq %r14, %rdi
je 0x13239
movq -0x338(%rbp), %rsi
jmp 0x13231
movq %rax, %r15
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0x13239
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x31d0
movq %r15, %rdi
callq 0x3320