// File: /workspace/github_c_makefile_star2_O0/jsh58[P]Genrich/Genrich.c
// Function: printPeak
void printPeak(File out, bool gzOut, char* name,
    int64_t start, int64_t end, int count, float signal,
    float pval, float qval, uint32_t pos) {
  if (gzOut) {
    gzprintf(out.gzf, "%s\t%ld\t%ld\tpeak_%d\t%d\t.\t%f\t%f",
      name, start, end, count,
      MIN((unsigned int) (1000.0f * signal / (end - start)
        + 0.5f), 1000),
      signal, pval);
    if (qval == SKIP)
      gzprintf(out.gzf, "\t-1\t%d\n", pos);
    else
      gzprintf(out.gzf, "\t%f\t%d\n", qval, pos);
  } else {
    fprintf(out.f, "%s\t%ld\t%ld\tpeak_%d\t%d\t.\t%f\t%f",
      name, start, end, count,
      MIN((unsigned int) (1000.0f * signal / (end - start)
        + 0.5f), 1000),
      signal, pval);
    if (qval == SKIP)
      fprintf(out.f, "\t-1\t%d\n", pos);
    else
      fprintf(out.f, "\t%f\t%d\n", qval, pos);
  }
}

// Assembly:
subq $0x98, %rsp
movb %sil, %al
movl 0xa0(%rsp), %esi
movq %rdi, 0x90(%rsp)
andb $0x1, %al
movb %al, 0x8f(%rsp)
movq %rdx, 0x80(%rsp)
movq %rcx, 0x78(%rsp)
movq %r8, 0x70(%rsp)
movl %r9d, 0x6c(%rsp)
movss %xmm0, 0x68(%rsp)
movss %xmm1, 0x64(%rsp)
movss %xmm2, 0x60(%rsp)
testb $0x1, 0x8f(%rsp)
je 0x5b51
movq 0x90(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x78(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x50(%rsp)
movl 0x6c(%rsp), %edx
movl %edx, 0x5c(%rsp)
movss 0x68(%rsp), %xmm0
movss 0x1875b(%rip), %xmm1    # 0x1e198
mulss %xmm1, %xmm0
subq %rcx, %rax
cvtsi2ss %rax, %xmm1
divss %xmm1, %xmm0
movss 0x18747(%rip), %xmm1    # 0x1e19c
addss %xmm1, %xmm0
cvttss2si %xmm0, %rax
cmpl $0x3e8, %eax            # imm = 0x3E8
jae 0x5aa4
movss 0x68(%rsp), %xmm0
movss 0x18725(%rip), %xmm1    # 0x1e198
mulss %xmm1, %xmm0
movq 0x70(%rsp), %rax
movq 0x78(%rsp), %rcx
subq %rcx, %rax
cvtsi2ss %rax, %xmm1
divss %xmm1, %xmm0
movss 0x18707(%rip), %xmm1    # 0x1e19c
addss %xmm1, %xmm0
cvttss2si %xmm0, %rax
movl %eax, 0x34(%rsp)
jmp 0x5aaf
movl $0x3e8, %eax            # imm = 0x3E8
movl %eax, 0x34(%rsp)
jmp 0x5aaf
movl 0x5c(%rsp), %r9d
movq 0x50(%rsp), %r8
movq 0x48(%rsp), %rcx
movq 0x40(%rsp), %rdx
movq 0x38(%rsp), %rdi
movl 0x34(%rsp), %eax
movss 0x68(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movss 0x64(%rsp), %xmm1
cvtss2sd %xmm1, %xmm1
leaq 0x19b76(%rip), %rsi     # 0x1f65d
movl %eax, (%rsp)
movb $0x2, %al
callq 0x20e0
movss 0x60(%rsp), %xmm0
movss 0x18695(%rip), %xmm1    # 0x1e194
ucomiss %xmm1, %xmm0
jne 0x5b25
jp 0x5b25
movq 0x90(%rsp), %rdi
movl 0xa0(%rsp), %edx
leaq 0x19b5f(%rip), %rsi     # 0x1f67b
movb $0x0, %al
callq 0x20e0
jmp 0x5b4c
movq 0x90(%rsp), %rdi
movss 0x60(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movl 0xa0(%rsp), %edx
leaq 0x19b3e(%rip), %rsi     # 0x1f683
movb $0x1, %al
callq 0x20e0
jmp 0x5ca6
movq 0x90(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x78(%rsp), %rcx
movq %rcx, 0x20(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x28(%rsp)
movl 0x6c(%rsp), %edx
movl %edx, 0x30(%rsp)
movss 0x68(%rsp), %xmm0
movss 0x18603(%rip), %xmm1    # 0x1e198
mulss %xmm1, %xmm0
subq %rcx, %rax
cvtsi2ss %rax, %xmm1
divss %xmm1, %xmm0
movss 0x185ef(%rip), %xmm1    # 0x1e19c
addss %xmm1, %xmm0
cvttss2si %xmm0, %rax
cmpl $0x3e8, %eax            # imm = 0x3E8
jae 0x5bfc
movss 0x68(%rsp), %xmm0
movss 0x185cd(%rip), %xmm1    # 0x1e198
mulss %xmm1, %xmm0
movq 0x70(%rsp), %rax
movq 0x78(%rsp), %rcx
subq %rcx, %rax
cvtsi2ss %rax, %xmm1
divss %xmm1, %xmm0
movss 0x185af(%rip), %xmm1    # 0x1e19c
addss %xmm1, %xmm0
cvttss2si %xmm0, %rax
movl %eax, 0xc(%rsp)
jmp 0x5c07
movl $0x3e8, %eax            # imm = 0x3E8
movl %eax, 0xc(%rsp)
jmp 0x5c07
movl 0x30(%rsp), %r9d
movq 0x28(%rsp), %r8
movq 0x20(%rsp), %rcx
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rdi
movl 0xc(%rsp), %eax
movss 0x68(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movss 0x64(%rsp), %xmm1
cvtss2sd %xmm1, %xmm1
leaq 0x19a1e(%rip), %rsi     # 0x1f65d
movl %eax, (%rsp)
movb $0x2, %al
callq 0x21c0
movss 0x60(%rsp), %xmm0
movss 0x1853d(%rip), %xmm1    # 0x1e194
ucomiss %xmm1, %xmm0
jne 0x5c7d
jp 0x5c7d
movq 0x90(%rsp), %rdi
movl 0xa0(%rsp), %edx
leaq 0x19a07(%rip), %rsi     # 0x1f67b
movb $0x0, %al
callq 0x21c0
jmp 0x5ca4
movq 0x90(%rsp), %rdi
movss 0x60(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movl 0xa0(%rsp), %edx
leaq 0x199e6(%rip), %rsi     # 0x1f683
movb $0x1, %al
callq 0x21c0
jmp 0x5ca6
addq $0x98, %rsp
retq
nop