// File: /workspace/github_c_makefile_star2_O0/jeff-1amstudios[P]carmageddon-1-cheat-code-disassembly/src/test/framework/unity.c
// Function: UnityAssertNumbersWithin
void UnityAssertNumbersWithin(const UNITY_UINT delta,
                              const UNITY_INT expected,
                              const UNITY_INT actual,
                              const char* msg,
                              const UNITY_LINE_TYPE lineNumber,
                              const UNITY_DISPLAY_STYLE_T style)
{
    RETURN_IF_FAIL_OR_IGNORE;

    if ((style & UNITY_DISPLAY_RANGE_INT) == UNITY_DISPLAY_RANGE_INT)
    {
        if (actual > expected)
        {
            Unity.CurrentTestFailed = (((UNITY_UINT)actual - (UNITY_UINT)expected) > delta);
        }
        else
        {
            Unity.CurrentTestFailed = (((UNITY_UINT)expected - (UNITY_UINT)actual) > delta);
        }
    }
    else
    {
        if ((UNITY_UINT)actual > (UNITY_UINT)expected)
        {
            Unity.CurrentTestFailed = (((UNITY_UINT)actual - (UNITY_UINT)expected) > delta);
        }
        else
        {
            Unity.CurrentTestFailed = (((UNITY_UINT)expected - (UNITY_UINT)actual) > delta);
        }
    }

    if (Unity.CurrentTestFailed)
    {
        UnityTestResultsFailBegin(lineNumber);
        UnityPrint(UnityStrDelta);
        UnityPrintNumberByStyle((UNITY_INT)delta, style);
        UnityPrint(UnityStrExpected);
        UnityPrintNumberByStyle(expected, style);
        UnityPrint(UnityStrWas);
        UnityPrintNumberByStyle(actual, style);
        UnityAddMsgIfSpecified(msg);
        UNITY_FAIL_AND_BAIL;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
cmpq $0x0, 0x7658(%rip)      # 0xdeb0
jne 0x6864
cmpq $0x0, 0x7656(%rip)      # 0xdeb8
je 0x6869
jmp 0x6988
movl -0x2c(%rbp), %eax
andl $0x10, %eax
cmpl $0x10, %eax
jne 0x68bc
movq -0x18(%rbp), %rax
cmpq -0x10(%rbp), %rax
jle 0x689d
movq -0x18(%rbp), %rax
subq -0x10(%rbp), %rax
cmpq -0x8(%rbp), %rax
seta %al
andb $0x1, %al
movzbl %al, %eax
cltq
movq %rax, 0x7615(%rip)      # 0xdeb0
jmp 0x68ba
movq -0x10(%rbp), %rax
subq -0x18(%rbp), %rax
cmpq -0x8(%rbp), %rax
seta %al
andb $0x1, %al
movzbl %al, %eax
cltq
movq %rax, 0x75f6(%rip)      # 0xdeb0
jmp 0x6904
movq -0x18(%rbp), %rax
cmpq -0x10(%rbp), %rax
jbe 0x68e5
movq -0x18(%rbp), %rax
subq -0x10(%rbp), %rax
cmpq -0x8(%rbp), %rax
seta %al
andb $0x1, %al
movzbl %al, %eax
cltq
movq %rax, 0x75cd(%rip)      # 0xdeb0
jmp 0x6902
movq -0x10(%rbp), %rax
subq -0x18(%rbp), %rax
cmpq -0x8(%rbp), %rax
seta %al
andb $0x1, %al
movzbl %al, %eax
cltq
movq %rax, 0x75ae(%rip)      # 0xdeb0
jmp 0x6904
cmpq $0x0, 0x75a4(%rip)      # 0xdeb0
je 0x6988
movq -0x28(%rbp), %rdi
callq 0x5ad0
leaq 0x3b52(%rip), %rdi      # 0xa470
callq 0x5020
movq -0x8(%rbp), %rdi
movl -0x2c(%rbp), %esi
callq 0x5290
leaq 0x3a3b(%rip), %rdi      # 0xa371
callq 0x5020
movq -0x10(%rbp), %rdi
movl -0x2c(%rbp), %esi
callq 0x5290
leaq 0x3a2e(%rip), %rdi      # 0xa37c
callq 0x5020
movq -0x18(%rbp), %rdi
movl -0x2c(%rbp), %esi
callq 0x5290
movq -0x20(%rbp), %rdi
callq 0x5b10
movq $0x1, 0x753d(%rip) # 0xdeb0
leaq 0x74f6(%rip), %rdi      # 0xde70
addq $0x50, %rdi
movl $0x1, %esi
callq 0x21d0
addq $0x30, %rsp
popq %rbp
retq
nop