// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/annotationsketch/gt_sketch.c
// Function: gt_sketch_runner
static int gt_sketch_runner(int argc, const char **argv, int parsed_args,
                              void *tool_arguments, GT_UNUSED GtError *err)
{
  GtSketchArguments *arguments = tool_arguments;
  GtNodeStream *in_stream = NULL,
               *add_introns_stream = NULL,
               *gff3_out_stream = NULL,
               *feature_stream = NULL,
               *sort_stream = NULL,
               *last_stream;
  GtFeatureIndex *features = NULL;
  const char *file;
  char *seqid = NULL;
  GtRange qry_range, sequence_region_range;
  GtArray *results = NULL;
  GtStyle *sty = NULL;
  GtStr *prog, *defaultstylefile = NULL;
  GtDiagram *d = NULL;
  GtLayout *l = NULL;
  GtImageInfo* ii = NULL;
  GtCanvas *canvas = NULL;
  GtUword height;
  bool has_seqid;
  int had_err = 0;
  gt_error_check(err);
  gt_assert(arguments);

  prog = gt_str_new();
  gt_str_append_cstr_nt(prog, argv[0],
                        gt_cstr_length_up_to_char(argv[0], ' '));
  defaultstylefile = gt_get_gtdata_path(gt_str_get(prog), err);
  gt_str_delete(prog);
  if (!defaultstylefile)
    had_err = -1;
  if (!had_err) {
    gt_str_append_cstr(defaultstylefile, "/sketch/default.style");
  }

  file = argv[parsed_args];
  if (!had_err) {
    /* create feature index */
    features = gt_feature_index_memory_new();
    parsed_args++;

    /* create an input stream */
    if (strcmp(gt_str_get(arguments->input), "gff") == 0)
    {
      in_stream = gt_gff3_in_stream_new_unsorted(argc - parsed_args,
                                                 argv + parsed_args);
      if (arguments->verbose)
        gt_gff3_in_stream_show_progress_bar((GtGFF3InStream*) in_stream);
    } else if (strcmp(gt_str_get(arguments->input), "bed") == 0)
    {
      if (argc - parsed_args == 0)
        in_stream = gt_bed_in_stream_new(NULL);
      else
        in_stream = gt_bed_in_stream_new(argv[parsed_args]);
    } else if (strcmp(gt_str_get(arguments->input), "gtf") == 0)
    {
      if (argc - parsed_args == 0)
        in_stream = gt_gtf_in_stream_new(NULL);
      else
        in_stream = gt_gtf_in_stream_new(argv[parsed_args]);
    }
    last_stream = in_stream;

    /* create add introns stream if -addintrons was used */
    if (arguments->addintrons) {
      sort_stream = gt_sort_stream_new(last_stream);
      add_introns_stream = gt_add_introns_stream_new(sort_stream);
      last_stream = add_introns_stream;
    }

    /* create gff3 output stream if -pipe was used */
    if (arguments->pipe) {
      gff3_out_stream = gt_gff3_out_stream_new(last_stream, NULL);
      last_stream = gff3_out_stream;
    }

    /* create feature stream */
    feature_stream = gt_feature_stream_new(last_stream, features);

    /* pull the features through the stream and free them afterwards */
    had_err = gt_node_stream_pull(feature_stream, err);

    gt_node_stream_delete(feature_stream);
    gt_node_stream_delete(gff3_out_stream);
    gt_node_stream_delete(sort_stream);
    gt_node_stream_delete(add_introns_stream);
    gt_node_stream_delete(in_stream);
  }

  if (!had_err) {
    had_err = gt_feature_index_has_seqid(features,
                                         &has_seqid,
                                         gt_str_get(arguments->seqid),
                                         err);
  }

  /* if seqid is empty, take first one added to index */
  if (!had_err && strcmp(gt_str_get(arguments->seqid),"") == 0) {
    seqid = gt_feature_index_get_first_seqid(features, err);
    if (seqid == NULL) {
      gt_error_set(err, "GFF input file must contain a sequence region!");
      had_err = -1;
    }
  }
  else if (!had_err && !has_seqid) {
    gt_error_set(err, "sequence region '%s' does not exist in GFF input file",
                 gt_str_get(arguments->seqid));
    had_err = -1;
  }
  else if (!had_err)
    seqid = gt_cstr_dup(gt_str_get(arguments->seqid));

  results = gt_array_new(sizeof (GtGenomeNode*));
  if (!had_err) {
    had_err = gt_feature_index_get_range_for_seqid(features,
                                                   &sequence_region_range,
                                                   seqid,
                                                   err);
  }
  if (!had_err) {
    qry_range.start = (arguments->start == GT_UNDEF_UWORD ?
                         sequence_region_range.start :
                         arguments->start);
    qry_range.end   = (arguments->end == GT_UNDEF_UWORD ?
                         sequence_region_range.end :
                         arguments->end);
  }

  if (!had_err) {
    if (arguments->verbose)
      fprintf(stderr, "# of results: "GT_WU"\n", gt_array_size(results));

    /* find and load style file */
    if (!(sty = gt_style_new(err)))
      had_err = -1;
    if (gt_str_length(arguments->stylefile) == 0) {
      gt_str_append_str(arguments->stylefile, defaultstylefile);
    } else {
      if (!had_err && gt_file_exists(gt_str_get(arguments->stylefile))) {
        if (arguments->unsafe)
          gt_style_unsafe_mode(sty);
      }
      else
      {
        had_err = -1;
        gt_error_set(err, "style file '%s' does not exist!",
                          gt_str_get(arguments->stylefile));
      }
    }
    if (!had_err)
      had_err = gt_style_load_file(sty, gt_str_get(arguments->stylefile), err);
  }

  if (!had_err) {
    /* create and write image file */
    if (!(d = gt_diagram_new(features, seqid, &qry_range, sty, err)))
      had_err = -1;
    if (!had_err && arguments->flattenfiles)
      gt_diagram_set_track_selector_func(d, flattened_file_track_selector,
                                         NULL);
    if (had_err || !(l = gt_layout_new(d, arguments->width, sty, err)))
      had_err = -1;
    if (!had_err)
      had_err = gt_layout_get_height(l, &height, err);
    if (!had_err) {
      ii = gt_image_info_new();

      if (strcmp(gt_str_get(arguments->format),"pdf")==0) {
        canvas = gt_canvas_cairo_file_new(sty, GT_GRAPHICS_PDF,
                                          arguments->width,
                                          height, ii, err);
      }
      else if (strcmp(gt_str_get(arguments->format),"ps")==0) {
        canvas = gt_canvas_cairo_file_new(sty, GT_GRAPHICS_PS,
                                          arguments->width,
                                          height, ii, err);
      }
      else if (strcmp(gt_str_get(arguments->format),"svg")==0) {
        canvas = gt_canvas_cairo_file_new(sty, GT_GRAPHICS_SVG,
                                          arguments->width,
                                          height, ii, err);
      }
      else {
        canvas = gt_canvas_cairo_file_new(sty, GT_GRAPHICS_PNG,
                                          arguments->width,
                                          height, ii, err);
      }
      if (!canvas)
        had_err = -1;
      if (!had_err) {
        had_err = gt_layout_sketch(l, canvas, err);
      }
      if (!had_err) {
        if (arguments->showrecmaps) {
          GtUword i;
          const GtRecMap *rm;
          for (i = 0; i < gt_image_info_num_of_rec_maps(ii) ;i++) {
            char buf[BUFSIZ];
            rm = gt_image_info_get_rec_map(ii, i);
            (void) gt_rec_map_format_html_imagemap_coords(rm, buf, BUFSIZ);
            printf("%s, %s\n",
                   buf,
                   gt_feature_node_get_type(gt_rec_map_get_genome_feature(rm)));
          }
        }
        if (arguments->use_streams) {
          GtFile *outfile;
          GtStr *str = gt_str_new();
          gt_canvas_cairo_file_to_stream((GtCanvasCairoFile*) canvas, str);
          outfile = gt_file_open(GT_FILE_MODE_UNCOMPRESSED, file, "w+", err);
          if (outfile) {
            gt_file_xwrite(outfile, gt_str_get_mem(str), gt_str_length(str));
            gt_file_delete(outfile);
          } else {
            had_err = -1;
          }
          gt_str_delete(str);
        } else {
          had_err = gt_canvas_cairo_file_to_file((GtCanvasCairoFile*) canvas,
                                                 file,
                                                 err);
        }
      }
    }
  }

  /* free */
  gt_free(seqid);
  gt_canvas_delete(canvas);
  gt_layout_delete(l);
  gt_image_info_delete(ii);
  gt_style_delete(sty);
  gt_diagram_delete(d);
  gt_array_delete(results);
  gt_str_delete(defaultstylefile);
  gt_feature_index_delete(features);

  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2088, %rsp           # imm = 0x2088
movq %r8, %r12
movq %rcx, 0x18(%rsp)
movl %edx, %r13d
movq %rsi, %rbx
movl %edi, %r14d
testq %r8, %r8
je 0x1d2689
movq %r12, %rdi
callq 0x89eb7
testb %al, %al
jne 0x1d2e10
cmpq $0x0, 0x18(%rsp)
je 0x1d2de2
callq 0xacb84
movq %rax, %r15
movq (%rbx), %rbp
pushq $0x20
popq %rsi
movq %rbp, %rdi
callq 0x6c46d
movq %r15, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0xacd9e
movq %r15, %rdi
callq 0xad1fa
movq %rax, %rdi
movq %r12, (%rsp)
movq %r12, %rsi
callq 0x8f124
movq %rax, %r12
movq %r15, %rdi
callq 0xae103
pushq $-0x1
popq %rbp
movslq %r13d, %r15
testq %r12, %r12
movq %r12, 0x48(%rsp)
je 0x1d2772
leaq 0x193286(%rip), %rsi    # 0x36597c
movq %r12, %rdi
callq 0xacbfb
movq (%rbx,%r15,8), %rax
movq %rax, 0x40(%rsp)
callq 0xd9354
movq %rax, %rbp
incl %r15d
movq 0x18(%rsp), %r13
movq 0x20(%r13), %rdi
callq 0xad1fa
leaq 0x115868(%rip), %rsi    # 0x2e7f8f
movq %rax, %rdi
callq 0x179e0
movslq %r15d, %r12
testl %eax, %eax
je 0x1d2785
movq 0x20(%r13), %rdi
callq 0xad1fa
leaq 0x11e8bc(%rip), %rsi    # 0x2f1002
movq %rax, %rdi
callq 0x179e0
testl %eax, %eax
je 0x1d27a8
movq 0x20(%r13), %rdi
callq 0xad1fa
leaq 0x112fd1(%rip), %rsi    # 0x2e5733
movq %rax, %rdi
callq 0x179e0
testl %eax, %eax
je 0x1d27b1
xorl %ebx, %ebx
jmp 0x1d27d1
movq (%rbx,%r15,8), %rax
movq %rax, 0x40(%rsp)
xorl %ebx, %ebx
xorl %r15d, %r15d
jmp 0x1d287d
subl %r15d, %r14d
leaq (%rbx,%r12,8), %rsi
movl %r14d, %edi
callq 0xdeebd
movq %rax, %rbx
cmpb $0x1, 0x1(%r13)
jne 0x1d27d1
movq %rbx, %rdi
callq 0xdeb22
jmp 0x1d27d1
cmpl %r15d, %r14d
jne 0x1d27ba
xorl %edi, %edi
jmp 0x1d27be
cmpl %r15d, %r14d
jne 0x1d27c5
xorl %edi, %edi
jmp 0x1d27c9
movq (%rbx,%r12,8), %rdi
callq 0xbb771
jmp 0x1d27ce
movq (%rbx,%r12,8), %rdi
callq 0xe7977
movq %rax, %rbx
cmpb $0x1, 0x2(%r13)
jne 0x1d27f5
movq %rbx, %rdi
callq 0x11a5d8
movq %rax, %r14
movq %rax, %rdi
callq 0xb46bc
movq %rax, %rdi
movq %rax, 0x28(%rsp)
jmp 0x1d2804
xorl %r14d, %r14d
movq %rbx, %rdi
movq $0x0, 0x28(%rsp)
cmpb $0x1, (%r13)
movq %rbx, 0x30(%rsp)
jne 0x1d281f
xorl %esi, %esi
callq 0xe07df
movq %rax, %rdi
movq %rax, %r15
jmp 0x1d2822
xorl %r15d, %r15d
movq %rbp, %rsi
callq 0xdcac8
movq %rax, %r12
movq %rax, %rdi
movq (%rsp), %r13
movq %r13, %rsi
callq 0x102b93
movq %rbp, %rbx
movl %eax, %ebp
movq %r12, %rdi
callq 0x10297b
movq %r15, %rdi
callq 0x10297b
movq %r14, %rdi
callq 0x10297b
movq 0x28(%rsp), %rdi
callq 0x10297b
movq 0x30(%rsp), %rdi
callq 0x10297b
testl %ebp, %ebp
je 0x1d293c
xorl %r15d, %r15d
movq 0x48(%rsp), %r12
movq 0x18(%rsp), %r13
pushq $0x8
popq %rdi
callq 0x5809c
testl %ebp, %ebp
movq %rbx, 0x30(%rsp)
movq %rax, 0x28(%rsp)
movq %r15, 0x58(%rsp)
jne 0x1d28be
movq %rax, %r14
leaq 0x60(%rsp), %rsi
movq %rbx, %rdi
movq %r15, %rdx
movq (%rsp), %rcx
callq 0xd7f1c
testl %eax, %eax
je 0x1d2977
movl %eax, %ebp
xorl %ebx, %ebx
xorl %r12d, %r12d
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %r13d, %r13d
leaq 0x192a54(%rip), %rsi    # 0x365327
movq 0x58(%rsp), %rdi
movl $0x1e3, %edx            # imm = 0x1E3
callq 0x936f9
movq %r13, %rdi
callq 0x1cdbef
movq %r15, %rdi
callq 0x1d43fb
movq %r14, %rdi
callq 0x1d3cb4
movq %rbx, %rdi
callq 0x1d84ed
movq %r12, %rdi
callq 0x1ce90d
movq 0x28(%rsp), %rdi
callq 0x58eb9
movq 0x48(%rsp), %rdi
callq 0xae103
movq 0x30(%rsp), %rdi
callq 0xd7777
movl %ebp, %eax
addq $0x2088, %rsp           # imm = 0x2088
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x18(%rsp), %r14
movq 0x8(%r14), %rdi
callq 0xad1fa
leaq 0xf(%rsp), %rsi
movq %rbx, %rdi
movq %rax, %rdx
movq %r13, %rcx
callq 0xd8050
testl %eax, %eax
movq 0x48(%rsp), %r12
je 0x1d29f7
movl %eax, %ebp
movq %r14, %r13
xorl %r15d, %r15d
jmp 0x1d2882
movq 0x28(%r13), %rax
cmpq $-0x1, %rax
jne 0x1d2986
movq 0x60(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x30(%r13), %rax
cmpq $-0x1, %rax
jne 0x1d299a
movq 0x68(%rsp), %rax
movq %rax, 0x78(%rsp)
cmpb $0x1, 0x1(%r13)
je 0x1d2ba1
movq (%rsp), %rdi
callq 0x1d6418
movq %rax, %rbp
movq 0x18(%r13), %rdi
callq 0xad289
testq %rax, %rax
je 0x1d2a60
testq %rbp, %rbp
je 0x1d2a34
movq 0x18(%r13), %rdi
callq 0xad1fa
movq %rax, %rdi
callq 0x8da98
testb %al, %al
je 0x1d2a34
cmpb $0x1, 0x5(%r13)
jne 0x1d2a75
movq %rbp, %rdi
callq 0x1d67f4
jmp 0x1d2a75
movq 0x8(%r14), %rdi
callq 0xad1fa
cmpb $0x0, (%rax)
movq %r14, %r13
je 0x1d2a9b
movq %rbx, %r14
movq 0x8(%r13), %rdi
movb 0xf(%rsp), %bl
callq 0xad1fa
testb %bl, %bl
pushq $-0x1
popq %rbp
je 0x1d2ac3
movq %rax, %rdi
callq 0x6c2be
jmp 0x1d2ab9
movq 0x18(%r13), %rdi
callq 0xad1fa
leaq 0x192ca8(%rip), %rsi    # 0x3656ec
xorl %r12d, %r12d
movq (%rsp), %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x89dbb
movq %rbp, %rbx
pushq $-0x1
popq %rbp
jmp 0x1d28c3
movq 0x18(%r13), %rdi
movq %r12, %rsi
callq 0xacd13
testq %rbp, %rbp
je 0x1d2b6a
movq 0x18(%r13), %rdi
callq 0xad1fa
movq %rbp, %rdi
movq %rax, %rsi
movq (%rsp), %rdx
callq 0x1d6a41
movq %rbp, %rbx
testl %eax, %eax
je 0x1d2ae0
movl %eax, %ebp
jmp 0x1d28c0
movq %rbx, %r14
movq %rbx, %rdi
movq (%rsp), %rbx
movq %rbx, %rsi
callq 0xd7d67
testq %rax, %rax
pushq $-0x1
popq %rbp
je 0x1d2b74
movq %rax, %r15
xorl %ebp, %ebp
jmp 0x1d2b88
leaq 0x192bd9(%rip), %rsi    # 0x3656a3
xorl %r15d, %r15d
movq (%rsp), %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x89dbb
jmp 0x1d2b88
leaq 0x70(%rsp), %rdx
movq 0x30(%rsp), %rdi
movq %r15, %rsi
movq %rbx, 0x10(%rsp)
movq %rbx, %rcx
movq (%rsp), %r8
callq 0x1ce0d0
pushq $-0x1
popq %rbp
testq %rax, %rax
je 0x1d2b90
movq %rax, %rbx
cmpb $0x1, 0x4(%r13)
jne 0x1d2b25
leaq 0x32d(%rip), %rsi       # 0x1d2e48
movq %rbx, %rdi
xorl %edx, %edx
callq 0x1ce326
movl 0x38(%r13), %esi
movq %rbx, %rdi
movq 0x10(%rsp), %rdx
movq (%rsp), %r14
movq %r14, %rcx
callq 0x1d4094
testq %rax, %rax
je 0x1d2bcc
leaq 0x50(%rsp), %rsi
movq %rax, %rdi
movq %r14, %rdx
movq %rax, %r15
callq 0x1d48e9
testl %eax, %eax
je 0x1d2bda
xorl %r14d, %r14d
xorl %r13d, %r13d
movl %eax, %ebp
jmp 0x1d2db0
xorl %ebx, %ebx
pushq $-0x1
popq %rbp
jmp 0x1d28c0
leaq 0x192af9(%rip), %rsi    # 0x365674
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x89dbb
movq %r14, %rbx
jmp 0x1d2882
xorl %r12d, %r12d
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %r13d, %r13d
jmp 0x1d2db3
movq 0x2653c0(%rip), %rax    # 0x437f68
movq (%rax), %rbx
movq %r14, %rdi
callq 0x586a4
leaq 0x192b1f(%rip), %rsi    # 0x3656d9
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x17a50
jmp 0x1d29aa
xorl %r15d, %r15d
xorl %r14d, %r14d
xorl %r13d, %r13d
jmp 0x1d2db0
movq %r15, 0x20(%rsp)
callq 0x1d3c0c
movq %rax, %r14
movq 0x10(%r13), %rdi
callq 0xad1fa
leaq 0x1ace5b(%rip), %rsi    # 0x37fa52
movq %rax, %rdi
callq 0x179e0
testl %eax, %eax
je 0x1d2c46
movq 0x10(%r13), %rdi
callq 0xad1fa
cmpb $0x70, (%rax)
jne 0x1d2c1d
cmpb $0x73, 0x1(%rax)
jne 0x1d2c1d
cmpb $0x0, 0x2(%rax)
je 0x1d2c5c
movq 0x10(%r13), %rdi
callq 0xad1fa
leaq 0x1ace58(%rip), %rsi    # 0x37fa85
movq %rax, %rdi
callq 0x179e0
movl 0x38(%r13), %edx
movq 0x50(%rsp), %rcx
testl %eax, %eax
je 0x1d2c58
pushq $0x1
jmp 0x1d2c67
movl 0x38(%r13), %edx
movq 0x50(%rsp), %rcx
movq 0x10(%rsp), %rdi
xorl %esi, %esi
jmp 0x1d2c6d
pushq $0x3
jmp 0x1d2c67
movl 0x38(%r13), %edx
movq 0x50(%rsp), %rcx
pushq $0x2
popq %rsi
movq 0x10(%rsp), %rdi
movq %r14, %r8
movq (%rsp), %r9
callq 0x2d1335
testq %rax, %rax
je 0x1d2d1c
movq 0x20(%rsp), %r15
movq %r15, %rdi
movq %rax, %rsi
movq (%rsp), %rdx
movq %rax, %r13
callq 0x1d4469
testl %eax, %eax
jne 0x1d2b63
movq %r13, 0x38(%rsp)
movq 0x18(%rsp), %rax
cmpb $0x1, 0x3(%rax)
jne 0x1d2d24
xorl %r13d, %r13d
movq %r14, %rdi
callq 0x1d3d1e
cmpq %rax, %r13
jae 0x1d2d24
movq %r14, %rdi
movq %r13, %rsi
callq 0x1d3e37
movq %rax, %rbp
movl $0x2000, %edx           # imm = 0x2000
movq %rax, %rdi
movq %r14, %r15
movq %r13, %r14
leaq 0x80(%rsp), %r13
movq %r13, %rsi
callq 0x1d6376
movq %rbp, %rdi
callq 0x1d62b4
movq %rax, %rdi
callq 0xda338
leaq 0x192a08(%rip), %rdi    # 0x36570c
movq %r13, %rsi
movq %r14, %r13
movq %r15, %r14
movq %rax, %rdx
xorl %eax, %eax
callq 0x17070
incq %r13
jmp 0x1d2cb4
xorl %r13d, %r13d
jmp 0x1d2dab
movq 0x18(%rsp), %rax
cmpb $0x1, 0x7(%rax)
jne 0x1d2d93
callq 0xacb84
movq %rax, %r15
movq 0x38(%rsp), %rdi
movq %rax, %rsi
callq 0x2d1254
leaq 0x11291e(%rip), %rdx    # 0x2e5669
xorl %edi, %edi
movq 0x40(%rsp), %rsi
movq (%rsp), %rcx
callq 0x8cea6
testq %rax, %rax
je 0x1d2dbd
movq %rax, %r12
movq %rbx, %r13
movq %r15, %rdi
callq 0xad247
movq %rax, %rbp
movq %r15, %rdi
callq 0xad289
movq %r12, %rdi
movq %rbp, %rsi
xorl %ebp, %ebp
movq %rax, %rdx
callq 0x8d8e3
movq %r12, %rdi
callq 0x8da06
jmp 0x1d2dc3
movq 0x38(%rsp), %r13
movq %r13, %rdi
movq 0x40(%rsp), %rsi
movq (%rsp), %rdx
callq 0x2d1194
movl %eax, %ebp
movq 0x20(%rsp), %r15
movq %rbx, %r12
movq 0x10(%rsp), %rbx
jmp 0x1d28cc
movq %rbx, %r13
pushq $-0x1
popq %rbp
movq %r15, %rdi
callq 0xae103
movq 0x10(%rsp), %rbx
movq %r13, %r12
movq 0x20(%rsp), %r15
movq 0x38(%rsp), %r13
jmp 0x1d28cc
movq 0x26517f(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x112220(%rip), %rsi    # 0x2e5013
leaq 0x175859(%rip), %rdx    # 0x348653
leaq 0x192862(%rip), %rcx    # 0x365663
leaq 0x19251f(%rip), %r8     # 0x365327
movl $0x116, %r9d            # imm = 0x116
jmp 0x1d2e3c
movq 0x265151(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1121f2(%rip), %rsi    # 0x2e5013
leaq 0x112397(%rip), %rdx    # 0x2e51bf
leaq 0x192834(%rip), %rcx    # 0x365663
leaq 0x1924f1(%rip), %r8     # 0x365327
movl $0x115, %r9d            # imm = 0x115
xorl %eax, %eax
callq 0x17a50
callq 0x17390