// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/rdj-strgraph.c
// Function: gt_strgraph_traverse_simple_path
static inline void gt_strgraph_traverse_simple_path(GtStrgraph *strgraph,
    GtStrgraphVnum i, GtStrgraphVEdgenum j, void(*process_edge)
    (GtStrgraphVnum, GtStrgraphLength, void*), void *data)
{
  GtStrgraphVnum from, to;
  GtStrgraphVEdgenum from_to;

  from = i;
  from_to = j;
  to = GT_STRGRAPH_EDGE_DEST(strgraph, i, j);

  while (GT_STRGRAPH_V_IS_INTERNAL(strgraph, to) && i != to &&
      GT_STRGRAPH_V_MARK(strgraph, to) != GT_STRGRAPH_V_ELIMINATED)
  {
    if (process_edge != NULL)
      process_edge(to, GT_STRGRAPH_EDGE_LEN(strgraph, from, from_to), data);
    GT_STRGRAPH_V_SET_MARK(strgraph, to, GT_STRGRAPH_V_ELIMINATED);
    GT_STRGRAPH_V_SET_MARK(strgraph, GT_STRGRAPH_V_OTHER(to),
        GT_STRGRAPH_V_ELIMINATED);
    from = to;
    from_to = gt_strgraph_find_only_edge(strgraph, from);
    to = GT_STRGRAPH_EDGE_DEST(strgraph, from, from_to);
  }
  if (process_edge != NULL)
    process_edge(to, GT_STRGRAPH_EDGE_LEN(strgraph, from, from_to), data);
}

// Assembly:
subq $0xe8, %rsp
movq %rdi, 0xe0(%rsp)
movq %rsi, 0xd8(%rsp)
movq %rdx, 0xd0(%rsp)
movq %rcx, 0xc8(%rsp)
movq %r8, 0xc0(%rsp)
movq 0xd8(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq 0xd0(%rsp), %rax
movq %rax, 0xa8(%rsp)
movq 0xe0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x88(%rsp)
movq 0xe0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xd8(%rsp), %rsi
callq 0x290730
movq 0x88(%rsp), %rdi
movq %rax, %rsi
addq 0xd0(%rsp), %rsi
callq 0x290730
movq %rax, 0x98(%rsp)
movq 0xe0(%rsp), %rax
movq 0x80(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl $0x1, %eax
shll %cl, %eax
subl $0x1, %eax
movl %eax, 0x94(%rsp)
movq 0xe0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl 0x94(%rsp), %edx
movl %eax, %ecx
movq 0x98(%rsp), %rax
addl $0x1, %ecx
shll %cl, %edx
movl %edx, %ecx
movslq %ecx, %rcx
andq %rcx, %rax
movq %rax, 0xa0(%rsp)
movq 0xe0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movq 0xa0(%rsp), %rax
addl $0x1, %ecx
movl %ecx, %ecx
shrq %cl, %rax
movq %rax, 0xb0(%rsp)
movq 0xe0(%rsp), %rax
movq 0x70(%rax), %rdi
movq 0xb0(%rsp), %rsi
callq 0x290730
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x1, %rcx
movb %al, 0x87(%rsp)
jne 0x29f156
movq 0xe0(%rsp), %rax
movq 0x70(%rax), %rax
movq %rax, 0x78(%rsp)
movq 0xb0(%rsp), %rax
andq $0x1, %rax
cmpq $0x1, %rax
jne 0x29f0e3
movq 0xb0(%rsp), %rax
subq $0x1, %rax
movq %rax, 0x70(%rsp)
jmp 0x29f0f4
movq 0xb0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq 0x70(%rsp), %rsi
callq 0x290730
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x1, %rcx
movb %al, 0x87(%rsp)
jne 0x29f156
movq 0xd8(%rsp), %rcx
xorl %eax, %eax
cmpq 0xb0(%rsp), %rcx
movb %al, 0x87(%rsp)
je 0x29f156
movq 0xe0(%rsp), %rax
movq 0x58(%rax), %rdi
movq 0xb0(%rsp), %rsi
callq 0x290730
cmpl $0x2, %eax
setne %al
movb %al, 0x87(%rsp)
movb 0x87(%rsp), %al
testb $0x1, %al
jne 0x29f166
jmp 0x29f38e
cmpq $0x0, 0xc8(%rsp)
je 0x29f21c
movq 0xc8(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0xe0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x50(%rsp)
movq 0xe0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xb8(%rsp), %rsi
callq 0x290730
movq 0x50(%rsp), %rdi
movq %rax, %rsi
addq 0xa8(%rsp), %rsi
callq 0x290730
movq %rax, 0x58(%rsp)
movq 0xe0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdi
movl %eax, %ecx
movq 0x68(%rsp), %rax
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
subl $0x1, %ecx
shll %ecx
movslq %ecx, %rcx
andq %rcx, %rsi
shrq %rsi
movq 0xc0(%rsp), %rdx
callq *%rax
movq 0xe0(%rsp), %rax
movq 0x58(%rax), %rdi
movq 0xb0(%rsp), %rsi
movl $0x2, %edx
callq 0x2907d0
movq 0xe0(%rsp), %rax
movq 0x58(%rax), %rax
movq %rax, 0x48(%rsp)
movq 0xb0(%rsp), %rax
andq $0x1, %rax
cmpq $0x1, %rax
jne 0x29f270
movq 0xb0(%rsp), %rax
subq $0x1, %rax
movq %rax, 0x40(%rsp)
jmp 0x29f281
movq 0xb0(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rsi
movl $0x2, %edx
callq 0x2907d0
movq 0xb0(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq 0xe0(%rsp), %rdi
movq 0xb8(%rsp), %rsi
callq 0x296260
movq %rax, 0xa8(%rsp)
movq 0xe0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0xe0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xb8(%rsp), %rsi
callq 0x290730
movq 0x20(%rsp), %rdi
movq %rax, %rsi
addq 0xa8(%rsp), %rsi
callq 0x290730
movq %rax, 0x30(%rsp)
movq 0xe0(%rsp), %rax
movq 0x80(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movl $0x1, %eax
shll %cl, %eax
subl $0x1, %eax
movl %eax, 0x2c(%rsp)
movq 0xe0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl 0x2c(%rsp), %edx
movl %eax, %ecx
movq 0x30(%rsp), %rax
addl $0x1, %ecx
shll %cl, %edx
movl %edx, %ecx
movslq %ecx, %rcx
andq %rcx, %rax
movq %rax, 0x38(%rsp)
movq 0xe0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movl %eax, %ecx
movq 0x38(%rsp), %rax
addl $0x1, %ecx
movl %ecx, %ecx
shrq %cl, %rax
movq %rax, 0xb0(%rsp)
jmp 0x29f07e
cmpq $0x0, 0xc8(%rsp)
je 0x29f442
movq 0xc8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0xe0(%rsp), %rax
movq 0x88(%rax), %rax
movq %rax, (%rsp)
movq 0xe0(%rsp), %rax
movq 0x60(%rax), %rdi
movq 0xb8(%rsp), %rsi
callq 0x290730
movq (%rsp), %rdi
movq %rax, %rsi
addq 0xa8(%rsp), %rsi
callq 0x290730
movq %rax, 0x8(%rsp)
movq 0xe0(%rsp), %rax
movq 0x90(%rax), %rdi
callq 0x46ec80
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdi
movl %eax, %ecx
movq 0x18(%rsp), %rax
movl $0x1, %edx
shll %cl, %edx
movl %edx, %ecx
subl $0x1, %ecx
shll %ecx
movslq %ecx, %rcx
andq %rcx, %rsi
shrq %rsi
movq 0xc0(%rsp), %rdx
callq *%rax
addq $0xe8, %rsp
retq
nopw (%rax,%rax)