// File: /workspace/github_c_makefile_star2_O0/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:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
cmpl $0x0, 0xd2f81(%rip)     # 0x107890
jne 0x34cae
movl $0x0, -0x4(%rbp)
movslq -0x4(%rbp), %rax
cmpq $0x100, %rax            # imm = 0x100
jae 0x34a24
movslq -0x4(%rbp), %rcx
leaq 0xd2f69(%rip), %rax     # 0x1078a0
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movslq -0x4(%rbp), %rcx
leaq 0xd3b87(%rip), %rax     # 0x1084d0
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movslq -0x4(%rbp), %rcx
leaq 0xd3f75(%rip), %rax     # 0x1088d0
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movslq -0x4(%rbp), %rcx
leaq 0xd3743(%rip), %rax     # 0x1080b0
movl $0x0, (%rax,%rcx,4)
callq 0x6780
movq (%rax), %rax
movslq -0x4(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x2000, %eax           # imm = 0x2000
cmpl $0x0, %eax
jne 0x349a8
callq 0x6780
movq (%rax), %rax
movslq -0x4(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
je 0x349ce
movslq -0x4(%rbp), %rcx
leaq 0xd471d(%rip), %rax     # 0x1090d0
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movslq -0x4(%rbp), %rcx
leaq 0xd430b(%rip), %rax     # 0x108cd0
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
jmp 0x34a14
movslq -0x4(%rbp), %rcx
leaq 0xd42f7(%rip), %rax     # 0x108cd0
movl $0x4, (%rax,%rcx,4)
callq 0x6780
movq (%rax), %rax
movslq -0x4(%rbp), %rcx
movzwl (%rax,%rcx,2), %ecx
andl $0x200, %ecx            # imm = 0x200
movl $0x4, %edx
movl $0xc, %eax
cmpl $0x0, %ecx
cmovnel %eax, %edx
movslq -0x4(%rbp), %rcx
leaq 0xd46bf(%rip), %rax     # 0x1090d0
movl %edx, (%rax,%rcx,4)
jmp 0x34a16
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x3491c
movl $0x0, 0xd3ff2(%rip)     # 0x108a20
movl $0x0, 0xd3c68(%rip)     # 0x1086a0
movl $0x0, 0xd2fae(%rip)     # 0x1079f0
movl $0x0, 0xd3024(%rip)     # 0x107a70
movl $0x0, 0xd37aa(%rip)     # 0x108200
movl $0x0, 0xd3820(%rip)     # 0x108280
movl $0x0, 0xd43b6(%rip)     # 0x108e20
movl $0x0, 0xd442c(%rip)     # 0x108ea0
movl $0x0, 0xd3fa6(%rip)     # 0x108a24
movl $0x0, 0xd3c1c(%rip)     # 0x1086a4
movl $0x0, 0xd2f62(%rip)     # 0x1079f4
movl $0x0, 0xd2fd8(%rip)     # 0x107a74
movl $0x0, 0xd375e(%rip)     # 0x108204
movl $0x0, 0xd37d4(%rip)     # 0x108284
movl $0x0, 0xd436a(%rip)     # 0x108e24
movl $0x0, 0xd43e0(%rip)     # 0x108ea4
movl $0x1, 0xd3f0e(%rip)     # 0x1089dc
movl $0x1, 0xd3b84(%rip)     # 0x10865c
movl $0x1, 0xd2eca(%rip)     # 0x1079ac
movl $0x1, 0xd2f40(%rip)     # 0x107a2c
movl $0x1, 0xd36c6(%rip)     # 0x1081bc
movl $0x1, 0xd373c(%rip)     # 0x10823c
movl $0x1, 0xd42d2(%rip)     # 0x108ddc
movl $0x1, 0xd4348(%rip)     # 0x108e5c
movl $0x2, 0xd3eb6(%rip)     # 0x1089d4
movl $0x2, 0xd3b2c(%rip)     # 0x108654
movl $0x2, 0xd2e72(%rip)     # 0x1079a4
movl $0x2, 0xd2ee8(%rip)     # 0x107a24
movl $0x2, 0xd366e(%rip)     # 0x1081b4
movl $0x2, 0xd36e4(%rip)     # 0x108234
movl $0x2, 0xd427a(%rip)     # 0x108dd4
movl $0x2, 0xd42f0(%rip)     # 0x108e54
movl $0x3, 0xd3e7e(%rip)     # 0x1089ec
movl $0x3, 0xd3af4(%rip)     # 0x10866c
movl $0x3, 0xd2e3a(%rip)     # 0x1079bc
movl $0x3, 0xd2eb0(%rip)     # 0x107a3c
movl $0x3, 0xd3636(%rip)     # 0x1081cc
movl $0x3, 0xd36ac(%rip)     # 0x10824c
movl $0x3, 0xd4242(%rip)     # 0x108dec
movl $0x3, 0xd42b8(%rip)     # 0x108e6c
movb $0x74, 0xd38fd(%rip)    # 0x1084b8
movb $0x74, 0xd38ee(%rip)    # 0x1084b0
movb $0x63, 0xd38f0(%rip)    # 0x1084b9
movb $0x63, 0xd38e1(%rip)    # 0x1084b1
movb $0x61, 0xd38e3(%rip)    # 0x1084ba
movb $0x61, 0xd38d4(%rip)    # 0x1084b2
movb $0x67, 0xd38d6(%rip)    # 0x1084bb
movb $0x67, 0xd38c7(%rip)    # 0x1084b3
movb $0x6e, 0xd38c9(%rip)    # 0x1084bc
movb $0x6e, 0xd38ba(%rip)    # 0x1084b4
movl $0x0, 0xd461c(%rip)     # 0x109220
movl $0x0, 0xd4616(%rip)     # 0x109224
movl $0x1, 0xd45c4(%rip)     # 0x1091dc
movl $0x2, 0xd45b2(%rip)     # 0x1091d4
movl $0x3, 0xd45c0(%rip)     # 0x1091ec
movl $0x8, 0xd466a(%rip)     # 0x1092a0
movl $0x8, 0xd4664(%rip)     # 0x1092a4
movl $0x9, 0xd4612(%rip)     # 0x10925c
movl $0xa, 0xd4600(%rip)     # 0x109254
movl $0xb, 0xd460e(%rip)     # 0x10926c
movb $0x54, 0xd486b(%rip)    # 0x1094d0
movb $0x43, 0xd4865(%rip)    # 0x1094d1
movb $0x41, 0xd485f(%rip)    # 0x1094d2
movb $0x47, 0xd4859(%rip)    # 0x1094d3
movb $0x4e, 0xd4853(%rip)    # 0x1094d4
movb $0x74, 0xd4850(%rip)    # 0x1094d8
movb $0x63, 0xd484a(%rip)    # 0x1094d9
movb $0x61, 0xd4844(%rip)    # 0x1094da
movb $0x67, 0xd483e(%rip)    # 0x1094db
movb $0x6e, 0xd4838(%rip)    # 0x1094dc
movl $0x1, 0xd2be2(%rip)     # 0x107890
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)