// File: /workspace/github_c_makefile_star2_O3/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 $0xc8, %rsp
movq %r9, 0x18(%rsp)
movl %r8d, 0x24(%rsp)
movl %ecx, 0x20(%rsp)
movq %rdx, 0xb8(%rsp)
movq %rsi, 0xb0(%rsp)
movq %rdi, 0xa8(%rsp)
movl 0x100(%rsp), %eax
testl %eax, %eax
jle 0xe8f1
movslq 0x20(%rsp), %rax
movq %rax, 0x98(%rsp)
movslq 0x24(%rsp), %rax
movq %rax, 0x88(%rsp)
movl 0x100(%rsp), %eax
movl %eax, %eax
movq %rax, 0xc0(%rsp)
xorl %ecx, %ecx
movq 0x18(%rsp), %rax
movq %rcx, 0x90(%rsp)
movq (%rax,%rcx,8), %rax
movq 0x10(%rax), %r15
movq 0x18(%rax), %rcx
testq %r15, %r15
je 0xda19
testq %rcx, %rcx
jne 0xe8d8
jmp 0xda25
movq %rcx, %r15
testq %rcx, %rcx
je 0xe8d8
movq 0x108(%rsp), %rcx
cmpl $0x0, 0x1d60(%rcx)
movq 0xb8(%rsp), %r12
movq 0x1358d(%rip), %r13     # 0x20fd0
movq 0x90(%rsp), %rbx
je 0xdb26
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 0xc619(%rip), %rsi      # 0x1a090
xorl %eax, %eax
callq 0x2160
movq 0x18(%rsp), %rax
movq (%rax,%rbx,8), %rdx
movq (%rdx), %rsi
movq (%rsi), %rdi
movq (%rdi), %rax
movb 0x40(%rax), %al
movq 0x98(%rsp), %rcx
movq (%r12,%rcx,8), %rcx
cmpb 0x40(%rcx), %al
jne 0xdabe
movq 0x68(%rcx), %rax
movslq 0x8(%rdi), %rcx
leaq (%rax,%rcx,8), %r8
movq 0x88(%rsp), %rcx
movq (%r12,%rcx,8), %rcx
jmp 0xdad6
movq 0x88(%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 0xc57e(%rip), %rsi      # 0x1a09d
xorl %eax, %eax
callq 0x2160
movq 0x10(%r15), %rax
testq %rax, %rax
je 0xdb6f
movq 0x18(%rsp), %rcx
movq (%rcx,%rbx,8), %rdx
movq 0x18(%r15), %rsi
testq %rsi, %rsi
je 0xdb6f
movq 0x10(%rax), %rcx
cmpq %r15, %rcx
je 0xdb50
cmpq %r15, 0x18(%rax)
jne 0xdb55
cmpq %rdx, %rax
jne 0xdb5c
movq 0x10(%rsi), %rcx
movq %rsi, %rax
movq %rax, %rbp
movq %rcx, %rax
movq %r15, %rdx
movq %rbp, %r15
testq %rcx, %rcx
jne 0xdb38
jmp 0xdb72
movq %r15, %rbp
movq 0x108(%rsp), %rax
cmpl $0x0, 0x1d60(%rax)
je 0xdc55
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 0xc515(%rip), %rsi      # 0x1a0c3
xorl %eax, %eax
callq 0x2160
movq (%rbp), %rdx
movq (%rdx), %rsi
movq (%rsi), %rax
movb 0x40(%rax), %al
movq 0x98(%rsp), %rcx
movq (%r12,%rcx,8), %rcx
cmpb 0x40(%rcx), %al
jne 0xdbed
movq 0x68(%rcx), %rax
movslq 0x8(%rsi), %rcx
leaq (%rax,%rcx,8), %rsi
movq 0x88(%rsp), %rcx
movq (%r12,%rcx,8), %rcx
jmp 0xdc05
movq 0x88(%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 0xc44f(%rip), %rsi      # 0x1a09d
xorl %eax, %eax
callq 0x2160
movq 0x18(%rsp), %rax
movq (%rax,%rbx,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), %r15b
movq (%rcx), %rdi
movb 0x40(%rdi), %r13b
movq (%rdx), %rdi
movb 0x40(%rdi), %dil
movb %dil, 0x7(%rsp)
movq (%rsi), %rdi
movb 0x40(%rdi), %dil
movb %dil, 0x6(%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, 0x5(%rsp)
movq (%rdi), %r11
movb 0x40(%r11), %r11b
movb %r11b, 0x4(%rsp)
movq (%r10), %r11
movb 0x40(%r11), %r11b
movb %r11b, 0x58(%rsp)
movq (%r8), %r11
movb 0x40(%r11), %r11b
movb %r11b, 0x50(%rsp)
movl 0x8(%rax), %r11d
movl 0x8(%rcx), %eax
movq %rax, 0x78(%rsp)
movl 0x8(%rdx), %eax
movq %rax, 0x60(%rsp)
movl 0x8(%rsi), %r12d
movl 0x8(%r9), %esi
movl 0x8(%rdi), %r9d
movl 0x8(%r10), %ebx
movl 0x8(%r8), %eax
movq %rax, 0x38(%rsp)
movl 0x20(%rsp), %eax
cmpl 0x24(%rsp), %eax
movq %rbx, 0x68(%rsp)
movb %r15b, 0x3(%rsp)
movb %r13b, 0x2(%rsp)
movq %r11, 0x40(%rsp)
movq %rsi, 0x28(%rsp)
movq %r9, 0x30(%rsp)
movq %r12, 0x48(%rsp)
jne 0xdd59
movl %esi, %ecx
subl %r12d, %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
movl %ebx, %edx
subl %r12d, %edx
movl %edx, %ecx
negl %ecx
cmovsl %edx, %ecx
cmpl %ecx, %eax
jae 0xdeb4
movsbl 0x58(%rsp), %r10d
movsbl %r13b, %eax
movsbl 0x50(%rsp), %ecx
movq %rcx, 0x70(%rsp)
movsbl %r15b, %r15d
leaq 0x14(%rsp), %rdi
movq %rsi, %r13
movl %r11d, %esi
movl %r12d, %edx
movq %rsp, %rcx
movl %r15d, %r8d
movq %r9, %r14
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq %r14
pushq %rbx
leaq 0x30(%rsp), %r10
pushq %r10
movq %rax, 0xb0(%rsp)
pushq %rax
leaq 0x39(%rsp), %r10
pushq %r10
movq 0xb8(%rsp), %rbx
movq 0xa0(%rsp), %r14
pushq %r14
pushq %rbx
leaq 0x5c(%rsp), %r10
pushq %r10
pushq 0xc8(%rsp)
pushq %r13
movq 0xa0(%rsp), %r12
pushq %r12
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movsbl 0x4(%rsp), %r10d
movsbl 0x5(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq %rsp, %rcx
movl %r15d, %r8d
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq 0x80(%rsp)
pushq 0x50(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0xb0(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq %r14
pushq %rbx
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq %r12
pushq 0x90(%rsp)
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movl 0x20(%rsp), %eax
cmpl 0x24(%rsp), %eax
movq 0x40(%rsp), %r11
movq 0x48(%rsp), %r12
movq 0x28(%rsp), %rsi
movq 0x68(%rsp), %rbx
movq 0x30(%rsp), %r9
movb 0x3(%rsp), %r15b
movb 0x2(%rsp), %r13b
jne 0xdebc
movl %ebx, %eax
subl %r12d, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %esi, %edx
subl %r12d, %edx
movl %edx, %eax
negl %eax
cmovsl %edx, %eax
cmpl %eax, %ecx
jae 0xdff9
movsbl 0x5(%rsp), %r10d
movsbl %r13b, %r14d
movsbl 0x4(%rsp), %eax
movsbl %r15b, %r8d
leaq 0x14(%rsp), %rdi
movq %rsi, %r13
movl %r11d, %esi
movl %r12d, %edx
movq %rsp, %rcx
movl %r8d, 0x80(%rsp)
movq %r9, %r15
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
movq 0x50(%rsp), %r12
pushq %r12
pushq %r13
leaq 0x30(%rsp), %r10
pushq %r10
movq %r14, 0xa0(%rsp)
pushq %r14
leaq 0x39(%rsp), %r10
pushq %r10
movq %rbx, %r13
movq 0xb8(%rsp), %rbx
movq 0xa0(%rsp), %r14
pushq %r14
pushq %rbx
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq %r13
pushq %r15
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movsbl 0x50(%rsp), %r10d
movsbl 0x58(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq %rsp, %rcx
movl 0x80(%rsp), %r8d
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq 0x40(%rsp)
pushq %r12
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0xa0(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq %r14
pushq %rbx
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x90(%rsp)
pushq %r13
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movl 0x20(%rsp), %eax
cmpl 0x24(%rsp), %eax
movq 0x40(%rsp), %r11
movq 0x48(%rsp), %r12
movq 0x28(%rsp), %rsi
movq %r13, %rbx
movq 0x30(%rsp), %r9
movb 0x3(%rsp), %r15b
movb 0x2(%rsp), %r13b
jne 0xe019
movl %r12d, %ecx
subl %esi, %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
movl %r12d, %edx
subl %ebx, %edx
movl %edx, %ecx
negl %ecx
cmovsl %edx, %ecx
cmpl %ecx, %eax
jae 0xe17b
movsbl 0x50(%rsp), %r10d
movsbl %r15b, %r15d
movsbl 0x58(%rsp), %eax
movq %rax, 0x70(%rsp)
movsbl %r13b, %r8d
leaq 0x14(%rsp), %rdi
movq %rsi, %r13
movq 0x78(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq %rsp, %rcx
movl %r8d, 0xa4(%rsp)
movq %r9, %r14
leaq 0x10(%rsp), %r9
movq %r12, %rax
movq %r11, %r12
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq %r13
movq %r12, %r13
movq 0x58(%rsp), %r12
pushq %r12
leaq 0x30(%rsp), %r10
pushq %r10
movq %r15, 0xb0(%rsp)
pushq %r15
leaq 0x39(%rsp), %r10
pushq %r10
pushq %rax
pushq %r13
leaq 0x5c(%rsp), %r10
pushq %r10
pushq 0xc8(%rsp)
pushq %r14
pushq %rbx
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
movq 0x78(%rsp), %rsi
jne 0xe802
movsbl 0x5(%rsp), %r10d
movsbl 0x4(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x60(%rsp), %rdx
movq %rsp, %rcx
movl 0xa4(%rsp), %r8d
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq %r12
pushq 0x48(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0xb0(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq 0x88(%rsp)
pushq %r13
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0xc8(%rsp)
pushq %r14
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movl 0x20(%rsp), %eax
cmpl 0x24(%rsp), %eax
movq %r13, %r11
movq 0x28(%rsp), %rsi
movq 0x60(%rsp), %r12
movq %r14, %r9
movb 0x3(%rsp), %r15b
movb 0x2(%rsp), %r13b
jne 0xe188
movq 0x48(%rsp), %r12
movl %r12d, %eax
movq 0x68(%rsp), %rbx
subl %ebx, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %r12d, %edx
subl %esi, %edx
movl %edx, %eax
negl %eax
cmovsl %edx, %eax
cmpl %eax, %ecx
movq 0x60(%rsp), %r12
jae 0xe2ce
movsbl 0x4(%rsp), %r10d
movsbl %r15b, %ebx
movsbl 0x5(%rsp), %eax
movsbl %r13b, %r8d
leaq 0x14(%rsp), %rdi
movq %rsi, %r13
movq 0x78(%rsp), %r14
movl %r14d, %esi
movl %r12d, %edx
movq %rsp, %rcx
movl %r8d, 0x80(%rsp)
movq %r9, %r12
leaq 0x10(%rsp), %r9
movq %r11, %r15
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq 0x80(%rsp)
pushq %r12
leaq 0x30(%rsp), %r10
pushq %r10
movq %rbx, 0xa0(%rsp)
pushq %rbx
leaq 0x39(%rsp), %r10
pushq %r10
movq 0x88(%rsp), %rbx
pushq %rbx
pushq %r15
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
movq 0x98(%rsp), %r12
pushq %r12
pushq %r13
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movsbl 0x58(%rsp), %r10d
movsbl 0x50(%rsp), %eax
leaq 0x14(%rsp), %rdi
movl %r14d, %esi
movq 0x60(%rsp), %rdx
movq %rsp, %rcx
movl 0x80(%rsp), %r8d
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq 0x48(%rsp)
pushq 0x88(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0xa0(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq %rbx
pushq 0x88(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x88(%rsp)
pushq %r12
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movl 0x20(%rsp), %eax
cmpl 0x24(%rsp), %eax
movq 0x40(%rsp), %r11
movq 0x28(%rsp), %rsi
movq 0x60(%rsp), %r12
movq 0x30(%rsp), %r9
movb 0x3(%rsp), %r15b
movb 0x2(%rsp), %r13b
jne 0xe2f3
movl %r11d, %ecx
movq 0x38(%rsp), %rdi
subl %edi, %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
movl %r12d, %edx
subl %edi, %edx
movl %edx, %ecx
negl %ecx
cmovsl %edx, %ecx
cmpl %ecx, %eax
jae 0xe44e
movsbl 0x7(%rsp), %r10d
movsbl 0x4(%rsp), %eax
movsbl 0x6(%rsp), %ecx
movq %rcx, 0x58(%rsp)
movsbl 0x5(%rsp), %r8d
leaq 0x14(%rsp), %rdi
movq 0x38(%rsp), %r13
movl %r13d, %edx
movq %rsp, %rcx
movl %r8d, 0x70(%rsp)
movq %r9, %r15
leaq 0x10(%rsp), %r9
movq %r11, %rbx
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
movq 0x90(%rsp), %r14
pushq %r14
pushq %r12
leaq 0x30(%rsp), %r10
pushq %r10
movq %rax, 0x80(%rsp)
pushq %rax
leaq 0x39(%rsp), %r10
pushq %r10
movq 0xa8(%rsp), %r12
pushq %r12
pushq %r15
movq %rbx, %r15
leaq 0x5c(%rsp), %r10
pushq %r10
pushq 0xb0(%rsp)
pushq %rbx
movq 0xb0(%rsp), %rbx
pushq %rbx
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movsbl 0x2(%rsp), %r10d
movsbl 0x3(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl %r13d, %edx
movq %rsp, %rcx
movl 0x70(%rsp), %r8d
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq 0x78(%rsp)
pushq %r14
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x80(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq %r12
pushq 0x78(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq %rbx
pushq %r15
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movl 0x20(%rsp), %eax
cmpl 0x24(%rsp), %eax
movq %r15, %r11
movq 0x28(%rsp), %rsi
movq 0x60(%rsp), %r12
movq 0x30(%rsp), %r9
movb 0x3(%rsp), %r15b
movb 0x2(%rsp), %r13b
jne 0xe456
movl %r12d, %eax
movq 0x38(%rsp), %rdi
subl %edi, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %r11d, %edx
subl %edi, %edx
movl %edx, %eax
negl %eax
cmovsl %edx, %eax
cmpl %eax, %ecx
jae 0xe57e
movsbl %r15b, %r10d
movsbl 0x4(%rsp), %r14d
movsbl %r13b, %eax
movsbl 0x5(%rsp), %r8d
leaq 0x14(%rsp), %rdi
movq 0x38(%rsp), %r13
movl %r13d, %edx
movq %rsp, %rcx
movl %r8d, 0x50(%rsp)
movq %r9, %r15
leaq 0x10(%rsp), %r9
movq %r11, %rbx
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq 0x60(%rsp)
pushq %rbx
leaq 0x30(%rsp), %r10
pushq %r10
movq %r14, 0x88(%rsp)
pushq %r14
leaq 0x39(%rsp), %r10
pushq %r10
movq 0xa8(%rsp), %rbx
pushq %rbx
pushq %r15
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq %r12
movq 0xe0(%rsp), %r14
pushq %r14
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movsbl 0x6(%rsp), %r10d
movsbl 0x7(%rsp), %eax
leaq 0x14(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl %r13d, %edx
movq %rsp, %rcx
movl 0x50(%rsp), %r8d
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq 0x58(%rsp)
pushq 0x68(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x88(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq %rbx
pushq 0x78(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq %r14
pushq 0xc8(%rsp)
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movl 0x20(%rsp), %eax
cmpl 0x24(%rsp), %eax
movq 0x40(%rsp), %r11
movq 0x28(%rsp), %rsi
movq 0x60(%rsp), %r12
movq 0x30(%rsp), %r9
jne 0xe5a1
movq 0x38(%rsp), %rdx
movl %edx, %ecx
subl %r11d, %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
subl %r12d, %edx
movl %edx, %ecx
negl %ecx
cmovsl %edx, %ecx
cmpl %ecx, %eax
jae 0xe6e7
movsbl 0x6(%rsp), %r10d
movsbl 0x5(%rsp), %r14d
movsbl 0x7(%rsp), %eax
movsbl 0x4(%rsp), %r8d
leaq 0x14(%rsp), %rdi
movq %rsi, %rbx
movl %r9d, %esi
movq 0x68(%rsp), %rdx
movq %rsp, %rcx
movl %r8d, 0x50(%rsp)
leaq 0x10(%rsp), %r9
movq %r11, %r13
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq %r13
movq 0x68(%rsp), %r11
pushq %r11
leaq 0x30(%rsp), %r10
pushq %r10
movq %r14, 0x88(%rsp)
pushq %r14
leaq 0x39(%rsp), %r10
pushq %r10
movq 0x78(%rsp), %r13
pushq %r13
pushq %rbx
movq %r11, %rbx
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
movq 0xd8(%rsp), %r14
pushq %r14
pushq %r12
callq 0xd723
movq 0xd8(%rsp), %r15
movq 0xa0(%rsp), %rsi
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movsbl 0x3(%rsp), %r10d
movsbl 0x2(%rsp), %eax
leaq 0x14(%rsp), %rdi
movl %r15d, %edx
movq %rsp, %rcx
movl 0x50(%rsp), %r8d
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq %rbx
pushq 0x60(%rsp)
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x88(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq %r13
pushq 0x70(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq %r12
pushq %r14
callq 0xd723
movq 0xa0(%rsp), %r9
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movl 0x20(%rsp), %eax
cmpl 0x24(%rsp), %eax
jne 0xe703
movl %r13d, %eax
subl %r12d, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %r13d, %edx
movq 0x40(%rsp), %r11
subl %r11d, %edx
movl %edx, %eax
negl %eax
cmovsl %edx, %eax
cmpl %eax, %ecx
movq 0x48(%rsp), %rbx
movq 0x38(%rsp), %r13
movq 0x78(%rsp), %r14
movq 0x68(%rsp), %r15
jae 0xe8d8
movsbl 0x2(%rsp), %r10d
movsbl 0x5(%rsp), %eax
movsbl 0x3(%rsp), %ecx
movq %rcx, 0x38(%rsp)
movsbl 0x4(%rsp), %r8d
leaq 0x14(%rsp), %rdi
movl %r9d, %esi
movl %r15d, %edx
movq %rsp, %rcx
movl %r8d, 0x50(%rsp)
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq %r12
pushq %r14
leaq 0x30(%rsp), %r10
pushq %r10
movq %rax, 0x88(%rsp)
pushq %rax
leaq 0x39(%rsp), %r10
pushq %r10
pushq %r13
pushq 0x70(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq 0x90(%rsp)
pushq %rbx
pushq 0xa8(%rsp)
callq 0xd723
movq 0xa0(%rsp), %rsi
addq $0x70, %rsp
testl %eax, %eax
jne 0xe802
movsbl 0x7(%rsp), %r10d
movsbl 0x6(%rsp), %eax
leaq 0x14(%rsp), %rdi
movl %r15d, %edx
movq %rsp, %rcx
movl 0x50(%rsp), %r8d
leaq 0x10(%rsp), %r9
movl 0x100(%rsp), %r11d
pushq %r11
pushq 0x20(%rsp)
pushq %r10
pushq %r14
pushq %r12
leaq 0x30(%rsp), %r10
pushq %r10
pushq 0x88(%rsp)
leaq 0x39(%rsp), %r10
pushq %r10
pushq %r13
pushq 0x70(%rsp)
leaq 0x5c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0xa0(%rsp)
pushq %rbx
callq 0xd723
addq $0x70, %rsp
testl %eax, %eax
je 0xe8d8
movb (%rsp), %cl
movq 0xb8(%rsp), %rax
movq 0x98(%rsp), %rdx
movq (%rax,%rdx,8), %rsi
movslq 0x14(%rsp), %rax
movl 0x10(%rsp), %edx
cmpb 0x40(%rsi), %cl
jne 0xe867
cmpl %eax, %edx
jl 0xe845
movq %rax, %rdi
addq 0xa8(%rsp), %rdi
subl %eax, %edx
incq %rdx
movl $0x50, %esi
callq 0x20f0
movslq 0xc(%rsp), %rcx
movl 0x8(%rsp), %eax
cmpl %ecx, %eax
movq 0x90(%rsp), %rbx
jl 0xe8b6
movq %rcx, %rdi
addq 0xb0(%rsp), %rdi
jmp 0xe8a5
cmpl %eax, %edx
jl 0xe885
movq %rax, %rdi
addq 0xb0(%rsp), %rdi
subl %eax, %edx
incq %rdx
movl $0x50, %esi
callq 0x20f0
movslq 0xc(%rsp), %rcx
movl 0x8(%rsp), %eax
cmpl %ecx, %eax
movq 0x90(%rsp), %rbx
jl 0xe8b6
movq %rcx, %rdi
addq 0xa8(%rsp), %rdi
subl %ecx, %eax
movl %eax, %edx
incq %rdx
movl $0x50, %esi
callq 0x20f0
addq $0x10, %rbp
movq 0x18(%rsp), %rdx
movq (%rdx,%rbx,8), %rax
xorl %ecx, %ecx
movq %rcx, 0x10(%rax)
movq (%rdx,%rbx,8), %rax
movq %rcx, 0x18(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbp)
movq 0x90(%rsp), %rcx
incq %rcx
cmpq 0xc0(%rsp), %rcx
jne 0xd9f0
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq