// File: /workspace/github_c_makefile_star2_O0/dapogon[P]cellcoal/src/cellcoal.c
// Function: WhichIUPAC
char WhichIUPAC (int allele1, int allele2)
	{
	if (allele1 == 0)
		{
		if (allele2 == 0)		//AA
			return ('A');
		else if (allele2 == 1)	//AC
			return ('M');
		else if (allele2 == 2)	//AG
			return ('R');
		else if (allele2 == 3)	//AT
			return ('W');
		else if (allele2 == ADO)	//A_
			return ('a');
		else if (allele2 == DELETION)	//A–
			return ('a');
		else
			return ('N');
		}
	else if (allele1 == 1)
		{
		if (allele2 == 0)		//CA
			return ('M');
		else if (allele2 == 1)	//CC
			return ('C');
		else if (allele2 == 2)	//CG
			return ('S');
		else if (allele2 == 3)	//CT
			return ('Y');
		else if (allele2 == ADO)	//C?
			return ('c');
		else if (allele2 == DELETION)	//C–
			return ('c');
		else
			return ('N');
		}
	else if (allele1 == 2)
		{
		if (allele2 == 0)		//GA
			return ('R');
		else if (allele2 == 1)	//GC
			return ('S');
		else if (allele2 == 2)	//GG
			return ('G');
		else if (allele2 == 3)	//GT
			return ('K');
		else if (allele2 == ADO)	//G?
			return ('g');
		else if (allele2 == DELETION)	//G–
			return ('g');
		else
			return ('N');
		}
	else if (allele1 == 3)
		{
		if (allele2 == 0)		//TA
			return ('W');
		else if (allele2 == 1)	//TC
			return ('Y');
		else if (allele2 == 2)	//TG
			return ('K');
		else if (allele2 == 3)	//TT
			return ('T');
		else if (allele2 == ADO)	//T?
			return ('t');
		else if (allele2 == DELETION)	//T–
			return ('t');
		else
			return ('N');
		}
	else if (allele1 == ADO)
		{
		if (allele2 == 0)		//_A
			return ('a');
		else if (allele2 == 1)	//_C
			return ('c');
		else if (allele2 == 2)	//_G
			return ('g');
		else if (allele2 == 3)	//_T
			return ('t');
		else if (allele2 == ADO)	//__
			return ('-');
		else if (allele2 == DELETION)	//_-
			return ('-');
		else
			return ('N');
		}
	else if (allele1 == DELETION)
		{
		if (allele2 == 0)		//-A
			return ('a');
		else if (allele2 == 1)	//-C
			return ('c');
		else if (allele2 == 2)	//-G
			return ('g');
		else if (allele2 == 3)	//-T
			return ('t');
		else if (allele2 == ADO)	//-_
			return ('-');
		else if (allele2 == DELETION)	//--
			return ('-');
		else
			return ('N');
		}
	else
		return ('N');
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
cmpl $0x0, -0x8(%rbp)
jne 0x216a3
cmpl $0x0, -0xc(%rbp)
jne 0x2164f
movb $0x41, -0x1(%rbp)
jmp 0x21893
cmpl $0x1, -0xc(%rbp)
jne 0x2165e
movb $0x4d, -0x1(%rbp)
jmp 0x21893
cmpl $0x2, -0xc(%rbp)
jne 0x2166d
movb $0x52, -0x1(%rbp)
jmp 0x21893
cmpl $0x3, -0xc(%rbp)
jne 0x2167c
movb $0x57, -0x1(%rbp)
jmp 0x21893
cmpl $0x9, -0xc(%rbp)
jne 0x2168b
movb $0x61, -0x1(%rbp)
jmp 0x21893
cmpl $0x7, -0xc(%rbp)
jne 0x2169a
movb $0x61, -0x1(%rbp)
jmp 0x21893
movb $0x4e, -0x1(%rbp)
jmp 0x21893
cmpl $0x1, -0x8(%rbp)
jne 0x2170c
cmpl $0x0, -0xc(%rbp)
jne 0x216b8
movb $0x4d, -0x1(%rbp)
jmp 0x21893
cmpl $0x1, -0xc(%rbp)
jne 0x216c7
movb $0x43, -0x1(%rbp)
jmp 0x21893
cmpl $0x2, -0xc(%rbp)
jne 0x216d6
movb $0x53, -0x1(%rbp)
jmp 0x21893
cmpl $0x3, -0xc(%rbp)
jne 0x216e5
movb $0x59, -0x1(%rbp)
jmp 0x21893
cmpl $0x9, -0xc(%rbp)
jne 0x216f4
movb $0x63, -0x1(%rbp)
jmp 0x21893
cmpl $0x7, -0xc(%rbp)
jne 0x21703
movb $0x63, -0x1(%rbp)
jmp 0x21893
movb $0x4e, -0x1(%rbp)
jmp 0x21893
cmpl $0x2, -0x8(%rbp)
jne 0x21775
cmpl $0x0, -0xc(%rbp)
jne 0x21721
movb $0x52, -0x1(%rbp)
jmp 0x21893
cmpl $0x1, -0xc(%rbp)
jne 0x21730
movb $0x53, -0x1(%rbp)
jmp 0x21893
cmpl $0x2, -0xc(%rbp)
jne 0x2173f
movb $0x47, -0x1(%rbp)
jmp 0x21893
cmpl $0x3, -0xc(%rbp)
jne 0x2174e
movb $0x4b, -0x1(%rbp)
jmp 0x21893
cmpl $0x9, -0xc(%rbp)
jne 0x2175d
movb $0x67, -0x1(%rbp)
jmp 0x21893
cmpl $0x7, -0xc(%rbp)
jne 0x2176c
movb $0x67, -0x1(%rbp)
jmp 0x21893
movb $0x4e, -0x1(%rbp)
jmp 0x21893
cmpl $0x3, -0x8(%rbp)
jne 0x217de
cmpl $0x0, -0xc(%rbp)
jne 0x2178a
movb $0x57, -0x1(%rbp)
jmp 0x21893
cmpl $0x1, -0xc(%rbp)
jne 0x21799
movb $0x59, -0x1(%rbp)
jmp 0x21893
cmpl $0x2, -0xc(%rbp)
jne 0x217a8
movb $0x4b, -0x1(%rbp)
jmp 0x21893
cmpl $0x3, -0xc(%rbp)
jne 0x217b7
movb $0x54, -0x1(%rbp)
jmp 0x21893
cmpl $0x9, -0xc(%rbp)
jne 0x217c6
movb $0x74, -0x1(%rbp)
jmp 0x21893
cmpl $0x7, -0xc(%rbp)
jne 0x217d5
movb $0x74, -0x1(%rbp)
jmp 0x21893
movb $0x4e, -0x1(%rbp)
jmp 0x21893
cmpl $0x9, -0x8(%rbp)
jne 0x2183b
cmpl $0x0, -0xc(%rbp)
jne 0x217f3
movb $0x61, -0x1(%rbp)
jmp 0x21893
cmpl $0x1, -0xc(%rbp)
jne 0x21802
movb $0x63, -0x1(%rbp)
jmp 0x21893
cmpl $0x2, -0xc(%rbp)
jne 0x21811
movb $0x67, -0x1(%rbp)
jmp 0x21893
cmpl $0x3, -0xc(%rbp)
jne 0x2181d
movb $0x74, -0x1(%rbp)
jmp 0x21893
cmpl $0x9, -0xc(%rbp)
jne 0x21829
movb $0x2d, -0x1(%rbp)
jmp 0x21893
cmpl $0x7, -0xc(%rbp)
jne 0x21835
movb $0x2d, -0x1(%rbp)
jmp 0x21893
movb $0x4e, -0x1(%rbp)
jmp 0x21893
cmpl $0x7, -0x8(%rbp)
jne 0x2188f
cmpl $0x0, -0xc(%rbp)
jne 0x2184d
movb $0x61, -0x1(%rbp)
jmp 0x21893
cmpl $0x1, -0xc(%rbp)
jne 0x21859
movb $0x63, -0x1(%rbp)
jmp 0x21893
cmpl $0x2, -0xc(%rbp)
jne 0x21865
movb $0x67, -0x1(%rbp)
jmp 0x21893
cmpl $0x3, -0xc(%rbp)
jne 0x21871
movb $0x74, -0x1(%rbp)
jmp 0x21893
cmpl $0x9, -0xc(%rbp)
jne 0x2187d
movb $0x2d, -0x1(%rbp)
jmp 0x21893
cmpl $0x7, -0xc(%rbp)
jne 0x21889
movb $0x2d, -0x1(%rbp)
jmp 0x21893
movb $0x4e, -0x1(%rbp)
jmp 0x21893
movb $0x4e, -0x1(%rbp)
movb -0x1(%rbp), %al
popq %rbp
retq
nopl (%rax,%rax)