#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 /*<<< orphan*/ test_case(int, char *, int /*<<< orphan*/);
int /*<<< orphan*/ test_long_eq(char *, int, char *, char *, long, long);
int /*<<< orphan*/ test_long_ge(char *, int, char *, char *, long, long);
int /*<<< orphan*/ test_long_gt(char *, int, char *, char *, long, long);
int /*<<< orphan*/ test_long_le(char *, int, char *, char *, long, long);
int /*<<< orphan*/ test_long_lt(char *, int, char *, char *, long, long);
int /*<<< orphan*/ test_long_ne(char *, int, char *, char *, long, long);
int test_long(void) {
  if (!test_case(
          (1), "TEST_long_eq(123l, 123l)",
          (test_long_eq(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              126, "123l", "123l", 123l, 123l))) |
      !test_case(
          (0), "TEST_long_eq(123l, -123l)",
          (test_long_eq(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              127, "123l", "-123l", 123l, -123l))) |
      !test_case(
          (1), "TEST_long_ne(123l, 500l)",
          (test_long_ne(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              128, "123l", "500l", 123l, 500l))) |
      !test_case(
          (0), "TEST_long_ne(1000l, 1000l)",
          (test_long_ne(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              129, "1000l", "1000l", 1000l, 1000l))) |
      !test_case(
          (1), "TEST_long_lt(-8923l, 102934563l)",
          (test_long_lt(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              130, "-8923l", "102934563l", -8923l, 102934563l))) |
      !test_case(
          (0), "TEST_long_lt(102934563l, -8923l)",
          (test_long_lt(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              131, "102934563l", "-8923l", 102934563l, -8923l))) |
      !test_case(
          (1), "TEST_long_le(-8923l, 102934563l)",
          (test_long_le(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              132, "-8923l", "102934563l", -8923l, 102934563l))) |
      !test_case(
          (1), "TEST_long_le(12345l, 12345l)",
          (test_long_le(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              133, "12345l", "12345l", 12345l, 12345l))) |
      !test_case(
          (0), "TEST_long_le(102934563l, -8923l)",
          (test_long_le(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              134, "102934563l", "-8923l", 102934563l, -8923l))) |
      !test_case(
          (1), "TEST_long_gt(84325677l, 12345l)",
          (test_long_gt(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              135, "84325677l", "12345l", 84325677l, 12345l))) |
      !test_case(
          (0), "TEST_long_gt(12345l, 84325677l)",
          (test_long_gt(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              136, "12345l", "84325677l", 12345l, 84325677l))) |
      !test_case(
          (1), "TEST_long_ge(84325677l, 12345l)",
          (test_long_ge(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              137, "84325677l", "12345l", 84325677l, 12345l))) |
      !test_case(
          (1), "TEST_long_ge(465869l, 465869l)",
          (test_long_ge(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              138, "465869l", "465869l", 465869l, 465869l))) |
      !test_case(
          (0), "TEST_long_ge(12345l, 84325677l)",
          (test_long_ge(
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/"
              "heads/master/Src/OSF/OpenSSL-111/test/test_test.c",
              139, "12345l", "84325677l", 12345l, 84325677l))))
    goto err;
  return 1;
err:
  return 0;
}


x86 assembly (clang, -O0):
<test_long>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
lea    0xe9a(%rip),%rdi
mov    $0x7e,%esi
lea    0xf56(%rip),%rcx
mov    $0x7b,%r9d
mov    %rcx,%rdx
mov    %r9,%r8
call   1040 <test_long_eq@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xe56(%rip),%rsi
call   1070 <test_case@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x38(%rbp)
lea    0xe53(%rip),%rdi
mov    $0x7f,%esi
lea    0xf0f(%rip),%rdx
lea    0xf07(%rip),%rcx
mov    $0x7b,%r8d
mov    $0xffffffffffffff85,%r9
call   1040 <test_long_eq@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xed0(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x38(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x34(%rbp)
lea    0xdfe(%rip),%rdi
mov    $0x80,%esi
lea    0xeba(%rip),%rdx
lea    0xed1(%rip),%rcx
mov    $0x7b,%r8d
mov    $0x1f4,%r9d
call   1090 <test_long_ne@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xe99(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x34(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x30(%rbp)
lea    0xda7(%rip),%rdi
mov    $0x81,%esi
lea    0xea1(%rip),%rcx
mov    $0x3e8,%r9d
mov    %rcx,%rdx
mov    %r9,%r8
call   1090 <test_long_ne@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xe6a(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x30(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x2c(%rbp)
lea    0xd5a(%rip),%rdi
mov    $0x82,%esi
lea    0xe7b(%rip),%rdx
lea    0xe7b(%rip),%rcx
mov    $0xffffffffffffdd25,%r8
mov    $0x622a823,%r9d
call   1060 <test_long_lt@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xe33(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x2c(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x28(%rbp)
lea    0xd02(%rip),%rdi
mov    $0x83,%esi
lea    0xe2a(%rip),%rdx
lea    0xe1c(%rip),%rcx
mov    $0x622a823,%r8d
mov    $0xffffffffffffdd25,%r9
call   1060 <test_long_lt@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xe11(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x28(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x24(%rbp)
lea    0xcad(%rip),%rdi
mov    $0x84,%esi
lea    0xdce(%rip),%rdx
lea    0xdce(%rip),%rcx
mov    $0xffffffffffffdd25,%r8
mov    $0x622a823,%r9d
call   1030 <test_long_le@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xdda(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x24(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x20(%rbp)
lea    0xc55(%rip),%rdi
mov    $0x85,%esi
lea    0xde7(%rip),%rcx
mov    $0x3039,%r9d
mov    %rcx,%rdx
mov    %r9,%r8
call   1030 <test_long_le@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xdab(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x20(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x1c(%rbp)
lea    0xc05(%rip),%rdi
mov    $0x86,%esi
lea    0xd2d(%rip),%rdx
lea    0xd1f(%rip),%rcx
mov    $0x622a823,%r8d
mov    $0xffffffffffffdd25,%r9
call   1030 <test_long_le@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xd7a(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x1c(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x18(%rbp)
lea    0xbb0(%rip),%rdi
mov    $0x87,%esi
lea    0xd8a(%rip),%rdx
lea    0xd3b(%rip),%rcx
mov    $0x506b52d,%r8d
mov    $0x3039,%r9d
call   1050 <test_long_gt@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xd44(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x14(%rbp)
lea    0xb59(%rip),%rdi
mov    $0x88,%esi
lea    0xceb(%rip),%rdx
lea    0xd2c(%rip),%rcx
mov    $0x3039,%r8d
mov    $0x506b52d,%r9d
call   1050 <test_long_gt@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xd1a(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x14(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x10(%rbp)
lea    0xb05(%rip),%rdi
mov    $0x89,%esi
lea    0xcdf(%rip),%rdx
lea    0xc90(%rip),%rcx
mov    $0x506b52d,%r8d
mov    $0x3039,%r9d
call   1080 <test_long_ge@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xce3(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0xc(%rbp)
lea    0xaae(%rip),%rdi
mov    $0x8a,%esi
lea    0xcf1(%rip),%rcx
mov    $0x71bcd,%r9d
mov    %rcx,%rdx
mov    %r9,%r8
call   1080 <test_long_ge@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xcb3(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0xc(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
mov    %eax,-0x8(%rbp)
lea    0xa5e(%rip),%rdi
mov    $0x8b,%esi
lea    0xbf0(%rip),%rdx
lea    0xc31(%rip),%rcx
mov    $0x3039,%r8d
mov    $0x506b52d,%r9d
call   1080 <test_long_ge@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xc86(%rip),%rsi
call   1070 <test_case@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%eax
cmp    $0x0,%ecx
setne  %cl
xor    $0xff,%cl
and    $0x1,%cl
movzbl %cl,%ecx
or     %ecx,%eax
cmp    $0x0,%eax
je     1613 <test_long+0x4a3>
jmp    161f <test_long+0x4af>
movl   $0x1,-0x4(%rbp)
jmp    1626 <test_long+0x4b6>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_long>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xe97(%rip),%r13
lea    0xf58(%rip),%r14
mov    $0x7b,%r8d
mov    $0x7b,%r9d
mov    %r13,%rdi
mov    $0x7e,%esi
mov    %r14,%rdx
mov    %r14,%rcx
call   1040 <test_long_eq@plt>
lea    0xe51(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bl
lea    0xf19(%rip),%rcx
mov    $0x7b,%r8d
mov    %r13,%rdi
mov    $0x7f,%esi
mov    %r14,%rdx
mov    $0xffffffffffffff85,%r9
call   1040 <test_long_eq@plt>
lea    0xedb(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bpl
and    %bl,%bpl
lea    0xefb(%rip),%rcx
mov    $0x7b,%r8d
mov    $0x1f4,%r9d
mov    %r13,%rdi
mov    $0x80,%esi
mov    %r14,%rdx
call   1090 <test_long_ne@plt>
lea    0xebf(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %r14b
lea    0xedf(%rip),%rcx
mov    $0x3e8,%r8d
mov    $0x3e8,%r9d
mov    %r13,%rdi
mov    $0x81,%esi
mov    %rcx,%rdx
call   1090 <test_long_ne@plt>
lea    0xea1(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %r15b
and    %r14b,%r15b
and    %bpl,%r15b
lea    0xec7(%rip),%r14
lea    0xec7(%rip),%r12
mov    $0x622a823,%r9d
mov    %r13,%rdi
mov    $0x82,%esi
mov    %r14,%rdx
mov    %r12,%rcx
mov    $0xffffffffffffdd25,%r8
call   1060 <test_long_lt@plt>
lea    0xe78(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bpl
mov    $0x622a823,%r8d
mov    %r13,%rdi
mov    $0x83,%esi
mov    %r12,%rdx
mov    %r14,%rcx
mov    $0xffffffffffffdd25,%r9
call   1060 <test_long_lt@plt>
lea    0xe72(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bl
and    %bpl,%bl
mov    $0x622a823,%r9d
mov    %r13,%rdi
mov    $0x84,%esi
mov    %r14,%rdx
mov    %r12,%rcx
mov    $0xffffffffffffdd25,%r8
call   1030 <test_long_le@plt>
lea    0xe5b(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bpl
and    %bl,%bpl
and    %r15b,%bpl
lea    0xe7a(%rip),%r14
mov    $0x3039,%r8d
mov    $0x3039,%r9d
mov    %r13,%rdi
mov    $0x85,%esi
mov    %r14,%rdx
mov    %r14,%rcx
call   1030 <test_long_le@plt>
lea    0xe37(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %r15b
mov    $0x622a823,%r8d
mov    %r13,%rdi
mov    $0x86,%esi
mov    %r12,%rdx
lea    0xdb9(%rip),%rcx
mov    $0xffffffffffffdd25,%r9
call   1030 <test_long_le@plt>
lea    0xe1e(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %r12b
and    %r15b,%r12b
lea    0xe46(%rip),%r15
mov    $0x506b52d,%r8d
mov    $0x3039,%r9d
mov    %r13,%rdi
mov    $0x87,%esi
mov    %r15,%rdx
mov    %r14,%rcx
call   1050 <test_long_gt@plt>
lea    0xe00(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bl
and    %r12b,%bl
mov    $0x3039,%r8d
mov    $0x506b52d,%r9d
mov    %r13,%rdi
mov    $0x88,%esi
mov    %r14,%rdx
mov    %r15,%rcx
call   1050 <test_long_gt@plt>
lea    0xdf0(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %r12b
and    %bl,%r12b
and    %bpl,%r12b
mov    $0x506b52d,%r8d
mov    $0x3039,%r9d
mov    %r13,%rdi
mov    $0x89,%esi
mov    %r15,%rdx
mov    %r14,%rcx
call   1080 <test_long_ge@plt>
lea    0xdd5(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bpl
lea    0xdfb(%rip),%rcx
mov    $0x71bcd,%r8d
mov    $0x71bcd,%r9d
mov    %r13,%rdi
mov    $0x8a,%esi
mov    %rcx,%rdx
call   1080 <test_long_ge@plt>
lea    0xdb9(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bl
and    %bpl,%bl
mov    $0x3039,%r8d
mov    $0x506b52d,%r9d
mov    %r13,%rdi
mov    $0x8b,%esi
mov    %r14,%rdx
mov    %r15,%rcx
call   1080 <test_long_ge@plt>
lea    0xda6(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %al
and    %bl,%al
and    %r12b,%al
movzbl %al,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [25 x i8] c"TEST_long_eq(123l, 123l)\00"
@.str.1 = [173 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/heads/master/Src/OSF/OpenSSL-111/test/test_test.c\00"
@.str.2 = [5 x i8] c"123l\00"
@.str.3 = [26 x i8] c"TEST_long_eq(123l, -123l)\00"
@.str.4 = [6 x i8] c"-123l\00"
@.str.5 = [25 x i8] c"TEST_long_ne(123l, 500l)\00"
@.str.6 = [5 x i8] c"500l\00"
@.str.7 = [27 x i8] c"TEST_long_ne(1000l, 1000l)\00"
@.str.8 = [6 x i8] c"1000l\00"
@.str.9 = [33 x i8] c"TEST_long_lt(-8923l, 102934563l)\00"
@.str.10 = [7 x i8] c"-8923l\00"
@.str.11 = [11 x i8] c"102934563l\00"
@.str.12 = [33 x i8] c"TEST_long_lt(102934563l, -8923l)\00"
@.str.13 = [33 x i8] c"TEST_long_le(-8923l, 102934563l)\00"
@.str.14 = [29 x i8] c"TEST_long_le(12345l, 12345l)\00"
@.str.15 = [7 x i8] c"12345l\00"
@.str.16 = [33 x i8] c"TEST_long_le(102934563l, -8923l)\00"
@.str.17 = [32 x i8] c"TEST_long_gt(84325677l, 12345l)\00"
@.str.18 = [10 x i8] c"84325677l\00"
@.str.19 = [32 x i8] c"TEST_long_gt(12345l, 84325677l)\00"
@.str.20 = [32 x i8] c"TEST_long_ge(84325677l, 12345l)\00"
@.str.21 = [31 x i8] c"TEST_long_ge(465869l, 465869l)\00"
@.str.22 = [8 x i8] c"465869l\00"
@.str.23 = [32 x i8] c"TEST_long_ge(12345l, 84325677l)\00"
define i32 @test_long() {
%1 = alloca i32
%2 = call i32 @test_long_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 126, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i64 123, i64 123)
%3 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0), i32 %2)
%4 = icmp ne i32 %3, 0
%5 = xor i1 %4, true
%6 = zext i1 %5 to i32
%7 = call i32 @test_long_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 127, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i64 123, i64 -123)
%8 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i32 %7)
%9 = icmp ne i32 %8, 0
%10 = xor i1 %9, true
%11 = zext i1 %10 to i32
%12 = or i32 %6, %11
%13 = call i32 @test_long_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 128, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i64 123, i64 500)
%14 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i32 %13)
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
%17 = zext i1 %16 to i32
%18 = or i32 %12, %17
%19 = call i32 @test_long_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 129, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i64 1000, i64 1000)
%20 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0), i32 %19)
%21 = icmp ne i32 %20, 0
%22 = xor i1 %21, true
%23 = zext i1 %22 to i32
%24 = or i32 %18, %23
%25 = call i32 @test_long_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 130, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i64 -8923, i64 102934563)
%26 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 %25)
%27 = icmp ne i32 %26, 0
%28 = xor i1 %27, true
%29 = zext i1 %28 to i32
%30 = or i32 %24, %29
%31 = call i32 @test_long_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 131, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i64 102934563, i64 -8923)
%32 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.12, i64 0, i64 0), i32 %31)
%33 = icmp ne i32 %32, 0
%34 = xor i1 %33, true
%35 = zext i1 %34 to i32
%36 = or i32 %30, %35
%37 = call i32 @test_long_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 132, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i64 -8923, i64 102934563)
%38 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0), i32 %37)
%39 = icmp ne i32 %38, 0
%40 = xor i1 %39, true
%41 = zext i1 %40 to i32
%42 = or i32 %36, %41
%43 = call i32 @test_long_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 133, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i64 12345, i64 12345)
%44 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.14, i64 0, i64 0), i32 %43)
%45 = icmp ne i32 %44, 0
%46 = xor i1 %45, true
%47 = zext i1 %46 to i32
%48 = or i32 %42, %47
%49 = call i32 @test_long_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 134, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i64 102934563, i64 -8923)
%50 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.16, i64 0, i64 0), i32 %49)
%51 = icmp ne i32 %50, 0
%52 = xor i1 %51, true
%53 = zext i1 %52 to i32
%54 = or i32 %48, %53
%55 = call i32 @test_long_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 135, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i64 84325677, i64 12345)
%56 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.17, i64 0, i64 0), i32 %55)
%57 = icmp ne i32 %56, 0
%58 = xor i1 %57, true
%59 = zext i1 %58 to i32
%60 = or i32 %54, %59
%61 = call i32 @test_long_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 136, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i64 12345, i64 84325677)
%62 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.19, i64 0, i64 0), i32 %61)
%63 = icmp ne i32 %62, 0
%64 = xor i1 %63, true
%65 = zext i1 %64 to i32
%66 = or i32 %60, %65
%67 = call i32 @test_long_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 137, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i64 84325677, i64 12345)
%68 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.20, i64 0, i64 0), i32 %67)
%69 = icmp ne i32 %68, 0
%70 = xor i1 %69, true
%71 = zext i1 %70 to i32
%72 = or i32 %66, %71
%73 = call i32 @test_long_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 138, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i64 0, i64 0), i64 465869, i64 465869)
%74 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.21, i64 0, i64 0), i32 %73)
%75 = icmp ne i32 %74, 0
%76 = xor i1 %75, true
%77 = zext i1 %76 to i32
%78 = or i32 %72, %77
%79 = call i32 @test_long_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 139, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i64 12345, i64 84325677)
%80 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.23, i64 0, i64 0), i32 %79)
%81 = icmp ne i32 %80, 0
%82 = xor i1 %81, true
%83 = zext i1 %82 to i32
%84 = or i32 %78, %83
%85 = icmp ne i32 %84, 0
br i1 %85, label %86, label %87
86: ; preds = %0
br label %88
87: ; preds = %0
store i32 1, i32* %1
br label %89
88: ; preds = %86
store i32 0, i32* %1
br label %89
89: ; preds = %88, %87
%90 = load i32, i32* %1
ret i32 %90
}

LLVM IR (-O2):
@.str = [25 x i8] c"TEST_long_eq(123l, 123l)\00"
@.str.1 = [173 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/papyrussolution/OpenPapyrus/refs/heads/master/Src/OSF/OpenSSL-111/test/test_test.c\00"
@.str.2 = [5 x i8] c"123l\00"
@.str.3 = [26 x i8] c"TEST_long_eq(123l, -123l)\00"
@.str.4 = [6 x i8] c"-123l\00"
@.str.5 = [25 x i8] c"TEST_long_ne(123l, 500l)\00"
@.str.6 = [5 x i8] c"500l\00"
@.str.7 = [27 x i8] c"TEST_long_ne(1000l, 1000l)\00"
@.str.8 = [6 x i8] c"1000l\00"
@.str.9 = [33 x i8] c"TEST_long_lt(-8923l, 102934563l)\00"
@.str.10 = [7 x i8] c"-8923l\00"
@.str.11 = [11 x i8] c"102934563l\00"
@.str.12 = [33 x i8] c"TEST_long_lt(102934563l, -8923l)\00"
@.str.13 = [33 x i8] c"TEST_long_le(-8923l, 102934563l)\00"
@.str.14 = [29 x i8] c"TEST_long_le(12345l, 12345l)\00"
@.str.15 = [7 x i8] c"12345l\00"
@.str.16 = [33 x i8] c"TEST_long_le(102934563l, -8923l)\00"
@.str.17 = [32 x i8] c"TEST_long_gt(84325677l, 12345l)\00"
@.str.18 = [10 x i8] c"84325677l\00"
@.str.19 = [32 x i8] c"TEST_long_gt(12345l, 84325677l)\00"
@.str.20 = [32 x i8] c"TEST_long_ge(84325677l, 12345l)\00"
@.str.21 = [31 x i8] c"TEST_long_ge(465869l, 465869l)\00"
@.str.22 = [8 x i8] c"465869l\00"
@.str.23 = [32 x i8] c"TEST_long_ge(12345l, 84325677l)\00"
define i32 @test_long() {
%1 = tail call i32 @test_long_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 126, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i64 123, i64 123)
%2 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = icmp eq i32 %2, 0
%4 = tail call i32 @test_long_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 127, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i64 123, i64 -123)
%5 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.3, i64 0, i64 0), i32 %4)
%6 = icmp eq i32 %5, 0
%7 = or i1 %3, %6
%8 = tail call i32 @test_long_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 128, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i64 123, i64 500)
%9 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i32 %8)
%10 = icmp eq i32 %9, 0
%11 = or i1 %7, %10
%12 = tail call i32 @test_long_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 129, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i64 1000, i64 1000)
%13 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0), i32 %12)
%14 = icmp eq i32 %13, 0
%15 = or i1 %11, %14
%16 = tail call i32 @test_long_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 130, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i64 -8923, i64 102934563)
%17 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.9, i64 0, i64 0), i32 %16)
%18 = icmp eq i32 %17, 0
%19 = or i1 %15, %18
%20 = tail call i32 @test_long_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 131, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i64 102934563, i64 -8923)
%21 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.12, i64 0, i64 0), i32 %20)
%22 = icmp eq i32 %21, 0
%23 = or i1 %19, %22
%24 = tail call i32 @test_long_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 132, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i64 -8923, i64 102934563)
%25 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0), i32 %24)
%26 = icmp eq i32 %25, 0
%27 = or i1 %23, %26
%28 = tail call i32 @test_long_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 133, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i64 12345, i64 12345)
%29 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.14, i64 0, i64 0), i32 %28)
%30 = icmp eq i32 %29, 0
%31 = or i1 %27, %30
%32 = tail call i32 @test_long_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 134, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i64 102934563, i64 -8923)
%33 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.16, i64 0, i64 0), i32 %32)
%34 = icmp eq i32 %33, 0
%35 = or i1 %31, %34
%36 = tail call i32 @test_long_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 135, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i64 84325677, i64 12345)
%37 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.17, i64 0, i64 0), i32 %36)
%38 = icmp eq i32 %37, 0
%39 = or i1 %35, %38
%40 = tail call i32 @test_long_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 136, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i64 12345, i64 84325677)
%41 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.19, i64 0, i64 0), i32 %40)
%42 = icmp eq i32 %41, 0
%43 = or i1 %39, %42
%44 = tail call i32 @test_long_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 137, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i64 84325677, i64 12345)
%45 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.20, i64 0, i64 0), i32 %44)
%46 = icmp eq i32 %45, 0
%47 = or i1 %43, %46
%48 = tail call i32 @test_long_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 138, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i64 0, i64 0), i64 465869, i64 465869)
%49 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.21, i64 0, i64 0), i32 %48)
%50 = icmp eq i32 %49, 0
%51 = or i1 %47, %50
%52 = tail call i32 @test_long_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 139, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i64 12345, i64 84325677)
%53 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.23, i64 0, i64 0), i32 %52)
%54 = icmp eq i32 %53, 0
%55 = or i1 %51, %54
%56 = xor i1 %55, true
%57 = zext i1 %56 to i32
ret i32 %57
}