// File: jamesliu516[P]amrdg2d/point_vec.cpp
// Function: point_vec()
void point_vec()
{
   Node *current;
   
   OctCell *pcell0;
   OctCell *pcell1;
   Vec2D x0,x1;
   
  // OctCell *pcellv[4]={NULL}; 
   map<OctCell *, short> pcellv; //��������cell,�ڶ�������ֵ��ʾcell�ĵڼ������㹲��cell
   set<OctCell *> pcell_set;   //���ܹ�������Щcell
   
   cellPointIndex cpi1;	
   pointInCell pic1;
   
   int cnt=0;//the number of points
   short cnl=0;//��ʾ���������м���cell���˵�,һ��4��������Ӧ��ϸ���洦Ϊ2
   
   int idflg=0;
   
   int id1=0;
   short ii,jj;
   
   OctCell *pp[8]={NULL};
   OctCell *parent;
   
   current = HeadListAllGrid;  
   
   cellPoints.clear();
   points4out.clear();
  while(current != NULL)
  {		
    pcell0 = current->cell;
    if(pcell0->flag % 2 == 0 && current->flg==0) 
//    if(pcell0->exflag  == 2  ) 
         cellPoints.insert(make_pair(pcell0,cpi1)); 
    current = current->next;
  }
  
  cout<<"Total output cells: "<<cellPoints.size()<<endl;

  
  cnt=0;
  	   
    map<OctCell *, cellPointIndex>::iterator itmb;

    for(map<OctCell *, cellPointIndex>::iterator itmap=cellPoints.begin(); itmap!=cellPoints.end();++itmap) {
    
        parent=pcell0=itmap->first;       
    
        pp[0]=EastNeighbor(parent);
	 pp[1]=NorthNeighbor(pp[0]);
        pp[2]=NorthNeighbor(parent);
	 pp[3]=WestNeighbor(pp[2]);
	 pp[4]=WestNeighbor(parent);
	 pp[5]=SouthNeighbor(pp[4]);
	 pp[6]=SouthNeighbor(parent);
	 pp[7]=EastNeighbor(pp[6]);
         
        pcell_set.clear();
        if(pp[0]->reflag==0){
            pcell_set.insert(pp[0]);
         }         
        else {
            pcell_set.insert(pp[0]->children[3]);
            pcell_set.insert(pp[0]->children[0]);
        }
        
        if(pp[1]->reflag==0){
            pcell_set.insert(pp[1]);
         }         
        else {
            pcell_set.insert(pp[1]->children[0]);
         }        
         
        if(pp[2]->reflag==0){
            pcell_set.insert(pp[2]);
         }         
        else {
            pcell_set.insert(pp[2]->children[1]);
            pcell_set.insert(pp[2]->children[0]);
        }
        
        if(pp[3]->reflag==0){
            pcell_set.insert(pp[3]);
         }         
        else {
            pcell_set.insert(pp[3]->children[1]);
        }

        if(pp[4]->reflag==0){
            pcell_set.insert(pp[4]);
         }         
        else {
            pcell_set.insert(pp[4]->children[2]);
            pcell_set.insert(pp[4]->children[1]);
        }
                                
        if(pp[5]->reflag==0){
            pcell_set.insert(pp[5]);
         }         
        else {
            pcell_set.insert(pp[5]->children[2]);
        }
        
        if(pp[6]->reflag==0){
            pcell_set.insert(pp[6]);
         }         
        else {
            pcell_set.insert(pp[6]->children[3]);
            pcell_set.insert(pp[6]->children[2]);
        }
        
        if(pp[7]->reflag==0){
            pcell_set.insert(pp[7]);
         }         
        else {
            pcell_set.insert(pp[7]->children[3]);
        }        
        
         
        pcellv.clear(); 
        if(itmap->second.iPoint[0]==0) 
         {
             x0[0]=pcell0->xc1-0.5*pcell0->dx;
             x0[1]=pcell0->yc1-0.5*pcell0->dy;  
                                   
             idflg=0;  //ȡ���Ѿ����ǵĵ���Ӧ�������еĵ�����  
             cnl=0;//��ʾ���������м���cell���˵�,һ��4��������Ӧ��ϸ���洦Ϊ2
             for(set<OctCell*>::iterator iter=pcell_set.begin(); iter!=pcell_set.end(); ++iter){
                  pcell1=*iter;
                  for(short i1=0;i1<4; ++i1){
 	              switch(i1) {	
	                  case 0: ii=-1;jj=-1;break;
	                  case 1: ii=1;jj=-1;break;
	                  case 2: ii=1;jj=1;break;
	                  case 3: ii=-1;jj=1;break;	
	                }            
	           x1[0]=pcell1->xc1+ii*pcell1->dx/2.0;				
	           x1[1]=pcell1->yc1+jj*pcell1->dy/2.0;	
	                
	           if(fabs(x1-x0)<ERRS){
	              ++cnl;
                     itmb=cellPoints.find(pcell1);                   
                     if(itmb!=cellPoints.end()){
                          pcellv.insert(make_pair(pcell1,i1));
                       }
                    }
                  }
                if(cnl==4) break;
             }
             
            for(map<OctCell*, short>::iterator itm1=pcellv.begin(); itm1!=pcellv.end(); ++itm1){
               if(cellPoints[itm1->first].iPoint[itm1->second]!=0)
                    idflg=cellPoints[itm1->first].iPoint[itm1->second];
             }
            
            if(idflg==0){
               cnt++;
               id1=cnt;
               pic1.pt=x0;  
               points4out.push_back(pic1);        
             }
            else{
               id1=idflg;
             }
             
           itmap->second.iPoint[0]=id1;
           
            for(map<OctCell*, short>::iterator itm1=pcellv.begin(); itm1!=pcellv.end(); ++itm1){
                    cellPoints[itm1->first].iPoint[itm1->second]=id1;
             }           
        } 
 //==          
        pcellv.clear(); 
        if(itmap->second.iPoint[1]==0) 
         {
             x0[0]=pcell0->xc1+0.5*pcell0->dx;
             x0[1]=pcell0->yc1-0.5*pcell0->dy;  
                                   
             idflg=0;  //ȡ���Ѿ����ǵĵ���Ӧ�������еĵ�����  
             cnl=0;//��ʾ���������м���cell���˵�,һ��4��������Ӧ��ϸ���洦Ϊ3
             for(set<OctCell*>::iterator iter=pcell_set.begin(); iter!=pcell_set.end(); ++iter){
                  pcell1=*iter;
                  for(short i1=0;i1<4; ++i1){
 	              switch(i1) {	
	                  case 0: ii=-1;jj=-1;break;
	                  case 1: ii=1;jj=-1;break;
	                  case 2: ii=1;jj=1;break;
	                  case 3: ii=-1;jj=1;break;	
	                }            
	           x1[0]=pcell1->xc1+ii*pcell1->dx/2.0;				
	           x1[1]=pcell1->yc1+jj*pcell1->dy/2.0;	
	                
	           if(fabs(x1-x0)<ERRS){
	              ++cnl;
                     itmb=cellPoints.find(pcell1);                   
                     if(itmb!=cellPoints.end()){
                          pcellv.insert(make_pair(pcell1,i1));
                       }
                    }
                  }
                if(cnl==4) break;
             }
             
            for(map<OctCell*, short>::iterator itm1=pcellv.begin(); itm1!=pcellv.end(); ++itm1){
               if(cellPoints[itm1->first].iPoint[itm1->second]!=0)
                    idflg=cellPoints[itm1->first].iPoint[itm1->second];
             }
            
            if(idflg==0){
               cnt++;
               id1=cnt;
               pic1.pt=x0;                
                points4out.push_back(pic1);                        
             }
            else{
               id1=idflg;
             }
             
           itmap->second.iPoint[1]=id1;
           
            for(map<OctCell*, short>::iterator itm1=pcellv.begin(); itm1!=pcellv.end(); ++itm1){
                    cellPoints[itm1->first].iPoint[itm1->second]=id1;
             }           
        } 
//==
        pcellv.clear(); 
        if(itmap->second.iPoint[2]==0) 
         {
             x0[0]=pcell0->xc1+0.5*pcell0->dx;
             x0[1]=pcell0->yc1+0.5*pcell0->dy;  
                                   
             idflg=0;  //ȡ���Ѿ����ǵĵ���Ӧ�������еĵ�����  
             cnl=0;//��ʾ���������м���cell���˵�,һ��4��������Ӧ��ϸ���洦Ϊ3
             for(set<OctCell*>::iterator iter=pcell_set.begin(); iter!=pcell_set.end(); ++iter){
                  pcell1=*iter;
                  for(short i1=0;i1<4; ++i1){
 	              switch(i1) {	
	                  case 0: ii=-1;jj=-1;break;
	                  case 1: ii=1;jj=-1;break;
	                  case 2: ii=1;jj=1;break;
	                  case 3: ii=-1;jj=1;break;	
	                }            
	           x1[0]=pcell1->xc1+ii*pcell1->dx/2.0;				
	           x1[1]=pcell1->yc1+jj*pcell1->dy/2.0;	
	                
	           if(fabs(x1-x0)<ERRS){
	              ++cnl;
                     itmb=cellPoints.find(pcell1);                   
                     if(itmb!=cellPoints.end()){
                          pcellv.insert(make_pair(pcell1,i1));
                       }
                    }
                  }
                if(cnl==4) break;
             }
             
            for(map<OctCell*, short>::iterator itm1=pcellv.begin(); itm1!=pcellv.end(); ++itm1){
               if(cellPoints[itm1->first].iPoint[itm1->second]!=0)
                    idflg=cellPoints[itm1->first].iPoint[itm1->second];
             }
            
            if(idflg==0){
               cnt++;
               id1=cnt;
               pic1.pt=x0;
               points4out.push_back(pic1);                
                         
             }
            else{
               id1=idflg;
             }
             
           itmap->second.iPoint[2]=id1;
           
            for(map<OctCell*, short>::iterator itm1=pcellv.begin(); itm1!=pcellv.end(); ++itm1){
                    cellPoints[itm1->first].iPoint[itm1->second]=id1;
             }           
        }         
// 

        pcellv.clear(); 
        if(itmap->second.iPoint[3]==0) 
         {
             x0[0]=pcell0->xc1-0.5*pcell0->dx;
             x0[1]=pcell0->yc1+0.5*pcell0->dy;  
                                   
             idflg=0;  //ȡ���Ѿ����ǵĵ���Ӧ�������еĵ�����  
             cnl=0;//��ʾ���������м���cell���˵�,һ��4��������Ӧ��ϸ���洦Ϊ3
             for(set<OctCell*>::iterator iter=pcell_set.begin(); iter!=pcell_set.end(); ++iter){
                  pcell1=*iter;
                  for(short i1=0;i1<4; ++i1){
 	              switch(i1) {	
	                  case 0: ii=-1;jj=-1;break;
	                  case 1: ii=1;jj=-1;break;
	                  case 2: ii=1;jj=1;break;
	                  case 3: ii=-1;jj=1;break;	
	                }            
	           x1[0]=pcell1->xc1+ii*pcell1->dx/2.0;				
	           x1[1]=pcell1->yc1+jj*pcell1->dy/2.0;	
	                
	           if(fabs(x1-x0)<ERRS){
	              ++cnl;
                     itmb=cellPoints.find(pcell1);                   
                     if(itmb!=cellPoints.end()){
                          pcellv.insert(make_pair(pcell1,i1));
                       }
                    }
                  }
                if(cnl==4) break;
             }
             
            for(map<OctCell*, short>::iterator itm1=pcellv.begin(); itm1!=pcellv.end(); ++itm1){
               if(cellPoints[itm1->first].iPoint[itm1->second]!=0)
                    idflg=cellPoints[itm1->first].iPoint[itm1->second];
             }
            
            if(idflg==0){
               cnt++;
               id1=cnt;
               pic1.pt=x0; 
                points4out.push_back(pic1);                        
             }
            else{
               id1=idflg;
             }
             
           itmap->second.iPoint[3]=id1;
           
            for(map<OctCell*, short>::iterator itm1=pcellv.begin(); itm1!=pcellv.end(); ++itm1){
                    cellPoints[itm1->first].iPoint[itm1->second]=id1;
             }           
        }        
   }     
   
   cout<<"Total Output Points: "<<cnt<<endl; 
   bool is_here=false;
   int tnmc;
   for(map<OctCell *, cellPointIndex>::iterator itmap=cellPoints.begin(); itmap!=cellPoints.end();++itmap) {
        pcell0=itmap->first;
       for(int m=0; m<4;++m) {
         is_here=false;
         tnmc=points4out[itmap->second.iPoint[m]-1].nmc;
         for(int i1=0;i1<tnmc; ++i1) {
             if(points4out[itmap->second.iPoint[m]-1].mcell[i1]==pcell0) {
                  is_here=true;
                  break;
               }
          }
         if(!is_here) {
              points4out[itmap->second.iPoint[m]-1].mcell[tnmc]=pcell0;
              points4out[itmap->second.iPoint[m]-1].nmc+=1;
         }
      }
    }
    
  }

// Assembly:
subq $0x998, %rsp            # imm = 0x998
leaq 0x970(%rsp), %rdi
xorps %xmm1, %xmm1
movsd %xmm1, 0x480(%rsp)
movaps %xmm1, %xmm0
callq 0x1e1a0
movsd 0x480(%rsp), %xmm1
leaq 0x960(%rsp), %rdi
movaps %xmm1, %xmm0
callq 0x1e1a0
leaq 0x930(%rsp), %rdi
callq 0xb4e0
leaq 0x900(%rsp), %rdi
callq 0x6510
leaq 0x8f0(%rsp), %rdi
callq 0x55b0
jmp 0x8ca5
leaq 0x8a8(%rsp), %rdi
callq 0x55f0
jmp 0x8cb4
movl $0x0, 0x8a4(%rsp)
movw $0x0, 0x8a2(%rsp)
movl $0x0, 0x89c(%rsp)
movl $0x0, 0x898(%rsp)
leaq 0x850(%rsp), %rdi
xorl %esi, %esi
movl $0x40, %edx
callq 0x3150
leaq 0x479a6(%rip), %rax     # 0x506a0
movq (%rax), %rax
movq %rax, 0x990(%rsp)
leaq 0x47a4c(%rip), %rdi     # 0x50758
callq 0xb4f0
leaq 0x47a70(%rip), %rdi     # 0x50788
callq 0xb500
cmpq $0x0, 0x990(%rsp)
je 0x8e24
movq 0x990(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x988(%rsp)
movq 0x988(%rsp), %rax
movswl 0x1b0(%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x8e0b
movq 0x990(%rsp), %rax
movswl (%rax), %eax
cmpl $0x0, %eax
jne 0x8e0b
leaq 0x830(%rsp), %rdi
leaq 0x988(%rsp), %rsi
leaq 0x8f0(%rsp), %rdx
callq 0xb570
jmp 0x8d93
leaq 0x479be(%rip), %rdi     # 0x50758
leaq 0x830(%rsp), %rsi
callq 0xb520
movb %dl, 0x477(%rsp)
movq %rax, 0x478(%rsp)
jmp 0x8db8
movb 0x477(%rsp), %al
movq 0x478(%rsp), %rcx
movq %rcx, 0x820(%rsp)
movb %al, 0x828(%rsp)
jmp 0x8e0b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x8e8(%rsp)
movl %eax, 0x8e4(%rsp)
leaq 0x900(%rsp), %rdi
callq 0x6520
leaq 0x930(%rsp), %rdi
callq 0xbb10
jmp 0xb4d2
movq 0x990(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x990(%rsp)
jmp 0x8d1d
movq 0x421a5(%rip), %rdi     # 0x4afd0
leaq 0x3635e(%rip), %rsi     # 0x3f190
callq 0x3240
movq %rax, 0x468(%rsp)
jmp 0x8e41
leaq 0x47910(%rip), %rdi     # 0x50758
callq 0xb5a0
movq 0x468(%rsp), %rdi
movq %rax, %rsi
callq 0x30a0
movq %rax, 0x460(%rsp)
jmp 0x8e67
movq 0x460(%rsp), %rdi
movq 0x42142(%rip), %rsi     # 0x4afb8
callq 0x3290
jmp 0x8e7d
movl $0x0, 0x8a4(%rsp)
leaq 0x818(%rsp), %rdi
callq 0xb5b0
leaq 0x478bc(%rip), %rdi     # 0x50758
callq 0xb5d0
movq %rax, 0x810(%rsp)
leaq 0x478a8(%rip), %rdi     # 0x50758
callq 0xb620
movq %rax, 0x808(%rsp)
leaq 0x810(%rsp), %rdi
leaq 0x808(%rsp), %rsi
callq 0xb600
testb $0x1, %al
jne 0x8edb
jmp 0xb278
leaq 0x810(%rsp), %rdi
callq 0xb650
movq (%rax), %rax
movq %rax, 0x988(%rsp)
movq %rax, 0x848(%rsp)
movq 0x848(%rsp), %rdi
callq 0x118d0
movq %rax, 0x458(%rsp)
jmp 0x8f12
movq 0x458(%rsp), %rax
movq %rax, 0x850(%rsp)
movq 0x850(%rsp), %rdi
callq 0x11670
movq %rax, 0x450(%rsp)
jmp 0x8f39
movq 0x450(%rsp), %rax
movq %rax, 0x858(%rsp)
movq 0x848(%rsp), %rdi
callq 0x11670
movq %rax, 0x448(%rsp)
jmp 0x8f60
movq 0x448(%rsp), %rax
movq %rax, 0x860(%rsp)
movq 0x860(%rsp), %rdi
callq 0x117a0
movq %rax, 0x440(%rsp)
jmp 0x8f87
movq 0x440(%rsp), %rax
movq %rax, 0x868(%rsp)
movq 0x848(%rsp), %rdi
callq 0x117a0
movq %rax, 0x438(%rsp)
jmp 0x8fae
movq 0x438(%rsp), %rax
movq %rax, 0x870(%rsp)
movq 0x870(%rsp), %rdi
callq 0x11a00
movq %rax, 0x430(%rsp)
jmp 0x8fd5
movq 0x430(%rsp), %rax
movq %rax, 0x878(%rsp)
movq 0x848(%rsp), %rdi
callq 0x11a00
movq %rax, 0x428(%rsp)
jmp 0x8ffc
movq 0x428(%rsp), %rax
movq %rax, 0x880(%rsp)
movq 0x880(%rsp), %rdi
callq 0x118d0
movq %rax, 0x420(%rsp)
jmp 0x9023
movq 0x420(%rsp), %rax
movq %rax, 0x888(%rsp)
leaq 0x900(%rsp), %rdi
callq 0xb670
movq 0x850(%rsp), %rax
movswl 0x1fc(%rax), %eax
cmpl $0x0, %eax
jne 0x909d
leaq 0x900(%rsp), %rdi
leaq 0x850(%rsp), %rsi
callq 0xb680
movb %dl, 0x417(%rsp)
movq %rax, 0x418(%rsp)
jmp 0x907a
movb 0x417(%rsp), %al
movq 0x418(%rsp), %rcx
movq %rcx, 0x7f8(%rsp)
movb %al, 0x800(%rsp)
jmp 0x9133
movq 0x850(%rsp), %rsi
addq $0x270, %rsi            # imm = 0x270
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x407(%rsp)
movq %rax, 0x408(%rsp)
jmp 0x90ca
movb 0x407(%rsp), %al
movq 0x408(%rsp), %rcx
movq %rcx, 0x7e8(%rsp)
movb %al, 0x7f0(%rsp)
movq 0x850(%rsp), %rsi
addq $0x258, %rsi            # imm = 0x258
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x3f7(%rsp)
movq %rax, 0x3f8(%rsp)
jmp 0x9115
movb 0x3f7(%rsp), %al
movq 0x3f8(%rsp), %rcx
movq %rcx, 0x7d8(%rsp)
movb %al, 0x7e0(%rsp)
movq 0x858(%rsp), %rax
movswl 0x1fc(%rax), %eax
cmpl $0x0, %eax
jne 0x918d
leaq 0x858(%rsp), %rsi
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x3e7(%rsp)
movq %rax, 0x3e8(%rsp)
jmp 0x916d
movb 0x3e7(%rsp), %al
movq 0x3e8(%rsp), %rcx
movq %rcx, 0x7c8(%rsp)
movb %al, 0x7d0(%rsp)
jmp 0x91d8
movq 0x858(%rsp), %rsi
addq $0x258, %rsi            # imm = 0x258
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x3d7(%rsp)
movq %rax, 0x3d8(%rsp)
jmp 0x91ba
movb 0x3d7(%rsp), %al
movq 0x3d8(%rsp), %rcx
movq %rcx, 0x7b8(%rsp)
movb %al, 0x7c0(%rsp)
movq 0x860(%rsp), %rax
movswl 0x1fc(%rax), %eax
cmpl $0x0, %eax
jne 0x9235
leaq 0x860(%rsp), %rsi
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x3c7(%rsp)
movq %rax, 0x3c8(%rsp)
jmp 0x9212
movb 0x3c7(%rsp), %al
movq 0x3c8(%rsp), %rcx
movq %rcx, 0x7a8(%rsp)
movb %al, 0x7b0(%rsp)
jmp 0x92cb
movq 0x860(%rsp), %rsi
addq $0x260, %rsi            # imm = 0x260
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x3b7(%rsp)
movq %rax, 0x3b8(%rsp)
jmp 0x9262
movb 0x3b7(%rsp), %al
movq 0x3b8(%rsp), %rcx
movq %rcx, 0x798(%rsp)
movb %al, 0x7a0(%rsp)
movq 0x860(%rsp), %rsi
addq $0x258, %rsi            # imm = 0x258
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x3a7(%rsp)
movq %rax, 0x3a8(%rsp)
jmp 0x92ad
movb 0x3a7(%rsp), %al
movq 0x3a8(%rsp), %rcx
movq %rcx, 0x788(%rsp)
movb %al, 0x790(%rsp)
movq 0x868(%rsp), %rax
movswl 0x1fc(%rax), %eax
cmpl $0x0, %eax
jne 0x9325
leaq 0x868(%rsp), %rsi
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x397(%rsp)
movq %rax, 0x398(%rsp)
jmp 0x9305
movb 0x397(%rsp), %al
movq 0x398(%rsp), %rcx
movq %rcx, 0x778(%rsp)
movb %al, 0x780(%rsp)
jmp 0x9370
movq 0x868(%rsp), %rsi
addq $0x260, %rsi            # imm = 0x260
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x387(%rsp)
movq %rax, 0x388(%rsp)
jmp 0x9352
movb 0x387(%rsp), %al
movq 0x388(%rsp), %rcx
movq %rcx, 0x768(%rsp)
movb %al, 0x770(%rsp)
movq 0x870(%rsp), %rax
movswl 0x1fc(%rax), %eax
cmpl $0x0, %eax
jne 0x93cd
leaq 0x870(%rsp), %rsi
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x377(%rsp)
movq %rax, 0x378(%rsp)
jmp 0x93aa
movb 0x377(%rsp), %al
movq 0x378(%rsp), %rcx
movq %rcx, 0x758(%rsp)
movb %al, 0x760(%rsp)
jmp 0x9463
movq 0x870(%rsp), %rsi
addq $0x268, %rsi            # imm = 0x268
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x367(%rsp)
movq %rax, 0x368(%rsp)
jmp 0x93fa
movb 0x367(%rsp), %al
movq 0x368(%rsp), %rcx
movq %rcx, 0x748(%rsp)
movb %al, 0x750(%rsp)
movq 0x870(%rsp), %rsi
addq $0x260, %rsi            # imm = 0x260
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x357(%rsp)
movq %rax, 0x358(%rsp)
jmp 0x9445
movb 0x357(%rsp), %al
movq 0x358(%rsp), %rcx
movq %rcx, 0x738(%rsp)
movb %al, 0x740(%rsp)
movq 0x878(%rsp), %rax
movswl 0x1fc(%rax), %eax
cmpl $0x0, %eax
jne 0x94bd
leaq 0x878(%rsp), %rsi
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x347(%rsp)
movq %rax, 0x348(%rsp)
jmp 0x949d
movb 0x347(%rsp), %al
movq 0x348(%rsp), %rcx
movq %rcx, 0x728(%rsp)
movb %al, 0x730(%rsp)
jmp 0x9508
movq 0x878(%rsp), %rsi
addq $0x268, %rsi            # imm = 0x268
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x337(%rsp)
movq %rax, 0x338(%rsp)
jmp 0x94ea
movb 0x337(%rsp), %al
movq 0x338(%rsp), %rcx
movq %rcx, 0x718(%rsp)
movb %al, 0x720(%rsp)
movq 0x880(%rsp), %rax
movswl 0x1fc(%rax), %eax
cmpl $0x0, %eax
jne 0x9565
leaq 0x880(%rsp), %rsi
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x327(%rsp)
movq %rax, 0x328(%rsp)
jmp 0x9542
movb 0x327(%rsp), %al
movq 0x328(%rsp), %rcx
movq %rcx, 0x708(%rsp)
movb %al, 0x710(%rsp)
jmp 0x95fb
movq 0x880(%rsp), %rsi
addq $0x270, %rsi            # imm = 0x270
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x317(%rsp)
movq %rax, 0x318(%rsp)
jmp 0x9592
movb 0x317(%rsp), %al
movq 0x318(%rsp), %rcx
movq %rcx, 0x6f8(%rsp)
movb %al, 0x700(%rsp)
movq 0x880(%rsp), %rsi
addq $0x268, %rsi            # imm = 0x268
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x307(%rsp)
movq %rax, 0x308(%rsp)
jmp 0x95dd
movb 0x307(%rsp), %al
movq 0x308(%rsp), %rcx
movq %rcx, 0x6e8(%rsp)
movb %al, 0x6f0(%rsp)
movq 0x888(%rsp), %rax
movswl 0x1fc(%rax), %eax
cmpl $0x0, %eax
jne 0x9655
leaq 0x888(%rsp), %rsi
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x2f7(%rsp)
movq %rax, 0x2f8(%rsp)
jmp 0x9635
movb 0x2f7(%rsp), %al
movq 0x2f8(%rsp), %rcx
movq %rcx, 0x6d8(%rsp)
movb %al, 0x6e0(%rsp)
jmp 0x96a0
movq 0x888(%rsp), %rsi
addq $0x270, %rsi            # imm = 0x270
leaq 0x900(%rsp), %rdi
callq 0xb680
movb %dl, 0x2e7(%rsp)
movq %rax, 0x2e8(%rsp)
jmp 0x9682
movb 0x2e7(%rsp), %al
movq 0x2e8(%rsp), %rcx
movq %rcx, 0x6c8(%rsp)
movb %al, 0x6d0(%rsp)
leaq 0x930(%rsp), %rdi
callq 0xb6e0
leaq 0x810(%rsp), %rdi
callq 0xb650
cmpl $0x0, 0x8(%rax)
jne 0x9da3
movq 0x988(%rsp), %rax
movsd 0x278(%rax), %xmm1
movsd 0x288(%rax), %xmm0
movsd 0x35a54(%rip), %xmm2    # 0x3f138
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x2d0(%rsp)
leaq 0x970(%rsp), %rdi
xorl %esi, %esi
callq 0x1e9b0
movq %rax, 0x2d8(%rsp)
jmp 0x970e
movq 0x2d8(%rsp), %rax
movsd 0x2d0(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x988(%rsp), %rax
movsd 0x280(%rax), %xmm1
movsd 0x290(%rax), %xmm0
movsd 0x359f5(%rip), %xmm2    # 0x3f138
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x2c0(%rsp)
leaq 0x970(%rsp), %rdi
movl $0x1, %esi
callq 0x1e9b0
movq %rax, 0x2c8(%rsp)
jmp 0x9770
movq 0x2c8(%rsp), %rax
movsd 0x2c0(%rsp), %xmm0
movsd %xmm0, (%rax)
movl $0x0, 0x89c(%rsp)
movw $0x0, 0x8a2(%rsp)
leaq 0x900(%rsp), %rdi
callq 0xb6f0
movq %rax, 0x6c0(%rsp)
leaq 0x900(%rsp), %rdi
callq 0xb740
movq %rax, 0x6b8(%rsp)
leaq 0x6c0(%rsp), %rdi
leaq 0x6b8(%rsp), %rsi
callq 0xb720
testb $0x1, %al
jne 0x97e2
jmp 0x9b73
leaq 0x6c0(%rsp), %rdi
callq 0xb770
movq (%rax), %rax
movq %rax, 0x980(%rsp)
movw $0x0, 0x6b6(%rsp)
movswl 0x6b6(%rsp), %eax
cmpl $0x4, %eax
jge 0x9b50
movswl 0x6b6(%rsp), %eax
movl %eax, %ecx
movq %rcx, 0x2b8(%rsp)
subl $0x3, %eax
ja 0x989a
movq 0x2b8(%rsp), %rax
leaq 0x35945(%rip), %rcx     # 0x3f180
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movw $0xffff, 0x896(%rsp)    # imm = 0xFFFF
movw $0xffff, 0x894(%rsp)    # imm = 0xFFFF
jmp 0x989a
movw $0x1, 0x896(%rsp)
movw $0xffff, 0x894(%rsp)    # imm = 0xFFFF
jmp 0x989a
movw $0x1, 0x896(%rsp)
movw $0x1, 0x894(%rsp)
jmp 0x989a
movw $0xffff, 0x896(%rsp)    # imm = 0xFFFF
movw $0x1, 0x894(%rsp)
movq 0x980(%rsp), %rax
movswl 0x896(%rsp), %ecx
cvtsi2sd %ecx, %xmm1
movsd 0x278(%rax), %xmm0
movsd 0x288(%rax), %xmm2
mulsd %xmm2, %xmm1
movsd 0x35876(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x2a8(%rsp)
leaq 0x960(%rsp), %rdi
xorl %esi, %esi
callq 0x1e9b0
movq %rax, 0x2b0(%rsp)
jmp 0x98f4
movq 0x2b0(%rsp), %rax
movsd 0x2a8(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x980(%rsp), %rax
movswl 0x894(%rsp), %ecx
cvtsi2sd %ecx, %xmm1
movsd 0x280(%rax), %xmm0
movsd 0x290(%rax), %xmm2
mulsd %xmm2, %xmm1
movsd 0x35807(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x298(%rsp)
leaq 0x960(%rsp), %rdi
movl $0x1, %esi
callq 0x1e9b0
movq %rax, 0x2a0(%rsp)
jmp 0x9966
movq 0x2a0(%rsp), %rax
movsd 0x298(%rsp), %xmm0
movsd %xmm0, (%rax)
leaq 0x960(%rsp), %rdi
leaq 0x970(%rsp), %rsi
callq 0x1e880
movsd %xmm1, 0x288(%rsp)
movsd %xmm0, 0x290(%rsp)
jmp 0x99a4
movsd 0x288(%rsp), %xmm0
movsd 0x290(%rsp), %xmm1
movsd %xmm1, 0x6a0(%rsp)
movsd %xmm0, 0x6a8(%rsp)
movsd 0x6a0(%rsp), %xmm0
movsd 0x6a8(%rsp), %xmm1
callq 0x1e210
movsd %xmm0, 0x280(%rsp)
jmp 0x99ea
movsd 0x280(%rsp), %xmm1
movsd 0x3574d(%rip), %xmm0    # 0x3f148
ucomisd %xmm1, %xmm0
jbe 0x9b35
movw 0x8a2(%rsp), %ax
incw %ax
movw %ax, 0x8a2(%rsp)
leaq 0x46d39(%rip), %rdi     # 0x50758
leaq 0x980(%rsp), %rsi
callq 0xb790
movq %rax, 0x278(%rsp)
jmp 0x9a36
movq 0x278(%rsp), %rax
movq %rax, 0x698(%rsp)
movq 0x698(%rsp), %rax
movq %rax, 0x818(%rsp)
leaq 0x46cfb(%rip), %rdi     # 0x50758
callq 0xb620
movq %rax, 0x690(%rsp)
leaq 0x818(%rsp), %rdi
leaq 0x690(%rsp), %rsi
callq 0xb600
testb $0x1, %al
jne 0x9a88
jmp 0x9b33
leaq 0x980(%rsp), %rdi
leaq 0x6b6(%rsp), %rsi
callq 0xb810
movw %dx, 0x26e(%rsp)
movq %rax, 0x270(%rsp)
jmp 0x9aaf
movw 0x26e(%rsp), %ax
movq 0x270(%rsp), %rcx
movq %rcx, 0x670(%rsp)
movw %ax, 0x678(%rsp)
movw 0x678(%rsp), %ax
movw %ax, 0x688(%rsp)
movq 0x670(%rsp), %rax
movq %rax, 0x680(%rsp)
leaq 0x930(%rsp), %rdi
leaq 0x680(%rsp), %rsi
callq 0xb7c0
movb %dl, 0x25f(%rsp)
movq %rax, 0x260(%rsp)
jmp 0x9b15
movb 0x25f(%rsp), %al
movq 0x260(%rsp), %rcx
movq %rcx, 0x660(%rsp)
movb %al, 0x668(%rsp)
jmp 0x9b35
jmp 0x9b37
movw 0x6b6(%rsp), %ax
addw $0x1, %ax
movw %ax, 0x6b6(%rsp)
jmp 0x9804
movswl 0x8a2(%rsp), %eax
cmpl $0x4, %eax
jne 0x9b5f
jmp 0x9b73
jmp 0x9b61
leaq 0x6c0(%rsp), %rdi
callq 0xb850
jmp 0x97af
leaq 0x930(%rsp), %rdi
callq 0xb880
movq %rax, 0x658(%rsp)
leaq 0x930(%rsp), %rdi
callq 0xb8d0
movq %rax, 0x650(%rsp)
leaq 0x658(%rsp), %rdi
leaq 0x650(%rsp), %rsi
callq 0xb8b0
testb $0x1, %al
jne 0x9bbb
jmp 0x9c65
leaq 0x658(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x46b86(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0x250(%rsp)
jmp 0x9be1
leaq 0x658(%rsp), %rdi
callq 0xba00
movq %rax, %rcx
movq 0x250(%rsp), %rax
movswq 0x8(%rcx), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0x9c51
leaq 0x658(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x46b3d(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0x248(%rsp)
jmp 0x9c2a
leaq 0x658(%rsp), %rdi
callq 0xba00
movq %rax, %rcx
movq 0x248(%rsp), %rax
movswq 0x8(%rcx), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x89c(%rsp)
jmp 0x9c53
leaq 0x658(%rsp), %rdi
callq 0xba20
jmp 0x9b88
cmpl $0x0, 0x89c(%rsp)
jne 0x9cbc
movl 0x8a4(%rsp), %eax
incl %eax
movl %eax, 0x8a4(%rsp)
movl 0x8a4(%rsp), %eax
movl %eax, 0x898(%rsp)
leaq 0x8a8(%rsp), %rdi
leaq 0x970(%rsp), %rsi
callq 0x1e2f0
jmp 0x9ca4
leaq 0x46add(%rip), %rdi     # 0x50788
leaq 0x8a8(%rsp), %rsi
callq 0xba50
jmp 0x9cba
jmp 0x9cca
movl 0x89c(%rsp), %eax
movl %eax, 0x898(%rsp)
movl 0x898(%rsp), %eax
movl %eax, 0x244(%rsp)
leaq 0x810(%rsp), %rdi
callq 0xb650
movl 0x244(%rsp), %ecx
movl %ecx, 0x8(%rax)
leaq 0x930(%rsp), %rdi
callq 0xb880
movq %rax, 0x648(%rsp)
leaq 0x930(%rsp), %rdi
callq 0xb8d0
movq %rax, 0x640(%rsp)
leaq 0x648(%rsp), %rdi
leaq 0x640(%rsp), %rsi
callq 0xb8b0
testb $0x1, %al
jne 0x9d34
jmp 0x9da1
movl 0x898(%rsp), %eax
movl %eax, 0x234(%rsp)
leaq 0x648(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x469ff(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0x238(%rsp)
jmp 0x9d68
leaq 0x648(%rsp), %rdi
callq 0xba00
movl 0x234(%rsp), %edx
movq %rax, %rcx
movq 0x238(%rsp), %rax
movswq 0x8(%rcx), %rcx
movl %edx, (%rax,%rcx,4)
leaq 0x648(%rsp), %rdi
callq 0xba20
jmp 0x9d04
jmp 0x9da3
leaq 0x930(%rsp), %rdi
callq 0xb6e0
leaq 0x810(%rsp), %rdi
callq 0xb650
cmpl $0x0, 0xc(%rax)
jne 0xa4a6
movq 0x988(%rsp), %rax
movsd 0x278(%rax), %xmm1
movsd 0x288(%rax), %xmm0
movsd 0x35359(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x220(%rsp)
leaq 0x970(%rsp), %rdi
xorl %esi, %esi
callq 0x1e9b0
movq %rax, 0x228(%rsp)
jmp 0x9e11
movq 0x228(%rsp), %rax
movsd 0x220(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x988(%rsp), %rax
movsd 0x280(%rax), %xmm1
movsd 0x290(%rax), %xmm0
movsd 0x352f2(%rip), %xmm2    # 0x3f138
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x210(%rsp)
leaq 0x970(%rsp), %rdi
movl $0x1, %esi
callq 0x1e9b0
movq %rax, 0x218(%rsp)
jmp 0x9e73
movq 0x218(%rsp), %rax
movsd 0x210(%rsp), %xmm0
movsd %xmm0, (%rax)
movl $0x0, 0x89c(%rsp)
movw $0x0, 0x8a2(%rsp)
leaq 0x900(%rsp), %rdi
callq 0xb6f0
movq %rax, 0x638(%rsp)
leaq 0x900(%rsp), %rdi
callq 0xb740
movq %rax, 0x630(%rsp)
leaq 0x638(%rsp), %rdi
leaq 0x630(%rsp), %rsi
callq 0xb720
testb $0x1, %al
jne 0x9ee5
jmp 0xa276
leaq 0x638(%rsp), %rdi
callq 0xb770
movq (%rax), %rax
movq %rax, 0x980(%rsp)
movw $0x0, 0x62e(%rsp)
movswl 0x62e(%rsp), %eax
cmpl $0x4, %eax
jge 0xa253
movswl 0x62e(%rsp), %eax
movl %eax, %ecx
movq %rcx, 0x208(%rsp)
subl $0x3, %eax
ja 0x9f9d
movq 0x208(%rsp), %rax
leaq 0x35232(%rip), %rcx     # 0x3f170
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movw $0xffff, 0x896(%rsp)    # imm = 0xFFFF
movw $0xffff, 0x894(%rsp)    # imm = 0xFFFF
jmp 0x9f9d
movw $0x1, 0x896(%rsp)
movw $0xffff, 0x894(%rsp)    # imm = 0xFFFF
jmp 0x9f9d
movw $0x1, 0x896(%rsp)
movw $0x1, 0x894(%rsp)
jmp 0x9f9d
movw $0xffff, 0x896(%rsp)    # imm = 0xFFFF
movw $0x1, 0x894(%rsp)
movq 0x980(%rsp), %rax
movswl 0x896(%rsp), %ecx
cvtsi2sd %ecx, %xmm1
movsd 0x278(%rax), %xmm0
movsd 0x288(%rax), %xmm2
mulsd %xmm2, %xmm1
movsd 0x35173(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x1f8(%rsp)
leaq 0x960(%rsp), %rdi
xorl %esi, %esi
callq 0x1e9b0
movq %rax, 0x200(%rsp)
jmp 0x9ff7
movq 0x200(%rsp), %rax
movsd 0x1f8(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x980(%rsp), %rax
movswl 0x894(%rsp), %ecx
cvtsi2sd %ecx, %xmm1
movsd 0x280(%rax), %xmm0
movsd 0x290(%rax), %xmm2
mulsd %xmm2, %xmm1
movsd 0x35104(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x1e8(%rsp)
leaq 0x960(%rsp), %rdi
movl $0x1, %esi
callq 0x1e9b0
movq %rax, 0x1f0(%rsp)
jmp 0xa069
movq 0x1f0(%rsp), %rax
movsd 0x1e8(%rsp), %xmm0
movsd %xmm0, (%rax)
leaq 0x960(%rsp), %rdi
leaq 0x970(%rsp), %rsi
callq 0x1e880
movsd %xmm1, 0x1d8(%rsp)
movsd %xmm0, 0x1e0(%rsp)
jmp 0xa0a7
movsd 0x1d8(%rsp), %xmm0
movsd 0x1e0(%rsp), %xmm1
movsd %xmm1, 0x618(%rsp)
movsd %xmm0, 0x620(%rsp)
movsd 0x618(%rsp), %xmm0
movsd 0x620(%rsp), %xmm1
callq 0x1e210
movsd %xmm0, 0x1d0(%rsp)
jmp 0xa0ed
movsd 0x1d0(%rsp), %xmm1
movsd 0x3504a(%rip), %xmm0    # 0x3f148
ucomisd %xmm1, %xmm0
jbe 0xa238
movw 0x8a2(%rsp), %ax
incw %ax
movw %ax, 0x8a2(%rsp)
leaq 0x46636(%rip), %rdi     # 0x50758
leaq 0x980(%rsp), %rsi
callq 0xb790
movq %rax, 0x1c8(%rsp)
jmp 0xa139
movq 0x1c8(%rsp), %rax
movq %rax, 0x610(%rsp)
movq 0x610(%rsp), %rax
movq %rax, 0x818(%rsp)
leaq 0x465f8(%rip), %rdi     # 0x50758
callq 0xb620
movq %rax, 0x608(%rsp)
leaq 0x818(%rsp), %rdi
leaq 0x608(%rsp), %rsi
callq 0xb600
testb $0x1, %al
jne 0xa18b
jmp 0xa236
leaq 0x980(%rsp), %rdi
leaq 0x62e(%rsp), %rsi
callq 0xb810
movw %dx, 0x1be(%rsp)
movq %rax, 0x1c0(%rsp)
jmp 0xa1b2
movw 0x1be(%rsp), %ax
movq 0x1c0(%rsp), %rcx
movq %rcx, 0x5e8(%rsp)
movw %ax, 0x5f0(%rsp)
movw 0x5f0(%rsp), %ax
movw %ax, 0x600(%rsp)
movq 0x5e8(%rsp), %rax
movq %rax, 0x5f8(%rsp)
leaq 0x930(%rsp), %rdi
leaq 0x5f8(%rsp), %rsi
callq 0xb7c0
movb %dl, 0x1af(%rsp)
movq %rax, 0x1b0(%rsp)
jmp 0xa218
movb 0x1af(%rsp), %al
movq 0x1b0(%rsp), %rcx
movq %rcx, 0x5d8(%rsp)
movb %al, 0x5e0(%rsp)
jmp 0xa238
jmp 0xa23a
movw 0x62e(%rsp), %ax
addw $0x1, %ax
movw %ax, 0x62e(%rsp)
jmp 0x9f07
movswl 0x8a2(%rsp), %eax
cmpl $0x4, %eax
jne 0xa262
jmp 0xa276
jmp 0xa264
leaq 0x638(%rsp), %rdi
callq 0xb850
jmp 0x9eb2
leaq 0x930(%rsp), %rdi
callq 0xb880
movq %rax, 0x5d0(%rsp)
leaq 0x930(%rsp), %rdi
callq 0xb8d0
movq %rax, 0x5c8(%rsp)
leaq 0x5d0(%rsp), %rdi
leaq 0x5c8(%rsp), %rsi
callq 0xb8b0
testb $0x1, %al
jne 0xa2be
jmp 0xa368
leaq 0x5d0(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x46483(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0x1a0(%rsp)
jmp 0xa2e4
leaq 0x5d0(%rsp), %rdi
callq 0xba00
movq %rax, %rcx
movq 0x1a0(%rsp), %rax
movswq 0x8(%rcx), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0xa354
leaq 0x5d0(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x4643a(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0x198(%rsp)
jmp 0xa32d
leaq 0x5d0(%rsp), %rdi
callq 0xba00
movq %rax, %rcx
movq 0x198(%rsp), %rax
movswq 0x8(%rcx), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x89c(%rsp)
jmp 0xa356
leaq 0x5d0(%rsp), %rdi
callq 0xba20
jmp 0xa28b
cmpl $0x0, 0x89c(%rsp)
jne 0xa3bf
movl 0x8a4(%rsp), %eax
incl %eax
movl %eax, 0x8a4(%rsp)
movl 0x8a4(%rsp), %eax
movl %eax, 0x898(%rsp)
leaq 0x8a8(%rsp), %rdi
leaq 0x970(%rsp), %rsi
callq 0x1e2f0
jmp 0xa3a7
leaq 0x463da(%rip), %rdi     # 0x50788
leaq 0x8a8(%rsp), %rsi
callq 0xba50
jmp 0xa3bd
jmp 0xa3cd
movl 0x89c(%rsp), %eax
movl %eax, 0x898(%rsp)
movl 0x898(%rsp), %eax
movl %eax, 0x194(%rsp)
leaq 0x810(%rsp), %rdi
callq 0xb650
movl 0x194(%rsp), %ecx
movl %ecx, 0xc(%rax)
leaq 0x930(%rsp), %rdi
callq 0xb880
movq %rax, 0x5c0(%rsp)
leaq 0x930(%rsp), %rdi
callq 0xb8d0
movq %rax, 0x5b8(%rsp)
leaq 0x5c0(%rsp), %rdi
leaq 0x5b8(%rsp), %rsi
callq 0xb8b0
testb $0x1, %al
jne 0xa437
jmp 0xa4a4
movl 0x898(%rsp), %eax
movl %eax, 0x184(%rsp)
leaq 0x5c0(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x462fc(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0x188(%rsp)
jmp 0xa46b
leaq 0x5c0(%rsp), %rdi
callq 0xba00
movl 0x184(%rsp), %edx
movq %rax, %rcx
movq 0x188(%rsp), %rax
movswq 0x8(%rcx), %rcx
movl %edx, (%rax,%rcx,4)
leaq 0x5c0(%rsp), %rdi
callq 0xba20
jmp 0xa407
jmp 0xa4a6
leaq 0x930(%rsp), %rdi
callq 0xb6e0
leaq 0x810(%rsp), %rdi
callq 0xb650
cmpl $0x0, 0x10(%rax)
jne 0xaba9
movq 0x988(%rsp), %rax
movsd 0x278(%rax), %xmm1
movsd 0x288(%rax), %xmm0
movsd 0x34c56(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x170(%rsp)
leaq 0x970(%rsp), %rdi
xorl %esi, %esi
callq 0x1e9b0
movq %rax, 0x178(%rsp)
jmp 0xa514
movq 0x178(%rsp), %rax
movsd 0x170(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x988(%rsp), %rax
movsd 0x280(%rax), %xmm1
movsd 0x290(%rax), %xmm0
movsd 0x34bf7(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0x160(%rsp)
leaq 0x970(%rsp), %rdi
movl $0x1, %esi
callq 0x1e9b0
movq %rax, 0x168(%rsp)
jmp 0xa576
movq 0x168(%rsp), %rax
movsd 0x160(%rsp), %xmm0
movsd %xmm0, (%rax)
movl $0x0, 0x89c(%rsp)
movw $0x0, 0x8a2(%rsp)
leaq 0x900(%rsp), %rdi
callq 0xb6f0
movq %rax, 0x5b0(%rsp)
leaq 0x900(%rsp), %rdi
callq 0xb740
movq %rax, 0x5a8(%rsp)
leaq 0x5b0(%rsp), %rdi
leaq 0x5a8(%rsp), %rsi
callq 0xb720
testb $0x1, %al
jne 0xa5e8
jmp 0xa979
leaq 0x5b0(%rsp), %rdi
callq 0xb770
movq (%rax), %rax
movq %rax, 0x980(%rsp)
movw $0x0, 0x5a6(%rsp)
movswl 0x5a6(%rsp), %eax
cmpl $0x4, %eax
jge 0xa956
movswl 0x5a6(%rsp), %eax
movl %eax, %ecx
movq %rcx, 0x158(%rsp)
subl $0x3, %eax
ja 0xa6a0
movq 0x158(%rsp), %rax
leaq 0x34b1f(%rip), %rcx     # 0x3f160
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movw $0xffff, 0x896(%rsp)    # imm = 0xFFFF
movw $0xffff, 0x894(%rsp)    # imm = 0xFFFF
jmp 0xa6a0
movw $0x1, 0x896(%rsp)
movw $0xffff, 0x894(%rsp)    # imm = 0xFFFF
jmp 0xa6a0
movw $0x1, 0x896(%rsp)
movw $0x1, 0x894(%rsp)
jmp 0xa6a0
movw $0xffff, 0x896(%rsp)    # imm = 0xFFFF
movw $0x1, 0x894(%rsp)
movq 0x980(%rsp), %rax
movswl 0x896(%rsp), %ecx
cvtsi2sd %ecx, %xmm1
movsd 0x278(%rax), %xmm0
movsd 0x288(%rax), %xmm2
mulsd %xmm2, %xmm1
movsd 0x34a70(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x148(%rsp)
leaq 0x960(%rsp), %rdi
xorl %esi, %esi
callq 0x1e9b0
movq %rax, 0x150(%rsp)
jmp 0xa6fa
movq 0x150(%rsp), %rax
movsd 0x148(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x980(%rsp), %rax
movswl 0x894(%rsp), %ecx
cvtsi2sd %ecx, %xmm1
movsd 0x280(%rax), %xmm0
movsd 0x290(%rax), %xmm2
mulsd %xmm2, %xmm1
movsd 0x34a01(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x138(%rsp)
leaq 0x960(%rsp), %rdi
movl $0x1, %esi
callq 0x1e9b0
movq %rax, 0x140(%rsp)
jmp 0xa76c
movq 0x140(%rsp), %rax
movsd 0x138(%rsp), %xmm0
movsd %xmm0, (%rax)
leaq 0x960(%rsp), %rdi
leaq 0x970(%rsp), %rsi
callq 0x1e880
movsd %xmm1, 0x128(%rsp)
movsd %xmm0, 0x130(%rsp)
jmp 0xa7aa
movsd 0x128(%rsp), %xmm0
movsd 0x130(%rsp), %xmm1
movsd %xmm1, 0x590(%rsp)
movsd %xmm0, 0x598(%rsp)
movsd 0x590(%rsp), %xmm0
movsd 0x598(%rsp), %xmm1
callq 0x1e210
movsd %xmm0, 0x120(%rsp)
jmp 0xa7f0
movsd 0x120(%rsp), %xmm1
movsd 0x34947(%rip), %xmm0    # 0x3f148
ucomisd %xmm1, %xmm0
jbe 0xa93b
movw 0x8a2(%rsp), %ax
incw %ax
movw %ax, 0x8a2(%rsp)
leaq 0x45f33(%rip), %rdi     # 0x50758
leaq 0x980(%rsp), %rsi
callq 0xb790
movq %rax, 0x118(%rsp)
jmp 0xa83c
movq 0x118(%rsp), %rax
movq %rax, 0x588(%rsp)
movq 0x588(%rsp), %rax
movq %rax, 0x818(%rsp)
leaq 0x45ef5(%rip), %rdi     # 0x50758
callq 0xb620
movq %rax, 0x580(%rsp)
leaq 0x818(%rsp), %rdi
leaq 0x580(%rsp), %rsi
callq 0xb600
testb $0x1, %al
jne 0xa88e
jmp 0xa939
leaq 0x980(%rsp), %rdi
leaq 0x5a6(%rsp), %rsi
callq 0xb810
movw %dx, 0x10e(%rsp)
movq %rax, 0x110(%rsp)
jmp 0xa8b5
movw 0x10e(%rsp), %ax
movq 0x110(%rsp), %rcx
movq %rcx, 0x560(%rsp)
movw %ax, 0x568(%rsp)
movw 0x568(%rsp), %ax
movw %ax, 0x578(%rsp)
movq 0x560(%rsp), %rax
movq %rax, 0x570(%rsp)
leaq 0x930(%rsp), %rdi
leaq 0x570(%rsp), %rsi
callq 0xb7c0
movb %dl, 0xff(%rsp)
movq %rax, 0x100(%rsp)
jmp 0xa91b
movb 0xff(%rsp), %al
movq 0x100(%rsp), %rcx
movq %rcx, 0x550(%rsp)
movb %al, 0x558(%rsp)
jmp 0xa93b
jmp 0xa93d
movw 0x5a6(%rsp), %ax
addw $0x1, %ax
movw %ax, 0x5a6(%rsp)
jmp 0xa60a
movswl 0x8a2(%rsp), %eax
cmpl $0x4, %eax
jne 0xa965
jmp 0xa979
jmp 0xa967
leaq 0x5b0(%rsp), %rdi
callq 0xb850
jmp 0xa5b5
leaq 0x930(%rsp), %rdi
callq 0xb880
movq %rax, 0x548(%rsp)
leaq 0x930(%rsp), %rdi
callq 0xb8d0
movq %rax, 0x540(%rsp)
leaq 0x548(%rsp), %rdi
leaq 0x540(%rsp), %rsi
callq 0xb8b0
testb $0x1, %al
jne 0xa9c1
jmp 0xaa6b
leaq 0x548(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x45d80(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0xf0(%rsp)
jmp 0xa9e7
leaq 0x548(%rsp), %rdi
callq 0xba00
movq %rax, %rcx
movq 0xf0(%rsp), %rax
movswq 0x8(%rcx), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0xaa57
leaq 0x548(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x45d37(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0xe8(%rsp)
jmp 0xaa30
leaq 0x548(%rsp), %rdi
callq 0xba00
movq %rax, %rcx
movq 0xe8(%rsp), %rax
movswq 0x8(%rcx), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x89c(%rsp)
jmp 0xaa59
leaq 0x548(%rsp), %rdi
callq 0xba20
jmp 0xa98e
cmpl $0x0, 0x89c(%rsp)
jne 0xaac2
movl 0x8a4(%rsp), %eax
incl %eax
movl %eax, 0x8a4(%rsp)
movl 0x8a4(%rsp), %eax
movl %eax, 0x898(%rsp)
leaq 0x8a8(%rsp), %rdi
leaq 0x970(%rsp), %rsi
callq 0x1e2f0
jmp 0xaaaa
leaq 0x45cd7(%rip), %rdi     # 0x50788
leaq 0x8a8(%rsp), %rsi
callq 0xba50
jmp 0xaac0
jmp 0xaad0
movl 0x89c(%rsp), %eax
movl %eax, 0x898(%rsp)
movl 0x898(%rsp), %eax
movl %eax, 0xe4(%rsp)
leaq 0x810(%rsp), %rdi
callq 0xb650
movl 0xe4(%rsp), %ecx
movl %ecx, 0x10(%rax)
leaq 0x930(%rsp), %rdi
callq 0xb880
movq %rax, 0x538(%rsp)
leaq 0x930(%rsp), %rdi
callq 0xb8d0
movq %rax, 0x530(%rsp)
leaq 0x538(%rsp), %rdi
leaq 0x530(%rsp), %rsi
callq 0xb8b0
testb $0x1, %al
jne 0xab3a
jmp 0xaba7
movl 0x898(%rsp), %eax
movl %eax, 0xd4(%rsp)
leaq 0x538(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x45bf9(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0xd8(%rsp)
jmp 0xab6e
leaq 0x538(%rsp), %rdi
callq 0xba00
movl 0xd4(%rsp), %edx
movq %rax, %rcx
movq 0xd8(%rsp), %rax
movswq 0x8(%rcx), %rcx
movl %edx, (%rax,%rcx,4)
leaq 0x538(%rsp), %rdi
callq 0xba20
jmp 0xab0a
jmp 0xaba9
leaq 0x930(%rsp), %rdi
callq 0xb6e0
leaq 0x810(%rsp), %rdi
callq 0xb650
cmpl $0x0, 0x14(%rax)
jne 0xb264
movq 0x988(%rsp), %rax
movsd 0x278(%rax), %xmm1
movsd 0x288(%rax), %xmm0
movsd 0x3454b(%rip), %xmm2    # 0x3f138
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0xc0(%rsp)
leaq 0x970(%rsp), %rdi
xorl %esi, %esi
callq 0x1e9b0
movq %rax, 0xc8(%rsp)
jmp 0xac17
movq 0xc8(%rsp), %rax
movsd 0xc0(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x988(%rsp), %rax
movsd 0x280(%rax), %xmm1
movsd 0x290(%rax), %xmm0
movsd 0x344f4(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, 0xb0(%rsp)
leaq 0x970(%rsp), %rdi
movl $0x1, %esi
callq 0x1e9b0
movq %rax, 0xb8(%rsp)
jmp 0xac79
movq 0xb8(%rsp), %rax
movsd 0xb0(%rsp), %xmm0
movsd %xmm0, (%rax)
movl $0x0, 0x89c(%rsp)
movw $0x0, 0x8a2(%rsp)
leaq 0x900(%rsp), %rdi
callq 0xb6f0
movq %rax, 0x528(%rsp)
leaq 0x900(%rsp), %rdi
callq 0xb740
movq %rax, 0x520(%rsp)
leaq 0x528(%rsp), %rdi
leaq 0x520(%rsp), %rsi
callq 0xb720
testb $0x1, %al
jne 0xaceb
jmp 0xb052
leaq 0x528(%rsp), %rdi
callq 0xb770
movq (%rax), %rax
movq %rax, 0x980(%rsp)
movw $0x0, 0x51e(%rsp)
movswl 0x51e(%rsp), %eax
cmpl $0x4, %eax
jge 0xb02f
movswl 0x51e(%rsp), %eax
movl %eax, %ecx
movq %rcx, 0xa8(%rsp)
subl $0x3, %eax
ja 0xada3
movq 0xa8(%rsp), %rax
leaq 0x3440c(%rip), %rcx     # 0x3f150
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movw $0xffff, 0x896(%rsp)    # imm = 0xFFFF
movw $0xffff, 0x894(%rsp)    # imm = 0xFFFF
jmp 0xada3
movw $0x1, 0x896(%rsp)
movw $0xffff, 0x894(%rsp)    # imm = 0xFFFF
jmp 0xada3
movw $0x1, 0x896(%rsp)
movw $0x1, 0x894(%rsp)
jmp 0xada3
movw $0xffff, 0x896(%rsp)    # imm = 0xFFFF
movw $0x1, 0x894(%rsp)
movq 0x980(%rsp), %rax
movswl 0x896(%rsp), %ecx
cvtsi2sd %ecx, %xmm1
movsd 0x278(%rax), %xmm0
movsd 0x288(%rax), %xmm2
mulsd %xmm2, %xmm1
movsd 0x3436d(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x98(%rsp)
leaq 0x960(%rsp), %rdi
xorl %esi, %esi
callq 0x1e9b0
movq %rax, 0xa0(%rsp)
jmp 0xadfd
movq 0xa0(%rsp), %rax
movsd 0x98(%rsp), %xmm0
movsd %xmm0, (%rax)
movq 0x980(%rsp), %rax
movswl 0x894(%rsp), %ecx
cvtsi2sd %ecx, %xmm1
movsd 0x280(%rax), %xmm0
movsd 0x290(%rax), %xmm2
mulsd %xmm2, %xmm1
movsd 0x342fe(%rip), %xmm2    # 0x3f140
mulsd %xmm2, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, 0x88(%rsp)
leaq 0x960(%rsp), %rdi
movl $0x1, %esi
callq 0x1e9b0
movq %rax, 0x90(%rsp)
jmp 0xae6f
movq 0x90(%rsp), %rax
movsd 0x88(%rsp), %xmm0
movsd %xmm0, (%rax)
leaq 0x960(%rsp), %rdi
leaq 0x970(%rsp), %rsi
callq 0x1e880
movsd %xmm1, 0x78(%rsp)
movsd %xmm0, 0x80(%rsp)
jmp 0xaeaa
movsd 0x78(%rsp), %xmm0
movsd 0x80(%rsp), %xmm1
movsd %xmm1, 0x508(%rsp)
movsd %xmm0, 0x510(%rsp)
movsd 0x508(%rsp), %xmm0
movsd 0x510(%rsp), %xmm1
callq 0x1e210
movsd %xmm0, 0x70(%rsp)
jmp 0xaeea
movsd 0x70(%rsp), %xmm1
movsd 0x34250(%rip), %xmm0    # 0x3f148
ucomisd %xmm1, %xmm0
jbe 0xb014
movw 0x8a2(%rsp), %ax
incw %ax
movw %ax, 0x8a2(%rsp)
leaq 0x4583c(%rip), %rdi     # 0x50758
leaq 0x980(%rsp), %rsi
callq 0xb790
movq %rax, 0x68(%rsp)
jmp 0xaf30
movq 0x68(%rsp), %rax
movq %rax, 0x500(%rsp)
movq 0x500(%rsp), %rax
movq %rax, 0x818(%rsp)
leaq 0x45804(%rip), %rdi     # 0x50758
callq 0xb620
movq %rax, 0x4f8(%rsp)
leaq 0x818(%rsp), %rdi
leaq 0x4f8(%rsp), %rsi
callq 0xb600
testb $0x1, %al
jne 0xaf7f
jmp 0xb012
leaq 0x980(%rsp), %rdi
leaq 0x51e(%rsp), %rsi
callq 0xb810
movw %dx, 0x5e(%rsp)
movq %rax, 0x60(%rsp)
jmp 0xafa0
movw 0x5e(%rsp), %ax
movq 0x60(%rsp), %rcx
movq %rcx, 0x4d8(%rsp)
movw %ax, 0x4e0(%rsp)
movw 0x4e0(%rsp), %ax
movw %ax, 0x4f0(%rsp)
movq 0x4d8(%rsp), %rax
movq %rax, 0x4e8(%rsp)
leaq 0x930(%rsp), %rdi
leaq 0x4e8(%rsp), %rsi
callq 0xb7c0
movb %dl, 0x4f(%rsp)
movq %rax, 0x50(%rsp)
jmp 0xaffa
movb 0x4f(%rsp), %al
movq 0x50(%rsp), %rcx
movq %rcx, 0x4c8(%rsp)
movb %al, 0x4d0(%rsp)
jmp 0xb014
jmp 0xb016
movw 0x51e(%rsp), %ax
addw $0x1, %ax
movw %ax, 0x51e(%rsp)
jmp 0xad0d
movswl 0x8a2(%rsp), %eax
cmpl $0x4, %eax
jne 0xb03e
jmp 0xb052
jmp 0xb040
leaq 0x528(%rsp), %rdi
callq 0xb850
jmp 0xacb8
leaq 0x930(%rsp), %rdi
callq 0xb880
movq %rax, 0x4c0(%rsp)
leaq 0x930(%rsp), %rdi
callq 0xb8d0
movq %rax, 0x4b8(%rsp)
leaq 0x4c0(%rsp), %rdi
leaq 0x4b8(%rsp), %rsi
callq 0xb8b0
testb $0x1, %al
jne 0xb09a
jmp 0xb138
leaq 0x4c0(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x456a7(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0x40(%rsp)
jmp 0xb0bd
leaq 0x4c0(%rsp), %rdi
callq 0xba00
movq %rax, %rcx
movq 0x40(%rsp), %rax
movswq 0x8(%rcx), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0xb124
leaq 0x4c0(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x45664(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0x38(%rsp)
jmp 0xb100
leaq 0x4c0(%rsp), %rdi
callq 0xba00
movq %rax, %rcx
movq 0x38(%rsp), %rax
movswq 0x8(%rcx), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, 0x89c(%rsp)
jmp 0xb126
leaq 0x4c0(%rsp), %rdi
callq 0xba20
jmp 0xb067
cmpl $0x0, 0x89c(%rsp)
jne 0xb18f
movl 0x8a4(%rsp), %eax
incl %eax
movl %eax, 0x8a4(%rsp)
movl 0x8a4(%rsp), %eax
movl %eax, 0x898(%rsp)
leaq 0x8a8(%rsp), %rdi
leaq 0x970(%rsp), %rsi
callq 0x1e2f0
jmp 0xb177
leaq 0x4560a(%rip), %rdi     # 0x50788
leaq 0x8a8(%rsp), %rsi
callq 0xba50
jmp 0xb18d
jmp 0xb19d
movl 0x89c(%rsp), %eax
movl %eax, 0x898(%rsp)
movl 0x898(%rsp), %eax
movl %eax, 0x34(%rsp)
leaq 0x810(%rsp), %rdi
callq 0xb650
movl 0x34(%rsp), %ecx
movl %ecx, 0x14(%rax)
leaq 0x930(%rsp), %rdi
callq 0xb880
movq %rax, 0x4b0(%rsp)
leaq 0x930(%rsp), %rdi
callq 0xb8d0
movq %rax, 0x4a8(%rsp)
leaq 0x4b0(%rsp), %rdi
leaq 0x4a8(%rsp), %rsi
callq 0xb8b0
testb $0x1, %al
jne 0xb201
jmp 0xb262
movl 0x898(%rsp), %eax
movl %eax, 0x24(%rsp)
leaq 0x4b0(%rsp), %rdi
callq 0xba00
movq %rax, %rsi
leaq 0x45535(%rip), %rdi     # 0x50758
callq 0xb900
movq %rax, 0x28(%rsp)
jmp 0xb22f
leaq 0x4b0(%rsp), %rdi
callq 0xba00
movl 0x24(%rsp), %edx
movq %rax, %rcx
movq 0x28(%rsp), %rax
movswq 0x8(%rcx), %rcx
movl %edx, (%rax,%rcx,4)
leaq 0x4b0(%rsp), %rdi
callq 0xba20
jmp 0xb1d1
jmp 0xb264
jmp 0xb266
leaq 0x810(%rsp), %rdi
callq 0xbac0
jmp 0x8ea9
movq 0x3fd51(%rip), %rdi     # 0x4afd0
leaq 0x33f1f(%rip), %rsi     # 0x3f1a5
callq 0x3240
movq %rax, 0x18(%rsp)
jmp 0xb292
movq 0x18(%rsp), %rdi
movl 0x8a4(%rsp), %esi
callq 0x3420
movq %rax, 0x10(%rsp)
jmp 0xb2aa
movq 0x10(%rsp), %rdi
movq 0x3fd02(%rip), %rsi     # 0x4afb8
callq 0x3290
jmp 0xb2bd
movb $0x0, 0x4a7(%rsp)
leaq 0x4548c(%rip), %rdi     # 0x50758
callq 0xb5d0
movq %rax, 0x498(%rsp)
leaq 0x45478(%rip), %rdi     # 0x50758
callq 0xb620
movq %rax, 0x490(%rsp)
leaq 0x498(%rsp), %rdi
leaq 0x490(%rsp), %rsi
callq 0xb600
testb $0x1, %al
jne 0xb30b
jmp 0xb4b0
leaq 0x498(%rsp), %rdi
callq 0xb650
movq (%rax), %rax
movq %rax, 0x988(%rsp)
movl $0x0, 0x48c(%rsp)
cmpl $0x4, 0x48c(%rsp)
jge 0xb49c
movb $0x0, 0x4a7(%rsp)
leaq 0x498(%rsp), %rdi
callq 0xb650
movslq 0x48c(%rsp), %rcx
movl 0x8(%rax,%rcx,4), %eax
subl $0x1, %eax
movslq %eax, %rsi
leaq 0x4541e(%rip), %rdi     # 0x50788
callq 0xbaf0
movswl 0x30(%rax), %eax
movl %eax, 0x4a0(%rsp)
movl $0x0, 0x488(%rsp)
movl 0x488(%rsp), %eax
cmpl 0x4a0(%rsp), %eax
jge 0xb3f6
leaq 0x498(%rsp), %rdi
callq 0xb650
movslq 0x48c(%rsp), %rcx
movl 0x8(%rax,%rcx,4), %eax
subl $0x1, %eax
movslq %eax, %rsi
leaq 0x453cd(%rip), %rdi     # 0x50788
callq 0xbaf0
movslq 0x488(%rsp), %rcx
movq 0x10(%rax,%rcx,8), %rax
cmpq 0x988(%rsp), %rax
jne 0xb3e1
movb $0x1, 0x4a7(%rsp)
jmp 0xb3f6
jmp 0xb3e3
movl 0x488(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x488(%rsp)
jmp 0xb385
testb $0x1, 0x4a7(%rsp)
jne 0xb484
movq 0x988(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x498(%rsp), %rdi
callq 0xb650
movslq 0x48c(%rsp), %rcx
movl 0x8(%rax,%rcx,4), %eax
subl $0x1, %eax
movslq %eax, %rsi
leaq 0x45351(%rip), %rdi     # 0x50788
callq 0xbaf0
movq 0x8(%rsp), %rdx
movslq 0x4a0(%rsp), %rcx
movq %rdx, 0x10(%rax,%rcx,8)
leaq 0x498(%rsp), %rdi
callq 0xb650
movslq 0x48c(%rsp), %rcx
movl 0x8(%rax,%rcx,4), %eax
subl $0x1, %eax
movslq %eax, %rsi
leaq 0x45314(%rip), %rdi     # 0x50788
callq 0xbaf0
movswl 0x30(%rax), %ecx
addl $0x1, %ecx
movw %cx, 0x30(%rax)
jmp 0xb486
movl 0x48c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x48c(%rsp)
jmp 0xb32e
jmp 0xb49e
leaq 0x498(%rsp), %rdi
callq 0xbac0
jmp 0xb2d9
leaq 0x900(%rsp), %rdi
callq 0x6520
leaq 0x930(%rsp), %rdi
callq 0xbb10
addq $0x998, %rsp            # imm = 0x998
retq
movq 0x8e8(%rsp), %rdi
callq 0x3440
nop