// File: /workspace/github_c_makefile_star2_O3/00pauln00[P]yapio/yapio.c
// Function: yapio_stats_report_iterate
static int
yapio_stats_report_iterate(yapio_timer_t start_time)
{
    int remaining = 0;
    int i;
    for (i = 0; i < yapioNumTestGroups; i++)
    {
        yapio_test_group_t *ytg = &yapioTestGroups[i];
        int j;
        for (j = 0; j < ytg->ytg_num_contexts; j++)
        {
            yapio_test_ctx_t *ytc = &ytg->ytg_contexts[j];

            if (ytc->ytc_run_status == YAPIO_TEST_CTX_RUN_COMPLETE)
            {
                ytc->ytc_reported_time = start_time;
                yapio_end_timer(&ytc->ytc_reported_time);

                ytc->ytc_run_status = YAPIO_TEST_CTX_RUN_STATS_REPORTED;

                yapio_display_result(ytc, ytg);
            }

            if (ytc->ytc_run_status != YAPIO_TEST_CTX_RUN_STATS_REPORTED)
                remaining++;
        }
    }

    return remaining;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, 0x28(%rsp)
movq %rdi, 0x20(%rsp)
movl 0x204f19(%rip), %eax    # 0x20c28c
testl %eax, %eax
jle 0x7707
xorl %edx, %edx
leaq 0x204fc4(%rip), %r13    # 0x20c348
leaq 0x204f15(%rip), %rbx    # 0x20c2a0
xorl %ebp, %ebp
imulq $0xc088, %rdx, %r14     # imm = 0xC088
cmpl $0x0, 0xb010(%r14,%rbx)
jle 0x76ef
movq %rdx, 0x18(%rsp)
addq %rbx, %r14
movq %r13, 0x10(%rsp)
xorl %r15d, %r15d
movq %r14, 0x30(%rsp)
cmpl $0x2, -0x84(%r13)
jne 0x76b6
leaq -0x60(%r13), %rdi
movq 0x20(%rsp), %rax
movq %rax, -0x60(%r13)
movq 0x28(%rsp), %rax
movq %rax, -0x58(%r13)
callq 0x771a
movl $0x3, -0x84(%r13)
movb -0x97(%r13), %al
cmpb $0x1, %al
jne 0x7400
movslq -0x90(%r13), %rsi
jmp 0x7407
movq 0xb020(%r14), %rsi
movl 0xb01c(%r14), %ecx
movq 0xb028(%r14), %rdx
testq %rsi, %rsi
js 0x7424
xorps %xmm0, %xmm0
cvtsi2ss %rsi, %xmm0
jmp 0x743c
movq %rsi, %rdi
shrq %rdi
andl $0x1, %esi
orq %rdi, %rsi
xorps %xmm0, %xmm0
cvtsi2ss %rsi, %xmm0
addss %xmm0, %xmm0
testq %rdx, %rdx
js 0x744b
xorps %xmm2, %xmm2
cvtsi2ss %rdx, %xmm2
jmp 0x7463
movq %rdx, %rsi
shrq %rsi
andl $0x1, %edx
orq %rsi, %rdx
xorps %xmm2, %xmm2
cvtsi2ss %rdx, %xmm2
addss %xmm2, %xmm2
movq %r15, 0x40(%rsp)
movl %ebp, 0xc(%rsp)
xorps %xmm1, %xmm1
cvtsi2ss %ecx, %xmm1
xorps %xmm3, %xmm3
cvtsi2ssq -0x70(%r13), %xmm3
mulss %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2ssq -0x68(%r13), %xmm0
mulss %xmm2, %xmm1
divss 0xbab(%rip), %xmm0      # 0x8040
addss %xmm3, %xmm0
divss %xmm0, %xmm1
movss 0xba3(%rip), %xmm0      # 0x8048
ucomiss %xmm1, %xmm0
movss 0xb94(%rip), %xmm0      # 0x8044
leaq 0x1dbc(%rip), %rcx      # 0x9273
ja 0x7500
movss 0xb8f(%rip), %xmm0      # 0x8050
ucomiss %xmm1, %xmm0
movss 0xb80(%rip), %xmm0      # 0x804c
leaq 0x1da2(%rip), %rcx      # 0x9275
ja 0x7500
movss 0xb7b(%rip), %xmm0      # 0x8058
ucomiss %xmm1, %xmm0
movss 0xb6c(%rip), %xmm0      # 0x8054
leaq 0x1d88(%rip), %rcx      # 0x9277
ja 0x7500
movss 0xb63(%rip), %xmm0      # 0x805c
leaq 0x1d79(%rip), %rcx      # 0x9279
movq %rcx, 0x38(%rsp)
mulss %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsi2ssq -0x60(%r13), %xmm0
movq 0x4adf(%rip), %rcx      # 0xbff8
movq (%rcx), %rdi
xorps %xmm2, %xmm2
cvtsi2ssq -0x58(%r13), %xmm2
divss 0xb13(%rip), %xmm2      # 0x8040
addss %xmm0, %xmm2
xorps %xmm0, %xmm0
cvtss2sd %xmm2, %xmm0
movl -0x8c(%r13), %edx
cmpl $0x1, %edx
leaq 0x1d67(%rip), %r9       # 0x92b0
leaq 0x1d5e(%rip), %rcx      # 0x92ae
cmoveq %rcx, %r9
movl 0xb014(%r14), %ecx
testl %edx, %edx
leaq 0x1a9f(%rip), %rdx      # 0x9003
cmoveq %rdx, %r9
movl -0x88(%r13), %r8d
movb -0x98(%r13), %dl
testb $0x8, %dl
leaq 0x249a(%rip), %r11      # 0x9a1a
leaq 0x19e5(%rip), %rsi      # 0x8f6c
cmoveq %rsi, %r11
testb $0x4, %dl
leaq 0x1d1d(%rip), %r14      # 0x92b2
leaq 0x1d18(%rip), %rsi      # 0x92b4
cmoveq %rsi, %r14
testb $0x10, %dl
leaq 0x1d0c(%rip), %r15      # 0x92b6
leaq 0x1d07(%rip), %rbp      # 0x92b8
cmoveq %rbp, %r15
testb $0x2, %dl
leaq 0x1cfb(%rip), %r12      # 0x92ba
cmoveq %rbp, %r12
testb $0x1, %dl
leaq 0x1dea(%rip), %r10      # 0x93b7
cmoveq %rbp, %r10
testb %al, %al
leaq 0x1a30(%rip), %rax      # 0x900a
cmovneq %rax, %rbp
cmpb $0x0, 0x204ca0(%rip)    # 0x20c285
cvtss2sd %xmm1, %xmm1
leaq 0x1325(%rip), %rbx      # 0x8915
leaq 0x131f(%rip), %rax      # 0x8916
cmovneq %rax, %rbx
leaq 0x1c79(%rip), %rsi      # 0x927b
movq %r13, %rdx
movb $0x2, %al
pushq %rbx
pushq 0x40(%rsp)
pushq %rbp
pushq %r10
pushq %r12
pushq %r15
pushq %r14
movq 0x68(%rsp), %r14
pushq %r11
callq 0x2390
addq $0x40, %rsp
cmpb $0x1, 0x204c59(%rip)    # 0x20c285
leaq 0x204c6d(%rip), %rbx    # 0x20c2a0
movl 0xc(%rsp), %ebp
movq 0x40(%rsp), %r15
jne 0x76b6
cvtsi2ssq -0x70(%r13), %xmm0
xorps %xmm1, %xmm1
cvtsi2ssq -0x68(%r13), %xmm1
movl -0x4(%r13), %edx
movq 0x49a0(%rip), %rax      # 0xbff8
movq (%rax), %rdi
movss 0x9dd(%rip), %xmm3      # 0x8040
divss %xmm3, %xmm1
addss %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
xorps %xmm1, %xmm1
cvtsi2ssq -0x80(%r13), %xmm1
cvtsi2ssq -0x78(%r13), %xmm2
divss %xmm3, %xmm2
addss %xmm1, %xmm2
xorps %xmm1, %xmm1
cvtss2sd %xmm2, %xmm1
xorps %xmm2, %xmm2
cvtss2sd -0x10(%r13), %xmm2
xorps %xmm3, %xmm3
cvtss2sd -0x8(%r13), %xmm3
cvtss2sd -0xc(%r13), %xmm4
leaq 0x1c0d(%rip), %rsi      # 0x92bc
movb $0x5, %al
callq 0x2390
xorl %eax, %eax
cmpl $0x3, -0x84(%r13)
setne %al
addl %eax, %ebp
incq %r15
movslq 0xb010(%r14), %rax
addq $0xb0, %r13
cmpq %rax, %r15
jl 0x73b8
movl 0x204ba7(%rip), %eax    # 0x20c28c
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %r13
incq %rdx
movslq %eax, %rcx
addq $0xc088, %r13           # imm = 0xC088
cmpq %rcx, %rdx
jl 0x738d
jmp 0x7709
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq