int main(int argc, char *argv[]) {
  unsigned int rc = 0;
  rc = plan_tests(5);
  diag("Returned: %d", rc);
  rc = ((1 == 1)
            ? _gen_result(
                  1, __func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/"
                  "refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c",
                  38, "1 equals 1")
            : _gen_result(
                  0, __func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/"
                  "refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c",
                  38, "1 equals 1"));
  diag("Returned: %d", rc);
  rc = ((1 == 1)
            ? _gen_result(
                  1, __func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/"
                  "refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c",
                  41, "1 equals %d", 1)
            : _gen_result(
                  0, __func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/"
                  "refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c",
                  41, "1 equals %d", 1));
  diag("Returned: %d", rc);
  rc = ((1 == 1)
            ? _gen_result(
                  1, __func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/"
                  "refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c",
                  44, "%s", "1 == 1")
            : _gen_result(
                  0, __func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/"
                  "refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c",
                  44, "%s", "1 == 1"));
  diag("Returned: %d", rc);
  rc = ((1 == 2)
            ? _gen_result(
                  1, __func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/"
                  "refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c",
                  47, "1 equals 2")
            : _gen_result(
                  0, __func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/"
                  "refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c",
                  47, "1 equals 2"));
  diag("Returned: %d", rc);
  rc = ((1 == 2)
            ? _gen_result(
                  1, __func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/"
                  "refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c",
                  50, "%s", "1 == 2")
            : _gen_result(
                  0, __func__,
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/"
                  "refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c",
                  50, "%s", "1 == 2"));
  diag("Returned: %d", rc);
  return exit_status();
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    $0x5,%edi
mov    $0x0,%al
call   1060 <plan_tests@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xe8a(%rip),%rdi
mov    $0x0,%al
call   1040 <diag@plt>
mov    $0x1,%edi
lea    0xe84(%rip),%rsi
lea    0xe82(%rip),%rdx
mov    $0x26,%ecx
lea    0xf1e(%rip),%r8
mov    $0x0,%al
call   1050 <_gen_result@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xe50(%rip),%rdi
mov    $0x0,%al
call   1040 <diag@plt>
mov    $0x1,%r9d
lea    0xe49(%rip),%rsi
lea    0xe47(%rip),%rdx
mov    $0x29,%ecx
lea    0xeee(%rip),%r8
mov    %r9d,%edi
mov    $0x0,%al
call   1050 <_gen_result@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xe12(%rip),%rdi
mov    $0x0,%al
call   1040 <diag@plt>
mov    $0x1,%edi
lea    0xe0c(%rip),%rsi
lea    0xe0a(%rip),%rdx
mov    $0x2c,%ecx
lea    0xebd(%rip),%r8
lea    0xeb9(%rip),%r9
mov    $0x0,%al
call   1050 <_gen_result@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xdd1(%rip),%rdi
mov    $0x0,%al
call   1040 <diag@plt>
xor    %edi,%edi
lea    0xdce(%rip),%rsi
lea    0xdcc(%rip),%rdx
mov    $0x2f,%ecx
lea    0xe89(%rip),%r8
mov    $0x0,%al
call   1050 <_gen_result@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xd9a(%rip),%rdi
mov    $0x0,%al
call   1040 <diag@plt>
xor    %edi,%edi
lea    0xd97(%rip),%rsi
lea    0xd95(%rip),%rdx
mov    $0x32,%ecx
lea    0xe48(%rip),%r8
lea    0xe56(%rip),%r9
mov    $0x0,%al
call   1050 <_gen_result@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xd5c(%rip),%rdi
mov    $0x0,%al
call   1040 <diag@plt>
mov    $0x0,%al
call   1030 <exit_status@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    $0x5,%edi
xor    %eax,%eax
call   1060 <plan_tests@plt>
lea    0xea5(%rip),%rbx
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <diag@plt>
lea    0xe9f(%rip),%r14
lea    0xe9d(%rip),%r15
lea    0xf3e(%rip),%r8
mov    $0x1,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x26,%ecx
xor    %eax,%eax
call   1050 <_gen_result@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <diag@plt>
lea    0xf1f(%rip),%r8
mov    $0x1,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x29,%ecx
mov    $0x1,%r9d
xor    %eax,%eax
call   1050 <_gen_result@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <diag@plt>
lea    0xefb(%rip),%r12
lea    0xef7(%rip),%r9
mov    $0x1,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x2c,%ecx
mov    %r12,%r8
xor    %eax,%eax
call   1050 <_gen_result@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <diag@plt>
lea    0xed1(%rip),%r8
xor    %edi,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x2f,%ecx
xor    %eax,%eax
call   1050 <_gen_result@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <diag@plt>
lea    0xeb5(%rip),%r9
xor    %edi,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x32,%ecx
mov    %r12,%r8
xor    %eax,%eax
call   1050 <_gen_result@plt>
mov    %rbx,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <diag@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
jmp    1030 <exit_status@plt>

LLVM IR (-O0):
@.str = [13 x i8] c"Returned: %d\00"
@__func__.main = [5 x i8] c"main\00"
@.str.1 = [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c\00"
@.str.2 = [11 x i8] c"1 equals 1\00"
@.str.3 = [12 x i8] c"1 equals %d\00"
@.str.4 = [3 x i8] c"%s\00"
@.str.5 = [7 x i8] c"1 == 1\00"
@.str.6 = [11 x i8] c"1 equals 2\00"
@.str.7 = [7 x i8] c"1 == 2\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
%7 = call i32 (i32, ...) bitcast (i32 (...)* @plan_tests to i32 (i32, ...)*)(i32 5)
store i32 %7, i32* %6
%8 = load i32, i32* %6
%9 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %8)
%10 = call i32 (i32, i8*, i8*, i32, i8*, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, ...)*)(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
store i32 %10, i32* %6
%11 = load i32, i32* %6
%12 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %11)
%13 = call i32 (i32, i8*, i8*, i32, i8*, i32, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, i32, ...)*)(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i32 1)
store i32 %13, i32* %6
%14 = load i32, i32* %6
%15 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %14)
%16 = call i32 (i32, i8*, i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, i8*, ...)*)(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
store i32 %16, i32* %6
%17 = load i32, i32* %6
%18 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %17)
%19 = call i32 (i32, i8*, i8*, i32, i8*, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, ...)*)(i32 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0))
store i32 %19, i32* %6
%20 = load i32, i32* %6
%21 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %20)
%22 = call i32 (i32, i8*, i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, i8*, ...)*)(i32 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0), i32 50, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
store i32 %22, i32* %6
%23 = load i32, i32* %6
%24 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %23)
%25 = call i32 (...) @exit_status()
ret i32 %25
}

LLVM IR (-O2):
@.str = [13 x i8] c"Returned: %d\00"
@__func__.main = [5 x i8] c"main\00"
@.str.1 = [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AlphaStaxLLC/nagioscore/refs/heads/en-3.5.1/NagiosCore/tap/tests/ok/ok/test.c\00"
@.str.2 = [11 x i8] c"1 equals 1\00"
@.str.3 = [12 x i8] c"1 equals %d\00"
@.str.4 = [3 x i8] c"%s\00"
@.str.5 = [7 x i8] c"1 == 1\00"
@.str.6 = [11 x i8] c"1 equals 2\00"
@.str.7 = [7 x i8] c"1 == 2\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (i32, ...) bitcast (i32 (...)* @plan_tests to i32 (i32, ...)*)(i32 5)
%4 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %3)
%5 = tail call i32 (i32, i8*, i8*, i32, i8*, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, ...)*)(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0), i32 38, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %5)
%7 = tail call i32 (i32, i8*, i8*, i32, i8*, i32, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, i32, ...)*)(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0), i32 41, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i32 1)
%8 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %7)
%9 = tail call i32 (i32, i8*, i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, i8*, ...)*)(i32 1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0), i32 44, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%10 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %9)
%11 = tail call i32 (i32, i8*, i8*, i32, i8*, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, ...)*)(i32 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0), i32 47, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0))
%12 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %11)
%13 = tail call i32 (i32, i8*, i8*, i32, i8*, i8*, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, i8*, ...)*)(i32 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0), i8* getelementptr inbounds ([168 x i8], [168 x i8]* @.str.1, i64 0, i64 0), i32 50, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
%14 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @diag to i32 (i8*, i32, ...)*)(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %13)
%15 = tail call i32 (...) @exit_status()
ret i32 %15
}