// File: /workspace/github_c_makefile_star2_O0/jiqingxiaoxi[P]RPA/single.c
// Function: dimer
int dimer(char primer[],int length)
{
//same
	if(primer[length-1]==primer[length-2]&&primer[length-1]==primer[length-3]&&primer[length-1]==primer[length-4])
		return 0;
	if(primer[length-1]=='A')
	{
		if(primer[length-6]!='T')
			return 1;
	}
	else if(primer[length-1]=='T')
	{
		if(primer[length-6]!='A')
			return 1;
	}
	else if(primer[length-1]=='C')
	{
		if(primer[length-6]!='G')
			return 1;
	}
	else
	{
		if(primer[length-1]!='C')
			return 1;
	}

	if(primer[length-2]=='A')
        {        
                if(primer[length-5]!='T')
                        return 1;        
        }
        else if(primer[length-2]=='T')
        {        
                if(primer[length-5]!='A')
                        return 1;
        }                
        else if(primer[length-2]=='C')
        {
                if(primer[length-5]!='G')
                        return 1;  
        }
        else
        {
                if(primer[length-5]!='C')   
                        return 1;  
        }

	if(primer[length-3]=='A')
        {        
                if(primer[length-4]!='T')
                        return 1;        
        }
        else if(primer[length-3]=='T')
        {        
                if(primer[length-4]!='A')
                        return 1;
        }                
        else if(primer[length-3]=='C')
        {
                if(primer[length-4]!='G')
                        return 1;  
        }
        else
        {
                if(primer[length-4]!='C')   
                        return 1;  
        }
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movq -0x10(%rbp), %rcx
movl -0x14(%rbp), %edx
subl $0x2, %edx
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne 0xecb9
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movq -0x10(%rbp), %rcx
movl -0x14(%rbp), %edx
subl $0x3, %edx
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne 0xecb9
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movq -0x10(%rbp), %rcx
movl -0x14(%rbp), %edx
subl $0x4, %edx
movslq %edx, %rdx
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne 0xecb9
movl $0x0, -0x4(%rbp)
jmp 0xef42
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x41, %eax
jne 0xecf6
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x6, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x54, %eax
je 0xecf1
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xed92
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x54, %eax
jne 0xed30
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x6, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x41, %eax
je 0xed2e
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xed90
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xed6a
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x6, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x47, %eax
je 0xed68
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xed8e
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
je 0xed8c
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xed8e
jmp 0xed90
jmp 0xed92
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x41, %eax
jne 0xedcf
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x5, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x54, %eax
je 0xedca
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xee6b
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x54, %eax
jne 0xee09
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x5, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x41, %eax
je 0xee07
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xee69
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xee43
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x5, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x47, %eax
je 0xee41
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xee67
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x5, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
je 0xee65
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xee67
jmp 0xee69
jmp 0xee6b
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x3, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x41, %eax
jne 0xeea8
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x4, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x54, %eax
je 0xeea3
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xef3b
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x3, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x54, %eax
jne 0xeedf
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x4, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x41, %eax
je 0xeedd
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xef39
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x3, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
jne 0xef16
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x4, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x47, %eax
je 0xef14
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xef37
movq -0x10(%rbp), %rax
movl -0x14(%rbp), %ecx
subl $0x4, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x43, %eax
je 0xef35
movl $0x1, -0x4(%rbp)
jmp 0xef42
jmp 0xef37
jmp 0xef39
jmp 0xef3b
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
popq %rbp
retq
nopw (%rax,%rax)