int main(int argc, char *argv[]) {
  unsigned int rc = 0;
  unsigned int side_effect = 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/"
                               "ByteFoundryAU/monitoring-plugins/refs/heads/"
                               "fedora/t/libtap-tests/todo/test.c",
                               40, "1 equals 1")
                 : _gen_result(0, __func__,
                               "/scratch/repos/new/home/jordi_armengol_estape/"
                               "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                               "ByteFoundryAU/monitoring-plugins/refs/heads/"
                               "fedora/t/libtap-tests/todo/test.c",
                               40, "1 equals 1"));
  diag("Returned: %d", rc);
  todo_start("For testing purposes");
  side_effect++;
  rc = ((side_effect == 0)
            ? _gen_result(1, __func__,
                          "/scratch/repos/new/home/jordi_armengol_estape/"
                          "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                          "ByteFoundryAU/monitoring-plugins/refs/heads/fedora/"
                          "t/libtap-tests/todo/test.c",
                          48, "side_effect checked out")
            : _gen_result(0, __func__,
                          "/scratch/repos/new/home/jordi_armengol_estape/"
                          "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                          "ByteFoundryAU/monitoring-plugins/refs/heads/fedora/"
                          "t/libtap-tests/todo/test.c",
                          48, "side_effect checked out"));
  diag("Returned: %d", rc);
  rc = ((side_effect == 1)
            ? _gen_result(1, __func__,
                          "/scratch/repos/new/home/jordi_armengol_estape/"
                          "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                          "ByteFoundryAU/monitoring-plugins/refs/heads/fedora/"
                          "t/libtap-tests/todo/test.c",
                          52, "side_effect checked out")
            : _gen_result(0, __func__,
                          "/scratch/repos/new/home/jordi_armengol_estape/"
                          "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                          "ByteFoundryAU/monitoring-plugins/refs/heads/fedora/"
                          "t/libtap-tests/todo/test.c",
                          52, "side_effect checked out"));
  diag("Returned: %d", rc);
  todo_end();
  todo_start("Testing printf() %s in todo_start()", "expansion");
  rc = ((0) ? _gen_result(1, __func__,
                          "/scratch/repos/new/home/jordi_armengol_estape/"
                          "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                          "ByteFoundryAU/monitoring-plugins/refs/heads/fedora/"
                          "t/libtap-tests/todo/test.c",
                          59, "dummy test")
            : _gen_result(0, __func__,
                          "/scratch/repos/new/home/jordi_armengol_estape/"
                          "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                          "ByteFoundryAU/monitoring-plugins/refs/heads/fedora/"
                          "t/libtap-tests/todo/test.c",
                          59, "dummy test"));
  diag("Returned: %d", rc);
  todo_end();
  rc = ((side_effect == 1)
            ? _gen_result(1, __func__,
                          "/scratch/repos/new/home/jordi_armengol_estape/"
                          "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                          "ByteFoundryAU/monitoring-plugins/refs/heads/fedora/"
                          "t/libtap-tests/todo/test.c",
                          64, "side_effect is %d", side_effect)
            : _gen_result(0, __func__,
                          "/scratch/repos/new/home/jordi_armengol_estape/"
                          "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                          "ByteFoundryAU/monitoring-plugins/refs/heads/fedora/"
                          "t/libtap-tests/todo/test.c",
                          64, "side_effect is %d", side_effect));
  diag("Returned: %d", rc);
  return exit_status();
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
mov    $0x5,%edi
mov    $0x0,%al
call   1070 <plan_tests@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xe63(%rip),%rdi
mov    $0x0,%al
call   1050 <diag@plt>
mov    $0x1,%edi
lea    0xe5d(%rip),%rsi
lea    0xe5b(%rip),%rdx
mov    $0x28,%ecx
lea    0xef7(%rip),%r8
mov    $0x0,%al
call   1060 <_gen_result@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xe29(%rip),%rdi
mov    $0x0,%al
call   1050 <diag@plt>
lea    0xee0(%rip),%rdi
mov    $0x0,%al
call   1040 <todo_start@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
jne    122d <main+0xcd>
mov    $0x1,%edi
lea    0xe02(%rip),%rsi
lea    0xe00(%rip),%rdx
mov    $0x30,%ecx
lea    0xebc(%rip),%r8
mov    $0x0,%al
call   1060 <_gen_result@plt>
mov    %eax,-0x1c(%rbp)
jmp    1253 <main+0xf3>
xor    %edi,%edi
lea    0xdd7(%rip),%rsi
lea    0xdd5(%rip),%rdx
mov    $0x30,%ecx
lea    0xe91(%rip),%r8
mov    $0x0,%al
call   1060 <_gen_result@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xd9d(%rip),%rdi
mov    $0x0,%al
call   1050 <diag@plt>
cmpl   $0x1,-0x18(%rbp)
jne    12a2 <main+0x142>
mov    $0x1,%edi
lea    0xd8d(%rip),%rsi
lea    0xd8b(%rip),%rdx
mov    $0x34,%ecx
lea    0xe47(%rip),%r8
mov    $0x0,%al
call   1060 <_gen_result@plt>
mov    %eax,-0x20(%rbp)
jmp    12c8 <main+0x168>
xor    %edi,%edi
lea    0xd62(%rip),%rsi
lea    0xd60(%rip),%rdx
mov    $0x34,%ecx
lea    0xe1c(%rip),%r8
mov    $0x0,%al
call   1060 <_gen_result@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xd28(%rip),%rdi
mov    $0x0,%al
call   1050 <diag@plt>
mov    $0x0,%al
call   1080 <todo_end@plt>
lea    0xe05(%rip),%rdi
lea    0xe22(%rip),%rsi
mov    $0x0,%al
call   1040 <todo_start@plt>
xor    %edi,%edi
lea    0xd09(%rip),%rsi
lea    0xd07(%rip),%rdx
mov    $0x3b,%ecx
lea    0xe09(%rip),%r8
mov    $0x0,%al
call   1060 <_gen_result@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xcd5(%rip),%rdi
mov    $0x0,%al
call   1050 <diag@plt>
mov    $0x0,%al
call   1080 <todo_end@plt>
cmpl   $0x1,-0x18(%rbp)
jne    1375 <main+0x215>
mov    -0x18(%rbp),%r9d
mov    $0x1,%edi
lea    0xcba(%rip),%rsi
lea    0xcb8(%rip),%rdx
mov    $0x40,%ecx
lea    0xdc5(%rip),%r8
mov    $0x0,%al
call   1060 <_gen_result@plt>
mov    %eax,-0x24(%rbp)
jmp    139f <main+0x23f>
mov    -0x18(%rbp),%r9d
xor    %edi,%edi
lea    0xc8b(%rip),%rsi
lea    0xc89(%rip),%rdx
mov    $0x40,%ecx
lea    0xd96(%rip),%r8
mov    $0x0,%al
call   1060 <_gen_result@plt>
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%esi
lea    0xc51(%rip),%rdi
mov    $0x0,%al
call   1050 <diag@plt>
mov    $0x0,%al
call   1030 <exit_status@plt>
add    $0x30,%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   1070 <plan_tests@plt>
lea    0xe85(%rip),%r12
mov    %r12,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <diag@plt>
lea    0xe7f(%rip),%r14
lea    0xe7d(%rip),%r15
lea    0xf1e(%rip),%r8
mov    $0x1,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x28,%ecx
xor    %eax,%eax
call   1060 <_gen_result@plt>
mov    %r12,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <diag@plt>
lea    0xeff(%rip),%rdi
xor    %eax,%eax
call   1040 <todo_start@plt>
lea    0xf06(%rip),%rbx
xor    %edi,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x30,%ecx
mov    %rbx,%r8
xor    %eax,%eax
call   1060 <_gen_result@plt>
mov    %r12,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <diag@plt>
mov    $0x1,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x34,%ecx
mov    %rbx,%r8
xor    %eax,%eax
call   1060 <_gen_result@plt>
mov    %r12,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <diag@plt>
xor    %eax,%eax
call   1080 <todo_end@plt>
lea    0xec7(%rip),%rdi
lea    0xee4(%rip),%rsi
xor    %eax,%eax
call   1040 <todo_start@plt>
lea    0xee0(%rip),%r8
xor    %edi,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x3b,%ecx
xor    %eax,%eax
call   1060 <_gen_result@plt>
mov    %r12,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <diag@plt>
xor    %eax,%eax
call   1080 <todo_end@plt>
lea    0xebd(%rip),%r8
mov    $0x1,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x40,%ecx
mov    $0x1,%r9d
xor    %eax,%eax
call   1060 <_gen_result@plt>
mov    %r12,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1050 <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/ByteFoundryAU/monitoring-plugins/refs/heads/fedora/t/libtap-tests/todo/test.c\00"
@.str.2 = [11 x i8] c"1 equals 1\00"
@.str.3 = [21 x i8] c"For testing purposes\00"
@.str.4 = [24 x i8] c"side_effect checked out\00"
@.str.5 = [36 x i8] c"Testing printf() %s in todo_start()\00"
@.str.6 = [10 x i8] c"expansion\00"
@.str.7 = [11 x i8] c"dummy test\00"
@.str.8 = [18 x i8] c"side_effect is %d\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
store i32 0, i32* %7
%8 = call i32 (i32, ...) bitcast (i32 (...)* @plan_tests to i32 (i32, ...)*)(i32 5)
store i32 %8, i32* %6
%9 = load i32, i32* %6
%10 = 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 = 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 40, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
store i32 %11, i32* %6
%12 = load i32, i32* %6
%13 = 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 %12)
%14 = call i32 (i8*, ...) bitcast (i32 (...)* @todo_start to i32 (i8*, ...)*)(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
%15 = load i32, i32* %7
%16 = add i32 %15, 1
store i32 %16, i32* %7
%17 = load i32, i32* %7
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %2
%20 = 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 48, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
br label %23
21: ; preds = %2
%22 = 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 48, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
br label %23
23: ; preds = %21, %19
%24 = phi i32 [ %20, %19 ], [ %22, %21 ]
store i32 %24, i32* %6
%25 = load i32, i32* %6
%26 = 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 %25)
%27 = load i32, i32* %7
%28 = icmp eq i32 %27, 1
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = 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 52, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
br label %33
31: ; preds = %23
%32 = 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 52, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
br label %33
33: ; preds = %31, %29
%34 = phi i32 [ %30, %29 ], [ %32, %31 ]
store i32 %34, i32* %6
%35 = load i32, i32* %6
%36 = 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 %35)
%37 = call i32 (...) @todo_end()
%38 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @todo_start to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%39 = 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 59, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
store i32 %39, i32* %6
%40 = load i32, i32* %6
%41 = 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 %40)
%42 = call i32 (...) @todo_end()
%43 = load i32, i32* %7
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %48
45: ; preds = %33
%46 = load i32, i32* %7
%47 = 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 64, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %46)
br label %51
48: ; preds = %33
%49 = load i32, i32* %7
%50 = call i32 (i32, i8*, i8*, i32, i8*, i32, ...) bitcast (i32 (...)* @_gen_result to i32 (i32, i8*, i8*, i32, i8*, i32, ...)*)(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 64, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %49)
br label %51
51: ; preds = %48, %45
%52 = phi i32 [ %47, %45 ], [ %50, %48 ]
store i32 %52, i32* %6
%53 = load i32, i32* %6
%54 = 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 %53)
%55 = call i32 (...) @exit_status()
ret i32 %55
}

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/ByteFoundryAU/monitoring-plugins/refs/heads/fedora/t/libtap-tests/todo/test.c\00"
@.str.2 = [11 x i8] c"1 equals 1\00"
@.str.3 = [21 x i8] c"For testing purposes\00"
@.str.4 = [24 x i8] c"side_effect checked out\00"
@.str.5 = [36 x i8] c"Testing printf() %s in todo_start()\00"
@.str.6 = [10 x i8] c"expansion\00"
@.str.7 = [11 x i8] c"dummy test\00"
@.str.8 = [18 x i8] c"side_effect is %d\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 40, 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 (i8*, ...) bitcast (i32 (...)* @todo_start to i32 (i8*, ...)*)(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
%8 = 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 48, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
%9 = 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 %8)
%10 = 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 52, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
%11 = 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 %10)
%12 = tail call i32 (...) @todo_end()
%13 = tail call i32 (i8*, i8*, ...) bitcast (i32 (...)* @todo_start to i32 (i8*, i8*, ...)*)(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%14 = 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 59, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%15 = 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 %14)
%16 = tail call i32 (...) @todo_end()
%17 = 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 64, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 1)
%18 = 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 %17)
%19 = tail call i32 (...) @exit_status()
ret i32 %19
}