// File: /workspace/github_c_makefile_star2_O1/icebert[P]pblat/lib/dnautil.c
// Function: initNtVal
static void initNtVal()
{
if (!inittedNtVal)
    {
    int i;
    for (i=0; i<ArraySize(ntVal); i++)
        {
	ntValUpper[i] = ntValLower[i] = ntVal[i] = -1;
        ntValNoN[i] = T_BASE_VAL;
	if (isspace(i) || isdigit(i))
	    ntVal5[i] = ntValMasked[i] = -1;
	else
            {
	    ntVal5[i] = N_BASE_VAL;
	    ntValMasked[i] = (islower(i) ? (N_BASE_VAL|MASKED_BASE_BIT) : N_BASE_VAL);
            }
        }
    ntVal5['t'] = ntVal5['T'] = ntValNoN['t'] = ntValNoN['T'] = ntVal['t'] = ntVal['T'] = 
    	ntValLower['t'] = ntValUpper['T'] = T_BASE_VAL;
    ntVal5['u'] = ntVal5['U'] = ntValNoN['u'] = ntValNoN['U'] = ntVal['u'] = ntVal['U'] = 
    	ntValLower['u'] = ntValUpper['U'] = U_BASE_VAL;
    ntVal5['c'] = ntVal5['C'] = ntValNoN['c'] = ntValNoN['C'] = ntVal['c'] = ntVal['C'] = 
    	ntValLower['c'] = ntValUpper['C'] = C_BASE_VAL;
    ntVal5['a'] = ntVal5['A'] = ntValNoN['a'] = ntValNoN['A'] = ntVal['a'] = ntVal['A'] = 
    	ntValLower['a'] = ntValUpper['A'] = A_BASE_VAL;
    ntVal5['g'] = ntVal5['G'] = ntValNoN['g'] = ntValNoN['G'] = ntVal['g'] = ntVal['G'] = 
    	ntValLower['g'] = ntValUpper['G'] = G_BASE_VAL;

    valToNt[T_BASE_VAL] = valToNt[T_BASE_VAL|MASKED_BASE_BIT] = 't';
    valToNt[C_BASE_VAL] = valToNt[C_BASE_VAL|MASKED_BASE_BIT] = 'c';
    valToNt[A_BASE_VAL] = valToNt[A_BASE_VAL|MASKED_BASE_BIT] = 'a';
    valToNt[G_BASE_VAL] = valToNt[G_BASE_VAL|MASKED_BASE_BIT] = 'g';
    valToNt[N_BASE_VAL] = valToNt[N_BASE_VAL|MASKED_BASE_BIT] = 'n';

    /* masked values */
    ntValMasked['T'] = T_BASE_VAL;
    ntValMasked['U'] = U_BASE_VAL;
    ntValMasked['C'] = C_BASE_VAL;
    ntValMasked['A'] = A_BASE_VAL;
    ntValMasked['G'] = G_BASE_VAL;

    ntValMasked['t'] = T_BASE_VAL|MASKED_BASE_BIT;
    ntValMasked['u'] = U_BASE_VAL|MASKED_BASE_BIT;
    ntValMasked['c'] = C_BASE_VAL|MASKED_BASE_BIT;
    ntValMasked['a'] = A_BASE_VAL|MASKED_BASE_BIT;
    ntValMasked['g'] = G_BASE_VAL|MASKED_BASE_BIT;

    valToNtMasked[T_BASE_VAL] = 'T';
    valToNtMasked[C_BASE_VAL] = 'C';
    valToNtMasked[A_BASE_VAL] = 'A';
    valToNtMasked[G_BASE_VAL] = 'G';
    valToNtMasked[N_BASE_VAL] = 'N';

    valToNtMasked[T_BASE_VAL|MASKED_BASE_BIT] = 't';
    valToNtMasked[C_BASE_VAL|MASKED_BASE_BIT] = 'c';
    valToNtMasked[A_BASE_VAL|MASKED_BASE_BIT] = 'a';
    valToNtMasked[G_BASE_VAL|MASKED_BASE_BIT] = 'g';
    valToNtMasked[N_BASE_VAL|MASKED_BASE_BIT] = 'n';

    inittedNtVal = TRUE;
    }
}

// Assembly:
cmpb $0x0, 0x9b5c1(%rip)     # 0xc1450
jne 0x260b0
pushq %r14
pushq %rbx
pushq %rax
callq 0x6790
movq (%rax), %rax
xorl %ecx, %ecx
leaq 0x9b5b6(%rip), %rdx     # 0xc1460
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
leaq 0x9c1da(%rip), %rdi     # 0xc2090
leaq 0x9c5d3(%rip), %r8      # 0xc2490
leaq 0x9bdac(%rip), %r9      # 0xc1c70
leaq 0x9c9c5(%rip), %r10     # 0xc2890
leaq 0x9cdbe(%rip), %r11     # 0xc2c90
movl %esi, (%rcx,%rdx)
movl %esi, (%rcx,%rdi)
movl %esi, (%rcx,%r8)
movl $0x0, (%rcx,%r9)
movzwl (%rax), %ebx
testl $0x2800, %ebx           # imm = 0x2800
je 0x25f01
movl $0xffffffff, (%rcx,%r11) # imm = 0xFFFFFFFF
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq %r10, %r14
jmp 0x25f15
movl $0x4, (%rcx,%r10)
shrl $0x6, %ebx
andl $0x8, %ebx
orl $0x4, %ebx
movq %r11, %r14
movl %ebx, (%r14,%rcx)
addq $0x4, %rcx
addq $0x2, %rax
cmpq $0x400, %rcx            # imm = 0x400
jne 0x25ed2
xorl %eax, %eax
movq %rax, 0x9c6ad(%rip)     # 0xc25e0
movq %rax, 0x9c326(%rip)     # 0xc2260
movq %rax, 0x9b66f(%rip)     # 0xc15b0
movq %rax, 0x9b6e8(%rip)     # 0xc1630
movq %rax, 0x9be71(%rip)     # 0xc1dc0
movq %rax, 0x9beea(%rip)     # 0xc1e40
movq %rax, 0x9ca83(%rip)     # 0xc29e0
movq %rax, 0x9cafc(%rip)     # 0xc2a60
movl $0x1, %ecx
movl %ecx, 0x9c62d(%rip)     # 0xc259c
movl %ecx, 0x9c2a7(%rip)     # 0xc221c
movl %ecx, 0x9b5f1(%rip)     # 0xc156c
movl %ecx, 0x9b66b(%rip)     # 0xc15ec
movl %ecx, 0x9bdf5(%rip)     # 0xc1d7c
movl %ecx, 0x9be6f(%rip)     # 0xc1dfc
movl %ecx, 0x9ca09(%rip)     # 0xc299c
movl %ecx, 0x9ca83(%rip)     # 0xc2a1c
movl $0x2, %edx
movl %edx, 0x9c5f0(%rip)     # 0xc2594
movl %edx, 0x9c26a(%rip)     # 0xc2214
movl %edx, 0x9b5b4(%rip)     # 0xc1564
movl %edx, 0x9b62e(%rip)     # 0xc15e4
movl %edx, 0x9bdb8(%rip)     # 0xc1d74
movl %edx, 0x9be32(%rip)     # 0xc1df4
movl %edx, 0x9c9cc(%rip)     # 0xc2994
movl %edx, 0x9ca46(%rip)     # 0xc2a14
movl $0x3, %esi
movl %esi, 0x9c5d3(%rip)     # 0xc25ac
movl %esi, 0x9c24d(%rip)     # 0xc222c
movl %esi, 0x9b597(%rip)     # 0xc157c
movl %esi, 0x9b611(%rip)     # 0xc15fc
movl %esi, 0x9bd9b(%rip)     # 0xc1d8c
movl %esi, 0x9be15(%rip)     # 0xc1e0c
movl %esi, 0x9c9af(%rip)     # 0xc29ac
movl %esi, 0x9ca29(%rip)     # 0xc2a2c
movw $0x6374, %di            # imm = 0x6374
movw %di, 0x9c06a(%rip)      # 0xc2078
movw %di, 0x9c05b(%rip)      # 0xc2070
movb $0x61, 0x9c05e(%rip)    # 0xc207a
movw $0x6761, 0x9c04d(%rip)  # imm = 0x6761
movw $0x6e67, 0x9c04d(%rip)  # imm = 0x6E67
movb $0x6e, %dil
movb %dil, 0x9c03c(%rip)     # 0xc2074
movq %rax, 0x9cda1(%rip)     # 0xc2de0
movl %ecx, 0x9cd57(%rip)     # 0xc2d9c
movl %edx, 0x9cd49(%rip)     # 0xc2d94
movl %esi, 0x9cd5b(%rip)     # 0xc2dac
movabsq $0x800000008, %rax      # imm = 0x800000008
movq %rax, 0x9cdfe(%rip)     # 0xc2e60
movl $0x9, 0x9cdb0(%rip)     # 0xc2e1c
movl $0xa, 0x9cd9e(%rip)     # 0xc2e14
movl $0xb, 0x9cdac(%rip)     # 0xc2e2c
movl $0x47414354, 0x9d006(%rip) # imm = 0x47414354
movb $0x4e, 0x9d003(%rip)    # 0xc3094
movl $0x67616374, 0x9cffd(%rip) # imm = 0x67616374
movb %dil, 0x9cffa(%rip)     # 0xc309c
movb $0x1, 0x9b3a7(%rip)     # 0xc1450
addq $0x8, %rsp
popq %rbx
popq %r14
retq