// File: /workspace/github_cpp_makefile_star2_O1/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
movq %rdi, %r12
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)
addq $0x60, %rdi
movl $0x3, %esi
movq %rdi, 0x38(%rsp)
callq 0x5e26
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 0x5f06
movq 0x38(%rsp), %rdi
movq %rbx, %rsi
callq 0x5fc4
movq 0x1a0(%rsp), %rdi
testq %rdi, %rdi
je 0x3827
callq 0x21f0
decl %ebp
jne 0x37e2
cmpl $0x0, 0x104(%r12)
xorps %xmm0, %xmm0
cvtsi2sd %r15, %xmm0
movsd %xmm0, 0x8(%rsp)
movq %r12, 0xa0(%rsp)
jle 0x3c08
movq $0x0, (%rsp)
movq $0x0, 0x30(%rsp)
cmpl $0x0, 0x104(%r12)
jle 0x3bec
xorl %ebp, %ebp
cmpq (%rsp), %rbp
je 0x3bd8
cmpl $0x0, 0x104(%r12)
jle 0x3bd8
xorl %r14d, %r14d
cmpq %rbp, %r14
sete %al
cmpq (%rsp), %r14
sete %cl
orb %al, %cl
jne 0x3bc4
movl $0x1, %r13d
cmpq %r14, %rbp
setae %al
cmpq $0x5, %r13
setb %cl
testb %cl, %al
jne 0x3bb7
leaq (,%rbp,2), %rax
addq %rbp, %rax
movq (%r12), %rcx
movq 0x30(%r12), %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), %rbx
movl (%rdx,%rbx,4), %eax
movl %eax, 0x15c(%rsp)
movq %r12, %rdi
movl %ebp, %esi
movl %r14d, %edx
movl %ebx, %ecx
movl %r13d, %r8d
callq 0x54a2
xorpd %xmm0, %xmm0
movapd %xmm0, 0x1a0(%rsp)
movq $0x0, 0x1b0(%rsp)
movq %r12, %rdi
movl 0x150(%rsp), %esi
movl 0x15c(%rsp), %edx
movl %eax, %ecx
movl 0x158(%rsp), %r8d
movsd 0x108(%rsp), %xmm0
callq 0x5660
movsd %xmm0, 0x1a0(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %r13d, %xmm0
movq %r12, %rdi
movl %ebp, %esi
movl %r14d, %edx
movl %ebx, %ecx
movsd 0x108(%rsp), %xmm1
leaq 0x1a8(%rsp), %r8
leaq 0x1b0(%rsp), %r9
callq 0x57a6
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 0x3a27
movl %ebp, 0x10(%rsp)
movl %r14d, 0x14(%rsp)
movq (%rsp), %rax
movl %eax, 0x18(%rsp)
movl %r13d, 0x1c(%rsp)
movsd %xmm1, 0x20(%rsp)
movq 0x38(%rsp), %rax
movq (%rax), %rax
leaq (%rax,%rbx), %rdi
movq 0x8(%rax,%rbx), %rsi
cmpq 0x10(%rax,%rbx), %rsi
je 0x3a34
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsi)
movupd 0x10(%rsp), %xmm0
movupd %xmm0, (%rsi)
addq $0x18, 0x8(%rdi)
jmp 0x3a44
incq %rax
movq %rax, 0x180(%rsp,%r12,8)
jmp 0x3a44
leaq 0x10(%rsp), %rdx
callq 0x6890
movsd 0x8(%rsp), %xmm3
incq %r12
addq $0x18, %rbx
cmpq $0x3, %r12
jne 0x398f
movq 0x30(%rsp), %rcx
incq %rcx
movq %rcx, %rax
movq %rcx, 0x30(%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 0x3baf
movq 0x953a(%rip), %rdi      # 0xcfd8
movq 0x30(%rsp), %rsi
callq 0x20d0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x55f7(%rip), %rsi      # 0x90b1
callq 0x2270
movq %rbx, %rdi
movq %r15, %rsi
callq 0x20d0
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
leaq 0x55e9(%rip), %rsi      # 0x90c5
callq 0x2270
movq 0x38(%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 0x55a8(%rip), %rsi      # 0x90c5
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 0x556b(%rip), %rsi      # 0x90c5
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
movq 0xa0(%rsp), %r12
incq %r13
cmpq $0x7, %r13
jne 0x38a9
incq %r14
movslq 0x104(%r12), %rax
cmpq %rax, %r14
jl 0x388e
incq %rbp
movslq 0x104(%r12), %rax
cmpq %rax, %rbp
jl 0x3872
movq (%rsp), %rdx
incq %rdx
movslq 0x104(%r12), %rax
movq %rdx, (%rsp)
cmpq %rax, %rdx
jl 0x3861
xorl %r13d, %r13d
movq 0x38(%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 0x3e7c
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 -0x11c2(%rip), %rcx     # 0x2aa4
callq 0x69f7
cmpq $0x181, %r15            # imm = 0x181
jl 0x3db9
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 0x3ce0
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 0x3d2c
movupd (%rbp), %xmm1
movapd %xmm1, 0x1a0(%rsp)
ucomisd 0x10(%rdi), %xmm0
movq %rbp, %rax
jbe 0x3d1a
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 0x3cfb
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 0x3c89
addq $0x180, %rbx            # imm = 0x180
cmpq %r14, %rbx
movq 0x38(%rsp), %rbp
movq (%rsp), %r13
je 0x3e7c
movups (%rbx), %xmm0
movaps %xmm0, 0x1a0(%rsp)
movsd 0x10(%rbx), %xmm0
ucomisd -0x8(%rbx), %xmm0
movq %rbx, %rax
jbe 0x3d99
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 0x3d7a
movapd 0x1a0(%rsp), %xmm1
movupd %xmm1, (%rax)
movsd %xmm0, 0x10(%rax)
addq $0x18, %rbx
cmpq %r14, %rbx
jne 0x3d5d
jmp 0x3e7c
leaq 0x18(%rbx), %rax
cmpq %r14, %rax
je 0x3e7c
movq %rbx, %rdi
movq %rax, %r15
movsd 0x10(%rax), %xmm0
ucomisd 0x10(%rbx), %xmm0
jbe 0x3e20
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 0x3e6c
movupd (%r15), %xmm1
movapd %xmm1, 0x1a0(%rsp)
ucomisd 0x10(%rdi), %xmm0
movq %r15, %rax
jbe 0x3e5a
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 0x3e3b
movapd 0x1a0(%rsp), %xmm1
movupd %xmm1, (%rax)
movsd %xmm0, 0x10(%rax)
leaq 0x18(%r15), %rax
movq %r15, %rdi
cmpq %r14, %rax
jne 0x3dc9
movq (%rbp), %rax
leaq (%rax,%r12,8), %rbx
movq (%rbx), %r14
movq 0x8(%rbx), %rdx
cmpq %rdx, %r14
movsd 0x8(%rsp), %xmm2
je 0x3f11
movq 0x8(%rbx), %rbx
subq %r14, %rbx
sarq $0x3, %rbx
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rbx
movsd 0x5189(%rip), %xmm0     # 0x9040
movsd %xmm0, (%rsp)
movsd 0x10(%r14), %xmm0
movsd %xmm0, 0x30(%rsp)
movapd %xmm2, %xmm0
callq 0x21b0
movsd 0x8(%rsp), %xmm2
mulsd %xmm2, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %rbx, %xmm1
divsd %xmm1, %xmm0
mulsd 0x30(%rsp), %xmm0
minsd (%rsp), %xmm0
movsd %xmm0, 0x10(%r14)
decq %rbx
addq $0x18, %r14
movq (%rbp), %rax
movq 0x8(%rax,%r12,8), %rdx
cmpq %rdx, %r14
jne 0x3eb7
leaq (%rax,%r12,8), %rbx
movq (%rbx), %rdi
cmpq %rdx, %rdi
je 0x3f3f
xorl %r14d, %r14d
movsd 0x108(%rsp), %xmm0
ucomisd 0x10(%rdi,%r14), %xmm0
ja 0x3f60
leaq (%rdi,%r14), %rax
addq $0x18, %rax
addq $0x18, %r14
cmpq %rdx, %rax
jne 0x3f1c
movq (%rbp), %rax
leaq (%rax,%r12,8), %rdi
movq (%rdi), %rax
cmpq %rax, 0x8(%rdi)
je 0x3f54
movq %rax, 0x8(%rdi)
movq 0x10(%rdi), %rax
cmpq 0x8(%rdi), %rax
jne 0x3f9d
jmp 0x3fa2
testq %r14, %r14
je 0x3f89
leaq (%rdi,%r14), %rsi
cmpq %rdx, %rsi
je 0x3f79
subq %rdi, %rdx
subq %r14, %rdx
callq 0x2340
testq %r14, %r14
je 0x3f89
movq 0x8(%rbx), %rax
subq %r14, %rax
movq %rax, 0x8(%rbx)
movq (%rbp), %rax
movq 0x10(%rax,%r12,8), %rcx
cmpq 0x8(%rax,%r12,8), %rcx
je 0x3fa2
leaq (%rax,%r12,8), %rdi
callq 0x6efc
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 0x9010(%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 0x3c10
movq 0xa0(%rsp), %rax
leaq 0x78(%rax), %rdi
movq %rdi, 0x30(%rsp)
movl $0x2, %esi
callq 0x5ff0
leaq 0x1b0(%rsp), %r12
movl $0x1, %eax
leaq 0x1a0(%rsp), %r15
movl $0xd1b71759, %r13d      # imm = 0xD1B71759
movq (%rbp), %rcx
movq %rax, 0x150(%rsp)
leaq (%rax,%rax,2), %r14
movq (%rcx,%r14,8), %rbx
movq 0x8(%rcx,%r14,8), %rax
cmpq %rax, %rbx
movq %r14, (%rsp)
je 0x47c9
movq %rbx, 0x8(%rsp)
movl (%rbx), %r14d
movl %r14d, %ebx
negl %ebx
cmovsl %r14d, %ebx
movl $0x1, %ebp
cmpl $0xa, %ebx
jb 0x40b7
movl $0x4, %ebp
movl %ebx, %eax
cmpl $0x63, %eax
jbe 0x40b0
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x40b5
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x40b7
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4082
addl $-0x3, %ebp
jmp 0x40b7
addl $-0x2, %ebp
jmp 0x40b7
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 0x64f0
movq %r12, %rdi
leaq 0x4fbc(%rip), %rsi      # 0x90c5
callq 0x23a0
leaq 0x50(%rsp), %rsi
movq %rsi, 0x40(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4136
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x413e
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %r15, %r12
movq 0x8(%rsp), %rsi
movq 0x8(%rax), %rdx
movq %rdx, 0x48(%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 0x41bc
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x41b5
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x41ba
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x41bc
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4187
addl $-0x3, %ebp
jmp 0x41bc
addl $-0x2, %ebp
jmp 0x41bc
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 0x64f0
movq 0x40(%rsp), %rcx
movl $0xf, %esi
leaq 0x50(%rsp), %r14
cmpq %r14, %rcx
je 0x4212
movq 0x50(%rsp), %rsi
movq 0x48(%rsp), %r8
movq 0x138(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
movq 0x8(%rsp), %rbx
jbe 0x4251
movl $0xf, %esi
leaq 0x140(%rsp), %rdi
cmpq %rdi, 0x130(%rsp)
je 0x424c
movq 0x140(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x4265
movq 0x130(%rsp), %rsi
leaq 0x40(%rsp), %rdi
callq 0x20a0
jmp 0x4276
leaq 0x130(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
leaq 0x90(%rsp), %rsi
movq %rsi, 0x80(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x42a7
movq %rdx, 0x80(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x90(%rsp)
jmp 0x42af
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x88(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x80(%rsp), %rdi
leaq 0x4de7(%rip), %rsi      # 0x90c5
callq 0x23a0
leaq 0xf8(%rsp), %rsi
movq %rsi, 0xe8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4317
movq %rdx, 0xe8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf8(%rsp)
jmp 0x431f
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xf0(%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 0x438f
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4388
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x438d
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x438f
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x435a
addl $-0x3, %ebp
jmp 0x438f
addl $-0x2, %ebp
jmp 0x438f
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 0x64f0
movq 0xe8(%rsp), %rcx
movl $0xf, %esi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rcx
je 0x43ee
movq 0xf8(%rsp), %rsi
movq 0xf0(%rsp), %r8
movq 0xd0(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
leaq 0x50(%rsp), %r14
movq 0x8(%rsp), %rbx
jbe 0x4435
movl $0xf, %esi
leaq 0xd8(%rsp), %rdi
cmpq %rdi, 0xc8(%rsp)
je 0x4430
movq 0xd8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x444c
movq 0xc8(%rsp), %rsi
leaq 0xe8(%rsp), %rdi
callq 0x20a0
jmp 0x445d
leaq 0xc8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
leaq 0x70(%rsp), %rsi
movq %rsi, 0x60(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4482
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x448a
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x68(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x60(%rsp), %rdi
leaq 0x4c12(%rip), %rsi      # 0x90c5
callq 0x23a0
movq %r12, 0x1a0(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x44e4
movq %rdx, 0x1a0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1b0(%rsp)
jmp 0x44ee
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 0x455e
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4557
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x455c
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x455e
movl %eax, %ecx
imulq %r13, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4529
addl $-0x3, %ebp
jmp 0x455e
addl $-0x2, %ebp
jmp 0x455e
decl %ebp
shrl $0x1f, %ebx
leal (%rbx,%rbp), %esi
leaq 0xb8(%rsp), %rax
movq %rax, 0xa8(%rsp)
leaq 0xa8(%rsp), %rdi
movl $0x2d, %edx
callq 0x2280
addq 0xa8(%rsp), %rbx
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x64f0
movq 0x1a0(%rsp), %rcx
movl $0xf, %esi
cmpq %r12, %rcx
je 0x45b5
movq 0x1b0(%rsp), %rsi
movq 0x1a8(%rsp), %r8
movq 0xb0(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
movq 0x38(%rsp), %rbp
leaq 0x50(%rsp), %r14
jbe 0x45fc
movl $0xf, %esi
leaq 0xb8(%rsp), %rdi
cmpq %rdi, 0xa8(%rsp)
je 0x45f7
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x460e
movq 0xa8(%rsp), %rsi
movq %r15, %rdi
callq 0x20a0
jmp 0x461f
leaq 0xa8(%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 0x4644
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x464c
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 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x4683
callq 0x21f0
movq 0x1a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x4695
callq 0x21f0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x46a9
callq 0x21f0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x46c3
callq 0x21f0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x46dd
callq 0x21f0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x46f7
callq 0x21f0
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x4711
callq 0x21f0
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x4720
callq 0x21f0
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
movq 0x30(%rsp), %rbx
movq (%rsp), %r14
je 0x4743
callq 0x21f0
movq (%rbx), %rbx
movq %r12, 0x1a0(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x655e
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 0x72ae
movq 0x1a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x479f
callq 0x21f0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x47b3
callq 0x21f0
addq $0x18, %rbx
movq (%rbp), %rcx
movq 0x8(%rcx,%r14,8), %rax
cmpq %rax, %rbx
jne 0x4060
leaq (%rcx,%r14,8), %rdi
movq (%rdi), %rcx
cmpq %rcx, %rax
je 0x47d9
movq %rcx, 0x8(%rdi)
movq 0x10(%rdi), %rax
cmpq 0x8(%rdi), %rax
je 0x47e8
callq 0x6efc
movq 0x150(%rsp), %rax
incq %rax
cmpq $0x3, %rax
jne 0x403a
movq 0xa0(%rsp), %rax
movq 0xe0(%rax), %rsi
leaq 0x1a0(%rsp), %rbx
movq %rbx, %rdi
movl $0x10, %edx
callq 0x2240
leaq 0x488b(%rip), %rsi      # 0x90b3
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 0x484b(%rip), %rsi      # 0x90c7
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), %r12
cmpq 0x8(%rax), %r12
je 0x51a4
leaq 0x130(%rsp), %r13
movl $0xd1b71759, %ebp       # imm = 0xD1B71759
movl (%r12), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x493c
movl $0x4, %r15d
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4933
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4939
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x493c
movl %eax, %ecx
imulq %rbp, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4903
addl $-0x3, %r15d
jmp 0x493c
addl $-0x2, %r15d
jmp 0x493c
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 0x64f0
movq %r13, %rdi
leaq 0x4745(%rip), %r13      # 0x90c5
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 0x49bc
movq %rdx, 0x110(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x120(%rsp)
jmp 0x49c4
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(%r12), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x4a3c
movl $0x4, %r15d
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4a33
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4a39
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4a3c
movl %eax, %ecx
imulq %rbp, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4a03
addl $-0x3, %r15d
jmp 0x4a3c
addl $-0x2, %r15d
jmp 0x4a3c
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 0x64f0
movq 0x110(%rsp), %rcx
movl $0xf, %esi
leaq 0x120(%rsp), %rax
cmpq %rax, %rcx
je 0x4a9d
movq 0x120(%rsp), %rsi
movq 0x118(%rsp), %r8
movq 0xd0(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
leaq 0x50(%rsp), %r14
jbe 0x4adf
movl $0xf, %esi
leaq 0xd8(%rsp), %rdi
cmpq %rdi, 0xc8(%rsp)
je 0x4ada
movq 0xd8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x4af6
movq 0xc8(%rsp), %rsi
leaq 0x110(%rsp), %rdi
callq 0x20a0
jmp 0x4b07
leaq 0xc8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
movq %r14, 0x40(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4b27
movq %rdx, 0x40(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x50(%rsp)
jmp 0x4b30
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x48(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x40(%rsp), %rdi
movq %r13, %rsi
callq 0x23a0
leaq 0x90(%rsp), %rsi
movq %rsi, 0x80(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4b8e
movq %rdx, 0x80(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x90(%rsp)
jmp 0x4b96
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x88(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x8(%r12), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x4c0e
movl $0x4, %r15d
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4c05
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4c0b
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4c0e
movl %eax, %ecx
imulq %rbp, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4bd5
addl $-0x3, %r15d
jmp 0x4c0e
addl $-0x2, %r15d
jmp 0x4c0e
decl %r15d
shrl $0x1f, %ebx
leal (%r15,%rbx), %esi
leaq 0xb8(%rsp), %rax
movq %rax, 0xa8(%rsp)
leaq 0xa8(%rsp), %rdi
movl $0x2d, %edx
callq 0x2280
addq 0xa8(%rsp), %rbx
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x64f0
movq 0x80(%rsp), %rcx
movl $0xf, %esi
leaq 0x90(%rsp), %rax
cmpq %rax, %rcx
je 0x4c6f
movq 0x90(%rsp), %rsi
movq 0x88(%rsp), %r8
movq 0xb0(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
leaq 0xf8(%rsp), %rbx
jbe 0x4cb4
movl $0xf, %esi
leaq 0xb8(%rsp), %rdi
cmpq %rdi, 0xa8(%rsp)
je 0x4caf
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x4ccb
movq 0xa8(%rsp), %rsi
leaq 0x80(%rsp), %rdi
callq 0x20a0
jmp 0x4cdc
leaq 0xa8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2250
movq %rbx, 0xe8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4d05
movq %rdx, 0xe8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf8(%rsp)
jmp 0x4d0d
movupd (%rcx), %xmm0
movupd %xmm0, (%rbx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0xf0(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xe8(%rsp), %rdi
movq %r13, %rsi
callq 0x23a0
leaq 0x70(%rsp), %rsi
movq %rsi, 0x60(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4d65
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
jmp 0x4d6d
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x68(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0xc(%r12), %ebx
movl %ebx, %r14d
negl %r14d
cmovsl %ebx, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x4de2
movl $0x4, %r15d
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x4dd9
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4ddf
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4de2
movl %eax, %ecx
imulq %rbp, %rcx
shrq $0x2d, %rcx
addl $0x4, %r15d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4da9
addl $-0x3, %r15d
jmp 0x4de2
addl $-0x2, %r15d
jmp 0x4de2
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 0x64f0
movq 0x60(%rsp), %rcx
movl $0xf, %esi
leaq 0x70(%rsp), %rax
cmpq %rax, %rcx
je 0x4e3a
movq 0x70(%rsp), %rsi
movq 0x68(%rsp), %r8
movq 0x168(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rsi, %rax
leaq 0x50(%rsp), %rbx
leaq 0x90(%rsp), %r14
leaq 0x20(%rsp), %r15
jbe 0x4e86
movl $0xf, %esi
leaq 0x170(%rsp), %rdi
cmpq %rdi, 0x160(%rsp)
je 0x4e81
movq 0x170(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x4e9a
movq 0x160(%rsp), %rsi
leaq 0x60(%rsp), %rdi
callq 0x20a0
jmp 0x4eab
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 0x4ecb
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x4ed4
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 0x4f0b
callq 0x21f0
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x4f1f
callq 0x21f0
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x4f39
callq 0x21f0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x4f53
callq 0x21f0
movq 0x80(%rsp), %rdi
cmpq %r14, %rdi
je 0x4f65
callq 0x21f0
movq 0x40(%rsp), %rdi
cmpq %rbx, %rdi
movq 0x30(%rsp), %r14
je 0x4f79
callq 0x21f0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x4f93
callq 0x21f0
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x4fad
callq 0x21f0
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x4fc7
callq 0x21f0
movq (%r14), %rdi
leaq 0x10(%rsp), %rsi
callq 0x748e
movq (%r14), %rdi
leaq 0x8(%rdi), %rcx
cmpq %rcx, %rax
je 0x5177
addq $0x30, %rdi
leaq 0x10(%rsp), %rsi
callq 0x748e
movq (%r14), %rcx
addq $0x38, %rcx
cmpq %rcx, %rax
je 0x5177
movslq 0x8(%r12), %rax
movq 0xa0(%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 0x40d4(%rip), %rsi      # 0x9116
callq 0x2270
movslq (%r12), %rax
movq 0xa0(%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 0x4097(%rip), %rsi      # 0x9118
callq 0x2270
movslq 0x4(%r12), %rax
movq 0xa0(%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(%r12), %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 0x606e
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 0x606e
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x2330
movq %rax, %rbx
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x2270
movl 0xc(%r12), %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 0x5186
callq 0x21f0
addq $0x18, %r12
movq 0x38(%rsp), %rax
movq (%rax), %rax
cmpq 0x8(%rax), %r12
leaq 0x130(%rsp), %r13
jne 0x48e0
leaq 0x1a0(%rsp), %rdi
callq 0x22b0
movq 0x7e18(%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 0x5310
jmp 0x532e
jmp 0x532e
movq %rax, %rbx
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x522c
callq 0x21f0
jmp 0x522c
movq %rax, %rbx
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x5245
callq 0x21f0
jmp 0x5245
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x5264
callq 0x21f0
jmp 0x5264
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x5283
callq 0x21f0
jmp 0x5283
movq %rax, %rbx
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x529d
callq 0x21f0
leaq 0x50(%rsp), %r14
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x52bb
callq 0x21f0
jmp 0x52bb
movq %rax, %rbx
jmp 0x52a2
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x52da
callq 0x21f0
jmp 0x52da
movq %rax, %rbx
movq 0x110(%rsp), %rdi
leaq 0x120(%rsp), %rax
cmpq %rax, %rdi
je 0x52f4
callq 0x21f0
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
jne 0x533b
jmp 0x5340
movq %rax, %rbx
jmp 0x52f4
movq %rax, %rbx
jmp 0x5340
movq %rax, %rbx
movq 0x1a0(%rsp), %rdi
testq %rdi, %rdi
jne 0x546e
jmp 0x5473
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x5340
callq 0x21f0
leaq 0x1a0(%rsp), %rdi
callq 0x22d0
jmp 0x5473
movq %rax, %rbx
leaq 0x50(%rsp), %r14
jmp 0x53a8
movq %rax, %rbx
jmp 0x53d3
movq %rax, %rbx
jmp 0x5411
movq %rax, %rbx
jmp 0x5459
movq %rax, %rbx
leaq 0x20(%rsp), %r14
jmp 0x5495
movq %rax, %rbx
leaq 0x50(%rsp), %r14
jmp 0x544a
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x53a8
callq 0x21f0
movq 0x1a0(%rsp), %rdi
cmpq %r12, %rdi
je 0x53bf
callq 0x21f0
jmp 0x53bf
movq %rax, %rbx
leaq 0x70(%rsp), %rax
movq 0x60(%rsp), %rdi
cmpq %rax, %rdi
je 0x53d3
callq 0x21f0
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x53f7
callq 0x21f0
jmp 0x53f7
movq %rax, %rbx
leaq 0x50(%rsp), %r14
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x5411
callq 0x21f0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x5430
callq 0x21f0
jmp 0x5430
movq %rax, %rbx
movq 0x130(%rsp), %rdi
leaq 0x140(%rsp), %rax
cmpq %rax, %rdi
je 0x544a
callq 0x21f0
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x5459
callq 0x21f0
leaq 0x120(%rsp), %rax
movq 0x110(%rsp), %rdi
cmpq %rax, %rdi
je 0x5473
callq 0x21f0
movq %rbx, %rdi
callq 0x2370
movq %rax, %rbx
movq 0x1a0(%rsp), %rdi
cmpq %r12, %rdi
leaq 0x20(%rsp), %r14
je 0x5495
callq 0x21f0
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
jne 0x546e
jmp 0x5473
nop