// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/ft-front-generation.c
// Function: gt_front_trace_backtrace_step
static void gt_front_trace_backtrace_step(GtBacktraceFrontInfo *bti,
                                          GtFrontTrace *front_trace,
                                          GtWord diagonal,
                                          GtWord scoresum,
                                          GtUword distance,
                                          uint8_t trace,
                                          GtUword globaloffset,
                                          GtUword trimleft,
                                          unsigned int row,
                                          unsigned int lcs,
                                          GtUword lcs_sum,
                                          GtUword pathlength)
{
  gt_assert(distance > 0 && trace != 0);
  if ((trace & FT_EOP_INSERTION) && (!bti->on_polsize_suffix ||
                                     scoresum >= bti->difference_score))
  {
    gt_assert(-(GtWord) bti->ulen < diagonal);
    gt_front_trace_single_push(front_trace,
                               bti->match_score,
                               diagonal - 1,
                               scoresum - bti->difference_score,
                               row - lcs,
                               distance - 1,
                               globaloffset,
                               trimleft,
                               lcs_sum,
                               backtracepath_insertion,
                               pathlength);
    if (!bti->on_polsize_suffix)
    {
      return;
    }
  }
  if ((trace & FT_EOP_DELETION) && (!bti->on_polsize_suffix ||
                                    scoresum >= bti->difference_score))
  {
    gt_assert(diagonal < (GtWord) bti->vlen);
    gt_front_trace_single_push(front_trace,
                               bti->match_score,
                               diagonal + 1,
                               scoresum - bti->difference_score,
                               row - lcs - 1,
                               distance - 1,
                               globaloffset,
                               trimleft,
                               lcs_sum,
                               backtracepath_deletion,
                               pathlength);
    if (!bti->on_polsize_suffix)
    {
      return;
    }
  }
  if ((trace & FT_EOP_MISMATCH) && (!bti->on_polsize_suffix ||
                                    scoresum >= bti->difference_score))
  {
    gt_front_trace_single_push(front_trace,
                               bti->match_score,
                               diagonal,
                               scoresum - bti->difference_score,
                               row - lcs - 1,
                               distance - 1,
                               globaloffset,
                               trimleft,
                               lcs_sum,
                               backtracepath_mismatch,
                               pathlength);
  }
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x58, %rsp
movb %r9b, %al
movq 0x98(%rsp), %r9
movq 0x90(%rsp), %r9
movl 0x88(%rsp), %r9d
movl 0x80(%rsp), %r9d
movq 0x78(%rsp), %r9
movq 0x70(%rsp), %r9
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x30(%rsp)
movb %al, 0x2f(%rsp)
cmpq $0x0, 0x30(%rsp)
jbe 0x4c8922
movzbl 0x2f(%rsp), %eax
cmpl $0x0, %eax
jne 0x4c895a
movq 0x173677(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d6e0(%rip), %rsi     # 0x516013
leaq 0xf069b(%rip), %rdx     # 0x5b8fd5
leaq 0xf06af(%rip), %rcx     # 0x5b8ff0
leaq 0xf016b(%rip), %r8      # 0x5b8ab3
movl $0x1dc, %r9d            # imm = 0x1DC
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4c895c
movzbl 0x2f(%rsp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x4c8a63
movq 0x50(%rsp), %rax
testb $0x1, 0x20(%rax)
je 0x4c898c
movq 0x38(%rsp), %rax
movq 0x50(%rsp), %rcx
cmpq 0x18(%rcx), %rax
jl 0x4c8a63
jmp 0x4c898e
movq 0x50(%rsp), %rcx
xorl %eax, %eax
subq (%rcx), %rax
cmpq 0x40(%rsp), %rax
jl 0x4c89d7
movq 0x1735fa(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d663(%rip), %rsi     # 0x516013
leaq 0xf0657(%rip), %rdx     # 0x5b900e
leaq 0xf0632(%rip), %rcx     # 0x5b8ff0
leaq 0xf00ee(%rip), %r8      # 0x5b8ab3
movl $0x1e0, %r9d            # imm = 0x1E0
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4c89d9
movq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rax
movq 0x10(%rax), %rsi
movq 0x40(%rsp), %rdx
subq $0x1, %rdx
movq 0x38(%rsp), %rcx
movq 0x50(%rsp), %rax
subq 0x18(%rax), %rcx
movl 0x80(%rsp), %r8d
subl 0x88(%rsp), %r8d
movq 0x30(%rsp), %r9
subq $0x1, %r9
movq 0x70(%rsp), %rbx
movq 0x78(%rsp), %r11
movq 0x90(%rsp), %r10
movq 0x98(%rsp), %rax
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movl $0x2, 0x18(%rsp)
movq %rax, 0x20(%rsp)
callq 0x4c8dc0
movq 0x50(%rsp), %rax
testb $0x1, 0x20(%rax)
jne 0x4c8a61
jmp 0x4c8c13
jmp 0x4c8a63
movzbl 0x2f(%rsp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x4c8b6d
movq 0x50(%rsp), %rax
testb $0x1, 0x20(%rax)
je 0x4c8a93
movq 0x38(%rsp), %rax
movq 0x50(%rsp), %rcx
cmpq 0x18(%rcx), %rax
jl 0x4c8b6d
jmp 0x4c8a95
movq 0x40(%rsp), %rax
movq 0x50(%rsp), %rcx
cmpq 0x8(%rcx), %rax
jl 0x4c8add
movq 0x1734f4(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d55d(%rip), %rsi     # 0x516013
leaq 0xf0570(%rip), %rdx     # 0x5b902d
leaq 0xf052c(%rip), %rcx     # 0x5b8ff0
leaq 0xeffe8(%rip), %r8      # 0x5b8ab3
movl $0x1f4, %r9d            # imm = 0x1F4
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4c8adf
movq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rax
movq 0x10(%rax), %rsi
movq 0x40(%rsp), %rdx
addq $0x1, %rdx
movq 0x38(%rsp), %rcx
movq 0x50(%rsp), %rax
subq 0x18(%rax), %rcx
movl 0x80(%rsp), %r8d
subl 0x88(%rsp), %r8d
subl $0x1, %r8d
movq 0x30(%rsp), %r9
subq $0x1, %r9
movq 0x70(%rsp), %rbx
movq 0x78(%rsp), %r11
movq 0x90(%rsp), %r10
movq 0x98(%rsp), %rax
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movl $0x1, 0x18(%rsp)
movq %rax, 0x20(%rsp)
callq 0x4c8dc0
movq 0x50(%rsp), %rax
testb $0x1, 0x20(%rax)
jne 0x4c8b6b
jmp 0x4c8c13
jmp 0x4c8b6d
movzbl 0x2f(%rsp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x4c8c13
movq 0x50(%rsp), %rax
testb $0x1, 0x20(%rax)
je 0x4c8b99
movq 0x38(%rsp), %rax
movq 0x50(%rsp), %rcx
cmpq 0x18(%rcx), %rax
jl 0x4c8c13
movq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rax
movq 0x10(%rax), %rsi
movq 0x40(%rsp), %rdx
movq 0x38(%rsp), %rcx
movq 0x50(%rsp), %rax
subq 0x18(%rax), %rcx
movl 0x80(%rsp), %r8d
subl 0x88(%rsp), %r8d
subl $0x1, %r8d
movq 0x30(%rsp), %r9
subq $0x1, %r9
movq 0x70(%rsp), %rbx
movq 0x78(%rsp), %r11
movq 0x90(%rsp), %r10
movq 0x98(%rsp), %rax
xorl %ebp, %ebp
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movl $0x0, 0x18(%rsp)
movq %rax, 0x20(%rsp)
callq 0x4c8dc0
addq $0x58, %rsp
popq %rbx
popq %rbp
retq
nopw (%rax,%rax)