// File: /workspace/github_c_makefile_star2_O0/sc932[P]ALE/src/ALElike.c
// Function: isAmbiguousMatch
int isAmbiguousMatch(char ref, char seq) {
	int isMatch = 0;
	// check ambiguity codes present only in the reference.
	// 'N' is never a match
	switch(seq) {
		case 'A':
			switch(ref) {
				case 'A':
				case 'W':
				case 'M':
				case 'R':
				case 'D':
				case 'H':
				case 'V':
					isMatch = 1;
					break;
				default:
					break;
			}; break;
		case 'C':
			switch(ref) {
				case 'C':
				case 'S':
				case 'M':
				case 'Y':
				case 'B':
				case 'H':
				case 'V':
					isMatch = 1;
					break;
				default:
					break;
			}; break;
		case 'G':
			switch(ref) {
				case 'G':
				case 'S':
				case 'K':
				case 'R':
				case 'B':
				case 'D':
				case 'V':
					isMatch = 1;
					break;
				default:
					break;
			}; break;
		case 'T': case 'U':
			switch(ref) {
				case 'T':
				case 'U':
				case 'W':
				case 'K':
				case 'Y':
				case 'B':
				case 'D':
				case 'H':
					isMatch = 1;
					break;
				default:
					break;
			}; break;
	}
	return isMatch;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movb %sil, %al
movb %dil, %cl
movb %cl, -0x1(%rbp)
movb %al, -0x2(%rbp)
movl $0x0, -0x8(%rbp)
movsbl -0x2(%rbp), %eax
addl $-0x41, %eax
movl %eax, %ecx
movq %rcx, -0x10(%rbp)
subl $0x14, %eax
ja 0x4db1
movq -0x10(%rbp), %rax
leaq 0x26f0c(%rip), %rcx     # 0x2bb64
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsbl -0x1(%rbp), %eax
movl %eax, -0x14(%rbp)
subl $0x41, %eax
je 0x4ca4
jmp 0x4c6f
movl -0x14(%rbp), %eax
subl $0x44, %eax
je 0x4ca4
jmp 0x4c79
movl -0x14(%rbp), %eax
subl $0x48, %eax
je 0x4ca4
jmp 0x4c83
movl -0x14(%rbp), %eax
subl $0x4d, %eax
je 0x4ca4
jmp 0x4c8d
movl -0x14(%rbp), %eax
subl $0x52, %eax
je 0x4ca4
jmp 0x4c97
movl -0x14(%rbp), %eax
addl $-0x56, %eax
subl $0x1, %eax
ja 0x4cad
jmp 0x4ca4
movl $0x1, -0x8(%rbp)
jmp 0x4caf
jmp 0x4caf
jmp 0x4db1
movsbl -0x1(%rbp), %eax
movl %eax, -0x18(%rbp)
addl $-0x42, %eax
subl $0x2, %eax
jb 0x4cf7
jmp 0x4cc5
movl -0x18(%rbp), %eax
subl $0x48, %eax
je 0x4cf7
jmp 0x4ccf
movl -0x18(%rbp), %eax
subl $0x4d, %eax
je 0x4cf7
jmp 0x4cd9
movl -0x18(%rbp), %eax
subl $0x53, %eax
je 0x4cf7
jmp 0x4ce3
movl -0x18(%rbp), %eax
subl $0x56, %eax
je 0x4cf7
jmp 0x4ced
movl -0x18(%rbp), %eax
subl $0x59, %eax
jne 0x4d00
jmp 0x4cf7
movl $0x1, -0x8(%rbp)
jmp 0x4d02
jmp 0x4d02
jmp 0x4db1
movsbl -0x1(%rbp), %eax
movl %eax, -0x1c(%rbp)
subl $0x42, %eax
je 0x4d4a
jmp 0x4d15
movl -0x1c(%rbp), %eax
subl $0x44, %eax
je 0x4d4a
jmp 0x4d1f
movl -0x1c(%rbp), %eax
subl $0x47, %eax
je 0x4d4a
jmp 0x4d29
movl -0x1c(%rbp), %eax
subl $0x4b, %eax
je 0x4d4a
jmp 0x4d33
movl -0x1c(%rbp), %eax
addl $-0x52, %eax
subl $0x2, %eax
jb 0x4d4a
jmp 0x4d40
movl -0x1c(%rbp), %eax
subl $0x56, %eax
jne 0x4d53
jmp 0x4d4a
movl $0x1, -0x8(%rbp)
jmp 0x4d55
jmp 0x4d55
jmp 0x4db1
movsbl -0x1(%rbp), %eax
movl %eax, -0x20(%rbp)
subl $0x42, %eax
je 0x4da4
jmp 0x4d65
movl -0x20(%rbp), %eax
subl $0x44, %eax
je 0x4da4
jmp 0x4d6f
movl -0x20(%rbp), %eax
subl $0x48, %eax
je 0x4da4
jmp 0x4d79
movl -0x20(%rbp), %eax
subl $0x4b, %eax
je 0x4da4
jmp 0x4d83
movl -0x20(%rbp), %eax
addl $-0x54, %eax
subl $0x2, %eax
jb 0x4da4
jmp 0x4d90
movl -0x20(%rbp), %eax
subl $0x57, %eax
je 0x4da4
jmp 0x4d9a
movl -0x20(%rbp), %eax
subl $0x59, %eax
jne 0x4dad
jmp 0x4da4
movl $0x1, -0x8(%rbp)
jmp 0x4daf
jmp 0x4daf
jmp 0x4db1
movl -0x8(%rbp), %eax
popq %rbp
retq
nopw %cs:(%rax,%rax)