// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/ft-front-generation.c
// Function: gt_front_trace_single_push
static void gt_front_trace_single_push(GtFrontTrace *front_trace,
                                       GtUword match_score,
                                       GtWord diagonal,
                                       GtWord scoresum,
                                       unsigned int row,
                                       GtUword distance,
                                       GtUword globaloffset,
                                       GtUword trimleft,
                                       GtUword lcs_sum,
                                       Backtracepathflag eopcode,
                                       GtUword pathlength)
{
  GtUword localoffset;
  GtWord base_diagonal;
  GtFrontGeneration *gen_table = front_trace->gen_table;
  GtBackreftable *backref_table = front_trace->backref_table;
  GtBacktraceFrontStackelem *stack_top_ptr;

  gt_assert(trimleft >= (GtUword) gen_table[distance+1].trimleft_diff);
  trimleft -= (GtUword) gen_table[distance+1].trimleft_diff;
  base_diagonal = (GtWord) trimleft - (GtWord) distance;
  gt_assert(base_diagonal <= diagonal);
  gt_assert(diagonal < base_diagonal + (GtWord) gen_table[distance].valid);
  localoffset = (GtUword) (diagonal - base_diagonal);
  gt_assert((GtUword) gen_table[distance].valid <= globaloffset);
  globaloffset -= (GtUword) gen_table[distance].valid;
  stack_top_ptr = stack_top_ptr_get(&front_trace->backtracestack);
  stack_top_ptr->diagonal = diagonal;
  stack_top_ptr->distance = distance;
  stack_top_ptr->trace = backref_table[globaloffset + localoffset].bits;
  stack_top_ptr->row = row;
  stack_top_ptr->lcs = backref_table[globaloffset + localoffset].lcs;
  stack_top_ptr->trimleft = trimleft;
  stack_top_ptr->globaloffset = globaloffset;
  stack_top_ptr->lcs_sum = lcs_sum + stack_top_ptr->lcs;
  stack_top_ptr->scoresum = scoresum + stack_top_ptr->lcs * match_score;
  stack_top_ptr->pathlength = pathlength + 1;
  stack_top_ptr->eopcode = eopcode;
}

// Assembly:
subq $0x58, %rsp
movq 0x80(%rsp), %rax
movl 0x78(%rsp), %eax
movq 0x70(%rsp), %rax
movq 0x68(%rsp), %rax
movq 0x60(%rsp), %rax
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movl %r8d, 0x34(%rsp)
movq %r9, 0x28(%rsp)
movq 0x50(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x50(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x68(%rsp), %rax
movq 0x10(%rsp), %rcx
movq 0x28(%rsp), %rdx
movzwl 0x4(%rcx,%rdx,4), %ecx
cmpq %rcx, %rax
jae 0x4c8e69
movq 0x173168(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d1d1(%rip), %rsi     # 0x516013
leaq 0xf0202(%rip), %rdx     # 0x5b904b
leaq 0xf0235(%rip), %rcx     # 0x5b9085
leaq 0xefc5c(%rip), %r8      # 0x5b8ab3
movl $0x1b9, %r9d            # imm = 0x1B9
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4c8e6b
movq 0x10(%rsp), %rax
movq 0x28(%rsp), %rcx
movzwl 0x4(%rax,%rcx,4), %eax
movl %eax, %ecx
movq 0x68(%rsp), %rax
subq %rcx, %rax
movq %rax, 0x68(%rsp)
movq 0x68(%rsp), %rax
subq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
cmpq 0x40(%rsp), %rax
jle 0x4c8edc
movq 0x1730f5(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d15e(%rip), %rsi     # 0x516013
leaq 0xf01e4(%rip), %rdx     # 0x5b90a0
leaq 0xf01c2(%rip), %rcx     # 0x5b9085
leaq 0xefbe9(%rip), %r8      # 0x5b8ab3
movl $0x1bc, %r9d            # imm = 0x1BC
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4c8ede
jmp 0x4c8ee0
movq 0x40(%rsp), %rax
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %rdx
movq 0x28(%rsp), %rsi
movzwl 0x2(%rdx,%rsi,4), %edx
addq %rdx, %rcx
cmpq %rcx, %rax
jl 0x4c8f39
movq 0x173098(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d101(%rip), %rsi     # 0x516013
leaq 0xf01a1(%rip), %rdx     # 0x5b90ba
leaq 0xf0165(%rip), %rcx     # 0x5b9085
leaq 0xefb8c(%rip), %r8      # 0x5b8ab3
movl $0x1bd, %r9d            # imm = 0x1BD
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4c8f3b
movq 0x40(%rsp), %rax
subq 0x18(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x10(%rsp), %rax
movq 0x28(%rsp), %rcx
movzwl 0x2(%rax,%rcx,4), %eax
cmpq 0x60(%rsp), %rax
jbe 0x4c8f98
movq 0x173039(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x4d0a2(%rip), %rsi     # 0x516013
leaq 0xf0180(%rip), %rdx     # 0x5b90f8
leaq 0xf0106(%rip), %rcx     # 0x5b9085
leaq 0xefb2d(%rip), %r8      # 0x5b8ab3
movl $0x1bf, %r9d            # imm = 0x1BF
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4c8f9a
movq 0x10(%rsp), %rax
movq 0x28(%rsp), %rcx
movzwl 0x2(%rax,%rcx,4), %eax
movl %eax, %ecx
movq 0x60(%rsp), %rax
subq %rcx, %rax
movq %rax, 0x60(%rsp)
movq 0x50(%rsp), %rdi
addq $0x30, %rdi
callq 0x4c87a0
movq %rax, (%rsp)
movq 0x40(%rsp), %rcx
movq (%rsp), %rax
movq %rcx, (%rax)
movq 0x28(%rsp), %rcx
movq (%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x8(%rsp), %rax
movq 0x60(%rsp), %rcx
addq 0x20(%rsp), %rcx
movl (%rax,%rcx,4), %eax
andl $0x7, %eax
movb %al, %cl
movq (%rsp), %rax
movb %cl, 0x40(%rax)
movl 0x34(%rsp), %ecx
movq (%rsp), %rax
movl %ecx, 0x38(%rax)
movq 0x8(%rsp), %rax
movq 0x60(%rsp), %rcx
addq 0x20(%rsp), %rcx
movl (%rax,%rcx,4), %ecx
shrl $0x3, %ecx
movq (%rsp), %rax
movl %ecx, 0x3c(%rax)
movq 0x68(%rsp), %rcx
movq (%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x60(%rsp), %rcx
movq (%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x70(%rsp), %rcx
movq (%rsp), %rax
movl 0x3c(%rax), %eax
addq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x28(%rax)
movq 0x38(%rsp), %rcx
movq (%rsp), %rax
movl 0x3c(%rax), %eax
imulq 0x48(%rsp), %rax
addq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x80(%rsp), %rcx
addq $0x1, %rcx
movq (%rsp), %rax
movq %rcx, 0x30(%rax)
movl 0x78(%rsp), %eax
movb %al, %cl
movq (%rsp), %rax
movb %cl, 0x41(%rax)
addq $0x58, %rsp
retq
nopl (%rax)