// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/csa_variable_strands.c
// Function: gt_csa_variable_strands
GtArray* gt_csa_variable_strands(const void *set_of_sas,
                                 GtUword number_of_sas,
                                 size_t size_of_sa,
                                 GtGetGenomicRangeFunc get_genomic_range,
                                 GtGetStrandFunc get_strand,
                                 GtGetExonsFunc get_exons)
{
  StoreSpliceFormInfo info;
  GtArray *genes;
  gt_assert(set_of_sas && number_of_sas && size_of_sa);
  gt_assert(get_genomic_range && get_strand && get_exons);

  genes = gt_array_new(sizeof (GtCSAGene*));

  info.splice_forms = gt_array_new(sizeof (GtCSASpliceForm*));
  info.get_genomic_range = get_genomic_range;
  info.get_strand = get_strand;

  gt_consensus_sa(set_of_sas, number_of_sas, size_of_sa, get_genomic_range,
                  get_strand, get_exons, store_splice_form, &info);

  process_splice_forms(genes, info.splice_forms);

  gt_array_delete(info.splice_forms);

  return genes;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
testq %rdi, %rdi
je 0xdfb7b
testq %rsi, %rsi
je 0xdfb7b
testq %rdx, %rdx
je 0xdfb7b
movq %rcx, %r12
movq %rsi, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
testq %rcx, %rcx
je 0xdfb80
movq %r8, %r15
testq %r8, %r8
je 0xdfb80
testq %r9, %r9
je 0xdfb80
movq %rdi, %rbx
movl $0x8, %edi
movq %r9, %r13
callq 0x6ef7c
movq %rax, %rbp
movl $0x8, %edi
callq 0x6ef7c
leaq 0x20(%rsp), %r14
movq %rax, (%r14)
movq %r12, 0x8(%r14)
movq %r15, 0x10(%r14)
leaq 0x19f(%rip), %rax       # 0xdfb8f
movq %rbx, %rdi
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r12, %rcx
movq %r15, %r8
movq %r13, %r9
pushq %r14
pushq %rax
callq 0xdfc5c
addq $0x10, %rsp
movq (%r14), %r15
xorl %eax, %eax
movq %rax, 0x8(%rsp)
movq %rax, (%rsp)
testq %rbp, %rbp
je 0xdfb85
testq %r15, %r15
je 0xdfb85
movq %r15, %rdi
callq 0x6f310
testq %rax, %rax
je 0xdfaba
xorl %r13d, %r13d
xorl %r14d, %r14d
xorl %r12d, %r12d
movq %r15, %rdi
movq %r13, %rsi
callq 0x6f037
movq (%rax), %rbx
movq %rbx, %rdi
callq 0xdf889
cmpl $0x1, %eax
je 0xdfa75
testl %eax, %eax
jne 0xdfb76
testq %r12, %r12
je 0xdfa98
movq %r12, %rdi
jmp 0xdfa7d
testq %r14, %r14
je 0xdfa87
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdf634
jmp 0xdfaa8
movq %rbx, %rdi
callq 0xdf57c
movq %rax, %r14
movq %rax, (%rsp)
jmp 0xdfaa8
movq %rbx, %rdi
callq 0xdf57c
movq %rax, %r12
movq %rax, 0x8(%rsp)
incq %r13
movq %r15, %rdi
callq 0x6f310
cmpq %rax, %r13
jb 0xdfa48
jmp 0xdfac0
xorl %r14d, %r14d
xorl %r12d, %r12d
movq %r12, %rax
orq %r14, %rax
je 0xdfb8a
testq %r14, %r14
setne %al
testq %r12, %r12
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xdfb3e
movq %r12, %rdi
callq 0xdf6c1
leaq 0x48(%rsp), %rbx
movq %rax, (%rbx)
movq %rdx, 0x8(%rbx)
movq %r14, %rdi
callq 0xdf6c1
leaq 0x38(%rsp), %rsi
movq %rax, (%rsi)
movq %rdx, 0x8(%rsi)
movq %rbx, %rdi
callq 0x7e09c
testl %eax, %eax
leaq 0x8(%rsp), %rbx
movq %rsp, %rax
movq %rax, %rsi
cmovleq %rbx, %rsi
cmovleq %rax, %rbx
movl $0x8, %edx
movq %rbp, %rdi
callq 0x6f240
movl $0x8, %edx
movq %rbp, %rdi
movq %rbx, %rsi
jmp 0xdfb55
testq %r12, %r12
je 0xdfb4a
leaq 0x8(%rsp), %rsi
jmp 0xdfb4d
movq %rsp, %rsi
movl $0x8, %edx
movq %rbp, %rdi
callq 0x6f240
movq 0x20(%rsp), %rdi
callq 0x6f768
movq %rbp, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x346fe
callq 0x34659
callq 0x34690
callq 0x346c7
callq 0x34735