// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/wtree_encseq.c
// Function: gt_wtree_encseq_access
static GtWtreeSymbol gt_wtree_encseq_access(GtWtree *wtree,
                                            GtUword pos)
{
  unsigned int alpha_start = 0,
               alpha_end;
  GtUword node_start = 0,
          node_size;
  GtWtreeEncseq *we;
  gt_assert(wtree != NULL);

  we = gt_wtree_encseq_cast(wtree);
  gt_assert(pos < wtree->members->length);

  alpha_end = we->alpha_size - 1;
  node_size = wtree->members->length;

  return gt_wtree_encseq_access_rec(we, pos, node_start, node_size, alpha_start,
                                    alpha_end);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
testq %rdi, %rdi
je 0x12c61e
movq %rsi, %r13
movq %rdi, %rbx
callq 0x12c432
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12c0db
movq %rax, %r14
movq 0x8(%rbx), %rax
movq (%rax), %r15
cmpq %r13, %r15
jbe 0x12c648
movl 0x58(%r14), %ebx
decl %ebx
xorl %ecx, %ecx
movq $0x0, 0x8(%rsp)
cmpq %r15, %r13
jae 0x12c5e8
cmpl %ebx, 0x8(%rsp)
jae 0x12c5d5
movq 0x38(%r14), %rdi
addq %rcx, %r13
movq %r13, 0x20(%rsp)
movq %r13, %rsi
movq %rcx, 0x10(%rsp)
callq 0xbf3df
movq 0x10(%rsp), %rcx
movl %eax, 0x18(%rsp)
testq %rcx, %rcx
je 0x12c510
movq 0x38(%r14), %rdi
leaq -0x1(%rcx), %r12
movq %r12, %rsi
callq 0xbf6f8
movq %rax, %r13
jmp 0x12c517
pushq $-0x1
popq %r12
xorl %r13d, %r13d
movq 0x8(%rsp), %rax
leal (%rbx,%rax), %ebp
shrl %ebp
movq 0x38(%r14), %rdi
addq %r12, %r15
movq %r15, %rsi
callq 0xbf6f8
movq %r12, %rsi
movq %rax, %r12
subq %r13, %r12
cmpl $0x0, 0x18(%rsp)
jne 0x12c56d
movq 0x38(%r14), %rdi
movq 0x20(%rsp), %rsi
callq 0xbf6f8
movq 0x8(%r14), %rcx
movq 0x10(%rsp), %rdx
addq (%rcx), %rdx
movq %rdx, %rcx
notq %r13
addq %rax, %r13
movq %r12, %r15
movl %ebp, %ebx
jmp 0x12c4c1
movq %rbx, 0x18(%rsp)
cmpq $0x0, 0x10(%rsp)
je 0x12c588
movq 0x38(%r14), %rdi
callq 0xbf619
movq %rax, %rbx
jmp 0x12c58a
xorl %ebx, %ebx
movq 0x38(%r14), %rdi
movq 0x20(%rsp), %rsi
callq 0xbf619
movq %rbx, %r13
notq %r13
addq %rax, %r13
incl %ebp
movq 0x38(%r14), %rdi
movq %r15, %rsi
callq 0xbf619
movq %rax, %r15
subq %rbx, %r15
movq 0x8(%r14), %rax
addq 0x10(%rsp), %r12
addq (%rax), %r12
movq %r12, %rcx
movl %ebp, %eax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rbx
jmp 0x12c4c1
movl 0x8(%rsp), %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x30b979(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1b8a1a(%rip), %rsi    # 0x2e5013
leaq 0x21070b(%rip), %rdx    # 0x33cd0b
leaq 0x210714(%rip), %rcx    # 0x33cd1b
leaq 0x2106ad(%rip), %r8     # 0x33ccbb
pushq $0x4a
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x30b943(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1b89e4(%rip), %rsi    # 0x2e5013
leaq 0x2105f5(%rip), %rdx    # 0x33cc2b
leaq 0x21069a(%rip), %rcx    # 0x33ccd7
leaq 0x210677(%rip), %r8     # 0x33ccbb
pushq $0x7a
jmp 0x12c610
movq 0x30b919(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1b89ba(%rip), %rsi    # 0x2e5013
leaq 0x21068e(%rip), %rdx    # 0x33ccee
leaq 0x210670(%rip), %rcx    # 0x33ccd7
leaq 0x21064d(%rip), %r8     # 0x33ccbb
pushq $0x7d
jmp 0x12c610