// File: /workspace/github_c_makefile_star2_O1/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 0x2184be
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %rbp
movq %rdi, %r15
callq 0x217812
movq %rax, %rdi
callq 0x16aef0
movq %rax, %r14
callq 0x217812
movq %rax, %rdi
movq %r14, 0x8(%rsp)
movq %r14, %rsi
callq 0x16af21
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 0x1b01f3(%rip), %rdi    # 0x3c8274
callq 0x120955
movq %rax, 0x18(%r14)
callq 0xd340f
movq %rax, 0x28(%r14)
testq %rax, %rax
je 0x2184c3
movq %rax, %r12
movq %rax, %rdi
callq 0xd3724
movl $0x4, %edi
movl %eax, %esi
callq 0x1582b8
movq %rax, %r15
movq %r12, %rdi
movl $0x47, %esi
callq 0xd3d89
movzbl %al, %edx
movsd 0x68(%r14), %xmm0
movq %r15, %rdi
movl $0x1, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x41, %esi
callq 0xd3d89
movzbl %al, %edx
movsd 0x60(%r14), %xmm0
movq %r15, %rdi
movl $0x1, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x43, %esi
callq 0xd3d89
movzbl %al, %edx
movsd 0x78(%r14), %xmm0
movq %r15, %rdi
movl $0x1, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x54, %esi
callq 0xd3d89
movzbl %al, %edx
movsd 0x70(%r14), %xmm0
movq %r15, %rdi
movl $0x1, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x47, %esi
callq 0xd3d89
movzbl %al, %edx
movsd 0x58(%r14), %xmm0
mulsd 0x146d18(%rip), %xmm0   # 0x35ee78
movq %r15, %rdi
xorl %esi, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x41, %esi
callq 0xd3d89
movzbl %al, %edx
movsd 0x58(%r14), %xmm0
mulsd 0x146cf0(%rip), %xmm0   # 0x35ee78
movq %r15, %rdi
xorl %esi, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x43, %esi
callq 0xd3d89
movzbl %al, %edx
movsd 0x50(%r14), %xmm0
mulsd 0x146cc8(%rip), %xmm0   # 0x35ee78
movq %r15, %rdi
xorl %esi, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x54, %esi
callq 0xd3d89
movzbl %al, %edx
movsd 0x146ca6(%rip), %xmm0   # 0x35ee78
mulsd 0x50(%r14), %xmm0
movq %r15, %rdi
xorl %esi, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x54, %esi
callq 0xd3d89
movzbl %al, %edx
movsd 0x80(%r14), %xmm0
movq %r15, %rdi
movl $0x2, %esi
callq 0x15854c
movsd 0x137018(%rip), %xmm0   # 0x34f228
subsd 0x80(%r14), %xmm0
divsd 0x1b1f1f(%rip), %xmm0   # 0x3ca140
movsd %xmm0, (%rsp)
movq %r12, %rdi
movl $0x47, %esi
callq 0xd3d89
movzbl %al, %edx
movq %r15, %rdi
movl $0x2, %esi
movsd (%rsp), %xmm0
callq 0x15854c
movq %r12, %rdi
movl $0x41, %esi
callq 0xd3d89
movzbl %al, %edx
movq %r15, %rdi
movl $0x2, %esi
movsd (%rsp), %xmm0
callq 0x15854c
movq %r12, %rdi
movl $0x43, %esi
callq 0xd3d89
movzbl %al, %edx
movq %r15, %rdi
movl $0x2, %esi
movsd (%rsp), %xmm0
callq 0x15854c
movq %r12, %rdi
movl $0x47, %esi
callq 0xd3d89
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl $0x3, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x41, %esi
callq 0xd3d89
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl $0x3, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x43, %esi
callq 0xd3d89
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl $0x3, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x54, %esi
callq 0xd3d89
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl $0x3, %esi
callq 0x15854c
movq %r12, %rdi
movl $0x4e, %esi
callq 0xd3d89
movzbl %al, %edx
movq %r15, %rdi
movl $0x3, %esi
movsd 0x136efc(%rip), %xmm0   # 0x34f228
callq 0x15854c
movsd 0x1b1e0f(%rip), %xmm0   # 0x3ca148
movq %r15, %rdi
movl $0x1, %esi
xorl %edx, %edx
callq 0x1584d5
movq %r15, %rdi
movl $0x1, %esi
movl $0x3, %edx
movsd 0x1b1deb(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
movl $0x1, %esi
movl $0x2, %edx
movsd 0x1b1dd1(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
movl $0x2, %esi
movl $0x1, %edx
movsd 0x1b1db7(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
movl $0x2, %esi
movl $0x3, %edx
movsd 0x1b1d9d(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
movl $0x2, %esi
xorl %edx, %edx
movsd 0x1b1d86(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
xorl %esi, %esi
movl $0x2, %edx
movsd 0x1b1d6f(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
xorl %esi, %esi
movl $0x1, %edx
movsd 0x1b1d58(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
xorl %esi, %esi
movl $0x3, %edx
movsd 0x1b1d41(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
movl $0x3, %esi
movl $0x2, %edx
movsd 0x1b1d27(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
movl $0x3, %esi
movl $0x1, %edx
movsd 0x1b1d0d(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
movl $0x3, %esi
xorl %edx, %edx
movsd 0x1b1cf6(%rip), %xmm0   # 0x3ca148
callq 0x1584d5
movq %r15, %rdi
callq 0x158650
movq %r15, %rdi
callq 0x1587b0
testb %al, %al
jne 0x218476
movq %r15, %rdi
callq 0x159bba
xorl %r15d, %r15d
movq %r15, 0x20(%r14)
testq %r15, %r15
je 0x218486
movq 0x8(%rsp), %r14
jmp 0x2184ac
movq 0x88(%rsp), %rbx
movq 0x8(%rsp), %rdi
callq 0x16b162
leaq 0x1b1d36(%rip), %rsi    # 0x3ca1d5
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1019cf
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x835d0
callq 0x83597