// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/idx-limdfs.c
// Function: tracethestackelems
static void tracethestackelems(GtIdxMatch *match,
                               Limdfsresources *limdfsresources,
                               GtUword pprefixlen,
                               const Lcpintervalwithinfo *runptr)
{
  GtUword previous = 0;

  gt_assert(runptr != NULL);
  gt_reinitLocaliTracebackstate(limdfsresources->dfsconstinfo,
                                runptr->lcpitv.offset,
                                pprefixlen);
  do
  {
    if (previous > 0)
    {
      gt_assert(previous - 1 == runptr->lcpitv.offset);
    }
    previous = runptr->lcpitv.offset;
    gt_assert(previous > 0);
    gt_assert(runptr->previousstackelem <
              limdfsresources->stack.nextfreeLcpintervalwithinfo);
    gt_processelemLocaliTracebackstate(limdfsresources->dfsconstinfo,
                                    runptr->lcpitv.inchar,runptr->aliasstate);
    runptr = limdfsresources->stack.spaceLcpintervalwithinfo +
             runptr->previousstackelem;
  } while (runptr->lcpitv.offset > 0);
  match->alignment
    = gt_completealignmentfromLocaliTracebackstate(&match->querylen,
                                                limdfsresources->dfsconstinfo);
  gt_assert(pprefixlen >= match->querylen);
  match->querystartpos = pprefixlen - match->querylen;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq $0x0, (%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x257a10
movq 0x3e45c1(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2be62a(%rip), %rsi    # 0x516013
leaq 0x322ad4(%rip), %rdx    # 0x57a4c4
leaq 0x322adc(%rip), %rcx    # 0x57a4d3
leaq 0x322593(%rip), %r8     # 0x579f91
movl $0x129, %r9d            # imm = 0x129
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x257a12
movq 0x18(%rsp), %rax
movq (%rax), %rdi
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x10(%rsp), %rdx
callq 0x258e20
cmpq $0x0, (%rsp)
jbe 0x257a83
jmp 0x257a35
movq (%rsp), %rax
subq $0x1, %rax
movq 0x8(%rsp), %rcx
cmpq (%rcx), %rax
je 0x257a7f
movq 0x3e4552(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2be5bb(%rip), %rsi    # 0x516013
leaq 0x322a87(%rip), %rdx    # 0x57a4e6
leaq 0x322a6d(%rip), %rcx    # 0x57a4d3
leaq 0x322524(%rip), %r8     # 0x579f91
movl $0x131, %r9d            # imm = 0x131
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x257a81
jmp 0x257a83
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq %rax, (%rsp)
cmpq $0x0, (%rsp)
ja 0x257ace
movq 0x3e4503(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2be56c(%rip), %rsi    # 0x516013
leaq 0x322a5e(%rip), %rdx    # 0x57a50c
leaq 0x322a1e(%rip), %rcx    # 0x57a4d3
leaq 0x3224d5(%rip), %r8     # 0x579f91
movl $0x134, %r9d            # imm = 0x134
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x257ad0
jmp 0x257ad2
movq 0x8(%rsp), %rax
movq 0x58(%rax), %rax
movq 0x18(%rsp), %rcx
cmpq 0x30(%rcx), %rax
jb 0x257b1e
movq 0x3e44b3(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2be51c(%rip), %rsi    # 0x516013
leaq 0x322a1b(%rip), %rdx    # 0x57a519
leaq 0x3229ce(%rip), %rcx    # 0x57a4d3
leaq 0x322485(%rip), %r8     # 0x579f91
movl $0x136, %r9d            # imm = 0x136
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x257b20
movq 0x18(%rsp), %rax
movq (%rax), %rdi
movq 0x8(%rsp), %rax
movb 0x20(%rax), %al
movq 0x8(%rsp), %rdx
addq $0x28, %rdx
movzbl %al, %esi
callq 0x258ec0
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x8(%rsp), %rcx
imulq $0x60, 0x58(%rcx), %rcx
addq %rcx, %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
cmpq $0x0, (%rax)
ja 0x257a2c
movq 0x20(%rsp), %rdi
addq $0x30, %rdi
movq 0x18(%rsp), %rax
movq (%rax), %rsi
callq 0x259190
movq %rax, %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x40(%rax)
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
cmpq 0x30(%rcx), %rax
jae 0x257bd5
movq 0x3e43fc(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2be465(%rip), %rsi    # 0x516013
leaq 0x3229b3(%rip), %rdx    # 0x57a568
leaq 0x322917(%rip), %rcx    # 0x57a4d3
leaq 0x3223ce(%rip), %r8     # 0x579f91
movl $0x13f, %r9d            # imm = 0x13F
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x257bd7
movq 0x10(%rsp), %rcx
movq 0x20(%rsp), %rax
subq 0x30(%rax), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x28(%rax)
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)