// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/seqabstract.c
// Function: gt_seqabstract_init
static void gt_seqabstract_init(GtSeqabstract *sa,
                                bool rightextension,
                                GtReadmode readmode,
                                GtUword len,
                                GtUword startpos,
                                GtUword totallength)
{
  sa->len = len;
  gt_assert(startpos >= sa->seqstartpos && (
            !GT_ISDIRREVERSE(readmode) ||
            totallength != GT_SEQABSTRACT_TOTALLENGTH_UNDEF));
  sa->offset = GT_EXTEND_OFFSET(rightextension,
                                readmode,
                                totallength,
                                sa->seqstartpos,
                                startpos,
                                len);
  sa->read_seq_left2right = GT_EXTEND_READ_SEQ_LEFT2RIGHT(rightextension,
                                                          readmode);
  sa->dir_is_complement = GT_ISDIRCOMPLEMENT(readmode) ? true : false;
}

// Assembly:
subq $0x48, %rsp
movb %sil, %al
movq %rdi, 0x40(%rsp)
andb $0x1, %al
movb %al, 0x3f(%rsp)
movl %edx, 0x38(%rsp)
movq %rcx, 0x30(%rsp)
movq %r8, 0x28(%rsp)
movq %r9, 0x20(%rsp)
movq 0x30(%rsp), %rcx
movq 0x40(%rsp), %rax
movq %rcx, (%rax)
movq 0x28(%rsp), %rax
movq 0x40(%rsp), %rcx
cmpq 0x18(%rcx), %rax
jb 0x2b09a8
cmpl $0x1, 0x38(%rsp)
je 0x2b09a0
cmpl $0x3, 0x38(%rsp)
jne 0x2b09e0
cmpq $-0x1, 0x20(%rsp)
jne 0x2b09e0
movq 0x38b5f1(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x26565a(%rip), %rsi    # 0x516013
leaq 0x2d794b(%rip), %rdx    # 0x58830b
leaq 0x2d79b4(%rip), %rcx    # 0x58837b
leaq 0x2d77d3(%rip), %r8     # 0x5881a1
movl $0x50, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2b09e2
testb $0x1, 0x3f(%rsp)
je 0x2b0a31
cmpl $0x1, 0x38(%rsp)
je 0x2b09f7
cmpl $0x3, 0x38(%rsp)
jne 0x2b0a1b
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rax
shlq %rax
movq 0x20(%rsp), %rcx
subq $0x1, %rcx
subq 0x28(%rsp), %rcx
addq %rcx, %rax
movq %rax, 0x18(%rsp)
jmp 0x2b0a25
movq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsp)
jmp 0x2b0a8c
cmpl $0x1, 0x38(%rsp)
je 0x2b0a3f
cmpl $0x3, 0x38(%rsp)
jne 0x2b0a6f
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rax
shlq %rax
movq 0x20(%rsp), %rcx
subq $0x1, %rcx
movq 0x28(%rsp), %rdx
addq 0x30(%rsp), %rdx
subq $0x1, %rdx
subq %rdx, %rcx
addq %rcx, %rax
movq %rax, 0x8(%rsp)
jmp 0x2b0a82
movq 0x28(%rsp), %rax
addq 0x30(%rsp), %rax
subq $0x1, %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rcx
movq 0x40(%rsp), %rax
movq %rcx, 0x8(%rax)
testb $0x1, 0x3f(%rsp)
je 0x2b0ab5
cmpl $0x1, 0x38(%rsp)
je 0x2b0ab5
movb $0x1, %al
cmpl $0x3, 0x38(%rsp)
movb %al, 0x7(%rsp)
jne 0x2b0aeb
xorl %eax, %eax
testb $0x1, 0x3f(%rsp)
movb %al, 0x6(%rsp)
jne 0x2b0ae3
movb $0x1, %al
cmpl $0x1, 0x38(%rsp)
movb %al, 0x5(%rsp)
je 0x2b0adb
cmpl $0x3, 0x38(%rsp)
sete %al
movb %al, 0x5(%rsp)
movb 0x5(%rsp), %al
movb %al, 0x6(%rsp)
movb 0x6(%rsp), %al
movb %al, 0x7(%rsp)
movb 0x7(%rsp), %dl
xorl %eax, %eax
movl $0x1, %ecx
testb $0x1, %dl
cmovnel %ecx, %eax
cmpl $0x0, %eax
setne %cl
movq 0x40(%rsp), %rax
andb $0x1, %cl
movb %cl, 0x24(%rax)
movb $0x1, %al
cmpl $0x2, 0x38(%rsp)
movb %al, 0x4(%rsp)
je 0x2b0b26
cmpl $0x3, 0x38(%rsp)
sete %al
movb %al, 0x4(%rsp)
movb 0x4(%rsp), %dl
xorl %eax, %eax
movl $0x1, %ecx
testb $0x1, %dl
cmovnel %ecx, %eax
cmpl $0x0, %eax
setne %cl
movq 0x40(%rsp), %rax
andb $0x1, %cl
movb %cl, 0x25(%rax)
addq $0x48, %rsp
retq
nopl (%rax)