// File: /workspace/github_c_makefile_star2_O2/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 0x1c30cb
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %rbx
movq %rdi, %r15
callq 0x1c2488
movq %rax, %rdi
callq 0x102da0
movq %rax, %r14
callq 0x1c2488
movq %rax, %rdi
movq %r14, 0x8(%rsp)
movq %r14, %rsi
callq 0x102dfe
movq %rax, %r14
movq %rbx, 0x30(%rax)
movq %rbp, 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 0x19c354(%rip), %rdi    # 0x35f044
callq 0xacbd1
movq %rax, 0x18(%r14)
callq 0x56967
movq %rax, 0x28(%r14)
testq %rax, %rax
je 0x1c30f9
movq %rax, %r12
movq %rax, %rdi
callq 0x56cd2
pushq $0x4
popq %rdi
movl %eax, %esi
callq 0xec1d4
movq %rax, %r15
pushq $0x47
popq %rbp
movq %r12, %rdi
movl %ebp, %esi
callq 0x57552
movzbl %al, %edx
movsd 0x68(%r14), %xmm0
pushq $0x1
popq %r13
movq %r15, %rdi
movl %r13d, %esi
callq 0xec5aa
pushq $0x41
popq %rsi
movq %r12, %rdi
callq 0x57552
movzbl %al, %edx
movsd 0x60(%r14), %xmm0
movq %r15, %rdi
movl %r13d, %esi
callq 0xec5aa
pushq $0x43
popq %rsi
movq %r12, %rdi
callq 0x57552
movzbl %al, %edx
movsd 0x78(%r14), %xmm0
movq %r15, %rdi
movl %r13d, %esi
callq 0xec5aa
pushq $0x54
popq %rbx
movq %r12, %rdi
movl %ebx, %esi
callq 0x57552
movzbl %al, %edx
movsd 0x70(%r14), %xmm0
movq %r15, %rdi
movl %r13d, %esi
callq 0xec5aa
movq %r12, %rdi
movl %ebp, %esi
callq 0x57552
movzbl %al, %edx
movsd 0x58(%r14), %xmm0
mulsd 0x133096(%rip), %xmm0   # 0x2f5e58
movq %r15, %rdi
xorl %esi, %esi
callq 0xec5aa
movq %r12, %rdi
pushq $0x41
popq %rsi
callq 0x57552
movzbl %al, %edx
movsd 0x58(%r14), %xmm0
mulsd 0x133070(%rip), %xmm0   # 0x2f5e58
movq %r15, %rdi
xorl %esi, %esi
callq 0xec5aa
movq %r12, %rdi
pushq $0x43
popq %rsi
movl %esi, %ebp
callq 0x57552
movzbl %al, %edx
movsd 0x50(%r14), %xmm0
mulsd 0x133048(%rip), %xmm0   # 0x2f5e58
movq %r15, %rdi
xorl %esi, %esi
callq 0xec5aa
movq %r12, %rdi
movl %ebx, %esi
callq 0x57552
movzbl %al, %edx
movsd 0x133029(%rip), %xmm0   # 0x2f5e58
mulsd 0x50(%r14), %xmm0
movq %r15, %rdi
xorl %esi, %esi
callq 0xec5aa
movq %r12, %rdi
movl %ebx, %esi
callq 0x57552
movzbl %al, %edx
movsd 0x80(%r14), %xmm0
pushq $0x2
popq %r13
movq %r15, %rdi
movl %r13d, %esi
callq 0xec5aa
movsd 0x1233bc(%rip), %xmm0   # 0x2e6228
subsd 0x80(%r14), %xmm0
divsd 0x19e033(%rip), %xmm0   # 0x360eb0
movsd %xmm0, (%rsp)
movq %r12, %rdi
pushq $0x47
popq %rsi
callq 0x57552
movzbl %al, %edx
movq %r15, %rdi
movl %r13d, %esi
movsd (%rsp), %xmm0
callq 0xec5aa
movq %r12, %rdi
pushq $0x41
popq %rsi
callq 0x57552
movzbl %al, %edx
movq %r15, %rdi
movl %r13d, %esi
movsd (%rsp), %xmm0
callq 0xec5aa
movq %r12, %rdi
movl %ebp, %esi
callq 0x57552
movzbl %al, %edx
movq %r15, %rdi
movl %r13d, %esi
movsd (%rsp), %xmm0
callq 0xec5aa
movq %r12, %rdi
pushq $0x47
popq %rsi
callq 0x57552
movzbl %al, %edx
pushq $0x3
popq %rbx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl %ebx, %esi
callq 0xec5aa
movq %r12, %rdi
pushq $0x41
popq %rsi
callq 0x57552
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl %ebx, %esi
callq 0xec5aa
movq %r12, %rdi
movl %ebp, %esi
callq 0x57552
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl %ebx, %esi
callq 0xec5aa
movq %r12, %rdi
pushq $0x54
popq %rsi
callq 0x57552
movzbl %al, %edx
xorps %xmm0, %xmm0
movq %r15, %rdi
movl %ebx, %esi
callq 0xec5aa
pushq $0x4e
popq %rsi
movq %r12, %rdi
callq 0x57552
movzbl %al, %edx
movq %r15, %rdi
movl %ebx, %esi
movsd 0x1232c4(%rip), %xmm0   # 0x2e6228
callq 0xec5aa
movsd 0x19df47(%rip), %xmm0   # 0x360eb8
movq %r15, %rdi
pushq $0x1
popq %rbp
movl %ebp, %esi
xorl %edx, %edx
callq 0xec487
movq %r15, %rdi
movl %ebp, %esi
movl %ebx, %edx
movsd 0x19df29(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
movl %ebp, %esi
movl %r13d, %edx
movsd 0x19df14(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
movl %r13d, %esi
movl %ebp, %edx
movsd 0x19deff(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
movl %r13d, %esi
movl %ebx, %edx
movsd 0x19deea(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
movl %r13d, %esi
xorl %edx, %edx
movsd 0x19ded5(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
xorl %esi, %esi
movl %r13d, %edx
movsd 0x19dec0(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
xorl %esi, %esi
movl %ebp, %edx
movsd 0x19deac(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
xorl %esi, %esi
movl %ebx, %edx
movsd 0x19de98(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
movl %ebx, %esi
movl %r13d, %edx
movsd 0x19de83(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
movl %ebx, %esi
movl %ebp, %edx
movsd 0x19de6f(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
movl %ebx, %esi
xorl %edx, %edx
movsd 0x19de5b(%rip), %xmm0   # 0x360eb8
callq 0xec487
movq %r15, %rdi
callq 0xec842
movq %r15, %rdi
callq 0xeca3c
testb %al, %al
je 0x1c3086
movq %r15, 0x20(%r14)
testq %r15, %r15
je 0x1c3093
movq 0x8(%rsp), %r14
jmp 0x1c30b9
movq %r15, %rdi
callq 0xee153
andq $0x0, 0x20(%r14)
movq 0x88(%rsp), %rbx
movq 0x8(%rsp), %rdi
callq 0x10327a
leaq 0x19de99(%rip), %rsi    # 0x360f45
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x89dbb
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x274e96(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x121f37(%rip), %rsi    # 0x2e5013
leaq 0x19d69a(%rip), %rdx    # 0x36077d
leaq 0x19de3e(%rip), %rcx    # 0x360f28
leaq 0x19dde5(%rip), %r8     # 0x360ed6
movl $0x27b, %r9d            # imm = 0x27B
jmp 0x1c3125
movq 0x274e68(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x121f09(%rip), %rsi    # 0x2e5013
leaq 0x1bc713(%rip), %rdx    # 0x37f824
leaq 0x19dfc9(%rip), %rcx    # 0x3610e1
leaq 0x19ddb7(%rip), %r8     # 0x360ed6
movl $0xa5, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390