// File: /workspace/github_cpp_makefile_star2_O2/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, 0x30(%rsp)
movslq 0x104(%rdi), %r15
leaq -0x1(%r15), %rax
imulq %r15, %rax
addq $-0x2, %r15
imulq %rax, %r15
shlq $0x2, %r15
andq $0x0, 0x130(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x120(%rsp)
movsd 0x108(%rdi), %xmm0
movsd %xmm0, 0x28(%rsp)
movq %rdi, 0x10(%rsp)
addq $0x60, %rdi
pushq $0x3
popq %rsi
movq %rdi, (%rsp)
callq 0x46be
pushq $0x3
popq %rbp
leaq 0x1a0(%rsp), %rbx
subl $0x1, %ebp
jb 0x33d4
xorpd %xmm0, %xmm0
movapd %xmm0, 0x1a0(%rsp)
andq $0x0, 0x1b0(%rsp)
movl $0x2710, %esi           # imm = 0x2710
movq %rbx, %rdi
callq 0x4754
movq (%rsp), %rdi
movq %rbx, %rsi
callq 0x4804
movq %rbx, %rdi
callq 0x2890
jmp 0x3396
cvtsi2sd %r15, %xmm0
movsd %xmm0, 0x20(%rsp)
movq 0x10(%rsp), %rax
movl 0x104(%rax), %eax
xorl %ebx, %ebx
movq $0x0, 0x8(%rsp)
movslq %eax, %rcx
xorl %r13d, %r13d
cmpq %rcx, %rbx
jge 0x36a6
movq %rbx, 0x18(%rsp)
movslq %eax, %rcx
cmpq %rcx, %r13
jge 0x369e
cmpq %rbx, %r13
jne 0x341f
incq %r13
jmp 0x3409
xorl %ebp, %ebp
movslq %eax, %rcx
cmpq %rcx, %rbp
jge 0x341a
cmpq %r13, %rbp
sete %cl
cmpq %rbx, %rbp
sete %dl
orb %cl, %dl
jne 0x3696
pushq $0x1
popq %r14
cmpq $0x7, %r14
je 0x3686
cmpq %rbp, %r13
setae %al
cmpq $0x5, %r14
setb %cl
testb %cl, %al
jne 0x367e
imulq $0x18, %r13, %rax
movq 0x10(%rsp), %r12
movq (%r12), %rcx
movq 0x30(%r12), %rdx
movq (%rcx,%rax), %rax
imulq $0x18, %rbp, %rcx
movq (%rax,%rcx), %rax
movl (%rax,%r14,4), %ebx
movq 0x18(%rsp), %rcx
movl (%rdx,%rcx,4), %eax
movl %eax, 0x38(%rsp)
movq %r12, %rdi
movl %r13d, %esi
movl %ebp, %edx
movl %r14d, %r8d
callq 0x3eea
xorpd %xmm0, %xmm0
movapd %xmm0, 0x1a0(%rsp)
andq $0x0, 0x1b0(%rsp)
movq %r12, %rdi
movl %ebx, %esi
movl 0x38(%rsp), %edx
movl %eax, %ecx
movl 0x30(%rsp), %r8d
movsd 0x28(%rsp), %xmm0
callq 0x4034
movsd %xmm0, 0x1a0(%rsp)
cvtsi2sd %r14d, %xmm0
movq %r12, %rdi
movq %r13, %rbx
movl %r13d, %esi
movl %ebp, %edx
movq 0x18(%rsp), %rcx
movsd 0x28(%rsp), %xmm1
leaq 0x1a8(%rsp), %r8
leaq 0x1b0(%rsp), %r9
callq 0x40e6
xorl %r13d, %r13d
xorl %r12d, %r12d
cmpq $0x3, %r12
je 0x35a0
movq %r15, %rdi
callq 0x4830
mulsd 0x20(%rsp), %xmm0
movq 0x120(%rsp,%r12,8), %rax
movq %r15, %rcx
subq %rax, %rcx
cvtsi2sd %rcx, %xmm1
divsd %xmm1, %xmm0
movsd 0x1a0(%rsp,%r12,8), %xmm1
mulsd %xmm1, %xmm0
movsd 0x28(%rsp), %xmm2
ucomisd %xmm0, %xmm2
jbe 0x3589
movl %ebx, 0x40(%rsp)
movl %ebp, 0x44(%rsp)
movq 0x18(%rsp), %rax
movl %eax, 0x48(%rsp)
movl %r14d, 0x4c(%rsp)
movsd %xmm1, 0x50(%rsp)
movq (%rsp), %rax
movq (%rax), %rdi
addq %r13, %rdi
leaq 0x40(%rsp), %rsi
callq 0x483a
jmp 0x3594
incq %rax
movq %rax, 0x120(%rsp,%r12,8)
incq %r12
addq $0x18, %r13
jmp 0x350e
movq 0x8(%rsp), %rax
incq %rax
movq %rax, 0x8(%rsp)
cqto
movl $0xf4240, %ecx          # imm = 0xF4240
idivq %rcx
testq %rdx, %rdx
jne 0x367b
movq 0x9a11(%rip), %rdi      # 0xcfd8
movq 0x8(%rsp), %rsi
callq 0x20b0
movq %rax, %rdi
leaq 0x4ad6(%rip), %rsi      # 0x80b1
callq 0x21b0
movq %rax, %rdi
movq %r15, %rsi
callq 0x20b0
movq %rax, %rdi
leaq 0x4ad0(%rip), %rsi      # 0x80c5
callq 0x21b0
movq %rax, %rdi
movq (%rsp), %r12
movq (%r12), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
cqto
pushq $0x18
popq %r13
idivq %r13
movq %rax, %rsi
callq 0x2140
movq %rax, %rdi
leaq 0x4a9e(%rip), %rsi      # 0x80c5
callq 0x21b0
movq %rax, %rdi
movq (%r12), %rcx
movq 0x20(%rcx), %rax
subq 0x18(%rcx), %rax
cqto
idivq %r13
movq %rax, %rsi
callq 0x2140
movq %rax, %rdi
leaq 0x4a73(%rip), %rsi      # 0x80c5
callq 0x21b0
movq %rax, %rdi
movq (%r12), %rcx
movq 0x38(%rcx), %rax
subq 0x30(%rcx), %rax
cqto
idivq %r13
movq %rax, %rsi
callq 0x2140
movq %rax, %rdi
callq 0x2100
movq %rbx, %r13
incq %r14
jmp 0x3441
movq 0x10(%rsp), %rax
movl 0x104(%rax), %eax
movq 0x18(%rsp), %rbx
incq %rbp
jmp 0x3421
incq %rbx
jmp 0x33f5
movq 0x992b(%rip), %r14      # 0xcfd8
cmpq $0x3, %r13
je 0x37c3
movq (%rsp), %rbx
movq (%rbx), %rax
imulq $0x18, %r13, %rbp
movq (%rax,%rbp), %rdi
movq 0x8(%rax,%rbp), %rsi
leaq -0xd2e(%rip), %rdx      # 0x29a4
callq 0x5207
movq (%rbx), %rdi
movq (%rdi,%rbp), %rbx
movq 0x8(%rdi,%rbp), %rcx
movq %rcx, %rax
subq %rbx, %rax
cqto
pushq $0x18
popq %rsi
idivq %rsi
movq %rax, %r12
movsd 0x4944(%rip), %xmm0     # 0x8040
cmpq %rcx, %rbx
je 0x374f
movsd 0x10(%rbx), %xmm1
movsd %xmm1, 0x18(%rsp)
movq %r15, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0x4830
mulsd 0x20(%rsp), %xmm0
cvtsi2sd %r12, %xmm1
divsd %xmm1, %xmm0
mulsd 0x18(%rsp), %xmm0
minsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x10(%rbx)
decq %r12
addq $0x18, %rbx
movq (%rsp), %rax
movq (%rax), %rdi
movq 0x8(%rdi,%rbp), %rcx
jmp 0x36fc
movq (%rdi,%rbp), %rsi
addq %rbp, %rdi
movq %rsi, %rdx
cmpq %rcx, %rdx
je 0x3771
movsd 0x28(%rsp), %xmm0
ucomisd 0x10(%rdx), %xmm0
ja 0x3780
addq $0x18, %rdx
jmp 0x3759
cmpq %rsi, %rcx
je 0x377a
movq %rsi, 0x8(%rdi)
movq (%rsp), %rbx
jmp 0x378f
callq 0x4860
movq (%rsp), %rbx
movq (%rbx), %rdi
addq %rbp, %rdi
callq 0x59a6
movq (%rbx), %rcx
movq 0x8(%rcx,%rbp), %rax
subq (%rcx,%rbp), %rax
cqto
pushq $0x18
popq %rcx
idivq %rcx
movq %r14, %rdi
movq %rax, %rsi
callq 0x2140
movq %rax, %rdi
callq 0x2100
incq %r13
jmp 0x36ad
movq 0x10(%rsp), %rax
leaq 0x78(%rax), %r12
pushq $0x2
popq %rsi
movq %r12, %rdi
callq 0x4866
pushq $0x1
popq %rcx
leaq 0xe0(%rsp), %rbp
leaq 0x140(%rsp), %r13
movq (%rsp), %rax
movq %r12, 0x8(%rsp)
cmpq $0x3, %rcx
je 0x39eb
movq (%rax), %rdi
imulq $0x18, %rcx, %rax
movq %rax, 0x18(%rsp)
movq (%rdi,%rax), %rbx
movq %rcx, 0x30(%rsp)
imulq $0x30, %rcx, %rax
movq %rax, 0x38(%rsp)
movq 0x18(%rsp), %rax
cmpq 0x8(%rdi,%rax), %rbx
je 0x39c4
movq %r13, %r15
leaq 0x60(%rsp), %r13
movl (%rbx), %esi
leaq 0x80(%rsp), %r14
movq %r14, %rdi
callq 0x4921
leaq 0xc0(%rsp), %rdi
movq %r14, %rsi
leaq 0x486e(%rip), %rdx      # 0x80c5
callq 0x4902
movq %rbx, 0x20(%rsp)
movl 0x4(%rbx), %esi
movq %r13, %rdi
callq 0x4921
leaq 0x160(%rsp), %rbx
movq %rbp, %rdi
leaq 0xc0(%rsp), %rsi
leaq 0x60(%rsp), %rdx
callq 0x489b
leaq 0xa0(%rsp), %rdi
movq %rbp, %rsi
leaq 0x482a(%rip), %rdx      # 0x80c5
callq 0x4902
movq 0x20(%rsp), %rax
movl 0x8(%rax), %esi
movq %rbx, %rdi
callq 0x4921
leaq 0x100(%rsp), %r14
movq %r14, %rdi
leaq 0xa0(%rsp), %rsi
movq %rbx, %rdx
callq 0x489b
leaq 0x1a0(%rsp), %rdi
movq %r14, %rsi
leaq 0x47e8(%rip), %rdx      # 0x80c5
callq 0x4902
movq 0x20(%rsp), %rax
movl 0xc(%rax), %esi
movq %r15, %r13
movq %r15, %rdi
callq 0x4921
leaq 0x40(%rsp), %r15
movq %r15, %rdi
leaq 0x1a0(%rsp), %r14
movq %r14, %rsi
movq %r13, %rdx
callq 0x489b
movq %r13, %rdi
callq 0x20f0
movq %r14, %rdi
callq 0x20f0
leaq 0x100(%rsp), %rdi
callq 0x20f0
movq %rbx, %rdi
callq 0x20f0
leaq 0xa0(%rsp), %rdi
callq 0x20f0
movq %rbp, %rdi
callq 0x20f0
leaq 0x60(%rsp), %rdi
callq 0x20f0
leaq 0xc0(%rsp), %rdi
callq 0x20f0
leaq 0x80(%rsp), %rdi
callq 0x20f0
movq 0x8(%rsp), %rax
movq (%rax), %rbx
movq 0x20(%rsp), %rax
leaq 0x10(%rax), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x4e10
movq 0x38(%rsp), %rax
leaq (%rbx,%rax), %rdi
addq $-0x30, %rdi
movq %r14, %rsi
callq 0x5d6c
movq %r14, %rdi
callq 0x20f0
movq %r15, %rdi
callq 0x20f0
movq 0x20(%rsp), %rbx
addq $0x18, %rbx
movq (%rsp), %rax
movq (%rax), %rdi
jmp 0x381b
addq 0x18(%rsp), %rdi
movq (%rdi), %rax
cmpq %rax, %rbx
je 0x39d5
movq %rax, 0x8(%rdi)
callq 0x59a6
movq 0x30(%rsp), %rcx
incq %rcx
movq (%rsp), %rax
jmp 0x37f3
movq 0x10(%rsp), %rax
movq 0xe0(%rax), %rsi
leaq 0x1a0(%rsp), %rbx
pushq $0x10
popq %rdx
movq %rbx, %rdi
callq 0x21e0
leaq 0x46a2(%rip), %rsi      # 0x80b3
movq %rbx, %rdi
callq 0x21b0
movq %rax, %rdi
movsd 0x28(%rsp), %xmm0
callq 0x22d0
movq %rax, %rdi
callq 0x2100
leaq 0x4691(%rip), %rsi      # 0x80c7
leaq 0x1a0(%rsp), %rdi
callq 0x21b0
movq %rax, %rdi
callq 0x2100
movq 0x10(%rsp), %rax
movq 0x60(%rax), %rax
movq (%rax), %r14
leaq 0x60(%rsp), %r12
cmpq 0x8(%rax), %r14
movq 0x8(%rsp), %rbx
je 0x3d18
movl (%r14), %esi
movq %r12, %rdi
callq 0x4921
leaq 0x80(%rsp), %rdi
movq %r12, %rsi
leaq 0x463d(%rip), %rdx      # 0x80c5
callq 0x4902
movl 0x4(%r14), %esi
leaq 0x160(%rsp), %r12
movq %r12, %rdi
callq 0x4921
leaq 0xc0(%rsp), %r15
movq %r15, %rdi
leaq 0x80(%rsp), %rsi
movq %r12, %rdx
callq 0x489b
leaq 0xe0(%rsp), %rdi
movq %r15, %rsi
leaq 0x45f7(%rip), %rdx      # 0x80c5
callq 0x4902
movq %r15, %r12
movl 0x8(%r14), %esi
leaq 0x140(%rsp), %r15
movq %r15, %rdi
callq 0x4921
leaq 0xa0(%rsp), %rbp
movq %rbp, %rdi
leaq 0xe0(%rsp), %rsi
movq %r15, %rdx
callq 0x489b
leaq 0x100(%rsp), %rdi
movq %rbp, %rsi
leaq 0x45ae(%rip), %rdx      # 0x80c5
callq 0x4902
movl 0xc(%r14), %esi
leaq 0x180(%rsp), %rbp
movq %rbp, %rdi
callq 0x4921
leaq 0x40(%rsp), %r13
movq %r13, %rdi
leaq 0x100(%rsp), %r15
movq %r15, %rsi
movq %rbp, %rdx
callq 0x489b
movq %rbp, %rdi
callq 0x20f0
movq %r15, %rdi
callq 0x20f0
leaq 0xa0(%rsp), %rdi
callq 0x20f0
leaq 0x140(%rsp), %rdi
callq 0x20f0
leaq 0xe0(%rsp), %rdi
callq 0x20f0
movq %r12, %rdi
callq 0x20f0
leaq 0x160(%rsp), %rdi
callq 0x20f0
leaq 0x80(%rsp), %rdi
callq 0x20f0
leaq 0x60(%rsp), %rdi
callq 0x20f0
movq (%rbx), %rdi
movq %r13, %rsi
callq 0x5f70
movq (%rbx), %rdi
leaq 0x8(%rdi), %rcx
cmpq %rcx, %rax
je 0x3d00
addq $0x30, %rdi
movq %r13, %rsi
callq 0x5f70
movq 0x8(%rsp), %rcx
movq (%rcx), %rcx
addq $0x38, %rcx
cmpq %rcx, %rax
je 0x3d00
movslq 0x8(%r14), %rsi
shlq $0x5, %rsi
movq 0x10(%rsp), %rax
addq 0xa8(%rax), %rsi
leaq 0x1a0(%rsp), %rdi
callq 0x2190
movq %rax, %rdi
leaq 0x4501(%rip), %rsi      # 0x8116
callq 0x21b0
movslq (%r14), %rsi
shlq $0x5, %rsi
movq 0x10(%rsp), %rcx
addq 0xa8(%rcx), %rsi
movq %rax, %rdi
callq 0x2190
movq %rax, %rdi
leaq 0x44d9(%rip), %rsi      # 0x8118
callq 0x21b0
movslq 0x4(%r14), %rsi
shlq $0x5, %rsi
movq 0x10(%rsp), %rcx
addq 0xa8(%rcx), %rsi
movq %rax, %rdi
callq 0x2190
movq %rax, %rdi
leaq 0x445b(%rip), %rsi      # 0x80c5
callq 0x21b0
movsd 0x10(%r14), %xmm0
movq %rax, %rdi
callq 0x22d0
movq %rax, %rdi
leaq 0x443e(%rip), %rsi      # 0x80c5
callq 0x21b0
movq %rax, %rbx
movq 0x8(%rsp), %rax
movq (%rax), %rdi
movq %r13, %rsi
callq 0x497a
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x22d0
movq %rax, %rdi
leaq 0x4410(%rip), %rsi      # 0x80c5
callq 0x21b0
movq %rax, %rbx
movq 0x8(%rsp), %rax
movq (%rax), %rdi
addq $0x30, %rdi
movq %r13, %rsi
callq 0x497a
movsd (%rax), %xmm0
movq %rbx, %rdi
callq 0x22d0
movq %rax, %rdi
leaq 0x43de(%rip), %rsi      # 0x80c5
callq 0x21b0
movl 0xc(%r14), %esi
movq %rax, %rdi
callq 0x2300
movq %rax, %rdi
callq 0x2100
movq %r13, %rdi
callq 0x20f0
addq $0x18, %r14
movq (%rsp), %rax
movq (%rax), %rax
jmp 0x3a57
leaq 0x1a0(%rsp), %rdi
callq 0x2250
leaq 0x1a0(%rsp), %rdi
callq 0x2270
addq $0x3a8, %rsp            # imm = 0x3A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3d7e
jmp 0x3e07
jmp 0x3e07
movq %rax, %rbx
leaq 0x180(%rsp), %rdi
callq 0x20f0
jmp 0x3d65
movq %rax, %rbx
leaq 0x100(%rsp), %rdi
callq 0x20f0
jmp 0x3d98
movq %rax, %rbx
jmp 0x3dde
movq %rax, %rbx
jmp 0x3deb
movq %rax, %rbx
jmp 0x3e14
movq %rax, %rbx
jmp 0x3db7
movq %rax, %rbx
jmp 0x3dc4
movq %rax, %rbx
jmp 0x3dd1
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x20f0
jmp 0x3daa
movq %rax, %rbx
leaq 0x140(%rsp), %rdi
callq 0x20f0
leaq 0xe0(%rsp), %rdi
callq 0x20f0
leaq 0xc0(%rsp), %rdi
callq 0x20f0
leaq 0x160(%rsp), %rdi
callq 0x20f0
leaq 0x80(%rsp), %rdi
callq 0x20f0
leaq 0x60(%rsp), %rdi
jmp 0x3e0f
movq %rax, %rbx
leaq 0x1a0(%rsp), %rdi
callq 0x2890
jmp 0x3ee2
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x20f0
leaq 0x1a0(%rsp), %rdi
callq 0x2270
jmp 0x3ee2
movq %rax, %rbx
jmp 0x3e3b
movq %rax, %rbx
leaq 0x140(%rsp), %rdi
callq 0x20f0
leaq 0x1a0(%rsp), %rdi
callq 0x20f0
jmp 0x3e8a
movq %rax, %rbx
jmp 0x3ed5
movq %rax, %rbx
jmp 0x3e6c
movq %rax, %rbx
jmp 0x3ec8
movq %rax, %rbx
leaq 0x1a0(%rsp), %rdi
callq 0x20f0
leaq 0x40(%rsp), %rdi
jmp 0x3edd
movq %rax, %rbx
jmp 0x3ebe
movq %rax, %rbx
jmp 0x3eb1
movq %rax, %rbx
jmp 0x3ea4
movq %rax, %rbx
jmp 0x3e97
movq %rax, %rbx
leaq 0x100(%rsp), %rdi
callq 0x20f0
leaq 0x160(%rsp), %rdi
callq 0x20f0
leaq 0xa0(%rsp), %rdi
callq 0x20f0
leaq 0xe0(%rsp), %rdi
callq 0x20f0
leaq 0x60(%rsp), %rdi
callq 0x20f0
leaq 0xc0(%rsp), %rdi
callq 0x20f0
leaq 0x80(%rsp), %rdi
callq 0x20f0
movq %rbx, %rdi
callq 0x2310