#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int EXIT_SUCCESS;
scalar_t__ expect(char *, char *, int /*<<< orphan*/, char *,
                  int /*<<< orphan*/);
int /*<<< orphan*/ test_span_id_eq(char *, char *);
int /*<<< orphan*/ test_span_id_less(char *, char *);
int /*<<< orphan*/ test_span_id_round_trip(char *);
int main(void) {
  do {
    if (expect("0",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/"
               "heads/master/htrace-c/src/test/span_id-unit.c"
               " at line "
               "87",
               0, "%d",
               test_span_id_round_trip("0123456789abcdef0011223344556677")))
      return 1;
  } while (0);
  ;
  ;
  do {
    if (expect("0",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/"
               "heads/master/htrace-c/src/test/span_id-unit.c"
               " at line "
               "88",
               0, "%d",
               test_span_id_round_trip("a919f3d62ce111e5b345feff819cdc9f")))
      return 1;
  } while (0);
  ;
  ;
  do {
    if (expect("0",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/"
               "heads/master/htrace-c/src/test/span_id-unit.c"
               " at line "
               "89",
               0, "%d",
               test_span_id_round_trip("00000000000000000000000000000000")))
      return 1;
  } while (0);
  ;
  ;
  do {
    if (expect("0",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/"
               "heads/master/htrace-c/src/test/span_id-unit.c"
               " at line "
               "90",
               0, "%d",
               test_span_id_round_trip("ba85631c2ce111e5b345feff819cdc9f")))
      return 1;
  } while (0);
  ;
  ;
  do {
    if (expect("0",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/"
               "heads/master/htrace-c/src/test/span_id-unit.c"
               " at line "
               "91",
               0, "%d",
               test_span_id_round_trip("ffffffffffffffffffffffffffffffff")))
      return 1;
  } while (0);
  ;
  ;
  do {
    if (expect("0",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/"
               "heads/master/htrace-c/src/test/span_id-unit.c"
               " at line "
               "92",
               0, "%d",
               test_span_id_round_trip("ba85631c2ce111e5b345feff819cdc9f")))
      return 1;
  } while (0);
  ;
  ;
  do {
    if (expect("0",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/"
               "heads/master/htrace-c/src/test/span_id-unit.c"
               " at line "
               "94",
               0, "%d",
               test_span_id_less("a919f3d62ce111e5b345feff819cdc9e",
                                 "a919f3d62ce111e5b345feff819cdc9f")))
      return 1;
  } while (0);
  ;
  ;
  do {
    if (expect("0",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/"
               "heads/master/htrace-c/src/test/span_id-unit.c"
               " at line "
               "96",
               0, "%d",
               test_span_id_eq("a919f3d62ce111e5b345feff819cdc9f",
                               "a919f3d62ce111e5b345feff819cdc9f")))
      return 1;
  } while (0);
  ;
  ;
  do {
    if (expect("0",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/"
               "heads/master/htrace-c/src/test/span_id-unit.c"
               " at line "
               "98",
               0, "%d",
               test_span_id_eq("ffffffff2ce111e5b345feff819cdc9f",
                               "ffffffff2ce111e5b345feff819cdc9f")))
      return 1;
  } while (0);
  ;
  ;
  do {
    if (expect("0",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/"
               "heads/master/htrace-c/src/test/span_id-unit.c"
               " at line "
               "100",
               0, "%d",
               test_span_id_less("1919f3d62ce111e5b345feff819cdc9f",
                                 "f919f3d62ce111e5b345feff81900000")))
      return 1;
  } while (0);
  ;
  ;
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xf5d(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
mov    %eax,%r8d
lea    0x110f(%rip),%rdi
lea    0xe94(%rip),%rsi
xor    %edx,%edx
lea    0xf3b(%rip),%rcx
call   1040 <expect@plt>
cmp    $0x0,%rax
je     1190 <main+0x50>
movl   $0x1,-0x4(%rbp)
jmp    1458 <main+0x318>
jmp    1195 <main+0x55>
jmp    119a <main+0x5a>
lea    0xfe3(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
mov    %eax,%r8d
lea    0x10c4(%rip),%rdi
lea    0xf1d(%rip),%rsi
xor    %edx,%edx
lea    0xef0(%rip),%rcx
call   1040 <expect@plt>
cmp    $0x0,%rax
je     11db <main+0x9b>
movl   $0x1,-0x4(%rbp)
jmp    1458 <main+0x318>
jmp    11e0 <main+0xa0>
jmp    11e5 <main+0xa5>
lea    0x1069(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
mov    %eax,%r8d
lea    0x1079(%rip),%rdi
lea    0xfa3(%rip),%rsi
xor    %edx,%edx
lea    0xea5(%rip),%rcx
call   1040 <expect@plt>
cmp    $0x0,%rax
je     1226 <main+0xe6>
movl   $0x1,-0x4(%rbp)
jmp    1458 <main+0x318>
jmp    122b <main+0xeb>
jmp    1230 <main+0xf0>
lea    0x10ef(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
mov    %eax,%r8d
lea    0x102e(%rip),%rdi
lea    0x1029(%rip),%rsi
xor    %edx,%edx
lea    0xe5a(%rip),%rcx
call   1040 <expect@plt>
cmp    $0x0,%rax
je     1271 <main+0x131>
movl   $0x1,-0x4(%rbp)
jmp    1458 <main+0x318>
jmp    1276 <main+0x136>
jmp    127b <main+0x13b>
lea    0x1175(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
mov    %eax,%r8d
lea    0xfe3(%rip),%rdi
lea    0x10af(%rip),%rsi
xor    %edx,%edx
lea    0xe0f(%rip),%rcx
call   1040 <expect@plt>
cmp    $0x0,%rax
je     12bc <main+0x17c>
movl   $0x1,-0x4(%rbp)
jmp    1458 <main+0x318>
jmp    12c1 <main+0x181>
jmp    12c6 <main+0x186>
lea    0x1059(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
mov    %eax,%r8d
lea    0xf98(%rip),%rdi
lea    0x1135(%rip),%rsi
xor    %edx,%edx
lea    0xdc4(%rip),%rcx
call   1040 <expect@plt>
cmp    $0x0,%rax
je     1307 <main+0x1c7>
movl   $0x1,-0x4(%rbp)
jmp    1458 <main+0x318>
jmp    130c <main+0x1cc>
jmp    1311 <main+0x1d1>
lea    0x1260(%rip),%rdi
lea    0xe65(%rip),%rsi
call   1060 <test_span_id_less@plt>
mov    %eax,%r8d
lea    0xf46(%rip),%rdi
lea    0x1193(%rip),%rsi
xor    %edx,%edx
lea    0xd72(%rip),%rcx
call   1040 <expect@plt>
cmp    $0x0,%rax
je     1359 <main+0x219>
movl   $0x1,-0x4(%rbp)
jmp    1458 <main+0x318>
jmp    135e <main+0x21e>
jmp    1363 <main+0x223>
lea    0xe1a(%rip),%rsi
mov    %rsi,%rdi
call   1050 <test_span_id_eq@plt>
mov    %eax,%r8d
lea    0xef8(%rip),%rdi
lea    0x1216(%rip),%rsi
xor    %edx,%edx
lea    0xd24(%rip),%rcx
call   1040 <expect@plt>
cmp    $0x0,%rax
je     13a7 <main+0x267>
movl   $0x1,-0x4(%rbp)
jmp    1458 <main+0x318>
jmp    13ac <main+0x26c>
jmp    13b1 <main+0x271>
lea    0x1341(%rip),%rsi
mov    %rsi,%rdi
call   1050 <test_span_id_eq@plt>
mov    %eax,%r8d
lea    0xeaa(%rip),%rdi
lea    0x1278(%rip),%rsi
xor    %edx,%edx
lea    0xcd6(%rip),%rcx
call   1040 <expect@plt>
cmp    $0x0,%rax
je     13f5 <main+0x2b5>
movl   $0x1,-0x4(%rbp)
jmp    1458 <main+0x318>
jmp    13fa <main+0x2ba>
jmp    13ff <main+0x2bf>
lea    0x13c5(%rip),%rdi
lea    0x13df(%rip),%rsi
call   1060 <test_span_id_less@plt>
mov    %eax,%r8d
lea    0xe58(%rip),%rdi
lea    0x12f7(%rip),%rsi
xor    %edx,%edx
lea    0xc84(%rip),%rcx
call   1040 <expect@plt>
cmp    $0x0,%rax
je     1447 <main+0x307>
movl   $0x1,-0x4(%rbp)
jmp    1458 <main+0x318>
jmp    144c <main+0x30c>
mov    0x2b8d(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xf6b(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
lea    0x1120(%rip),%rdi
lea    0xea5(%rip),%rsi
lea    0xf4e(%rip),%rcx
xor    %edx,%edx
mov    %eax,%r8d
call   1040 <expect@plt>
mov    $0x1,%ebx
test   %rax,%rax
jne    1364 <main+0x224>
lea    0x1003(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
lea    0x10e7(%rip),%rdi
lea    0xf40(%rip),%rsi
lea    0xf15(%rip),%rcx
xor    %edx,%edx
mov    %eax,%r8d
call   1040 <expect@plt>
test   %rax,%rax
jne    1364 <main+0x224>
lea    0x10a0(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
lea    0x10b3(%rip),%rdi
lea    0xfdd(%rip),%rsi
lea    0xee1(%rip),%rcx
xor    %edx,%edx
mov    %eax,%r8d
call   1040 <expect@plt>
test   %rax,%rax
jne    1364 <main+0x224>
lea    0x113d(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
lea    0x107f(%rip),%rdi
lea    0x107a(%rip),%rsi
lea    0xead(%rip),%rcx
xor    %edx,%edx
mov    %eax,%r8d
call   1040 <expect@plt>
test   %rax,%rax
jne    1364 <main+0x224>
lea    0x11da(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
lea    0x104b(%rip),%rdi
lea    0x1117(%rip),%rsi
lea    0xe79(%rip),%rcx
xor    %edx,%edx
mov    %eax,%r8d
call   1040 <expect@plt>
test   %rax,%rax
jne    1364 <main+0x224>
lea    0x10d5(%rip),%rdi
call   1030 <test_span_id_round_trip@plt>
lea    0x1017(%rip),%rdi
lea    0x11b4(%rip),%rsi
lea    0xe45(%rip),%rcx
xor    %edx,%edx
mov    %eax,%r8d
call   1040 <expect@plt>
test   %rax,%rax
jne    1364 <main+0x224>
lea    0x12f3(%rip),%rdi
lea    0xef8(%rip),%rsi
call   1060 <test_span_id_less@plt>
lea    0xfdc(%rip),%rdi
lea    0x1229(%rip),%rsi
lea    0xe0a(%rip),%rcx
xor    %edx,%edx
mov    %eax,%r8d
call   1040 <expect@plt>
test   %rax,%rax
jne    1364 <main+0x224>
lea    0xec4(%rip),%rdi
mov    %rdi,%rsi
call   1050 <test_span_id_eq@plt>
lea    0xfa5(%rip),%rdi
lea    0x12c3(%rip),%rsi
lea    0xdd3(%rip),%rcx
xor    %edx,%edx
mov    %eax,%r8d
call   1040 <expect@plt>
test   %rax,%rax
jne    1364 <main+0x224>
lea    0x1406(%rip),%rdi
mov    %rdi,%rsi
call   1050 <test_span_id_eq@plt>
lea    0xf72(%rip),%rdi
lea    0x1340(%rip),%rsi
lea    0xda0(%rip),%rcx
xor    %edx,%edx
mov    %eax,%r8d
call   1040 <expect@plt>
test   %rax,%rax
jne    1364 <main+0x224>
lea    0x14a5(%rip),%rdi
lea    0x14bf(%rip),%rsi
call   1060 <test_span_id_less@plt>
lea    0xf3b(%rip),%rdi
lea    0x13da(%rip),%rsi
lea    0xd69(%rip),%rcx
xor    %edx,%edx
mov    %eax,%r8d
call   1040 <expect@plt>
mov    $0x1,%ebx
test   %rax,%rax
jne    1364 <main+0x224>
mov    0x2c7e(%rip),%rax
mov    (%rax),%ebx
mov    %ebx,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [2 x i8] c"0\00"
@.str.1 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 87\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [33 x i8] c"0123456789abcdef0011223344556677\00"
@.str.4 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 88\00"
@.str.5 = [33 x i8] c"a919f3d62ce111e5b345feff819cdc9f\00"
@.str.6 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 89\00"
@.str.7 = [33 x i8] c"00000000000000000000000000000000\00"
@.str.8 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 90\00"
@.str.9 = [33 x i8] c"ba85631c2ce111e5b345feff819cdc9f\00"
@.str.10 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 91\00"
@.str.11 = [33 x i8] c"ffffffffffffffffffffffffffffffff\00"
@.str.12 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 92\00"
@.str.13 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 94\00"
@.str.14 = [33 x i8] c"a919f3d62ce111e5b345feff819cdc9e\00"
@.str.15 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 96\00"
@.str.16 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 98\00"
@.str.17 = [33 x i8] c"ffffffff2ce111e5b345feff819cdc9f\00"
@.str.18 = [177 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 100\00"
@.str.19 = [33 x i8] c"1919f3d62ce111e5b345feff819cdc9f\00"
@.str.20 = [33 x i8] c"f919f3d62ce111e5b345feff81900000\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
br label %2
2: ; preds = %0
%3 = call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
%4 = call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.1, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %2
store i32 1, i32* %1
br label %73
7: ; preds = %2
br label %8
8: ; preds = %7
br label %9
9: ; preds = %8
%10 = call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
%11 = call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.4, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
store i32 1, i32* %1
br label %73
14: ; preds = %9
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.7, i64 0, i64 0))
%18 = call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.6, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %16
store i32 1, i32* %1
br label %73
21: ; preds = %16
br label %22
22: ; preds = %21
br label %23
23: ; preds = %22
%24 = call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0))
%25 = call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.8, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %24)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %23
store i32 1, i32* %1
br label %73
28: ; preds = %23
br label %29
29: ; preds = %28
br label %30
30: ; preds = %29
%31 = call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0))
%32 = call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.10, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %30
store i32 1, i32* %1
br label %73
35: ; preds = %30
br label %36
36: ; preds = %35
br label %37
37: ; preds = %36
%38 = call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0))
%39 = call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.12, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %38)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %42
41: ; preds = %37
store i32 1, i32* %1
br label %73
42: ; preds = %37
br label %43
43: ; preds = %42
br label %44
44: ; preds = %43
%45 = call i32 @test_span_id_less(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
%46 = call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.13, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44
store i32 1, i32* %1
br label %73
49: ; preds = %44
br label %50
50: ; preds = %49
br label %51
51: ; preds = %50
%52 = call i32 @test_span_id_eq(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
%53 = call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.15, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %52)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %51
store i32 1, i32* %1
br label %73
56: ; preds = %51
br label %57
57: ; preds = %56
br label %58
58: ; preds = %57
%59 = call i32 @test_span_id_eq(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.17, i64 0, i64 0))
%60 = call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.16, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %59)
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %58
store i32 1, i32* %1
br label %73
63: ; preds = %58
br label %64
64: ; preds = %63
br label %65
65: ; preds = %64
%66 = call i32 @test_span_id_less(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.20, i64 0, i64 0))
%67 = call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([177 x i8], [177 x i8]* @.str.18, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %70
69: ; preds = %65
store i32 1, i32* %1
br label %73
70: ; preds = %65
br label %71
71: ; preds = %70
%72 = load i32, i32* @EXIT_SUCCESS
store i32 %72, i32* %1
br label %73
73: ; preds = %71, %69, %62, %55, %48, %41, %34, %27, %20, %13, %6
%74 = load i32, i32* %1
ret i32 %74
}

LLVM IR (-O2):
@.str = [2 x i8] c"0\00"
@.str.1 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 87\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [33 x i8] c"0123456789abcdef0011223344556677\00"
@.str.4 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 88\00"
@.str.5 = [33 x i8] c"a919f3d62ce111e5b345feff819cdc9f\00"
@.str.6 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 89\00"
@.str.7 = [33 x i8] c"00000000000000000000000000000000\00"
@.str.8 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 90\00"
@.str.9 = [33 x i8] c"ba85631c2ce111e5b345feff819cdc9f\00"
@.str.10 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 91\00"
@.str.11 = [33 x i8] c"ffffffffffffffffffffffffffffffff\00"
@.str.12 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 92\00"
@.str.13 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 94\00"
@.str.14 = [33 x i8] c"a919f3d62ce111e5b345feff819cdc9e\00"
@.str.15 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 96\00"
@.str.16 = [176 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 98\00"
@.str.17 = [33 x i8] c"ffffffff2ce111e5b345feff819cdc9f\00"
@.str.18 = [177 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/apache/incubator-htrace/refs/heads/master/htrace-c/src/test/span_id-unit.c at line 100\00"
@.str.19 = [33 x i8] c"1919f3d62ce111e5b345feff819cdc9f\00"
@.str.20 = [33 x i8] c"f919f3d62ce111e5b345feff81900000\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = tail call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
%2 = tail call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.1, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %1)
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %42
4: ; preds = %0
%5 = tail call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
%6 = tail call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.4, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %42
8: ; preds = %4
%9 = tail call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.7, i64 0, i64 0))
%10 = tail call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.6, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %9)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %42
12: ; preds = %8
%13 = tail call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0))
%14 = tail call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.8, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %13)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %42
16: ; preds = %12
%17 = tail call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0))
%18 = tail call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.10, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %42
20: ; preds = %16
%21 = tail call i32 @test_span_id_round_trip(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0))
%22 = tail call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.12, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %21)
%23 = icmp eq i64 %22, 0
br i1 %23, label %24, label %42
24: ; preds = %20
%25 = tail call i32 @test_span_id_less(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
%26 = tail call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.13, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %25)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %42
28: ; preds = %24
%29 = tail call i32 @test_span_id_eq(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
%30 = tail call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.15, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %29)
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %42
32: ; preds = %28
%33 = tail call i32 @test_span_id_eq(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.17, i64 0, i64 0))
%34 = tail call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([176 x i8], [176 x i8]* @.str.16, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %33)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %42
36: ; preds = %32
%37 = tail call i32 @test_span_id_less(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.20, i64 0, i64 0))
%38 = tail call i64 @expect(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([177 x i8], [177 x i8]* @.str.18, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 %37)
%39 = icmp eq i64 %38, 0
%40 = load i32, i32* @EXIT_SUCCESS
%41 = select i1 %39, i32 %40, i32 1
br label %42
42: ; preds = %36, %32, %28, %24, %20, %16, %12, %8, %4, %0
%43 = phi i32 [ 1, %0 ], [ 1, %4 ], [ 1, %8 ], [ 1, %12 ], [ 1, %16 ], [ 1, %20 ], [ 1, %24 ], [ 1, %28 ], [ 1, %32 ], [ %41, %36 ]
ret i32 %43
}