// File: /workspace/github_c_makefile_star2_O0/ComplexNetworks-DCC-FCUP[P]gtrieScanner/CmdLine.cpp
// Function: CmdLine::show_results(ResultType*, int)
void CmdLine::show_results(ResultType *res, int nres) {
  int i, j, k;
  bool html = (output==HTML)?true:false;

  if (html) fprintf(f_output, "<html><head>\n"
		    "<title>%s results</title>\n"
		    "<style type=\"text/css\">"
		    "p,body,td,th,li  {font-size: 13px; font-family: arial, geneva, \"sans serif\";color: black; font-weight: normal;}\n"
		    "body, tr {background-color: #fbfbfb;}\n"
		    "hr {color: black;}\n"
		    "table {background-color: black;}\n"
		    "th {color:white;}\n"
		    "td {text-align: right;}\n"
		    ".odd  {background-color: #d1d1d1;}\n"
		    ".even {background-color: #f2f2f2;}\n"
		    ".hd   {background-color: #444444; color: white;}\n"
		    ".pre  {white-space: pre;}\n"
		    "</style>"
		    "</head>\n<body>",
		    PROGRAM_NAME);

  fprintf(f_output, "%s%s Results%s\n", html?"<h1>":"", PROGRAM_NAME, html?"</h1>":"");
  
  if (html) fprintf(f_output, "<hr>\n");
  else      fprintf(f_output, "%s\n", SEPARATOR);

  fprintf(f_output, "%sGeneral Information%s\n", html?"<h2>":"", html?"</h2>":"\n");

  time_t t_end = time(0);
  struct tm *tm_start = localtime(&t_start);
  fprintf(f_output, "%sStart of Computation:%s %02dh%02dm%02ds %02d/%02d/%02d\n",
	  html?"<li><b>":"",html?"</b>":"",
	  tm_start->tm_hour, tm_start->tm_min, tm_start->tm_sec,
	  tm_start->tm_mday, tm_start->tm_mon+1, 1900+tm_start->tm_year);
  struct tm *tm_end   = localtime(&t_end);
  fprintf(f_output, "%sEnd of Computation:%s %02dh%02dm%02ds %02d/%02d/%02d\n",
	  html?"<li><b>":"",html?"</b>":"",
	  tm_end->tm_hour, tm_end->tm_min, tm_end->tm_sec,
	  tm_end->tm_mday, tm_end->tm_mon+1, 1900+tm_end->tm_year);

  if (html) fprintf(f_output, "<br>&nbsp;\n");
  else      fprintf(f_output, "\n");

  fprintf(f_output, "%sSubgraph Size:%s %d\n", html?"<li><b>":"", html?"</b>":"", motif_size);
  fprintf(f_output, "%sGraph File:%s \"%s\"\n", html?"<li><b>":"", html?"</b>":"",graph_file);
  fprintf(f_output, "%sDirected:%s %s\n", html?"<li><b>":"", html?"</b>":"",dir?"YES":"NO");
  fprintf(f_output, "%sNr Nodes:%s %d\n", html?"<li><b>":"", html?"</b>":"",g->numNodes());
  fprintf(f_output, "%sNr Edges:%s %d\n", html?"<li><b>":"", html?"</b>":"",dir?g->numEdges():g->numEdges()/2);
  
  if (html) fprintf(f_output, "<br>&nbsp;\n");
  else      fprintf(f_output, "\n");

  fprintf(f_output, "%sMethod:%s ", html?"<li><b>":"", html?"</b>":"");
  if (method == ESU)
    fprintf(f_output, "ESU on original network\n");
  else if (method == GTRIE)
    fprintf(f_output, "GTRIE with file containing complete g-trie\n");
  else if (method == SUBGRAPHS)
    fprintf(f_output, "GTRIE with subgraphs read from file\n");

  fprintf(f_output, "%sDifferent Types of Subgraphs Found [Original Network]:%s %d\n", html?"<li><b>":"", html?"</b>":"", sg_original.countGraphs());
  fprintf(f_output, "%sSubgraph Occurrences Found [Original Network]:%s %.0f\n", html?"<li><b>":"", html?"</b>":"", sg_original.countOccurrences());
  fprintf(f_output, "%sTime for computing census on original network%s: %.6fs\n", html?"<li><b>":"", html?"</b>":"", time_original);
  fprintf(f_output, "%sAverage time for census on random network%s: %.6fs\n", html?"<li><b>":"", html?"</b>":"", time_random);

  if (html) fprintf(f_output, "<br>&nbsp;\n");
  else      fprintf(f_output, "\n");

  fprintf(f_output, "%sNumber of random networks:%s %d\n", html?"<li><b>":"", html?"</b>":"", random_number);
  fprintf(f_output, "%sRandom seed:%s %d\n", html?"<li><b>":"", html?"</b>":"", random_seed);
  fprintf(f_output, "%sExchanges per edge:%s %d\n", html?"<li><b>":"", html?"</b>":"", random_exchanges);
  fprintf(f_output, "%sNumber of tries per exchange:%s %d\n", html?"<li><b>":"", html?"</b>":"", random_tries);

  if (html) fprintf(f_output, "<hr>\n");
  else      fprintf(f_output, "%s\n", SEPARATOR);

  fprintf(f_output, "%sMotif Analysis Results%s\n", html?"<h2>":"", html?"</h2>":"");

  char adj[motif_size*motif_size+motif_size];

  if (html) fprintf(f_output, "<table cellpadding=\"3\" cellspacing=\"2\">\n<tr class=\"hd\"><th colspan=\"2\">Subgraph</th><th>Org. Frequency</th><th>Z-score</th><th>Rnd. Frequency</th></tr>\n");
  else fprintf(f_output, "\nGraph%*s   Org_Freq |  Z-score |    Rnd_Avg +/-    Rnd_Dev\n\n", motif_size>5?motif_size-5:0, "");
  for (i=0; i<nres; i++) {

    for (j=0, k=0; res[i].s[j]; j++, k++) {
      if (j>0 && j%motif_size==0) adj[k++] = '\n';
      adj[k] = res[i].s[j];
    }
    adj[k]=0;

    if (html) 
      fprintf(f_output, "<tr class=\"%s\"><td><img src=\"http://www.dcc.fc.up.pt/gtries/graph.php?%swidth=75&height=75&adj=%s\"></td><td class=\"pre\">%s</td><td>%d</td><td>%.2f</td><td>%.2f +/- %.2f</td></tr>\n",
	      (i%2)?"odd":"even", dir?"dir&":"",
	      res[i].s, adj, res[i].f_original,
	      res[i].z_score, res[i].avg_random, res[i].dev_random);
    else
      fprintf(f_output, "%s%*s %10d | %8.2f | %10.2f +/- %10.2f\n\n",
	      adj, motif_size<5?5-motif_size:0, "", res[i].f_original,
	      res[i].z_score, res[i].avg_random, res[i].dev_random);
  }
  if (html) fprintf(f_output, "</table>\n");


}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0xd8, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl 0x286b7(%rip), %eax     # 0x2d1c0
subl $0x2, %eax
sete %al
negb %al
andb $0x1, %al
movb %al, -0x21(%rbp)
testb $0x1, -0x21(%rbp)
je 0x4b38
movq 0x286ad(%rip), %rdi     # 0x2d1d0
leaq 0x1b837(%rip), %rsi     # 0x20361
leaq 0x1ba0a(%rip), %rdx     # 0x2053b
movb $0x0, %al
callq 0x33a0
movq 0x28691(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1b550(%rip), %rdx     # 0x20099
leaq 0x1ba08(%rip), %rax     # 0x20558
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %cl
leaq 0x1b538(%rip), %r8      # 0x20099
leaq 0x1b9f5(%rip), %rax     # 0x2055d
testb $0x1, %cl
cmovneq %rax, %r8
leaq 0x1b9d2(%rip), %rsi     # 0x20548
leaq 0x1b9be(%rip), %rcx     # 0x2053b
movb $0x0, %al
callq 0x33a0
testb $0x1, -0x21(%rbp)
je 0x4ba1
movq 0x2863f(%rip), %rdi     # 0x2d1d0
leaq 0x1b9cb(%rip), %rsi     # 0x20563
movb $0x0, %al
callq 0x33a0
jmp 0x4bbd
movq 0x28628(%rip), %rdi     # 0x2d1d0
leaq 0x1c301(%rip), %rsi     # 0x20eb0
leaq 0x1b9b3(%rip), %rdx     # 0x20569
movb $0x0, %al
callq 0x33a0
movq 0x2860c(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1b4cb(%rip), %rdx     # 0x20099
leaq 0x1b9d8(%rip), %rax     # 0x205ad
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1b4b1(%rip), %rcx     # 0x20098
leaq 0x1b9c4(%rip), %rax     # 0x205b2
testb $0x1, %sil
cmovneq %rax, %rcx
leaq 0x1b997(%rip), %rsi     # 0x20594
movb $0x0, %al
callq 0x33a0
xorl %eax, %eax
movl %eax, %edi
callq 0x3240
movq %rax, -0x30(%rbp)
leaq 0x285e0(%rip), %rdi     # 0x2d1f8
callq 0x31d0
movq %rax, -0x38(%rbp)
movq 0x285a8(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1b467(%rip), %rdx     # 0x20099
leaq 0x1b9b9(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1b44e(%rip), %rcx     # 0x20099
leaq 0x1b9a8(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
movq -0x38(%rbp), %rax
movl 0x8(%rax), %r8d
movq -0x38(%rbp), %rax
movl 0x4(%rax), %r9d
movq -0x38(%rbp), %rax
movl (%rax), %ebx
movq -0x38(%rbp), %rax
movl 0xc(%rax), %r11d
movq -0x38(%rbp), %rax
movl 0x10(%rax), %r10d
addl $0x1, %r10d
movq -0x38(%rbp), %rax
movl 0x14(%rax), %eax
addl $0x76c, %eax            # imm = 0x76C
leaq 0x1b921(%rip), %rsi     # 0x205b8
subq $0x20, %rsp
movl %ebx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movb $0x0, %al
callq 0x33a0
addq $0x20, %rsp
leaq -0x30(%rbp), %rdi
callq 0x31d0
movq %rax, -0x40(%rbp)
movq 0x28505(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1b3c4(%rip), %rdx     # 0x20099
leaq 0x1b916(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1b3ab(%rip), %rcx     # 0x20099
leaq 0x1b905(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
movq -0x40(%rbp), %rax
movl 0x8(%rax), %r8d
movq -0x40(%rbp), %rax
movl 0x4(%rax), %r9d
movq -0x40(%rbp), %rax
movl (%rax), %ebx
movq -0x40(%rbp), %rax
movl 0xc(%rax), %r11d
movq -0x40(%rbp), %rax
movl 0x10(%rax), %r10d
addl $0x1, %r10d
movq -0x40(%rbp), %rax
movl 0x14(%rax), %eax
addl $0x76c, %eax            # imm = 0x76C
leaq 0x1b8c5(%rip), %rsi     # 0x205ff
subq $0x20, %rsp
movl %ebx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movb $0x0, %al
callq 0x33a0
addq $0x20, %rsp
testb $0x1, -0x21(%rbp)
je 0x4d77
movq 0x28469(%rip), %rdi     # 0x2d1d0
leaq 0x1b8c9(%rip), %rsi     # 0x20637
movb $0x0, %al
callq 0x33a0
jmp 0x4d8c
movq 0x28452(%rip), %rdi     # 0x2d1d0
leaq 0x1b313(%rip), %rsi     # 0x20098
movb $0x0, %al
callq 0x33a0
movq 0x2843d(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1b2fc(%rip), %rdx     # 0x20099
leaq 0x1b84e(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1b2e3(%rip), %rcx     # 0x20099
leaq 0x1b83d(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
movl 0x283c8(%rip), %r8d     # 0x2d194
leaq 0x1b870(%rip), %rsi     # 0x20643
movb $0x0, %al
callq 0x33a0
movq 0x283ef(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1b2ae(%rip), %rdx     # 0x20099
leaq 0x1b800(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1b295(%rip), %rcx     # 0x20099
leaq 0x1b7ef(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
leaq 0x1b840(%rip), %rsi     # 0x2065a
leaq 0x26f6f(%rip), %r8      # 0x2bd90
movb $0x0, %al
callq 0x33a0
movq 0x283a1(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1b260(%rip), %rdx     # 0x20099
leaq 0x1b7b2(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1b247(%rip), %rcx     # 0x20099
leaq 0x1b7a1(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
movb 0x28328(%rip), %sil     # 0x2d190
leaq 0x1b817(%rip), %r8      # 0x20686
leaq 0x1b80c(%rip), %rax     # 0x20682
testb $0x1, %sil
cmovneq %rax, %r8
leaq 0x1b7eb(%rip), %rsi     # 0x20670
movb $0x0, %al
callq 0x33a0
movq 0x2833d(%rip), %rax     # 0x2d1d0
movq %rax, -0x80(%rbp)
movb -0x21(%rbp), %dl
leaq 0x1b1f8(%rip), %rax     # 0x20099
leaq 0x1b74a(%rip), %rcx     # 0x205f2
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, -0x78(%rbp)
movb -0x21(%rbp), %dl
leaq 0x1b1dc(%rip), %rax     # 0x20099
leaq 0x1b736(%rip), %rcx     # 0x205fa
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, -0x70(%rbp)
movq 0x282f2(%rip), %rdi     # 0x2d1c8
movq (%rdi), %rax
callq *0x40(%rax)
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rdx
movq -0x70(%rbp), %rcx
movl %eax, %r8d
leaq 0x1b797(%rip), %rsi     # 0x20689
movb $0x0, %al
callq 0x33a0
movq 0x282d0(%rip), %rax     # 0x2d1d0
movq %rax, -0x68(%rbp)
movb -0x21(%rbp), %dl
leaq 0x1b18b(%rip), %rax     # 0x20099
leaq 0x1b6dd(%rip), %rcx     # 0x205f2
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, -0x60(%rbp)
movb -0x21(%rbp), %dl
leaq 0x1b16f(%rip), %rax     # 0x20099
leaq 0x1b6c9(%rip), %rcx     # 0x205fa
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, -0x58(%rbp)
testb $0x1, 0x2824d(%rip)     # 0x2d190
je 0x4f5a
movq 0x2827c(%rip), %rdi     # 0x2d1c8
movq (%rdi), %rax
callq *0x48(%rax)
movl %eax, -0x84(%rbp)
jmp 0x4f75
movq 0x28267(%rip), %rdi     # 0x2d1c8
movq (%rdi), %rax
callq *0x48(%rax)
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, -0x84(%rbp)
movq -0x58(%rbp), %rcx
movq -0x60(%rbp), %rdx
movq -0x68(%rbp), %rdi
movl -0x84(%rbp), %r8d
leaq 0x1b70c(%rip), %rsi     # 0x2069b
movb $0x0, %al
callq 0x33a0
testb $0x1, -0x21(%rbp)
je 0x4fb3
movq 0x2822d(%rip), %rdi     # 0x2d1d0
leaq 0x1b68d(%rip), %rsi     # 0x20637
movb $0x0, %al
callq 0x33a0
jmp 0x4fc8
movq 0x28216(%rip), %rdi     # 0x2d1d0
leaq 0x1b0d7(%rip), %rsi     # 0x20098
movb $0x0, %al
callq 0x33a0
movq 0x28201(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1b0c0(%rip), %rdx     # 0x20099
leaq 0x1b612(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1b0a7(%rip), %rcx     # 0x20099
leaq 0x1b601(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
leaq 0x1b6a5(%rip), %rsi     # 0x206ad
movb $0x0, %al
callq 0x33a0
cmpl $0x1, 0x281a2(%rip)     # 0x2d1b8
jne 0x502f
movq 0x281b1(%rip), %rdi     # 0x2d1d0
leaq 0x1b1bb(%rip), %rsi     # 0x201e1
movb $0x0, %al
callq 0x33a0
jmp 0x5071
cmpl $0x2, 0x28182(%rip)     # 0x2d1b8
jne 0x504f
movq 0x28191(%rip), %rdi     # 0x2d1d0
leaq 0x1b1c0(%rip), %rsi     # 0x20206
movb $0x0, %al
callq 0x33a0
jmp 0x506f
cmpl $0x3, 0x28162(%rip)     # 0x2d1b8
jne 0x506d
movq 0x28171(%rip), %rdi     # 0x2d1d0
leaq 0x1b1d8(%rip), %rsi     # 0x2023e
movb $0x0, %al
callq 0x33a0
jmp 0x506f
jmp 0x5071
movq 0x28158(%rip), %rax     # 0x2d1d0
movq %rax, -0xb8(%rbp)
movb -0x21(%rbp), %dl
leaq 0x1b010(%rip), %rax     # 0x20099
leaq 0x1b562(%rip), %rcx     # 0x205f2
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, -0xb0(%rbp)
movb -0x21(%rbp), %dl
leaq 0x1aff1(%rip), %rax     # 0x20099
leaq 0x1b54b(%rip), %rcx     # 0x205fa
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, -0xa8(%rbp)
leaq 0x2812c(%rip), %rdi     # 0x2d1f0
callq 0x1a020
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rdx
movq -0xa8(%rbp), %rcx
movl %eax, %r8d
leaq 0x1b5d2(%rip), %rsi     # 0x206ba
movb $0x0, %al
callq 0x33a0
movq 0x280da(%rip), %rax     # 0x2d1d0
movq %rax, -0xa0(%rbp)
movb -0x21(%rbp), %dl
leaq 0x1af92(%rip), %rax     # 0x20099
leaq 0x1b4e4(%rip), %rcx     # 0x205f2
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, -0x98(%rbp)
movb -0x21(%rbp), %dl
leaq 0x1af73(%rip), %rax     # 0x20099
leaq 0x1b4cd(%rip), %rcx     # 0x205fa
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, -0x90(%rbp)
leaq 0x280ae(%rip), %rdi     # 0x2d1f0
callq 0x1a000
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rdx
movq -0x90(%rbp), %rcx
leaq 0x1b596(%rip), %rsi     # 0x206f9
movb $0x1, %al
callq 0x33a0
movq 0x2805f(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1af1e(%rip), %rdx     # 0x20099
leaq 0x1b470(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1af05(%rip), %rcx     # 0x20099
leaq 0x1b45f(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
movsd 0x27ffd(%rip), %xmm0    # 0x2d1a8
leaq 0x1b580(%rip), %rsi     # 0x20732
movb $0x1, %al
callq 0x33a0
movq 0x28010(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1aecf(%rip), %rdx     # 0x20099
leaq 0x1b421(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1aeb6(%rip), %rcx     # 0x20099
leaq 0x1b410(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
movsd 0x27fb6(%rip), %xmm0    # 0x2d1b0
leaq 0x1b56b(%rip), %rsi     # 0x2076c
movb $0x1, %al
callq 0x33a0
testb $0x1, -0x21(%rbp)
je 0x5225
movq 0x27fbb(%rip), %rdi     # 0x2d1d0
leaq 0x1b41b(%rip), %rsi     # 0x20637
movb $0x0, %al
callq 0x33a0
jmp 0x523a
movq 0x27fa4(%rip), %rdi     # 0x2d1d0
leaq 0x1ae65(%rip), %rsi     # 0x20098
movb $0x0, %al
callq 0x33a0
movq 0x27f8f(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1ae4e(%rip), %rdx     # 0x20099
leaq 0x1b3a0(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1ae35(%rip), %rcx     # 0x20099
leaq 0x1b38f(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
movl 0x27f1e(%rip), %r8d     # 0x2d198
leaq 0x1b521(%rip), %rsi     # 0x207a2
movb $0x0, %al
callq 0x33a0
movq 0x27f41(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1ae00(%rip), %rdx     # 0x20099
leaq 0x1b352(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1ade7(%rip), %rcx     # 0x20099
leaq 0x1b341(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
movl 0x27ed4(%rip), %r8d     # 0x2d19c
leaq 0x1b4f6(%rip), %rsi     # 0x207c5
movb $0x0, %al
callq 0x33a0
movq 0x27ef3(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1adb2(%rip), %rdx     # 0x20099
leaq 0x1b304(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1ad99(%rip), %rcx     # 0x20099
leaq 0x1b2f3(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
movl 0x27e8a(%rip), %r8d     # 0x2d1a0
leaq 0x1b4bd(%rip), %rsi     # 0x207da
movb $0x0, %al
callq 0x33a0
movq 0x27ea5(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %cl
leaq 0x1ad64(%rip), %rdx     # 0x20099
leaq 0x1b2b6(%rip), %rax     # 0x205f2
testb $0x1, %cl
cmovneq %rax, %rdx
movb -0x21(%rbp), %sil
leaq 0x1ad4b(%rip), %rcx     # 0x20099
leaq 0x1b2a5(%rip), %rax     # 0x205fa
testb $0x1, %sil
cmovneq %rax, %rcx
movl 0x27e40(%rip), %r8d     # 0x2d1a4
leaq 0x1b48b(%rip), %rsi     # 0x207f6
movb $0x0, %al
callq 0x33a0
testb $0x1, -0x21(%rbp)
je 0x538f
movq 0x27e51(%rip), %rdi     # 0x2d1d0
leaq 0x1b1dd(%rip), %rsi     # 0x20563
movb $0x0, %al
callq 0x33a0
jmp 0x53ab
movq 0x27e3a(%rip), %rdi     # 0x2d1d0
leaq 0x1bb13(%rip), %rsi     # 0x20eb0
leaq 0x1b1c5(%rip), %rdx     # 0x20569
movb $0x0, %al
callq 0x33a0
movq 0x27e1e(%rip), %rdi     # 0x2d1d0
movb -0x21(%rbp), %dl
leaq 0x1b1f1(%rip), %rax     # 0x205ad
leaq 0x1acd6(%rip), %rcx     # 0x20099
testb $0x1, %dl
movq %rcx, %rdx
cmovneq %rax, %rdx
leaq 0x1b1de(%rip), %rax     # 0x205b2
cmovneq %rax, %rcx
leaq 0x1b43d(%rip), %rsi     # 0x2081c
xorl %eax, %eax
callq 0x33a0
movl 0x27da8(%rip), %ecx     # 0x2d194
movl %ecx, %eax
imull %eax, %eax
addl %ecx, %eax
movq %rsp, %rcx
movq %rcx, -0x48(%rbp)
movq %rax, %rdx
addq $0xf, %rdx
andq $-0x10, %rdx
movq %rsp, %rcx
subq %rdx, %rcx
movq %rcx, -0xc0(%rbp)
movq %rcx, %rsp
movq %rax, -0x50(%rbp)
testb $0x1, -0x21(%rbp)
je 0x5436
movq 0x27daa(%rip), %rdi     # 0x2d1d0
leaq 0x1b40b(%rip), %rsi     # 0x20838
movb $0x0, %al
callq 0x33a0
jmp 0x548a
movq 0x27d93(%rip), %rax     # 0x2d1d0
movq %rax, -0xc8(%rbp)
cmpl $0x5, 0x27d49(%rip)     # 0x2d194
jle 0x545e
movl 0x27d41(%rip), %eax     # 0x2d194
subl $0x5, %eax
movl %eax, -0xcc(%rbp)
jmp 0x5468
xorl %eax, %eax
movl %eax, -0xcc(%rbp)
jmp 0x5468
movq -0xc8(%rbp), %rdi
movl -0xcc(%rbp), %edx
leaq 0x1b455(%rip), %rsi     # 0x208d1
leaq 0x1ac16(%rip), %rcx     # 0x20099
movb $0x0, %al
callq 0x33a0
movl $0x0, -0x18(%rbp)
movl -0x18(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x56d3
movl $0x0, -0x1c(%rbp)
movl $0x0, -0x20(%rbp)
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rcx
imulq $0x28, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rax
movslq -0x1c(%rbp), %rcx
cmpb $0x0, (%rax,%rcx)
je 0x5533
cmpl $0x0, -0x1c(%rbp)
jle 0x54f5
movl -0x1c(%rbp), %eax
cltd
idivl 0x27cbd(%rip)           # 0x2d194
cmpl $0x0, %edx
jne 0x54f5
movq -0xc0(%rbp), %rax
movl -0x20(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x20(%rbp)
movslq %ecx, %rcx
movb $0xa, (%rax,%rcx)
movq -0xc0(%rbp), %rax
movq -0x10(%rbp), %rcx
movslq -0x18(%rbp), %rdx
imulq $0x28, %rdx, %rdx
addq %rdx, %rcx
movq (%rcx), %rcx
movslq -0x1c(%rbp), %rdx
movb (%rcx,%rdx), %dl
movslq -0x20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x54ab
movq -0xc0(%rbp), %rax
movslq -0x20(%rbp), %rcx
movb $0x0, (%rax,%rcx)
testb $0x1, -0x21(%rbp)
je 0x5617
movq -0xc0(%rbp), %r9
movq 0x27c76(%rip), %rdi     # 0x2d1d0
movl -0x18(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %edx, %ecx
leaq 0x1b459(%rip), %rdx     # 0x209c7
leaq 0x1b44e(%rip), %rax     # 0x209c3
cmpl $0x0, %ecx
cmovneq %rax, %rdx
movb 0x27c0d(%rip), %sil     # 0x2d190
leaq 0x1ab0f(%rip), %rcx     # 0x20099
leaq 0x1b43b(%rip), %rax     # 0x209cc
testb $0x1, %sil
cmovneq %rax, %rcx
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rsi
imulq $0x28, %rsi, %rsi
addq %rsi, %rax
movq (%rax), %r8
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rsi
imulq $0x28, %rsi, %rsi
addq %rsi, %rax
movl 0x8(%rax), %eax
movq -0x10(%rbp), %rsi
movslq -0x18(%rbp), %r10
imulq $0x28, %r10, %r10
addq %r10, %rsi
movsd 0x20(%rsi), %xmm0
movq -0x10(%rbp), %rsi
movslq -0x18(%rbp), %r10
imulq $0x28, %r10, %r10
addq %r10, %rsi
movsd 0x10(%rsi), %xmm1
movq -0x10(%rbp), %rsi
movslq -0x18(%rbp), %r10
imulq $0x28, %r10, %r10
addq %r10, %rsi
movsd 0x18(%rsi), %xmm2
leaq 0x1b30f(%rip), %rsi     # 0x2090f
subq $0x10, %rsp
movl %eax, (%rsp)
movb $0x3, %al
callq 0x33a0
addq $0x10, %rsp
jmp 0x56c3
movq 0x27bb2(%rip), %rax     # 0x2d1d0
movq %rax, -0xd8(%rbp)
cmpl $0x5, 0x27b68(%rip)     # 0x2d194
jge 0x5641
movl $0x5, %eax
subl 0x27b5b(%rip), %eax     # 0x2d194
movl %eax, -0xdc(%rbp)
jmp 0x564b
xorl %eax, %eax
movl %eax, -0xdc(%rbp)
jmp 0x564b
movq -0xc0(%rbp), %rdx
movq -0xd8(%rbp), %rdi
movl -0xdc(%rbp), %ecx
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rsi
imulq $0x28, %rsi, %rsi
addq %rsi, %rax
movl 0x8(%rax), %r9d
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rsi
imulq $0x28, %rsi, %rsi
addq %rsi, %rax
movsd 0x20(%rax), %xmm0
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rsi
imulq $0x28, %rsi, %rsi
addq %rsi, %rax
movsd 0x10(%rax), %xmm1
movq -0x10(%rbp), %rax
movslq -0x18(%rbp), %rsi
imulq $0x28, %rsi, %rsi
addq %rsi, %rax
movsd 0x18(%rax), %xmm2
leaq 0x1b31c(%rip), %rsi     # 0x209d1
leaq 0x1a9dd(%rip), %r8      # 0x20099
movb $0x3, %al
callq 0x33a0
jmp 0x56c5
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x5491
testb $0x1, -0x21(%rbp)
je 0x56ee
movq 0x27af0(%rip), %rdi     # 0x2d1d0
leaq 0x1b313(%rip), %rsi     # 0x209fa
movb $0x0, %al
callq 0x33a0
movq -0x48(%rbp), %rax
movq %rax, %rsp
leaq -0x8(%rbp), %rsp
popq %rbx
popq %rbp
retq
nopl (%rax)