// File: /workspace/github_c_makefile_star2_O1/josch[P]stride/fillasn.c
// Function: FillAsnPar
void FillAsnPar(char *Asn1, char *Asn2, CHAIN **Chain, int Cn1, int Cn2, 
		PATTERN **Pat, int NPat, COMMAND *Cmd)
{
  register int i, j;
  int Beg1, Beg2, End1, End2;
  int B1D, B1A, B2D, B2A, E1D, E1A, E2D, E2A; 
  char B1DCn, B1ACn, B2DCn, B2ACn, E1DCn, E1ACn, E2DCn, E2ACn, Beg1Cn, Beg2Cn; 
  PATTERN *CurrPat, *PrevPat;;

  for( i=0; i<NPat; i++ ) {
    
    if( Pat[i]->Nei1 != NULL && Pat[i]->Nei2 == NULL )
      CurrPat = Pat[i]->Nei1;
    else
    if( Pat[i]->Nei2 != NULL && Pat[i]->Nei1 == NULL ) 
      CurrPat = Pat[i]->Nei2;
    else 
      continue;
    
    if( Cmd->Info ) {
      fprintf(stdout,"From: %c %c ",
	      Pat[i]->Hb1->Dnr->Chain->Id,Pat[i]->Hb2->Dnr->Chain->Id);
      if( Pat[i]->Hb1->Dnr->Chain->Id == Chain[Cn1]->Id )
	fprintf(stdout,"%s %s %s %s \n",
	    Chain[Cn1]->Rsd[Pat[i]->Hb1->Dnr->D_Res]->PDB_ResNumb,
	    Chain[Cn2]->Rsd[Pat[i]->Hb1->Acc->A_Res]->PDB_ResNumb,
	    Chain[Cn2]->Rsd[Pat[i]->Hb2->Dnr->D_Res]->PDB_ResNumb,
	    Chain[Cn1]->Rsd[Pat[i]->Hb2->Acc->A_Res]->PDB_ResNumb);
      else
	fprintf(stdout,"%s %s %s %s \n",
	    Chain[Cn2]->Rsd[Pat[i]->Hb1->Dnr->D_Res]->PDB_ResNumb,
	    Chain[Cn1]->Rsd[Pat[i]->Hb1->Acc->A_Res]->PDB_ResNumb,
	    Chain[Cn1]->Rsd[Pat[i]->Hb2->Dnr->D_Res]->PDB_ResNumb,
	    Chain[Cn2]->Rsd[Pat[i]->Hb2->Acc->A_Res]->PDB_ResNumb);
    }

    PrevPat = Pat[i];
    while( CurrPat->Nei1 != NULL && CurrPat->Nei2 != NULL ) {
      
      if( (CurrPat->Nei1->Nei1 == CurrPat || CurrPat->Nei1->Nei2 == CurrPat) && 
	 CurrPat->Nei1 != PrevPat ) {
	PrevPat = CurrPat;
	CurrPat = CurrPat->Nei1;
      }
      else {
	PrevPat = CurrPat;
	CurrPat = CurrPat->Nei2;
      }
    }  

    if( Cmd->Info ) {
      fprintf(stdout,"To: %c %c ",
	      CurrPat->Hb1->Dnr->Chain->Id,CurrPat->Hb2->Dnr->Chain->Id);
      if( CurrPat->Hb1->Dnr->Chain->Id == Chain[Cn1]->Id )
	fprintf(stdout,"%s %s %s %s \n",
	    Chain[Cn1]->Rsd[CurrPat->Hb1->Dnr->D_Res]->PDB_ResNumb,
	    Chain[Cn2]->Rsd[CurrPat->Hb1->Acc->A_Res]->PDB_ResNumb,
	    Chain[Cn2]->Rsd[CurrPat->Hb2->Dnr->D_Res]->PDB_ResNumb,
	    Chain[Cn1]->Rsd[CurrPat->Hb2->Acc->A_Res]->PDB_ResNumb);
      else
	fprintf(stdout,"%s %s %s %s \n",
	    Chain[Cn2]->Rsd[CurrPat->Hb1->Dnr->D_Res]->PDB_ResNumb,
	    Chain[Cn1]->Rsd[CurrPat->Hb1->Acc->A_Res]->PDB_ResNumb,
	    Chain[Cn1]->Rsd[CurrPat->Hb2->Dnr->D_Res]->PDB_ResNumb,
	    Chain[Cn2]->Rsd[CurrPat->Hb2->Acc->A_Res]->PDB_ResNumb);
    }

    Alias(&B1D,&B1A,&B2D,&B2A,&B1DCn,&B1ACn,&B2DCn,&B2ACn,Pat[i]);
    Alias(&E1D,&E1A,&E2D,&E2A,&E1DCn,&E1ACn,&E2DCn,&E2ACn,CurrPat);

    if( ( Cn1 != Cn2 || abs(E1D-B2A) < abs(E2D-B2A) ) && 
        ( MakeEnds(&Beg1,B1D,B2A,&Beg1Cn,B1DCn,&End1,E2A,E1D,E2ACn,&Beg2,B1A,B2D,&Beg2Cn,B1ACn,
		   &End2,E2D,E1A,E2DCn,Pat,NPat) ||
          MakeEnds(&Beg1,B1D,B2A,&Beg1Cn,B1DCn,&End1,E1D,E2A,E1DCn,&Beg2,B1A,B2D,&Beg2Cn,B1ACn,
		   &End2,E1A,E2D,E1ACn,Pat,NPat) ) )
      ;
    else
    if( ( Cn1 != Cn2 || abs(E2D-B2A) < abs(E1D-B2A) ) && 
        ( MakeEnds(&Beg1,B1D,B2A,&Beg1Cn,B1DCn,&End1,E1A,E2D,E1ACn,&Beg2,B1A,B2D,&Beg2Cn,B1ACn,
		   &End2,E1D,E2A,E1DCn,Pat,NPat) ||
          MakeEnds(&Beg1,B1D,B2A,&Beg1Cn,B1DCn,&End1,E2D,E1A,E2DCn,&Beg2,B1A,B2D,&Beg2Cn,B1ACn,
		   &End2,E2A,E1D,E2ACn,Pat,NPat) ) )
      ;
    else
    if( ( Cn1 != Cn2 || abs(B2A-E1D) < abs(B2A-E2D) ) && 
        ( MakeEnds(&Beg1,B1A,B2D,&Beg1Cn,B1ACn,&End1,E2D,E1A,E2DCn,&Beg2,B1D,B2A,&Beg2Cn,B1DCn,
		   &End2,E2A,E1D,E2ACn,Pat,NPat) ||
          MakeEnds(&Beg1,B1A,B2D,&Beg1Cn,B1ACn,&End1,E1A,E2D,E1ACn,&Beg2,B1D,B2A,&Beg2Cn,B1DCn,
		   &End2,E1D,E2A,E1DCn,Pat,NPat) ) )
      ;
    else
    if( ( Cn1 != Cn2 || abs(B2A-E2D) < abs(B2A-E1D) ) && 
        ( MakeEnds(&Beg1,B1A,B2D,&Beg1Cn,B1ACn,&End1,E1D,E2A,E1DCn,&Beg2,B1D,B2A,&Beg2Cn,B1DCn,
		   &End2,E1A,E2D,E1ACn,Pat,NPat) ||
          MakeEnds(&Beg1,B1A,B2D,&Beg1Cn,B1ACn,&End1,E2A,E1D,E2ACn,&Beg2,B1D,B2A,&Beg2Cn,B1DCn,
		   &End2,E2D,E1A,E2DCn,Pat,NPat) ) )
      ;
    else
    if( ( Cn1 != Cn2 || abs(B1D-E2A) < abs(B2D-E2A) ) && 
        ( MakeEnds(&Beg1,E1D,E2A,&Beg1Cn,E1DCn,&End1,B2A,B1D,B2ACn,&Beg2,E1A,E2D,&Beg2Cn,E1ACn,
		   &End2,B2D,B1A,B2DCn,Pat,NPat) ||
          MakeEnds(&Beg1,E1D,E2A,&Beg1Cn,E1DCn,&End1,B1D,B2A,B1DCn,&Beg2,E1A,E2D,&Beg2Cn,E1ACn,
		   &End2,B1A,B2D,B1ACn,Pat,NPat) ) )
      ;
    else
    if( ( Cn1 != Cn2 || abs(B2D-E2A) < abs(B1D-E2A) ) && 
        ( MakeEnds(&Beg1,E1D,E2A,&Beg1Cn,E1DCn,&End1,B1A,B2D,B1ACn,&Beg2,E1A,E2D,&Beg2Cn,E1ACn,
		   &End2,B1D,B2A,B1DCn,Pat,NPat) ||
          MakeEnds(&Beg1,E1D,E2A,&Beg1Cn,E1DCn,&End1,B2D,B1A,B2DCn,&Beg2,E1A,E2D,&Beg2Cn,E1ACn,
		   &End2,B2A,B1D,B2ACn,Pat,NPat) ) )
      ;
    else
    if( ( Cn1 != Cn2 || abs(E2A-B1D) < abs(E2A-B2D) ) && 
        ( MakeEnds(&Beg1,E1A,E2D,&Beg1Cn,E1ACn,&End1,B2D,B1A,B2DCn,&Beg2,E1D,E2A,&Beg2Cn,E1DCn,
		   &End2,B2A,B1D,B2ACn,Pat,NPat) ||
          MakeEnds(&Beg1,E1A,E2D,&Beg1Cn,E1ACn,&End1,B1A,B2D,B1ACn,&Beg2,E1D,E2A,&Beg2Cn,E1DCn,
		   &End2,B1D,B2A,B1DCn,Pat,NPat) ) )
      ;
    else
    if( ( Cn1 != Cn2 || abs(E2A-B2D) < abs(E2A-B1D) ) && 
        ( MakeEnds(&Beg1,E1A,E2D,&Beg1Cn,E1ACn,&End1,B1D,B2A,B1DCn,&Beg2,E1D,E2A,&Beg2Cn,E1DCn,
		   &End2,B1A,B2D,B1ACn,Pat,NPat) ||
          MakeEnds(&Beg1,E1A,E2D,&Beg1Cn,E1ACn,&End1,B2A,B1D,B2ACn,&Beg2,E1D,E2A,&Beg2Cn,E1DCn,
		   &End2,B2D,B1A,B2DCn,Pat,NPat) ) )
      ;
    else {
/*      fprintf(stdout,"Ne tot variant.. Par %s%c\n",Chain[Cn1]->File,Chain[Cn1]->Id);*/
      continue;
    }

    if( Beg1Cn == Chain[Cn1]->Id ) {
      for( j=Beg1; j<=End1; j++ ) Asn1[j] = 'P';
      for( j=Beg2; j<=End2; j++ ) Asn2[j] = 'P';
    }
    else {
      for( j=Beg1; j<=End1; j++ ) Asn2[j] = 'P';
      for( j=Beg2; j<=End2; j++ ) Asn1[j] = 'P';
    }

    Pat[i]->Nei1 = NULL;
    Pat[i]->Nei2 = NULL;
    CurrPat->Nei1 = NULL;
    CurrPat->Nei2 = NULL;

  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %r8d, 0x44(%rsp)
movl %ecx, 0x40(%rsp)
movq %rdx, 0x88(%rsp)
movq %rsi, 0x80(%rsp)
movq %rdi, 0x78(%rsp)
movl 0xd0(%rsp), %eax
testl %eax, %eax
jle 0xe73e
movq %r9, %rbx
movslq 0x40(%rsp), %rax
movq %rax, 0x70(%rsp)
movslq 0x44(%rsp), %rax
movq %rax, 0x68(%rsp)
movl 0xd0(%rsp), %eax
movl %eax, %eax
movq %rax, 0x90(%rsp)
xorl %r14d, %r14d
movq (%rbx,%r14,8), %rax
movq 0x10(%rax), %r15
testq %r15, %r15
je 0xda13
cmpq $0x0, 0x18(%rax)
je 0xda2b
testq %r15, %r15
setne %cl
movq 0x18(%rax), %r15
testq %r15, %r15
sete %dl
orb %cl, %dl
jne 0xe72d
movq 0xd8(%rsp), %rcx
cmpl $0x0, 0x1d60(%rcx)
movq 0x88(%rsp), %r12
movq 0x13587(%rip), %r13     # 0x20fd0
je 0xdb16
movq (%r13), %rdi
movq (%rax), %rcx
movq 0x8(%rax), %rax
movq (%rcx), %rcx
movq (%rcx), %rcx
movsbl 0x40(%rcx), %edx
movq (%rax), %rax
movq (%rax), %rax
movsbl 0x40(%rax), %ecx
leaq 0xc61b(%rip), %rsi      # 0x1a090
xorl %eax, %eax
callq 0x2160
movq (%rbx,%r14,8), %rdx
movq (%rdx), %rsi
movq (%rsi), %rdi
movq (%rdi), %rax
movb 0x40(%rax), %al
movq 0x70(%rsp), %rcx
movq (%r12,%rcx,8), %rcx
cmpb 0x40(%rcx), %al
jne 0xdab1
movq 0x68(%rcx), %rax
movslq 0x8(%rdi), %rcx
leaq (%rax,%rcx,8), %r8
movq 0x68(%rsp), %rcx
movq (%r12,%rcx,8), %rcx
jmp 0xdac6
movq 0x68(%rsp), %rax
movq (%r12,%rax,8), %rax
movq 0x68(%rax), %rax
movslq 0x8(%rdi), %rdi
leaq (%rax,%rdi,8), %r8
movq 0x8(%rdx), %rdx
movq 0x8(%rsi), %rsi
movq (%r13), %rdi
movslq 0x8(%rsi), %rsi
movq (%rdx), %r9
movq 0x8(%rdx), %rdx
movslq 0x8(%r9), %r9
movslq 0x8(%rdx), %r10
movq (%r8), %rdx
addq $0x4, %rdx
movq 0x68(%rcx), %r8
movq (%r8,%rsi,8), %rcx
addq $0x4, %rcx
movq (%r8,%r9,8), %r8
addq $0x4, %r8
movq (%rax,%r10,8), %r9
addq $0x4, %r9
leaq 0xc58e(%rip), %rsi      # 0x1a09d
xorl %eax, %eax
callq 0x2160
movq 0x10(%r15), %rax
testq %rax, %rax
je 0xdb54
movq (%rbx,%r14,8), %rcx
movq 0x18(%r15), %rdx
testq %rdx, %rdx
je 0xdb54
cmpq %r15, 0x10(%rax)
je 0xdb38
cmpq %r15, 0x18(%rax)
jne 0xdb3d
cmpq %rcx, %rax
jne 0xdb40
movq %rdx, %rax
movq %rax, %rbp
movq 0x10(%rax), %rax
movq %r15, %rcx
movq %rbp, %r15
testq %rax, %rax
jne 0xdb23
jmp 0xdb57
movq %r15, %rbp
movq 0xd8(%rsp), %rax
cmpl $0x0, 0x1d60(%rax)
je 0xdc31
movq (%r13), %rdi
movq (%rbp), %rax
movq 0x8(%rbp), %rcx
movq (%rax), %rax
movq (%rax), %rax
movsbl 0x40(%rax), %edx
movq (%rcx), %rax
movq (%rax), %rax
movsbl 0x40(%rax), %ecx
leaq 0xc530(%rip), %rsi      # 0x1a0c3
xorl %eax, %eax
callq 0x2160
movq (%rbp), %rdx
movq (%rdx), %rsi
movq (%rsi), %rax
movb 0x40(%rax), %al
movq 0x70(%rsp), %rcx
movq (%r12,%rcx,8), %rcx
cmpb 0x40(%rcx), %al
jne 0xdbcc
movq 0x68(%rcx), %rax
movslq 0x8(%rsi), %rcx
leaq (%rax,%rcx,8), %rsi
movq 0x68(%rsp), %rcx
movq (%r12,%rcx,8), %rcx
jmp 0xdbe1
movq 0x68(%rsp), %rax
movq (%r12,%rax,8), %rax
movq 0x68(%rax), %rax
movslq 0x8(%rsi), %rsi
leaq (%rax,%rsi,8), %rsi
movq 0x8(%rbp), %r8
movq 0x8(%rdx), %rdx
movq (%r13), %rdi
movslq 0x8(%rdx), %r9
movq (%r8), %rdx
movq 0x8(%r8), %r8
movslq 0x8(%rdx), %r10
movslq 0x8(%r8), %r11
movq (%rsi), %rdx
addq $0x4, %rdx
movq 0x68(%rcx), %rsi
movq (%rsi,%r9,8), %rcx
addq $0x4, %rcx
movq (%rsi,%r10,8), %r8
addq $0x4, %r8
movq (%rax,%r11,8), %r9
addq $0x4, %r9
leaq 0xc473(%rip), %rsi      # 0x1a09d
xorl %eax, %eax
callq 0x2160
movq (%rbx,%r14,8), %rax
movq (%rax), %rcx
movq 0x8(%rax), %rsi
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
movq (%rsi), %rdx
movq 0x8(%rsi), %rsi
movq (%rax), %rdi
movb 0x40(%rdi), %dil
movb %dil, 0x3(%rsp)
movq (%rcx), %rdi
movb 0x40(%rdi), %dil
movb %dil, 0x2(%rsp)
movq (%rdx), %rdi
movb 0x40(%rdi), %dil
movb %dil, 0x5(%rsp)
movq (%rsi), %rdi
movb 0x40(%rdi), %dil
movb %dil, 0x4(%rsp)
movq (%rbp), %rdi
movq 0x8(%rbp), %r8
movq (%rdi), %r9
movq 0x8(%rdi), %rdi
movq (%r8), %r10
movq 0x8(%r8), %r8
movq (%r9), %r11
movb 0x40(%r11), %r11b
movb %r11b, 0x60(%rsp)
movq (%rdi), %r11
movb 0x40(%r11), %r11b
movb %r11b, 0x58(%rsp)
movq (%r10), %r11
movb 0x40(%r11), %r11b
movb %r11b, 0x7(%rsp)
movq (%r8), %r11
movb 0x40(%r11), %r11b
movb %r11b, 0x6(%rsp)
movl 0x8(%rax), %eax
movq %rax, 0x28(%rsp)
movl 0x8(%rcx), %eax
movq %rax, 0x50(%rsp)
movl 0x8(%rdx), %eax
movq %rax, 0x18(%rsp)
movl 0x8(%rsi), %r12d
movl 0x8(%r9), %eax
movq %rax, 0x38(%rsp)
movl 0x8(%rdi), %eax
movq %rax, 0x48(%rsp)
movl 0x8(%r10), %eax
movq %rax, 0x30(%rsp)
movl 0x8(%r8), %eax
movq %rax, 0x20(%rsp)
movl 0x40(%rsp), %eax
cmpl 0x44(%rsp), %eax
jne 0xdd2f
movq 0x38(%rsp), %rax
subl %r12d, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movq 0x30(%rsp), %rax
subl %r12d, %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
cmpl %edx, %ecx
jae 0xde2f
movsbl 0x7(%rsp), %r10d
movsbl 0x2(%rsp), %r13d
movsbl 0x6(%rsp), %eax
movsbl 0x3(%rsp), %r15d
leaq 0x14(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl %r12d, %edx
movq %rsp, %rcx
movl %r15d, %r8d
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x60(%rsp)
pushq 0x50(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq %r13
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x58(%rsp)
pushq 0x98(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x98(%rsp)
pushq 0x88(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movsbl 0x58(%rsp), %r10d
movsbl 0x60(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl %r12d, %edx
movq %rsp, %rcx
movl %r15d, %r8d
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x48(%rsp)
pushq 0x68(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq %r13
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x58(%rsp)
pushq 0x98(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x80(%rsp)
pushq 0xa0(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movl 0x40(%rsp), %eax
cmpl 0x44(%rsp), %eax
jne 0xde5f
movq 0x30(%rsp), %rax
subl %r12d, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movq 0x38(%rsp), %rax
subl %r12d, %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
cmpl %edx, %ecx
jae 0xdf5f
movsbl 0x60(%rsp), %r10d
movsbl 0x2(%rsp), %r13d
movsbl 0x58(%rsp), %eax
movsbl 0x3(%rsp), %r15d
leaq 0x14(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl %r12d, %edx
movq %rsp, %rcx
movl %r15d, %r8d
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x38(%rsp)
pushq 0x58(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq %r13
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x58(%rsp)
pushq 0x98(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x90(%rsp)
pushq 0xb0(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movsbl 0x6(%rsp), %r10d
movsbl 0x7(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl %r12d, %edx
movq %rsp, %rcx
movl %r15d, %r8d
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x50(%rsp)
pushq 0x40(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq %r13
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x58(%rsp)
pushq 0x98(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0xa8(%rsp)
pushq 0x98(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movl 0x40(%rsp), %eax
cmpl 0x44(%rsp), %eax
jne 0xdf8d
movl %r12d, %eax
subl 0x38(%rsp), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %r12d, %eax
subl 0x30(%rsp), %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
cmpl %edx, %ecx
jae 0xe087
movsbl 0x6(%rsp), %r10d
movsbl 0x3(%rsp), %r13d
movsbl 0x7(%rsp), %eax
movsbl 0x2(%rsp), %r15d
leaq 0x14(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rsp, %rcx
movl %r15d, %r8d
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x50(%rsp)
pushq 0x40(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq %r13
leaq 0x39(%rsp), %r10
pushq %r10
pushq %r12
pushq 0x70(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0xa8(%rsp)
pushq 0x98(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movsbl 0x60(%rsp), %r10d
movsbl 0x58(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rsp, %rcx
movl %r15d, %r8d
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x38(%rsp)
pushq 0x58(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq %r13
leaq 0x39(%rsp), %r10
pushq %r10
pushq %r12
pushq 0x70(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x90(%rsp)
pushq 0xb0(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movsbl 0x58(%rsp), %eax
movq %rax, 0x58(%rsp)
movsbl 0x60(%rsp), %eax
movq %rax, 0x60(%rsp)
movl 0x40(%rsp), %eax
cmpl 0x44(%rsp), %eax
jne 0xe0c9
movl %r12d, %eax
subl 0x30(%rsp), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %r12d, %eax
subl 0x38(%rsp), %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
cmpl %edx, %ecx
jae 0xe1bb
movsbl 0x3(%rsp), %r13d
movsbl 0x2(%rsp), %r15d
leaq 0x14(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rsp, %rcx
movl %r15d, %r8d
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %eax
pushq %rax
pushq %rbx
pushq 0x68(%rsp)
pushq 0x48(%rsp)
pushq 0x68(%rsp)
leaq 0x30(%rsp), %rax
pushq %rax
pushq %r13
leaq 0x39(%rsp), %rax
pushq %rax
pushq %r12
pushq 0x70(%rsp)
leaq 0x5c(%rsp), %rax
pushq %rax
pushq 0xb8(%rsp)
pushq 0x80(%rsp)
pushq 0xa0(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movsbl 0x7(%rsp), %r10d
movsbl 0x6(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rsp, %rcx
movl %r15d, %r8d
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x60(%rsp)
pushq 0x50(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq %r13
leaq 0x39(%rsp), %r10
pushq %r10
pushq %r12
pushq 0x70(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x98(%rsp)
pushq 0x88(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movl 0x40(%rsp), %eax
cmpl 0x44(%rsp), %eax
jne 0xe1ee
movq 0x28(%rsp), %rax
movq 0x20(%rsp), %rdx
subl %edx, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movq 0x18(%rsp), %rax
subl %edx, %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
cmpl %edx, %ecx
jae 0xe2ea
movsbl 0x5(%rsp), %r10d
movsbl 0x4(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %rsp, %rcx
movq 0x60(%rsp), %r8
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x68(%rsp)
pushq 0x38(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x88(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x70(%rsp)
pushq 0x90(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x88(%rsp)
pushq %r12
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movsbl 0x2(%rsp), %r10d
movsbl 0x3(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %rsp, %rcx
movq 0x60(%rsp), %r8
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x30(%rsp)
pushq 0x70(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x88(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x70(%rsp)
pushq 0x90(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq %r12
pushq 0x90(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movl 0x40(%rsp), %eax
cmpl 0x44(%rsp), %eax
jne 0xe31d
movq 0x18(%rsp), %rax
movq 0x20(%rsp), %rdx
subl %edx, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movq 0x28(%rsp), %rax
subl %edx, %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
cmpl %edx, %ecx
jae 0xe41c
movsbl 0x3(%rsp), %r10d
movsbl 0x2(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %rsp, %rcx
movq 0x60(%rsp), %r8
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq %r12
pushq 0x48(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x88(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x70(%rsp)
pushq 0x90(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x78(%rsp)
pushq 0xb8(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movsbl 0x4(%rsp), %r10d
movsbl 0x5(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x20(%rsp), %rdx
movq %rsp, %rcx
movq 0x60(%rsp), %r8
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x40(%rsp)
pushq %r12
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x88(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x70(%rsp)
pushq 0x90(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0xb0(%rsp)
pushq 0x80(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movl 0x40(%rsp), %eax
cmpl 0x44(%rsp), %eax
jne 0xe44d
movq 0x20(%rsp), %rdx
movl %edx, %eax
subl 0x28(%rsp), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %edx, %eax
subl 0x18(%rsp), %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
cmpl %edx, %ecx
jae 0xe54c
movsbl 0x4(%rsp), %r10d
movsbl 0x5(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rsp, %rcx
movq 0x58(%rsp), %r8
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x40(%rsp)
pushq %r12
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x90(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x60(%rsp)
pushq 0x80(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0xb0(%rsp)
pushq 0x80(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movsbl 0x3(%rsp), %r10d
movsbl 0x2(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rsp, %rcx
movq 0x58(%rsp), %r8
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq %r12
pushq 0x48(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x90(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x60(%rsp)
pushq 0x80(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x78(%rsp)
pushq 0xb8(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movl 0x40(%rsp), %eax
cmpl 0x44(%rsp), %eax
jne 0xe57d
movq 0x20(%rsp), %rdx
movl %edx, %eax
subl 0x18(%rsp), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %edx, %eax
subl 0x28(%rsp), %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
cmpl %edx, %ecx
jae 0xe72d
movsbl 0x2(%rsp), %r10d
movsbl 0x3(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rsp, %rcx
movq 0x58(%rsp), %r8
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x30(%rsp)
pushq 0x70(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x90(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x60(%rsp)
pushq 0x80(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq %r12
pushq 0x90(%rsp)
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
jne 0xe675
movsbl 0x5(%rsp), %r10d
movsbl 0x4(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x30(%rsp), %rdx
movq %rsp, %rcx
movq 0x58(%rsp), %r8
leaq 0x10(%rsp), %r9
movl 0xd0(%rsp), %r11d
pushq %r11
pushq %rbx
pushq %r10
pushq 0x68(%rsp)
pushq 0x38(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x90(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x60(%rsp)
pushq 0x80(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x88(%rsp)
pushq %r12
callq 0xd735
addq $0x70, %rsp
testl %eax, %eax
je 0xe72d
movb (%rsp), %cl
movq 0x88(%rsp), %rax
movq 0x70(%rsp), %rdx
movq (%rax,%rdx,8), %rsi
movslq 0x14(%rsp), %rax
movl 0x10(%rsp), %edx
cmpb 0x40(%rsi), %cl
jne 0xe6cc
cmpl %eax, %edx
jl 0xe6b2
movq %rax, %rdi
addq 0x78(%rsp), %rdi
subl %eax, %edx
incq %rdx
movl $0x50, %esi
callq 0x20f0
movslq 0xc(%rsp), %rcx
movl 0x8(%rsp), %eax
cmpl %ecx, %eax
jl 0xe710
movq %rcx, %rdi
addq 0x80(%rsp), %rdi
jmp 0xe6ff
cmpl %eax, %edx
jl 0xe6ea
movq %rax, %rdi
addq 0x80(%rsp), %rdi
subl %eax, %edx
incq %rdx
movl $0x50, %esi
callq 0x20f0
movslq 0xc(%rsp), %rcx
movl 0x8(%rsp), %eax
cmpl %ecx, %eax
jl 0xe710
movq %rcx, %rdi
addq 0x78(%rsp), %rdi
subl %ecx, %eax
movl %eax, %edx
incq %rdx
movl $0x50, %esi
callq 0x20f0
addq $0x10, %rbp
movq (%rbx,%r14,8), %rax
xorl %ecx, %ecx
movq %rcx, 0x10(%rax)
movq (%rbx,%r14,8), %rax
movq %rcx, 0x18(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbp)
incq %r14
cmpq 0x90(%rsp), %r14
jne 0xd9ff
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq