// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/ltr/ltrdigest_ppt_visitor.c
// Function: gt_ltrdigest_ppt_visitor_new
GtNodeVisitor* gt_ltrdigest_ppt_visitor_new(GtRegionMapping *rmap,
                                            GtRange ppt_len,
                                            GtRange ubox_len,
                                            double ppt_pyrimidine_prob,
                                            double ppt_purine_prob,
                                            double bkg_a_prob,
                                            double bkg_g_prob,
                                            double bkg_t_prob,
                                            double bkg_c_prob,
                                            double ubox_u_prob,
                                            unsigned int radius,
                                            unsigned int max_ubox_dist,
                                            GT_UNUSED GtError *err)
{
  GtNodeVisitor *nv = NULL;
  GtLTRdigestPPTVisitor *lv;
  GT_UNUSED int had_err = 0, i;
  gt_assert(rmap);
  nv = gt_node_visitor_create(gt_ltrdigest_ppt_visitor_class());
  lv = gt_ltrdigest_ppt_visitor_cast(nv);
  lv->ppt_len = ppt_len;
  lv->ubox_len = ubox_len;
  lv->ppt_pyrimidine_prob = ppt_pyrimidine_prob;
  lv->ppt_purine_prob = ppt_purine_prob;
  lv->bkg_a_prob = bkg_a_prob;
  lv->bkg_g_prob = bkg_g_prob;
  lv->bkg_t_prob = bkg_t_prob;
  lv->bkg_c_prob = bkg_c_prob;
  lv->ubox_u_prob = ubox_u_prob;
  lv->radius = radius;
  lv->rmap = rmap;
  lv->max_ubox_dist = max_ubox_dist;
  lv->tag = gt_str_new_cstr(GT_LTRDIGEST_TAG);
  lv->alpha = gt_alphabet_new_dna();
  lv->hmm = gt_ppt_hmm_new(lv->alpha, lv);
  if (!lv->hmm) {
    gt_node_visitor_delete(nv);
    gt_error_set(err, "PPT HMM parameters are not valid!");
    had_err = -1;
    nv = NULL;
  }
  return nv;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r9d, (%rsp)
movsd %xmm6, 0x40(%rsp)
movsd %xmm5, 0x38(%rsp)
movsd %xmm4, 0x30(%rsp)
movsd %xmm3, 0x28(%rsp)
movsd %xmm2, 0x20(%rsp)
movsd %xmm1, 0x18(%rsp)
movsd %xmm0, 0x10(%rsp)
testq %rdi, %rdi
je 0x20eaa8
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %rbp
movq %rdi, %r15
callq 0x20de3d
movq %rax, %rdi
callq 0x163080
movq %rax, %r14
callq 0x20de3d
movq %rax, %rdi
movq %r14, 0x8(%rsp)
movq %r14, %rsi
callq 0x1630b1
movq %rax, %r14
movq %rbp, 0x30(%rax)
movq %rbx, 0x38(%rax)
movq %r13, 0x40(%rax)
movq %r12, 0x48(%rax)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x50(%rax)
movsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x58(%rax)
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x60(%rax)
movsd 0x28(%rsp), %xmm0
movsd %xmm0, 0x68(%rax)
movsd 0x30(%rsp), %xmm0
movsd %xmm0, 0x70(%rax)
movsd 0x38(%rsp), %xmm0
movsd %xmm0, 0x78(%rax)
movsd 0x40(%rsp), %xmm0
movsd %xmm0, 0x80(%rax)
movl (%rsp), %eax
movl %eax, 0x88(%r14)
movq %r15, 0x10(%r14)
movl 0x80(%rsp), %eax
movl %eax, 0x8c(%r14)
leaq 0x1b058e(%rip), %rdi    # 0x3bebf4
callq 0x11acc9
movq %rax, 0x18(%r14)
callq 0xd0ece
movq %rax, 0x28(%r14)
testq %rax, %rax
je 0x20eaad
movq %rax, %r12
movq %rax, %rdi
callq 0xd11cf
movl $0x4, %edi
movl %eax, %esi
callq 0x150964
movq %rax, %r15
movq %r12, %rdi
movl $0x47, %esi
callq 0xd185d
movzbl %al, %edx
movsd 0x68(%r14), %xmm0
movq %r15, %rdi
movl $0x1, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x41, %esi
callq 0xd185d
movzbl %al, %edx
movsd 0x60(%r14), %xmm0
movq %r15, %rdi
movl $0x1, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x43, %esi
callq 0xd185d
movzbl %al, %edx
movsd 0x78(%r14), %xmm0
movq %r15, %rdi
movl $0x1, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x54, %esi
callq 0xd185d
movzbl %al, %edx
movsd 0x70(%r14), %xmm0
movq %r15, %rdi
movl $0x1, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x47, %esi
callq 0xd185d
movzbl %al, %edx
movsd 0x58(%r14), %xmm0
mulsd 0x147703(%rip), %xmm0   # 0x355e48
movq %r15, %rdi
xorl %esi, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x41, %esi
callq 0xd185d
movzbl %al, %edx
movsd 0x58(%r14), %xmm0
mulsd 0x1476db(%rip), %xmm0   # 0x355e48
movq %r15, %rdi
xorl %esi, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x43, %esi
callq 0xd185d
movzbl %al, %edx
movsd 0x50(%r14), %xmm0
mulsd 0x1476b3(%rip), %xmm0   # 0x355e48
movq %r15, %rdi
xorl %esi, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x54, %esi
callq 0xd185d
movzbl %al, %edx
movsd 0x147691(%rip), %xmm0   # 0x355e48
mulsd 0x50(%r14), %xmm0
movq %r15, %rdi
xorl %esi, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x54, %esi
callq 0xd185d
movzbl %al, %edx
movsd 0x80(%r14), %xmm0
movq %r15, %rdi
movl $0x2, %esi
callq 0x150bec
movsd 0x137a33(%rip), %xmm0   # 0x346228
subsd 0x80(%r14), %xmm0
divsd 0x1b229a(%rip), %xmm0   # 0x3c0aa0
movsd %xmm0, (%rsp)
movq %r12, %rdi
movl $0x47, %esi
callq 0xd185d
movzbl %al, %edx
movq %r15, %rdi
movl $0x2, %esi
movsd (%rsp), %xmm0
callq 0x150bec
movq %r12, %rdi
movl $0x41, %esi
callq 0xd185d
movzbl %al, %edx
movq %r15, %rdi
movl $0x2, %esi
movsd (%rsp), %xmm0
callq 0x150bec
movq %r12, %rdi
movl $0x43, %esi
callq 0xd185d
movzbl %al, %edx
movq %r15, %rdi
movl $0x2, %esi
movsd (%rsp), %xmm0
callq 0x150bec
movq %r12, %rdi
movl $0x47, %esi
callq 0xd185d
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl $0x3, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x41, %esi
callq 0xd185d
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl $0x3, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x43, %esi
callq 0xd185d
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl $0x3, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x54, %esi
callq 0xd185d
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl $0x3, %esi
callq 0x150bec
movq %r12, %rdi
movl $0x4e, %esi
callq 0xd185d
movzbl %al, %edx
movq %r15, %rdi
movl $0x3, %esi
movsd 0x137917(%rip), %xmm0   # 0x346228
callq 0x150bec
movsd 0x1b218a(%rip), %xmm0   # 0x3c0aa8
movq %r15, %rdi
movl $0x1, %esi
xorl %edx, %edx
callq 0x150b75
movq %r15, %rdi
movl $0x1, %esi
movl $0x3, %edx
movsd 0x1b2166(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
movl $0x1, %esi
movl $0x2, %edx
movsd 0x1b214c(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
movl $0x2, %esi
movl $0x1, %edx
movsd 0x1b2132(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
movl $0x2, %esi
movl $0x3, %edx
movsd 0x1b2118(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
movl $0x2, %esi
xorl %edx, %edx
movsd 0x1b2101(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
xorl %esi, %esi
movl $0x2, %edx
movsd 0x1b20ea(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
xorl %esi, %esi
movl $0x1, %edx
movsd 0x1b20d3(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
xorl %esi, %esi
movl $0x3, %edx
movsd 0x1b20bc(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
movl $0x3, %esi
movl $0x2, %edx
movsd 0x1b20a2(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
movl $0x3, %esi
movl $0x1, %edx
movsd 0x1b2088(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
movl $0x3, %esi
xorl %edx, %edx
movsd 0x1b2071(%rip), %xmm0   # 0x3c0aa8
callq 0x150b75
movq %r15, %rdi
callq 0x150cee
movq %r15, %rdi
callq 0x150e36
testb %al, %al
je 0x20ea60
movq %r15, 0x20(%r14)
testq %r15, %r15
je 0x20ea70
movq 0x8(%rsp), %r14
jmp 0x20ea96
movq %r15, %rdi
callq 0x1522ad
movq $0x0, 0x20(%r14)
movq 0x88(%rsp), %rbx
movq 0x8(%rsp), %rdi
callq 0x1632f2
leaq 0x1b20ac(%rip), %rsi    # 0x3c0b35
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0xfcb67
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x81600
callq 0x815c7