// File: /workspace/github_c_makefile_star2_O0/00pauln00[P]yapio/yapio.c
// Function: yapio_display_result
static void
yapio_display_result(const yapio_test_ctx_t *ytc, yapio_test_group_t *ytg)
{
    const yapio_timer_t *test_duration = &ytc->ytc_test_duration;
    const int nranks = ytg->ytg_num_ranks;
    const size_t blksz = ytg->ytg_blk_sz;
    const size_t nblks_per_rank =
        ytc->ytc_stonewalled ?
        (size_t)ytc->ytc_num_ops_completed_before_stonewall :
        ytg->ytg_num_blks_per_rank;

    float bandwidth =
        (float)(((float)nranks * nblks_per_rank * blksz) /
                yapio_timer_to_float(test_duration));

    char *unit_str;
    if (bandwidth < (1ULL << 20))
    {
        bandwidth /= (1ULL << 10);
        unit_str = "K";
    }
    else if (bandwidth < (1ULL << 30))
    {
        bandwidth /= (1ULL << 20);
        unit_str = "M";
    }
    else if (bandwidth < (1ULL << 40))
    {
        bandwidth /= (1ULL << 30);
        unit_str = "G";
    }
    else if (bandwidth < (1ULL << 50))
    {
        bandwidth /= (1ULL << 40);
        unit_str = "T";
    }

    fprintf(stdout, "%8.2f %s.%02d.%02d: %s%s%s%s%s%s%s %6.02f %siB/s%s",
            yapio_timer_to_float(&ytc->ytc_reported_time),
            ytc->ytc_suffix, ytg->ytg_group_num,
            ytc->ytc_test_num,
            (ytc->ytc_io_pattern == YAPIO_IOP_SEQUENTIAL ? "s" :
             (ytc->ytc_io_pattern ==
              YAPIO_IOP_RANDOM ? "R" : "S")),
            ytc->ytc_read            ? "r" : "w",
            ytc->ytc_remote_locality ? "D" : "L",
            ytc->ytc_no_fsync        ? "f" : "-",
            ytc->ytc_backwards       ? "b" : "-",
            ytc->ytc_leave_holes     ? "h" : "-",
            ytc->ytc_stonewalled     ? "X" : "-",
            bandwidth, unit_str,
            yapioDisplayStats ? "" : "\n");

    if (yapioDisplayStats)
    {
        const float *barrier_results = ytc->ytc_barrier_results;
        int   barrier_max_rank = ytc->ytc_barrier_max_rank;

        fprintf(stdout,
                "  %8.2f <"YAPIO_TIME_PRINT_SPEC","YAPIO_TIME_PRINT_SPEC","
                YAPIO_TIME_PRINT_SPEC","YAPIO_TIME_PRINT_SPEC":%d>\n",
                YAPIO_TIMER_ARGS(test_duration),
                YAPIO_TIMER_ARGS(&ytc->ytc_setup_time),
                barrier_results[YAPIO_BARRIER_STATS_AVG],
                barrier_results[YAPIO_BARRIER_STATS_MED],
                barrier_results[YAPIO_BARRIER_STATS_MAX],
                barrier_max_rank);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdi, 0xe0(%rsp)
movq %rsi, 0xd8(%rsp)
movq 0xe0(%rsp), %rax
addq $0x28, %rax
movq %rax, 0xd0(%rsp)
movq 0xd8(%rsp), %rax
movl 0xb01c(%rax), %eax
movl %eax, 0xcc(%rsp)
movq 0xd8(%rsp), %rax
movq 0xb028(%rax), %rax
movq %rax, 0xc0(%rsp)
movq 0xe0(%rsp), %rax
testb $0x1, 0x1(%rax)
je 0x7495
movq 0xe0(%rsp), %rax
movslq 0x8(%rax), %rax
movq %rax, 0x90(%rsp)
jmp 0x74ac
movq 0xd8(%rsp), %rax
movq 0xb020(%rax), %rax
movq %rax, 0x90(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0xb8(%rsp)
cvtsi2ssl 0xcc(%rsp), %xmm0
movss %xmm0, 0x84(%rsp)
movq 0xb8(%rsp), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0x88(%rsp)
testq %rax, %rax
movss %xmm0, 0x8c(%rsp)
js 0x751b
movss 0x88(%rsp), %xmm0
movss %xmm0, 0x8c(%rsp)
movss 0x84(%rsp), %xmm0
movss 0x8c(%rsp), %xmm1
mulss %xmm1, %xmm0
movss %xmm0, 0x78(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0x7c(%rsp)
testq %rax, %rax
movss %xmm0, 0x80(%rsp)
js 0x757e
movss 0x7c(%rsp), %xmm0
movss %xmm0, 0x80(%rsp)
movss 0x78(%rsp), %xmm0
movss 0x80(%rsp), %xmm1
mulss %xmm1, %xmm0
movss %xmm0, 0x74(%rsp)
movq 0xd0(%rsp), %rdi
callq 0x7a80
movaps %xmm0, %xmm1
movss 0x74(%rsp), %xmm0
divss %xmm1, %xmm0
movss %xmm0, 0xb4(%rsp)
movss 0x3d0e(%rip), %xmm0     # 0xb2d0
ucomiss 0xb4(%rsp), %xmm0
jbe 0x75fe
movss 0xb4(%rsp), %xmm0
movss 0x3d03(%rip), %xmm1     # 0xb2e0
divss %xmm1, %xmm0
movss %xmm0, 0xb4(%rsp)
leaq 0x4e4b(%rip), %rax      # 0xc43c
movq %rax, 0xa8(%rsp)
jmp 0x76c8
movss 0x3cce(%rip), %xmm0     # 0xb2d4
ucomiss 0xb4(%rsp), %xmm0
jbe 0x7642
movss 0xb4(%rsp), %xmm0
movss 0x3caf(%rip), %xmm1     # 0xb2d0
divss %xmm1, %xmm0
movss %xmm0, 0xb4(%rsp)
leaq 0x4e09(%rip), %rax      # 0xc43e
movq %rax, 0xa8(%rsp)
jmp 0x76c6
movss 0x3c8e(%rip), %xmm0     # 0xb2d8
ucomiss 0xb4(%rsp), %xmm0
jbe 0x7683
movss 0xb4(%rsp), %xmm0
movss 0x3c6f(%rip), %xmm1     # 0xb2d4
divss %xmm1, %xmm0
movss %xmm0, 0xb4(%rsp)
leaq 0x4dc7(%rip), %rax      # 0xc440
movq %rax, 0xa8(%rsp)
jmp 0x76c4
movss 0x3c51(%rip), %xmm0     # 0xb2dc
ucomiss 0xb4(%rsp), %xmm0
jbe 0x76c2
movss 0xb4(%rsp), %xmm0
movss 0x3c32(%rip), %xmm1     # 0xb2d8
divss %xmm1, %xmm0
movss %xmm0, 0xb4(%rsp)
leaq 0x4d88(%rip), %rax      # 0xc442
movq %rax, 0xa8(%rsp)
jmp 0x76c4
jmp 0x76c6
jmp 0x76c8
movq 0x7929(%rip), %rax      # 0xeff8
movq (%rax), %rax
movq %rax, 0x50(%rsp)
movq 0xe0(%rsp), %rdi
addq $0x38, %rdi
callq 0x7a80
cvtss2sd %xmm0, %xmm0
movsd %xmm0, 0x58(%rsp)
movq 0xe0(%rsp), %rax
addq $0x98, %rax
movq %rax, 0x60(%rsp)
movq 0xd8(%rsp), %rax
movl 0xb014(%rax), %eax
movl %eax, 0x6c(%rsp)
movq 0xe0(%rsp), %rax
movl 0x10(%rax), %eax
movl %eax, 0x70(%rsp)
movq 0xe0(%rsp), %rax
cmpl $0x0, 0xc(%rax)
jne 0x7742
leaq 0x4a91(%rip), %rax      # 0xc1cc
movq %rax, 0x48(%rsp)
jmp 0x7767
movq 0xe0(%rsp), %rax
movl 0xc(%rax), %edx
leaq 0x4d25(%rip), %rax      # 0xc479
leaq 0x4d1c(%rip), %rcx      # 0xc477
cmpl $0x1, %edx
cmoveq %rcx, %rax
movq %rax, 0x48(%rsp)
movl 0x70(%rsp), %r8d
movl 0x6c(%rsp), %ecx
movq 0x60(%rsp), %rdx
movsd 0x58(%rsp), %xmm0
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %r9
movq 0xe0(%rsp), %rax
movb (%rax), %al
shrb $0x3, %al
andb $0x1, %al
movzbl %al, %esi
leaq 0x4997(%rip), %r13      # 0xc135
leaq 0x543e(%rip), %rax      # 0xcbe3
cmpl $0x0, %esi
cmovneq %rax, %r13
movq 0xe0(%rsp), %rax
movb (%rax), %al
shrb $0x2, %al
andb $0x1, %al
movzbl %al, %esi
leaq 0x4cb8(%rip), %r12      # 0xc47d
leaq 0x4caf(%rip), %rax      # 0xc47b
cmpl $0x0, %esi
cmovneq %rax, %r12
movq 0xe0(%rsp), %rax
movb (%rax), %al
shrb $0x4, %al
andb $0x1, %al
movzbl %al, %esi
leaq 0x4c95(%rip), %r15      # 0xc481
leaq 0x4c8c(%rip), %rax      # 0xc47f
cmpl $0x0, %esi
cmovneq %rax, %r15
movq 0xe0(%rsp), %rax
movb (%rax), %al
shrb %al
andb $0x1, %al
movzbl %al, %esi
leaq 0x4c6f(%rip), %r14      # 0xc481
leaq 0x4c6a(%rip), %rax      # 0xc483
cmpl $0x0, %esi
cmovneq %rax, %r14
movq 0xe0(%rsp), %rax
movb (%rax), %al
andb $0x1, %al
movzbl %al, %esi
leaq 0x4c4b(%rip), %rbx      # 0xc481
leaq 0x4d43(%rip), %rax      # 0xc580
cmpl $0x0, %esi
cmovneq %rax, %rbx
movq 0xe0(%rsp), %rax
movb 0x1(%rax), %sil
leaq 0x4c2a(%rip), %r11      # 0xc481
leaq 0x4975(%rip), %rax      # 0xc1d3
testb $0x1, %sil
cmovneq %rax, %r11
movss 0xb4(%rsp), %xmm1
cvtss2sd %xmm1, %xmm1
movq 0xa8(%rsp), %r10
movb 0x207a33(%rip), %bpl    # 0x20f2b5
leaq 0x422e(%rip), %rax      # 0xbab7
leaq 0x4228(%rip), %rsi      # 0xbab8
testb $0x1, %bpl
cmovneq %rsi, %rax
leaq 0x4ba5(%rip), %rsi      # 0xc444
movq %r13, (%rsp)
movq %r12, 0x8(%rsp)
movq %r15, 0x10(%rsp)
movq %r14, 0x18(%rsp)
movq %rbx, 0x20(%rsp)
movq %r11, 0x28(%rsp)
movq %r10, 0x30(%rsp)
movq %rax, 0x38(%rsp)
movb $0x2, %al
callq 0x2370
testb $0x1, 0x2079e1(%rip)    # 0x20f2b5
je 0x79b5
movq 0xe0(%rsp), %rax
addq $0x88, %rax
movq %rax, 0xa0(%rsp)
movq 0xe0(%rsp), %rax
movl 0x94(%rax), %eax
movl %eax, 0x9c(%rsp)
movq 0x76ec(%rip), %rax      # 0xeff8
movq (%rax), %rdi
movq 0xd0(%rsp), %rax
cvtsi2ssq (%rax), %xmm0
movq 0xd0(%rsp), %rax
cvtsi2ssq 0x8(%rax), %xmm1
movss 0x39b2(%rip), %xmm2     # 0xb2e4
divss %xmm2, %xmm1
addss %xmm1, %xmm0
cvtss2sd %xmm0, %xmm0
movq 0xe0(%rsp), %rax
cvtsi2ssq 0x18(%rax), %xmm1
movq 0xe0(%rsp), %rax
cvtsi2ssq 0x20(%rax), %xmm2
movss 0x3982(%rip), %xmm3     # 0xb2e4
divss %xmm3, %xmm2
addss %xmm2, %xmm1
cvtss2sd %xmm1, %xmm1
movq 0xa0(%rsp), %rax
movss (%rax), %xmm2
cvtss2sd %xmm2, %xmm2
movq 0xa0(%rsp), %rax
movss 0x8(%rax), %xmm3
cvtss2sd %xmm3, %xmm3
movq 0xa0(%rsp), %rax
movss 0x4(%rax), %xmm4
cvtss2sd %xmm4, %xmm4
movl 0x9c(%rsp), %edx
leaq 0x4ad7(%rip), %rsi      # 0xc485
movb $0x5, %al
callq 0x2370
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw (%rax,%rax)