// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/ft-front-prune.c
// Function: front_second_inplace
static GtUword front_second_inplace(GtLongestCommonFunc ft_longest_common,
                                    GtFtFrontvalue *midfront,
                                    GtFtFrontvalue *lowfront,
                                    GtUword max_history,
                                    GtFtSequenceObject *useq,
                                    GtFtSequenceObject *vseq,
                                    GtFtTrimstat *trimstat)
{
  GtUword alignedlen, maxalignedlen;

  *(lowfront+1) = *(lowfront+2) = *lowfront;
  lowfront->row++;
  lowfront->backreference = FT_EOP_DELETION;
  GT_UPDATE_MATCH_HISTORY(lowfront);
  front_prune_add_matches(ft_longest_common,midfront,lowfront,
                          max_history,useq,vseq,
                          trimstat);
  maxalignedlen = GT_MULT2(lowfront->row) + GT_FRONT_DIAGONAL(lowfront);

  (lowfront+1)->row++;
  (lowfront+1)->backreference = FT_EOP_MISMATCH;
  (lowfront+1)->max_mismatches++;
  GT_UPDATE_MATCH_HISTORY(lowfront+1);
  front_prune_add_matches(ft_longest_common,midfront,lowfront + 1,
                          max_history,useq,vseq,trimstat);
  alignedlen = GT_MULT2((lowfront+1)->row) + GT_FRONT_DIAGONAL(lowfront + 1);
  if (maxalignedlen < alignedlen)
  {
    maxalignedlen = alignedlen;
  }

  (lowfront+2)->backreference = FT_EOP_INSERTION;
  GT_UPDATE_MATCH_HISTORY(lowfront+2);
  front_prune_add_matches(ft_longest_common,midfront,lowfront + 2,
                          max_history,useq,vseq,trimstat);
  alignedlen = GT_MULT2((lowfront+2)->row) + GT_FRONT_DIAGONAL(lowfront + 2);
  if (maxalignedlen < alignedlen)
  {
    maxalignedlen = alignedlen;
  }
  return maxalignedlen;
}

// Assembly:
subq $0x68, %rsp
movq 0x70(%rsp), %rax
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movq %r9, 0x38(%rsp)
movq 0x50(%rsp), %rax
movq 0x50(%rsp), %rcx
movq 0x50(%rsp), %rdx
movq (%rdx), %rsi
movq %rsi, 0x30(%rcx)
movq 0x8(%rdx), %rsi
movq %rsi, 0x38(%rcx)
movq 0x10(%rdx), %rdx
movq %rdx, 0x40(%rcx)
movq 0x30(%rcx), %rdx
movq %rdx, 0x18(%rax)
movq 0x38(%rcx), %rdx
movq %rdx, 0x20(%rax)
movq 0x40(%rcx), %rcx
movq %rcx, 0x28(%rax)
movq 0x50(%rsp), %rax
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq 0x50(%rsp), %rax
movb $0x4, 0x11(%rax)
movq 0x50(%rsp), %rax
movzbl 0x10(%rax), %eax
cmpq 0x48(%rsp), %rax
jae 0x4ced66
jmp 0x4ced0e
movq 0x50(%rsp), %rax
movzbl 0x10(%rax), %eax
cmpq 0x48(%rsp), %rax
jb 0x4ced56
movq 0x16d27b(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x472e4(%rip), %rsi     # 0x516013
leaq 0xea9bf(%rip), %rdx     # 0x5b96f5
leaq 0xea9e4(%rip), %rcx     # 0x5b9721
leaq 0xea60e(%rip), %r8      # 0x5b9352
movl $0x1b3, %r9d            # imm = 0x1B3
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4ced58
movq 0x50(%rsp), %rax
movb 0x10(%rax), %cl
addb $0x1, %cl
movb %cl, 0x10(%rax)
movq 0x50(%rsp), %rax
movq (%rax), %rcx
shlq %rcx
movq %rcx, (%rax)
movq 0x60(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq 0x48(%rsp), %rcx
movq 0x40(%rsp), %r8
movq 0x38(%rsp), %r9
movq 0x70(%rsp), %rax
movq %rax, (%rsp)
callq 0x4cea80
movq 0x50(%rsp), %rax
movl 0x8(%rax), %eax
shll %eax
movl %eax, %eax
movq %rax, 0x20(%rsp)
movq 0x50(%rsp), %rax
movq 0x58(%rsp), %rcx
subq %rcx, %rax
movl $0x18, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x20(%rsp), %rax
addq %rcx, %rax
movq %rax, 0x28(%rsp)
movq 0x50(%rsp), %rax
movl 0x20(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x20(%rax)
movq 0x50(%rsp), %rax
movb $0x1, 0x29(%rax)
movq 0x50(%rsp), %rax
movl 0x2c(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x2c(%rax)
movq 0x50(%rsp), %rax
movzbl 0x28(%rax), %eax
cmpq 0x48(%rsp), %rax
jae 0x4cee67
jmp 0x4cee0f
movq 0x50(%rsp), %rax
movzbl 0x28(%rax), %eax
cmpq 0x48(%rsp), %rax
jb 0x4cee57
movq 0x16d17a(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x471e3(%rip), %rsi     # 0x516013
leaq 0xea8ff(%rip), %rdx     # 0x5b9736
leaq 0xea8e3(%rip), %rcx     # 0x5b9721
leaq 0xea50d(%rip), %r8      # 0x5b9352
movl $0x1bc, %r9d            # imm = 0x1BC
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4cee59
movq 0x50(%rsp), %rax
movb 0x28(%rax), %cl
addb $0x1, %cl
movb %cl, 0x28(%rax)
movq 0x50(%rsp), %rax
movq 0x18(%rax), %rcx
shlq %rcx
movq %rcx, 0x18(%rax)
movq 0x60(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq $0x18, %rdx
movq 0x48(%rsp), %rcx
movq 0x40(%rsp), %r8
movq 0x38(%rsp), %r9
movq 0x70(%rsp), %rax
movq %rax, (%rsp)
callq 0x4cea80
movq 0x50(%rsp), %rax
movl 0x20(%rax), %eax
shll %eax
movl %eax, %eax
movq %rax, 0x18(%rsp)
movq 0x50(%rsp), %rax
addq $0x18, %rax
movq 0x58(%rsp), %rcx
subq %rcx, %rax
movl $0x18, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x18(%rsp), %rax
addq %rcx, %rax
movq %rax, 0x30(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x30(%rsp), %rax
jae 0x4ceef9
movq 0x30(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x50(%rsp), %rax
movb $0x2, 0x41(%rax)
movq 0x50(%rsp), %rax
movzbl 0x40(%rax), %eax
cmpq 0x48(%rsp), %rax
jae 0x4cef6c
jmp 0x4cef14
movq 0x50(%rsp), %rax
movzbl 0x40(%rax), %eax
cmpq 0x48(%rsp), %rax
jb 0x4cef5c
movq 0x16d075(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x470de(%rip), %rsi     # 0x516013
leaq 0xea828(%rip), %rdx     # 0x5b9764
leaq 0xea7de(%rip), %rcx     # 0x5b9721
leaq 0xea408(%rip), %r8      # 0x5b9352
movl $0x1c6, %r9d            # imm = 0x1C6
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4cef5e
movq 0x50(%rsp), %rax
movb 0x40(%rax), %cl
addb $0x1, %cl
movb %cl, 0x40(%rax)
movq 0x50(%rsp), %rax
movq 0x30(%rax), %rcx
shlq %rcx
movq %rcx, 0x30(%rax)
movq 0x60(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq $0x30, %rdx
movq 0x48(%rsp), %rcx
movq 0x40(%rsp), %r8
movq 0x38(%rsp), %r9
movq 0x70(%rsp), %rax
movq %rax, (%rsp)
callq 0x4cea80
movq 0x50(%rsp), %rax
movl 0x38(%rax), %eax
shll %eax
movl %eax, %eax
movq %rax, 0x10(%rsp)
movq 0x50(%rsp), %rax
addq $0x30, %rax
movq 0x58(%rsp), %rcx
subq %rcx, %rax
movl $0x18, %ecx
cqto
idivq %rcx
movq %rax, %rcx
movq 0x10(%rsp), %rax
addq %rcx, %rax
movq %rax, 0x30(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x30(%rsp), %rax
jae 0x4ceffe
movq 0x30(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rax
addq $0x68, %rsp
retq
nopl (%rax,%rax)