// File: /workspace/github_c_makefile_star2_O3/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, 0x9b2de(%rip)     # 0xc1450
jne 0x263be
pushq %rax
callq 0x6790
movq (%rax), %rax
xorl %ecx, %ecx
leaq 0x9b2d6(%rip), %rdx     # 0xc1460
pcmpeqd %xmm0, %xmm0
leaq 0x9befb(%rip), %rsi     # 0xc2090
leaq 0x9c2f4(%rip), %rdi     # 0xc2490
leaq 0x9bacd(%rip), %r8      # 0xc1c70
pxor %xmm1, %xmm1
movdqa 0x6a4d1(%rip), %xmm2    # 0x90680
movdqa 0x6a4d9(%rip), %xmm3    # 0x90690
movdqa 0x68a11(%rip), %xmm4    # 0x8ebd0
movdqa 0x6a4d9(%rip), %xmm5    # 0x906a0
leaq 0x9c6c2(%rip), %r9      # 0xc2890
leaq 0x9cabb(%rip), %r10     # 0xc2c90
movdqa %xmm0, (%rcx,%rdx)
movdqa %xmm0, (%rcx,%rsi)
movdqa %xmm0, (%rcx,%rdi)
movdqa %xmm1, (%rcx,%r8)
movq (%rax), %xmm6
punpcklwd %xmm6, %xmm6    # xmm6 = xmm6[0,0,1,1,2,2,3,3]
movdqa %xmm6, %xmm7
pand %xmm2, %xmm7
pcmpeqw %xmm1, %xmm7
pand %xmm3, %xmm6
pcmpeqw %xmm1, %xmm6
movdqa %xmm6, %xmm8
pand %xmm4, %xmm8
pandn %xmm5, %xmm6
por %xmm8, %xmm6
movdqa %xmm7, %xmm8
pxor %xmm0, %xmm8
pand %xmm7, %xmm6
pand %xmm4, %xmm7
por %xmm8, %xmm7
por %xmm8, %xmm6
movdqa %xmm7, (%rcx,%r9)
movdqa %xmm6, (%rcx,%r10)
addq $0x10, %rcx
addq $0x8, %rax
cmpq $0x400, %rcx            # imm = 0x400
jne 0x261d5
xorl %eax, %eax
movq %rax, 0x9c385(%rip)     # 0xc25e0
movq %rax, 0x9bffe(%rip)     # 0xc2260
movq %rax, 0x9b347(%rip)     # 0xc15b0
movq %rax, 0x9b3c0(%rip)     # 0xc1630
movq %rax, 0x9bb49(%rip)     # 0xc1dc0
movq %rax, 0x9bbc2(%rip)     # 0xc1e40
movq %rax, 0x9c75b(%rip)     # 0xc29e0
movq %rax, 0x9c7d4(%rip)     # 0xc2a60
movl $0x1, %ecx
movl %ecx, 0x9c305(%rip)     # 0xc259c
movl %ecx, 0x9bf7f(%rip)     # 0xc221c
movl %ecx, 0x9b2c9(%rip)     # 0xc156c
movl %ecx, 0x9b343(%rip)     # 0xc15ec
movl %ecx, 0x9bacd(%rip)     # 0xc1d7c
movl %ecx, 0x9bb47(%rip)     # 0xc1dfc
movl %ecx, 0x9c6e1(%rip)     # 0xc299c
movl %ecx, 0x9c75b(%rip)     # 0xc2a1c
movl $0x2, %edx
movl %edx, 0x9c2c8(%rip)     # 0xc2594
movl %edx, 0x9bf42(%rip)     # 0xc2214
movl %edx, 0x9b28c(%rip)     # 0xc1564
movl %edx, 0x9b306(%rip)     # 0xc15e4
movl %edx, 0x9ba90(%rip)     # 0xc1d74
movl %edx, 0x9bb0a(%rip)     # 0xc1df4
movl %edx, 0x9c6a4(%rip)     # 0xc2994
movl %edx, 0x9c71e(%rip)     # 0xc2a14
movl $0x3, %esi
movl %esi, 0x9c2ab(%rip)     # 0xc25ac
movl %esi, 0x9bf25(%rip)     # 0xc222c
movl %esi, 0x9b26f(%rip)     # 0xc157c
movl %esi, 0x9b2e9(%rip)     # 0xc15fc
movl %esi, 0x9ba73(%rip)     # 0xc1d8c
movl %esi, 0x9baed(%rip)     # 0xc1e0c
movl %esi, 0x9c687(%rip)     # 0xc29ac
movl %esi, 0x9c701(%rip)     # 0xc2a2c
movl $0x67616374, %edi       # imm = 0x67616374
movl %edi, 0x9bd42(%rip)     # 0xc2078
movl %edi, 0x9bd34(%rip)     # 0xc2070
movb $0x6e, %r8b
movb %r8b, 0x9bd36(%rip)     # 0xc207c
movb %r8b, 0x9bd27(%rip)     # 0xc2074
movq %rax, 0x9ca8c(%rip)     # 0xc2de0
movl %ecx, 0x9ca42(%rip)     # 0xc2d9c
movl %edx, 0x9ca34(%rip)     # 0xc2d94
movl %esi, 0x9ca46(%rip)     # 0xc2dac
movabsq $0x800000008, %rax      # imm = 0x800000008
movq %rax, 0x9cae9(%rip)     # 0xc2e60
movl $0x9, 0x9ca9b(%rip)     # 0xc2e1c
movl $0xa, 0x9ca89(%rip)     # 0xc2e14
movl $0xb, 0x9ca97(%rip)     # 0xc2e2c
movl $0x47414354, 0x9ccf1(%rip) # imm = 0x47414354
movb $0x4e, 0x9ccee(%rip)    # 0xc3094
movl %edi, 0x9ccec(%rip)     # 0xc3098
movb %r8b, 0x9cce9(%rip)     # 0xc309c
movb $0x1, 0x9b096(%rip)     # 0xc1450
addq $0x8, %rsp
retq