// File: /workspace/github_c_makefile_star2_O0/jeff-1amstudios[P]carmageddon-1-cheat-code-disassembly/src/test/framework/unity.c
// Function: UnityAssertEqualFloatArray
void UnityAssertEqualFloatArray(UNITY_PTR_ATTRIBUTE const UNITY_FLOAT* expected,
                                UNITY_PTR_ATTRIBUTE const UNITY_FLOAT* actual,
                                const UNITY_UINT32 num_elements,
                                const char* msg,
                                const UNITY_LINE_TYPE lineNumber,
                                const UNITY_FLAGS_T flags)
{
    UNITY_UINT32 elements = num_elements;
    UNITY_PTR_ATTRIBUTE const UNITY_FLOAT* ptr_expected = expected;
    UNITY_PTR_ATTRIBUTE const UNITY_FLOAT* ptr_actual = actual;

    RETURN_IF_FAIL_OR_IGNORE;

    if (elements == 0)
    {
        UnityPrintPointlessAndBail();
    }

    if (expected == actual)
    {
        return; /* Both are NULL or same pointer */
    }

    if (UnityIsOneArrayNull((UNITY_INTERNAL_PTR)expected, (UNITY_INTERNAL_PTR)actual, lineNumber, msg))
    {
        UNITY_FAIL_AND_BAIL;
    }

    while (elements--)
    {
        if (!UnityFloatsWithin(*ptr_expected * UNITY_FLOAT_PRECISION, *ptr_expected, *ptr_actual))
        {
            UnityTestResultsFailBegin(lineNumber);
            UnityPrint(UnityStrElement);
            UnityPrintNumberUnsigned(num_elements - elements - 1);
            UNITY_PRINT_EXPECTED_AND_ACTUAL_FLOAT((UNITY_DOUBLE)*ptr_expected, (UNITY_DOUBLE)*ptr_actual);
            UnityAddMsgIfSpecified(msg);
            UNITY_FAIL_AND_BAIL;
        }
        if (flags == UNITY_ARRAY_TO_ARRAY)
        {
            ptr_expected++;
        }
        ptr_actual++;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
cmpq $0x0, 0x7d53(%rip)      # 0xdeb0
jne 0x6169
cmpq $0x0, 0x7d51(%rip)      # 0xdeb8
je 0x616e
jmp 0x62e4
cmpl $0x0, -0x30(%rbp)
jne 0x61b2
movq -0x28(%rbp), %rdi
callq 0x5ad0
leaq 0x424c(%rip), %rdi      # 0xa3d0
callq 0x5020
movq -0x20(%rbp), %rdi
callq 0x5b10
movq $0x1, 0x7d13(%rip) # 0xdeb0
leaq 0x7ccc(%rip), %rdi      # 0xde70
addq $0x50, %rdi
movl $0x1, %esi
callq 0x21d0
movq -0x8(%rbp), %rax
cmpq -0x10(%rbp), %rax
jne 0x61c1
jmp 0x62e4
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq -0x20(%rbp), %rcx
callq 0x6080
cmpl $0x0, %eax
je 0x61fb
movq $0x1, 0x7cca(%rip) # 0xdeb0
leaq 0x7c83(%rip), %rdi      # 0xde70
addq $0x50, %rdi
movl $0x1, %esi
callq 0x21d0
jmp 0x61fd
movl -0x30(%rbp), %eax
movl %eax, %ecx
addl $-0x1, %ecx
movl %ecx, -0x30(%rbp)
cmpl $0x0, %eax
je 0x62e4
movq -0x38(%rbp), %rax
movss 0x40a3(%rip), %xmm0     # 0xa2c0
mulss (%rax), %xmm0
movq -0x38(%rbp), %rax
movss (%rax), %xmm1
movq -0x40(%rbp), %rax
movss (%rax), %xmm2
callq 0x62f0
cmpl $0x0, %eax
jne 0x62c1
movq -0x28(%rbp), %rdi
callq 0x5ad0
leaq 0x41b8(%rip), %rdi      # 0xa407
callq 0x5020
movl -0x14(%rbp), %eax
subl -0x30(%rbp), %eax
subl $0x1, %eax
movl %eax, %eax
movl %eax, %edi
callq 0x5340
leaq 0x4104(%rip), %rdi      # 0xa371
callq 0x5020
movq -0x38(%rbp), %rax
movss (%rax), %xmm0
callq 0x5440
leaq 0x40f6(%rip), %rdi      # 0xa37c
callq 0x5020
movq -0x40(%rbp), %rax
movss (%rax), %xmm0
callq 0x5440
movq -0x20(%rbp), %rdi
callq 0x5b10
movq $0x1, 0x7c04(%rip) # 0xdeb0
leaq 0x7bbd(%rip), %rdi      # 0xde70
addq $0x50, %rdi
movl $0x1, %esi
callq 0x21d0
cmpl $0x1, -0x2c(%rbp)
jne 0x62d3
movq -0x38(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x38(%rbp)
movq -0x40(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x40(%rbp)
jmp 0x61fd
addq $0x40, %rsp
popq %rbp
retq
nopw (%rax,%rax)