// File: /workspace/github_c_makefile_star2_O0/josch[P]stride/sheet.c
// Function: Bridge
void Bridge(char *Asn1, char *Asn2, CHAIN **Chain, int Cn1, int Cn2, PATTERN **Pat, int NPat)
{

  register int i;
  int B_Res;
  
  for( i=0; i<NPat; i++ ) {
    if( Pat[i]->Nei1 != NULL || Pat[i]->Nei2 != NULL ) continue;

    if( !strcmp(Pat[i]->Type,"1331") && 
       ( Cn1 != Cn2 || abs(Pat[i]->Hb1->Dnr->D_Res-Pat[i]->Hb1->Acc->A_Res) >= 3 ) ) {
      
      if( Pat[i]->Hb1->Dnr->Chain->Id == Chain[Cn1]->Id ) {
	if( Asn1[Pat[i]->Hb1->Dnr->D_Res] == 'C' )
	  Asn1[Pat[i]->Hb1->Dnr->D_Res] = 'B';
	if( Asn2[Pat[i]->Hb1->Acc->A_Res] == 'C' )
	  Asn2[Pat[i]->Hb1->Acc->A_Res] = 'B';
      }
      else {
	if( Asn2[Pat[i]->Hb1->Dnr->D_Res] == 'C' )
	  Asn2[Pat[i]->Hb1->Dnr->D_Res] = 'B';
	if( Asn1[Pat[i]->Hb1->Acc->A_Res] == 'C' )
	  Asn1[Pat[i]->Hb1->Acc->A_Res] = 'B';
      }

    }
    else
      if( !strcmp(Pat[i]->Type,"3124") && 
	 ( Cn1 != Cn2 || 
	  (abs(Pat[i]->Hb1->Dnr->D_Res-Pat[i]->Hb1->Acc->A_Res) >= 2 &&
	   abs(Pat[i]->Hb2->Dnr->D_Res-Pat[i]->Hb2->Acc->A_Res) >= 2 ) ) ) {
      
	if( Pat[i]->Hb1->Dnr->Chain->Id == Chain[Cn1]->Id ) {
	
	  if( Pat[i]->Hb1->Dnr->D_Res > Pat[i]->Hb2->Acc->A_Res )
	    B_Res = Pat[i]->Hb1->Dnr->D_Res-1;
	  else
	    B_Res = Pat[i]->Hb1->Dnr->D_Res+1;

	  if( Asn1[B_Res] == 'C' )
	    Asn1[B_Res] = 'B';

	  if( Pat[i]->Hb2->Dnr->D_Res > Pat[i]->Hb1->Acc->A_Res )
	    B_Res = Pat[i]->Hb2->Dnr->D_Res-1;
	  else
	    B_Res = Pat[i]->Hb2->Dnr->D_Res+1;

	  if( Asn2[B_Res] == 'C' )
	    Asn2[B_Res] = 'B';
	}
	else {
	  if( Pat[i]->Hb1->Dnr->D_Res > Pat[i]->Hb2->Acc->A_Res )
	    B_Res = Pat[i]->Hb1->Dnr->D_Res-1;
	  else
	    B_Res = Pat[i]->Hb1->Dnr->D_Res+1;

	  if( Asn2[B_Res] == 'C' )
	    Asn2[B_Res] = 'B';

	  if( Pat[i]->Hb2->Dnr->D_Res > Pat[i]->Hb1->Acc->A_Res )
	    B_Res = Pat[i]->Hb2->Dnr->D_Res-1;
	  else
	    B_Res = Pat[i]->Hb2->Dnr->D_Res+1;

	  if( Asn1[B_Res] == 'C' )
	    Asn1[B_Res] = 'B';
	}
      }
      else
	if( ( ( !strcmp(Pat[i]->Type,"3123") || !strcmp(Pat[i]->Type,"1341") ) &&
	     ( Cn1 != Cn2 ||
	      (abs(Pat[i]->Hb1->Dnr->D_Res-Pat[i]->Hb1->Acc->A_Res) > 3 &&
	       abs(Pat[i]->Hb2->Dnr->D_Res-Pat[i]->Hb2->Acc->A_Res) > 3 ) ) ) ) { 

	  if( Pat[i]->Hb1->Dnr->Chain->Id == Chain[Cn1]->Id ) {
	  
	    if( Pat[i]->Hb1->Dnr->D_Res == Pat[i]->Hb2->Acc->A_Res ) {
	    
	      if( Asn1[Pat[i]->Hb1->Dnr->D_Res] == 'C' )
		Asn1[Pat[i]->Hb1->Dnr->D_Res] = 'B';
	    
	      if( Pat[i]->Hb2->Dnr->D_Res > Pat[i]->Hb1->Acc->A_Res )
		B_Res = Pat[i]->Hb2->Dnr->D_Res-1;
	      else
		B_Res = Pat[i]->Hb2->Dnr->D_Res+1;
	    
	      if( Asn2[B_Res] == 'C' )
		Asn2[B_Res] = 'B';
	    }
	    else {
	      if( Pat[i]->Hb2->Dnr->D_Res == Pat[i]->Hb1->Acc->A_Res )
	      
		if( Asn2[Pat[i]->Hb2->Dnr->D_Res] == 'C' )
		  Asn2[Pat[i]->Hb2->Dnr->D_Res] = 'B';
	    
	      if( Pat[i]->Hb1->Dnr->D_Res > Pat[i]->Hb2->Acc->A_Res )
		B_Res = Pat[i]->Hb1->Dnr->D_Res-1;
	      else
		B_Res = Pat[i]->Hb1->Dnr->D_Res+1;
	    
	      if( Asn1[B_Res] == 'C' )
		Asn1[B_Res] = 'B';
	    }
	  }
	}
	else
	  if( ( !strcmp(Pat[i]->Type,"13B1") || !strcmp(Pat[i]->Type,"133A") ) &&
	     ( Cn1 != Cn2 ||
	      (abs(Pat[i]->Hb1->Dnr->D_Res-Pat[i]->Hb1->Acc->A_Res) > 4 &&
	       abs(Pat[i]->Hb2->Dnr->D_Res-Pat[i]->Hb2->Acc->A_Res) > 4 ) ) ) { 

	    if( Pat[i]->Hb1->Dnr->Chain->Id == Chain[Cn1]->Id ) {
	  
	      if( Pat[i]->Hb1->Dnr->D_Res == Pat[i]->Hb2->Acc->A_Res ) {
	    
		if( Asn1[Pat[i]->Hb1->Dnr->D_Res] == 'C' )
		  Asn1[Pat[i]->Hb1->Dnr->D_Res] = 'B';
	    
		if( Pat[i]->Hb2->Dnr->D_Res > Pat[i]->Hb1->Acc->A_Res )
		  B_Res = Pat[i]->Hb2->Dnr->D_Res-1;
		else
		  B_Res = Pat[i]->Hb2->Dnr->D_Res+1;
	    
		if( Asn2[B_Res] == 'C' )
		  Asn2[B_Res] = 'B';
	      }
	      else {
		if( Pat[i]->Hb2->Dnr->D_Res == Pat[i]->Hb1->Acc->A_Res )
	      
		  if( Asn2[Pat[i]->Hb2->Dnr->D_Res] == 'C' )
		    Asn2[Pat[i]->Hb2->Dnr->D_Res] = 'b';
	    
		if( Pat[i]->Hb1->Dnr->D_Res > Pat[i]->Hb2->Acc->A_Res )
		  B_Res = Pat[i]->Hb1->Dnr->D_Res-1;
		else
		  B_Res = Pat[i]->Hb1->Dnr->D_Res+1;
	    
		if( Asn1[B_Res] == 'C' )
		  Asn1[B_Res] = 'b';
	      }
	    }
	  }
    
  }
}

// Assembly:
subq $0x38, %rsp
movl 0x40(%rsp), %eax
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movl %ecx, 0x1c(%rsp)
movl %r8d, 0x18(%rsp)
movq %r9, 0x10(%rsp)
movl $0x0, 0xc(%rsp)
movl 0xc(%rsp), %eax
cmpl 0x40(%rsp), %eax
jge 0xb810
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
cmpq $0x0, 0x10(%rax)
jne 0xac75
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
cmpq $0x0, 0x18(%rax)
je 0xac7a
jmp 0xb800
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
addq $0x24, %rdi
leaq 0x20ea6(%rip), %rsi     # 0x2bb39
callq 0x2130
cmpl $0x0, %eax
jne 0xae4b
movl 0x1c(%rsp), %eax
cmpl 0x18(%rsp), %eax
jne 0xacea
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
subl 0x8(%rcx), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
cmpl $0x3, %eax
jl 0xae4b
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
movsbl 0x40(%rax), %eax
movq 0x20(%rsp), %rcx
movslq 0x1c(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movsbl 0x40(%rcx), %ecx
cmpl %ecx, %eax
jne 0xadb4
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xad66
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movb $0x42, (%rax,%rcx)
movq 0x28(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
movslq 0x8(%rcx), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xadaf
movq 0x28(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
movslq 0x8(%rcx), %rcx
movb $0x42, (%rax,%rcx)
jmp 0xae46
movq 0x28(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xadfb
movq 0x28(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movb $0x42, (%rax,%rcx)
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
movslq 0x8(%rcx), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xae44
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
movslq 0x8(%rcx), %rcx
movb $0x42, (%rax,%rcx)
jmp 0xae46
jmp 0xb7fe
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
addq $0x24, %rdi
leaq 0x20cda(%rip), %rsi     # 0x2bb3e
callq 0x2130
cmpl $0x0, %eax
jne 0xb189
movl 0x1c(%rsp), %eax
cmpl 0x18(%rsp), %eax
jne 0xaf00
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
subl 0x8(%rcx), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
cmpl $0x2, %eax
jl 0xb189
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rcx
subl 0x8(%rcx), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
cmpl $0x2, %eax
jl 0xb189
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
movsbl 0x40(%rax), %eax
movq 0x20(%rsp), %rcx
movslq 0x1c(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movsbl 0x40(%rcx), %ecx
cmpl %ecx, %eax
jne 0xb05e
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jle 0xaf87
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
subl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0xafa5
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
movq 0x30(%rsp), %rax
movslq 0x8(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xafc6
movq 0x30(%rsp), %rax
movslq 0x8(%rsp), %rcx
movb $0x42, (%rax,%rcx)
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jle 0xb019
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
subl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0xb038
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb059
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movb $0x42, (%rax,%rcx)
jmp 0xb184
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jle 0xb0b0
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
subl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0xb0ce
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb0ef
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movb $0x42, (%rax,%rcx)
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jle 0xb142
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
subl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0xb161
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
movq 0x30(%rsp), %rax
movslq 0x8(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb182
movq 0x30(%rsp), %rax
movslq 0x8(%rsp), %rcx
movb $0x42, (%rax,%rcx)
jmp 0xb184
jmp 0xb7fc
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
addq $0x24, %rdi
leaq 0x209b7(%rip), %rsi     # 0x2bb59
callq 0x2130
cmpl $0x0, %eax
je 0xb1d3
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
addq $0x24, %rdi
leaq 0x20999(%rip), %rsi     # 0x2bb5e
callq 0x2130
cmpl $0x0, %eax
jne 0xb4c2
movl 0x1c(%rsp), %eax
cmpl 0x18(%rsp), %eax
jne 0xb261
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
subl 0x8(%rcx), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
cmpl $0x3, %eax
jle 0xb4c2
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rcx
subl 0x8(%rcx), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
cmpl $0x3, %eax
jle 0xb4c2
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
movsbl 0x40(%rax), %eax
movq 0x20(%rsp), %rcx
movslq 0x1c(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movsbl 0x40(%rcx), %ecx
cmpl %ecx, %eax
jne 0xb4bd
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jne 0xb3ab
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb313
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movb $0x42, (%rax,%rcx)
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jle 0xb366
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
subl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0xb385
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb3a6
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movb $0x42, (%rax,%rcx)
jmp 0xb4bb
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jne 0xb428
movq 0x28(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb426
movq 0x28(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movb $0x42, (%rax,%rcx)
jmp 0xb428
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jle 0xb47a
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
subl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0xb498
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
movq 0x30(%rsp), %rax
movslq 0x8(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb4b9
movq 0x30(%rsp), %rax
movslq 0x8(%rsp), %rcx
movb $0x42, (%rax,%rcx)
jmp 0xb4bb
jmp 0xb4bd
jmp 0xb7fa
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
addq $0x24, %rdi
leaq 0x20673(%rip), %rsi     # 0x2bb4e
callq 0x2130
cmpl $0x0, %eax
je 0xb50c
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
addq $0x24, %rdi
leaq 0x20645(%rip), %rsi     # 0x2bb43
callq 0x2130
cmpl $0x0, %eax
jne 0xb7f8
movl 0x1c(%rsp), %eax
cmpl 0x18(%rsp), %eax
jne 0xb59a
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
subl 0x8(%rcx), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
cmpl $0x4, %eax
jle 0xb7f8
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rcx
subl 0x8(%rcx), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
cmpl $0x4, %eax
jle 0xb7f8
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
movsbl 0x40(%rax), %eax
movq 0x20(%rsp), %rcx
movslq 0x1c(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movsbl 0x40(%rcx), %ecx
cmpl %ecx, %eax
jne 0xb7f6
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jne 0xb6e4
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb64c
movq 0x30(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movb $0x42, (%rax,%rcx)
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jle 0xb69f
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
subl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0xb6be
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb6df
movq 0x28(%rsp), %rax
movslq 0x8(%rsp), %rcx
movb $0x42, (%rax,%rcx)
jmp 0xb7f4
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq (%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jne 0xb761
movq 0x28(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb75f
movq 0x28(%rsp), %rax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq (%rcx), %rcx
movslq 0x8(%rcx), %rcx
movb $0x62, (%rax,%rcx)
jmp 0xb761
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
movq 0x10(%rsp), %rcx
movslq 0xc(%rsp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movq 0x8(%rcx), %rcx
cmpl 0x8(%rcx), %eax
jle 0xb7b3
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
subl $0x1, %eax
movl %eax, 0x8(%rsp)
jmp 0xb7d1
movq 0x10(%rsp), %rax
movslq 0xc(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movq (%rax), %rax
movl 0x8(%rax), %eax
addl $0x1, %eax
movl %eax, 0x8(%rsp)
movq 0x30(%rsp), %rax
movslq 0x8(%rsp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xb7f2
movq 0x30(%rsp), %rax
movslq 0x8(%rsp), %rcx
movb $0x62, (%rax,%rcx)
jmp 0xb7f4
jmp 0xb7f6
jmp 0xb7f8
jmp 0xb7fa
jmp 0xb7fc
jmp 0xb7fe
jmp 0xb800
movl 0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, 0xc(%rsp)
jmp 0xac3d
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
nop