// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/diagbandseed.c
// Function: gt_diagbandseed_plainsequence_next_segment
static void gt_diagbandseed_plainsequence_next_segment(
                         GtDiagbandSeedPlainSequence *ps,
                         const GtSequencePartsInfo *aseqranges,
                         GtUword currsegm_aseqnum,
                         const GtSequencePartsInfo *bseqranges,
                         GtUword currsegm_bseqnum)
{
  if (ps->previous_aseqnum == GT_UWORD_MAX ||
      ps->previous_aseqnum < currsegm_aseqnum)
  {
    if (ps->a_byte_sequence != NULL)
    {
      gt_diagbandseed_set_sequence(&ps->aseqorencseq,
                                   aseqranges,
                                   ps->a_byte_sequence,
                                   ps->a_first_seqstartpos,
                                   currsegm_aseqnum,
                                   ps->characters,
                                   ps->wildcardshow,
                                   ps->a_haswildcards,
                                   ps->a_encseq_for_seq_desc);
      ps->previous_aseqnum = currsegm_aseqnum;
    } else
    {
      GtUword seqstartpos = gt_sequence_parts_info_seqstartpos(aseqranges,
                                                             currsegm_aseqnum),
              seqendpos = gt_sequence_parts_info_seqendpos(aseqranges,
                                                           currsegm_aseqnum);

      GT_SEQORENCSEQ_ADD_SEQ_COORDS(&ps->aseqorencseq,
                                    seqstartpos,
                                    seqendpos - seqstartpos + 1);
    }
  } else
  {
    gt_assert(ps->previous_aseqnum == currsegm_aseqnum);
  }
  if (ps->b_byte_sequence != NULL)
  {
    gt_diagbandseed_set_sequence(&ps->bseqorencseq,
                                 bseqranges,
                                 ps->b_byte_sequence,
                                 ps->b_first_seqstartpos,
                                 currsegm_bseqnum,
                                 ps->characters,
                                 ps->wildcardshow,
                                 ps->b_haswildcards,
                                 ps->b_encseq_for_seq_desc);
  } else
  {
    GtUword seqstartpos = gt_sequence_parts_info_seqstartpos(bseqranges,
                                                             currsegm_bseqnum),
            seqendpos = gt_sequence_parts_info_seqendpos(bseqranges,
                                                         currsegm_bseqnum);

    GT_SEQORENCSEQ_ADD_SEQ_COORDS(&ps->bseqorencseq,
                                  seqstartpos,
                                  seqendpos - seqstartpos + 1);
  }
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movq 0x60(%rsp), %rax
cmpq $-0x1, 0x98(%rax)
je 0x21c143
movq 0x60(%rsp), %rax
movq 0x98(%rax), %rax
cmpq 0x50(%rsp), %rax
jae 0x21c272
movq 0x60(%rsp), %rax
cmpq $0x0, 0x88(%rax)
je 0x21c1dd
movq 0x60(%rsp), %rdi
addq $0x18, %rdi
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rax
movq 0x88(%rax), %rdx
movq 0x60(%rsp), %rax
movq 0xa8(%rax), %rcx
movq 0x50(%rsp), %r8
movq 0x60(%rsp), %rax
movq 0x8(%rax), %r9
movq 0x60(%rsp), %rax
movb 0x10(%rax), %r11b
movq 0x60(%rsp), %rax
movb 0x1(%rax), %r10b
movq 0x60(%rsp), %rax
movq 0xc0(%rax), %rax
andb $0x1, %r10b
movzbl %r11b, %r11d
movl %r11d, (%rsp)
movzbl %r10b, %r10d
movl %r10d, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x21daa0
movq 0x50(%rsp), %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x98(%rax)
jmp 0x21c270
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %rsi
callq 0x2af760
movq %rax, 0x38(%rsp)
movq 0x58(%rsp), %rdi
movq 0x50(%rsp), %rsi
callq 0x2af7e0
movq %rax, 0x30(%rsp)
movq 0x60(%rsp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x21c249
movq 0x41fd88(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2f9df1(%rip), %rsi    # 0x516013
leaq 0x357906(%rip), %rdx    # 0x573b2f
leaq 0x357923(%rip), %rcx    # 0x573b53
leaq 0x355d5d(%rip), %r8     # 0x571f94
movl $0xa22, %r9d            # imm = 0xA22
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x21c24b
movq 0x38(%rsp), %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x30(%rax)
movq 0x30(%rsp), %rcx
subq 0x38(%rsp), %rcx
addq $0x1, %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x38(%rax)
jmp 0x21c2c3
jmp 0x21c274
movq 0x60(%rsp), %rax
movq 0x98(%rax), %rax
cmpq 0x50(%rsp), %rax
je 0x21c2bf
movq 0x41fd12(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2f9d7b(%rip), %rsi    # 0x516013
leaq 0x3578df(%rip), %rdx    # 0x573b7e
leaq 0x3578ad(%rip), %rcx    # 0x573b53
leaq 0x355ce7(%rip), %r8     # 0x571f94
movl $0xa26, %r9d            # imm = 0xA26
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x21c2c1
jmp 0x21c2c3
movq 0x60(%rsp), %rax
cmpq $0x0, 0x90(%rax)
je 0x21c348
movq 0x60(%rsp), %rdi
addq $0x50, %rdi
movq 0x48(%rsp), %rsi
movq 0x60(%rsp), %rax
movq 0x90(%rax), %rdx
movq 0x60(%rsp), %rax
movq 0xb8(%rax), %rcx
movq 0x40(%rsp), %r8
movq 0x60(%rsp), %rax
movq 0x8(%rax), %r9
movq 0x60(%rsp), %rax
movb 0x10(%rax), %r11b
movq 0x60(%rsp), %rax
movb 0x2(%rax), %r10b
movq 0x60(%rsp), %rax
movq 0xc8(%rax), %rax
andb $0x1, %r10b
movzbl %r11b, %r11d
movl %r11d, (%rsp)
movzbl %r10b, %r10d
movl %r10d, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x21daa0
jmp 0x21c3db
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0x2af760
movq %rax, 0x28(%rsp)
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rsi
callq 0x2af7e0
movq %rax, 0x20(%rsp)
movq 0x60(%rsp), %rax
cmpq $0x0, 0x58(%rax)
jne 0x21c3b4
movq 0x41fc1d(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2f9c86(%rip), %rsi    # 0x516013
leaq 0x357813(%rip), %rdx    # 0x573ba7
leaq 0x3577b8(%rip), %rcx    # 0x573b53
leaq 0x355bf2(%rip), %r8     # 0x571f94
movl $0xa3c, %r9d            # imm = 0xA3C
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x21c3b6
movq 0x28(%rsp), %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x68(%rax)
movq 0x20(%rsp), %rcx
subq 0x28(%rsp), %rcx
addq $0x1, %rcx
movq 0x60(%rsp), %rax
movq %rcx, 0x70(%rax)
addq $0x68, %rsp
retq