int main(void) {
  (void)((!!(10 + 2 == 11)) ||
         (assert_impl("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                      "outputs/2022-01-22/02-19-57/repos/myd7349/Ongoing-Study/"
                      "refs/heads/master/c/xassert_test/xassert_test.c",
                      5, __func__, "10 + 2 == 11"),
          0));
  (void)((!!(1 > 2)) ||
         (assert_impl("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                      "outputs/2022-01-22/02-19-57/repos/myd7349/Ongoing-Study/"
                      "refs/heads/master/c/xassert_test/xassert_test.c",
                      6, __func__, "1 > 2"),
          0));
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
mov    $0x5,%esi
lea    0xf6e(%rip),%rdx
lea    0xf6c(%rip),%rcx
mov    $0x0,%al
call   1030 <assert_impl@plt>
lea    0xeb9(%rip),%rdi
mov    $0x6,%esi
lea    0xf4d(%rip),%rdx
lea    0xf58(%rip),%rcx
mov    $0x0,%al
call   1030 <assert_impl@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0xee5(%rip),%rbx
lea    0xf7e(%rip),%r14
lea    0xf7c(%rip),%rcx
mov    %rbx,%rdi
mov    $0x5,%esi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <assert_impl@plt>
lea    0xf70(%rip),%rcx
mov    %rbx,%rdi
mov    $0x6,%esi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <assert_impl@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/myd7349/Ongoing-Study/refs/heads/master/c/xassert_test/xassert_test.c\00"
@__func__.main = [5 x i8] c"main\00"
@.str.1 = [13 x i8] c"10 + 2 == 11\00"
@.str.2 = [6 x i8] c"1 > 2\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @assert_impl to i32 (i8*, i32, i8*, i8*, ...)*)(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i32 5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @assert_impl to i32 (i8*, i32, i8*, i8*, ...)*)(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i32 6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/myd7349/Ongoing-Study/refs/heads/master/c/xassert_test/xassert_test.c\00"
@__func__.main = [5 x i8] c"main\00"
@.str.1 = [13 x i8] c"10 + 2 == 11\00"
@.str.2 = [6 x i8] c"1 > 2\00"
define i32 @main() {
%1 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @assert_impl to i32 (i8*, i32, i8*, i8*, ...)*)(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i32 5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 (i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @assert_impl to i32 (i8*, i32, i8*, i8*, ...)*)(i8* getelementptr inbounds ([160 x i8], [160 x i8]* @.str, i64 0, i64 0), i32 6, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}