// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/consensus_sa.c
// Function: gt_consensus_sa
void gt_consensus_sa(const void *set_of_sas, GtUword number_of_sas,
                     size_t size_of_sa, GtGetGenomicRangeFunc get_genomic_range,
                     GtGetStrandFunc get_strand, GtGetExonsFunc get_exons,
                     GtProcessSpliceFormFunc process_splice_form,
                     void *userdata)
{
  ConsensusSA csa;
  gt_assert(set_of_sas && number_of_sas && size_of_sa);
  gt_assert(get_genomic_range && get_strand && get_exons);
  gt_assert(set_of_sas_is_sorted(set_of_sas, number_of_sas, size_of_sa,
                              get_genomic_range));
  gt_log_log("-from "GT_WU"", get_genomic_range(set_of_sas).start);
  gt_log_log("csa number_of_sas="GT_WU"", number_of_sas);

  /* init */
  csa.set_of_sas          = set_of_sas;
  csa.number_of_sas       = number_of_sas;
  csa.size_of_sa          = size_of_sa;
  csa.get_genomic_range   = get_genomic_range;
  csa.get_strand          = get_strand;
  csa.get_exons           = get_exons;
  csa.process_splice_form = process_splice_form;
  csa.userdata            = userdata;

  /* computation */
  compute_csas(&csa);

  gt_log_log("csa finished");
}

// Assembly:
subq $0x88, %rsp
movq 0x98(%rsp), %rax
movq 0x90(%rsp), %rax
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq %r8, 0x60(%rsp)
movq %r9, 0x58(%rsp)
cmpq $0x0, 0x80(%rsp)
je 0x15b093
cmpq $0x0, 0x78(%rsp)
je 0x15b093
cmpq $0x0, 0x70(%rsp)
jne 0x15b0cb
movq 0x58f3e(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x2fc2(%rip), %rsi      # 0x15e066
leaq 0x34335(%rip), %rdx     # 0x18f3e0
leaq 0x34463(%rip), %rcx     # 0x18f515
leaq 0x3446c(%rip), %r8      # 0x18f525
movl $0x23d, %r9d            # imm = 0x23D
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x15b0cd
jmp 0x15b0cf
cmpq $0x0, 0x68(%rsp)
je 0x15b0e7
cmpq $0x0, 0x60(%rsp)
je 0x15b0e7
cmpq $0x0, 0x58(%rsp)
jne 0x15b11f
movq 0x58eea(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x2f6e(%rip), %rsi      # 0x15e066
leaq 0x34347(%rip), %rdx     # 0x18f446
leaq 0x3440f(%rip), %rcx     # 0x18f515
leaq 0x34418(%rip), %r8      # 0x18f525
movl $0x23e, %r9d            # imm = 0x23E
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x15b121
jmp 0x15b123
movq 0x80(%rsp), %rdi
movq 0x78(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq 0x68(%rsp), %rcx
callq 0x15b240
testb $0x1, %al
jne 0x15b17b
movq 0x58e8e(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x2f12(%rip), %rsi      # 0x15e066
leaq 0x343e6(%rip), %rdx     # 0x18f541
leaq 0x343b3(%rip), %rcx     # 0x18f515
leaq 0x343bc(%rip), %r8      # 0x18f525
movl $0x240, %r9d            # imm = 0x240
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x15b17d
movq 0x68(%rsp), %rax
movq 0x80(%rsp), %rdi
callq *%rax
movq %rax, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x8(%rsp), %rsi
leaq 0x343ee(%rip), %rdi     # 0x18f590
movb $0x0, %al
callq 0xc930
movq 0x78(%rsp), %rsi
leaq 0x343e5(%rip), %rdi     # 0x18f59a
movb $0x0, %al
callq 0xc930
movq 0x80(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x98(%rsp), %rax
movq %rax, 0x50(%rsp)
leaq 0x18(%rsp), %rdi
callq 0x15b3a0
leaq 0x3438a(%rip), %rdi     # 0x18f5b0
movb $0x0, %al
callq 0xc930
addq $0x88, %rsp
retq
nopw %cs:(%rax,%rax)