// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/encseq.c
// Function: gt_encseq_get_encoded_char_nospecial
GtUchar gt_encseq_get_encoded_char_nospecial(const GtEncseq *encseq,
                                             GtUword pos,
                                             GtReadmode readmode)
{
  gt_assert(encseq != NULL && pos < encseq->logicaltotallength);
  /* translate into forward coords */
  if (GT_ISDIRREVERSE(readmode))
    pos = GT_REVERSEPOS(encseq->logicaltotallength, pos);
  /* handle virtual coordinates */
  if (encseq->hasmirror) {
    if (pos > encseq->totallength) {
      /* invert coordinates and readmode */
      gt_readmode_invert(readmode);
      pos = GT_REVERSEPOS(encseq->totallength, pos - encseq->totallength - 1);
    } else if (pos == encseq->totallength) {
      return (GtUchar) GT_SEPARATOR;
    }
  }
  gt_assert(pos < encseq->totallength);
  if (encseq->twobitencoding != NULL) {
    GtUword twobits;

    twobits = EXTRACTENCODEDCHAR(encseq->twobitencoding, pos);
    return GT_ISDIRCOMPLEMENT(readmode)
             ? GT_COMPLEMENTBASE((GtUchar) twobits)
             : (GtUchar) twobits;
  }
  if (encseq->sat == GT_ACCESS_TYPE_BYTECOMPRESS) {
    gt_assert(!GT_ISDIRCOMPLEMENT(readmode));
    return delivercharViabytecompress(encseq, pos);
  }
  else {
    GtUchar cc;
    gt_assert(encseq->sat == GT_ACCESS_TYPE_DIRECTACCESS);
    cc = encseq->plainseq[pos];
    gt_assert(GT_ISNOTSPECIAL(cc));
    return GT_ISDIRCOMPLEMENT(readmode)
           ? GT_COMPLEMENTBASE(cc)
           : cc;
  }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movl %edx, 0x1c(%rsp)
cmpq $0x0, 0x28(%rsp)
je 0x1149fa
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
cmpq 0x38(%rcx), %rax
jb 0x114a32
movq 0x9f5d7(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x4965b(%rip), %rsi     # 0x15e066
leaq 0x70ca4(%rip), %rdx     # 0x1856b6
leaq 0x70dbd(%rip), %rcx     # 0x1857d6
leaq 0x70c3e(%rip), %r8      # 0x18565e
movl $0x17d, %r9d            # imm = 0x17D
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x114a34
cmpl $0x1, 0x1c(%rsp)
je 0x114a42
cmpl $0x3, 0x1c(%rsp)
jne 0x114a59
movq 0x28(%rsp), %rax
movq 0x38(%rax), %rax
subq $0x1, %rax
subq 0x20(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x28(%rsp), %rax
testb $0x1, 0x3a8(%rax)
je 0x114acb
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
cmpq 0x30(%rcx), %rax
jbe 0x114aad
movl $0x3, %eax
subl 0x1c(%rsp), %eax
movl %eax, 0x1c(%rsp)
movq 0x28(%rsp), %rax
movq 0x30(%rax), %rax
subq $0x1, %rax
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %rdx
subq 0x30(%rdx), %rcx
subq $0x1, %rcx
subq %rcx, %rax
movq %rax, 0x20(%rsp)
jmp 0x114ac9
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
cmpq 0x30(%rcx), %rax
jne 0x114ac7
movb $-0x1, 0x37(%rsp)
jmp 0x114cdc
jmp 0x114ac9
jmp 0x114acb
jmp 0x114acd
movq 0x20(%rsp), %rax
movq 0x28(%rsp), %rcx
cmpq 0x30(%rcx), %rax
jb 0x114b15
movq 0x9f4f4(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x49578(%rip), %rsi     # 0x15e066
leaq 0x74c94(%rip), %rdx     # 0x189789
leaq 0x70cda(%rip), %rcx     # 0x1857d6
leaq 0x70b5b(%rip), %r8      # 0x18565e
movl $0x18b, %r9d            # imm = 0x18B
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x114b17
movq 0x28(%rsp), %rax
cmpq $0x0, 0x280(%rax)
je 0x114b9b
movq 0x28(%rsp), %rax
movq 0x280(%rax), %rax
movq 0x20(%rsp), %rcx
shrq $0x5, %rcx
movq (%rax,%rcx,8), %rax
movq 0x20(%rsp), %rdx
andq $0x1f, %rdx
movl $0x1f, %ecx
subq %rdx, %rcx
shlq %rcx
shrq %cl, %rax
andq $0x3, %rax
movq %rax, 0x10(%rsp)
cmpl $0x2, 0x1c(%rsp)
je 0x114b6d
cmpl $0x3, 0x1c(%rsp)
jne 0x114b82
movq 0x10(%rsp), %rax
movzbl %al, %ecx
movl $0x3, %eax
subl %ecx, %eax
movl %eax, 0x8(%rsp)
jmp 0x114b8e
movq 0x10(%rsp), %rax
movzbl %al, %eax
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %eax
movb %al, 0x37(%rsp)
jmp 0x114cdc
movq 0x28(%rsp), %rax
cmpl $0x1, (%rax)
jne 0x114c07
jmp 0x114ba7
cmpl $0x2, 0x1c(%rsp)
je 0x114bb5
cmpl $0x3, 0x1c(%rsp)
jne 0x114bed
movq 0x9f41c(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x494a0(%rip), %rsi     # 0x15e066
leaq 0x70b5f(%rip), %rdx     # 0x18572c
leaq 0x70c02(%rip), %rcx     # 0x1857d6
leaq 0x70a83(%rip), %r8      # 0x18565e
movl $0x195, %r9d            # imm = 0x195
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x114bef
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0x1145e0
movb %al, 0x37(%rsp)
jmp 0x114cdc
jmp 0x114c09
movq 0x28(%rsp), %rax
cmpl $0x0, (%rax)
je 0x114c4b
movq 0x9f3be(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x49442(%rip), %rsi     # 0x15e066
leaq 0x70b1f(%rip), %rdx     # 0x18574a
leaq 0x70ba4(%rip), %rcx     # 0x1857d6
leaq 0x70a25(%rip), %r8      # 0x18565e
movl $0x19a, %r9d            # imm = 0x19A
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x114c4d
movq 0x28(%rsp), %rax
movq 0x290(%rax), %rax
movq 0x20(%rsp), %rcx
movb (%rax,%rcx), %al
movb %al, 0xf(%rsp)
movzbl 0xf(%rsp), %eax
cmpl $0xfe, %eax
jl 0x114ca9
movq 0x9f360(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x493e4(%rip), %rsi     # 0x15e066
leaq 0x70b72(%rip), %rdx     # 0x1857fb
leaq 0x70b46(%rip), %rcx     # 0x1857d6
leaq 0x709c7(%rip), %r8      # 0x18565e
movl $0x19c, %r9d            # imm = 0x19C
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x114cab
cmpl $0x2, 0x1c(%rsp)
je 0x114cb9
cmpl $0x3, 0x1c(%rsp)
jne 0x114ccb
movzbl 0xf(%rsp), %ecx
movl $0x3, %eax
subl %ecx, %eax
movl %eax, 0x4(%rsp)
jmp 0x114cd4
movzbl 0xf(%rsp), %eax
movl %eax, 0x4(%rsp)
movl 0x4(%rsp), %eax
movb %al, 0x37(%rsp)
movb 0x37(%rsp), %al
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)