// File: /workspace/github_cpp_makefile_star2_O1/iZhangHui[P]CppPrimer/CH13_CopyControl/examples/useStrVec.cc
// Function: main
int main()
{
	StrVec sv = {"one", "two", "three"};
	// run the string empty funciton on the first element in sv
	if (!sv[0].empty())
		sv[0] = "None"; // assign a new value to the first string

	// we'll call getVec a couple of times
	// and will read the same file each time
	ifstream in("data/storyDataFile");
	std::cout << "HenryDbg::tp1------------------->" << std::endl;
	StrVec svec = getVec(in);
	std::cout << "HenryDbg::tp1------------------->" << std::endl;
	print(svec);
	in.close();

	cout << "copy " << svec.size() << endl;
	std::cout << "HenryDbg::tp2------------------->" << std::endl;
	auto svec2 = svec;
	std::cout << "HenryDbg::tp2------------------->" << std::endl;
	print(svec2);

	cout << "assign" << endl;
	StrVec svec3;
	std::cout << "HenryDbg::tp3------------------->" << std::endl;
	svec3 = svec2;
	std::cout << "HenryDbg::tp3------------------->" << std::endl;
	print(svec3);

	StrVec v1, v2;
	std::cout << "HenryDbg::tp4------------------->" << std::endl;
	v1 = v2;                   // v2 is an lvalue; copy assignment
	std::cout << "HenryDbg::tp4------------------->" << std::endl;

	in.open("data/storyDataFile");
	std::cout << "HenryDbg::tp5------------------->" << std::endl;
	v2 = getVec(in);          // getVec(in) is an rvalue; move assignment
	std::cout << "HenryDbg::tp5------------------->" << std::endl;
	in.close();

	StrVec vec;  // empty StrVec
	string s = "some string or another";
	std::cout << "HenryDbg::tp6------------------->" << std::endl;
	vec.push_back(s);      // calls push_back(const string&)
	vec.push_back("done"); // calls push_back(string&&)
	std::cout << "HenryDbg::tp6------------------->" << std::endl;

	// emplace member covered in chpater 16
	s = "the end";
	std::cout << "HenryDbg::tp7------------------->" << std::endl;
	vec.emplace_back(10, 'c'); // adds cccccccccc as a new last element
	vec.emplace_back(s);  // uses the string copy constructor
	string s1 = "the beginning", s2 = s;
	vec.emplace_back(s1 + s2); // uses the move constructor
	std::cout << "HenryDbg::tp7------------------->" << std::endl;

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x338, %rsp            # imm = 0x338
leaq -0x348(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1a57(%rip), %rsi      # 0x400f
leaq 0x1a53(%rip), %rdx      # 0x4012
leaq -0x358(%rbp), %r15
movq %r15, %rdi
callq 0x3e1a
leaq -0x338(%rbp), %r14
leaq -0x328(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x1a1d(%rip), %rsi      # 0x4004
leaq 0x1a19(%rip), %rdx      # 0x4007
movq %r14, %rdi
callq 0x3e1a
leaq -0x318(%rbp), %r14
leaq -0x308(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0x19f9(%rip), %rsi      # 0x4008
leaq 0x19f7(%rip), %rdx      # 0x400d
movq %r14, %rdi
callq 0x3e1a
leaq -0x2f8(%rbp), %r12
movl $0x60, %edi
callq 0x2120
movq %rax, %rbx
leaq -0x358(%rbp), %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x3cbc
movq %rbx, -0xc8(%rbp)
movq %rax, -0xb8(%rbp)
movq %rax, -0xc0(%rbp)
movq $-0x60, %rbx
movq -0x10(%r13), %rdi
cmpq %rdi, %r13
je 0x2675
movq (%r13), %rsi
incq %rsi
callq 0x2130
addq $-0x20, %r13
addq $0x20, %rbx
jne 0x2660
movq -0xc8(%rbp), %rdi
movq 0x8(%rdi), %rdx
testq %rdx, %rdx
je 0x26a3
leaq 0x1978(%rip), %rcx      # 0x400e
movl $0x4, %r8d
xorl %esi, %esi
callq 0x2190
leaq 0x1969(%rip), %rsi      # 0x4013
leaq -0x358(%rbp), %rdi
movl $0x8, %edx
callq 0x21d0
movq 0x3916(%rip), %rbx      # 0x5fd8
leaq 0x195d(%rip), %rsi      # 0x4026
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x38e4(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0x98(%rbp), %rdi
leaq -0x358(%rbp), %rsi
callq 0x246f
movq 0x38bd(%rip), %rbx      # 0x5fd8
leaq 0x1904(%rip), %rsi      # 0x4026
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x388b(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0x98(%rbp), %rdi
callq 0x238c
leaq -0x358(%rbp), %rdi
callq 0x2040
movq 0x385f(%rip), %rdi      # 0x5fd8
leaq 0x18c8(%rip), %rsi      # 0x4048
movl $0x5, %edx
callq 0x2140
movq -0x90(%rbp), %rsi
subq -0x98(%rbp), %rsi
sarq $0x5, %rsi
movq 0x3835(%rip), %rdi      # 0x5fd8
callq 0x20b0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq 0x37ff(%rip), %rbx      # 0x5fd8
leaq 0x186e(%rip), %rsi      # 0x404e
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x37cd(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq 0x37b9(%rip), %rbx      # 0x5fd8
leaq 0x1973(%rip), %rsi      # 0x4199
movl $0x18, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x3787(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x98(%rbp), %rbx
movq -0x90(%rbp), %r14
movq %r14, %rsi
subq %rbx, %rsi
sarq $0x5, %rsi
leaq 0x388d(%rip), %rdi      # 0x610a
xorl %edx, %edx
callq 0x3c90
movq %rax, %r15
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x3cbc
movq %r15, -0xb0(%rbp)
movq %rax, -0xa0(%rbp)
movq %rax, -0xa8(%rbp)
movq 0x3727(%rip), %rbx      # 0x5fd8
leaq 0x1796(%rip), %rsi      # 0x404e
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x36f5(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0xb0(%rbp), %rdi
callq 0x238c
movq 0x36d5(%rip), %rbx      # 0x5fd8
leaq 0x1766(%rip), %rsi      # 0x4070
movl $0x6, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x36a3(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0xf8(%rbp), %rdi
callq 0x3888
movq 0x3683(%rip), %rbx      # 0x5fd8
leaq 0x171b(%rip), %rsi      # 0x4077
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x3651(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0xf8(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x3940
movq 0x362a(%rip), %rbx      # 0x5fd8
leaq 0x16c2(%rip), %rsi      # 0x4077
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x35f8(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0xf8(%rbp), %rdi
callq 0x238c
leaq -0x110(%rbp), %rdi
callq 0x3888
leaq -0xe0(%rbp), %rdi
callq 0x3888
movq 0x35c0(%rip), %rbx      # 0x5fd8
leaq 0x167a(%rip), %rsi      # 0x4099
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x358e(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0x110(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x3940
movq 0x3567(%rip), %rbx      # 0x5fd8
leaq 0x1621(%rip), %rsi      # 0x4099
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x3535(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq 0x155c(%rip), %rsi      # 0x4013
leaq -0x358(%rbp), %rdi
movl $0x8, %edx
callq 0x20a0
movq 0x3509(%rip), %rbx      # 0x5fd8
leaq 0x15e5(%rip), %rsi      # 0x40bb
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x34d7(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0x60(%rbp), %rdi
leaq -0x358(%rbp), %rsi
callq 0x246f
leaq -0xe0(%rbp), %rdi
leaq -0x60(%rbp), %rbx
movq %rbx, %rsi
callq 0x3a28
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x2b7a
movq -0x58(%rbp), %rbx
cmpq %rdi, %rbx
je 0x2b6e
addq $-0x10, %rbx
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x2b5a
movq (%rbx), %rsi
incq %rsi
callq 0x2130
movq -0x60(%rbp), %rdi
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %rdi, %rbx
movq %rax, %rbx
jne 0x2b46
movq -0x50(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq 0x3457(%rip), %rbx      # 0x5fd8
leaq 0x1533(%rip), %rsi      # 0x40bb
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x3425(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0x358(%rbp), %rdi
callq 0x2040
leaq -0x40(%rbp), %rdi
callq 0x3888
leaq -0x50(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x14f8(%rip), %rsi      # 0x40dd
leaq 0x1507(%rip), %rdx      # 0x40f3
leaq -0x60(%rbp), %rdi
callq 0x3e1a
movq 0x33dc(%rip), %rbx      # 0x5fd8
leaq 0x14f1(%rip), %rsi      # 0x40f4
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x33aa(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq 0x3396(%rip), %rbx      # 0x5fd8
leaq 0x1528(%rip), %rsi      # 0x4171
movl $0x27, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x3364(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x38(%rbp), %rax
cmpq -0x30(%rbp), %rax
jne 0x2d84
movq -0x40(%rbp), %rcx
movq %rax, %rdx
subq %rcx, %rdx
sarq $0x4, %rdx
cmpq %rcx, %rax
movl $0x1, %ebx
cmovneq %rdx, %rbx
leaq 0x345a(%rip), %rdi      # 0x610a
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3c90
movq %rax, %r14
movq %r12, %r13
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %r15
movq %r15, %rax
movq %r14, %r12
subq %rdi, %rax
je 0x2d2c
sarq $0x5, %rax
leaq 0x10(%rdi), %rcx
leaq 0x10(%r14), %r12
movq %r12, -0x10(%r12)
movq -0x10(%rcx), %rdx
cmpq %rdx, %rcx
je 0x2cfb
movq %rdx, -0x10(%r12)
movq (%rcx), %rdx
movq %rdx, (%r12)
jmp 0x2d03
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq -0x8(%rcx), %rdx
movq %rdx, -0x8(%r12)
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
addq $0x20, %rcx
addq $0x20, %r12
decq %rax
jne 0x2cdf
addq $-0x10, %r12
testq %rdi, %rdi
je 0x2d6e
cmpq %rdi, %r15
je 0x2d62
addq $-0x10, %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x2d4e
movq (%r15), %rsi
incq %rsi
callq 0x2130
movq -0x40(%rbp), %rdi
leaq -0x20(%r15), %rax
addq $-0x10, %r15
cmpq %rdi, %r15
movq %rax, %r15
jne 0x2d3a
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq %r14, -0x40(%rbp)
movq %r12, -0x38(%rbp)
shlq $0x5, %rbx
addq %rbx, %r14
movq %r14, -0x30(%rbp)
movq %r13, %r12
movq -0x38(%rbp), %rdi
leaq 0x20(%rdi), %rax
movq %rax, -0x38(%rbp)
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
addq %rsi, %rdx
callq 0x3d80
leaq -0x70(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x1360(%rip), %rsi      # 0x4116
leaq 0x135d(%rip), %rdx      # 0x411a
leaq -0x80(%rbp), %rdi
callq 0x3e1a
movq 0x320b(%rip), %rbx      # 0x5fd8
leaq 0x140e(%rip), %rsi      # 0x41e2
movl $0x22, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x31d9(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x38(%rbp), %rax
cmpq -0x30(%rbp), %rax
jne 0x2f0a
movq -0x40(%rbp), %rcx
movq %rax, %rdx
subq %rcx, %rdx
sarq $0x4, %rdx
cmpq %rcx, %rax
movl $0x1, %ebx
cmovneq %rdx, %rbx
leaq 0x32cf(%rip), %rdi      # 0x610a
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3c90
movq %rax, %r14
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %r15
movq %r15, %rax
movq %r14, %r13
subq %rdi, %rax
je 0x2eb1
sarq $0x5, %rax
leaq 0x10(%rdi), %rcx
leaq 0x10(%r14), %r13
movq %r13, -0x10(%r13)
movq -0x10(%rcx), %rdx
cmpq %rdx, %rcx
je 0x2e81
movq %rdx, -0x10(%r13)
movq (%rcx), %rdx
movq %rdx, (%r13)
jmp 0x2e89
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq -0x8(%rcx), %rdx
movq %rdx, -0x8(%r13)
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
addq $0x20, %rcx
addq $0x20, %r13
decq %rax
jne 0x2e67
addq $-0x10, %r13
testq %rdi, %rdi
je 0x2ef3
cmpq %rdi, %r15
je 0x2ee7
addq $-0x10, %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x2ed3
movq (%r15), %rsi
incq %rsi
callq 0x2130
movq -0x40(%rbp), %rdi
leaq -0x20(%r15), %rax
addq $-0x10, %r15
cmpq %rdi, %r15
movq %rax, %r15
jne 0x2ebf
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq %r14, -0x40(%rbp)
movq %r13, -0x38(%rbp)
shlq $0x5, %rbx
addq %rbx, %r14
movq %r14, -0x30(%rbp)
leaq -0x70(%rbp), %r15
movq -0x38(%rbp), %rax
leaq 0x20(%rax), %rcx
movq %rcx, -0x38(%rbp)
leaq 0x10(%rax), %rcx
movq %rcx, (%rax)
movq -0x80(%rbp), %rdx
cmpq %r15, %rdx
je 0x2f33
movq %rdx, (%rax)
movq -0x70(%rbp), %rcx
movq %rcx, 0x10(%rax)
jmp 0x2f3a
movups (%r15), %xmm0
movups %xmm0, (%rcx)
movq -0x78(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq 0x308f(%rip), %rbx      # 0x5fd8
leaq 0x11a4(%rip), %rsi      # 0x40f4
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x305d(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
leaq -0x60(%rbp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x1184(%rip), %rcx      # 0x411b
movl $0x7, %r8d
xorl %esi, %esi
callq 0x2190
movq 0x302d(%rip), %rbx      # 0x5fd8
leaq 0x1171(%rip), %rsi      # 0x4123
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x2ffb(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x38(%rbp), %rax
cmpq -0x30(%rbp), %rax
jne 0x30e8
movq -0x40(%rbp), %rcx
movq %rax, %rdx
subq %rcx, %rdx
sarq $0x4, %rdx
cmpq %rcx, %rax
movl $0x1, %ebx
cmovneq %rdx, %rbx
leaq 0x30f1(%rip), %rdi      # 0x610a
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3c90
movq %rax, %r14
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %r15
movq %r15, %rax
movq %r14, %r13
subq %rdi, %rax
je 0x308f
sarq $0x5, %rax
leaq 0x10(%rdi), %rcx
leaq 0x10(%r14), %r13
movq %r13, -0x10(%r13)
movq -0x10(%rcx), %rdx
cmpq %rdx, %rcx
je 0x305f
movq %rdx, -0x10(%r13)
movq (%rcx), %rdx
movq %rdx, (%r13)
jmp 0x3067
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq -0x8(%rcx), %rdx
movq %rdx, -0x8(%r13)
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
addq $0x20, %rcx
addq $0x20, %r13
decq %rax
jne 0x3045
addq $-0x10, %r13
testq %rdi, %rdi
je 0x30d1
cmpq %rdi, %r15
je 0x30c5
addq $-0x10, %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x30b1
movq (%r15), %rsi
incq %rsi
callq 0x2130
movq -0x40(%rbp), %rdi
leaq -0x20(%r15), %rax
addq $-0x10, %r15
cmpq %rdi, %r15
movq %rax, %r15
jne 0x309d
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq %r14, -0x40(%rbp)
movq %r13, -0x38(%rbp)
shlq $0x5, %rbx
addq %rbx, %r14
movq %r14, -0x30(%rbp)
leaq -0x70(%rbp), %r15
movq -0x38(%rbp), %rdi
leaq 0x20(%rdi), %rax
movq %rax, -0x38(%rbp)
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
movl $0xa, %esi
movl $0x63, %edx
callq 0x2150
movq -0x38(%rbp), %rax
cmpq -0x30(%rbp), %rax
jne 0x3208
movq -0x40(%rbp), %rcx
movq %rax, %rdx
subq %rcx, %rdx
sarq $0x4, %rdx
cmpq %rcx, %rax
movl $0x1, %ebx
cmovneq %rdx, %rbx
leaq 0x2fd1(%rip), %rdi      # 0x610a
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3c90
movq %rax, %r14
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %r15
movq %r15, %rax
movq %r14, %r13
subq %rdi, %rax
je 0x31af
sarq $0x5, %rax
leaq 0x10(%rdi), %rcx
leaq 0x10(%r14), %r13
movq %r13, -0x10(%r13)
movq -0x10(%rcx), %rdx
cmpq %rdx, %rcx
je 0x317f
movq %rdx, -0x10(%r13)
movq (%rcx), %rdx
movq %rdx, (%r13)
jmp 0x3187
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq -0x8(%rcx), %rdx
movq %rdx, -0x8(%r13)
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
addq $0x20, %rcx
addq $0x20, %r13
decq %rax
jne 0x3165
addq $-0x10, %r13
testq %rdi, %rdi
je 0x31f1
cmpq %rdi, %r15
je 0x31e5
addq $-0x10, %r15
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x31d1
movq (%r15), %rsi
incq %rsi
callq 0x2130
movq -0x40(%rbp), %rdi
leaq -0x20(%r15), %rax
addq $-0x10, %r15
cmpq %rdi, %r15
movq %rax, %r15
jne 0x31bd
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq %r14, -0x40(%rbp)
movq %r13, -0x38(%rbp)
shlq $0x5, %rbx
addq %rbx, %r14
movq %r14, -0x30(%rbp)
leaq -0x70(%rbp), %r15
movq -0x38(%rbp), %rdi
leaq 0x20(%rdi), %rax
movq %rax, -0x38(%rbp)
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
addq %rsi, %rdx
callq 0x3d80
leaq -0x80(%rbp), %rdi
movq %r15, (%rdi)
leaq 0xf0c(%rip), %rsi       # 0x4145
leaq 0xf12(%rip), %rdx       # 0x4152
callq 0x3e1a
leaq -0x120(%rbp), %r13
movq %r13, -0x10(%r13)
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
addq %rsi, %rdx
leaq -0x130(%rbp), %rdi
callq 0x3d80
leaq -0x150(%rbp), %rdi
leaq -0x80(%rbp), %rsi
leaq -0x130(%rbp), %rdx
callq 0x3b06
movq -0x38(%rbp), %rax
cmpq -0x30(%rbp), %rax
jne 0x3381
movq -0x40(%rbp), %rcx
movq %rax, %rdx
subq %rcx, %rdx
sarq $0x4, %rdx
cmpq %rcx, %rax
movl $0x1, %ebx
cmovneq %rdx, %rbx
leaq 0x2e5d(%rip), %rdi      # 0x610a
movq %rbx, %rsi
xorl %edx, %edx
callq 0x3c90
movq %rax, %r15
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %r12
movq %r12, %rax
movq %r15, %r14
subq %rdi, %rax
je 0x3321
sarq $0x5, %rax
leaq 0x10(%rdi), %rcx
leaq 0x10(%r15), %r14
movq %r14, -0x10(%r14)
movq -0x10(%rcx), %rdx
cmpq %rdx, %rcx
je 0x32f2
movq %rdx, -0x10(%r14)
movq (%rcx), %rdx
movq %rdx, (%r14)
jmp 0x32f9
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq -0x8(%rcx), %rdx
movq %rdx, -0x8(%r14)
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
addq $0x20, %rcx
addq $0x20, %r14
decq %rax
jne 0x32d9
addq $-0x10, %r14
testq %rdi, %rdi
je 0x3366
cmpq %rdi, %r12
je 0x335a
addq $-0x10, %r12
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0x3345
movq (%r12), %rsi
incq %rsi
callq 0x2130
movq -0x40(%rbp), %rdi
leaq -0x20(%r12), %rax
addq $-0x10, %r12
cmpq %rdi, %r12
movq %rax, %r12
jne 0x332f
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq %r15, -0x40(%rbp)
movq %r14, -0x38(%rbp)
shlq $0x5, %rbx
addq %rbx, %r15
movq %r15, -0x30(%rbp)
leaq -0x50(%rbp), %r12
leaq -0x70(%rbp), %r15
movq -0x38(%rbp), %rax
leaq 0x20(%rax), %rcx
movq %rcx, -0x38(%rbp)
leaq 0x10(%rax), %rcx
movq %rcx, (%rax)
leaq -0x140(%rbp), %rdx
movq -0x10(%rdx), %rsi
cmpq %rdx, %rsi
je 0x33b4
movq %rsi, (%rax)
movq -0x140(%rbp), %rcx
movq %rcx, 0x10(%rax)
jmp 0x33ba
movups (%rdx), %xmm0
movups %xmm0, (%rcx)
movq -0x148(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq 0x2c0c(%rip), %rbx      # 0x5fd8
leaq 0xd50(%rip), %rsi       # 0x4123
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2140
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2110
movsbl %al, %esi
movq 0x2bda(%rip), %rdi      # 0x5fd8
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x130(%rbp), %rdi
cmpq %r13, %rdi
je 0x3426
movq -0x120(%rbp), %rsi
incq %rsi
callq 0x2130
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x343b
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x2130
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x3450
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x2130
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x349a
movq -0x38(%rbp), %rbx
cmpq %rdi, %rbx
je 0x348e
addq $-0x10, %rbx
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x347a
movq (%rbx), %rsi
incq %rsi
callq 0x2130
movq -0x40(%rbp), %rdi
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %rdi, %rbx
movq %rax, %rbx
jne 0x3466
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq -0xe0(%rbp), %rdi
testq %rdi, %rdi
je 0x34f0
movq -0xd8(%rbp), %rbx
cmpq %rdi, %rbx
je 0x34e1
addq $-0x10, %rbx
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x34ca
movq (%rbx), %rsi
incq %rsi
callq 0x2130
movq -0xe0(%rbp), %rdi
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %rdi, %rbx
movq %rax, %rbx
jne 0x34b6
movq -0xd0(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq -0x110(%rbp), %rdi
testq %rdi, %rdi
je 0x3546
movq -0x108(%rbp), %rbx
cmpq %rdi, %rbx
je 0x3537
addq $-0x10, %rbx
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x3520
movq (%rbx), %rsi
incq %rsi
callq 0x2130
movq -0x110(%rbp), %rdi
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %rdi, %rbx
movq %rax, %rbx
jne 0x350c
movq -0x100(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq -0xf8(%rbp), %rdi
testq %rdi, %rdi
je 0x359c
movq -0xf0(%rbp), %rbx
cmpq %rdi, %rbx
je 0x358d
addq $-0x10, %rbx
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x3576
movq (%rbx), %rsi
incq %rsi
callq 0x2130
movq -0xf8(%rbp), %rdi
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %rdi, %rbx
movq %rax, %rbx
jne 0x3562
movq -0xe8(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq -0xb0(%rbp), %rdi
testq %rdi, %rdi
je 0x35f2
movq -0xa8(%rbp), %rbx
cmpq %rdi, %rbx
je 0x35e3
addq $-0x10, %rbx
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x35cc
movq (%rbx), %rsi
incq %rsi
callq 0x2130
movq -0xb0(%rbp), %rdi
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %rdi, %rbx
movq %rax, %rbx
jne 0x35b8
movq -0xa0(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
movq -0x98(%rbp), %rdi
testq %rdi, %rdi
je 0x3648
movq -0x90(%rbp), %rbx
cmpq %rdi, %rbx
je 0x3639
addq $-0x10, %rbx
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x3622
movq (%rbx), %rsi
incq %rsi
callq 0x2130
movq -0x98(%rbp), %rdi
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %rdi, %rbx
movq %rax, %rbx
jne 0x360e
movq -0x88(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
leaq -0x358(%rbp), %rdi
callq 0x2050
movq -0xc8(%rbp), %rdi
testq %rdi, %rdi
je 0x36aa
movq -0xc0(%rbp), %rbx
cmpq %rdi, %rbx
je 0x369b
addq $-0x10, %rbx
movq -0x10(%rbx), %rdi
cmpq %rdi, %rbx
je 0x3684
movq (%rbx), %rsi
incq %rsi
callq 0x2130
movq -0xc8(%rbp), %rdi
leaq -0x20(%rbx), %rax
addq $-0x10, %rbx
cmpq %rdi, %rbx
movq %rax, %rbx
jne 0x3670
movq -0xb8(%rbp), %rsi
subq %rdi, %rsi
callq 0x2130
xorl %eax, %eax
addq $0x338, %rsp            # imm = 0x338
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x140(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x37a4
movq -0x140(%rbp), %rsi
incq %rsi
callq 0x2130
jmp 0x37a4
jmp 0x372b
jmp 0x37a1
movq %rax, %rbx
jmp 0x37bf
jmp 0x3806
jmp 0x3806
movq %rax, %rbx
jmp 0x3822
jmp 0x3801
jmp 0x3801
movq %rax, %rbx
jmp 0x3837
jmp 0x37f7
jmp 0x37f2
jmp 0x37ce
movq %rax, %rbx
jmp 0x3873
jmp 0x3735
movq %rax, %rbx
xorl %eax, %eax
jmp 0x375f
movq %rax, %rbx
xorl %eax, %eax
movq %r15, %r14
jmp 0x375f
jmp 0x3806
movq %rax, %rbx
leaq -0x358(%rbp), %rsi
movq %r12, %rdi
callq 0x21f0
movb $0x1, %al
cmpq %r14, %r15
sete %cl
orb %al, %cl
jne 0x387f
addq $-0x10, %r14
leaq -0x358(%rbp), %r15
movq -0x10(%r14), %rdi
cmpq %rdi, %r14
je 0x378c
movq (%r14), %rsi
incq %rsi
callq 0x2130
leaq -0x20(%r14), %rax
addq $-0x10, %r14
cmpq %r15, %r14
movq %rax, %r14
jne 0x3778
jmp 0x387f
movq %rax, %rbx
movq -0x130(%rbp), %rdi
cmpq %r13, %rdi
je 0x37bf
movq -0x120(%rbp), %rsi
incq %rsi
callq 0x2130
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
jne 0x37e2
jmp 0x3809
movq %rax, %rbx
jmp 0x3867
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r15, %rdi
je 0x3809
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x2130
jmp 0x3809
jmp 0x37fc
movq %rax, %rbx
jmp 0x384f
movq %rax, %rbx
jmp 0x3843
movq %rax, %rbx
jmp 0x385b
movq %rax, %rbx
jmp 0x382b
movq %rax, %rbx
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0x3822
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x2130
leaq -0x40(%rbp), %rdi
callq 0x38e4
leaq -0xe0(%rbp), %rdi
callq 0x38e4
leaq -0x110(%rbp), %rdi
callq 0x38e4
leaq -0xf8(%rbp), %rdi
callq 0x38e4
leaq -0xb0(%rbp), %rdi
callq 0x38e4
leaq -0x98(%rbp), %rdi
callq 0x38e4
leaq -0x358(%rbp), %rdi
callq 0x2050
leaq -0xc8(%rbp), %rdi
callq 0x38e4
movq %rbx, %rdi
callq 0x21b0
nop