void TestAssertEqFail(void) {
  TestAssert("(1) == (10)",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/google/makani/refs/heads/master/"
             "avionics/firmware/test/test_test.c",
             __func__, 72, (1) == (10));
  TestExpect("!(\"Should not execute.\")",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/google/makani/refs/heads/master/"
             "avionics/firmware/test/test_test.c",
             __func__, 73, !("Should not execute."));
}


x86 assembly (clang, -O0):
<TestAssertEqFail>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xeda(%rip),%rsi
lea    0xf70(%rip),%rdx
mov    $0x48,%ecx
xor    %r8d,%r8d
mov    $0x0,%al
call   1030 <TestAssert@plt>
lea    0xf6b(%rip),%rdi
lea    0xeb6(%rip),%rsi
lea    0xf4c(%rip),%rdx
mov    $0x49,%ecx
xor    %r8d,%r8d
mov    $0x0,%al
call   1040 <TestExpect@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<TestAssertEqFail>:
push   %r14
push   %rbx
push   %rax
lea    0xed5(%rip),%rdi
lea    0xeda(%rip),%rbx
lea    0xf70(%rip),%r14
mov    %rbx,%rsi
mov    %r14,%rdx
mov    $0x48,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
call   1030 <TestAssert@plt>
lea    0xf65(%rip),%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
mov    $0x49,%ecx
xor    %r8d,%r8d
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <TestExpect@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"(1) == (10)\00"
@.str.1 = [157 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/google/makani/refs/heads/master/avionics/firmware/test/test_test.c\00"
@__func__.TestAssertEqFail = [17 x i8] c"TestAssertEqFail\00"
@.str.2 = [25 x i8] c"!(\22Should not execute.\22)\00"
@.str.3 = [20 x i8] c"Should not execute.\00"
define void @TestAssertEqFail() {
%1 = call i32 (i8*, i8*, i8*, i32, i32, ...) bitcast (i32 (...)* @TestAssert to i32 (i8*, i8*, i8*, i32, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__func__.TestAssertEqFail, i64 0, i64 0), i32 72, i32 0)
%2 = call i32 (i8*, i8*, i8*, i32, i32, ...) bitcast (i32 (...)* @TestExpect to i32 (i8*, i8*, i8*, i32, i32, ...)*)(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__func__.TestAssertEqFail, i64 0, i64 0), i32 73, i32 0)
ret void
}

LLVM IR (-O2):
@.str = [12 x i8] c"(1) == (10)\00"
@.str.1 = [157 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/google/makani/refs/heads/master/avionics/firmware/test/test_test.c\00"
@__func__.TestAssertEqFail = [17 x i8] c"TestAssertEqFail\00"
@.str.2 = [25 x i8] c"!(\22Should not execute.\22)\00"
define void @TestAssertEqFail() {
%1 = tail call i32 (i8*, i8*, i8*, i32, i32, ...) bitcast (i32 (...)* @TestAssert to i32 (i8*, i8*, i8*, i32, i32, ...)*)(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__func__.TestAssertEqFail, i64 0, i64 0), i32 72, i32 0)
%2 = tail call i32 (i8*, i8*, i8*, i32, i32, ...) bitcast (i32 (...)* @TestExpect to i32 (i8*, i8*, i8*, i32, i32, ...)*)(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([157 x i8], [157 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @__func__.TestAssertEqFail, i64 0, i64 0), i32 73, i32 0)
ret void
}