// File: /workspace/github_c_makefile_star2_O2/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)
xorl %ecx, %ecx
leaq 0x20598a(%rip), %r13    # 0x20c348
xorl %ebx, %ebx
movslq 0x2058c5(%rip), %rax    # 0x20c28c
cmpq %rax, %rcx
jge 0x6d01
movq %rcx, 0x18(%rsp)
imulq $0xc088, %rcx, %r14     # imm = 0xC088
leaq 0x2058bd(%rip), %rax    # 0x20c2a0
addq %rax, %r14
movq %r13, 0x10(%rsp)
xorl %r15d, %r15d
movq %r14, 0x30(%rsp)
movslq 0xb010(%r14), %rax
cmpq %rax, %r15
jge 0x6ce8
cmpl $0x2, -0x84(%r13)
jne 0x6cca
leaq -0x60(%r13), %rdi
movq 0x20(%rsp), %rax
movq %rax, -0x60(%r13)
movq 0x28(%rsp), %rax
movq %rax, -0x58(%r13)
callq 0x6d12
movl $0x3, -0x84(%r13)
movb -0x97(%r13), %al
cmpb $0x1, %al
jne 0x6a4b
movslq -0x90(%r13), %rsi
jmp 0x6a52
movq 0xb020(%r14), %rsi
movl 0xb01c(%r14), %ecx
movq 0xb028(%r14), %rdx
testq %rsi, %rsi
js 0x6a6c
cvtsi2ss %rsi, %xmm0
jmp 0x6a81
movq %rsi, %rdi
shrq %rdi
andl $0x1, %esi
orq %rdi, %rsi
cvtsi2ss %rsi, %xmm0
addss %xmm0, %xmm0
testq %rdx, %rdx
js 0x6a8d
cvtsi2ss %rdx, %xmm2
jmp 0x6aa2
movq %rdx, %rsi
shrq %rsi
andl $0x1, %edx
orq %rsi, %rdx
cvtsi2ss %rdx, %xmm2
addss %xmm2, %xmm2
movq %r15, 0x40(%rsp)
movl %ebx, 0xc(%rsp)
cvtsi2ss %ecx, %xmm1
cvtsi2ssq -0x70(%r13), %xmm3
mulss %xmm0, %xmm1
cvtsi2ssq -0x68(%r13), %xmm0
mulss %xmm2, %xmm1
divss 0x1539(%rip), %xmm0     # 0x8004
addss %xmm3, %xmm0
divss %xmm0, %xmm1
movss 0x1531(%rip), %xmm0     # 0x800c
ucomiss %xmm1, %xmm0
movss 0x1522(%rip), %xmm0     # 0x8008
leaq 0x274a(%rip), %rcx      # 0x9237
ja 0x6b36
movss 0x151d(%rip), %xmm0     # 0x8014
ucomiss %xmm1, %xmm0
movss 0x150e(%rip), %xmm0     # 0x8010
leaq 0x2730(%rip), %rcx      # 0x9239
ja 0x6b36
movss 0x1509(%rip), %xmm0     # 0x801c
ucomiss %xmm1, %xmm0
movss 0x14fa(%rip), %xmm0     # 0x8018
leaq 0x2716(%rip), %rcx      # 0x923b
ja 0x6b36
movss 0x14f1(%rip), %xmm0     # 0x8020
leaq 0x2707(%rip), %rcx      # 0x923d
movq %rcx, 0x38(%rsp)
mulss %xmm0, %xmm1
cvtsi2ssq -0x60(%r13), %xmm0
movq 0x54ac(%rip), %rcx      # 0xbff8
movq (%rcx), %rdi
cvtsi2ssq -0x58(%r13), %xmm2
divss 0x14a7(%rip), %xmm2     # 0x8004
addss %xmm0, %xmm2
cvtss2sd %xmm2, %xmm0
movl -0x8c(%r13), %edx
cmpl $0x1, %edx
leaq 0x26fe(%rip), %r9       # 0x9274
leaq 0x26f5(%rip), %rcx      # 0x9272
cmoveq %rcx, %r9
movl 0xb014(%r14), %ecx
testl %edx, %edx
leaq 0x2436(%rip), %rdx      # 0x8fc7
cmoveq %rdx, %r9
movl -0x88(%r13), %r8d
movb -0x98(%r13), %dl
testb $0x8, %dl
leaq 0x2e31(%rip), %r11      # 0x99de
leaq 0x237c(%rip), %rsi      # 0x8f30
cmoveq %rsi, %r11
testb $0x4, %dl
leaq 0x26b4(%rip), %r14      # 0x9276
leaq 0x26af(%rip), %rsi      # 0x9278
cmoveq %rsi, %r14
testb $0x10, %dl
leaq 0x26a3(%rip), %r15      # 0x927a
leaq 0x269e(%rip), %rbx      # 0x927c
cmoveq %rbx, %r15
testb $0x2, %dl
leaq 0x2692(%rip), %rbp      # 0x927e
cmoveq %rbx, %rbp
testb $0x1, %dl
leaq 0x2781(%rip), %r12      # 0x937b
cmoveq %rbx, %r12
testb %al, %al
leaq 0x23c7(%rip), %rax      # 0x8fce
cmovneq %rax, %rbx
cmpb $0x0, 0x205673(%rip)    # 0x20c285
cvtss2sd %xmm1, %xmm1
leaq 0x1cbc(%rip), %r10      # 0x88d9
leaq 0x1cb6(%rip), %rax      # 0x88da
cmovneq %rax, %r10
leaq 0x2610(%rip), %rsi      # 0x923f
movq %r13, %rdx
movb $0x2, %al
pushq %r10
pushq 0x40(%rsp)
pushq %rbx
pushq %r12
pushq %rbp
pushq %r15
pushq %r14
movq 0x68(%rsp), %r14
pushq %r11
callq 0x2380
addq $0x40, %rsp
cmpb $0x1, 0x20562c(%rip)    # 0x20c285
movl 0xc(%rsp), %ebx
movq 0x40(%rsp), %r15
jne 0x6cca
cvtsi2ssq -0x70(%r13), %xmm0
cvtsi2ssq -0x68(%r13), %xmm1
movl -0x4(%r13), %edx
movq 0x537d(%rip), %rax      # 0xbff8
movq (%rax), %rdi
movss 0x137e(%rip), %xmm3     # 0x8004
divss %xmm3, %xmm1
addss %xmm0, %xmm1
cvtss2sd %xmm1, %xmm0
cvtsi2ssq -0x80(%r13), %xmm1
cvtsi2ssq -0x78(%r13), %xmm2
divss %xmm3, %xmm2
addss %xmm1, %xmm2
cvtss2sd %xmm2, %xmm1
cvtss2sd -0x10(%r13), %xmm2
cvtss2sd -0x8(%r13), %xmm3
cvtss2sd -0xc(%r13), %xmm4
leaq 0x25bd(%rip), %rsi      # 0x9280
movb $0x5, %al
callq 0x2380
xorl %eax, %eax
cmpl $0x3, -0x84(%r13)
setne %al
addl %eax, %ebx
incq %r15
addq $0xb0, %r13
jmp 0x69f3
movq 0x18(%rsp), %rcx
incq %rcx
movq 0x10(%rsp), %r13
addq $0xc088, %r13           # imm = 0xC088
jmp 0x69c0
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq