// File: isovic[P]cigargen/cigargen.cc
// Function: Verbose(_IO_FILE*, char*, unsigned int, char*, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>>&, std::vector<std::vector<unsigned char, std::allocator<unsigned char>>, std::allocator<std::vector<unsigned char, std::allocator<unsigned char>>>>&)
void Verbose(FILE *fp, char *query, uint32_t query_length, char *reference, uint32_t reference_length, std::string &cigar, std::vector<std::vector<int32_t> > &dp_matrix, std::vector<std::vector<uint8_t> > &dp_traceback) {
  fprintf (fp, "%3c", ' ');
  for (uint32_t i=0; i<=reference_length; i++) {
    if (i > 0)
      fprintf (fp, "%3c", reference[i-1]);
    else
      fprintf (fp, "%3c", '-');
  }
  fprintf (fp, "\n");

  for (uint32_t i=0; i<=query_length; i++) {
    if (i > 0)
      fprintf (fp, "%3c", query[i-1]);
    else
      fprintf (fp, "%3c", '-');

    for (uint32_t j=0; j<=reference_length; j++) {
      fprintf (fp, "%3d", dp_matrix[i][j]);
    }
    fprintf (fp, "\n");
  }

  fprintf (fp, "\n");
  fprintf (fp, "Traceback:\n");

  fprintf (fp, "%3c", ' ');
  for (uint32_t i=0; i<=reference_length; i++) {
    if (i > 0)
      fprintf (fp, "%3c", reference[i-1]);
    else
      fprintf (fp, "%3c", '-');
  }
  fprintf (fp, "\n");

  for (uint32_t i=0; i<=query_length; i++) {
    if (i > 0)
      fprintf (fp, "%3c", query[i-1]);
    else
      fprintf (fp, "%3c", '-');

    for (uint32_t j=0; j<=reference_length; j++) {
      fprintf (fp, "%3d", dp_traceback[i][j]);
    }
    fprintf (fp, "\n");
  }

  fprintf (fp, "\n");

  fprintf (fp, "CIGAR: %s\n", cigar.c_str());
  fprintf (fp, "\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq %r9, -0x30(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x3a98(%rip), %rsi      # 0x70ca
movl $0x20, %edx
movb $0x0, %al
callq 0x2250
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x24(%rbp), %eax
ja 0x369b
cmpl $0x0, -0x34(%rbp)
jbe 0x3677
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rax
movl -0x34(%rbp), %ecx
subl $0x1, %ecx
movl %ecx, %ecx
movsbl (%rax,%rcx), %edx
leaq 0x3a5c(%rip), %rsi      # 0x70ca
movb $0x0, %al
callq 0x2250
jmp 0x368e
movq -0x8(%rbp), %rdi
leaq 0x3a48(%rip), %rsi      # 0x70ca
movl $0x2d, %edx
movb $0x0, %al
callq 0x2250
jmp 0x3690
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x3645
movq -0x8(%rbp), %rdi
leaq 0x3a36(%rip), %rsi      # 0x70dc
movb $0x0, %al
callq 0x2250
movl $0x0, -0x38(%rbp)
movl -0x38(%rbp), %eax
cmpl -0x14(%rbp), %eax
ja 0x3772
cmpl $0x0, -0x38(%rbp)
jbe 0x36ea
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movl -0x38(%rbp), %ecx
subl $0x1, %ecx
movl %ecx, %ecx
movsbl (%rax,%rcx), %edx
leaq 0x39e9(%rip), %rsi      # 0x70ca
movb $0x0, %al
callq 0x2250
jmp 0x3701
movq -0x8(%rbp), %rdi
leaq 0x39d5(%rip), %rsi      # 0x70ca
movl $0x2d, %edx
movb $0x0, %al
callq 0x2250
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpl -0x24(%rbp), %eax
ja 0x3752
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq 0x10(%rbp), %rdi
movl -0x38(%rbp), %eax
movl %eax, %esi
callq 0x3d00
movq %rax, %rdi
movl -0x3c(%rbp), %eax
movl %eax, %esi
callq 0x3d20
movq -0x50(%rbp), %rdi
movl (%rax), %edx
leaq 0x398e(%rip), %rsi      # 0x70ce
movb $0x0, %al
callq 0x2250
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x3708
movq -0x8(%rbp), %rdi
leaq 0x397f(%rip), %rsi      # 0x70dc
movb $0x0, %al
callq 0x2250
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x36b4
movq -0x8(%rbp), %rdi
leaq 0x395f(%rip), %rsi      # 0x70dc
movb $0x0, %al
callq 0x2250
movq -0x8(%rbp), %rdi
leaq 0x3943(%rip), %rsi      # 0x70d2
movb $0x0, %al
callq 0x2250
movq -0x8(%rbp), %rdi
leaq 0x3929(%rip), %rsi      # 0x70ca
movl $0x20, %edx
movb $0x0, %al
callq 0x2250
movl $0x0, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0x24(%rbp), %eax
ja 0x380a
cmpl $0x0, -0x40(%rbp)
jbe 0x37e6
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rax
movl -0x40(%rbp), %ecx
subl $0x1, %ecx
movl %ecx, %ecx
movsbl (%rax,%rcx), %edx
leaq 0x38ed(%rip), %rsi      # 0x70ca
movb $0x0, %al
callq 0x2250
jmp 0x37fd
movq -0x8(%rbp), %rdi
leaq 0x38d9(%rip), %rsi      # 0x70ca
movl $0x2d, %edx
movb $0x0, %al
callq 0x2250
jmp 0x37ff
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0x37b4
movq -0x8(%rbp), %rdi
leaq 0x38c7(%rip), %rsi      # 0x70dc
movb $0x0, %al
callq 0x2250
movl $0x0, -0x44(%rbp)
movl -0x44(%rbp), %eax
cmpl -0x14(%rbp), %eax
ja 0x38e2
cmpl $0x0, -0x44(%rbp)
jbe 0x3859
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movl -0x44(%rbp), %ecx
subl $0x1, %ecx
movl %ecx, %ecx
movsbl (%rax,%rcx), %edx
leaq 0x387a(%rip), %rsi      # 0x70ca
movb $0x0, %al
callq 0x2250
jmp 0x3870
movq -0x8(%rbp), %rdi
leaq 0x3866(%rip), %rsi      # 0x70ca
movl $0x2d, %edx
movb $0x0, %al
callq 0x2250
movl $0x0, -0x48(%rbp)
movl -0x48(%rbp), %eax
cmpl -0x24(%rbp), %eax
ja 0x38c2
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq 0x18(%rbp), %rdi
movl -0x44(%rbp), %eax
movl %eax, %esi
callq 0x3d40
movq %rax, %rdi
movl -0x48(%rbp), %eax
movl %eax, %esi
callq 0x3d60
movq -0x58(%rbp), %rdi
movzbl (%rax), %edx
leaq 0x381e(%rip), %rsi      # 0x70ce
movb $0x0, %al
callq 0x2250
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x3877
movq -0x8(%rbp), %rdi
leaq 0x380f(%rip), %rsi      # 0x70dc
movb $0x0, %al
callq 0x2250
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x3823
movq -0x8(%rbp), %rdi
leaq 0x37ef(%rip), %rsi      # 0x70dc
movb $0x0, %al
callq 0x2250
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x30(%rbp), %rdi
callq 0x2090
movq -0x60(%rbp), %rdi
movq %rax, %rdx
leaq 0x374a(%rip), %rsi      # 0x705d
movb $0x0, %al
callq 0x2250
movq -0x8(%rbp), %rdi
leaq 0x37b7(%rip), %rsi      # 0x70dc
movb $0x0, %al
callq 0x2250
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)