// File: /workspace/github_c_makefile_star2_O2/jsh58[P]Genrich/Genrich.c
// Function: printInterval
void printInterval(File out, bool gzOut, char* name,
    uint32_t start, uint32_t end, float exptVal,
    float ctrlVal, float pval, bool qvalOpt, float qval,
    bool sig) {
  if (gzOut) {
    if (ctrlVal == SKIP) {
      gzprintf(out.gzf, "%s\t%d\t%d\t%f\t%f\t%s",
        name, start, end, exptVal, 0.0f, NA);
      if (qvalOpt)
        gzprintf(out.gzf, "\t%s", NA);
      gzprintf(out.gzf, "\n");
    } else {
      gzprintf(out.gzf, "%s\t%d\t%d\t%f\t%f\t%f",
        name, start, end, exptVal, ctrlVal, pval);
      if (qvalOpt)
        gzprintf(out.gzf, "\t%f", qval);
      gzprintf(out.gzf, "%s\n", sig ? "\t*" : "");
    }
  } else {
    if (ctrlVal == SKIP) {
      fprintf(out.f, "%s\t%d\t%d\t%f\t%f\t%s",
        name, start, end, exptVal, 0.0f, NA);
      if (qvalOpt)
        fprintf(out.f, "\t%s", NA);
      fprintf(out.f, "\n");
    } else {
      fprintf(out.f, "%s\t%d\t%d\t%f\t%f\t%f",
        name, start, end, exptVal, ctrlVal, pval);
      if (qvalOpt)
        fprintf(out.f, "\t%f", qval);
      fprintf(out.f, "%s\n", sig ? "\t*" : "");
    }
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %r9d, %ebp
movq %rdi, %rbx
movb 0x30(%rsp), %r14b
cvtss2sd %xmm0, %xmm0
testl %esi, %esi
je 0x3cc3
ucomiss 0xc502(%rip), %xmm1     # 0x10168
jne 0x3d21
jp 0x3d21
leaq 0xd790(%rip), %rsi      # 0x11409
leaq 0xd783(%rip), %r9       # 0x11403
xorps %xmm1, %xmm1
movq %rbx, %rdi
movb $0x2, %al
callq 0x20e0
testb %bpl, %bpl
je 0x3caa
leaq 0xd77e(%rip), %rsi      # 0x11417
leaq 0xd763(%rip), %rdx      # 0x11403
movq %rbx, %rdi
xorl %eax, %eax
callq 0x20e0
leaq 0xd94e(%rip), %rsi      # 0x115ff
movq %rbx, %rdi
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x20e0
ucomiss 0xc49e(%rip), %xmm1     # 0x10168
jne 0x3d8a
jp 0x3d8a
leaq 0xd72c(%rip), %rsi      # 0x11409
leaq 0xd71f(%rip), %r9       # 0x11403
xorps %xmm1, %xmm1
movq %rbx, %rdi
movb $0x2, %al
callq 0x21c0
testb %bpl, %bpl
je 0x3d0e
leaq 0xd71a(%rip), %rsi      # 0x11417
leaq 0xd6ff(%rip), %rdx      # 0x11403
movq %rbx, %rdi
xorl %eax, %eax
callq 0x21c0
pushq $0xa
popq %rdi
movq %rbx, %rsi
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x2170
movss %xmm3, 0xc(%rsp)
cvtss2sd %xmm1, %xmm1
cvtss2sd %xmm2, %xmm2
leaq 0xd6e5(%rip), %rsi      # 0x1141b
movq %rbx, %rdi
movb $0x3, %al
callq 0x20e0
testb %bpl, %bpl
je 0x3d5c
cvtss2sd 0xc(%rsp), %xmm0
leaq 0xd6f5(%rip), %rsi      # 0x11447
movq %rbx, %rdi
movb $0x1, %al
callq 0x20e0
leaq 0xd6a3(%rip), %rax      # 0x11406
leaq 0xdda5(%rip), %rdx      # 0x11b0f
testb %r14b, %r14b
cmovneq %rax, %rdx
leaq 0xda3f(%rip), %rsi      # 0x117b7
movq %rbx, %rdi
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x20e0
movss %xmm3, 0xc(%rsp)
cvtss2sd %xmm1, %xmm1
cvtss2sd %xmm2, %xmm2
leaq 0xd67c(%rip), %rsi      # 0x1141b
movq %rbx, %rdi
movb $0x3, %al
callq 0x21c0
testb %bpl, %bpl
je 0x3dc5
cvtss2sd 0xc(%rsp), %xmm0
leaq 0xd68c(%rip), %rsi      # 0x11447
movq %rbx, %rdi
movb $0x1, %al
callq 0x21c0
leaq 0xd63a(%rip), %rax      # 0x11406
leaq 0xdd3c(%rip), %rdx      # 0x11b0f
testb %r14b, %r14b
cmovneq %rax, %rdx
leaq 0xd9d6(%rip), %rsi      # 0x117b7
movq %rbx, %rdi
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x21c0