// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/ltr/ltr_refseq_match_stream.c
// Function: gt_ltr_refseq_match_stream_new_with_mapping
GtNodeStream* gt_ltr_refseq_match_stream_new_with_mapping(
                                             GtNodeStream *in_stream,
                                             const char *refseq_file,
                                             GtRegionMapping *rmap,
                                             double evalue,
                                             bool dust,
                                             int word_size,
                                             int gapopen,
                                             int gapextend,
                                             int penalty,
                                             int reward,
                                             int num_threads,
                                             double xdrop,
                                             double identity,
                                             const char *moreblast,
                                             bool flcands,
                                             double min_ali_len_perc,
                                             GtUword params_id,
                                             const char *source,
                                             GT_UNUSED GtError *err)
{
  GtNodeStream *gs;
  GtLTRRefseqMatchStream *rms;
  gs = gt_node_stream_create(gt_ltr_refseq_match_stream_class(), false);
  rms = gt_ltr_refseq_match_stream_cast(gs);
  rms->in_stream = gt_node_stream_ref(in_stream);
  rms->nodes = gt_array_new(sizeof(GtGenomeNode*));
  rms->first_next = true;
  rms->params_id = params_id;
  rms->next_index = 0;
  rms->header_to_fn = gt_hashmap_new(GT_HASH_STRING,
                                     gt_ltr_refseq_match_stream_free_hash_elem,
                                     NULL);
  rms->refseq_file = refseq_file;
  rms->seq_file = "/tmp/run.tmp";   /* XXXX */
  rms->rmap = rmap;
  rms->evalue = evalue;
  rms->dust = dust;
  rms->word_size = word_size;
  rms->gapopen = gapopen;
  rms->gapextend = gapextend;
  rms->penalty = penalty;
  rms->reward = reward;
  rms->num_threads = num_threads;
  rms->xdrop = xdrop;
  rms->identity = identity;
  rms->moreblast = moreblast;
  rms->flcands = flcands;
  rms->source = source;
  rms->min_ali_len_perc = min_ali_len_perc;

  return gs;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movsd %xmm3, 0x20(%rsp)
movsd %xmm2, 0x18(%rsp)
movsd %xmm1, 0x10(%rsp)
movl %r9d, 0x4(%rsp)
movl %r8d, (%rsp)
movl %ecx, %r14d
movsd %xmm0, 0x8(%rsp)
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbp
callq 0x1bca98
movq %rax, %rdi
xorl %esi, %esi
callq 0x10289f
movq %rax, %r13
callq 0x1bca98
movq %rax, %rdi
movq %r13, %rsi
callq 0x102c81
movq %rax, %rbx
movq %rbp, %rdi
callq 0x102934
movq %rax, 0x10(%rbx)
pushq $0x8
popq %rdi
callq 0x5809c
movq %rax, 0x18(%rbx)
movb $0x1, 0x60(%rbx)
movq 0x90(%rsp), %rax
movq %rax, 0x50(%rbx)
andq $0x0, 0x58(%rbx)
leaq -0xa3(%rip), %rsi       # 0x1bd3d8
pushq $0x1
popq %rdi
xorl %edx, %edx
callq 0x8f330
movq %rax, 0x20(%rbx)
movq %r12, 0x30(%rbx)
leaq 0x1a2754(%rip), %rax    # 0x35fbe8
movq %rax, 0x38(%rbx)
movq %r15, 0x48(%rbx)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x80(%rbx)
movb %r14b, 0x61(%rbx)
movl (%rsp), %eax
movl %eax, 0x64(%rbx)
movl 0x4(%rsp), %eax
movl %eax, 0x68(%rbx)
movl 0x60(%rsp), %eax
movl %eax, 0x6c(%rbx)
movl 0x68(%rsp), %eax
movl %eax, 0x70(%rbx)
movl 0x70(%rsp), %eax
movl %eax, 0x74(%rbx)
movl 0x78(%rsp), %eax
movl %eax, 0x78(%rbx)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x88(%rbx)
movsd 0x18(%rsp), %xmm0
movsd %xmm0, 0x90(%rbx)
movq 0x80(%rsp), %rax
movq %rax, 0xa0(%rbx)
movb 0x88(%rsp), %al
movb %al, 0x62(%rbx)
movq 0x98(%rsp), %rax
movq %rax, 0x40(%rbx)
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x98(%rbx)
movq %r13, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq