// File: /workspace/github_c_makefile_star2_O0/jsh58[P]Genrich/Genrich.c
// Function: logDup
void logDup(File dups, bool gzOut, char* name,
    Chrom* chrom, Chrom* chrom1, uint32_t pos,
    uint32_t pos1, bool strand, bool strand1,
    char* match, int alignType) {
  switch (alignType) {
    case PAIRED:
      if (gzOut)
        gzprintf(dups.gzf, "%s\t%s:%d-%d\t%s\tpaired\n",
          name, chrom->name, pos, pos1, match);
      else
        fprintf(dups.f, "%s\t%s:%d-%d\t%s\tpaired\n",
          name, chrom->name, pos, pos1, match);
      break;
    case SINGLE:
      if (gzOut)
        gzprintf(dups.gzf, "%s\t%s:%d,%c\t%s\tsingle\n",
          name, chrom->name, pos, strand ? '+' : '-',
          match);
      else
        fprintf(dups.f, "%s\t%s:%d,%c\t%s\tsingle\n",
          name, chrom->name, pos, strand ? '+' : '-',
          match);
      break;
    case DISCORD:
      if (gzOut)
        gzprintf(dups.gzf, "%s\t%s:%d,%c;%s:%d,%c\t%s\tdiscordant\n",
          name, chrom->name, pos, strand ? '+' : '-',
          chrom1->name, pos1, strand1 ? '+' : '-', match);
      else
        fprintf(dups.f, "%s\t%s:%d,%c;%s:%d,%c\t%s\tdiscordant\n",
          name, chrom->name, pos, strand ? '+' : '-',
          chrom1->name, pos1, strand1 ? '+' : '-', match);
      break;
    default:
      exit(error("", ERRALNTYPE));
  }
}

// Assembly:
pushq %rbx
subq $0x70, %rsp
movq %rcx, 0x28(%rsp)
movq %rdx, %rax
movq 0x28(%rsp), %rdx
movq %rax, 0x30(%rsp)
movl %esi, %eax
movq 0x30(%rsp), %rsi
movq %rdi, %r10
movb %al, %dil
movl 0xa0(%rsp), %eax
movq 0x98(%rsp), %rax
movb 0x90(%rsp), %al
movb 0x88(%rsp), %cl
movl 0x80(%rsp), %r11d
movq %r10, 0x68(%rsp)
andb $0x1, %dil
movb %dil, 0x67(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %r8, 0x48(%rsp)
movl %r9d, 0x44(%rsp)
andb $0x1, %cl
movb %cl, 0x43(%rsp)
andb $0x1, %al
movb %al, 0x42(%rsp)
movl 0xa0(%rsp), %eax
movl %eax, 0x3c(%rsp)
testl %eax, %eax
je 0xfbea
jmp 0xfbc9
movl 0x3c(%rsp), %eax
subl $0x1, %eax
je 0xfc6a
jmp 0xfbd8
movl 0x3c(%rsp), %eax
subl $0x2, %eax
je 0xfd0a
jmp 0xfe1c
testb $0x1, 0x67(%rsp)
je 0xfc2c
movq 0x68(%rsp), %rdi
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rax
movq (%rax), %rcx
movl 0x44(%rsp), %r8d
movl 0x80(%rsp), %r9d
movq 0x98(%rsp), %rax
leaq 0x10093(%rip), %rsi     # 0x1fcb2
movq %rax, (%rsp)
movb $0x0, %al
callq 0x20e0
jmp 0xfc65
movq 0x68(%rsp), %rdi
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rax
movq (%rax), %rcx
movl 0x44(%rsp), %r8d
movl 0x80(%rsp), %r9d
movq 0x98(%rsp), %rax
leaq 0x10058(%rip), %rsi     # 0x1fcb2
movq %rax, (%rsp)
movb $0x0, %al
callq 0x21c0
jmp 0xfe34
testb $0x1, 0x67(%rsp)
je 0xfcbc
movq 0x68(%rsp), %rdi
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rax
movq (%rax), %rcx
movl 0x44(%rsp), %r8d
movb 0x43(%rsp), %sil
movl $0x2d, %r9d
movl $0x2b, %eax
testb $0x1, %sil
cmovnel %eax, %r9d
movq 0x98(%rsp), %rax
leaq 0x1001a(%rip), %rsi     # 0x1fcc9
movq %rax, (%rsp)
movb $0x0, %al
callq 0x20e0
jmp 0xfd05
movq 0x68(%rsp), %rdi
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rax
movq (%rax), %rcx
movl 0x44(%rsp), %r8d
movb 0x43(%rsp), %sil
movl $0x2d, %r9d
movl $0x2b, %eax
testb $0x1, %sil
cmovnel %eax, %r9d
movq 0x98(%rsp), %rax
leaq 0xffcf(%rip), %rsi      # 0x1fcc9
movq %rax, (%rsp)
movb $0x0, %al
callq 0x21c0
jmp 0xfe34
testb $0x1, 0x67(%rsp)
je 0xfd9a
movq 0x68(%rsp), %rdi
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rax
movq (%rax), %rcx
movl 0x44(%rsp), %r8d
movb 0x43(%rsp), %sil
movl $0x2d, %r9d
movl $0x2b, %eax
testb $0x1, %sil
cmovnel %eax, %r9d
movq 0x48(%rsp), %rax
movq (%rax), %rbx
movl 0x80(%rsp), %r11d
movb 0x42(%rsp), %sil
movl $0x2d, %r10d
movl $0x2b, %eax
testb $0x1, %sil
cmovnel %eax, %r10d
movq 0x98(%rsp), %rax
leaq 0xff65(%rip), %rsi      # 0x1fce0
movq %rbx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movq %rax, 0x18(%rsp)
movb $0x0, %al
callq 0x20e0
jmp 0xfe1a
movq 0x68(%rsp), %rdi
movq 0x58(%rsp), %rdx
movq 0x50(%rsp), %rax
movq (%rax), %rcx
movl 0x44(%rsp), %r8d
movb 0x43(%rsp), %sil
movl $0x2d, %r9d
movl $0x2b, %eax
testb $0x1, %sil
cmovnel %eax, %r9d
movq 0x48(%rsp), %rax
movq (%rax), %rbx
movl 0x80(%rsp), %r11d
movb 0x42(%rsp), %sil
movl $0x2d, %r10d
movl $0x2b, %eax
testb $0x1, %sil
cmovnel %eax, %r10d
movq 0x98(%rsp), %rax
leaq 0xfee0(%rip), %rsi      # 0x1fce0
movq %rbx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movq %rax, 0x18(%rsp)
movb $0x0, %al
callq 0x21c0
jmp 0xfe34
leaq 0xff4f(%rip), %rdi      # 0x1fd72
movl $0x28, %esi
callq 0x2840
movl %eax, %edi
callq 0x22b0
addq $0x70, %rsp
popq %rbx
retq
nopw (%rax,%rax)