// File: /workspace/github_c_makefile_star2_O3/josch[P]stride/mergepat.c
// Function: MergePatternsPar
void MergePatternsPar(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( NearPar(I1D,J1D,J1A,I1A,J2A,J2D,I2A,I2D,I1DCn,J1DCn,J1ACn,I1ACn,&DB,&DW) && 
	  ((DB < MinDB1 && DW <= MinDW1) || (DB <= MinDB1 && DW < MinDW1) ) && 
	 RightSidePar(J1A,J1D,I1A,I1D,I2A,I2D) )
	JoinNeighbours(&Lnk1A,J2D,&Lnk1D,J2A,&Pat[i]->Nei1,Pat[j],&MinDB1,DB,&MinDW1,DW,&Min,j);

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

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

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

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

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

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

      if( NearPar(I1A,J2A,J2D,I1D,J1D,J1A,I2D,I2A,I1ACn,J2ACn,J2DCn,I1DCn,&DB,&DW) && 
	  ((DB < MinDB1 && DW <= MinDW1) || (DB <= MinDB1 && DW < MinDW1) ) && 
	 RightSidePar(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( NearPar(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( NearPar(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( NearPar(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( NearPar(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( NearPar(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( NearPar(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( NearPar(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( NearPar(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:
testl %esi, %esi
jle 0xc632
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %r13
movl %esi, %esi
xorl %edx, %edx
movq %rdi, 0x78(%rsp)
movq %rsi, 0x98(%rsp)
movq (%r13,%rdx,8), %rax
cmpl $0x0, 0x20(%rax)
je 0xc615
subq $0x8, %rsp
leaq 0xc8(%rsp), %rdi
movq %rsi, %rbx
leaq 0xcc(%rsp), %rsi
movq %rdx, 0x58(%rsp)
leaq 0xc0(%rsp), %rdx
leaq 0xc4(%rsp), %rcx
leaq 0x76(%rsp), %r8
leaq 0x77(%rsp), %r9
pushq %rax
leaq 0x7d(%rsp), %rax
pushq %rax
leaq 0x84(%rsp), %rax
pushq %rax
callq 0xd6a8
movq %rbx, %rsi
movq 0x70(%rsp), %rdx
addq $0x20, %rsp
movl $0x3e8, (%rsp)          # imm = 0x3E8
movl $0xffffffff, 0x20(%rsp) # imm = 0xFFFFFFFF
xorl %r12d, %r12d
movl $0xffffffff, 0x24(%rsp) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x70(%rsp) # imm = 0xFFFFFFFF
movl $0x3e8, %r15d           # imm = 0x3E8
cmpq %r12, %rdx
je 0xbeb7
movq (%r13,%r12,8), %rax
cmpl $0x0, 0x20(%rax)
je 0xbeb7
movl %r15d, 0x58(%rsp)
subq $0x8, %rsp
leaq 0x98(%rsp), %rdi
leaq 0x9c(%rsp), %rsi
leaq 0x90(%rsp), %rdx
leaq 0x94(%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 0xd6a8
addq $0x20, %rsp
movl 0xc0(%rsp), %edi
movl 0x90(%rsp), %esi
movl 0x94(%rsp), %edx
movl 0xc4(%rsp), %ecx
movl 0x8c(%rsp), %r8d
movl 0x88(%rsp), %r9d
movl 0xbc(%rsp), %r11d
movl 0xb8(%rsp), %r10d
movsbl 0x6e(%rsp), %r14d
movsbl 0x4e(%rsp), %ebp
movsbl 0x4f(%rsp), %r15d
movsbl 0x6f(%rsp), %ebx
movl %edi, 0x60(%rsp)
movl %esi, 0x28(%rsp)
movl %edx, 0x10(%rsp)
movl %ecx, 0x40(%rsp)
movl %r8d, 0xc(%rsp)
movl %r9d, 0x14(%rsp)
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq %rbx
pushq %r15
pushq %rbp
movq %r14, 0x40(%rsp)
pushq %r14
movq %r10, 0x68(%rsp)
pushq %r10
movq %r11, 0x68(%rsp)
pushq %r11
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xb915
movl 0x8(%rsp), %r14d
movl 0x4(%rsp), %r13d
cmpl 0x58(%rsp), %r14d
jge 0xb8b1
cmpl (%rsp), %r13d
jle 0xb8be
cmpl 0x58(%rsp), %r14d
jg 0xb915
cmpl (%rsp), %r13d
jge 0xb915
movl 0x10(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x40(%rsp), %edx
movl 0x60(%rsp), %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xc77f
testl %eax, %eax
je 0xb915
movq 0x78(%rsp), %rcx
movq 0x50(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq (%rcx,%r12,8), %rcx
movq %rcx, 0x10(%rax)
movl %r14d, 0x58(%rsp)
movl %r13d, (%rsp)
movl %r12d, 0x70(%rsp)
movl 0x14(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0xc(%rsp), %eax
movl %eax, 0x20(%rsp)
movsbl %bl, %r10d
movsbl %bpl, %r13d
movsbl %r15b, %ebx
movsbl 0x18(%rsp), %r11d
movl 0x60(%rsp), %edi
movl 0x10(%rsp), %esi
movl 0x28(%rsp), %edx
movl 0x40(%rsp), %ecx
movl 0x14(%rsp), %r14d
movl %r14d, %r8d
movl 0xc(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
movq %r10, 0x28(%rsp)
pushq %r10
movq %r13, 0xc8(%rsp)
pushq %r13
movq %rbx, 0xa0(%rsp)
pushq %rbx
movq %r11, %r13
pushq %r11
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xb9f4
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
movl 0x58(%rsp), %eax
cmpl %eax, %ebx
jge 0xb999
cmpl (%rsp), %ebp
jle 0xb9a2
cmpl %eax, %ebx
jg 0xb9f4
cmpl (%rsp), %ebp
jge 0xb9f4
movl 0x28(%rsp), %edi
movl 0x10(%rsp), %esi
movl 0x40(%rsp), %edx
movl 0x60(%rsp), %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xc77f
testl %eax, %eax
je 0xb9f4
movq 0x50(%rsp), %rax
movq 0x78(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq (%rcx,%r12,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, 0x58(%rsp)
movl %ebp, (%rsp)
movl %r12d, 0x70(%rsp)
movl 0xc(%rsp), %eax
movl %eax, 0x24(%rsp)
movl %r14d, 0x20(%rsp)
movsbl 0x4c(%rsp), %r15d
movsbl 0x4d(%rsp), %ebx
movl 0x60(%rsp), %edi
movl %r14d, %esi
movl 0xc(%rsp), %edx
movl 0x40(%rsp), %ecx
movl 0x10(%rsp), %r8d
movl 0x28(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq 0x28(%rsp)
pushq %rbx
pushq %r15
pushq %r13
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xbab9
movl 0x8(%rsp), %ebp
movl 0x4(%rsp), %r14d
cmpl 0x58(%rsp), %ebp
jge 0xba57
cmpl (%rsp), %r14d
jle 0xba63
cmpl 0x58(%rsp), %ebp
jg 0xbab9
cmpl (%rsp), %r14d
jge 0xbab9
movl 0xc(%rsp), %edi
movl 0x14(%rsp), %esi
movl 0x40(%rsp), %edx
movl 0x60(%rsp), %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xc77f
testl %eax, %eax
je 0xbab9
movq 0x50(%rsp), %rax
movq 0x78(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq (%rcx,%r12,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebp, 0x58(%rsp)
movl %r14d, (%rsp)
movl %r12d, 0x70(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x10(%rsp), %eax
movl %eax, 0x20(%rsp)
movsbl %r15b, %r11d
movsbl %bl, %r10d
movl 0x60(%rsp), %r14d
movl %r14d, %edi
movl 0xc(%rsp), %esi
movl 0x14(%rsp), %edx
movl 0x40(%rsp), %ecx
movl 0x28(%rsp), %r8d
movl 0x10(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq 0x28(%rsp)
movq %r11, 0xb8(%rsp)
pushq %r11
movq %r10, 0xc8(%rsp)
pushq %r10
pushq %r13
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xbb90
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
movl 0x58(%rsp), %r15d
cmpl %r15d, %ebx
jge 0xbb31
cmpl (%rsp), %ebp
jle 0xbb3b
cmpl %r15d, %ebx
jg 0xbb95
cmpl (%rsp), %ebp
jge 0xbb95
movl 0x14(%rsp), %edi
movl 0xc(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xc77f
testl %eax, %eax
je 0xbb95
movq 0x50(%rsp), %rax
movq 0x78(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq (%rcx,%r12,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, %r15d
movl %ebp, (%rsp)
movl %r12d, 0x70(%rsp)
movl 0x10(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x20(%rsp)
jmp 0xbb95
movl 0x58(%rsp), %r15d
movl 0x40(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x10(%rsp), %edx
movl %r14d, %ecx
movl 0xc(%rsp), %r8d
movl 0x14(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq %r13
pushq 0x98(%rsp)
pushq 0xd0(%rsp)
pushq 0x40(%rsp)
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xbc52
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
cmpl %r15d, %ebx
jge 0xbbf5
cmpl (%rsp), %ebp
jle 0xbbff
cmpl %r15d, %ebx
jg 0xbc52
cmpl (%rsp), %ebp
jge 0xbc52
movl 0x10(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xc77f
testl %eax, %eax
je 0xbc52
movq 0x50(%rsp), %rax
movq 0x78(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq (%rcx,%r12,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, %r15d
movl %ebp, (%rsp)
movl %r12d, 0x70(%rsp)
movl 0xc(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x14(%rsp), %eax
movl %eax, 0x20(%rsp)
movl 0x40(%rsp), %edi
movl 0x10(%rsp), %esi
movl 0x28(%rsp), %edx
movl %r14d, %ecx
movl 0x14(%rsp), %r8d
movl 0xc(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xc8(%rsp)
pushq 0xa0(%rsp)
pushq 0x40(%rsp)
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xbd0f
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
cmpl %r15d, %ebx
jge 0xbcb2
cmpl (%rsp), %ebp
jle 0xbcbc
cmpl %r15d, %ebx
jg 0xbd0f
cmpl (%rsp), %ebp
jge 0xbd0f
movl 0x10(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xc77f
testl %eax, %eax
je 0xbd0f
movq 0x50(%rsp), %rax
movq 0x78(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq (%rcx,%r12,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, %r15d
movl %ebp, (%rsp)
movl %r12d, 0x70(%rsp)
movl 0x14(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0xc(%rsp), %eax
movl %eax, 0x20(%rsp)
movl 0x40(%rsp), %edi
movl 0x14(%rsp), %esi
movl 0xc(%rsp), %edx
movl %r14d, %ecx
movl 0x10(%rsp), %r8d
movl 0x28(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xc0(%rsp)
pushq 0xc0(%rsp)
pushq 0x40(%rsp)
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xbdcc
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
cmpl %r15d, %ebx
jge 0xbd6f
cmpl (%rsp), %ebp
jle 0xbd79
cmpl %r15d, %ebx
jg 0xbdcc
cmpl (%rsp), %ebp
jge 0xbdcc
movl 0x14(%rsp), %edi
movl 0xc(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xc77f
testl %eax, %eax
je 0xbdcc
movq 0x50(%rsp), %rax
movq 0x78(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq (%rcx,%r12,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, %r15d
movl %ebp, (%rsp)
movl %r12d, 0x70(%rsp)
movl 0x10(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x20(%rsp)
movl 0x40(%rsp), %edi
movl 0xc(%rsp), %esi
movl 0x14(%rsp), %edx
movl %r14d, %ecx
movl 0x28(%rsp), %r8d
movl 0x10(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xb8(%rsp)
pushq 0xc8(%rsp)
pushq 0x40(%rsp)
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xbe96
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
cmpl %r15d, %ebx
movq 0x78(%rsp), %r13
jge 0xbe31
cmpl (%rsp), %ebp
jle 0xbe3b
cmpl %r15d, %ebx
jg 0xbeaa
cmpl (%rsp), %ebp
jge 0xbeaa
movl 0xc(%rsp), %edi
movl %r14d, %ecx
movl 0x14(%rsp), %r14d
movl %r14d, %esi
movl 0x40(%rsp), %edx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xc77f
testl %eax, %eax
movq 0x50(%rsp), %rdx
movq 0x98(%rsp), %rsi
je 0xbeb7
movq (%r13,%rdx,8), %rax
movq (%r13,%r12,8), %rcx
movq %rcx, 0x10(%rax)
movl %ebx, %r15d
movl %ebp, (%rsp)
movl %r12d, 0x70(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x24(%rsp)
movl %r14d, 0x20(%rsp)
jmp 0xbeb7
movq 0x50(%rsp), %rdx
movq 0x98(%rsp), %rsi
movq 0x78(%rsp), %r13
jmp 0xbeb7
movq 0x50(%rsp), %rdx
movq 0x98(%rsp), %rsi
incq %r12
cmpq %r12, %rsi
jne 0xb79b
movl 0x70(%rsp), %edi
movl $0x3e8, 0x18(%rsp)      # imm = 0x3E8
xorl %r15d, %r15d
movl $0x3e8, %r12d           # imm = 0x3E8
movq %rdi, 0x70(%rsp)
cmpq %r15, %rdi
sete %al
cmpq %r15, %rdx
sete %cl
orb %al, %cl
jne 0xc609
movq (%r13,%r15,8), %rax
cmpl $0x0, 0x20(%rax)
je 0xc609
movl %r12d, 0x80(%rsp)
subq $0x8, %rsp
leaq 0x98(%rsp), %rdi
leaq 0x9c(%rsp), %rsi
leaq 0x90(%rsp), %rdx
leaq 0x94(%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 0xd6a8
addq $0x20, %rsp
movl 0xb8(%rsp), %edi
movl 0x90(%rsp), %esi
movl 0x94(%rsp), %edx
movl 0xbc(%rsp), %ecx
movl 0x8c(%rsp), %r8d
movl 0x88(%rsp), %r9d
movl 0xc4(%rsp), %r11d
movl 0xc0(%rsp), %r10d
movsbl 0x6c(%rsp), %r13d
movsbl 0x4e(%rsp), %r14d
movsbl 0x4f(%rsp), %ebx
movsbl 0x6d(%rsp), %r12d
movq %rdi, 0x40(%rsp)
movl %esi, 0xc(%rsp)
movl %edx, 0x10(%rsp)
movq %rcx, 0x38(%rsp)
movl %r8d, 0x14(%rsp)
movl %r9d, (%rsp)
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq %r12
pushq %rbx
pushq %r14
movq %r13, 0x88(%rsp)
pushq %r13
movq %r10, 0x60(%rsp)
pushq %r10
movq %r11, 0x60(%rsp)
pushq %r11
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xc069
movl 0x8(%rsp), %r13d
movl 0x4(%rsp), %ebp
cmpl 0x80(%rsp), %r13d
jge 0xc009
cmpl 0x18(%rsp), %ebp
jle 0xc019
cmpl 0x80(%rsp), %r13d
jg 0xc069
cmpl 0x18(%rsp), %ebp
jge 0xc069
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x14(%rsp), %edx
movl (%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb64b
addq $0x10, %rsp
testl %eax, %eax
je 0xc069
movq 0x78(%rsp), %rcx
movq 0x50(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %r13d, 0x80(%rsp)
movl %ebp, 0x18(%rsp)
movsbl %r12b, %r10d
movsbl %r14b, %r14d
movsbl %bl, %ebx
movsbl 0x60(%rsp), %r11d
movq 0x40(%rsp), %rdi
movl 0x10(%rsp), %esi
movl 0xc(%rsp), %edx
movq 0x38(%rsp), %rcx
movl (%rsp), %r8d
movl 0x14(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
movq %r10, 0x70(%rsp)
pushq %r10
movq %r14, 0xc0(%rsp)
pushq %r14
movq %rbx, 0xd0(%rsp)
pushq %rbx
movq %r11, 0x80(%rsp)
pushq %r11
pushq 0x60(%rsp)
pushq 0x60(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xc14d
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
movl 0x80(%rsp), %r13d
cmpl %r13d, %ebx
jge 0xc0f5
cmpl 0x18(%rsp), %ebp
jle 0xc100
cmpl %r13d, %ebx
jg 0xc155
cmpl 0x18(%rsp), %ebp
jge 0xc155
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl (%rsp), %edx
movl 0x14(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb64b
addq $0x10, %rsp
testl %eax, %eax
je 0xc155
movq 0x50(%rsp), %rax
movq 0x78(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, %r13d
movl %ebp, 0x18(%rsp)
jmp 0xc155
movl 0x80(%rsp), %r13d
movsbl 0x4c(%rsp), %r14d
movsbl 0x4d(%rsp), %ebx
movq 0x40(%rsp), %rdi
movl (%rsp), %esi
movl 0x14(%rsp), %edx
movq 0x38(%rsp), %rcx
movl 0x10(%rsp), %r8d
movl 0xc(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq 0x70(%rsp)
pushq %rbx
pushq %r14
pushq 0x80(%rsp)
pushq 0x60(%rsp)
pushq 0x60(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xc218
movl 0x8(%rsp), %ebp
movl 0x4(%rsp), %r12d
cmpl %r13d, %ebp
jge 0xc1bf
cmpl 0x18(%rsp), %r12d
jle 0xc1cb
cmpl %r13d, %ebp
jg 0xc218
cmpl 0x18(%rsp), %r12d
jge 0xc218
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x10(%rsp), %edx
movl 0xc(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb64b
addq $0x10, %rsp
testl %eax, %eax
je 0xc218
movq 0x50(%rsp), %rax
movq 0x78(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq (%rcx,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebp, %r13d
movl %r12d, 0x18(%rsp)
movsbl %r14b, %r11d
movsbl %bl, %r10d
movq 0x40(%rsp), %rdi
movl 0x14(%rsp), %esi
movl (%rsp), %edx
movq 0x38(%rsp), %rcx
movl 0xc(%rsp), %r8d
movl 0x10(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq 0x70(%rsp)
movq %r11, 0xb8(%rsp)
pushq %r11
movq %r10, 0xa0(%rsp)
pushq %r10
pushq 0x80(%rsp)
pushq 0x60(%rsp)
pushq 0x60(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xc2f4
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
movl %r13d, %r12d
cmpl %r13d, %ebx
movq 0x98(%rsp), %r14
movq 0x78(%rsp), %r13
jge 0xc29e
cmpl 0x18(%rsp), %ebp
jle 0xc2a9
cmpl %r12d, %ebx
jg 0xc304
cmpl 0x18(%rsp), %ebp
jge 0xc304
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0xc(%rsp), %edx
movl 0x10(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb64b
addq $0x10, %rsp
testl %eax, %eax
je 0xc304
movq 0x50(%rsp), %rax
movq (%r13,%rax,8), %rax
movq (%r13,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, %r12d
movl %ebp, 0x18(%rsp)
jmp 0xc304
movq 0x98(%rsp), %r14
movl %r13d, %r12d
movq 0x78(%rsp), %r13
movq 0x38(%rsp), %rdi
movl 0xc(%rsp), %esi
movl 0x10(%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0x14(%rsp), %r8d
movl (%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq 0x68(%rsp)
pushq 0xc8(%rsp)
pushq 0xc8(%rsp)
pushq 0x88(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xc3bf
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
cmpl %r12d, %ebx
jge 0xc36c
cmpl 0x18(%rsp), %ebp
jle 0xc377
cmpl %r12d, %ebx
jg 0xc3bf
cmpl 0x18(%rsp), %ebp
jge 0xc3bf
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl (%rsp), %edx
movl 0x14(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb64b
addq $0x10, %rsp
testl %eax, %eax
je 0xc3bf
movq 0x50(%rsp), %rax
movq (%r13,%rax,8), %rax
movq (%r13,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, %r12d
movl %ebp, 0x18(%rsp)
movq 0x38(%rsp), %rdi
movl 0x10(%rsp), %esi
movl 0xc(%rsp), %edx
movq 0x40(%rsp), %rcx
movl (%rsp), %r8d
movl 0x14(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq 0x68(%rsp)
pushq 0xc0(%rsp)
pushq 0xd0(%rsp)
pushq 0x88(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xc47a
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
cmpl %r12d, %ebx
jge 0xc427
cmpl 0x18(%rsp), %ebp
jle 0xc432
cmpl %r12d, %ebx
jg 0xc47a
cmpl 0x18(%rsp), %ebp
jge 0xc47a
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x14(%rsp), %edx
movl (%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb64b
addq $0x10, %rsp
testl %eax, %eax
je 0xc47a
movq 0x50(%rsp), %rax
movq (%r13,%rax,8), %rax
movq (%r13,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, %r12d
movl %ebp, 0x18(%rsp)
movq 0x38(%rsp), %rdi
movl (%rsp), %esi
movl 0x14(%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0x10(%rsp), %r8d
movl 0xc(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq 0x68(%rsp)
pushq 0x98(%rsp)
pushq 0xc0(%rsp)
pushq 0x88(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xc536
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
cmpl %r12d, %ebx
jge 0xc4e2
cmpl 0x18(%rsp), %ebp
jle 0xc4ed
cmpl %r12d, %ebx
jg 0xc536
cmpl 0x18(%rsp), %ebp
jge 0xc536
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0xc(%rsp), %edx
movl 0x10(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb64b
addq $0x10, %rsp
testl %eax, %eax
je 0xc536
movq 0x50(%rsp), %rax
movq (%r13,%rax,8), %rax
movq (%r13,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, %r12d
movl %ebp, 0x18(%rsp)
movq 0x38(%rsp), %rdi
movl 0x14(%rsp), %esi
movl (%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0xc(%rsp), %r8d
movl 0x10(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x10(%rsp), %rax
pushq %rax
pushq 0x68(%rsp)
pushq 0xb8(%rsp)
pushq 0xa0(%rsp)
pushq 0x88(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xc633
addq $0x40, %rsp
testl %eax, %eax
je 0xc5fc
movl 0x8(%rsp), %ebx
movl 0x4(%rsp), %ebp
cmpl %r12d, %ebx
jge 0xc59e
cmpl 0x18(%rsp), %ebp
jle 0xc5a9
cmpl %r12d, %ebx
jg 0xc5fc
cmpl 0x18(%rsp), %ebp
jge 0xc5fc
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x10(%rsp), %edx
movl 0xc(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb64b
addq $0x10, %rsp
testl %eax, %eax
movq 0x50(%rsp), %rdx
movq %r14, %rsi
movq 0x70(%rsp), %rdi
je 0xc609
movq (%r13,%rdx,8), %rax
movq (%r13,%r15,8), %rcx
movq %rcx, 0x18(%rax)
movl %ebx, %r12d
movl %ebp, 0x18(%rsp)
jmp 0xc609
movq 0x50(%rsp), %rdx
movq %r14, %rsi
movq 0x70(%rsp), %rdi
incq %r15
cmpq %r15, %rsi
jne 0xbedd
incq %rdx
cmpq %rsi, %rdx
jne 0xb70d
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq