// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x88, %rsp
movq 0x98(%rsp), %rax
movl 0x90(%rsp), %eax
movq %rsi, 0x78(%rsp)
movq %rdx, 0x80(%rsp)
movq %rcx, 0x68(%rsp)
movq %r8, 0x70(%rsp)
movq %rdi, 0x60(%rsp)
movsd %xmm0, 0x58(%rsp)
movsd %xmm1, 0x50(%rsp)
movsd %xmm2, 0x48(%rsp)
movsd %xmm3, 0x40(%rsp)
movsd %xmm4, 0x38(%rsp)
movsd %xmm5, 0x30(%rsp)
movsd %xmm6, 0x28(%rsp)
movl %r9d, 0x24(%rsp)
movq $0x0, 0x18(%rsp)
movl $0x0, 0xc(%rsp)
cmpq $0x0, 0x60(%rsp)
jne 0x30bb02
movq 0x3304cf(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x20a538(%rip), %rsi    # 0x516013
leaq 0x287ab2(%rip), %rdx    # 0x593594
leaq 0x2882bf(%rip), %rcx    # 0x593da8
leaq 0x288266(%rip), %r8     # 0x593d56
movl $0x27b, %r9d            # imm = 0x27B
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x30bb04
callq 0x30b4f0
movq %rax, %rdi
callq 0x1b22c0
movq %rax, 0x18(%rsp)
callq 0x30b4f0
movq %rax, %rdi
movq 0x18(%rsp), %rsi
callq 0x1b2350
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq 0x78(%rsp), %rcx
movq %rcx, 0x30(%rax)
movq 0x80(%rsp), %rcx
movq %rcx, 0x38(%rax)
movq 0x10(%rsp), %rax
movq 0x68(%rsp), %rcx
movq %rcx, 0x40(%rax)
movq 0x70(%rsp), %rcx
movq %rcx, 0x48(%rax)
movsd 0x58(%rsp), %xmm0
movq 0x10(%rsp), %rax
movsd %xmm0, 0x50(%rax)
movsd 0x50(%rsp), %xmm0
movq 0x10(%rsp), %rax
movsd %xmm0, 0x58(%rax)
movsd 0x48(%rsp), %xmm0
movq 0x10(%rsp), %rax
movsd %xmm0, 0x60(%rax)
movsd 0x40(%rsp), %xmm0
movq 0x10(%rsp), %rax
movsd %xmm0, 0x68(%rax)
movsd 0x38(%rsp), %xmm0
movq 0x10(%rsp), %rax
movsd %xmm0, 0x70(%rax)
movsd 0x30(%rsp), %xmm0
movq 0x10(%rsp), %rax
movsd %xmm0, 0x78(%rax)
movsd 0x28(%rsp), %xmm0
movq 0x10(%rsp), %rax
movsd %xmm0, 0x80(%rax)
movl 0x24(%rsp), %ecx
movq 0x10(%rsp), %rax
movl %ecx, 0x88(%rax)
movq 0x60(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x10(%rax)
movl 0x90(%rsp), %ecx
movq 0x10(%rsp), %rax
movl %ecx, 0x8c(%rax)
leaq 0x28617d(%rip), %rdi    # 0x591d84
callq 0x11d510
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x18(%rax)
callq 0x7e4b0
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x28(%rax)
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rdi
movq 0x10(%rsp), %rsi
callq 0x30bca0
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x10(%rsp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x30bc85
movq 0x18(%rsp), %rdi
callq 0x1b29d0
movq 0x98(%rsp), %rdi
leaq 0x288158(%rip), %rsi    # 0x593dc5
movb $0x0, %al
callq 0xd88c0
movl $0xffffffff, 0xc(%rsp)  # imm = 0xFFFFFFFF
movq $0x0, 0x18(%rsp)
movq 0x18(%rsp), %rax
addq $0x88, %rsp
retq
nopw %cs:(%rax,%rax)