// File: /workspace/github_cpp_makefile_star2_O3/ChnMasterOG[P]KmerGO2/kmergo/kmer_filtering.cpp
// Function: continuous_feature_filtering(unsigned short, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, KmerGO_parameters)
void continuous_feature_filtering(uint16_t Nprocess, std::vector<std::string> files_vec, KmerGO_parameters p)
{
	std::string line, kmer;
	std::string input_file_name = files_vec[Nprocess];
	std::string onput_file_name_l = joinPath(p.features_path, "continuous_l_" + std::to_string(Nprocess) + ".txt");
	std::string onput_file_name_n = joinPath(p.features_path, "continuous_n_" + std::to_string(Nprocess) + ".txt");
	std::ifstream input_file(input_file_name);
	std::ofstream output_file_l(onput_file_name_l);
	std::ofstream output_file_n(onput_file_name_n);
	std::vector<std::string> head_value;
	std::vector<bool> sample_valid;
	std::string::size_type position;

	/* read head text and set labels */
	std::getline(input_file, line);
	mtx.lock();
	progress += line.size() + 1;	// update progress
	mtx.unlock();
	output_file_l << line << "\tP\n";	// write logical file head text
	output_file_n << line << "\tP\tCorr\n";	// write numerical file head text
	position = line.find("\t");
	line = line.substr(position + 1);	// remove string "k-mer"
	position = line.find("\t");
	while (position != line.npos)
	{
		std::string sample_name = line.substr(0, position);
		head_value.push_back(sample_name);
		if (p.trait_information_map.find(sample_name) != p.trait_information_map.end()) sample_valid.push_back(true);
		else sample_valid.push_back(false);
		line = line.substr(position + 1);
		position = line.find("\t");
	}
	head_value.push_back(line);
	if (p.trait_information_map.find(line) != p.trait_information_map.end()) sample_valid.push_back(true);
	else sample_valid.push_back(false);

	/* filtering */
	while (std::getline(input_file, line))
	{
		std::string src_line(line);
		position = line.find("\t");
		line = line.substr(position + 1);	// remove first k-mer
		position = line.find("\t");
		std::vector<float> group1, group2, kmer_fre;
		int cnt = 0;
		while (position != line.npos)
		{
			std::string value_str = line.substr(0, position);
			float value_float = std::stof(value_str);
			/* logical filtering */
			if (sample_valid[cnt] == true)		// existence
			{
				kmer_fre.push_back(value_float);
				if (value_float == 0) group1.push_back(std::stof(p.trait_information_map[head_value[cnt]]));
				else group2.push_back(std::stof(p.trait_information_map[head_value[cnt]]));
			}
			line = line.substr(position + 1);
			position = line.find("\t");
			++cnt;
		}
		/* calculation */
		float pValue = ranksums(group1, group2);
		if (pValue < p.p_value)
		{
			output_file_l << src_line << '\t' << std::to_string(pValue) << '\n';
		}
		else
		{
			std::vector<float> group;
			group.insert(group.end(), group1.begin(), group1.end());
			group.insert(group.end(), group2.begin(), group2.end());
			float corr = spearman_correlation_coefficient(kmer_fre, group);	// calculate spearman correlation
			if (corr >= p.corr_vaule)
			{
				output_file_n << src_line << '\t' << std::to_string(pValue) << '\t' << std::to_string(corr) << '\n';
			}
		}
		mtx.lock();
		progress += src_line.size() + 1;	// update progress
		mtx.unlock();
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x8a8, %rsp            # imm = 0x8A8
movq %rdx, %r14
movl %edi, %ebx
leaq 0x68(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x1a0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq (%rsi), %rax
movl %edi, %ecx
shll $0x5, %ecx
leaq 0x130(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
addq %rsi, %rdx
leaq 0x120(%rsp), %rdi
callq 0x408000
leaq 0x238(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x80(%r14), %rsi
movq %r14, 0x78(%rsp)
movq 0x88(%r14), %rdx
addq %rsi, %rdx
leaq 0x228(%rsp), %rdi
callq 0x408000
movzwl %bx, %ebp
movl $0x1, %r14d
cmpw $0xa, %bp
jb 0x40e5a4
movl $0x2, %r14d
cmpw $0x64, %bx
jb 0x40e5a4
movl $0x3, %r14d
cmpl $0x3e8, %ebp            # imm = 0x3E8
jb 0x40e5a4
cmpl $0x2710, %ebp           # imm = 0x2710
movl $0x5, %r14d
sbbl $0x0, %r14d
movl %r14d, %esi
leaq 0x4b8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x4a8(%rsp), %rdi
movl $0x2d, %edx
callq 0x48b4d0
leaq 0x4a8(%rsp), %r15
movq (%r15), %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x407f93
leaq 0x193f40(%rip), %rcx    # 0x5a2522
movl $0xd, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x48cb60
leaq 0x2b0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x40e624
movq %rdx, 0x2a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x2b0(%rsp)
jmp 0x40e62b
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x2a0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x193c6b(%rip), %rsi    # 0x5a22bc
callq 0x48d320
leaq 0x1f8(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x40e686
movq %rdx, 0x1e8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1f8(%rsp)
jmp 0x40e68d
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rsi
leaq 0x1e8(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x280(%rsp), %rdi
leaq 0x228(%rsp), %rsi
callq 0x407aca
movq 0x1e8(%rsp), %rdi
cmpq %r14, %rdi
je 0x40e6de
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x2a0(%rsp), %rdi
cmpq %r15, %rdi
je 0x40e6fb
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x4a8(%rsp), %rdi
cmpq %r12, %rdi
je 0x40e718
movq 0x4b8(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x228(%rsp), %rdi
cmpq %r13, %rdi
je 0x40e735
movq 0x238(%rsp), %rsi
incq %rsi
callq 0x41ae90
leaq 0x218(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x78(%rsp), %rax
movq 0x80(%rax), %rsi
movq 0x88(%rax), %rdx
addq %rsi, %rdx
leaq 0x208(%rsp), %rdi
callq 0x408000
movl $0x1, %r14d
cmpw $0xa, %bx
jb 0x40e79a
movl $0x2, %r14d
cmpw $0x64, %bx
jb 0x40e79a
movl $0x3, %r14d
cmpl $0x3e8, %ebp            # imm = 0x3E8
jb 0x40e79a
cmpl $0x2710, %ebp           # imm = 0x2710
movl $0x5, %r14d
sbbl $0x0, %r14d
movl %r14d, %esi
leaq 0x4a8(%rsp), %rdi
movq %r12, (%rdi)
movl $0x2d, %edx
callq 0x48b4d0
leaq 0x4a8(%rsp), %rbx
movq (%rbx), %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x407f93
leaq 0x193d62(%rip), %rcx    # 0x5a2530
movl $0xd, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x48cb60
movq %r15, 0x2a0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x40e80c
movq %rdx, 0x2a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x2b0(%rsp)
jmp 0x40e813
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x2a0(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x193a83(%rip), %rsi    # 0x5a22bc
callq 0x48d320
leaq 0x1d8(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x40e86e
movq %rdx, 0x1c8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1d8(%rsp)
jmp 0x40e875
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rsi
leaq 0x1c8(%rsp), %rdx
movq %rsi, 0x8(%rdx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x260(%rsp), %rdi
leaq 0x208(%rsp), %rsi
callq 0x407aca
movq 0x1c8(%rsp), %rdi
cmpq %r14, %rdi
je 0x40e8c6
movq 0x1d8(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x2a0(%rsp), %rdi
cmpq %r15, %rdi
je 0x40e8e3
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x4a8(%rsp), %rdi
cmpq %r12, %rdi
je 0x40e900
movq 0x4b8(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x208(%rsp), %rdi
cmpq %r13, %rdi
je 0x40e91d
movq 0x218(%rsp), %rsi
incq %rsi
callq 0x41ae90
leaq 0x2a0(%rsp), %rbx
leaq 0x120(%rsp), %rsi
movq %rbx, %rdi
movl $0x8, %edx
callq 0x461c60
leaq 0x4a8(%rsp), %rdi
leaq 0x280(%rsp), %rsi
movl $0x10, %edx
callq 0x461dd0
leaq 0x6a8(%rsp), %rdi
leaq 0x260(%rsp), %rsi
movl $0x10, %edx
callq 0x461dd0
xorps %xmm0, %xmm0
movaps %xmm0, 0x170(%rsp)
xorl %eax, %eax
movq %rax, 0x180(%rsp)
movq %rax, 0x148(%rsp)
movl %eax, 0x150(%rsp)
movq %rax, 0x158(%rsp)
movl %eax, 0x160(%rsp)
movq %rax, 0x168(%rsp)
movq 0x2a0(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x4663c0
movsbl %al, %edx
leaq 0x2a0(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x41d090
leaq 0x20cd4a(%rip), %rdi    # 0x61b728
callq 0x4fb7a0
testl %eax, %eax
jne 0x40f541
movq 0x60(%rsp), %rax
movq 0x20cd21(%rip), %rcx    # 0x61b718
addq %rcx, %rax
incq %rax
movq %rax, 0x20cd14(%rip)    # 0x61b718
leaq 0x20cd1d(%rip), %rdi    # 0x61b728
callq 0x4fc680
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
leaq 0x4a8(%rsp), %rdi
callq 0x485270
leaq 0x193b10(%rip), %rsi    # 0x5a253e
movl $0x3, %edx
movq %rax, %rdi
callq 0x485270
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
leaq 0x6a8(%rsp), %rdi
callq 0x485270
leaq 0x193ae9(%rip), %rsi    # 0x5a2542
movl $0x8, %edx
movq %rax, %rdi
callq 0x485270
leaq 0x193ab3(%rip), %rsi    # 0x5a2520
leaq 0x58(%rsp), %rbx
movl $0x1, %ecx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x48d5e0
leaq 0x1(%rax), %rdx
leaq 0x30(%rsp), %rdi
movq %rbx, %rsi
movq $-0x1, %rcx
callq 0x48e3a0
leaq 0x58(%rsp), %rdi
leaq 0x30(%rsp), %rbx
movq %rbx, %rsi
callq 0x48bbc0
movq (%rbx), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x40eac5
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x41ae90
leaq 0x193a54(%rip), %rsi    # 0x5a2520
leaq 0x58(%rsp), %rdi
movl $0x1, %ecx
xorl %edx, %edx
callq 0x48d5e0
cmpq $-0x1, %rax
je 0x40ebcb
movq %rax, %r13
movq 0x78(%rsp), %rax
leaq 0x158(%rax), %rbx
leaq 0x160(%rax), %r12
leaq 0x30(%rsp), %r14
leaq 0x58(%rsp), %r15
leaq 0x8(%rsp), %rbp
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
movq %r13, %rcx
callq 0x48e3a0
leaq 0x170(%rsp), %rdi
movq %r14, %rsi
callq 0x40aee0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x410070
xorl %esi, %esi
cmpq %r12, %rax
setne %sil
leaq 0x148(%rsp), %rdi
callq 0x40fed4
incq %r13
movq %rbp, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq $-0x1, %rcx
callq 0x48e3a0
movq %r15, %rdi
movq %rbp, %rsi
callq 0x48bbc0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x40eb8c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x41ae90
movl $0x1, %ecx
movq %r15, %rdi
leaq 0x193985(%rip), %rsi    # 0x5a2520
xorl %edx, %edx
callq 0x48d5e0
movq %rax, %r13
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x40ebc1
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x41ae90
cmpq $-0x1, %r13
jne 0x40eb0c
leaq 0x170(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x40aee0
movq 0x78(%rsp), %r15
leaq 0x158(%r15), %rdi
leaq 0x58(%rsp), %rsi
movq %rdi, 0x140(%rsp)
callq 0x410070
leaq 0x160(%r15), %rcx
xorl %esi, %esi
cmpq %rcx, %rax
setne %sil
leaq 0x148(%rsp), %rdi
callq 0x40fed4
leaq 0x58(%rsp), %r13
leaq 0x8(%rsp), %r12
leaq 0xc0(%rsp), %rbp
leaq 0x2a0(%rsp), %rbx
movq 0x2a0(%rsp), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x4663c0
movsbl %al, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x41d090
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x40f393
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x408000
movl $0x1, %ecx
movq %r13, %rdi
leaq 0x193885(%rip), %rsi    # 0x5a2520
xorl %edx, %edx
callq 0x48d5e0
leaq 0x1(%rax), %rdx
movq %r12, %rdi
movq %r13, %rsi
movq $-0x1, %rcx
callq 0x48e3a0
movq %r13, %rdi
movq %r12, %rsi
callq 0x48bbc0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x40ecdf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x41ae90
movl $0x1, %ecx
movq %r13, %rdi
leaq 0x193832(%rip), %rsi    # 0x5a2520
xorl %edx, %edx
callq 0x48d5e0
movq %rax, %r14
xorl %eax, %eax
movq %rax, 0xb0(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
movq %rax, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movq %rax, 0x110(%rsp)
movaps %xmm0, 0x100(%rsp)
cmpq $-0x1, %r14
je 0x40efe5
movq $0x0, 0x28(%rsp)
xorl %ebx, %ebx
leaq 0x8(%rsp), %rdi
movq %r13, %rsi
xorl %edx, %edx
movq %r14, %rcx
callq 0x48e3a0
movq 0x8(%rsp), %r15
callq 0x4c4e20
movq %rax, %r13
movq %rbp, %rsi
movl (%rax), %ebp
movl $0x0, (%rax)
movq %r15, %rdi
movq %rsi, %r12
callq 0x4dc350
cmpq %r15, 0xc0(%rsp)
je 0x40f4f2
movl (%r13), %eax
testl %eax, %eax
je 0x40ed97
cmpl $0x22, %eax
jne 0x40ed9b
jmp 0x40f4fe
movl %ebp, (%r13)
movss %xmm0, 0xe0(%rsp)
movq 0x148(%rsp), %rax
movl %ebx, %ecx
shrl $0x6, %ecx
movq (%rax,%rcx,8), %rax
btq %rbx, %rax
movq %r12, %rbp
jae 0x40ef2f
movq 0x108(%rsp), %rsi
cmpq 0x110(%rsp), %rsi
je 0x40ede6
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x108(%rsp)
jmp 0x40edfb
leaq 0x100(%rsp), %rdi
leaq 0xe0(%rsp), %rdx
callq 0x4101ee
movss 0xe0(%rsp), %xmm0
ucomiss 0x1936d1(%rip), %xmm0   # 0x5a24dc
jne 0x40ee63
jp 0x40ee63
movq 0x170(%rsp), %rsi
addq 0x28(%rsp), %rsi
movq 0x140(%rsp), %rdi
callq 0x40addc
movq (%rax), %r15
movq %rbp, %rsi
movl (%r13), %ebp
movl $0x0, (%r13)
movq %r15, %rdi
callq 0x4dc350
cmpq %r15, 0xc0(%rsp)
je 0x40f50a
movl (%r13), %eax
testl %eax, %eax
je 0x40eeb7
cmpl $0x22, %eax
jne 0x40eebb
jmp 0x40f522
movq 0x170(%rsp), %rsi
addq 0x28(%rsp), %rsi
movq 0x140(%rsp), %rdi
callq 0x40addc
movq (%rax), %r15
movq %rbp, %rsi
movl (%r13), %ebp
movl $0x0, (%r13)
movq %r15, %rdi
callq 0x4dc350
cmpq %r15, 0xc0(%rsp)
je 0x40f516
movl (%r13), %eax
testl %eax, %eax
je 0x40eefc
cmpl $0x22, %eax
jne 0x40ef00
jmp 0x40f52e
movl %ebp, (%r13)
movss %xmm0, 0x4(%rsp)
movq 0xa8(%rsp), %rsi
cmpq 0xb0(%rsp), %rsi
je 0x40eee5
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xa8(%rsp)
jmp 0x40ef2c
leaq 0xa0(%rsp), %rdi
leaq 0x4(%rsp), %rdx
callq 0x40ba5c
movq %r12, %rbp
jmp 0x40ef2f
movl %ebp, (%r13)
movss %xmm0, 0x4(%rsp)
movq 0x88(%rsp), %rsi
cmpq 0x90(%rsp), %rsi
je 0x40efcb
movss %xmm0, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x88(%rsp)
movq %r12, %rbp
incq %r14
movq %rbp, %rdi
leaq 0x58(%rsp), %r13
movq %r13, %rsi
movq %r14, %rdx
movq $-0x1, %rcx
callq 0x48e3a0
movq %r13, %rdi
movq %rbp, %rsi
callq 0x48bbc0
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x40ef7c
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x41ae90
movl $0x1, %ecx
movq %r13, %rdi
leaq 0x193595(%rip), %rsi    # 0x5a2520
xorl %edx, %edx
callq 0x48d5e0
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
movq 0x78(%rsp), %r15
je 0x40efb6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x41ae90
addq $0x20, 0x28(%rsp)
incq %rbx
cmpq $-0x1, %r14
jne 0x40ed42
jmp 0x40efe5
leaq 0x80(%rsp), %rdi
leaq 0x4(%rsp), %rdx
callq 0x40ba5c
movq %r12, %rbp
jmp 0x40ef2f
leaq 0xa0(%rsp), %rdi
leaq 0x80(%rsp), %rsi
callq 0x419cd5
movss %xmm0, 0x28(%rsp)
leaq 0x8(%rsp), %r12
movss 0x14(%r15), %xmm0
ucomiss 0x28(%rsp), %xmm0
jbe 0x40f0bc
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
leaq 0x4a8(%rsp), %rdi
callq 0x485270
movb $0x9, 0x8(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x485270
movq %rax, %r14
xorps %xmm0, %xmm0
cvtss2sd 0x28(%rsp), %xmm0
movl $0x3a, %edx
movq %r12, %rdi
movq $0x4f2d20, %rsi         # imm = 0x4F2D20
leaq 0x1b7f48(%rip), %rcx    # 0x5c6fac
movb $0x1, %al
callq 0x40ffbe
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x485270
movb $0xa, 0xc0(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x485270
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
leaq 0x20c67f(%rip), %rbx    # 0x61b728
je 0x40f2e6
movq 0x18(%rsp), %rsi
incq %rsi
jmp 0x40f2e1
xorps %xmm0, %xmm0
movaps %xmm0, 0xe0(%rsp)
movq $0x0, 0xf0(%rsp)
movq 0xa0(%rsp), %rdx
movq 0xa8(%rsp), %rcx
leaq 0xe0(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x4109a6
movq 0xe8(%rsp), %rsi
movq 0x80(%rsp), %rdx
movq 0x88(%rsp), %rcx
movq %rbx, %rdi
callq 0x4109a6
leaq 0x1b0(%rsp), %rdi
leaq 0x100(%rsp), %rsi
callq 0x40bdce
leaq 0x248(%rsp), %rbx
movq %rbx, %rdi
leaq 0xe0(%rsp), %rsi
callq 0x40bdce
leaq 0x1b0(%rsp), %rdi
movq %rbx, %rsi
callq 0x419eef
movss %xmm0, 0x54(%rsp)
movq 0x248(%rsp), %rdi
testq %rdi, %rdi
leaq 0x20c5be(%rip), %rbx    # 0x61b728
je 0x40f17c
movq 0x258(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
movq 0x1b0(%rsp), %rdi
testq %rdi, %rdi
je 0x40f199
movq 0x1c0(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
movss 0x54(%rsp), %xmm0
ucomiss 0x1c(%r15), %xmm0
jb 0x40f2c9
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
leaq 0x6a8(%rsp), %rdi
callq 0x485270
movb $0x9, 0x8(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x485270
movq %rax, %r14
xorps %xmm0, %xmm0
cvtss2sd 0x28(%rsp), %xmm0
movl $0x3a, %edx
movq %r12, %rdi
movq $0x4f2d20, %rsi         # imm = 0x4F2D20
leaq 0x1b7db4(%rip), %rcx    # 0x5c6fac
movb $0x1, %al
callq 0x40ffbe
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x485270
movb $0x9, 0xc0(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %rbp, %rsi
callq 0x485270
movq %rax, %r14
xorps %xmm0, %xmm0
cvtss2sd 0x54(%rsp), %xmm0
movl $0x3a, %edx
movq %rbp, %rdi
movq $0x4f2d20, %rsi         # imm = 0x4F2D20
leaq 0x1b7d61(%rip), %rcx    # 0x5c6fac
movb $0x1, %al
callq 0x40ffbe
movq 0xc0(%rsp), %rsi
movq 0xc8(%rsp), %rdx
movq %r14, %rdi
callq 0x485270
movb $0xa, 0x4(%rsp)
movl $0x1, %edx
movq %rax, %rdi
leaq 0x4(%rsp), %rsi
callq 0x485270
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
leaq 0x20c48d(%rip), %rbx    # 0x61b728
je 0x40f2ad
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x40f2c9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x40f2e6
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
movq %rbx, %rdi
callq 0x4fb7a0
testl %eax, %eax
jne 0x40f53a
movq 0x38(%rsp), %rax
movq 0x20c416(%rip), %rcx    # 0x61b718
addq %rcx, %rax
incq %rax
movq %rax, 0x20c409(%rip)    # 0x61b718
movq %rbx, %rdi
callq 0x4fc680
movq 0x100(%rsp), %rdi
testq %rdi, %rdi
je 0x40f334
movq 0x110(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x40f351
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x40f36e
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x40ec2a
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x41ae90
jmp 0x40ec2a
movq 0x148(%rsp), %rdi
testq %rdi, %rdi
je 0x40f3b0
movq 0x168(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
leaq 0x170(%rsp), %rdi
callq 0x407c2a
movq $0x614fe8, %rax         # imm = 0x614FE8
movq (%rax), %rbx
movq 0x18(%rax), %r14
leaq 0x6b0(%rsp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, 0x6a8(%rsp,%rax)
callq 0x4608b0
movl $0xf8, %r15d
leaq 0x6a8(%rsp), %rdi
addq %r15, %rdi
callq 0x4677e0
leaq 0x4b0(%rsp), %rdi
movq %rbx, -0x8(%rdi)
movq -0x18(%rbx), %rax
movq %r14, 0x4a8(%rsp,%rax)
callq 0x4608b0
leaq 0x4a8(%rsp), %rdi
addq %r15, %rdi
callq 0x4677e0
leaq 0x2a0(%rsp), %rdi
callq 0x462990
leaq 0x270(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40f459
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x41ae90
leaq 0x290(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40f47a
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x40f49f
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x190(%rsp), %rdi
leaq 0x1a0(%rsp), %rax
cmpq %rax, %rdi
je 0x40f4c4
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x40f4e0
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x41ae90
addq $0x8a8, %rsp            # imm = 0x8A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x193052(%rip), %rdi    # 0x5a254b
callq 0x402ab8
leaq 0x193046(%rip), %rdi    # 0x5a254b
callq 0x402b68
leaq 0x19303a(%rip), %rdi    # 0x5a254b
callq 0x402ab8
leaq 0x19302e(%rip), %rdi    # 0x5a254b
callq 0x402ab8
leaq 0x193022(%rip), %rdi    # 0x5a254b
callq 0x402b68
leaq 0x193016(%rip), %rdi    # 0x5a254b
callq 0x402b68
movl %eax, %edi
callq 0x402db7
movl %eax, %edi
callq 0x402db7
jmp 0x40f767
jmp 0x40f767
movq %rax, %rbx
jmp 0x40f874
movq %rax, %rbx
jmp 0x40f881
movq %rax, %rbx
jmp 0x40f88e
movq %rax, %rbx
movq 0x1c8(%rsp), %rdi
cmpq %r14, %rdi
je 0x40f58f
movq 0x1d8(%rsp), %rsi
incq %rsi
callq 0x41ae90
jmp 0x40f58f
movq %rax, %rbx
movq 0x2a0(%rsp), %rdi
cmpq %r15, %rdi
je 0x40f5b1
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x41ae90
jmp 0x40f5b1
movq %rax, %rbx
movq 0x4a8(%rsp), %rdi
cmpq %r12, %rdi
je 0x40f5d3
movq 0x4b8(%rsp), %rsi
incq %rsi
callq 0x41ae90
jmp 0x40f5d3
movq %rax, %rbx
movq 0x208(%rsp), %rdi
cmpq %r13, %rdi
je 0x40f8af
movq 0x218(%rsp), %rsi
jmp 0x40f8a7
movq %rax, %rbx
jmp 0x40f8af
movq %rax, %rbx
movq 0x1e8(%rsp), %rdi
cmpq %r14, %rdi
je 0x40f61e
movq 0x1f8(%rsp), %rsi
incq %rsi
callq 0x41ae90
jmp 0x40f61e
movq %rax, %rbx
movq 0x2a0(%rsp), %rdi
cmpq %r15, %rdi
je 0x40f640
movq 0x2b0(%rsp), %rsi
incq %rsi
callq 0x41ae90
jmp 0x40f640
movq %rax, %rbx
movq 0x4a8(%rsp), %rdi
cmpq %r12, %rdi
je 0x40f662
movq 0x4b8(%rsp), %rsi
incq %rsi
callq 0x41ae90
jmp 0x40f662
movq %rax, %rbx
movq 0x228(%rsp), %rdi
cmpq %r13, %rdi
je 0x40f8d0
movq 0x238(%rsp), %rsi
jmp 0x40f8c8
movq %rax, %rbx
jmp 0x40f8d0
movq %rax, %rbx
jmp 0x40f8f5
jmp 0x40f6a1
jmp 0x40f73c
jmp 0x40f767
jmp 0x40f73c
movq %rax, %rbx
jmp 0x40f712
movq %rax, %rbx
jmp 0x40f6d0
jmp 0x40f73c
movq %rax, %rbx
movq 0x248(%rsp), %rdi
testq %rdi, %rdi
je 0x40f6d0
movq 0x258(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
movq 0x1b0(%rsp), %rdi
testq %rdi, %rdi
je 0x40f73f
movq 0x1c0(%rsp), %rsi
subq %rdi, %rsi
jmp 0x40f729
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x40f712
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x40f73f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x41ae90
jmp 0x40f73f
jmp 0x40f77e
jmp 0x40f767
jmp 0x40f75d
jmp 0x40f75d
jmp 0x40f77e
jmp 0x40f779
movq %rax, %rbx
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x40f7ad
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
jmp 0x40f7a8
jmp 0x40f767
jmp 0x40f75d
movq %rax, %rbx
jmp 0x40f804
jmp 0x40f77e
movq %rax, %rbx
jmp 0x40f820
jmp 0x40f779
jmp 0x40f779
jmp 0x40f783
jmp 0x40f779
jmp 0x40f783
movq %rax, %rbx
jmp 0x40f791
movq %rax, %rbx
jmp 0x40f7ad
movq %rax, %rbx
cmpl $0x0, (%r13)
jne 0x40f791
movl %ebp, (%r13)
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x40f7ad
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x100(%rsp), %rdi
testq %rdi, %rdi
je 0x40f7ca
movq 0x110(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x40f7e7
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x40f804
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x40f820
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x148(%rsp), %rdi
testq %rdi, %rdi
je 0x40f85a
movq 0x168(%rsp), %rsi
subq %rdi, %rsi
callq 0x41ae90
xorl %eax, %eax
movq %rax, 0x148(%rsp)
movl $0x0, 0x150(%rsp)
movq %rax, 0x158(%rsp)
leaq 0x170(%rsp), %rdi
callq 0x407c2a
leaq 0x6a8(%rsp), %rdi
callq 0x462850
leaq 0x4a8(%rsp), %rdi
callq 0x462850
leaq 0x2a0(%rsp), %rdi
callq 0x462990
leaq 0x270(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40f8af
movq 0x270(%rsp), %rsi
incq %rsi
callq 0x41ae90
leaq 0x290(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x40f8d0
movq 0x290(%rsp), %rsi
incq %rsi
callq 0x41ae90
leaq 0x130(%rsp), %rax
movq 0x120(%rsp), %rdi
cmpq %rax, %rdi
je 0x40f8f5
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x41ae90
leaq 0x1a0(%rsp), %rax
movq 0x190(%rsp), %rdi
cmpq %rax, %rdi
je 0x40f91a
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x40f936
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x41ae90
movq %rbx, %rdi
callq 0x4bfce0