// File: /workspace/github_cpp_makefile_star2_O2/CMU-SAFARI[P]MQSim/src/utils/Logical_Address_Partitioning_Unit.cpp
// Function: Utils::Logical_Address_Partitioning_Unit::Allocate_logical_address_for_flows(HostInterface_Types, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, std::vector<std::vector<unsigned int, std::allocator<unsigned int>>, std::allocator<std::vector<unsigned int, std::allocator<unsigned int>>>>, std::vector<std::vector<unsigned int, std::allocator<unsigned int>>, std::allocator<std::vector<unsigned int, std::allocator<unsigned int>>>>, std::vector<std::vector<unsigned int, std::allocator<unsigned int>>, std::allocator<std::vector<unsigned int, std::allocator<unsigned int>>>>, std::vector<std::vector<unsigned int, std::allocator<unsigned int>>, std::allocator<std::vector<unsigned int, std::allocator<unsigned int>>>>, unsigned int, unsigned int, unsigned int, double)
void Logical_Address_Partitioning_Unit::Allocate_logical_address_for_flows(HostInterface_Types hostinterface_type, unsigned int concurrent_stream_no,
		unsigned int channel_count, unsigned int chip_no_per_channel, unsigned int die_no_per_chip, unsigned int plane_no_per_die,
		std::vector<std::vector<flash_channel_ID_type>> stream_channel_ids, std::vector<std::vector<flash_chip_ID_type>> stream_chip_ids,
		std::vector<std::vector<flash_die_ID_type>> stream_die_ids, std::vector<std::vector<flash_plane_ID_type>> stream_plane_ids,
		unsigned int block_no_per_plane, unsigned int page_no_per_block, unsigned int sector_no_per_page, double overprovisioning_ratio) 
	{
		if (initialized) {
			return;
		}
		
		Logical_Address_Partitioning_Unit::hostinterface_type = hostinterface_type;

		Logical_Address_Partitioning_Unit::channel_count = channel_count;;
		Logical_Address_Partitioning_Unit::chip_no_per_channel = chip_no_per_channel;
		Logical_Address_Partitioning_Unit::die_no_per_chip = die_no_per_chip;
		Logical_Address_Partitioning_Unit::plane_no_per_die = plane_no_per_die;

		resource_list = new int***[channel_count];
		bool resource_sharing = false;
		for (flash_channel_ID_type channel_id = 0; channel_id < channel_count; channel_id++) {
			resource_list[channel_id] = new int**[chip_no_per_channel];
			for (flash_chip_ID_type chip_id = 0; chip_id < chip_no_per_channel; chip_id++) {
				resource_list[channel_id][chip_id] = new int*[die_no_per_chip];
				for (flash_die_ID_type die_id = 0; die_id < die_no_per_chip; die_id++) {
					resource_list[channel_id][chip_id][die_id] = new int[plane_no_per_die];
					for (flash_plane_ID_type plane_id = 0; plane_id < plane_no_per_die; plane_id++) {
						resource_list[channel_id][chip_id][die_id][plane_id] = 0;
					}
				}
			}
		}

		for (unsigned int stream_id = 0; stream_id < concurrent_stream_no; stream_id++)
		{
			for (flash_channel_ID_type channel_id = 0; channel_id < stream_channel_ids[stream_id].size(); channel_id++) {
				for (flash_chip_ID_type chip_id = 0; chip_id < stream_chip_ids[stream_id].size(); chip_id++) {
					for (flash_die_ID_type die_id = 0; die_id < stream_die_ids[stream_id].size(); die_id++) {
						for (flash_plane_ID_type plane_id = 0; plane_id < stream_plane_ids[stream_id].size(); plane_id++) {
							if (!(stream_channel_ids[stream_id][channel_id] < channel_count)) {
								PRINT_ERROR("Invalid channel ID specified for I/O flow " << stream_id);
							}

							if (!(stream_chip_ids[stream_id][chip_id] < chip_no_per_channel)) {
								PRINT_ERROR("Invalid chip ID specified for I/O flow " << stream_id);
							}

							if (!(stream_die_ids[stream_id][die_id] < die_no_per_chip)) {
								PRINT_ERROR("Invalid die ID specified for I/O flow " << stream_id);
							}

							if (!(stream_plane_ids[stream_id][plane_id] < plane_no_per_die)) {
								PRINT_ERROR("Invalid plane ID specified for I/O flow " << stream_id);
							}
							resource_list[stream_channel_ids[stream_id][channel_id]][stream_chip_ids[stream_id][chip_id]][stream_die_ids[stream_id][die_id]][stream_plane_ids[stream_id][plane_id]]++;
						}
					}
				}
			}
		}

		for (unsigned int stream_id = 0; stream_id < concurrent_stream_no; stream_id++)
		{
			std::vector<flash_channel_ID_type> channel_ids;
			Logical_Address_Partitioning_Unit::stream_channel_ids.push_back(channel_ids);
			for (flash_channel_ID_type channel_id = 0; channel_id < stream_channel_ids[stream_id].size(); channel_id++) {
				Logical_Address_Partitioning_Unit::stream_channel_ids[stream_id].push_back(stream_channel_ids[stream_id][channel_id]);
			}

			std::vector<flash_chip_ID_type> chip_ids;
			Logical_Address_Partitioning_Unit::stream_chip_ids.push_back(chip_ids);
			for (flash_chip_ID_type chip_id = 0; chip_id < stream_chip_ids[stream_id].size(); chip_id++) {
				Logical_Address_Partitioning_Unit::stream_chip_ids[stream_id].push_back(stream_chip_ids[stream_id][chip_id]);
			}

			std::vector<flash_die_ID_type> die_ids;
			Logical_Address_Partitioning_Unit::stream_die_ids.push_back(die_ids);
			for (flash_die_ID_type die_id = 0; die_id < stream_die_ids[stream_id].size(); die_id++) {
				Logical_Address_Partitioning_Unit::stream_die_ids[stream_id].push_back(stream_die_ids[stream_id][die_id]);
			}

			std::vector<flash_plane_ID_type> plane_ids;
			Logical_Address_Partitioning_Unit::stream_plane_ids.push_back(plane_ids);
			for (flash_plane_ID_type plane_id = 0; plane_id < stream_plane_ids[stream_id].size(); plane_id++) {
				Logical_Address_Partitioning_Unit::stream_plane_ids[stream_id].push_back(stream_plane_ids[stream_id][plane_id]);
			}
		}

		std::vector<LHA_type> lsa_count_per_stream;
		for (unsigned int stream_id = 0; stream_id < concurrent_stream_no; stream_id++) {
			LHA_type lsa_count = 0;
			for (flash_channel_ID_type channel_id = 0; channel_id < stream_channel_ids[stream_id].size(); channel_id++) {
				for (flash_chip_ID_type chip_id = 0; chip_id < stream_chip_ids[stream_id].size(); chip_id++) {
					for (flash_die_ID_type die_id = 0; die_id < stream_die_ids[stream_id].size(); die_id++) {
						for (flash_plane_ID_type plane_id = 0; plane_id < stream_plane_ids[stream_id].size(); plane_id++) {
							lsa_count += (LHA_type)((block_no_per_plane * page_no_per_block * sector_no_per_page * (1.0 - overprovisioning_ratio) *
								1.0 / double(resource_list[stream_channel_ids[stream_id][channel_id]][stream_chip_ids[stream_id][chip_id]][stream_die_ids[stream_id][die_id]][stream_plane_ids[stream_id][plane_id]])));
						}
					}
				}
			}
			pdas_per_flow.push_back(LHA_type(double(lsa_count) / (1.0 - overprovisioning_ratio)));
			total_pda_no += pdas_per_flow[stream_id];
			lsa_count_per_stream.push_back(lsa_count);
		}

		total_lha_no = 0;
		for (unsigned int stream_id = 0; stream_id < concurrent_stream_no; stream_id++) {
			start_lhas_per_flow.push_back(total_lha_no);
			end_lhas_per_flow.push_back(total_lha_no + lsa_count_per_stream[stream_id] - 1);
			total_lha_no += lsa_count_per_stream[stream_id];
		}

		initialized = true;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
cmpb $0x0, 0x26650(%rip)     # 0x66c94
je 0x40658
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %r9d, %ebx
movl %r8d, %r14d
movl %ecx, %r15d
movl %esi, 0x8(%rsp)
movsd %xmm0, 0xa8(%rsp)
movl %edi, 0x2661c(%rip)     # 0x66c90
movl %edx, 0x26666(%rip)     # 0x66ce0
movl %ecx, 0x26664(%rip)     # 0x66ce4
movl %r8d, 0x26661(%rip)     # 0x66ce8
movl %r9d, 0x2665e(%rip)     # 0x66cec
movl %edx, 0x38(%rsp)
movl %edx, %eax
movq %rax, 0x20(%rsp)
leaq (,%rax,8), %rdi
callq 0x7030
movq %rax, 0x2657b(%rip)     # 0x66c28
movl %r15d, %eax
movq %rax, 0x18(%rsp)
leaq (,%rax,8), %rax
movq %rax, 0x40(%rsp)
movl %r14d, %eax
movq %rax, 0x30(%rsp)
leaq (,%rax,8), %rax
movq %rax, 0x10(%rsp)
movl %ebx, 0x48(%rsp)
movl %ebx, %r12d
leaq (,%r12,4), %rax
movq %rax, 0x28(%rsp)
xorl %r13d, %r13d
cmpq 0x20(%rsp), %r13
je 0x4078b
movq 0x40(%rsp), %rdi
callq 0x7030
movq 0x2651e(%rip), %rcx     # 0x66c28
movq %rax, (%rcx,%r13,8)
xorl %ebx, %ebx
cmpq 0x18(%rsp), %rbx
je 0x40783
movq 0x10(%rsp), %rdi
callq 0x7030
movq 0x26500(%rip), %rcx     # 0x66c28
movq (%rcx,%r13,8), %rcx
movq %rax, (%rcx,%rbx,8)
xorl %ebp, %ebp
cmpq 0x30(%rsp), %rbp
je 0x4077e
movq 0x28(%rsp), %rdi
callq 0x7030
movq 0x264de(%rip), %rcx     # 0x66c28
movq (%rcx,%r13,8), %rcx
movq (%rcx,%rbx,8), %rcx
movq %rax, (%rcx,%rbp,8)
movq 0x264cb(%rip), %rax     # 0x66c28
xorl %ecx, %ecx
cmpq %rcx, %r12
je 0x40779
movq (%rax,%r13,8), %rdx
movq (%rdx,%rbx,8), %rdx
movq (%rdx,%rbp,8), %rdx
andl $0x0, (%rdx,%rcx,4)
incq %rcx
jmp 0x4075f
incq %rbp
jmp 0x40732
incq %rbx
jmp 0x40710
incq %r13
jmp 0x406ee
movl 0x8(%rsp), %eax
xorl %edx, %edx
movl 0x38(%rsp), %ecx
movq %rax, 0x10(%rsp)
cmpq %rax, %rdx
je 0x409af
movq 0x100(%rsp), %rax
movq (%rax), %rax
movq %rdx, 0x8(%rsp)
imulq $0x18, %rdx, %rdx
movq (%rax,%rdx), %rsi
movq %rdx, 0x18(%rsp)
movq 0x8(%rax,%rdx), %rax
movq %rsi, 0x30(%rsp)
subq %rsi, %rax
sarq $0x2, %rax
movq %rax, 0x40(%rsp)
xorl %esi, %esi
movl %esi, %esi
cmpq %rsi, 0x40(%rsp)
jbe 0x408f2
movq 0x108(%rsp), %rax
movq (%rax), %rax
movq 0x18(%rsp), %rdx
movq (%rax,%rdx), %rdi
movq 0x8(%rax,%rdx), %rax
subq %rdi, %rax
sarq $0x2, %rax
movq %rax, 0x20(%rsp)
xorl %r9d, %r9d
movl %r9d, %r9d
cmpq %r9, 0x20(%rsp)
jbe 0x408eb
movq 0x110(%rsp), %rax
movq (%rax), %rax
movq 0x18(%rsp), %rdx
movq (%rax,%rdx), %r10
movq 0x8(%rax,%rdx), %rax
subq %r10, %rax
sarq $0x2, %rax
movq %rax, 0x28(%rsp)
xorl %r12d, %r12d
movl %r12d, %r12d
cmpq %r12, 0x28(%rsp)
jbe 0x408e3
movq 0x118(%rsp), %rax
movq (%rax), %rax
movq 0x18(%rsp), %rdx
movq (%rax,%rdx), %rbx
movq 0x8(%rax,%rdx), %r13
subq %rbx, %r13
sarq $0x2, %r13
xorl %edx, %edx
movq 0x263ae(%rip), %r8      # 0x66c28
movl %edx, %edx
cmpq %rdx, %r13
jbe 0x408db
movq 0x30(%rsp), %rax
movl (%rax,%rsi,4), %ebp
cmpl %ecx, %ebp
jae 0x40904
movl (%rdi,%r9,4), %r11d
cmpl %r15d, %r11d
jae 0x40923
movl (%r10,%r12,4), %eax
cmpl %r14d, %eax
jae 0x40961
movl %r15d, %ecx
movl %r14d, %r15d
movl (%rbx,%rdx,4), %r14d
cmpl 0x48(%rsp), %r14d
jae 0x40942
movq (%r8,%rbp,8), %rbp
movq (%rbp,%r11,8), %r11
movq (%r11,%rax,8), %rax
incl (%rax,%r14,4)
incl %edx
movl %r15d, %r14d
movl %ecx, %r15d
movl 0x38(%rsp), %ecx
jmp 0x4087a
incl %r12d
jmp 0x40843
incl %r9d
jmp 0x4080d
incl %esi
jmp 0x407d8
movq 0x8(%rsp), %rdx
incq %rdx
movq 0x10(%rsp), %rax
jmp 0x4079a
movq 0x216e5(%rip), %rbx     # 0x61ff0
leaq 0x3c76(%rip), %rsi      # 0x44588
movq %rbx, %rdi
callq 0x7360
leaq 0x5d9a(%rip), %rsi      # 0x466bb
jmp 0x4097e
movq 0x216c6(%rip), %rbx     # 0x61ff0
leaq 0x3c57(%rip), %rsi      # 0x44588
movq %rbx, %rdi
callq 0x7360
leaq 0x5da6(%rip), %rsi      # 0x466e6
jmp 0x4097e
movq 0x216a7(%rip), %rbx     # 0x61ff0
leaq 0x3c38(%rip), %rsi      # 0x44588
movq %rbx, %rdi
callq 0x7360
leaq 0x5dd6(%rip), %rsi      # 0x46735
jmp 0x4097e
movq 0x21688(%rip), %rbx     # 0x61ff0
leaq 0x3c19(%rip), %rsi      # 0x44588
movq %rbx, %rdi
callq 0x7360
leaq 0x5d90(%rip), %rsi      # 0x4670e
movq %rbx, %rdi
callq 0x7360
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x7470
movq %rax, %rdi
callq 0x71a0
movq 0x2162e(%rip), %rdi     # 0x61fd0
callq 0x73d0
pushq $0x1
popq %rdi
callq 0x73e0
xorl %ebx, %ebx
leaq 0x70(%rsp), %r14
leaq 0x90(%rsp), %rbp
leaq 0xb0(%rsp), %r15
cmpq 0x10(%rsp), %rbx
je 0x40b8a
xorpd %xmm0, %xmm0
movapd %xmm0, 0x70(%rsp)
andq $0x0, 0x80(%rsp)
leaq 0x26245(%rip), %rdi     # 0x66c30
movq %r14, %r13
movq %r14, %rsi
callq 0x16d8c
xorl %r12d, %r12d
imulq $0x18, %rbx, %r14
movl %r12d, %r12d
movq 0x100(%rsp), %rax
movq (%rax), %rcx
movq (%rcx,%r14), %rax
movq 0x8(%rcx,%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
jbe 0x40a38
movq 0x26209(%rip), %rdi     # 0x66c30
addq %r14, %rdi
leaq (%rax,%r12,4), %rsi
callq 0x16db8
incl %r12d
jmp 0x409fd
xorpd %xmm0, %xmm0
movapd %xmm0, 0x50(%rsp)
andq $0x0, 0x60(%rsp)
leaq 0x261f9(%rip), %rdi     # 0x66c48
leaq 0x50(%rsp), %rsi
callq 0x16d8c
xorl %r12d, %r12d
movl %r12d, %r12d
movq 0x108(%rsp), %rax
movq (%rax), %rcx
movq (%rcx,%r14), %rax
movq 0x8(%rcx,%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
jbe 0x40a97
movq 0x261c2(%rip), %rdi     # 0x66c48
addq %r14, %rdi
leaq (%rax,%r12,4), %rsi
callq 0x16db8
incl %r12d
jmp 0x40a5c
xorpd %xmm0, %xmm0
movapd %xmm0, 0x90(%rsp)
andq $0x0, 0xa0(%rsp)
leaq 0x261ac(%rip), %rdi     # 0x66c60
movq %rbp, %rsi
callq 0x16d8c
xorl %r12d, %r12d
movl %r12d, %r12d
movq 0x110(%rsp), %rax
movq (%rax), %rcx
movq (%rcx,%r14), %rax
movq 0x8(%rcx,%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
jbe 0x40afa
movq 0x26177(%rip), %rdi     # 0x66c60
addq %r14, %rdi
leaq (%rax,%r12,4), %rsi
callq 0x16db8
incl %r12d
jmp 0x40abf
xorpd %xmm0, %xmm0
movapd %xmm0, 0xb0(%rsp)
andq $0x0, 0xc0(%rsp)
leaq 0x26161(%rip), %rdi     # 0x66c78
movq %r15, %rsi
callq 0x16d8c
xorl %r12d, %r12d
movl %r12d, %r12d
movq 0x118(%rsp), %rax
movq (%rax), %rcx
movq (%rcx,%r14), %rax
movq 0x8(%rcx,%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
jbe 0x40b5d
movq 0x2612c(%rip), %rdi     # 0x66c78
addq %r14, %rdi
leaq (%rax,%r12,4), %rsi
callq 0x16db8
incl %r12d
jmp 0x40b22
movq %r15, %rdi
callq 0x11edc
movq %rbp, %rdi
callq 0x11edc
leaq 0x50(%rsp), %rdi
callq 0x11edc
movq %r13, %r14
movq %r13, %rdi
callq 0x11edc
incq %rbx
jmp 0x409c6
leaq 0x70(%rsp), %rax
andq $0x0, 0x10(%rax)
xorpd %xmm0, %xmm0
movapd %xmm0, (%rax)
movl 0x128(%rsp), %eax
imull 0x130(%rsp), %eax
imull 0x120(%rsp), %eax
cvtsi2sd %rax, %xmm2
movsd 0x4f60(%rip), %xmm0     # 0x45b20
subsd 0xa8(%rsp), %xmm0
movsd %xmm0, 0x18(%rsp)
mulsd %xmm0, %xmm2
xorl %ecx, %ecx
movsd 0x2473(%rip), %xmm3     # 0x43050
movq 0x10(%rsp), %rbx
movsd %xmm2, 0x20(%rsp)
cmpq %rbx, %rcx
je 0x40dc8
andq $0x0, 0x50(%rsp)
movq 0x100(%rsp), %rax
movq (%rax), %rdx
movq %rcx, 0x28(%rsp)
imulq $0x18, %rcx, %rax
movq (%rdx,%rax), %rcx
movq 0x8(%rdx,%rax), %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
movq %rdx, 0x48(%rsp)
xorl %esi, %esi
movq 0x25fff(%rip), %rdi     # 0x66c28
xorl %r8d, %r8d
movl %r8d, %r8d
cmpq %r8, 0x48(%rsp)
jbe 0x40d2b
movq 0x108(%rsp), %rdx
movq (%rdx), %r10
movq (%r10,%rax), %r9
movq 0x8(%r10,%rax), %rdx
subq %r9, %rdx
sarq $0x2, %rdx
movq %rdx, 0x38(%rsp)
xorl %r11d, %r11d
movl %r11d, %r11d
cmpq %r11, 0x38(%rsp)
jbe 0x40d23
movq 0x110(%rsp), %rdx
movq (%rdx), %r14
movq (%r14,%rax), %rbx
movq 0x8(%r14,%rax), %rdx
subq %rbx, %rdx
sarq $0x2, %rdx
movq %rdx, 0x30(%rsp)
xorl %r15d, %r15d
movl %r15d, %r15d
cmpq %r15, 0x30(%rsp)
jbe 0x40d16
movq 0x118(%rsp), %rdx
movq (%rdx), %r13
movq (%r13,%rax), %r12
movq 0x8(%r13,%rax), %r13
subq %r12, %r13
sarq $0x2, %r13
xorl %ebp, %ebp
movl %ebp, %ebp
cmpq %rbp, %r13
jbe 0x40d0e
movl (%rcx,%r8,4), %edx
movq (%rdi,%rdx,8), %rdx
movl (%r9,%r11,4), %r10d
movq (%rdx,%r10,8), %rdx
movl (%rbx,%r15,4), %r10d
movq (%rdx,%r10,8), %rdx
movl (%r12,%rbp,4), %r10d
cvtsi2sdl (%rdx,%r10,4), %xmm0
movapd %xmm2, %xmm1
divsd %xmm0, %xmm1
cvttsd2si %xmm1, %rdx
movq %rdx, %r10
sarq $0x3f, %r10
subsd %xmm3, %xmm1
cvttsd2si %xmm1, %r14
andq %r10, %r14
orq %rdx, %r14
addq %r14, %rsi
movq %rsi, 0x50(%rsp)
incl %ebp
jmp 0x40cb6
incl %r15d
jmp 0x40c8e
incl %r11d
movq 0x10(%rsp), %rbx
jmp 0x40c5d
incl %r8d
jmp 0x40c2c
movq %rsi, %xmm0
punpckldq 0x4a98(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x4aa0(%rip), %xmm0     # 0x457e0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
divsd 0x18(%rsp), %xmm1
cvttsd2si %xmm1, %rax
movq %rax, %rcx
subsd %xmm3, %xmm1
cvttsd2si %xmm1, %rdx
sarq $0x3f, %rcx
andq %rcx, %rdx
orq %rax, %rdx
movq %rdx, 0x90(%rsp)
leaq 0x25f1c(%rip), %rdi     # 0x66c98
leaq 0x90(%rsp), %rsi
callq 0x1bfa6
movq 0x25f08(%rip), %rax     # 0x66c98
movq 0x28(%rsp), %r14
movq (%rax,%r14,8), %rax
addq %rax, 0x25f50(%rip)     # 0x66cf0
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x26538
incq %r14
movsd 0x20(%rsp), %xmm2
movq %r14, %rcx
movsd 0x228d(%rip), %xmm3     # 0x43050
jmp 0x40be8
andq $0x0, 0x25f28(%rip)     # 0x66cf8
xorl %r13d, %r13d
leaq 0x25ed6(%rip), %rbx     # 0x66cb0
leaq 0x25f17(%rip), %r14     # 0x66cf8
leaq 0x25ee0(%rip), %r15     # 0x66cc8
leaq 0x50(%rsp), %r12
cmpq %r13, 0x10(%rsp)
je 0x40e3a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x26538
movq 0x25ef2(%rip), %rax     # 0x66cf8
movq 0x70(%rsp), %rcx
movq (%rcx,%r13,8), %rcx
addq %rcx, %rax
decq %rax
movq %rax, 0x50(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x1bfa6
movq 0x70(%rsp), %rax
movq (%rax,%r13,8), %rax
addq %rax, 0x25ec3(%rip)     # 0x66cf8
incq %r13
jmp 0x40ded
movb $0x1, 0x25e53(%rip)     # 0x66c94
leaq 0x70(%rsp), %rdi
callq 0x11f7a
jmp 0x40646
jmp 0x40e58
jmp 0x40e58
jmp 0x40e6d
jmp 0x40e58
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x11f7a
jmp 0x40ead
jmp 0x40e7f
jmp 0x40e91
jmp 0x40ea0
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x11edc
jmp 0x40e82
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x11edc
jmp 0x40e94
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x11edc
jmp 0x40ea3
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x11edc
movq %rbx, %rdi
callq 0x75d0
nop