// File: /workspace/github_c_makefile_star2_O1/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:
testl %esi, %esi
jle 0xb5bc
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %r13
movl %esi, %edx
xorl %ebp, %ebp
movq %rdi, 0x68(%rsp)
movq %rdx, 0x90(%rsp)
movq (%r13,%rbp,8), %rax
cmpl $0x0, 0x20(%rax)
je 0xb59f
subq $0x8, %rsp
leaq 0xc8(%rsp), %rdi
leaq 0xcc(%rsp), %rsi
movq %rdx, %rbx
leaq 0xc0(%rsp), %rdx
leaq 0xc4(%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 0xd6ba
movq %rbx, %rdx
addq $0x20, %rsp
movl $0x3e8, %r15d           # imm = 0x3E8
movl $0xffffffff, 0x20(%rsp) # imm = 0xFFFFFFFF
xorl %r12d, %r12d
movl $0xffffffff, 0x24(%rsp) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x60(%rsp) # imm = 0xFFFFFFFF
movl $0x3e8, 0xc(%rsp)       # imm = 0x3E8
movq %rbp, 0x78(%rsp)
cmpq %r12, %rbp
je 0xae3d
movq (%r13,%r12,8), %rax
cmpl $0x0, 0x20(%rax)
je 0xae3d
movl %r15d, 0x10(%rsp)
subq $0x8, %rsp
leaq 0x90(%rsp), %rdi
leaq 0x94(%rsp), %rsi
leaq 0x88(%rsp), %rdx
leaq 0x8c(%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 0xd6ba
addq $0x20, %rsp
movl 0xc0(%rsp), %edi
movl 0x88(%rsp), %esi
movl 0x8c(%rsp), %edx
movl 0xc4(%rsp), %ecx
movl 0x84(%rsp), %r8d
movl 0x80(%rsp), %r9d
movl 0xbc(%rsp), %r11d
movl 0xb8(%rsp), %r10d
movsbl 0x5e(%rsp), %r13d
movsbl 0x4e(%rsp), %ebp
movsbl 0x4f(%rsp), %r15d
movsbl 0x5f(%rsp), %ebx
movl %edi, 0x70(%rsp)
movl %esi, 0x28(%rsp)
movl %edx, 0x18(%rsp)
movl %ecx, 0x40(%rsp)
movl %r8d, 0x8(%rsp)
movl %r9d, 0x1c(%rsp)
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%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 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xa894
movl 0x14(%rsp), %r14d
cmpl 0xc(%rsp), %r14d
jge 0xa828
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jle 0xa839
cmpl 0xc(%rsp), %r14d
jg 0xa894
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jge 0xa894
movl 0x18(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x40(%rsp), %edx
movl 0x70(%rsp), %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xb6be
testl %eax, %eax
je 0xa894
movq 0x68(%rsp), %rcx
movq 0x78(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq (%rcx,%r12,8), %rcx
movl 0x4(%rsp), %edx
movl %edx, 0x10(%rsp)
movq %rcx, 0x10(%rax)
movl %r14d, 0xc(%rsp)
movl %r12d, 0x60(%rsp)
movl 0x1c(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x8(%rsp), %eax
movl %eax, 0x20(%rsp)
movsbl %bl, %r10d
movsbl %bpl, %r14d
movsbl %r15b, %ebx
movsbl %r13b, %r11d
movl 0x70(%rsp), %edi
movl 0x18(%rsp), %esi
movl 0x28(%rsp), %edx
movl 0x40(%rsp), %ecx
movl 0x1c(%rsp), %ebp
movl %ebp, %r8d
movl 0x8(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
movq %r10, 0x60(%rsp)
pushq %r10
movq %r14, 0xc0(%rsp)
pushq %r14
movq %rbx, 0xd0(%rsp)
pushq %rbx
movq %r11, %r13
pushq %r11
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xa976
movl 0x14(%rsp), %ebx
cmpl 0xc(%rsp), %ebx
movq 0x78(%rsp), %r14
movl 0x10(%rsp), %eax
jge 0xa919
cmpl %eax, 0x4(%rsp)
jle 0xa925
cmpl 0xc(%rsp), %ebx
jg 0xa976
cmpl %eax, 0x4(%rsp)
jge 0xa976
movl 0x28(%rsp), %edi
movl 0x18(%rsp), %esi
movl 0x40(%rsp), %edx
movl 0x70(%rsp), %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xb6be
testl %eax, %eax
je 0xa976
movq 0x68(%rsp), %rcx
movq (%rcx,%r14,8), %rax
movq (%rcx,%r12,8), %rcx
movl 0x4(%rsp), %edx
movl %edx, 0x10(%rsp)
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %r12d, 0x60(%rsp)
movl 0x8(%rsp), %eax
movl %eax, 0x24(%rsp)
movl %ebp, 0x20(%rsp)
movsbl 0x4c(%rsp), %r15d
movsbl 0x4d(%rsp), %ebx
movl 0x70(%rsp), %r14d
movl %r14d, %edi
movl %ebp, %esi
movl 0x8(%rsp), %edx
movl 0x40(%rsp), %ecx
movl 0x18(%rsp), %r8d
movl 0x28(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq 0x60(%rsp)
pushq %rbx
pushq %r15
pushq %r13
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xaa44
movl 0x14(%rsp), %ebp
cmpl 0xc(%rsp), %ebp
jge 0xa9db
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jle 0xa9eb
cmpl 0xc(%rsp), %ebp
jg 0xaa44
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jge 0xaa44
movl 0x8(%rsp), %edi
movl 0x1c(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xb6be
testl %eax, %eax
je 0xaa44
movq 0x78(%rsp), %rax
movq 0x68(%rsp), %rcx
movq (%rcx,%rax,8), %rax
movq (%rcx,%r12,8), %rcx
movl 0x4(%rsp), %edx
movl %edx, 0x10(%rsp)
movq %rcx, 0x10(%rax)
movl %ebp, 0xc(%rsp)
movl %r12d, 0x60(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x18(%rsp), %eax
movl %eax, 0x20(%rsp)
movsbl %r15b, %r11d
movsbl %bl, %r10d
movl %r14d, %edi
movl 0x8(%rsp), %esi
movl 0x1c(%rsp), %edx
movl 0x40(%rsp), %ecx
movl 0x28(%rsp), %r8d
movl 0x18(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq 0x60(%rsp)
movq %r11, 0xb0(%rsp)
pushq %r11
movq %r10, 0xc0(%rsp)
pushq %r10
pushq %r13
pushq 0x68(%rsp)
pushq 0x68(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xab1b
movl 0x14(%rsp), %ebx
cmpl 0xc(%rsp), %ebx
movq 0x78(%rsp), %rbp
movl 0x10(%rsp), %r15d
jge 0xaabb
cmpl %r15d, 0x4(%rsp)
jle 0xaac8
cmpl 0xc(%rsp), %ebx
jg 0xab25
cmpl %r15d, 0x4(%rsp)
jge 0xab25
movl 0x1c(%rsp), %edi
movl 0x8(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xb6be
testl %eax, %eax
je 0xab25
movq 0x68(%rsp), %rcx
movq (%rcx,%rbp,8), %rax
movq (%rcx,%r12,8), %rcx
movl 0x4(%rsp), %r15d
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %r12d, 0x60(%rsp)
movl 0x18(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x20(%rsp)
jmp 0xab25
movq 0x78(%rsp), %rbp
movl 0x10(%rsp), %r15d
movl 0x40(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x18(%rsp), %edx
movl %r14d, %ecx
movl 0x8(%rsp), %r8d
movl 0x1c(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xc8(%rsp)
pushq 0xc8(%rsp)
pushq 0x78(%rsp)
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xabe2
movl 0x14(%rsp), %ebx
cmpl 0xc(%rsp), %ebx
jge 0xab84
cmpl %r15d, 0x4(%rsp)
jle 0xab91
cmpl 0xc(%rsp), %ebx
jg 0xabe2
cmpl %r15d, 0x4(%rsp)
jge 0xabe2
movl 0x18(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xb6be
testl %eax, %eax
je 0xabe2
movq 0x68(%rsp), %rcx
movq (%rcx,%rbp,8), %rax
movq (%rcx,%r12,8), %rcx
movl 0x4(%rsp), %r15d
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %r12d, 0x60(%rsp)
movl 0x8(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x1c(%rsp), %eax
movl %eax, 0x20(%rsp)
movl 0x40(%rsp), %edi
movl 0x18(%rsp), %esi
movl 0x28(%rsp), %edx
movl %r14d, %ecx
movl 0x1c(%rsp), %r8d
movl 0x8(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xc0(%rsp)
pushq 0xd0(%rsp)
pushq 0x78(%rsp)
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xac9f
movl 0x14(%rsp), %ebx
cmpl 0xc(%rsp), %ebx
jge 0xac41
cmpl %r15d, 0x4(%rsp)
jle 0xac4e
cmpl 0xc(%rsp), %ebx
jg 0xac9f
cmpl %r15d, 0x4(%rsp)
jge 0xac9f
movl 0x18(%rsp), %edi
movl 0x28(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xb6be
testl %eax, %eax
je 0xac9f
movq 0x68(%rsp), %rcx
movq (%rcx,%rbp,8), %rax
movq (%rcx,%r12,8), %rcx
movl 0x4(%rsp), %r15d
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %r12d, 0x60(%rsp)
movl 0x1c(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x8(%rsp), %eax
movl %eax, 0x20(%rsp)
movl 0x40(%rsp), %edi
movl 0x1c(%rsp), %esi
movl 0x8(%rsp), %edx
movl %r14d, %ecx
movl 0x18(%rsp), %r8d
movl 0x28(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xb8(%rsp)
pushq 0xb8(%rsp)
pushq 0x78(%rsp)
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xad5c
movl 0x14(%rsp), %ebx
cmpl 0xc(%rsp), %ebx
jge 0xacfe
cmpl %r15d, 0x4(%rsp)
jle 0xad0b
cmpl 0xc(%rsp), %ebx
jg 0xad5c
cmpl %r15d, 0x4(%rsp)
jge 0xad5c
movl 0x1c(%rsp), %edi
movl 0x8(%rsp), %esi
movl 0x40(%rsp), %edx
movl %r14d, %ecx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xb6be
testl %eax, %eax
je 0xad5c
movq 0x68(%rsp), %rcx
movq (%rcx,%rbp,8), %rax
movq (%rcx,%r12,8), %rcx
movl 0x4(%rsp), %r15d
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %r12d, 0x60(%rsp)
movl 0x18(%rsp), %eax
movl %eax, 0x24(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x20(%rsp)
movl 0x40(%rsp), %edi
movl 0x8(%rsp), %esi
movl 0x1c(%rsp), %edx
movl %r14d, %ecx
movl 0x28(%rsp), %r8d
movl 0x18(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq %r13
pushq 0xb0(%rsp)
pushq 0xc0(%rsp)
pushq 0x78(%rsp)
pushq 0x60(%rsp)
pushq 0x70(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xae26
movl 0x14(%rsp), %ebx
cmpl 0xc(%rsp), %ebx
movq 0x68(%rsp), %r13
jge 0xadc0
cmpl %r15d, 0x4(%rsp)
jle 0xadcd
cmpl 0xc(%rsp), %ebx
jg 0xae35
cmpl %r15d, 0x4(%rsp)
jge 0xae35
movl 0x8(%rsp), %edi
movl %r14d, %ecx
movl 0x1c(%rsp), %r14d
movl %r14d, %esi
movl 0x40(%rsp), %edx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
callq 0xb6be
testl %eax, %eax
movq 0x90(%rsp), %rdx
je 0xae3d
movq (%r13,%rbp,8), %rax
movq (%r13,%r12,8), %rcx
movl 0x4(%rsp), %r15d
movq %rcx, 0x10(%rax)
movl %ebx, 0xc(%rsp)
movl %r12d, 0x60(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x24(%rsp)
movl %r14d, 0x20(%rsp)
jmp 0xae3d
movq 0x90(%rsp), %rdx
movq 0x68(%rsp), %r13
jmp 0xae3d
movq 0x90(%rsp), %rdx
incq %r12
cmpq %r12, %rdx
jne 0xa714
movl 0x60(%rsp), %esi
movl $0x3e8, 0x10(%rsp)      # imm = 0x3E8
xorl %r15d, %r15d
movl $0x3e8, 0x8(%rsp)       # imm = 0x3E8
movq %rsi, 0x60(%rsp)
cmpq %r15, %rsi
sete %al
cmpq %r15, %rbp
sete %cl
orb %al, %cl
jne 0xb593
movq (%r13,%r15,8), %rax
cmpl $0x0, 0x20(%rax)
je 0xb593
subq $0x8, %rsp
leaq 0x90(%rsp), %rdi
leaq 0x94(%rsp), %rsi
leaq 0x88(%rsp), %rdx
leaq 0x8c(%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 0xd6ba
addq $0x20, %rsp
movl 0xb8(%rsp), %edi
movl 0x88(%rsp), %esi
movl 0x8c(%rsp), %edx
movl 0xbc(%rsp), %ecx
movl 0x84(%rsp), %r8d
movl 0x80(%rsp), %r9d
movl 0xc4(%rsp), %r11d
movl 0xc0(%rsp), %r10d
movsbl 0x5c(%rsp), %ebp
movsbl 0x4e(%rsp), %r14d
movsbl 0x4f(%rsp), %ebx
movsbl 0x5d(%rsp), %r12d
movq %rdi, 0x40(%rsp)
movl %esi, 0x18(%rsp)
movl %edx, 0xc(%rsp)
movq %rcx, 0x38(%rsp)
movl %r8d, 0x1c(%rsp)
movl %r9d, 0x50(%rsp)
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq %r12
pushq %rbx
pushq %r14
pushq %rbp
movq %r10, 0x60(%rsp)
pushq %r10
movq %r11, 0x60(%rsp)
pushq %r11
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xafe0
movl 0x14(%rsp), %r13d
cmpl 0x8(%rsp), %r13d
jge 0xaf7d
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jle 0xaf8e
cmpl 0x8(%rsp), %r13d
jg 0xafe0
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jge 0xafe0
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x1c(%rsp), %edx
movl 0x50(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb74d
addq $0x10, %rsp
testl %eax, %eax
je 0xafe0
movq 0x68(%rsp), %rcx
movq 0x78(%rsp), %rax
movq (%rcx,%rax,8), %rax
movq (%rcx,%r15,8), %rcx
movl 0x4(%rsp), %edx
movl %edx, 0x10(%rsp)
movq %rcx, 0x18(%rax)
movl %r13d, 0x8(%rsp)
movsbl %r12b, %r10d
movsbl %r14b, %r14d
movsbl %bl, %ebx
movsbl %bpl, %r11d
movq 0x40(%rsp), %rdi
movl 0xc(%rsp), %esi
movl 0x18(%rsp), %edx
movq 0x38(%rsp), %rcx
movl 0x50(%rsp), %r8d
movl 0x1c(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
movq %r10, 0x80(%rsp)
pushq %r10
movq %r14, 0xc0(%rsp)
pushq %r14
movq %rbx, 0xd0(%rsp)
pushq %rbx
movq %r11, %r12
pushq %r11
pushq 0x60(%rsp)
pushq 0x60(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xb0c7
movl 0x14(%rsp), %ebx
cmpl 0x8(%rsp), %ebx
movq 0x68(%rsp), %r13
movq 0x78(%rsp), %r14
jge 0xb06c
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jle 0xb07c
cmpl 0x8(%rsp), %ebx
jg 0xb0cc
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jge 0xb0cc
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x50(%rsp), %edx
movl 0x1c(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb74d
addq $0x10, %rsp
testl %eax, %eax
je 0xb0cc
movq (%r13,%r14,8), %rax
movq (%r13,%r15,8), %rcx
movl 0x4(%rsp), %edx
movl %edx, 0x10(%rsp)
movq %rcx, 0x18(%rax)
movl %ebx, 0x8(%rsp)
jmp 0xb0cc
movq 0x68(%rsp), %r13
movsbl 0x4c(%rsp), %r14d
movsbl 0x4d(%rsp), %ebx
movq 0x40(%rsp), %rdi
movl 0x50(%rsp), %esi
movl 0x1c(%rsp), %edx
movq 0x38(%rsp), %rcx
movl 0xc(%rsp), %r8d
movl 0x18(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq 0x80(%rsp)
pushq %rbx
pushq %r14
pushq %r12
pushq 0x60(%rsp)
pushq 0x60(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xb192
movl 0x14(%rsp), %ebp
cmpl 0x8(%rsp), %ebp
jge 0xb134
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jle 0xb144
cmpl 0x8(%rsp), %ebp
jg 0xb192
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jge 0xb192
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0xc(%rsp), %edx
movl 0x18(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb74d
addq $0x10, %rsp
testl %eax, %eax
je 0xb192
movq 0x78(%rsp), %rax
movq (%r13,%rax,8), %rax
movq (%r13,%r15,8), %rcx
movl 0x4(%rsp), %edx
movl %edx, 0x10(%rsp)
movq %rcx, 0x18(%rax)
movl %ebp, 0x8(%rsp)
movsbl %r14b, %r11d
movsbl %bl, %r10d
movq 0x40(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x50(%rsp), %edx
movq 0x38(%rsp), %rcx
movl 0x18(%rsp), %r8d
movl 0xc(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq 0x80(%rsp)
movq %r11, 0xb0(%rsp)
pushq %r11
movq %r10, 0xc0(%rsp)
pushq %r10
pushq %r12
pushq 0x60(%rsp)
pushq 0x60(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xb270
movl 0x14(%rsp), %ebx
cmpl 0x8(%rsp), %ebx
movq 0x90(%rsp), %r14
movq 0x78(%rsp), %rbp
jge 0xb215
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jle 0xb225
cmpl 0x8(%rsp), %ebx
jg 0xb27d
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jge 0xb27d
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x18(%rsp), %edx
movl 0xc(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb74d
addq $0x10, %rsp
testl %eax, %eax
je 0xb27d
movq (%r13,%rbp,8), %rax
movq (%r13,%r15,8), %rcx
movl 0x4(%rsp), %edx
movl %edx, 0x10(%rsp)
movq %rcx, 0x18(%rax)
movl %ebx, 0x8(%rsp)
jmp 0xb27d
movq 0x90(%rsp), %r14
movq 0x78(%rsp), %rbp
movq 0x38(%rsp), %rdi
movl 0x18(%rsp), %esi
movl 0xc(%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0x1c(%rsp), %r8d
movl 0x50(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq %r12
pushq 0xc8(%rsp)
pushq 0xc8(%rsp)
pushq 0x98(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xb33e
movl 0x14(%rsp), %ebx
cmpl 0x8(%rsp), %ebx
jge 0xb2e5
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jle 0xb2f5
cmpl 0x8(%rsp), %ebx
jg 0xb33e
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jge 0xb33e
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x50(%rsp), %edx
movl 0x1c(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb74d
addq $0x10, %rsp
testl %eax, %eax
je 0xb33e
movq (%r13,%rbp,8), %rax
movq (%r13,%r15,8), %rcx
movl 0x4(%rsp), %edx
movl %edx, 0x10(%rsp)
movq %rcx, 0x18(%rax)
movl %ebx, 0x8(%rsp)
movq 0x38(%rsp), %rdi
movl 0xc(%rsp), %esi
movl 0x18(%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0x50(%rsp), %r8d
movl 0x1c(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq %r12
pushq 0xc0(%rsp)
pushq 0xd0(%rsp)
pushq 0x98(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xb3ff
movl 0x14(%rsp), %ebx
cmpl 0x8(%rsp), %ebx
jge 0xb3a6
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jle 0xb3b6
cmpl 0x8(%rsp), %ebx
jg 0xb3ff
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jge 0xb3ff
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x1c(%rsp), %edx
movl 0x50(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb74d
addq $0x10, %rsp
testl %eax, %eax
je 0xb3ff
movq (%r13,%rbp,8), %rax
movq (%r13,%r15,8), %rcx
movl 0x4(%rsp), %edx
movl %edx, 0x10(%rsp)
movq %rcx, 0x18(%rax)
movl %ebx, 0x8(%rsp)
movq 0x38(%rsp), %rdi
movl 0x50(%rsp), %esi
movl 0x1c(%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0xc(%rsp), %r8d
movl 0x18(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq %r12
pushq 0xb8(%rsp)
pushq 0xb8(%rsp)
pushq 0x98(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xb4c0
movl 0x14(%rsp), %ebx
cmpl 0x8(%rsp), %ebx
jge 0xb467
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jle 0xb477
cmpl 0x8(%rsp), %ebx
jg 0xb4c0
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jge 0xb4c0
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0x18(%rsp), %edx
movl 0xc(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb74d
addq $0x10, %rsp
testl %eax, %eax
je 0xb4c0
movq (%r13,%rbp,8), %rax
movq (%r13,%r15,8), %rcx
movl 0x4(%rsp), %edx
movl %edx, 0x10(%rsp)
movq %rcx, 0x18(%rax)
movl %ebx, 0x8(%rsp)
movq 0x38(%rsp), %rdi
movl 0x1c(%rsp), %esi
movl 0x50(%rsp), %edx
movq 0x40(%rsp), %rcx
movl 0x18(%rsp), %r8d
movl 0xc(%rsp), %r9d
leaq 0x4(%rsp), %rax
pushq %rax
leaq 0x1c(%rsp), %rax
pushq %rax
pushq %r12
pushq 0xb0(%rsp)
pushq 0xc0(%rsp)
pushq 0x98(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
callq 0xb5bd
addq $0x40, %rsp
testl %eax, %eax
je 0xb58b
movl 0x14(%rsp), %ebx
cmpl 0x8(%rsp), %ebx
jge 0xb528
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jle 0xb538
cmpl 0x8(%rsp), %ebx
jg 0xb58b
movl 0x10(%rsp), %eax
cmpl %eax, 0x4(%rsp)
jge 0xb58b
movl 0x24(%rsp), %edi
movl 0x20(%rsp), %esi
movl 0xc(%rsp), %edx
movl 0x18(%rsp), %ecx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0xb74d
addq $0x10, %rsp
testl %eax, %eax
movq %r14, %rdx
movq 0x60(%rsp), %rsi
je 0xb593
movq (%r13,%rbp,8), %rax
movq (%r13,%r15,8), %rcx
movl 0x4(%rsp), %edi
movl %edi, 0x10(%rsp)
movq %rcx, 0x18(%rax)
movl %ebx, 0x8(%rsp)
jmp 0xb593
movq %r14, %rdx
movq 0x60(%rsp), %rsi
incq %r15
cmpq %r15, %rdx
jne 0xae65
incq %rbp
cmpq %rdx, %rbp
jne 0xa68d
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq