// File: /workspace/github_cpp_makefile_star2_O3/fukunagatsu[P]LogicomeProfiler/logicome_profiler.cpp
// Function: LogicomeProfiler::CalcPVForFDR()
void LogicomeProfiler::CalcPVForFDR(){
  int N = _number_of_samples;
  long long int count = 0;
  long long int ne = _number_of_elements;
  long long int max_size_count = 4*ne*(ne-1)*(ne-2);
  long long int ignored_count[3] = {0};
  double threshold = _alpha;
  _fdr_result_vector.reserve(3);
  
  for(int i = 0; i < 3; i++){
    vector<Node> temp_vector; temp_vector.reserve(10000);
    _fdr_result_vector.push_back(temp_vector);
  }
  for(int c = 0; c < _number_of_elements; c++){
    for(int a = 0; a < _number_of_elements; a++){
      if(a!=c){
	for(int b = 0; b < _number_of_elements; b++){
	  if(b!=a && b!=c){
	    for(int l = 1; l <=6; l++){
	      if(l>=5 || a < b){
		count++;
		int x = _logic_occurrence_tensor[a][b][l];
		int y = _count_vector[c];
		int z = CountLogicOccurrence(a,b,c,l);
		double prob[3] = {0.0}; 
		prob[0] = CalcProb(x,y,z,N,threshold);
		CalcProbSecondCondition(a,b,c,l,threshold,prob[1],prob[2]);

		for(int i = 0; i < 3; i++){
		  double temp = (double)max_size_count*log(max_size_count)/(max_size_count - ignored_count[i]);		 
		  if(prob[i]*temp < threshold){
		    Node new_node(a,b,c,l,prob[i]);
		    _fdr_result_vector[i].push_back(new_node);
		    
		  }else{
		    ignored_count[i]++;
		  }
		}

		if(count%1000000 == 0){
		  cout << count<< "/" << max_size_count << " " << _fdr_result_vector[0].size() << " " << _fdr_result_vector[1].size()
		       << " " << _fdr_result_vector[2].size()<< endl;
		}
	      }
	    }
	  }
	}
      }
    }
  }
  
  for(int i = 0 ; i < 3; i++){
    sort(_fdr_result_vector[i].begin(), _fdr_result_vector[i].end(), compare_node);
    
    long long int denominator = _fdr_result_vector[i].size();
    double prev_qv = 100;
    for(vector<Node>::iterator it = _fdr_result_vector[i].begin(); it != _fdr_result_vector[i].end(); ++it){
      it->pv = min(prev_qv, it->pv*((double)max_size_count*log(max_size_count)/denominator));
      prev_qv = it->pv;
      denominator--;
    }

    bool break_flag = false;
    for(vector<Node>::iterator it = _fdr_result_vector[i].begin(); it != _fdr_result_vector[i].end(); ++it){
      if(it->pv < threshold){
	_fdr_result_vector[i].erase(_fdr_result_vector[i].begin(),it);
	_fdr_result_vector[i].shrink_to_fit();
	break_flag = true;
	break;
      }
    }
    if(!break_flag){
      _fdr_result_vector[i].clear();
      _fdr_result_vector[i].shrink_to_fit();
    }
    cout << _fdr_result_vector[i].size() << endl;
  }
  _fdr_result_map.resize(2);
  for(int i = 1; i < 3; i++){
    for(vector<Node>::iterator it = _fdr_result_vector[i].begin(); it != _fdr_result_vector[i].end(); ++it){
      string temp_string = to_string(it->a)+" "+to_string(it->b)+" "+to_string(it->c)+" "+to_string(it->l);
      _fdr_result_map[i-1].insert(make_pair(temp_string,it->pv));
    }
    _fdr_result_vector[i].clear();
    _fdr_result_vector[i].shrink_to_fit();
  }
  

  ofstream ofs(_output_file_name.c_str());
  ofs << "significance_level " << threshold << endl;
  ofs << "Logic_formula Qv_of_condition_a Qv_of_condition_b Qv_of_condition_c Logic_type"<< endl;
  for(vector<Node>::iterator it = _fdr_result_vector[0].begin(); it != _fdr_result_vector[0].end(); ++it){
    string temp_string = to_string(it->a)+" "+to_string(it->b)+" "+to_string(it->c)+" "+to_string(it->l);
    if(_fdr_result_map[0].find(temp_string) != _fdr_result_map[0].end()
       && _fdr_result_map[1].find(temp_string) != _fdr_result_map[1].end()){
      
      ofs << _name_vector[it->c] << "=" << _name_vector[it->a] << "," << _name_vector[it->b] << " " << it->pv << " "<< _fdr_result_map[0][temp_string] << " "<< _fdr_result_map[1][temp_string] << " " << it->l << endl;
    }
  }
  ofs.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3a8, %rsp            # imm = 0x3A8
movl 0x100(%rdi), %eax
movl %eax, 0x158(%rsp)
movslq 0x104(%rdi), %r15
leaq -0x1(%r15), %rax
imulq %r15, %rax
addq $-0x2, %r15
imulq %rax, %r15
shlq $0x2, %r15
xorps %xmm0, %xmm0
movaps %xmm0, 0x180(%rsp)
movq $0x0, 0x190(%rsp)
movsd 0x108(%rdi), %xmm0
movsd %xmm0, 0x108(%rsp)
movq %rdi, 0x30(%rsp)
addq $0x60, %rdi
movl $0x3, %esi
movq %rdi, 0x40(%rsp)
callq 0x5d5c
movl $0x3, %ebp
leaq 0x1a0(%rsp), %rbx
xorpd %xmm0, %xmm0
movapd %xmm0, 0x1a0(%rsp)
movq $0x0, 0x1b0(%rsp)
movl $0x2710, %esi           # imm = 0x2710
movq %rbx, %rdi
callq 0x5e30
movq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x5eee
movq 0x1a0(%rsp), %rdi
testq %rdi, %rdi
je 0x37db
callq 0x21f0
decl %ebp
jne 0x3796
movq 0x30(%rsp), %rax
movl 0x104(%rax), %eax
testl %eax, %eax
jle 0x3ba6
xorps %xmm0, %xmm0
cvtsi2sd %r15, %xmm0
movsd %xmm0, 0x8(%rsp)
movq $0x0, (%rsp)
movq $0x0, 0x38(%rsp)
testl %eax, %eax
jle 0x3b8d
xorl %ebp, %ebp
cmpq (%rsp), %rbp
je 0x3b7e
testl %eax, %eax
jle 0x3b7e
xorl %r14d, %r14d
cmpq %rbp, %r14
sete %cl
cmpq (%rsp), %r14
sete %dl
orb %cl, %dl
jne 0x3b6f
movl $0x1, %r13d
cmpq %r14, %rbp
setae %al
cmpq $0x5, %r13
setb %cl
testb %cl, %al
jne 0x3b57
leaq (,%rbp,2), %rax
addq %rbp, %rax
movq 0x30(%rsp), %rbx
movq (%rbx), %rcx
movq 0x30(%rbx), %rdx
movq (%rcx,%rax,8), %rax
leaq (%r14,%r14,2), %rcx
movq (%rax,%rcx,8), %rax
movl (%rax,%r13,4), %eax
movl %eax, 0x150(%rsp)
movq (%rsp), %r12
movl (%rdx,%r12,4), %eax
movl %eax, 0x15c(%rsp)
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
movl %r12d, %ecx
movl %r13d, %r8d
callq 0x5422
xorpd %xmm0, %xmm0
movapd %xmm0, 0x1a0(%rsp)
movq $0x0, 0x1b0(%rsp)
movq %rbx, %rdi
movl 0x150(%rsp), %esi
movl 0x15c(%rsp), %edx
movl %eax, %ecx
movl 0x158(%rsp), %r8d
movsd 0x108(%rsp), %xmm0
callq 0x55de
movsd %xmm0, 0x1a0(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %r13d, %xmm0
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
movl %r12d, %ecx
movsd 0x108(%rsp), %xmm1
leaq 0x1a8(%rsp), %r8
leaq 0x1b0(%rsp), %r9
callq 0x56fa
movsd 0x8(%rsp), %xmm3
xorl %ebx, %ebx
xorl %r12d, %r12d
movapd %xmm3, %xmm0
callq 0x21b0
movsd 0x8(%rsp), %xmm3
mulsd %xmm3, %xmm0
movq 0x180(%rsp,%r12,8), %rax
movq %r15, %rcx
subq %rax, %rcx
xorps %xmm1, %xmm1
cvtsi2sd %rcx, %xmm1
divsd %xmm1, %xmm0
movsd 0x1a0(%rsp,%r12,8), %xmm1
mulsd %xmm1, %xmm0
movsd 0x108(%rsp), %xmm2
ucomisd %xmm0, %xmm2
jbe 0x39cf
movl %ebp, 0x10(%rsp)
movl %r14d, 0x14(%rsp)
movq (%rsp), %rax
movl %eax, 0x18(%rsp)
movl %r13d, 0x1c(%rsp)
movsd %xmm1, 0x20(%rsp)
movq 0x40(%rsp), %rax
movq (%rax), %rax
leaq (%rax,%rbx), %rdi
movq 0x8(%rax,%rbx), %rsi
cmpq 0x10(%rax,%rbx), %rsi
je 0x39dc
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0x10(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x39ec
incq %rax
movq %rax, 0x180(%rsp,%r12,8)
jmp 0x39ec
leaq 0x10(%rsp), %rdx
callq 0x67a0
movsd 0x8(%rsp), %xmm3
incq %r12
addq $0x18, %rbx
cmpq $0x3, %r12
jne 0x3937
movq 0x38(%rsp), %rcx
incq %rcx
movq %rcx, %rax
movq %rcx, 0x38(%rsp)
movabsq $0x790fb65668c26139, %rcx # imm = 0x790FB65668C26139
imulq %rcx, %rax
movabsq $0x218def416bd80, %rcx  # imm = 0x218DEF416BD80
addq %rcx, %rax
rorq $0x6, %rax
movabsq $0x10c6f7a0b5ed, %rcx   # imm = 0x10C6F7A0B5ED
cmpq %rcx, %rax
jae 0x3b57
movq 0x9592(%rip), %rdi      # 0xcfd8
movq 0x38(%rsp), %rsi
callq 0x20d0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x566f(%rip), %rsi      # 0x90d1
callq 0x2270
movq %rbx, %rdi
movq %r15, %rsi
callq 0x20d0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x5661(%rip), %rsi      # 0x90e5
callq 0x2270
movq 0x40(%rsp), %r12
movq (%r12), %rax
movq 0x8(%rax), %rsi
subq (%rax), %rsi
sarq $0x3, %rsi
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rsi
movq %rbx, %rdi
callq 0x2160
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x5620(%rip), %rsi      # 0x90e5
callq 0x2270
movq (%r12), %rax
movq 0x20(%rax), %rsi
subq 0x18(%rax), %rsi
sarq $0x3, %rsi
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rsi
movq %rbx, %rdi
callq 0x2160
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x55e3(%rip), %rsi      # 0x90e5
callq 0x2270
movq (%r12), %rax
movq 0x38(%rax), %rsi
subq 0x30(%rax), %rsi
sarq $0x3, %rsi
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rsi
movq %rbx, %rdi
callq 0x2160
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2170
incq %r13
cmpq $0x7, %r13
jne 0x384b
movq 0x30(%rsp), %rax
movl 0x104(%rax), %eax
incq %r14
movslq %eax, %rcx
cmpq %rcx, %r14
jl 0x3830
incq %rbp
movslq %eax, %rcx
cmpq %rcx, %rbp
jl 0x381b
movq (%rsp), %rsi
incq %rsi
movslq %eax, %rcx
movq %rsi, (%rsp)
cmpq %rcx, %rsi
jl 0x3811
jmp 0x3bb4
xorps %xmm0, %xmm0
cvtsi2sd %r15, %xmm0
movsd %xmm0, 0x8(%rsp)
xorl %r13d, %r13d
movq 0x40(%rsp), %rbp
movq (%rbp), %rax
leaq (,%r13,2), %r12
addq %r13, %r12
movq (%rax,%r12,8), %rbx
movq 0x8(%rax,%r12,8), %r14
cmpq %r14, %rbx
je 0x3e28
movq %r14, %r15
subq %rbx, %r15
movq %r15, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %rbx, %rdi
movq %r14, %rsi
leaq -0x117e(%rip), %rcx     # 0x2a94
callq 0x6907
cmpq $0x181, %r15            # imm = 0x181
jl 0x3d65
movq %r13, (%rsp)
leaq 0x18(%rbx), %r15
movl $0x18, %r13d
movq %rbx, %rdi
leaq (%rbx,%r13), %rbp
movsd 0x10(%rbx,%r13), %xmm0
ucomisd 0x10(%rbx), %xmm0
jbe 0x3c8c
movq 0x10(%rbp), %rax
movq %rax, 0x1b0(%rsp)
movups (%rbp), %xmm0
movaps %xmm0, 0x1a0(%rsp)
subq %r13, %rdi
addq $0x30, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x2340
movapd 0x1a0(%rsp), %xmm0
movupd %xmm0, (%rbx)
movq 0x1b0(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x3cd8
movupd (%rbp), %xmm1
movapd %xmm1, 0x1a0(%rsp)
ucomisd 0x10(%rdi), %xmm0
movq %rbp, %rax
jbe 0x3cc6
movq %r15, %rcx
leaq -0x18(%rcx), %rax
movq -0x8(%rcx), %rdx
movq %rdx, 0x10(%rcx)
movupd -0x18(%rcx), %xmm1
movupd %xmm1, (%rcx)
ucomisd -0x20(%rcx), %xmm0
movq %rax, %rcx
ja 0x3ca7
movapd 0x1a0(%rsp), %xmm1
movupd %xmm1, (%rax)
movsd %xmm0, 0x10(%rax)
addq $0x18, %r13
addq $0x18, %r15
movq %rbp, %rdi
cmpq $0x180, %r13            # imm = 0x180
jne 0x3c35
addq $0x180, %rbx            # imm = 0x180
cmpq %r14, %rbx
movq 0x40(%rsp), %rbp
movq (%rsp), %r13
je 0x3e28
movups (%rbx), %xmm0
movaps %xmm0, 0x1a0(%rsp)
movsd 0x10(%rbx), %xmm0
ucomisd -0x8(%rbx), %xmm0
movq %rbx, %rax
jbe 0x3d45
movq %rbx, %rcx
leaq -0x18(%rcx), %rax
movq -0x8(%rcx), %rdx
movq %rdx, 0x10(%rcx)
movupd -0x18(%rcx), %xmm1
movupd %xmm1, (%rcx)
ucomisd -0x20(%rcx), %xmm0
movq %rax, %rcx
ja 0x3d26
movapd 0x1a0(%rsp), %xmm1
movupd %xmm1, (%rax)
movsd %xmm0, 0x10(%rax)
addq $0x18, %rbx
cmpq %r14, %rbx
jne 0x3d09
jmp 0x3e28
leaq 0x18(%rbx), %rax
cmpq %r14, %rax
je 0x3e28
movq %rbx, %rdi
movq %rax, %r15
movsd 0x10(%rax), %xmm0
ucomisd 0x10(%rbx), %xmm0
jbe 0x3dcc
movq 0x10(%r15), %rax
movq %rax, 0x1b0(%rsp)
movups (%r15), %xmm0
movaps %xmm0, 0x1a0(%rsp)
movq %r15, %rdx
subq %rbx, %rdx
subq %rdx, %rdi
addq $0x30, %rdi
movq %rbx, %rsi
callq 0x2340
movapd 0x1a0(%rsp), %xmm0
movupd %xmm0, (%rbx)
movq 0x1b0(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x3e18
movupd (%r15), %xmm1
movapd %xmm1, 0x1a0(%rsp)
ucomisd 0x10(%rdi), %xmm0
movq %r15, %rax
jbe 0x3e06
movq %r15, %rcx
leaq -0x18(%rcx), %rax
movq -0x8(%rcx), %rdx
movq %rdx, 0x10(%rcx)
movupd -0x18(%rcx), %xmm1
movupd %xmm1, (%rcx)
ucomisd -0x20(%rcx), %xmm0
movq %rax, %rcx
ja 0x3de7
movapd 0x1a0(%rsp), %xmm1
movupd %xmm1, (%rax)
movsd %xmm0, 0x10(%rax)
leaq 0x18(%r15), %rax
movq %r15, %rdi
cmpq %r14, %rax
jne 0x3d75
movq (%rbp), %rax
movq (%rax,%r12,8), %r14
movq 0x8(%rax,%r12,8), %rbx
cmpq %rbx, %r14
movsd 0x8(%rsp), %xmm2
je 0x3eba
subq %r14, %rbx
sarq $0x3, %rbx
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rbx
movsd 0x5203(%rip), %xmm0     # 0x9060
movsd %xmm0, (%rsp)
movsd 0x10(%r14), %xmm0
movsd %xmm0, 0x38(%rsp)
movapd %xmm2, %xmm0
callq 0x21b0
movsd 0x8(%rsp), %xmm2
mulsd %xmm2, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %rbx, %xmm1
divsd %xmm1, %xmm0
mulsd 0x38(%rsp), %xmm0
minsd (%rsp), %xmm0
movsd %xmm0, 0x10(%r14)
decq %rbx
addq $0x18, %r14
movq (%rbp), %rax
cmpq 0x8(%rax,%r12,8), %r14
jne 0x3e5d
leaq (%rax,%r12,8), %rcx
movq %r14, %rbx
movq (%rcx), %r14
cmpq %rbx, %r14
je 0x3f05
movq %r13, %r15
leaq (%rax,%r12,8), %rdx
addq $0x8, %rdx
xorl %r13d, %r13d
movsd 0x108(%rsp), %xmm0
ucomisd 0x10(%r14,%r13), %xmm0
ja 0x3f12
leaq (%r14,%r13), %rcx
addq $0x18, %rcx
addq $0x18, %r13
cmpq %rbx, %rcx
jne 0x3ecd
leaq (%rax,%r12,8), %rdi
cmpq %rbx, %r14
movq %r15, %r13
je 0x3f09
movq %r14, 0x8(%rdi)
movq %r14, %rbx
jmp 0x3f09
leaq (%rax,%r12,8), %rdi
cmpq %rbx, 0x10(%rax,%r12,8)
jne 0x3f54
jmp 0x3f59
testq %r13, %r13
je 0x3f3d
leaq (%r14,%r13), %rsi
subq %r14, %rbx
subq %r13, %rbx
movq %r14, %rdi
movq %rdx, %r14
movq %rbx, %rdx
callq 0x2340
testq %r13, %r13
je 0x3f3d
movq (%r14), %rax
subq %r13, %rax
movq %rax, (%r14)
movq (%rbp), %rax
movq 0x10(%rax,%r12,8), %rcx
cmpq 0x8(%rax,%r12,8), %rcx
movq %r15, %r13
je 0x3f59
leaq (%rax,%r12,8), %rdi
callq 0x6df0
movq (%rbp), %rax
movq 0x8(%rax,%r12,8), %rsi
subq (%rax,%r12,8), %rsi
sarq $0x3, %rsi
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rsi
movq 0x9059(%rip), %rdi      # 0xcfd8
callq 0x2160
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2170
incq %r13
cmpq $0x3, %r13
jne 0x3bbc
movq 0x30(%rsp), %rax
leaq 0x78(%rax), %rdi
movq %rdi, (%rsp)
movl $0x2, %esi
callq 0x5f1a
leaq 0x1b0(%rsp), %r12
movl $0x1, %ebx
leaq 0x1a0(%rsp), %r15
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
movq (%rbp), %rcx
leaq (%rbx,%rbx,2), %r14
movq (%rcx,%r14,8), %rax
cmpq 0x8(%rcx,%r14,8), %rax
je 0x477d
movq %rbx, 0x150(%rsp)
movq %rax, %rbx
movq %r14, 0x38(%rsp)
movq %rbx, 0x8(%rsp)
movl (%rbx), %r14d
movl %r14d, %ebx
negl %ebx
cmovsl %r14d, %ebx
movl $0x1, %ebp
cmpl $0xa, %ebx
jb 0x406b
movl $0x4, %ebp
movl %ebx, %eax
cmpl $0x63, %eax
jbe 0x4064
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4069
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x406b
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4036
addl $-0x3, %ebp
jmp 0x406b
addl $-0x2, %ebp
jmp 0x406b
decl %ebp
movq %r15, %r13
movq %r12, %r15
shrl $0x1f, %r14d
movl %r14d, %esi
addl %ebp, %esi
leaq 0x120(%rsp), %rax
movq %rax, 0x110(%rsp)
leaq 0x110(%rsp), %r12
movq %r12, %rdi
movl $0x2d, %edx
callq 0x2280
movq 0x110(%rsp), %rdi
addq %r14, %rdi
movl %ebp, %esi
movl %ebx, %edx
callq 0x6412
movq %r12, %rdi
leaq 0x5028(%rip), %rsi      # 0x90e5
callq 0x23a0
leaq 0x58(%rsp), %rsi
movq %rsi, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x40ea
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x40f2
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %r15, %r12
movq 0x8(%rsp), %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x4(%rsi), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %ebp
cmpl $0xa, %r14d
movq %r13, %r15
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
jb 0x4170
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4169
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x416e
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4170
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x413b
addl $-0x3, %ebp
jmp 0x4170
addl $-0x2, %ebp
jmp 0x4170
decl %ebp
shrl $0x1f, %ebx
leal (%rbx,%rbp), %esi
leaq 0x140(%rsp), %rax
movq %rax, 0x130(%rsp)
leaq 0x130(%rsp), %rdi
movl $0x2d, %edx
callq 0x2280
addq 0x130(%rsp), %rbx
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x6412
movq 0x48(%rsp), %rcx
movl $0xf, %edi
leaq 0x58(%rsp), %r14
cmpq %r14, %rcx
je 0x41c6
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %r8
movq 0x130(%rsp), %rsi
movq 0x138(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
movq 0x8(%rsp), %rbx
jbe 0x4208
movl $0xf, %edi
leaq 0x140(%rsp), %r9
cmpq %r9, %rsi
je 0x4203
movq 0x140(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x4214
leaq 0x48(%rsp), %rdi
callq 0x20a0
jmp 0x4225
leaq 0x130(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
leaq 0x98(%rsp), %rsi
movq %rsi, 0x88(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4256
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x425e
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x90(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x88(%rsp), %rdi
leaq 0x4e58(%rip), %rsi      # 0x90e5
callq 0x23a0
leaq 0xb8(%rsp), %rsi
movq %rsi, 0xa8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x42c6
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0x42ce
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xb0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x8(%rbx), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %ebp
cmpl $0xa, %r14d
jb 0x433e
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4337
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x433c
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x433e
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4309
addl $-0x3, %ebp
jmp 0x433e
addl $-0x2, %ebp
jmp 0x433e
decl %ebp
shrl $0x1f, %ebx
leal (%rbx,%rbp), %esi
leaq 0xf8(%rsp), %rax
movq %rax, 0xe8(%rsp)
leaq 0xe8(%rsp), %rdi
movl $0x2d, %edx
callq 0x2280
addq 0xe8(%rsp), %rbx
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x6412
movq 0xa8(%rsp), %rcx
movl $0xf, %edi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rcx
je 0x439d
movq 0xb8(%rsp), %rdi
movq 0xb0(%rsp), %r8
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
leaq 0x58(%rsp), %r14
movq 0x8(%rsp), %rbx
jbe 0x43e7
movl $0xf, %edi
leaq 0xf8(%rsp), %r9
cmpq %r9, %rsi
je 0x43e2
movq 0xf8(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x43f6
leaq 0xa8(%rsp), %rdi
callq 0x20a0
jmp 0x4407
leaq 0xe8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
leaq 0x78(%rsp), %rsi
movq %rsi, 0x68(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x442c
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x4434
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x68(%rsp), %rdi
leaq 0x4c88(%rip), %rsi      # 0x90e5
callq 0x23a0
movq %r12, 0x1a0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x448e
movq %rdx, 0x1a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1b0(%rsp)
jmp 0x4498
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x1a8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0xc(%rbx), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %ebp
cmpl $0xa, %r14d
jb 0x4508
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4501
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4506
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4508
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x44d3
addl $-0x3, %ebp
jmp 0x4508
addl $-0x2, %ebp
jmp 0x4508
decl %ebp
shrl $0x1f, %ebx
leal (%rbx,%rbp), %esi
leaq 0xd8(%rsp), %rax
movq %rax, 0xc8(%rsp)
leaq 0xc8(%rsp), %rdi
movl $0x2d, %edx
callq 0x2280
addq 0xc8(%rsp), %rbx
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x6412
movq 0x1a0(%rsp), %rcx
movl $0xf, %edi
cmpq %r12, %rcx
je 0x455f
movq 0x1b0(%rsp), %rdi
movq 0x1a8(%rsp), %r8
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
movq 0x40(%rsp), %rbp
leaq 0x58(%rsp), %r14
jbe 0x45a9
movl $0xf, %edi
leaq 0xd8(%rsp), %r9
cmpq %r9, %rsi
je 0x45a4
movq 0xd8(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x45b3
movq %r15, %rdi
callq 0x20a0
jmp 0x45c4
leaq 0xc8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
leaq 0x20(%rsp), %rsi
movq %rsi, 0x10(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x45e9
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x45f1
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x4628
callq 0x21f0
movq 0x1a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x463a
callq 0x21f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x464e
callq 0x21f0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x4668
callq 0x21f0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x4682
callq 0x21f0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x469c
callq 0x21f0
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x46b6
callq 0x21f0
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x46c5
callq 0x21f0
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
movq (%rsp), %rbx
movq 0x38(%rsp), %r14
je 0x46e8
callq 0x21f0
movq (%rbx), %rbx
movq %r12, 0x1a0(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x6480
movq %r14, %rax
shlq $0x4, %rax
leaq (%rbx,%rax), %rdi
addq $-0x30, %rdi
movq 0x8(%rsp), %rbx
movsd 0x10(%rbx), %xmm0
movsd %xmm0, 0x1c0(%rsp)
movq %r15, %rsi
callq 0x7190
movq 0x1a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x4744
callq 0x21f0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x4758
callq 0x21f0
addq $0x18, %rbx
movq (%rbp), %rax
cmpq 0x8(%rax,%r14,8), %rbx
jne 0x4014
leaq (%rax,%r14,8), %rdi
movq (%rdi), %rax
cmpq %rax, %rbx
je 0x4783
movq %rax, 0x8(%rdi)
jmp 0x4786
leaq (%rcx,%r14,8), %rdi
jmp 0x478e
movq %rbx, %rax
movq 0x150(%rsp), %rbx
cmpq %rax, 0x10(%rdi)
je 0x4799
callq 0x6df0
incq %rbx
cmpq $0x3, %rbx
jne 0x3fed
movq 0x30(%rsp), %rax
movq 0xe0(%rax), %rsi
leaq 0x1a0(%rsp), %rbx
movq %rbx, %rdi
movl $0x10, %edx
callq 0x2240
leaq 0x4905(%rip), %rsi      # 0x90d3
movl $0x13, %edx
movq %rbx, %rdi
callq 0x2270
leaq 0x1a0(%rsp), %rdi
movsd 0x108(%rsp), %xmm0
callq 0x2330
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2170
leaq 0x48c5(%rip), %rsi      # 0x90e7
leaq 0x1a0(%rsp), %rbx
movl $0x4e, %edx
movq %rbx, %rdi
callq 0x2270
movq 0x1a0(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
leaq 0x1a0(%rsp), %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2170
movq (%rbp), %rax
movq (%rax), %rbp
cmpq 0x8(%rax), %rbp
je 0x5125
leaq 0x130(%rsp), %r13
movl $0xd1b71759, %r12d      # imm = 0xD1B71759
movl (%rbp), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x48e2
movl $0x4, %r15d
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x48d9
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x48df
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x48e2
movl %eax, %ecx
imulq %r12, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x48a9
addl $-0x3, %r15d
jmp 0x48e2
addl $-0x2, %r15d
jmp 0x48e2
decl %r15d
shrl $0x1f, %ebx
leal (%r15,%rbx), %esi
leaq 0x140(%rsp), %rax
movq %rax, 0x130(%rsp)
movq %r13, %rdi
movl $0x2d, %edx
callq 0x2280
addq 0x130(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x6412
movq %r13, %rdi
leaq 0x47bf(%rip), %r13      # 0x90e5
movq %r13, %rsi
callq 0x23a0
leaq 0x120(%rsp), %rsi
movq %rsi, 0x110(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4962
movq %rdx, 0x110(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x120(%rsp)
jmp 0x496a
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x118(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x4(%rbp), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x49e0
movl $0x4, %r15d
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x49d7
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x49dd
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x49e0
movl %eax, %ecx
imulq %r12, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x49a7
addl $-0x3, %r15d
jmp 0x49e0
addl $-0x2, %r15d
jmp 0x49e0
decl %r15d
shrl $0x1f, %ebx
leal (%r15,%rbx), %esi
leaq 0xf8(%rsp), %rax
movq %rax, 0xe8(%rsp)
leaq 0xe8(%rsp), %rdi
movl $0x2d, %edx
callq 0x2280
addq 0xe8(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x6412
movq 0x110(%rsp), %rcx
movl $0xf, %edi
leaq 0x120(%rsp), %rax
cmpq %rax, %rcx
je 0x4a41
movq 0x120(%rsp), %rdi
movq 0x118(%rsp), %r8
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
leaq 0x58(%rsp), %r14
jbe 0x4a86
movl $0xf, %edi
leaq 0xf8(%rsp), %r9
cmpq %r9, %rsi
je 0x4a81
movq 0xf8(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x4a95
leaq 0x110(%rsp), %rdi
callq 0x20a0
jmp 0x4aa6
leaq 0xe8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
movq %r14, 0x48(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4ac6
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x4acf
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x48(%rsp), %rdi
movq %r13, %rsi
callq 0x23a0
leaq 0x98(%rsp), %rsi
movq %rsi, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4b2d
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x4b35
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x90(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x8(%rbp), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x4bab
movl $0x4, %r15d
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4ba2
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4ba8
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4bab
movl %eax, %ecx
imulq %r12, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4b72
addl $-0x3, %r15d
jmp 0x4bab
addl $-0x2, %r15d
jmp 0x4bab
decl %r15d
shrl $0x1f, %ebx
leal (%r15,%rbx), %esi
leaq 0xd8(%rsp), %rax
movq %rax, 0xc8(%rsp)
leaq 0xc8(%rsp), %rdi
movl $0x2d, %edx
callq 0x2280
addq 0xc8(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x6412
movq 0x88(%rsp), %rcx
movl $0xf, %edi
leaq 0x98(%rsp), %rax
cmpq %rax, %rcx
je 0x4c0c
movq 0x98(%rsp), %rdi
movq 0x90(%rsp), %r8
movq 0xc8(%rsp), %rsi
movq 0xd0(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
leaq 0xb8(%rsp), %rbx
jbe 0x4c54
movl $0xf, %edi
leaq 0xd8(%rsp), %r9
cmpq %r9, %rsi
je 0x4c4f
movq 0xd8(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x4c63
leaq 0x88(%rsp), %rdi
callq 0x20a0
jmp 0x4c74
leaq 0xc8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
movq %rbx, 0xa8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4c9d
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0x4ca5
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xb0(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xa8(%rsp), %rdi
movq %r13, %rsi
callq 0x23a0
leaq 0x78(%rsp), %rsi
movq %rsi, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4cfd
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x4d05
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0xc(%rbp), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x4d78
movl $0x4, %r15d
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4d6f
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4d75
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4d78
movl %eax, %ecx
imulq %r12, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4d3f
addl $-0x3, %r15d
jmp 0x4d78
addl $-0x2, %r15d
jmp 0x4d78
decl %r15d
shrl $0x1f, %ebx
leal (%r15,%rbx), %esi
leaq 0x170(%rsp), %rax
movq %rax, 0x160(%rsp)
leaq 0x160(%rsp), %rdi
movl $0x2d, %edx
callq 0x2280
addq 0x160(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x6412
movq 0x68(%rsp), %rcx
movl $0xf, %edi
leaq 0x78(%rsp), %rax
cmpq %rax, %rcx
je 0x4dd0
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %r8
movq 0x160(%rsp), %rsi
movq 0x168(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
leaq 0x58(%rsp), %rbx
leaq 0x98(%rsp), %r14
leaq 0x20(%rsp), %r15
jbe 0x4e1f
movl $0xf, %edi
leaq 0x170(%rsp), %r9
cmpq %r9, %rsi
je 0x4e1a
movq 0x170(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x4e2b
leaq 0x68(%rsp), %rdi
callq 0x20a0
jmp 0x4e3c
leaq 0x160(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
movq %r15, 0x10(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4e5c
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x4e65
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x4e9c
callq 0x21f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x4eb0
callq 0x21f0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x4eca
callq 0x21f0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x4ee4
callq 0x21f0
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x4ef6
callq 0x21f0
movq 0x48(%rsp), %rdi
cmpq %rbx, %rdi
movq (%rsp), %r14
je 0x4f09
callq 0x21f0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x4f23
callq 0x21f0
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x4f3d
callq 0x21f0
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x4f57
callq 0x21f0
movq (%r14), %rdi
leaq 0x10(%rsp), %rsi
callq 0x7370
movq (%r14), %rdi
leaq 0x8(%rdi), %rcx
cmpq %rcx, %rax
je 0x50f8
addq $0x30, %rdi
leaq 0x10(%rsp), %rsi
callq 0x7370
movq (%r14), %rcx
addq $0x38, %rcx
cmpq %rcx, %rax
je 0x50f8
movslq 0x8(%rbp), %rax
movq 0x30(%rsp), %rcx
movq 0xa8(%rcx), %rcx
shlq $0x5, %rax
movq (%rcx,%rax), %rsi
movq 0x8(%rcx,%rax), %rdx
leaq 0x1a0(%rsp), %rdi
callq 0x2270
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x4168(%rip), %rsi      # 0x9136
callq 0x2270
movslq (%rbp), %rax
movq 0x30(%rsp), %rcx
movq 0xa8(%rcx), %rcx
shlq $0x5, %rax
movq (%rcx,%rax), %rsi
movq 0x8(%rcx,%rax), %rdx
movq %rbx, %rdi
callq 0x2270
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x412e(%rip), %rsi      # 0x9138
callq 0x2270
movslq 0x4(%rbp), %rax
movq 0x30(%rsp), %rcx
movq 0xa8(%rcx), %rcx
shlq $0x5, %rax
movq (%rcx,%rax), %rsi
movq 0x8(%rcx,%rax), %rdx
movq %rbx, %rdi
callq 0x2270
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x2270
movsd 0x10(%rbp), %xmm0
movq %rbx, %rdi
callq 0x2330
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x2270
movq (%r14), %rdi
leaq 0x10(%rsp), %rsi
callq 0x5f98
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x2330
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x2270
movq (%r14), %rdi
addq $0x30, %rdi
leaq 0x10(%rsp), %rsi
callq 0x5f98
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x2330
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x2270
movl 0xc(%rbp), %esi
movq %rbx, %rdi
callq 0x2360
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2170
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x5107
callq 0x21f0
addq $0x18, %rbp
movq 0x40(%rsp), %rax
movq (%rax), %rax
cmpq 0x8(%rax), %rbp
leaq 0x130(%rsp), %r13
jne 0x4887
leaq 0x1a0(%rsp), %rdi
callq 0x22b0
movq 0x7e97(%rip), %rax      # 0xcfd0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x1a8(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x1a0(%rsp,%rcx)
callq 0x21d0
leaq 0x298(%rsp), %rdi
callq 0x20b0
addq $0x3a8, %rsp            # imm = 0x3A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5291
jmp 0x52af
jmp 0x52af
movq %rax, %rbx
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x51ad
callq 0x21f0
jmp 0x51ad
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x51c6
callq 0x21f0
jmp 0x51c6
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x51e5
callq 0x21f0
jmp 0x51e5
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x5204
callq 0x21f0
jmp 0x5204
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x521e
callq 0x21f0
leaq 0x58(%rsp), %r14
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x523c
callq 0x21f0
jmp 0x523c
movq %rax, %rbx
jmp 0x5223
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x525b
callq 0x21f0
jmp 0x525b
movq %rax, %rbx
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x5275
callq 0x21f0
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
jne 0x52bc
jmp 0x52c1
movq %rax, %rbx
jmp 0x5275
movq %rax, %rbx
jmp 0x52c1
movq %rax, %rbx
movq 0x1a0(%rsp), %rdi
testq %rdi, %rdi
jne 0x53ef
jmp 0x53f4
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x52c1
callq 0x21f0
leaq 0x1a0(%rsp), %rdi
callq 0x22d0
jmp 0x53f4
movq %rax, %rbx
leaq 0x58(%rsp), %r14
jmp 0x5329
movq %rax, %rbx
jmp 0x5354
movq %rax, %rbx
jmp 0x5392
movq %rax, %rbx
jmp 0x53da
movq %rax, %rbx
leaq 0x20(%rsp), %r14
jmp 0x5416
movq %rax, %rbx
leaq 0x58(%rsp), %r14
jmp 0x53cb
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x5329
callq 0x21f0
movq 0x1a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x5340
callq 0x21f0
jmp 0x5340
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq 0x68(%rsp), %rdi
cmpq %rax, %rdi
je 0x5354
callq 0x21f0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x5378
callq 0x21f0
jmp 0x5378
movq %rax, %rbx
leaq 0x58(%rsp), %r14
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x5392
callq 0x21f0
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x53b1
callq 0x21f0
jmp 0x53b1
movq %rax, %rbx
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x53cb
callq 0x21f0
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x53da
callq 0x21f0
leaq 0x120(%rsp), %rax
movq 0x110(%rsp), %rdi
cmpq %rax, %rdi
je 0x53f4
callq 0x21f0
movq %rbx, %rdi
callq 0x2370
movq %rax, %rbx
movq 0x1a0(%rsp), %rdi
cmpq %r12, %rdi
leaq 0x20(%rsp), %r14
je 0x5416
callq 0x21f0
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
jne 0x53ef
jmp 0x53f4