// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/tools/gt_condenseq_blast.c
// Function: gt_condenseq_blast_runner
static int gt_condenseq_blast_runner(GT_UNUSED int argc,
                                     GT_UNUSED const char **argv,
                                     GT_UNUSED int parsed_args,
                                     void *tool_arguments,
                                     GtError *err)
{
  int had_err = 0;

  GtCesBlastInfo info;
  GtCondenseqBlastQInfo qinfo = {GT_UNDEF_UWORD,
                                 GT_UNDEF_UWORD,
                                 GT_UNDEF_UWORD,
                                 GT_UNDEF_DOUBLE};

  GtFile          *gffout = NULL;
  GtMatchIterator *mp = NULL;
  GtStr           *coarse_fname = gt_str_new_cstr("coarse_");
  char            *db_basename;

  GtUword coarse_db_len = 0;
  double  eval;

  info.args = tool_arguments;
  info.ces = NULL;
  info.curr_hits = 0;
  info.err = err;
  info.fastaname = NULL;
  info.hits = NULL;
  info.hits_size = GT_CONDENSEQ_HITS_INIT_SIZE;
  info.logger = NULL;
  info.gff_node_visitor = NULL;
  info.querypath = gt_str_get(info.args->querypath);
  info.seqid = NULL;
  info.source = NULL;
  info.timer = NULL;

  gt_error_check(err);
  gt_assert(info.args != NULL);

  info.logger =
    gt_logger_new(gt_condenseq_search_arguments_verbose(info.args->csa),
                  GT_LOGGER_DEFLT_PREFIX, stderr);

  if (gt_showtime_enabled()) {
    info.timer = gt_timer_new_with_progress_description("initialization");
    gt_timer_start(info.timer);
  }

  if (gt_str_length(info.args->gff) != 0) {
    gffout = gt_file_new(gt_str_get(info.args->gff), "w", err);
    if (gffout == NULL)
      had_err = -1;
    if (!had_err) {
      info.gff_node_visitor = gt_gff3_visitor_new(gffout);
      gt_gff3_visitor_retain_id_attributes((GtGFF3Visitor*)
                                           info.gff_node_visitor);
    }
  }
  if (!had_err) {
    info.ces = gt_condenseq_search_arguments_read_condenseq(info.args->csa,
                                                            info.logger,
                                                            info.err);
    if (info.ces == NULL)
      had_err = -1;
  }

  if (!had_err) {
    db_basename = gt_condenseq_basefilename(info.ces);
    gt_str_append_cstr(coarse_fname, db_basename);
    gt_str_append_cstr(coarse_fname, ".fas");
    gt_free(db_basename);
    db_basename = NULL;
    info.fastaname = gt_condenseq_unique_fasta_file(info.ces);

    info.hits = gt_malloc(sizeof (*info.hits) * (size_t) info.hits_size);
  }

  if (!had_err) {
    had_err = gt_condenseq_blast_calc_query_stats(&info, &qinfo);
  }

  /*create BLAST database from compressed database fasta file*/
  if (!had_err) {
    GtUword namelength = gt_str_length(info.fastaname);
    if (info.timer != NULL)
      gt_timer_show_progress(info.timer, "create coarse BLAST db", stderr);
    if (info.args->blastn) {
      gt_ces_blast_create_db(nucl,"n");
    }
    else {
      gt_ces_blast_create_db(prot,"p");
    }
    gt_str_set_length(info.fastaname, namelength);
  }

  /* run coarse blast */
  if (!had_err) {
    had_err = gt_condenseq_blast_run_coarse(&info, qinfo);
  }

  if (!had_err && info.curr_hits == 0) {
    gt_error_set(err, "No hits found in coarse search");
    had_err = -1;
  }

  /*extract sequences*/
  if (!had_err) {
    GtCondenseqBlastPrintHitInfo pinfo;
    GtUword idx;
    GtFile *outfp = gt_file_new(gt_str_get(coarse_fname), "w", err);
    GtStr *orig_seqid = gt_str_new(),
          *coarse_seqid = gt_str_new();
    if (info.timer != NULL)
      gt_timer_show_progress(info.timer, "identify ranges", stderr);

    pinfo.ces = info.ces;
    pinfo.to_extract_rbt = gt_rbtree_new(gt_ces_blast_range_compare,
                                         gt_ces_blast_range_free,
                                         NULL);
    GT_INITARRAY(&pinfo.sorted, HitRange);
    pinfo.size = 0;

    gt_assert(info.hits != NULL);
    for (idx = 0; !had_err && idx < info.curr_hits; ++idx) {
      GtUword num_ranges =
        gt_condenseq_each_redundant_range(info.ces,
                                          info.hits[idx].uid,
                                          info.hits[idx].range,
                                          info.hits[idx].left_ex,
                                          info.hits[idx].right_ex,
                                          gt_condenseq_blast_process_hit,
                                          &pinfo, err);
      if (num_ranges == 0)
        had_err = -1;
    }
    if (!had_err) {
      GtRBTreeIter *iter = gt_rbtree_iter_new_from_first(pinfo.to_extract_rbt);
      GtArrayHitRange *gt_arr = &pinfo.sorted;
      HitRange *key;
      HitRange  *arr = NULL;
      GT_UNUSED GtUword joincount = 0;

      gt_log_log(GT_WU " elements in rbt",
                 (GtUword) gt_rbtree_size(pinfo.to_extract_rbt));
      key = gt_rbtree_iter_data(iter);
      while (key != NULL) {
        GtUword last = gt_arr->nextfreeHitRange - 1;
        arr = pinfo.sorted.spaceHitRange;
        if (gt_arr->nextfreeHitRange != 0 &&
            key->seqid == arr[last].seqid &&
            gt_range_overlap(&key->range, &arr[last].range)) {
          joincount++;
          arr[last].range = gt_range_join(&arr[last].range, &key->range);
        }
        else {
          GT_STOREINARRAY(gt_arr, HitRange, 128, *key);
        }
        key = gt_rbtree_iter_next(iter);
      }
      gt_log_log("joined " GT_WU, joincount);
      gt_rbtree_iter_delete(iter);
    }

    if (info.timer != NULL)
      gt_timer_show_progress(info.timer, "extract ranges", stderr);
    if (info.seqid == NULL)
      info.seqid = gt_str_new();
    if (info.source == NULL)
      info.source = gt_str_new_cstr("Extracted");

    for (idx = 0; !had_err && idx < pinfo.sorted.nextfreeHitRange; idx++) {
      GtRange current = pinfo.sorted.spaceHitRange[idx].range;
      GtUword len = gt_range_length(&current),
              seqid = pinfo.sorted.spaceHitRange[idx].seqid;
      gt_str_reset(coarse_seqid);
      gt_str_append_uword(coarse_seqid, seqid);
      gt_str_append_cstr(coarse_seqid, "|");
      gt_str_append_uword(coarse_seqid, current.start);
      gt_str_append_cstr(coarse_seqid, "|");
      gt_str_append_uword(coarse_seqid, current.end);
      gt_fasta_show_entry_nt(gt_str_get(coarse_seqid),
                             gt_str_length(coarse_seqid),
                             gt_condenseq_extract_decoded_range(info.ces,
                                                                current,
                                                                '\0'),
                             len, (GtUword) 100, outfp);
      coarse_db_len += len;
      if (info.gff_node_visitor != NULL) {
        GtGenomeNode *node;
        GtUword seqnum, desclen, seqstart;
        const char *desc;
        seqnum = gt_condenseq_pos2seqnum(info.ces,
                                         current.start);
        seqstart = gt_condenseq_seqstartpos(info.ces,
                                            seqnum);
        desc = gt_condenseq_description(info.ces,
                                        &desclen, seqnum);
        gt_str_reset(orig_seqid);
        gt_str_append_cstr_nt(orig_seqid, desc, desclen);
        node = gt_feature_node_new(orig_seqid, "experimental_feature",
                                   current.start + 1 - seqstart,
                                   current.end + 1 - seqstart,
                                   GT_STRAND_BOTH);
        gt_feature_node_set_source((GtFeatureNode *) node, info.source);
        gt_feature_node_set_attribute((GtFeatureNode *) node,
                                      "Name", "Fine Extract");
        had_err = gt_genome_node_accept(node, info.gff_node_visitor, info.err);
        gt_genome_node_delete(node);
      }
    }
    gt_str_delete(info.source);
    info.source = NULL;
    gt_file_delete(outfp);
    gt_rbtree_delete(pinfo.to_extract_rbt);
    GT_FREEARRAY(&pinfo.sorted, HitRange);
    gt_str_delete(coarse_seqid);
    gt_str_delete(orig_seqid);
  }

  /* create BLAST database from decompressed database file */
  if (!had_err) {
    if (info.timer != NULL)
      gt_timer_show_progress(info.timer, "create fine BLAST db", stderr);
    if (info.args->blastn)
      had_err =
        gt_condenseq_blast_create_blastdb_nucl(gt_str_get(coarse_fname));
    else
      had_err =
        gt_condenseq_blast_create_blastdb_prot(gt_str_get(coarse_fname));
  }
  /* perform fine BLAST search */
  if (!had_err) {
    GtBlastProcessCall *call;

    if (info.timer != NULL)
      gt_timer_show_progress(info.timer, "fine BLAST run", stderr);

    if (info.args->feval == GT_UNDEF_DOUBLE) {
      eval = qinfo.raw_eval * coarse_db_len;
    } else {
      eval = info.args->feval;
    }

    gt_assert(!gt_double_equals_double(eval, 0.0));
    if (info.args->blastp)
      call = gt_blast_process_call_new_prot();
    else
      call = gt_blast_process_call_new_nucl();

    gt_blast_process_call_set_db(call, gt_str_get(coarse_fname));
    gt_blast_process_call_set_query(call, info.querypath);
    gt_blast_process_call_set_evalue(call, eval);
    gt_blast_process_call_set_num_threads(call, info.args->blthreads);
    if (gt_str_length(info.args->extraopts) != 0) {
      GtStr *opt = gt_str_new_cstr("-");
      gt_str_append_str(opt, info.args->extraopts);
      gt_blast_process_call_set_opt(call, gt_str_get(opt));
    }

    gt_logger_log(info.logger, "Fine E-value set to: %.4e (len)" GT_WU, eval,
                  coarse_db_len);

    gt_log_log("Blast call: %s", gt_blast_process_call_get_call(call));
    mp = gt_match_iterator_blast_process_new(call, err);
    if (!mp)
      had_err = -1;

    gt_blast_process_call_delete(call);

    if (!had_err) {
      GtMatchIteratorStatus status;
      GtUword numofhits = 0;
      GtMatch *match;
      if (info.seqid == NULL)
        info.seqid = gt_str_new();
      if (info.source == NULL)
        info.source = gt_str_new_cstr("FineBlast");
      while (!had_err &&
             (status = gt_match_iterator_next(mp, &match, err)) ==
             GT_MATCHER_STATUS_OK) {
        GtMatchBlast *matchb = (GtMatchBlast*) match;
        GtRange range_seq1,
                range_seq2,
                orig_range_seq2;
        GtUword dbid, db_name_len, db_orig_startpos;
        const char *db_name;

        numofhits++;
        gt_match_get_range_seq1(match, &range_seq1);
        gt_match_get_range_seq2(match, &range_seq2);
        if (sscanf(gt_match_get_seqid2(match), GT_WU "|" GT_WU "|" GT_WU,
                   &dbid, &orig_range_seq2.start, &orig_range_seq2.end) != 3) {
          had_err = -1;
          gt_error_set(err, "couldn't parse %s", gt_match_get_seqid2(match));
        }
        db_name = gt_condenseq_description(info.ces, &db_name_len, dbid);
        db_orig_startpos = gt_condenseq_seqstartpos(info.ces, dbid);
        range_seq2.start += orig_range_seq2.start - db_orig_startpos;
        range_seq2.end += orig_range_seq2.start - db_orig_startpos;
        /* output like
           blast -outfmt 6 'qseqid sseqid pident length qstart qend sstart send
           evalue bitscore'
           */
        gt_file_xprintf(info.args->outfp,
                        "%s\t%.*s\t%.2f\t" GT_WU "\t" GT_WU "\t" GT_WU "\t"
                        GT_WU "\t" GT_WU "\t%g\t%.3f\n",
                        gt_match_get_seqid1(match),
                        (int) db_name_len, db_name,
                        gt_match_blast_get_similarity(matchb),
                        gt_match_blast_get_align_length(matchb),
                        range_seq1.start,
                        range_seq1.end,
                        range_seq2.start,
                        range_seq2.end,
                        gt_match_blast_get_evalue(matchb),
                        (double) gt_match_blast_get_bitscore(matchb));
        if (info.gff_node_visitor != NULL) {
          GtGenomeNode *node;
          GtStrand strand = gt_match_get_direction(match) == GT_MATCH_DIRECT ?
            GT_STRAND_FORWARD : GT_STRAND_REVERSE;
          gt_str_reset(info.seqid);
          gt_str_append_cstr_nt(info.seqid, db_name, db_name_len);
          node = gt_feature_node_new(info.seqid, "match", range_seq2.start,
                                     range_seq2.end, strand);
          gt_feature_node_set_source((GtFeatureNode *) node, info.source);
          gt_feature_node_set_attribute((GtFeatureNode *) node,
                                        "Name", "Fine Hit");
          had_err = gt_genome_node_accept(node,
                                          info.gff_node_visitor,
                                          info.err);
          gt_genome_node_delete(node);
        }
        gt_match_delete(match);
      }
      gt_str_delete(info.source);
      info.source = NULL;
      if (!had_err && status == GT_MATCHER_STATUS_ERROR) {
        had_err = -1;
      }
      gt_log_log(GT_WU " hits found\n", numofhits);
    }
    gt_match_iterator_delete(mp);
  }

  gt_condenseq_delete(info.ces);

  if (!had_err)
    if (info.timer != NULL)
      gt_timer_show_progress_final(info.timer, stderr);
  gt_timer_delete(info.timer);

  /*cleanup*/
  gt_file_delete(gffout);
  gt_free(info.hits);
  gt_node_visitor_delete(info.gff_node_visitor);
  gt_str_delete(info.fastaname);
  gt_str_delete(info.seqid);

  gt_str_delete(coarse_fname);
  gt_logger_delete(info.logger);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp            # imm = 0x188
movq %r8, %rbp
movq %rcx, %rbx
movups 0x2ca582(%rip), %xmm0   # 0x2e8550
movaps %xmm0, 0x160(%rsp)
movupd 0x2ca562(%rip), %xmm0   # 0x2e8540
movapd %xmm0, 0x150(%rsp)
leaq 0x2ca084(%rip), %rdi    # 0x2e8072
callq 0xacbd1
movq %rax, %r14
movq 0x18(%rbx), %rdi
callq 0xad1fa
movq %rax, %r13
testq %rbp, %rbp
je 0x1e017
movq %rbp, %rdi
callq 0x89eb7
testb %al, %al
jne 0x1f4c8
movq 0x10(%rbx), %rdi
callq 0xc6da7
movq 0x419f41(%rip), %r15    # 0x437f68
movq (%r15), %rdx
movzbl %al, %edi
leaq 0x2c88a0(%rip), %rsi    # 0x2e68d4
callq 0x92b50
movq %rax, 0xc8(%rsp)
callq 0xaaf34
testb %al, %al
je 0x1e065
leaq 0x2da0ba(%rip), %rdi    # 0x2f810b
callq 0xaf4a5
movq %rax, 0x20(%rsp)
movq %rax, %rdi
callq 0xaf4d6
jmp 0x1e06e
movq $0x0, 0x20(%rsp)
movq 0x20(%rbx), %rdi
callq 0xad289
pushq $-0x1
popq %rcx
movl %ecx, 0x60(%rsp)
testq %rax, %rax
je 0x1e0c7
movq 0x20(%rbx), %rdi
callq 0xad1fa
leaq 0x31587b(%rip), %rsi    # 0x33390e
movq %rax, %rdi
movq %rbp, %rdx
callq 0x8ce05
testq %rax, %rax
je 0x1e1d5
movq %rax, %r12
movq %r13, 0xb8(%rsp)
movq %rax, %rdi
callq 0xe64a1
movq %rax, %r13
movq %rax, %rdi
callq 0xe65ab
jmp 0x1e0d5
movq %r13, 0xb8(%rsp)
xorl %r13d, %r13d
xorl %r12d, %r12d
movq 0x10(%rbx), %rdi
movq 0xc8(%rsp), %rsi
movq %rbp, %rdx
callq 0xc6d80
testq %rax, %rax
je 0x1e1c5
movq %r12, 0x88(%rsp)
movq %rax, %rdi
movq %rbx, 0x108(%rsp)
movq %rax, %rbx
callq 0xc23dd
movq %rax, %r15
movq %r14, %rdi
movq %rax, %rsi
callq 0xacbfb
leaq 0x3422f0(%rip), %rsi    # 0x360412
movq %r14, %rdi
callq 0xacbfb
leaq 0x2c9bf7(%rip), %r12    # 0x2e7d28
movq %r15, %rdi
movq %r12, %rsi
movl $0x270, %edx            # imm = 0x270
callq 0x936f9
movq %rbx, 0x30(%rsp)
movq %rbx, %rdi
movq 0x108(%rsp), %rbx
callq 0xc241c
movq %rax, 0xc0(%rsp)
movl $0xfa0, %edi            # imm = 0xFA0
movq %r12, %rsi
movl $0x274, %edx            # imm = 0x274
callq 0x93160
movq %rax, 0x28(%rsp)
xorpd %xmm0, %xmm0
leaq 0x150(%rsp), %r15
movapd %xmm0, (%r15)
movapd %xmm0, 0x10(%r15)
movq 0x18(%rbx), %rdi
callq 0x8cb01
movq %rax, %r12
leaq 0x1755(%rip), %rcx      # 0x1f8f4
movq %rax, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %r8
movq %rbp, %r9
callq 0x8c53c
movl %eax, %r15d
testl %eax, %eax
je 0x1e1f2
movq %r12, %rdi
callq 0x8c4d2
jmp 0x1e2c3
movq $0x0, 0xc0(%rsp)
xorl %edi, %edi
jmp 0x1e1e9
xorl %r12d, %r12d
movq $0x0, 0xc0(%rsp)
xorl %edi, %edi
xorl %r13d, %r13d
xorl %ebx, %ebx
xorl %ebp, %ebp
jmp 0x1e2e3
movq 0x150(%rsp), %rax
movq 0x160(%rsp), %rsi
xorl %edx, %edx
divq %rsi
movsd 0x30(%rbx), %xmm0
movaps %xmm0, 0x40(%rsp)
movq %rax, 0x150(%rsp)
leaq 0x2ca070(%rip), %rdi    # 0x2e8290
movq %rax, %rdx
xorl %eax, %eax
callq 0x92a82
movapd 0x40(%rsp), %xmm1
unpcklps 0x2c96a9(%rip), %xmm1   # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x2c96b1(%rip), %xmm1   # 0x2e78f0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
callq 0x176d0
movsd 0x2c7fd0(%rip), %xmm1   # 0x2e6228
divsd %xmm0, %xmm1
movsd 0x150(%rsp), %xmm2
unpcklps 0x2c9674(%rip), %xmm2   # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1]
subpd 0x2c967c(%rip), %xmm2   # 0x2e78f0
movapd %xmm2, %xmm0
unpckhpd %xmm2, %xmm0            # xmm0 = xmm0[1],xmm2[1]
addsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, 0x168(%rsp)
leaq 0x2ca01d(%rip), %rsi    # 0x2e82b1
movq 0xc8(%rsp), %rdi
movb $0x1, %al
callq 0x92e71
cmpq $0x0, 0x150(%rsp)
je 0x1f55b
movq %r12, %rdi
callq 0x8c4d2
testl %r15d, %r15d
je 0x1e374
xorl %ebp, %ebp
movl %r15d, 0x60(%rsp)
movq 0x419c97(%rip), %r15    # 0x437f68
movq 0x88(%rsp), %r12
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rbx
callq 0xc1b0c
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1e30b
cmpl $0x0, 0x60(%rsp)
jne 0x1e30b
movq (%r15), %rsi
movq 0x20(%rsp), %rdi
callq 0xafb49
movq 0x20(%rsp), %rdi
callq 0xafc5b
movq %r12, %rdi
callq 0x8da06
leaq 0x2c9a09(%rip), %rsi    # 0x2e7d28
movq %rbx, %rdi
movl $0x38b, %edx            # imm = 0x38B
callq 0x936f9
movq %r13, %rdi
callq 0x10327a
movq 0xc0(%rsp), %rdi
callq 0xae103
movq %rbp, %rdi
callq 0xae103
movq %r14, %rdi
callq 0xae103
movq 0xc8(%rsp), %rdi
callq 0x92fd0
movl 0x60(%rsp), %eax
addq $0x188, %rsp            # imm = 0x188
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xc0(%rsp), %r12
movq %r12, %rdi
callq 0xad289
movq %rax, %r15
cmpq $0x0, 0x20(%rsp)
je 0x1e3aa
movq 0x419bd2(%rip), %rax    # 0x437f68
movq (%rax), %rdx
leaq 0x2c9cf4(%rip), %rsi    # 0x2e8094
movq 0x20(%rsp), %rdi
callq 0xaf86f
cmpb $0x1, 0x4d(%rbx)
jne 0x1e434
leaq 0x2c9cf0(%rip), %rsi    # 0x2e80ab
movq %r12, %rdi
callq 0xacbfb
cmpb $0x0, 0x4e(%rbx)
jne 0x1e3e1
movq %r12, %rdi
callq 0xad1fa
movq %rax, %rdi
callq 0x8da98
testb %al, %al
jne 0x1e492
movq %r12, %rdi
movq %r15, %rsi
callq 0xad296
leaq 0x2c9cbd(%rip), %rsi    # 0x2e80b0
movq %r12, %rdi
callq 0xacbfb
movb 0x4e(%rbx), %al
testb %al, %al
jne 0x1e419
movq %r12, %rdi
callq 0xad1fa
movq %rax, %rdi
callq 0x8da98
testb %al, %al
jne 0x1e492
movb 0x4e(%rbx), %al
testb $0x1, %al
je 0x1e4a2
leaq 0x2c9c8d(%rip), %rdi    # 0x2e80b5
xorl %eax, %eax
callq 0x92a82
jmp 0x1e4bb
leaq 0x2c9cab(%rip), %rsi    # 0x2e80e6
movq %r12, %rdi
callq 0xacbfb
cmpb $0x0, 0x4e(%rbx)
jne 0x1e45d
movq %r12, %rdi
callq 0xad1fa
movq %rax, %rdi
callq 0x8da98
testb %al, %al
jne 0x1e492
movq %r12, %rdi
movq %r15, %rsi
callq 0xad296
leaq 0x2c9c7c(%rip), %rsi    # 0x2e80eb
movq %r12, %rdi
callq 0xacbfb
movb 0x4e(%rbx), %al
testb %al, %al
jne 0x1e4c7
movq %r12, %rdi
callq 0xad1fa
movq %rax, %rdi
callq 0x8da98
testb %al, %al
je 0x1e4c4
movq %r12, %rdi
movq %r15, %rsi
callq 0xad296
jmp 0x1e54f
movq %r12, %rdi
callq 0xad1fa
leaq 0x2c9c19(%rip), %rdi    # 0x2e80ca
movq %rax, %rsi
xorl %eax, %eax
callq 0x92a82
leaq 0x2f9c17(%rip), %rax    # 0x3180d9
jmp 0x1e4fb
movb 0x4e(%rbx), %al
testb $0x1, %al
je 0x1e4db
leaq 0x2c9be3(%rip), %rdi    # 0x2e80b5
xorl %eax, %eax
callq 0x92a82
jmp 0x1e4f4
movq %r12, %rdi
callq 0xad1fa
leaq 0x2c9be0(%rip), %rdi    # 0x2e80ca
movq %rax, %rsi
xorl %eax, %eax
callq 0x92a82
leaq 0x2cfc60(%rip), %rax    # 0x2ee15b
movq %rax, 0x40(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xad296
movq %r12, %rdi
callq 0xad1fa
movq %rax, %rdi
movq 0x40(%rsp), %rsi
movq %rbp, %rdx
callq 0x1f644
movl %eax, 0x40(%rsp)
movq %r12, %rdi
movq %r15, %rsi
callq 0xad296
cmpl $0x0, 0x40(%rsp)
movq 0x88(%rsp), %r12
je 0x1e54f
xorl %ebp, %ebp
movq 0x419a1e(%rip), %r15    # 0x437f68
jmp 0x1e2d9
movq 0x150(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x158(%rsp), %rax
movq %rax, 0x130(%rsp)
cmpq $0x0, 0x20(%rsp)
movq 0x4199ef(%rip), %rax    # 0x437f68
je 0x1e58f
movq (%rax), %rdx
leaq 0x2c9e69(%rip), %rsi    # 0x2e83ee
movq 0x20(%rsp), %rdi
callq 0xaf86f
cmpb $0x1, 0x4c(%rbx)
jne 0x1e59c
callq 0xbd012
jmp 0x1e5a1
callq 0xbcfce
movq %rax, %r12
movq 0xc0(%rsp), %rdi
callq 0xad1fa
movq %r12, %rdi
movq %rax, %rsi
callq 0xbd0af
movq %r12, %rdi
movq 0xb8(%rsp), %rsi
callq 0xbd034
movsd 0x38(%rbx), %xmm0
movq %r12, %rdi
callq 0xbd12c
movl 0x48(%rbx), %esi
movq %r12, %rdi
callq 0xbd47f
movsd 0x38(%rbx), %xmm0
leaq 0x2c9e0f(%rip), %rsi    # 0x2e83ff
movq 0xc8(%rsp), %rdi
movb $0x1, %al
callq 0x92e71
movq %r12, %rdi
callq 0xbd885
leaq 0x2c9c08(%rip), %rdi    # 0x2e8216
xorl %r15d, %r15d
movq %rax, %rsi
xorl %eax, %eax
callq 0x92a82
movq %r12, %rdi
movq %rbp, %rsi
callq 0xfc86f
movq %rax, 0x98(%rsp)
cmpq $0x1, %rax
sbbl %r15d, %r15d
movq %r12, %rdi
callq 0xbd88d
cmpq $0x0, 0x20(%rsp)
je 0x1e660
movq 0x41991c(%rip), %rax    # 0x437f68
movq (%rax), %rdx
leaq 0x2c9dc5(%rip), %rsi    # 0x2e841b
movq 0x20(%rsp), %rdi
callq 0xaf86f
movq %r14, 0x148(%rsp)
cmpq $0x0, 0x28(%rsp)
je 0x1f5b7
callq 0xacb84
movq %rax, 0x38(%rsp)
leaq 0x2c9ddf(%rip), %rdi    # 0x2e8464
callq 0xacbd1
movq %rax, 0x120(%rsp)
movq 0x60(%rsp), %rax
shrq %rax
movq %rax, 0x60(%rsp)
addq %rax, 0x130(%rsp)
pushq $0x64
popq %r14
movq $0x0, 0x40(%rsp)
xorl %ebx, %ebx
movq %r13, 0xa0(%rsp)
movq %rbp, 0x58(%rsp)
testl %r15d, %r15d
jne 0x1e997
movq 0x98(%rsp), %rdi
leaq 0x110(%rsp), %rsi
movq %rbp, %rdx
callq 0xfc67d
testl %eax, %eax
jne 0x1e99c
movq 0x110(%rsp), %r15
movq %r15, %rdi
callq 0xfbdf0
movq %rax, %rbp
movq %rax, %rdi
pushq $0x65
popq %rsi
callq 0x17260
leaq 0x1(%rax), %r13
testq %rax, %rax
cmoveq %rbp, %r13
leaq 0x70(%rsp), %r12
movq %r12, %rdi
movq %r13, %rsi
callq 0x9bd05
testl %eax, %eax
je 0x1e746
movq %r13, %rdi
leaq 0x3287b1(%rip), %rsi    # 0x346ee4
movq %r12, %rdx
xorl %eax, %eax
callq 0x177b0
cmpl $0x1, %eax
jne 0x1e854
cmpq %r14, 0x40(%rsp)
jne 0x1e7b8
movq %r14, %xmm0
punpckldq 0x2c9186(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x2c918e(%rip), %xmm0   # 0x2e78f0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
mulsd 0x2c95a2(%rip), %xmm1   # 0x2e7d18
cvttsd2si %xmm1, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x2c9596(%rip), %xmm1   # 0x2e7d20
cvttsd2si %xmm1, %r14
andq %rcx, %r14
orq %rax, %r14
addq $0xa, %r14
imulq $0x28, %r14, %rsi
movq 0x28(%rsp), %rdi
leaq 0x2c957f(%rip), %rdx    # 0x2e7d28
movl $0x1ad, %ecx            # imm = 0x1AD
callq 0x93472
movq %rax, %r12
jmp 0x1e7bd
movq 0x28(%rsp), %r12
imulq $0x28, 0x40(%rsp), %rbp
leaq (%r12,%rbp), %r13
movq %r15, %rdi
movq %r13, %rsi
callq 0xfbe82
movq %r15, %rdi
leaq 0xd0(%rsp), %rsi
callq 0xfbe37
movq 0xd0(%rsp), %rax
addq 0x60(%rsp), %rax
movq %rax, 0x18(%r12,%rbp)
movq 0x130(%rsp), %rax
subq 0xd8(%rsp), %rax
movq %rax, 0x20(%r12,%rbp)
movq 0x70(%rsp), %rax
movq %rax, 0x10(%r12,%rbp)
movq %r12, 0x28(%rsp)
movq (%r12,%rbp), %rax
testq %rax, %rax
je 0x1f4f9
movq 0x8(%r13), %rcx
testq %rcx, %rcx
movq 0x20(%rsp), %rdx
movq 0x58(%rsp), %rbp
je 0x1f52a
decq %rax
movq %rax, (%r13)
decq %rcx
movq %rcx, 0x8(%r13)
incq 0x40(%rsp)
xorl %r15d, %r15d
jmp 0x1e876
movq 0x58(%rsp), %rbp
movq %rbp, %rdi
leaq 0x2c9c2c(%rip), %rsi    # 0x2e848f
movq %r13, %rdx
xorl %eax, %eax
callq 0x89dbb
pushq $-0x1
popq %r15
movq 0x20(%rsp), %rdx
movq %rdx, 0x20(%rsp)
movq 0xa0(%rsp), %r13
testq %r13, %r13
je 0x1e982
imulq $0x28, 0x40(%rsp), %rax
movq 0x28(%rsp), %rcx
movupd -0x28(%rcx,%rax), %xmm0
movapd %xmm0, 0xd0(%rsp)
movq -0x18(%rcx,%rax), %rsi
movq 0x30(%rsp), %rbp
movq %rbp, %rdi
leaq 0xd0(%rsp), %rdx
callq 0xc3a1b
movq %rax, %r13
movq 0x110(%rsp), %rdi
callq 0xfbfc3
xorl %r15d, %r15d
testl %eax, %eax
setne %r15b
movq 0x38(%rsp), %r12
movq %r12, %rdi
callq 0xad357
movq %rbp, %rdi
movq 0x58(%rsp), %rbp
leaq 0x70(%rsp), %rsi
movq %r13, %rdx
callq 0xc11fb
movq 0x70(%rsp), %rdx
movq %r12, %rdi
movq %rax, %rsi
callq 0xacd9e
movq 0xd0(%rsp), %rdx
movq 0xd8(%rsp), %rcx
incq %rdx
incq %rcx
movq %r12, %rdi
leaq 0x3086cd(%rip), %rsi    # 0x326ff8
movl %r15d, %r8d
callq 0xd9acb
movq %rax, %r13
movq %rax, %rdi
movq 0x120(%rsp), %rsi
callq 0xd96be
movq %r13, %rdi
leaq 0x323a8e(%rip), %rsi    # 0x3423de
leaq 0x2c9b19(%rip), %rdx    # 0x2e8470
callq 0xda48b
movq %r13, %rdi
movq 0xa0(%rsp), %rsi
movq %rbp, %rdx
callq 0xdd39c
movl %eax, %r15d
movq %r13, %rdi
movq 0xa0(%rsp), %r13
callq 0xde013
movq 0x110(%rsp), %rdi
callq 0xfc005
incq %rbx
jmp 0x1e6c3
xorl %r14d, %r14d
jmp 0x1e99f
movl %eax, %r14d
leaq 0x2c9ad5(%rip), %rdi    # 0x2e847b
movq %rbx, %rsi
xorl %eax, %eax
callq 0x92a82
movq 0x120(%rsp), %rdi
callq 0xae103
xorl $0x2, %r14d
orl %r15d, %r14d
pushq $-0x1
popq %rax
movl %eax, 0x60(%rsp)
cmovel %eax, %r15d
movq 0x98(%rsp), %rdi
callq 0xfc715
testl %r15d, %r15d
sete %al
cmpq $0x0, 0x40(%rsp)
sete %cl
andb %al, %cl
cmpb $0x1, %cl
movq 0x148(%rsp), %r14
jne 0x1ea1c
leaq 0x2c96ef(%rip), %rsi    # 0x2e80f0
movq %rbp, %rdi
xorl %eax, %eax
callq 0x89dbb
movq 0x419556(%rip), %r15    # 0x437f68
movq 0x88(%rsp), %r12
jmp 0x1ea35
testl %r15d, %r15d
movq 0x88(%rsp), %r12
je 0x1ea49
movl %r15d, 0x60(%rsp)
movq 0x419533(%rip), %r15    # 0x437f68
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rbx
movq 0x38(%rsp), %rbp
jmp 0x1e2e3
movq %r14, %rdi
callq 0xad1fa
leaq 0x314eb6(%rip), %rsi    # 0x33390e
movq %rax, %rdi
movq %rbp, %rdx
callq 0x8ce05
movq %rax, 0x120(%rsp)
callq 0xacb84
movq %rax, 0xb0(%rsp)
callq 0xacb84
movq %rax, 0x130(%rsp)
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1eaa5
movq 0x4194d2(%rip), %rax    # 0x437f68
movq (%rax), %rdx
leaq 0x2c966f(%rip), %rsi    # 0x2e810f
callq 0xaf86f
movq 0x30(%rsp), %rax
movq %rax, 0xd0(%rsp)
leaq 0xcf5(%rip), %rdi       # 0x1f7ae
leaq 0xd5f(%rip), %rsi       # 0x1f81f
xorl %r15d, %r15d
xorl %edx, %edx
callq 0x106594
movq %rax, 0xf0(%rsp)
andq $0x0, 0xf8(%rsp)
andq $0x0, 0xe8(%rsp)
xorpd %xmm0, %xmm0
movupd %xmm0, 0xd8(%rsp)
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x1f5ef
leaq 0x20(%rax), %r14
leaq 0xd26(%rip), %r13       # 0x1f830
xorl %ebp, %ebp
testl %r15d, %r15d
jne 0x1eb66
cmpq 0x40(%rsp), %rbp
jae 0x1eb66
movq -0x10(%r14), %rsi
movq -0x8(%r14), %r8
movq (%r14), %r9
movq -0x20(%r14), %rdx
movq -0x18(%r14), %rcx
movq 0x58(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0xd0(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r13, (%rsp)
movq 0x30(%rsp), %rdi
callq 0xc2fc6
cmpq $0x1, %rax
movl $0x0, %r15d
sbbl %r15d, %r15d
incq %rbp
addq $0x28, %r14
jmp 0x1eb0c
testl %r15d, %r15d
movq 0x20(%rsp), %rax
movq 0x58(%rsp), %rbp
movq %rax, 0x20(%rsp)
jne 0x1ece2
movq 0xf0(%rsp), %rdi
callq 0x107a70
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
callq 0x107082
leaq 0x2c958f(%rip), %rdi    # 0x2e8131
movq $0x0, 0x40(%rsp)
movq %rax, %rsi
xorl %eax, %eax
callq 0x92a82
movq %rbx, %r12
movq %rbx, %rdi
callq 0x107d59
movq %rax, %r13
testq %rax, %rax
je 0x1ecbd
movq 0xe8(%rsp), %rax
testq %rax, %rax
je 0x1ec27
movq 0xd8(%rsp), %rbx
movq 0x10(%r13), %rcx
imulq $0x18, %rax, %r14
cmpq -0x8(%rbx,%r14), %rcx
jne 0x1ec33
leaq (%rbx,%r14), %rsi
addq $-0x18, %rsi
movq %r13, %rdi
movq %rsi, %rbp
callq 0xa3234
testb %al, %al
je 0x1ec2b
addq %r14, %rbx
incq 0x40(%rsp)
movq %rbp, %rdi
movq %r13, %rsi
callq 0xa33f9
movq %rax, -0x18(%rbx)
movq %rdx, -0x10(%rbx)
jmp 0x1ecb0
xorl %eax, %eax
jmp 0x1ec33
movq 0xe8(%rsp), %rax
movq 0xe0(%rsp), %rcx
cmpq %rcx, %rax
jae 0x1ec4a
movq 0xd8(%rsp), %rax
jmp 0x1ec7b
subq $-0x80, %rcx
movq %rcx, 0xe0(%rsp)
movq 0xd8(%rsp), %rdi
imulq $0x18, %rcx, %rsi
leaq 0x2c90bf(%rip), %rdx    # 0x2e7d28
movl $0x2c5, %ecx            # imm = 0x2C5
callq 0x93472
movq %rax, 0xd8(%rsp)
testq %rax, %rax
je 0x1f589
movq 0xe8(%rsp), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0xe8(%rsp)
imulq $0x18, %rcx, %rcx
movq 0x10(%r13), %rdx
movq %rdx, 0x10(%rax,%rcx)
movupd (%r13), %xmm0
movupd %xmm0, (%rax,%rcx)
movq %r12, %rdi
callq 0x107c2f
jmp 0x1ebc0
leaq 0x2c94a1(%rip), %rdi    # 0x2e8165
movq 0x40(%rsp), %rsi
xorl %eax, %eax
callq 0x92a82
movq %r12, %rdi
callq 0x107da8
movq 0x20(%rsp), %rax
movq 0x58(%rsp), %rbp
testq %rax, %rax
je 0x1ed02
movq 0x41927a(%rip), %rax    # 0x437f68
movq (%rax), %rdx
leaq 0x2c9478(%rip), %rsi    # 0x2e8170
movq 0x20(%rsp), %rdi
callq 0xaf86f
cmpq $0x0, 0x38(%rsp)
jne 0x1ed14
callq 0xacb84
movq %rax, 0x38(%rsp)
leaq 0x2c9464(%rip), %rdi    # 0x2e817f
callq 0xacbd1
movq %rax, 0xa8(%rsp)
xorl %r14d, %r14d
xorl %eax, %eax
xorl %ebx, %ebx
testl %r15d, %r15d
movq %rbx, 0x40(%rsp)
jne 0x1ef18
cmpq 0xe8(%rsp), %rax
jae 0x1ef18
movq %rax, 0x98(%rsp)
movq 0xd8(%rsp), %rax
movupd (%rax,%r14), %xmm0
movapd %xmm0, 0x70(%rsp)
leaq 0x70(%rsp), %rdi
callq 0xa31ee
movq %rax, %r13
movq 0xd8(%rsp), %rax
movq 0x10(%rax,%r14), %r15
movq 0x130(%rsp), %rbx
movq %rbx, %rdi
callq 0xad357
movq %rbx, %rdi
movq %r15, %rsi
callq 0xace26
movq %rbx, %rdi
leaq 0x2fcf03(%rip), %r15    # 0x31bca9
movq %r15, %rsi
callq 0xacbfb
movq 0x70(%rsp), %rsi
movq %rbx, %rdi
callq 0xace26
movq %rbx, %rdi
movq %r15, %rsi
callq 0xacbfb
movq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0xace26
movq %rbx, %rdi
callq 0xad1fa
movq %rax, %rbp
movq %rbx, %rdi
callq 0xad289
movq %rax, %rbx
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
xorl %r15d, %r15d
movq 0x30(%rsp), %r12
movq %r12, %rdi
xorl %ecx, %ecx
callq 0xc2df6
movq %rbp, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq %r13, %rcx
pushq $0x64
popq %r8
movq 0x120(%rsp), %r9
callq 0x8c186
movq 0xa0(%rsp), %rbp
testq %rbp, %rbp
je 0x1eef7
movq 0x70(%rsp), %rsi
movq %r12, %rdi
callq 0xc1180
movq %rax, %rbx
movq %r12, %rdi
movq %rax, %rsi
callq 0xc1196
movq %rax, %r15
movq %r12, %rdi
leaq 0x110(%rsp), %rsi
movq %rbx, %rdx
callq 0xc11fb
movq %rax, %rbx
movq 0xb0(%rsp), %r12
movq %r12, %rdi
callq 0xad357
movq 0x110(%rsp), %rdx
movq %r12, %rdi
movq %rbx, %rsi
callq 0xacd9e
movq 0x70(%rsp), %rdx
movq 0x78(%rsp), %rcx
subq %r15, %rdx
incq %rdx
subq %r15, %rcx
incq %rcx
movq %r12, %rdi
leaq 0x2c92df(%rip), %rsi    # 0x2e8189
pushq $0x2
popq %r8
callq 0xd9acb
movq %rax, %rbx
movq %rax, %rdi
movq 0xa8(%rsp), %rsi
callq 0xd96be
movq %rbx, %rdi
leaq 0x32350e(%rip), %rsi    # 0x3423de
leaq 0x2c92c7(%rip), %rdx    # 0x2e819e
callq 0xda48b
movq %rbx, %rdi
movq %rbp, %rsi
movq 0x58(%rsp), %rdx
callq 0xdd39c
movl %eax, %r15d
movq %rbx, %rdi
callq 0xde013
movq 0x40(%rsp), %rbx
addq %r13, %rbx
movq 0x98(%rsp), %rax
incq %rax
addq $0x18, %r14
movq 0x58(%rsp), %rbp
jmp 0x1ed2f
movq 0xa8(%rsp), %rdi
callq 0xae103
movq 0x120(%rsp), %rdi
callq 0x8da06
movq 0xf0(%rsp), %rdi
callq 0x10660a
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x1ef72
leaq 0x2c8dd5(%rip), %rsi    # 0x2e7d28
movl $0x300, %edx            # imm = 0x300
callq 0x936f9
xorpd %xmm0, %xmm0
leaq 0xd8(%rsp), %rax
movupd %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movq 0x130(%rsp), %rdi
callq 0xae103
movq 0xb0(%rsp), %rdi
callq 0xae103
testl %r15d, %r15d
movq 0x148(%rsp), %r14
movq 0xa0(%rsp), %r13
je 0x1efab
movl %r15d, 0x60(%rsp)
jmp 0x1ea0b
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
movq 0x418fae(%rip), %r15    # 0x437f68
je 0x1efcb
movq (%r15), %rdx
leaq 0x2c91e5(%rip), %rsi    # 0x2e81ab
callq 0xaf86f
leaq 0x2f9107(%rip), %rax    # 0x3180d9
leaq 0x2cf182(%rip), %rbx    # 0x2ee15b
movq 0x108(%rsp), %rcx
cmpb $0x0, 0x4d(%rcx)
cmovneq %rax, %rbx
movq %r14, %rdi
callq 0xad1fa
movq %rax, %rdi
movq %rbx, %rsi
movq %rbp, %rdx
callq 0x1f644
testl %eax, %eax
movq 0x88(%rsp), %r12
jne 0x1ea35
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1f028
movq (%r15), %rdx
leaq 0x2c919d(%rip), %rsi    # 0x2e81c0
callq 0xaf86f
movsd 0x40(%rsp), %xmm0
unpcklps 0x2c88ab(%rip), %xmm0   # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x2c88b3(%rip), %xmm0   # 0x2e78f0
movq 0x108(%rsp), %rbx
movsd 0x40(%rbx), %xmm1
movapd %xmm0, %xmm2
unpckhpd %xmm0, %xmm2            # xmm2 = xmm2[1],xmm0[1]
addsd %xmm0, %xmm2
mulsd 0x168(%rsp), %xmm2
movsd 0x2c8ca9(%rip), %xmm0   # 0x2e7d10
cmpeqsd %xmm1, %xmm0
movapd %xmm0, %xmm3
andnpd %xmm1, %xmm3
andpd %xmm2, %xmm0
orpd %xmm3, %xmm0
xorpd %xmm1, %xmm1
movapd %xmm0, 0x60(%rsp)
callq 0x955a5
testb %al, %al
jne 0x1f61d
cmpb $0x1, 0x4c(%rbx)
jne 0x1f0a0
callq 0xbd012
jmp 0x1f0a5
callq 0xbcfce
movq %rax, %r15
movq %r14, %rdi
callq 0xad1fa
movq %r15, %rdi
movq %rax, %rsi
callq 0xbd0af
movq %r15, %rdi
movq 0xb8(%rsp), %rsi
callq 0xbd034
movq %r15, %rdi
movaps 0x60(%rsp), %xmm0
callq 0xbd12c
movl 0x48(%rbx), %esi
movq %r15, %rdi
callq 0xbd47f
movq 0x28(%rbx), %rdi
callq 0xad289
testq %rax, %rax
je 0x1f122
leaq 0x3490b2(%rip), %rdi    # 0x3681aa
callq 0xacbd1
movq %rbx, %rcx
movq %rax, %rbx
movq 0x28(%rcx), %rsi
movq %rax, %rdi
callq 0xacd13
movq %rbx, %rdi
callq 0xad1fa
movq %r15, %rdi
movq %rax, %rsi
callq 0xbd691
leaq 0x2c90ca(%rip), %rsi    # 0x2e81f3
movq 0xc8(%rsp), %rdi
movaps 0x60(%rsp), %xmm0
movq 0x40(%rsp), %rdx
movb $0x1, %al
callq 0x92e71
movq %r15, %rdi
callq 0xbd885
leaq 0x2c90c5(%rip), %rdi    # 0x2e8216
movq %rax, %rsi
xorl %eax, %eax
callq 0x92a82
movq %r15, %rdi
movq %rbp, %rsi
callq 0xfc86f
movq %rax, %rbx
movq %r15, %rdi
callq 0xbd88d
movq %rbx, 0xb0(%rsp)
testq %rbx, %rbx
je 0x1f45d
movq 0x38(%rsp), %rax
testq %rax, %rax
movq 0x418dd7(%rip), %r15    # 0x437f68
jne 0x1f198
callq 0xacb84
movq %rax, 0x38(%rsp)
leaq 0x2c9081(%rip), %rdi    # 0x2e8225
callq 0xacbd1
movq %rax, 0xa8(%rsp)
xorl %r14d, %r14d
xorl %ebx, %ebx
xorl %ebp, %ebp
testl %ebp, %ebp
jne 0x1f470
movq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
movq 0x58(%rsp), %rdx
callq 0xfc67d
testl %eax, %eax
jne 0x1f46d
movq %rbx, 0x60(%rsp)
movq 0x90(%rsp), %r15
movq %r15, %rdi
leaq 0xd0(%rsp), %rsi
callq 0xfbe37
movq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0xfbe82
movq 0x90(%rsp), %rdi
callq 0xfbdf0
xorl %ebp, %ebp
movq %rax, %rdi
leaq 0x2c9005(%rip), %rsi    # 0x2e822f
leaq 0x180(%rsp), %rdx
leaq 0x110(%rsp), %rcx
leaq 0x118(%rsp), %r8
xorl %eax, %eax
callq 0x177b0
cmpl $0x3, %eax
je 0x1f274
movq 0x90(%rsp), %rdi
callq 0xfbdf0
movq 0x58(%rsp), %rdi
leaq 0x2c8fd4(%rip), %rsi    # 0x2e823b
movq %rax, %rdx
xorl %eax, %eax
callq 0x89dbb
pushq $-0x1
popq %rbp
movq 0x180(%rsp), %rdx
movq 0x30(%rsp), %rbx
movq %rbx, %rdi
leaq 0x178(%rsp), %rsi
callq 0xc11fb
movq %rax, %r14
movq 0x180(%rsp), %rsi
movq %rbx, %rdi
callq 0xc1196
movq 0x110(%rsp), %rcx
subq %rax, %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
paddq 0x70(%rsp), %xmm0
movdqa %xmm0, 0x70(%rsp)
movq 0x108(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x90(%rsp), %rdi
callq 0xfbda9
movq %rax, %r12
movl 0x178(%rsp), %r13d
movq %r15, %rdi
callq 0xfc52c
movq %xmm0, 0xb8(%rsp)
movq %r15, %rdi
callq 0xfc4e9
movq %rax, %rbx
movups 0xd0(%rsp), %xmm0
movaps %xmm0, 0x130(%rsp)
movaps 0x70(%rsp), %xmm0
movaps %xmm0, 0x120(%rsp)
movq %r15, %rdi
callq 0xfc461
movsd %xmm0, 0x98(%rsp)
movq %r15, %rdi
callq 0xfc4a5
cvtss2sd %xmm0, %xmm2
movaps 0x120(%rsp), %xmm0
movups %xmm0, 0x10(%rsp)
movaps 0x130(%rsp), %xmm0
movups %xmm0, (%rsp)
movq 0x40(%rsp), %rdi
leaq 0x2c8ee5(%rip), %rsi    # 0x2e824d
movq %r12, %rdx
movl %r13d, %ecx
movq %r14, %r8
movsd 0xb8(%rsp), %xmm0
movq %rbx, %r9
movsd 0x98(%rsp), %xmm1
movb $0x3, %al
callq 0x8d432
movq 0xa0(%rsp), %r13
testq %r13, %r13
je 0x1f431
movq 0x90(%rsp), %rdi
callq 0xfbfc3
xorl %ebx, %ebx
testl %eax, %eax
setne %bl
movq 0x38(%rsp), %r15
movq %r15, %rdi
callq 0xad357
movq 0x178(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0xacd9e
movq 0x70(%rsp), %rdx
movq 0x78(%rsp), %rcx
movq %r15, %rdi
leaq 0x307c12(%rip), %rsi    # 0x326ff8
movl %ebx, %r8d
callq 0xd9acb
movq %rax, %rbx
movq %rax, %rdi
movq 0xa8(%rsp), %rsi
callq 0xd96be
movq %rbx, %rdi
leaq 0x322fd3(%rip), %rsi    # 0x3423de
leaq 0x2c8e65(%rip), %rdx    # 0x2e8277
callq 0xda48b
movq %rbx, %rdi
movq %r13, %rsi
movq 0x58(%rsp), %rdx
callq 0xdd39c
movl %eax, %ebp
movq %rbx, %rdi
callq 0xde013
movq 0x90(%rsp), %rdi
callq 0xfc005
movq 0x60(%rsp), %rbx
incq %rbx
movq 0x418b1b(%rip), %r15    # 0x437f68
movq 0x88(%rsp), %r12
xorl %r14d, %r14d
jmp 0x1f1b8
pushq $-0x1
popq %rax
movl %eax, 0x60(%rsp)
movq 0x418afd(%rip), %r15    # 0x437f68
jmp 0x1f4a7
movl %eax, %r14d
movq 0xa8(%rsp), %rdi
callq 0xae103
xorl $0x2, %r14d
orl %ebp, %r14d
pushq $-0x1
popq %rax
cmovnel %ebp, %eax
movl %eax, 0x60(%rsp)
leaq 0x2c8deb(%rip), %rdi    # 0x2e8280
movq %rbx, %rsi
xorl %eax, %eax
callq 0x92a82
movq 0x148(%rsp), %r14
movq 0x28(%rsp), %rbx
movq 0x38(%rsp), %rbp
movq 0xb0(%rsp), %rdi
callq 0xfc715
movq 0x30(%rsp), %rdi
jmp 0x1e2e3
movq 0x418a99(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2c5b3a(%rip), %rsi    # 0x2e5013
leaq 0x2c5cdf(%rip), %rdx    # 0x2e51bf
leaq 0x2c8b93(%rip), %rcx    # 0x2e807a
leaq 0x2c883a(%rip), %r8     # 0x2e7d28
movl $0x24e, %r9d            # imm = 0x24E
jmp 0x1f5e3
movq 0x418a68(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2c5b09(%rip), %rsi    # 0x2e5013
leaq 0x2c8f9f(%rip), %rdx    # 0x2e84b0
leaq 0x2c8fae(%rip), %rcx    # 0x2e84c6
leaq 0x2c8809(%rip), %r8     # 0x2e7d28
movl $0x1b6, %r9d            # imm = 0x1B6
jmp 0x1f5e3
movq 0x418a37(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2c5ad8(%rip), %rsi    # 0x2e5013
leaq 0x2c8fa9(%rip), %rdx    # 0x2e84eb
leaq 0x2c8f7d(%rip), %rcx    # 0x2e84c6
leaq 0x2c87d8(%rip), %r8     # 0x2e7d28
movl $0x1b7, %r9d            # imm = 0x1B7
jmp 0x1f5e3
movq 0x418a06(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2c5aa7(%rip), %rsi    # 0x2e5013
leaq 0x2c8d56(%rip), %rdx    # 0x2e82c9
leaq 0x2c8d5f(%rip), %rcx    # 0x2e82d9
leaq 0x2c87a7(%rip), %r8     # 0x2e7d28
movl $0x18a, %r9d            # imm = 0x18A
jmp 0x1f5e3
movq 0x4189d8(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2c5a79(%rip), %rsi    # 0x2e5013
leaq 0x2c8ba4(%rip), %rdx    # 0x2e8145
leaq 0x2c8ad2(%rip), %rcx    # 0x2e807a
leaq 0x2c8779(%rip), %r8     # 0x2e7d28
movl $0x2c5, %r9d            # imm = 0x2C5
jmp 0x1f5e3
movq 0x4189aa(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2c5a4b(%rip), %rsi    # 0x2e5013
leaq 0x2c8e64(%rip), %rdx    # 0x2e8433
leaq 0x2c8e70(%rip), %rcx    # 0x2e8446
leaq 0x2c874b(%rip), %r8     # 0x2e7d28
movl $0x1e2, %r9d            # imm = 0x1E2
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x418972(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x2c5a13(%rip), %rsi    # 0x2e5013
leaq 0x2c8b18(%rip), %rdx    # 0x2e811f
leaq 0x2c8a6c(%rip), %rcx    # 0x2e807a
leaq 0x2c8713(%rip), %r8     # 0x2e7d28
movl $0x2a4, %r9d            # imm = 0x2A4
jmp 0x1f5e3
movq (%r15), %rdi
leaq 0x2c59ec(%rip), %rsi    # 0x2e5013
leaq 0x2c8ba1(%rip), %rdx    # 0x2e81cf
leaq 0x2c8a45(%rip), %rcx    # 0x2e807a
leaq 0x2c86ec(%rip), %r8     # 0x2e7d28
movl $0x31d, %r9d            # imm = 0x31D
jmp 0x1f5e3