// File: /workspace/github_c_makefile_star2_O0/thegenemyers[P]DASCRUBBER/align.c
// Function: Print_Overlap
void Print_Overlap(FILE *output, Overlap *ovl, int tbytes, int indent)
{ int     i;

  fprintf(output,"%*s%d vs. ",indent,"",ovl->aread);
  if (COMP(ovl->flags))
    fprintf(output,"c(%d)\n",ovl->bread);
  else
    fprintf(output,"%d\n",ovl->bread);
  fprintf(output,"%*s  [%d,%d] vs [%d,%d] w. %d diffs\n",indent,"",
                 ovl->path.abpos,ovl->path.aepos,ovl->path.bbpos,ovl->path.bepos,ovl->path.diffs);

  if (tbytes == 1)
    { uint8 *trace = (uint8 *) (ovl->path.trace);
      if (trace != NULL)
        { int p = ovl->path.bbpos + trace[1];
          fprintf(output,"%*sTrace: %3d/%5d",indent,"",trace[0],p);
          for (i = 3; i < ovl->path.tlen; i += 2)
            { if (i%10 == 0)
                fprintf(output,"\n%*s",indent+6,"");
              p += trace[i];
              fprintf(output," %3d/%5d",trace[i-1],p);
            }
          fprintf(output,"\n");
        }
    }
  else
    { uint16 *trace = (uint16 *) (ovl->path.trace);
      if (trace != NULL)
        { int p = ovl->path.bbpos + trace[1];
          fprintf(output,"%*sTrace: %3d/%5d",indent,"",trace[0],p);
          for (i = 3; i < ovl->path.tlen; i += 2)
            { if (i%10 == 0)
                fprintf(output,"\n%*s",indent+6,"");
              p += trace[i];
              fprintf(output," %3d/%5d",trace[i-1],p);
            }
          fprintf(output,"\n");
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movl -0x18(%rbp), %edx
movq -0x10(%rbp), %rax
movl 0x24(%rax), %r8d
leaq 0x189d8(%rip), %rsi     # 0x26524
leaq 0x192d7(%rip), %rcx     # 0x26e2a
movb $0x0, %al
callq 0x2190
movq -0x10(%rbp), %rax
movl 0x20(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0xdb84
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movl 0x28(%rax), %edx
leaq 0x189b4(%rip), %rsi     # 0x2652f
movb $0x0, %al
callq 0x2190
jmp 0xdb9d
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movl 0x28(%rax), %edx
leaq 0x19a2b(%rip), %rsi     # 0x275c1
movb $0x0, %al
callq 0x2190
movq -0x8(%rbp), %rdi
movl -0x18(%rbp), %edx
movq -0x10(%rbp), %rax
movl 0x10(%rax), %r8d
movq -0x10(%rbp), %rax
movl 0x18(%rax), %r9d
movq -0x10(%rbp), %rax
movl 0x14(%rax), %r11d
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %r10d
movq -0x10(%rbp), %rax
movl 0xc(%rax), %eax
leaq 0x18964(%rip), %rsi     # 0x26536
leaq 0x19251(%rip), %rcx     # 0x26e2a
movl %r11d, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0x2190
cmpl $0x1, -0x14(%rbp)
jne 0xdce5
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0xdce0
movq -0x10(%rbp), %rax
movl 0x14(%rax), %eax
movq -0x28(%rbp), %rcx
movzbl 0x1(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x2c(%rbp)
movq -0x8(%rbp), %rdi
movl -0x18(%rbp), %edx
movq -0x28(%rbp), %rax
movzbl (%rax), %r8d
movl -0x2c(%rbp), %r9d
leaq 0x18920(%rip), %rsi     # 0x2655b
leaq 0x191e8(%rip), %rcx     # 0x26e2a
movb $0x0, %al
callq 0x2190
movl $0x3, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jge 0xdcce
movl -0x1c(%rbp), %eax
movl $0xa, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0xdc8b
movq -0x8(%rbp), %rdi
movl -0x18(%rbp), %edx
addl $0x6, %edx
leaq 0x188f0(%rip), %rsi     # 0x2656d
leaq 0x191a6(%rip), %rcx     # 0x26e2a
movb $0x0, %al
callq 0x2190
movq -0x28(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
addl -0x2c(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rax
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movzbl (%rax,%rcx), %edx
movl -0x2c(%rbp), %ecx
leaq 0x188a8(%rip), %rsi     # 0x26564
movb $0x0, %al
callq 0x2190
movl -0x1c(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x1c(%rbp)
jmp 0xdc50
movq -0x8(%rbp), %rdi
leaq 0x19150(%rip), %rsi     # 0x26e29
movb $0x0, %al
callq 0x2190
jmp 0xddd0
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
je 0xddce
movq -0x10(%rbp), %rax
movl 0x14(%rax), %eax
movq -0x38(%rbp), %rcx
movzwl 0x2(%rcx), %ecx
addl %ecx, %eax
movl %eax, -0x3c(%rbp)
movq -0x8(%rbp), %rdi
movl -0x18(%rbp), %edx
movq -0x38(%rbp), %rax
movzwl (%rax), %r8d
movl -0x3c(%rbp), %r9d
leaq 0x18832(%rip), %rsi     # 0x2655b
leaq 0x190fa(%rip), %rcx     # 0x26e2a
movb $0x0, %al
callq 0x2190
movl $0x3, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x10(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jge 0xddbc
movl -0x1c(%rbp), %eax
movl $0xa, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0xdd79
movq -0x8(%rbp), %rdi
movl -0x18(%rbp), %edx
addl $0x6, %edx
leaq 0x18802(%rip), %rsi     # 0x2656d
leaq 0x190b8(%rip), %rcx     # 0x26e2a
movb $0x0, %al
callq 0x2190
movq -0x38(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movzwl (%rax,%rcx,2), %eax
addl -0x3c(%rbp), %eax
movl %eax, -0x3c(%rbp)
movq -0x8(%rbp), %rdi
movq -0x38(%rbp), %rax
movl -0x1c(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %edx
movl -0x3c(%rbp), %ecx
leaq 0x187ba(%rip), %rsi     # 0x26564
movb $0x0, %al
callq 0x2190
movl -0x1c(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x1c(%rbp)
jmp 0xdd3e
movq -0x8(%rbp), %rdi
leaq 0x19062(%rip), %rsi     # 0x26e29
movb $0x0, %al
callq 0x2190
jmp 0xddd0
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)