// File: /workspace/github_c_makefile_star2_O2/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 $0xf8, %rsp
movq %r9, 0x60(%rsp)
movq %rdx, 0xc8(%rsp)
movq %rsi, %r12
movq %rdi, %r13
movl 0x130(%rsp), %eax
movl %ecx, 0x80(%rsp)
movslq %ecx, %rcx
movq %rcx, 0xc0(%rsp)
movl %r8d, 0x84(%rsp)
movslq %r8d, %rcx
movq %rcx, 0xb8(%rsp)
testl %eax, %eax
movl $0x0, %ecx
cmovgl %eax, %ecx
movq %rcx, 0xf0(%rsp)
xorl %r10d, %r10d
movq %rdi, 0xe8(%rsp)
movq %rsi, 0xe0(%rsp)
cmpq 0xf0(%rsp), %r10
je 0xe5c5
movq 0x60(%rsp), %rax
movq (%rax,%r10,8), %rax
movq 0x10(%rax), %rbx
movq 0x18(%rax), %rcx
testq %rbx, %rbx
je 0xd2de
testq %rcx, %rcx
jne 0xe549
jmp 0xd2ea
movq %rcx, %rbx
testq %rcx, %rcx
je 0xe549
movq 0x138(%rsp), %rcx
cmpl $0x0, 0x1d60(%rcx)
movq %r10, 0x70(%rsp)
je 0xd3fa
movq 0x12cc5(%rip), %rcx     # 0x1ffd0
movq (%rcx), %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 0xbd30(%rip), %rsi      # 0x19060
xorl %eax, %eax
callq 0x2160
movq 0x60(%rsp), %rax
movq 0x70(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq (%rdx), %rsi
movq (%rsi), %rdi
movq (%rdi), %rax
movb 0x40(%rax), %al
movq 0xc8(%rsp), %r8
movq 0xc0(%rsp), %rcx
movq (%r8,%rcx,8), %rcx
cmpb 0x40(%rcx), %al
jne 0xd387
movq 0x68(%rcx), %rax
movslq 0x8(%rdi), %rcx
movq %r8, %rdi
leaq (%rax,%rcx,8), %r8
movq 0xb8(%rsp), %rcx
movq (%rdi,%rcx,8), %rcx
jmp 0xd39f
movq 0xb8(%rsp), %rax
movq (%r8,%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 0x12c22(%rip), %rdi     # 0x1ffd0
movq (%rdi), %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 0xbc7f(%rip), %rsi      # 0x1906d
xorl %eax, %eax
callq 0x2160
movq 0x70(%rsp), %r10
movq 0x60(%rsp), %rax
movq (%rax,%r10,8), %rbp
movq %rbp, %rcx
movq %rbx, %rbp
movq 0x10(%rbx), %rdx
testq %rdx, %rdx
je 0xd437
movq 0x18(%rbp), %rax
testq %rax, %rax
je 0xd437
cmpq %rbp, 0x10(%rdx)
je 0xd42a
movq %rax, %rbx
cmpq %rbp, 0x18(%rdx)
jne 0xd403
movq %rdx, %rbx
cmpq %rcx, %rdx
jne 0xd403
movq %rax, %rbx
jmp 0xd403
movq 0x138(%rsp), %rax
cmpl $0x0, 0x1d60(%rax)
je 0xd533
movq 0x12b7d(%rip), %rax     # 0x1ffd0
movq (%rax), %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 0xbc1a(%rip), %rsi      # 0x19093
xorl %eax, %eax
callq 0x2160
movq (%rbp), %rdx
movq (%rdx), %rsi
movq (%rsi), %rax
movb 0x40(%rax), %al
movq 0xc8(%rsp), %rdi
movq 0xc0(%rsp), %rcx
movq (%rdi,%rcx,8), %rcx
cmpb 0x40(%rcx), %al
jne 0xd4c0
movq 0x68(%rcx), %rax
movslq 0x8(%rsi), %rcx
leaq (%rax,%rcx,8), %rsi
movq 0xb8(%rsp), %rcx
movq (%rdi,%rcx,8), %rcx
jmp 0xd4d8
movq 0xb8(%rsp), %rax
movq (%rdi,%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 0x12ae9(%rip), %rdi     # 0x1ffd0
movq (%rdi), %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 0xbb46(%rip), %rsi      # 0x1906d
xorl %eax, %eax
callq 0x2160
movq 0x70(%rsp), %r10
subq $0x8, %rsp
leaq 0xbc(%rsp), %rdi
leaq 0x94(%rsp), %rsi
leaq 0xb8(%rsp), %rdx
leaq 0xe4(%rsp), %rcx
leaq 0x1b(%rsp), %r8
leaq 0x1a(%rsp), %r9
movq 0x68(%rsp), %rax
pushq (%rax,%r10,8)
leaq 0x26(%rsp), %rax
pushq %rax
leaq 0x2f(%rsp), %rax
pushq %rax
callq 0xcf5c
addq $0x18, %rsp
leaq 0xe0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
leaq 0xdc(%rsp), %rdx
leaq 0xb4(%rsp), %rcx
leaq 0x19(%rsp), %r8
leaq 0x18(%rsp), %r9
pushq %rbp
leaq 0x24(%rsp), %rax
pushq %rax
leaq 0x2d(%rsp), %rax
pushq %rax
callq 0xcf5c
addq $0x20, %rsp
movl 0xdc(%rsp), %r15d
movl 0xd8(%rsp), %r11d
movl 0xd4(%rsp), %r9d
movl 0x80(%rsp), %eax
cmpl 0x84(%rsp), %eax
movq %r15, 0xa0(%rsp)
jne 0xd611
movl %r11d, %ecx
subl %r15d, %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
movl %r9d, %edx
subl %r15d, %edx
movl %edx, %ecx
negl %ecx
cmovsl %edx, %ecx
cmpl %ecx, %eax
jae 0xd815
movl 0xb4(%rsp), %esi
movb 0x13(%rsp), %cl
movl 0xac(%rsp), %eax
movq %rax, 0x50(%rsp)
movsbl 0x14(%rsp), %eax
movq %rax, 0x58(%rsp)
movl 0x8c(%rsp), %r13d
movl 0xb0(%rsp), %r14d
movsbl 0x12(%rsp), %eax
movl 0x88(%rsp), %ebx
movsbl 0x15(%rsp), %r10d
movb %cl, 0x78(%rsp)
movsbl %cl, %r8d
leaq 0x24(%rsp), %rdi
movq %rsi, 0x40(%rsp)
movl %r15d, %edx
leaq 0xe(%rsp), %rcx
movl %r8d, 0x98(%rsp)
movq %r11, %r15
movq %r9, %r12
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r11d
pushq %r11
pushq 0x68(%rsp)
pushq %r10
movq %rbx, 0x48(%rsp)
pushq %rbx
movq %r12, %rbx
pushq %r12
leaq 0x40(%rsp), %r10
pushq %r10
movq %rax, 0xc0(%rsp)
pushq %rax
leaq 0x47(%rsp), %r10
pushq %r10
movq %r14, 0x78(%rsp)
pushq %r14
movq %r13, 0x70(%rsp)
pushq %r13
leaq 0x6c(%rsp), %r10
pushq %r10
pushq 0xb0(%rsp)
pushq %r15
pushq 0xb8(%rsp)
movq 0x150(%rsp), %r12
movq 0x158(%rsp), %r13
callq 0xcfd7
addq $0x70, %rsp
testl %eax, %eax
movq 0x70(%rsp), %r10
movq 0xa0(%rsp), %r14
jne 0xe4ae
movsbl 0x11(%rsp), %r11d
movsbl 0x10(%rsp), %eax
movsbl 0x90(%rsp), %ecx
movq %rcx, 0x58(%rsp)
leaq 0x24(%rsp), %rdi
movq 0x40(%rsp), %rsi
movl %r14d, %edx
leaq 0xe(%rsp), %rcx
movl 0x98(%rsp), %r8d
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r10d
pushq %r10
pushq 0x68(%rsp)
movq %rax, 0xa8(%rsp)
pushq %rax
pushq %rbx
pushq 0x50(%rsp)
leaq 0x40(%rsp), %r10
pushq %r10
pushq 0x88(%rsp)
leaq 0x47(%rsp), %rax
pushq %rax
pushq 0x78(%rsp)
pushq 0x70(%rsp)
leaq 0x6c(%rsp), %rax
pushq %rax
movq %r11, 0xb0(%rsp)
pushq %r11
pushq 0xb0(%rsp)
pushq %r15
callq 0xcfd7
movq 0xe0(%rsp), %r10
addq $0x70, %rsp
testl %eax, %eax
jne 0xe4ae
movq %r14, %rcx
movq 0x98(%rsp), %rsi
movq 0x58(%rsp), %r14
movq 0x90(%rsp), %rdi
movq %rbx, 0x48(%rsp)
movq 0x40(%rsp), %r8
movq %r15, 0x68(%rsp)
movq %rcx, %r15
movl 0x80(%rsp), %eax
cmpl 0x84(%rsp), %eax
jne 0xd873
movq 0x48(%rsp), %r9
movl %r9d, %eax
subl %r15d, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movq 0x68(%rsp), %r11
movl %r11d, %edx
subl %r15d, %edx
movl %edx, %eax
negl %eax
cmovsl %edx, %eax
movq 0x50(%rsp), %rdx
movq 0x38(%rsp), %rbx
jmp 0xd82b
movl 0xb4(%rsp), %r8d
movl 0xac(%rsp), %edx
movl 0xb0(%rsp), %ebx
cmpl %eax, %ecx
jae 0xd9f9
movq %rbx, 0x38(%rsp)
movq %r9, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
movq %r11, 0x68(%rsp)
movb 0x13(%rsp), %dl
movl 0x88(%rsp), %eax
movq %rax, 0x30(%rsp)
movb 0x10(%rsp), %sil
movl 0x8c(%rsp), %eax
movq %rax, 0x28(%rsp)
movb 0x12(%rsp), %dil
movb 0x11(%rsp), %al
jmp 0xd87a
movb 0x78(%rsp), %dl
movq %r14, %rax
movq %r8, 0x40(%rsp)
movq %rdi, 0x90(%rsp)
movsbl %al, %r10d
movsbl %dil, %ebx
movsbl %sil, %eax
movb %dl, 0x78(%rsp)
movsbl %dl, %r14d
leaq 0x24(%rsp), %rdi
movl %r8d, %esi
movl %r15d, %edx
leaq 0xe(%rsp), %rcx
movl %r14d, %r8d
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r11d
pushq %r11
pushq 0x68(%rsp)
pushq %r10
movq 0x68(%rsp), %r15
pushq %r15
pushq 0x88(%rsp)
leaq 0x40(%rsp), %r10
pushq %r10
movq %rbx, 0x88(%rsp)
pushq %rbx
leaq 0x47(%rsp), %r10
pushq %r10
movq 0x78(%rsp), %rbx
pushq %rbx
pushq 0x70(%rsp)
leaq 0x6c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0xa8(%rsp)
pushq 0x98(%rsp)
callq 0xcfd7
addq $0x70, %rsp
testl %eax, %eax
movq 0x70(%rsp), %r10
jne 0xe4ae
movsbl 0x15(%rsp), %r10d
movsbl 0x14(%rsp), %eax
leaq 0x24(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0xa0(%rsp), %rdx
leaq 0xe(%rsp), %rcx
movl %r14d, %r8d
movq %rax, %r14
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %eax
pushq %rax
pushq 0x68(%rsp)
pushq %r14
pushq 0x80(%rsp)
pushq %r15
leaq 0x40(%rsp), %rax
pushq %rax
pushq 0x88(%rsp)
leaq 0x47(%rsp), %rax
pushq %rax
pushq %rbx
movq %r10, %rbx
pushq 0x70(%rsp)
leaq 0x6c(%rsp), %rax
pushq %rax
pushq %r10
pushq 0x90(%rsp)
pushq 0xb0(%rsp)
callq 0xcfd7
movq 0xe0(%rsp), %r10
addq $0x70, %rsp
testl %eax, %eax
jne 0xe4ae
movq %r14, %r9
movq 0x90(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x68(%rsp), %r14
movq 0xa0(%rsp), %r15
movl 0x80(%rsp), %eax
cmpl 0x84(%rsp), %eax
jne 0xe551
movq %r14, %r11
movq 0x40(%rsp), %r8
movq 0x50(%rsp), %rdx
movq 0x48(%rsp), %r9
movq 0x38(%rsp), %rbx
movl %r15d, %ecx
subl %r11d, %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
movl %r15d, %esi
subl %r9d, %esi
movl %esi, %ecx
negl %ecx
cmovsl %esi, %ecx
cmpl %ecx, %eax
jae 0xdbfe
movq %r9, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
movq %r8, 0x40(%rsp)
movq %r11, %r14
movl 0x8c(%rsp), %ecx
movb 0x12(%rsp), %dil
movl 0x88(%rsp), %eax
movq %rax, 0x30(%rsp)
movb 0x15(%rsp), %dl
movb 0x13(%rsp), %al
movb 0x14(%rsp), %sil
movq %rbx, 0x38(%rsp)
movq %rdi, 0x90(%rsp)
movsbl %sil, %r10d
movb %al, 0x78(%rsp)
movsbl %al, %eax
movsbl %dl, %edx
movq %rdx, 0x58(%rsp)
movsbl %dil, %r8d
leaq 0x24(%rsp), %rdi
movq %rcx, %rsi
movq %rcx, 0x28(%rsp)
movl %ebx, %edx
leaq 0xe(%rsp), %rcx
movl %r8d, 0xa8(%rsp)
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r11d
pushq %r11
pushq 0x68(%rsp)
pushq %r10
movq %r14, 0x80(%rsp)
pushq %r14
movq 0x70(%rsp), %r14
pushq %r14
leaq 0x40(%rsp), %r10
pushq %r10
movq %rax, 0xc8(%rsp)
pushq %rax
leaq 0x47(%rsp), %r10
pushq %r10
pushq %r15
movq 0x88(%rsp), %rbx
pushq %rbx
leaq 0x6c(%rsp), %r10
pushq %r10
pushq 0xb0(%rsp)
pushq 0x90(%rsp)
pushq 0xb0(%rsp)
callq 0xcfd7
addq $0x70, %rsp
testl %eax, %eax
movq 0x70(%rsp), %r10
jne 0xe4ae
movsbl 0x10(%rsp), %r11d
movsbl 0x11(%rsp), %r10d
leaq 0x24(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x38(%rsp), %rdx
leaq 0xe(%rsp), %rcx
movl 0xa8(%rsp), %r8d
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %eax
pushq %rax
pushq 0x68(%rsp)
movq %r10, 0x68(%rsp)
pushq %r10
pushq %r14
pushq 0x88(%rsp)
leaq 0x40(%rsp), %rax
pushq %rax
pushq 0xc8(%rsp)
leaq 0x47(%rsp), %rax
pushq %rax
pushq %r15
pushq %rbx
leaq 0x6c(%rsp), %rax
pushq %rax
movq %r11, %r14
pushq %r11
pushq 0xa8(%rsp)
pushq 0x98(%rsp)
callq 0xcfd7
movq 0xe0(%rsp), %r10
addq $0x70, %rsp
testl %eax, %eax
jne 0xe4ae
movq 0x90(%rsp), %rsi
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rdx
movq 0x38(%rsp), %rbx
movq %r15, %rcx
movq 0x48(%rsp), %r15
movl 0x80(%rsp), %eax
cmpl 0x84(%rsp), %eax
jne 0xe570
movl %ecx, %eax
movq %r15, %r9
movq %rcx, %r15
subl %r9d, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl %r15d, %edx
movq 0x68(%rsp), %r11
subl %r11d, %edx
movl %edx, %eax
negl %eax
cmovsl %edx, %eax
movq 0x40(%rsp), %r8
movq 0x50(%rsp), %rdx
cmpl %eax, %ecx
jae 0xddbc
movq %r9, %r15
movq %rdx, 0x50(%rsp)
movq %r8, 0x40(%rsp)
movq %r11, 0x68(%rsp)
movl 0x8c(%rsp), %ecx
movb 0x12(%rsp), %sil
movb 0x11(%rsp), %al
movb 0x13(%rsp), %dl
movl 0x88(%rsp), %edi
movb 0x10(%rsp), %r14b
movq %rbx, 0x38(%rsp)
movq %rdi, 0x30(%rsp)
movq %r14, 0x90(%rsp)
movsbl %r14b, %r10d
movsbl %dl, %r14d
movq %rax, 0x58(%rsp)
movsbl %al, %eax
movq %rax, 0x78(%rsp)
movsbl %sil, %r8d
movq %rdi, %rax
leaq 0x24(%rsp), %rdi
movq %rcx, %rsi
movq %rcx, 0x28(%rsp)
movl %ebx, %edx
leaq 0xe(%rsp), %rcx
movl %r8d, 0xa8(%rsp)
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r11d
pushq %r11
pushq 0x68(%rsp)
pushq %r10
movq %r15, 0x60(%rsp)
pushq %r15
pushq %rax
leaq 0x40(%rsp), %r10
pushq %r10
movq %r14, 0xc8(%rsp)
pushq %r14
leaq 0x47(%rsp), %r10
pushq %r10
movq 0xe0(%rsp), %r15
pushq %r15
pushq 0x88(%rsp)
leaq 0x6c(%rsp), %r10
pushq %r10
pushq 0xd0(%rsp)
movq 0xb0(%rsp), %r14
pushq %r14
movq 0xd0(%rsp), %rbx
pushq %rbx
callq 0xcfd7
addq $0x70, %rsp
testl %eax, %eax
movq 0x70(%rsp), %r10
jne 0xe4ae
movsbl 0x14(%rsp), %eax
movsbl 0x15(%rsp), %r10d
leaq 0x24(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x38(%rsp), %rdx
leaq 0xe(%rsp), %rcx
movl 0xa8(%rsp), %r8d
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r11d
pushq %r11
pushq 0x68(%rsp)
pushq %r10
pushq 0x48(%rsp)
pushq 0x68(%rsp)
leaq 0x40(%rsp), %r10
pushq %r10
pushq 0xc8(%rsp)
leaq 0x47(%rsp), %r10
pushq %r10
pushq %r15
pushq 0x88(%rsp)
leaq 0x6c(%rsp), %r10
pushq %r10
pushq %rax
pushq %rbx
pushq %r14
callq 0xcfd7
movq 0xe0(%rsp), %r10
addq $0x70, %rsp
testl %eax, %eax
jne 0xe4ae
movl 0x80(%rsp), %eax
cmpl 0x84(%rsp), %eax
movq %rbx, %r11
movq 0x40(%rsp), %r8
movq %r14, %rdx
movq 0x48(%rsp), %r9
movq 0x38(%rsp), %rbx
movq 0x58(%rsp), %rcx
movq 0x90(%rsp), %rsi
movq 0x28(%rsp), %rax
jne 0xddf7
movl %r8d, %ecx
subl %edx, %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
movl %ebx, %esi
subl %edx, %esi
movl %esi, %ecx
negl %ecx
cmovsl %esi, %ecx
cmpl %ecx, %eax
jae 0xdfa9
movb 0x11(%rsp), %cl
movl 0x88(%rsp), %eax
movq %rax, 0x30(%rsp)
movb 0x10(%rsp), %sil
movl 0x8c(%rsp), %eax
movq %rax, 0x28(%rsp)
movq %rdx, 0x50(%rsp)
movsbl 0x16(%rsp), %edi
movq %rdi, 0x78(%rsp)
movsbl 0x17(%rsp), %r10d
movq %rsi, 0x90(%rsp)
movsbl %sil, %r15d
movq %rcx, 0x58(%rsp)
movq %r8, 0x40(%rsp)
movsbl %cl, %r8d
leaq 0x24(%rsp), %rdi
movq %r11, 0x68(%rsp)
movl %r11d, %esi
leaq 0xe(%rsp), %rcx
movl %r8d, 0x98(%rsp)
movq %r9, %r14
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r11d
pushq %r11
pushq 0x68(%rsp)
pushq %r10
pushq %rax
movq %rbx, 0x58(%rsp)
pushq %rbx
leaq 0x40(%rsp), %r10
pushq %r10
movq %r15, %rbx
pushq %r15
leaq 0x47(%rsp), %r10
pushq %r10
movq %r14, 0x88(%rsp)
pushq %r14
pushq 0x78(%rsp)
leaq 0x6c(%rsp), %r10
pushq %r10
pushq 0xd0(%rsp)
movq 0xa0(%rsp), %rax
movq %rax, %r14
pushq %rax
movq 0x108(%rsp), %r15
pushq %r15
callq 0xcfd7
addq $0x70, %rsp
testl %eax, %eax
movq 0x70(%rsp), %r10
jne 0xe4ae
movq %r15, %r11
movsbl 0x13(%rsp), %r10d
movsbl 0x12(%rsp), %r15d
leaq 0x24(%rsp), %rdi
movq 0x68(%rsp), %rsi
movq 0x50(%rsp), %rdx
leaq 0xe(%rsp), %rcx
movl 0x98(%rsp), %r8d
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %eax
pushq %rax
pushq 0x68(%rsp)
movq %r15, 0x88(%rsp)
pushq %r15
pushq 0x50(%rsp)
pushq 0x48(%rsp)
leaq 0x40(%rsp), %rax
pushq %rax
pushq %rbx
leaq 0x47(%rsp), %rax
pushq %rax
pushq 0x88(%rsp)
pushq 0x78(%rsp)
leaq 0x6c(%rsp), %rax
pushq %rax
movq %r10, %r15
pushq %r10
pushq %r11
pushq %r14
movq %r11, %rbx
callq 0xcfd7
movq 0xe0(%rsp), %r10
addq $0x70, %rsp
testl %eax, %eax
jne 0xe4ae
movq %rbx, %rcx
movq 0x78(%rsp), %r8
movq %r15, %rdi
movq 0x30(%rsp), %rbx
movq 0x50(%rsp), %rdx
movq 0x68(%rsp), %r11
movq %rcx, %r15
movl 0x80(%rsp), %eax
cmpl 0x84(%rsp), %eax
jne 0xe581
movq 0x38(%rsp), %rbx
movl %ebx, %eax
subl %edx, %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movq 0x40(%rsp), %r8
movl %r8d, %edi
subl %edx, %edi
movl %edi, %eax
negl %eax
cmovsl %edi, %eax
movq 0x48(%rsp), %r9
jmp 0xdfb6
movq 0x70(%rsp), %r10
movq 0xa0(%rsp), %r15
cmpl %eax, %ecx
jae 0xe17f
movq %rbx, 0x38(%rsp)
movq %r9, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movb 0x11(%rsp), %cl
movl 0x8c(%rsp), %eax
movq %rax, 0x28(%rsp)
movb 0x12(%rsp), %r8b
movl 0x88(%rsp), %ebx
movb 0x10(%rsp), %al
movb 0x13(%rsp), %dil
movq %rbx, 0x30(%rsp)
movq %rdx, 0x50(%rsp)
movsbl %dil, %r10d
movq %rax, 0x90(%rsp)
movsbl %al, %r14d
movsbl %r8b, %eax
movq %rcx, 0x58(%rsp)
movsbl %cl, %r8d
leaq 0x24(%rsp), %rdi
movq %r11, 0x68(%rsp)
movl %r11d, %esi
leaq 0xe(%rsp), %rcx
movl %r8d, 0x98(%rsp)
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r11d
pushq %r11
pushq 0x68(%rsp)
pushq %r10
pushq %r15
movq 0x60(%rsp), %r15
pushq %r15
leaq 0x40(%rsp), %r10
pushq %r10
movq %r14, 0xa8(%rsp)
pushq %r14
leaq 0x47(%rsp), %r10
pushq %r10
movq 0x88(%rsp), %r14
pushq %r14
pushq %rbx
leaq 0x6c(%rsp), %r10
pushq %r10
pushq %rax
movq 0x98(%rsp), %rbx
pushq %rbx
pushq 0x90(%rsp)
callq 0xcfd7
addq $0x70, %rsp
testl %eax, %eax
movq 0x70(%rsp), %r10
jne 0xe4ae
movsbl 0x17(%rsp), %eax
movsbl 0x16(%rsp), %r11d
leaq 0x24(%rsp), %rdi
movq 0x68(%rsp), %rsi
movq 0x50(%rsp), %rdx
leaq 0xe(%rsp), %rcx
movl 0x98(%rsp), %r8d
movq %rax, %r10
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %eax
pushq %rax
pushq 0x68(%rsp)
movq %r11, 0xa8(%rsp)
pushq %r11
pushq %r15
pushq 0xc0(%rsp)
leaq 0x40(%rsp), %rax
pushq %rax
pushq 0xa8(%rsp)
leaq 0x47(%rsp), %rax
pushq %rax
pushq %r14
pushq 0x78(%rsp)
leaq 0x6c(%rsp), %rax
pushq %rax
movq %r10, 0xd0(%rsp)
pushq %r10
pushq 0x88(%rsp)
pushq %rbx
callq 0xcfd7
movq 0xe0(%rsp), %r10
addq $0x70, %rsp
testl %eax, %eax
jne 0xe4ae
movq 0x98(%rsp), %rdx
movq 0x30(%rsp), %rsi
movq 0x28(%rsp), %rcx
movq 0xa0(%rsp), %r15
movl 0x80(%rsp), %eax
cmpl 0x84(%rsp), %eax
jne 0xe593
movq 0x68(%rsp), %r11
movq 0x40(%rsp), %r8
movq 0x50(%rsp), %rdx
movq %r14, %r9
movq 0x38(%rsp), %rbx
movq %r11, 0x68(%rsp)
movl %edx, %ecx
subl %r8d, %ecx
movl %ecx, %eax
negl %eax
cmovsl %ecx, %eax
movl %edx, %esi
subl %ebx, %esi
movl %esi, %ecx
negl %ecx
cmovsl %esi, %ecx
cmpl %ecx, %eax
movq %r8, 0x40(%rsp)
movq %rdx, 0x50(%rsp)
movq %rbx, 0x38(%rsp)
jae 0xe35d
movl 0x88(%rsp), %esi
movb 0x10(%rsp), %cl
movl 0x8c(%rsp), %eax
movq %rax, 0x28(%rsp)
movb 0x17(%rsp), %al
movq %rax, 0x78(%rsp)
movb 0x11(%rsp), %al
movb 0x16(%rsp), %dl
movq %rsi, 0x30(%rsp)
movq %r9, 0x48(%rsp)
movsbl %dl, %r10d
movq %rax, 0x58(%rsp)
movsbl %al, %r14d
movsbl 0x78(%rsp), %eax
movq %rcx, 0x90(%rsp)
movsbl %cl, %r8d
leaq 0x24(%rsp), %rdi
movl %r9d, %edx
leaq 0xe(%rsp), %rcx
movl %r8d, 0x98(%rsp)
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r11d
pushq %r11
pushq 0x68(%rsp)
pushq %r10
movq 0x58(%rsp), %rbx
pushq %rbx
pushq %r15
leaq 0x40(%rsp), %r10
pushq %r10
movq %r14, 0xa8(%rsp)
pushq %r14
leaq 0x47(%rsp), %r10
pushq %r10
movq 0x90(%rsp), %r14
pushq %r14
pushq 0xb0(%rsp)
leaq 0x6c(%rsp), %r10
pushq %r10
pushq %rax
pushq 0x88(%rsp)
movq %r15, %rbx
movq 0xa0(%rsp), %r15
pushq %r15
callq 0xcfd7
addq $0x70, %rsp
testl %eax, %eax
movq 0x70(%rsp), %r10
jne 0xe4ae
movq %rbx, %r11
movsbl 0x12(%rsp), %r10d
movsbl 0x13(%rsp), %ebx
leaq 0x24(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq 0x48(%rsp), %rdx
leaq 0xe(%rsp), %rcx
movl 0x98(%rsp), %r8d
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %eax
pushq %rax
pushq 0x68(%rsp)
pushq %rbx
pushq %r11
pushq 0x60(%rsp)
leaq 0x40(%rsp), %rax
pushq %rax
pushq 0xa8(%rsp)
leaq 0x47(%rsp), %rax
pushq %rax
pushq %r14
movq %r10, %r14
pushq 0xb0(%rsp)
leaq 0x6c(%rsp), %rax
pushq %rax
pushq %r10
pushq %r15
pushq 0x90(%rsp)
movq %r11, %r15
callq 0xcfd7
movq 0xe0(%rsp), %r10
addq $0x70, %rsp
testl %eax, %eax
jne 0xe4ae
movq 0x30(%rsp), %rsi
movq 0x28(%rsp), %rcx
movq 0x48(%rsp), %r9
movl 0x80(%rsp), %eax
cmpl 0x84(%rsp), %eax
jne 0xe5ad
movq 0x50(%rsp), %rdx
movl %edx, %eax
subl 0x38(%rsp), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
subl 0x40(%rsp), %edx
movl %edx, %eax
negl %eax
cmovsl %edx, %eax
cmpl %eax, %ecx
jae 0xe549
movl 0x88(%rsp), %esi
movb 0x10(%rsp), %cl
movb 0x13(%rsp), %dil
movb 0x11(%rsp), %al
movl 0x8c(%rsp), %ebx
movb 0x12(%rsp), %r14b
movq %rsi, 0x30(%rsp)
movq %r9, 0x48(%rsp)
movsbl %r14b, %r10d
movsbl %al, %r14d
movsbl %dil, %eax
movsbl %cl, %r8d
leaq 0x24(%rsp), %rdi
movl %r9d, %edx
leaq 0xe(%rsp), %rcx
movl %r8d, 0x90(%rsp)
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r11d
pushq %r11
pushq 0x68(%rsp)
pushq %r10
movq 0x50(%rsp), %r10
pushq %r10
movq %rbx, 0x48(%rsp)
pushq %rbx
leaq 0x40(%rsp), %r10
pushq %r10
movq %r14, 0x88(%rsp)
pushq %r14
leaq 0x47(%rsp), %r10
pushq %r10
pushq 0x90(%rsp)
movq 0xb0(%rsp), %rbx
pushq %rbx
leaq 0x6c(%rsp), %r10
pushq %r10
pushq %rax
pushq %r15
movq 0xa8(%rsp), %r14
pushq %r14
callq 0xcfd7
addq $0x70, %rsp
testl %eax, %eax
movq 0x70(%rsp), %r10
jne 0xe4ae
movsbl 0x16(%rsp), %eax
movsbl 0x17(%rsp), %r10d
leaq 0x24(%rsp), %rdi
movq 0x30(%rsp), %rsi
movq 0x48(%rsp), %rdx
leaq 0xe(%rsp), %rcx
movl 0x90(%rsp), %r8d
leaq 0x20(%rsp), %r9
movl 0x130(%rsp), %r11d
pushq %r11
pushq 0x68(%rsp)
pushq %r10
pushq 0x40(%rsp)
pushq 0x58(%rsp)
leaq 0x40(%rsp), %r10
pushq %r10
pushq 0x88(%rsp)
leaq 0x47(%rsp), %r10
pushq %r10
pushq 0x90(%rsp)
pushq %rbx
leaq 0x6c(%rsp), %r10
pushq %r10
pushq %rax
pushq %r14
pushq %r15
callq 0xcfd7
movq 0xe0(%rsp), %r10
addq $0x70, %rsp
testl %eax, %eax
je 0xe549
movb 0xe(%rsp), %dl
movq 0xc8(%rsp), %rax
movq 0xc0(%rsp), %rcx
movq (%rax,%rcx,8), %rsi
movslq 0x24(%rsp), %rax
movslq 0x20(%rsp), %rcx
cmpb 0x40(%rsi), %dl
jne 0xe4e5
cmpq %rcx, %rax
jg 0xe4f4
movb $0x50, (%r13,%rax)
incq %rax
jmp 0xe4d5
cmpq %rcx, %rax
jg 0xe50d
movb $0x50, (%r12,%rax)
incq %rax
jmp 0xe4e5
movslq 0x1c(%rsp), %rax
movslq 0x18(%rsp), %rcx
cmpq %rcx, %rax
jg 0xe527
movb $0x50, (%r12,%rax)
incq %rax
jmp 0xe4fe
movslq 0x1c(%rsp), %rax
movslq 0x18(%rsp), %rcx
cmpq %rcx, %rax
jg 0xe527
movb $0x50, (%r13,%rax)
incq %rax
jmp 0xe517
addq $0x10, %rbp
movq 0x60(%rsp), %rcx
movq (%rcx,%r10,8), %rax
andq $0x0, 0x10(%rax)
movq (%rcx,%r10,8), %rax
andq $0x0, 0x18(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbp)
incq %r10
jmp 0xd2af
movq %rbx, %r8
movq 0x38(%rsp), %rbx
movq %rdx, %rcx
movq %rsi, 0x30(%rsp)
movb 0x78(%rsp), %al
movq %r8, %rdx
movq %r9, %rsi
jmp 0xda52
movq %rdx, %rcx
movq 0x58(%rsp), %rax
movb 0x78(%rsp), %dl
jmp 0xdc38
movq 0x58(%rsp), %rcx
movq 0x90(%rsp), %rax
jmp 0xdff2
movq %r14, %r9
movq %rcx, 0x28(%rsp)
movq 0x58(%rsp), %rax
movq 0x90(%rsp), %rcx
jmp 0xe1da
movq %rbx, %rdi
movq %rcx, %rbx
movq 0x58(%rsp), %rax
movq 0x90(%rsp), %rcx
jmp 0xe385
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq