// File: /workspace/github_c_makefile_star2_O2/josch[P]stride/mergepat.c
// Function: MergePatternsAntiPar
void MergePatternsAntiPar(PATTERN **Pat, int NPat)
{
  register int i, j;
  int DB, DW, MinDB1, MinDB2, MinDW1, MinDW2, Min, Lnk1A, Lnk1D;
  int I1A, I1D, I2A, I2D, J1A, J1D, J2A, J2D;
  char I1ACn, I1DCn, I2ACn, I2DCn, J1ACn, J1DCn, J2ACn, J2DCn;

  for( i=0; i<NPat; i++ ) {

    if( !Pat[i]->ExistPattern ) continue;

    MinDB1 = MinDB2 = MinDW1 = MinDW2 = 1000;
    Min = ERR;
    Lnk1D = Lnk1A = ERR;

    Alias(&I1D,&I1A,&I2D,&I2A,&I1DCn,&I1ACn,&I2DCn,&I2ACn,Pat[i]);

    for( j=0; j<NPat; j++ ) {

      if( i == j || !Pat[j]->ExistPattern ) continue;

      Alias(&J1D,&J1A,&J2D,&J2A,&J1DCn,&J1ACn,&J2DCn,&J2ACn,Pat[j]);
      
      if( Near(I1D,J1D,J1A,I1A,J2A,J2D,I2A,I2D,I1DCn,J1DCn,J1ACn,I1ACn,&DB,&DW) && 
	  ((DB < MinDB1 && DW <= MinDW1) || (DB <= MinDB1 && DW < MinDW1) ) && 
	 RightSide(J1A,J1D,I1A,I1D,I2A,I2D) )
	JoinNeighbours(&Lnk1A,J2D,&Lnk1D,J2A,&Pat[i]->Nei1,Pat[j],&MinDB1,DB,&MinDW1,DW,&Min,j);

      if( Near(I1D,J1A,J1D,I1A,J2D,J2A,I2A,I2D,I1DCn,J1ACn,J1DCn,I1ACn,&DB,&DW) && 
	  ((DB < MinDB1 && DW <= MinDW1) || (DB <= MinDB1 && DW < MinDW1) ) && 
	 RightSide(J1D,J1A,I1A,I1D,I2A,I2D) )
	JoinNeighbours(&Lnk1A,J2A,&Lnk1D,J2D,&Pat[i]->Nei1,Pat[j],&MinDB1,DB,&MinDW1,DW,&Min,j);

      if( Near(I1D,J2D,J2A,I1A,J1A,J1D,I2A,I2D,I1DCn,J2DCn,J2ACn,I1ACn,&DB,&DW) && 
	  ((DB < MinDB1 && DW <= MinDW1) || (DB <= MinDB1 && DW < MinDW1) ) && 
	 RightSide(J2A,J2D,I1A,I1D,I2A,I2D) )
	JoinNeighbours(&Lnk1A,J1D,&Lnk1D,J1A,&Pat[i]->Nei1,Pat[j],&MinDB1,DB,&MinDW1,DW,&Min,j);

      if( Near(I1D,J2A,J2D,I1A,J1D,J1A,I2A,I2D,I1DCn,J2ACn,J2DCn,I1ACn,&DB,&DW) && 
	  ((DB < MinDB1 && DW <= MinDW1) || (DB <= MinDB1 && DW < MinDW1) ) && 
	 RightSide(J2D,J2A,I1A,I1D,I2A,I2D) )
	JoinNeighbours(&Lnk1A,J1A,&Lnk1D,J1D,&Pat[i]->Nei1,Pat[j],&MinDB1,DB,&MinDW1,DW,&Min,j);

      if( Near(I1A,J1D,J1A,I1D,J2A,J2D,I2D,I2A,I1ACn,J1DCn,J1ACn,I1DCn,&DB,&DW) && 
	  ((DB < MinDB1 && DW <= MinDW1) || (DB <= MinDB1 && DW < MinDW1) ) && 
	 RightSide(J1A,J1D,I1A,I1D,I2A,I2D) )
	JoinNeighbours(&Lnk1A,J2A,&Lnk1D,J2D,&Pat[i]->Nei1,Pat[j],&MinDB1,DB,&MinDW1,DW,&Min,j);

      if( Near(I1A,J1A,J1D,I1D,J2D,J2A,I2D,I2A,I1ACn,J1ACn,J1DCn,I1DCn,&DB,&DW) && 
	  ((DB < MinDB1 && DW <= MinDW1) || (DB <= MinDB1 && DW < MinDW1) ) && 
	 RightSide(J1A,J1D,I1A,I1D,I2A,I2D) )
	JoinNeighbours(&Lnk1A,J2D,&Lnk1D,J2A,&Pat[i]->Nei1,Pat[j],&MinDB1,DB,&MinDW1,DW,&Min,j);

      if( Near(I1A,J2D,J2A,I1D,J1A,J1D,I2D,I2A,I1ACn,J2DCn,J2ACn,I1DCn,&DB,&DW) && 
	  ((DB < MinDB1 && DW <= MinDW1) || (DB <= MinDB1 && DW < MinDW1) ) && 
	 RightSide(J2D,J2A,I1A,I1D,I2A,I2D) )
	JoinNeighbours(&Lnk1A,J1A,&Lnk1D,J1D,&Pat[i]->Nei1,Pat[j],&MinDB1,DB,&MinDW1,DW,&Min,j);

      if( Near(I1A,J2A,J2D,I1D,J1D,J1A,I2D,I2A,I1ACn,J2ACn,J2DCn,I1DCn,&DB,&DW) && 
	  ((DB < MinDB1 && DW <= MinDW1) || (DB <= MinDB1 && DW < MinDW1) ) && 
	 RightSide(J2A,J2D,I1A,I1D,I2A,I2D) )
	JoinNeighbours(&Lnk1A,J1D,&Lnk1D,J2D,&Pat[i]->Nei1,Pat[j],&MinDB1,DB,&MinDW1,DW,&Min,j);

    }

    for( j=0; j<NPat; j++ ) {

      if( j == Min || j == i || !Pat[j]->ExistPattern ) continue;

      Alias(&J1D,&J1A,&J2D,&J2A,&J1DCn,&J1ACn,&J2DCn,&J2ACn,Pat[j]);

      if( Near(I2D,J1D,J1A,I2A,J2A,J2D,I1A,I1D,I2DCn,J1DCn,J1ACn,I2ACn,&DB,&DW) && 
	  (( DB < MinDB2 && DW <= MinDW2) || (DB <= MinDB2 && DW < MinDW2) ) &&
	 RightSide2(Lnk1A,Lnk1D,J2A,J2D,I1A,I1D,I2A,I2D) )
	JoinNeighb(&Pat[i]->Nei2,Pat[j],&MinDB2,DB,&MinDW2,DW);
      
      if( Near(I2D,J1A,J1D,I2A,J2D,J2A,I1A,I1D,I2DCn,J1ACn,J1DCn,I2ACn,&DB,&DW) && 
	  (( DB < MinDB2 && DW <= MinDW2) || (DB <= MinDB2 && DW < MinDW2) ) &&
	 RightSide2(Lnk1A,Lnk1D,J2D,J2A,I1A,I1D,I2A,I2D) )
	JoinNeighb(&Pat[i]->Nei2,Pat[j],&MinDB2,DB,&MinDW2,DW);
      
      if( Near(I2D,J2D,J2A,I2A,J1A,J1D,I1A,I1D,I2DCn,J2DCn,J2ACn,I2ACn,&DB,&DW) && 
	  (( DB < MinDB2 && DW <= MinDW2) || (DB <= MinDB2 && DW < MinDW2) ) &&
	 RightSide2(Lnk1A,Lnk1D,J1A,J1D,I1A,I1D,I2A,I2D) ) 
	JoinNeighb(&Pat[i]->Nei2,Pat[j],&MinDB2,DB,&MinDW2,DW);
      
      if( Near(I2D,J2A,J2D,I2A,J1D,J1A,I1A,I1D,I2DCn,J2ACn,J2DCn,I2ACn,&DB,&DW) && 
	  (( DB < MinDB2 && DW <= MinDW2) || (DB <= MinDB2 && DW < MinDW2) ) &&
	 RightSide2(Lnk1A,Lnk1D,J1D,J1A,I1A,I1D,I2A,I2D) )
	JoinNeighb(&Pat[i]->Nei2,Pat[j],&MinDB2,DB,&MinDW2,DW);
      
      if( Near(I2A,J1D,J1A,I2D,J2A,J2D,I1D,I1A,I2ACn,J1DCn,J1ACn,I2DCn,&DB,&DW) && 
	  (( DB < MinDB2 && DW <= MinDW2) || (DB <= MinDB2 && DW < MinDW2) ) &&
	 RightSide2(Lnk1A,Lnk1D,J2D,J2A,I1A,I1D,I2A,I2D) )
	JoinNeighb(&Pat[i]->Nei2,Pat[j],&MinDB2,DB,&MinDW2,DW);
      
      if( Near(I2A,J1A,J1D,I2D,J2D,J2A,I1D,I1A,I2ACn,J1ACn,J1DCn,I2DCn,&DB,&DW) && 
	  (( DB < MinDB2 && DW <= MinDW2) || (DB <= MinDB2 && DW < MinDW2) ) &&
	 RightSide2(Lnk1A,Lnk1D,J2A,J2D,I1A,I1D,I2A,I2D) )
	JoinNeighb(&Pat[i]->Nei2,Pat[j],&MinDB2,DB,&MinDW2,DW);
      
      if( Near(I2A,J2D,J2A,I2D,J1A,J1D,I1D,I1A,I2ACn,J2DCn,J2ACn,I2DCn,&DB,&DW) && 
	  (( DB < MinDB2 && DW <= MinDW2) || (DB <= MinDB2 && DW < MinDW2) ) &&
	 RightSide2(Lnk1A,Lnk1D,J1D,J1A,I1A,I1D,I2A,I2D) )
	JoinNeighb(&Pat[i]->Nei2,Pat[j],&MinDB2,DB,&MinDW2,DW);
      
      if( Near(I2A,J2A,J2D,I2D,J1D,J1A,I1D,I1A,I2ACn,J2ACn,J2DCn,I2DCn,&DB,&DW) && 
	  (( DB < MinDB2 && DW <= MinDW2) || (DB <= MinDB2 && DW < MinDW2) ) &&
	 RightSide2(Lnk1A,Lnk1D,J1A,J1D,I1A,I1D,I2A,I2D) )
	JoinNeighb(&Pat[i]->Nei2,Pat[j],&MinDB2,DB,&MinDW2,DW);
      }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %r13
xorl %r12d, %r12d
testl %esi, %esi
movl $0x0, %eax
cmovgl %esi, %eax
movq %rax, 0xc0(%rsp)
movl %esi, %edx
movq %rdi, 0x50(%rsp)
movq %rdx, 0x88(%rsp)
cmpq 0xc0(%rsp), %r12
je 0xa8fa
movq (%r13,%r12,8), %rax
cmpl $0x0, 0x20(%rax)
je 0xa8f2
subq $0x8, %rsp
leaq 0xc0(%rsp), %rdi
leaq 0xc4(%rsp), %rsi
movq %rdx, %rbx
leaq 0xb8(%rsp), %rdx
leaq 0xbc(%rsp), %rcx
leaq 0x66(%rsp), %r8
leaq 0x67(%rsp), %r9
pushq %rax
leaq 0x6d(%rsp), %rax
pushq %rax
leaq 0x74(%rsp), %rax
pushq %rax
callq 0xcf5c
movq %rbx, %rdx
addq $0x20, %rsp
movl $0x3e8, 0xc(%rsp)       # imm = 0x3E8
xorl %r15d, %r15d
movl $0x3e8, 0x8(%rsp)       # imm = 0x3E8
pushq $-0x1
popq %rax
movl %eax, 0x60(%rsp)
movl %eax, 0x24(%rsp)
movl %eax, 0x20(%rsp)
movq %r12, 0x68(%rsp)
cmpq %r15, %rdx
je 0xa1dc
cmpq %r15, %r12
je 0xa1d4
movq (%r13,%r15,8), %rax
cmpl $0x0, 0x20(%rax)
je 0xa1d4
movq %r15, 0x70(%rsp)
subq $0x8, %rsp
leaq 0x88(%rsp), %rdi
leaq 0x8c(%rsp), %rsi
leaq 0x80(%rsp), %rdx
leaq 0x84(%rsp), %rcx
leaq 0x56(%rsp), %r8
leaq 0x57(%rsp), %r9
pushq %rax
leaq 0x5d(%rsp), %rax
pushq %rax
leaq 0x64(%rsp), %rax
pushq %rax
callq 0xcf5c
addq $0x20, %rsp
movl 0xb8(%rsp), %edi
movl 0x80(%rsp), %esi
movl 0x84(%rsp), %edx
movl 0xbc(%rsp), %ecx
movl 0x7c(%rsp), %r8d
movl 0x78(%rsp), %r9d
movl 0xb4(%rsp), %r11d
movl 0xb0(%rsp), %r10d
movsbl 0x5e(%rsp), %r13d
movsbl 0x4e(%rsp), %ebp
movsbl 0x4f(%rsp), %r15d
movsbl 0x5f(%rsp), %ebx
movl %edi, 0x10(%rsp)
movl %esi, 0x28(%rsp)
movl %edx, 0x1c(%rsp)
movl %ecx, 0x40(%rsp)
movl %r8d, (%rsp)
movl %r9d, 0x4(%rsp)
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %rbx
pushq %r15
pushq %rbp
pushq %r13
movq %r10, 0x68(%rsp)
pushq %r10
movq %r11, 0x68(%rsp)
pushq %r11
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0x9bfb
movl 0x18(%rsp), %r14d
movl 0x14(%rsp), %r12d
cmpl 0xc(%rsp), %r14d
jge 0x9b8e
cmpl 0x8(%rsp), %r12d
jle 0x9b9c
cmpl 0xc(%rsp), %r14d
jg 0x9bfb
cmpl 0x8(%rsp), %r12d
jge 0x9bfb
movl 0x1c(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x40(%rsp), %edx
movl 0x10(%rsp), %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xaa0d
testl %eax, %eax
movl 0x4(%rsp), %r8d
je 0x9c00
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq 0x70(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq %rcx, 0x10(%rax)
movl %r14d, 0xc(%rsp)
movl %r12d, 0x8(%rsp)
movl %edx, 0x60(%rsp)
movl %r8d, 0x24(%rsp)
movl (%rsp), %eax
movl %eax, 0x20(%rsp)
jmp 0x9c00
movl 0x4(%rsp), %r8d
movsbl %bl, %r10d
movsbl %bpl, %r14d
movsbl %r15b, %ebx
movsbl %r13b, %r11d
movl 0x10(%rsp), %edi
movl 0x1c(%rsp), %esi
movl 0x28(%rsp), %edx
movl 0x40(%rsp), %ecx
movl (%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
movq %r10, %r13
pushq %r10
movq %r14, 0xb8(%rsp)
pushq %r14
movq %rbx, 0xc8(%rsp)
pushq %rbx
movq %r11, %r12
pushq %r11
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0x9cde
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl 0xc(%rsp), %ebx
movq 0x70(%rsp), %r14
jge 0x9c7b
cmpl 0x8(%rsp), %ebp
jle 0x9c87
cmpl 0xc(%rsp), %ebx
jg 0x9cde
cmpl 0x8(%rsp), %ebp
jge 0x9cde
movl 0x28(%rsp), %edi
movl 0x1c(%rsp), %esi
movl 0x40(%rsp), %edx
movl 0x10(%rsp), %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xaa0d
testl %eax, %eax
movl 0x4(%rsp), %esi
je 0x9ce2
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq (%rcx,%r14,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %ebp, 0x8(%rsp)
movl %r14d, 0x60(%rsp)
movl (%rsp), %eax
movl %eax, 0x24(%rsp)
movl %esi, 0x20(%rsp)
jmp 0x9ce2
movl 0x4(%rsp), %esi
movsbl 0x4c(%rsp), %r15d
movsbl 0x4d(%rsp), %ebx
movl 0x10(%rsp), %edi
movl (%rsp), %edx
movl 0x40(%rsp), %ecx
movl 0x1c(%rsp), %r8d
movl 0x28(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r13
pushq %rbx
pushq %r15
pushq %r12
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0x9db3
movl 0x18(%rsp), %ebp
movl 0x14(%rsp), %r14d
cmpl 0xc(%rsp), %ebp
movl 0x4(%rsp), %edx
jge 0x9d48
cmpl 0x8(%rsp), %r14d
jle 0x9d55
cmpl 0xc(%rsp), %ebp
jg 0x9db7
cmpl 0x8(%rsp), %r14d
jge 0x9db7
movl (%rsp), %edi
movl %edx, %esi
movl 0x40(%rsp), %edx
movl 0x10(%rsp), %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xaa0d
movl 0x4(%rsp), %edx
testl %eax, %eax
je 0x9db7
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq 0x70(%rsp), %rsi
movq (%rcx,%rsi,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebp, 0xc(%rsp)
movl %r14d, 0x8(%rsp)
movl %esi, 0x60(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x1c(%rsp), %eax
movl %eax, 0x20(%rsp)
jmp 0x9db7
movl 0x4(%rsp), %edx
movsbl %r15b, %r11d
movsbl %bl, %r10d
movl 0x10(%rsp), %r14d
movl %r14d, %edi
movl (%rsp), %esi
movl 0x40(%rsp), %ecx
movl 0x28(%rsp), %r8d
movl 0x1c(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r13
movq %r11, 0xa8(%rsp)
pushq %r11
movq %r10, 0xb8(%rsp)
pushq %r10
pushq %r12
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0x9e99
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl 0xc(%rsp), %ebx
movq 0x70(%rsp), %r15
movl 0x4(%rsp), %r9d
jge 0x9e33
cmpl 0x8(%rsp), %ebp
jle 0x9e3f
cmpl 0xc(%rsp), %ebx
jg 0x9ea3
cmpl 0x8(%rsp), %ebp
jge 0x9ea3
movl %r9d, %edi
movl (%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xaa0d
movl 0x4(%rsp), %r9d
testl %eax, %eax
je 0x9ea3
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %ebp, 0x8(%rsp)
movl %r15d, 0x60(%rsp)
movl 0x1c(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x20(%rsp)
jmp 0x9ea3
movq 0x70(%rsp), %r15
movl 0x4(%rsp), %r9d
movl 0x40(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x1c(%rsp), %edx
movl %r14d, %ecx
movl (%rsp), %r8d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r12
pushq 0xc0(%rsp)
pushq 0xc0(%rsp)
pushq %r13
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0x9f61
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl 0xc(%rsp), %ebx
jge 0x9efd
cmpl 0x8(%rsp), %ebp
jle 0x9f09
cmpl 0xc(%rsp), %ebx
jg 0x9f61
cmpl 0x8(%rsp), %ebp
jge 0x9f61
movl 0x1c(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xaa0d
testl %eax, %eax
movl 0x4(%rsp), %r8d
je 0x9f66
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %ebp, 0x8(%rsp)
movl %r15d, 0x60(%rsp)
movl (%rsp), %eax
movl %eax, 0x24(%rsp)
movl %r8d, 0x20(%rsp)
jmp 0x9f66
movl 0x4(%rsp), %r8d
movl 0x40(%rsp), %edi
movl 0x1c(%rsp), %esi
movl 0x28(%rsp), %edx
movl %r14d, %ecx
movl (%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r12
pushq 0xb8(%rsp)
pushq 0xc8(%rsp)
pushq %r13
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa022
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl 0xc(%rsp), %ebx
jge 0x9fc0
cmpl 0x8(%rsp), %ebp
jle 0x9fcc
cmpl 0xc(%rsp), %ebx
jg 0xa022
cmpl 0x8(%rsp), %ebp
jge 0xa022
movl 0x1c(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xaa0d
testl %eax, %eax
movl 0x4(%rsp), %esi
je 0xa026
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %ebp, 0x8(%rsp)
movl %r15d, 0x60(%rsp)
movl %esi, 0x24(%rsp)
movl (%rsp), %eax
movl %eax, 0x20(%rsp)
jmp 0xa026
movl 0x4(%rsp), %esi
movl 0x40(%rsp), %edi
movl (%rsp), %edx
movl %r14d, %ecx
movl 0x1c(%rsp), %r8d
movl 0x28(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r12
pushq 0xb0(%rsp)
pushq 0xb0(%rsp)
pushq %r13
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa0e9
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl 0xc(%rsp), %ebx
movl 0x4(%rsp), %edx
jge 0xa085
cmpl 0x8(%rsp), %ebp
jle 0xa091
cmpl 0xc(%rsp), %ebx
jg 0xa0ed
cmpl 0x8(%rsp), %ebp
jge 0xa0ed
movl %edx, %edi
movl (%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xaa0d
movl 0x4(%rsp), %edx
testl %eax, %eax
je 0xa0ed
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %ebp, 0x8(%rsp)
movl %r15d, 0x60(%rsp)
movl 0x1c(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x20(%rsp)
jmp 0xa0ed
movl 0x4(%rsp), %edx
movl 0x40(%rsp), %edi
movl (%rsp), %esi
movl %r14d, %ecx
movl 0x28(%rsp), %r8d
movl 0x1c(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r12
pushq 0xa8(%rsp)
pushq 0xb8(%rsp)
pushq %r13
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa1b8
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl 0xc(%rsp), %ebx
movl 0x4(%rsp), %esi
movq 0x50(%rsp), %r13
movq 0x68(%rsp), %r12
jge 0xa15a
cmpl 0x8(%rsp), %ebp
jle 0xa166
cmpl 0xc(%rsp), %ebx
jg 0xa1cc
cmpl 0x8(%rsp), %ebp
jge 0xa1cc
movl (%rsp), %edi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movl %esi, %r14d
movq 0x38(%rsp), %r9
callq 0xaa0d
testl %eax, %eax
movq 0x88(%rsp), %rdx
je 0xa1d4
movq (%r13,%r12,8), %rax
movq (%r13,%r15,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %ebp, 0x8(%rsp)
movl %r15d, 0x60(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x24(%rsp)
movl %r14d, 0x20(%rsp)
jmp 0xa1d4
movq 0x88(%rsp), %rdx
movq 0x50(%rsp), %r13
movq 0x68(%rsp), %r12
jmp 0xa1d4
movq 0x88(%rsp), %rdx
incq %r15
jmp 0x9a76
movl 0x60(%rsp), %esi
movl $0x3e8, (%rsp)          # imm = 0x3E8
xorl %r15d, %r15d
movl $0x3e8, 0x10(%rsp)      # imm = 0x3E8
movq %rsi, 0x60(%rsp)
cmpq %r15, %rdx
je 0xa8f2
cmpq %r15, %rsi
sete %al
cmpq %r15, %r12
sete %cl
orb %al, %cl
jne 0xa8ea
movq (%r13,%r15,8), %rax
cmpl $0x0, 0x20(%rax)
je 0xa8ea
subq $0x8, %rsp
leaq 0x88(%rsp), %rdi
leaq 0x8c(%rsp), %rsi
leaq 0x80(%rsp), %rdx
leaq 0x84(%rsp), %rcx
leaq 0x56(%rsp), %r8
leaq 0x57(%rsp), %r9
pushq %rax
leaq 0x5d(%rsp), %rax
pushq %rax
leaq 0x64(%rsp), %rax
pushq %rax
callq 0xcf5c
addq $0x20, %rsp
movl 0xb0(%rsp), %edi
movl 0x80(%rsp), %esi
movl 0x84(%rsp), %edx
movl 0xb4(%rsp), %ecx
movl 0x7c(%rsp), %r8d
movl 0x78(%rsp), %r9d
movl 0xbc(%rsp), %r11d
movl 0xb8(%rsp), %r10d
movsbl 0x5c(%rsp), %r13d
movsbl 0x4e(%rsp), %r14d
movsbl 0x4f(%rsp), %ebx
movsbl 0x5d(%rsp), %r12d
movq %rdi, 0x40(%rsp)
movl %esi, 0x1c(%rsp)
movl %edx, 0x4(%rsp)
movq %rcx, 0x38(%rsp)
movl %r8d, 0xc(%rsp)
movl %r9d, 0x8(%rsp)
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r12
pushq %rbx
pushq %r14
movq %r13, 0x98(%rsp)
pushq %r13
movq %r10, 0x60(%rsp)
pushq %r10
movq %r11, 0x60(%rsp)
pushq %r11
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa372
movl 0x18(%rsp), %r13d
movl 0x14(%rsp), %ebp
cmpl (%rsp), %r13d
jge 0xa31b
cmpl 0x10(%rsp), %ebp
jle 0xa327
cmpl (%rsp), %r13d
jg 0xa372
cmpl 0x10(%rsp), %ebp
jge 0xa372
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0xc(%rsp), %edx
movl 0x8(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xaa9a
popq %rcx
popq %rdx
testl %eax, %eax
je 0xa372
movq 0x50(%rsp), %rcx
movq 0x68(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %r13d, (%rsp)
movl %ebp, 0x10(%rsp)
movsbl %r12b, %r10d
movsbl %r14b, %r14d
movsbl %bl, %ebx
movsbl 0x70(%rsp), %r11d
movq 0x40(%rsp), %rdi
movl 0x4(%rsp), %esi
movl 0x1c(%rsp), %edx
movq 0x38(%rsp), %rcx
movl 0x8(%rsp), %r8d
movl 0xc(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
movq %r10, 0x80(%rsp)
pushq %r10
movq %r14, 0xb8(%rsp)
pushq %r14
movq %rbx, 0xc8(%rsp)
pushq %rbx
movq %r11, %r13
pushq %r11
pushq 0x60(%rsp)
pushq 0x60(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa44a
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl (%rsp), %ebx
movq 0x68(%rsp), %r14
jge 0xa3fa
cmpl 0x10(%rsp), %ebp
jle 0xa405
cmpl (%rsp), %ebx
jg 0xa44a
cmpl 0x10(%rsp), %ebp
jge 0xa44a
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x8(%rsp), %edx
movl 0xc(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xaa9a
popq %rcx
popq %rdx
testl %eax, %eax
je 0xa44a
movq 0x50(%rsp), %rcx
movq (%rcx,%r14,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, (%rsp)
movl %ebp, 0x10(%rsp)
movsbl 0x4c(%rsp), %r14d
movsbl 0x4d(%rsp), %ebx
movq 0x40(%rsp), %rdi
movl 0x8(%rsp), %esi
movl 0xc(%rsp), %edx
movq 0x38(%rsp), %rcx
movl 0x4(%rsp), %r8d
movl 0x1c(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq 0x80(%rsp)
pushq %rbx
pushq %r14
pushq %r13
pushq 0x60(%rsp)
pushq 0x60(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa50a
movl 0x18(%rsp), %ebp
movl 0x14(%rsp), %r12d
cmpl (%rsp), %ebp
jge 0xa4b3
cmpl 0x10(%rsp), %r12d
jle 0xa4bf
cmpl (%rsp), %ebp
jg 0xa50a
cmpl 0x10(%rsp), %r12d
jge 0xa50a
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x4(%rsp), %edx
movl 0x1c(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xaa9a
popq %rcx
popq %rdx
testl %eax, %eax
je 0xa50a
movq 0x68(%rsp), %rax
movq 0x50(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebp, (%rsp)
movl %r12d, 0x10(%rsp)
movsbl %r14b, %r11d
movsbl %bl, %r10d
movq 0x40(%rsp), %rdi
movl 0xc(%rsp), %esi
movl 0x8(%rsp), %edx
movq 0x38(%rsp), %rcx
movl 0x1c(%rsp), %r8d
movl 0x4(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq 0x80(%rsp)
movq %r11, 0xa8(%rsp)
pushq %r11
movq %r10, 0xb8(%rsp)
pushq %r10
pushq %r13
pushq 0x60(%rsp)
pushq 0x60(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa5de
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl (%rsp), %ebx
movq 0x68(%rsp), %r12
movq 0x88(%rsp), %r14
jge 0xa58c
cmpl 0x10(%rsp), %ebp
jle 0xa597
cmpl (%rsp), %ebx
jg 0xa5eb
cmpl 0x10(%rsp), %ebp
jge 0xa5eb
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x1c(%rsp), %edx
movl 0x4(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xaa9a
popq %rcx
popq %rdx
testl %eax, %eax
je 0xa5eb
movq 0x50(%rsp), %rcx
movq (%rcx,%r12,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, (%rsp)
movl %ebp, 0x10(%rsp)
jmp 0xa5eb
movq 0x68(%rsp), %r12
movq 0x88(%rsp), %r14
movq 0x38(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x4(%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0xc(%rsp), %r8d
movl 0x8(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xc0(%rsp)
pushq 0xc0(%rsp)
pushq 0x98(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa6a2
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl (%rsp), %ebx
jge 0xa652
cmpl 0x10(%rsp), %ebp
jle 0xa65d
cmpl (%rsp), %ebx
jg 0xa6a2
cmpl 0x10(%rsp), %ebp
jge 0xa6a2
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x8(%rsp), %edx
movl 0xc(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xaa9a
popq %rcx
popq %rdx
testl %eax, %eax
je 0xa6a2
movq 0x50(%rsp), %rcx
movq (%rcx,%r12,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, (%rsp)
movl %ebp, 0x10(%rsp)
movq 0x38(%rsp), %rdi
movl 0x4(%rsp), %esi
movl 0x1c(%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0x8(%rsp), %r8d
movl 0xc(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xb8(%rsp)
pushq 0xc8(%rsp)
pushq 0x98(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa759
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl (%rsp), %ebx
jge 0xa709
cmpl 0x10(%rsp), %ebp
jle 0xa714
cmpl (%rsp), %ebx
jg 0xa759
cmpl 0x10(%rsp), %ebp
jge 0xa759
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0xc(%rsp), %edx
movl 0x8(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xaa9a
popq %rcx
popq %rdx
testl %eax, %eax
je 0xa759
movq 0x50(%rsp), %rcx
movq (%rcx,%r12,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, (%rsp)
movl %ebp, 0x10(%rsp)
movq 0x38(%rsp), %rdi
movl 0x8(%rsp), %esi
movl 0xc(%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0x4(%rsp), %r8d
movl 0x1c(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xb0(%rsp)
pushq 0xb0(%rsp)
pushq 0x98(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa810
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl (%rsp), %ebx
jge 0xa7c0
cmpl 0x10(%rsp), %ebp
jle 0xa7cb
cmpl (%rsp), %ebx
jg 0xa810
cmpl 0x10(%rsp), %ebp
jge 0xa810
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x1c(%rsp), %edx
movl 0x4(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xaa9a
popq %rcx
popq %rdx
testl %eax, %eax
je 0xa810
movq 0x50(%rsp), %rcx
movq (%rcx,%r12,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, (%rsp)
movl %ebp, 0x10(%rsp)
movq 0x38(%rsp), %rdi
movl 0xc(%rsp), %esi
movl 0x8(%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0x1c(%rsp), %r8d
movl 0x4(%rsp), %r9d
leaq 0x14(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xa8(%rsp)
pushq 0xb8(%rsp)
pushq 0x98(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xa90c
addq $0x40, %rsp
testl %eax, %eax
je 0xa8d3
movl 0x18(%rsp), %ebx
movl 0x14(%rsp), %ebp
cmpl (%rsp), %ebx
movq 0x50(%rsp), %r13
jge 0xa87c
cmpl 0x10(%rsp), %ebp
jle 0xa887
cmpl (%rsp), %ebx
jg 0xa8e2
cmpl 0x10(%rsp), %ebp
jge 0xa8e2
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x4(%rsp), %edx
movl 0x1c(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xaa9a
popq %rcx
popq %rdx
testl %eax, %eax
movq %r14, %rdx
movq 0x60(%rsp), %rsi
je 0xa8ea
movq (%r13,%r12,8), %rax
movq (%r13,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, (%rsp)
movl %ebp, 0x10(%rsp)
jmp 0xa8ea
movq %r14, %rdx
movq 0x60(%rsp), %rsi
movq 0x50(%rsp), %r13
jmp 0xa8ea
movq %r14, %rdx
movq 0x60(%rsp), %rsi
incq %r15
jmp 0xa1f7
incq %r12
jmp 0x99e8
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq