#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_ulong_eq(char *, int, char *, char *, unsigned long,
                                 unsigned long);
int /*<<< orphan*/ test_ulong_ge(char *, int, char *, char *, unsigned long,
                                 unsigned long);
int /*<<< orphan*/ test_ulong_gt(char *, int, char *, char *, unsigned long,
                                 unsigned long);
int /*<<< orphan*/ test_ulong_le(char *, int, char *, char *, unsigned long,
                                 unsigned long);
int /*<<< orphan*/ test_ulong_lt(char *, int, char *, char *, unsigned long,
                                 unsigned long);
int /*<<< orphan*/ test_ulong_ne(char *, int, char *, char *, unsigned long,
                                 unsigned long);
int test_ulong(void) {
  if (!test_case(
          (1), "TEST_ulong_eq(919ul, 919ul)",
          (test_ulong_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",
              149, "919ul", "919ul", 919ul, 919ul))) |
      !test_case(
          (0), "TEST_ulong_eq(919ul, 10234ul)",
          (test_ulong_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",
              150, "919ul", "10234ul", 919ul, 10234ul))) |
      !test_case(
          (1), "TEST_ulong_ne(8190ul, 66ul)",
          (test_ulong_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",
              151, "8190ul", "66ul", 8190ul, 66ul))) |
      !test_case(
          (0), "TEST_ulong_ne(10555ul, 10555ul)",
          (test_ulong_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",
              152, "10555ul", "10555ul", 10555ul, 10555ul))) |
      !test_case(
          (1), "TEST_ulong_lt(10234ul, 1000000ul)",
          (test_ulong_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",
              153, "10234ul", "1000000ul", 10234ul, 1000000ul))) |
      !test_case(
          (0), "TEST_ulong_lt(1000000ul, 10234ul)",
          (test_ulong_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",
              154, "1000000ul", "10234ul", 1000000ul, 10234ul))) |
      !test_case(
          (1), "TEST_ulong_le(10234ul, 1000000ul)",
          (test_ulong_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",
              155, "10234ul", "1000000ul", 10234ul, 1000000ul))) |
      !test_case(
          (1), "TEST_ulong_le(100000ul, 100000ul)",
          (test_ulong_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",
              156, "100000ul", "100000ul", 100000ul, 100000ul))) |
      !test_case(
          (0), "TEST_ulong_le(1000000ul, 10234ul)",
          (test_ulong_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",
              157, "1000000ul", "10234ul", 1000000ul, 10234ul))) |
      !test_case(
          (1), "TEST_ulong_gt(100000000ul, 22ul)",
          (test_ulong_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",
              158, "100000000ul", "22ul", 100000000ul, 22ul))) |
      !test_case(
          (0), "TEST_ulong_gt(22ul, 100000000ul)",
          (test_ulong_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",
              159, "22ul", "100000000ul", 22ul, 100000000ul))) |
      !test_case(
          (1), "TEST_ulong_ge(100000000ul, 22ul)",
          (test_ulong_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",
              160, "100000000ul", "22ul", 100000000ul, 22ul))) |
      !test_case(
          (1), "TEST_ulong_ge(10555ul, 10555ul)",
          (test_ulong_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",
              161, "10555ul", "10555ul", 10555ul, 10555ul))) |
      !test_case(
          (0), "TEST_ulong_ge(22ul, 100000000ul)",
          (test_ulong_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",
              162, "22ul", "100000000ul", 22ul, 100000000ul))))
    goto err;
  return 1;
err:
  return 0;
}


x86 assembly (clang, -O0):
<test_ulong>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
lea    0xe9d(%rip),%rdi
mov    $0x95,%esi
lea    0xf3e(%rip),%rcx
mov    $0x397,%r9d
mov    %rcx,%rdx
mov    %r9,%r8
call   1080 <test_ulong_eq@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xe56(%rip),%rsi
call   1050 <test_case@plt>
cmp    $0x0,%eax
setne  %al
xor    $0xff,%al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x38(%rbp)
lea    0xe56(%rip),%rdi
mov    $0x96,%esi
lea    0xef7(%rip),%rdx
lea    0xf14(%rip),%rcx
mov    $0x397,%r8d
mov    $0x27fa,%r9d
call   1080 <test_ulong_eq@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xeda(%rip),%rsi
call   1050 <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    0xe02(%rip),%rdi
mov    $0x97,%esi
lea    0xeeb(%rip),%rdx
lea    0xeeb(%rip),%rcx
mov    $0x1ffe,%r8d
mov    $0x42,%r9d
call   1070 <test_ulong_ne@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xea9(%rip),%rsi
call   1050 <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    0xdab(%rip),%rdi
mov    $0x98,%esi
lea    0xec0(%rip),%rcx
mov    $0x293b,%r9d
mov    %rcx,%rdx
mov    %r9,%r8
call   1070 <test_ulong_ne@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xe84(%rip),%rsi
call   1050 <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    0xd5e(%rip),%rdi
mov    $0x99,%esi
lea    0xe23(%rip),%rdx
lea    0xe96(%rip),%rcx
mov    $0x27fa,%r8d
mov    $0xf4240,%r9d
call   1090 <test_ulong_lt@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xe55(%rip),%rsi
call   1050 <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    0xd07(%rip),%rdi
mov    $0x9a,%esi
lea    0xe46(%rip),%rdx
lea    0xdc5(%rip),%rcx
mov    $0xf4240,%r8d
mov    $0x27fa,%r9d
call   1090 <test_ulong_lt@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xe2d(%rip),%rsi
call   1050 <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    0xcb3(%rip),%rdi
mov    $0x9b,%esi
lea    0xd78(%rip),%rdx
lea    0xdeb(%rip),%rcx
mov    $0x27fa,%r8d
mov    $0xf4240,%r9d
call   1040 <test_ulong_le@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xdf8(%rip),%rsi
call   1050 <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    0xc5c(%rip),%rdi
mov    $0x9c,%esi
lea    0xe0b(%rip),%rcx
mov    $0x186a0,%r9d
mov    %rcx,%rdx
mov    %r9,%r8
call   1040 <test_ulong_le@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xdca(%rip),%rsi
call   1050 <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    0xc0c(%rip),%rdi
mov    $0x9d,%esi
lea    0xd4b(%rip),%rdx
lea    0xcca(%rip),%rcx
mov    $0xf4240,%r8d
mov    $0x27fa,%r9d
call   1040 <test_ulong_le@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xda1(%rip),%rsi
call   1050 <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    0xbb8(%rip),%rdi
mov    $0x9e,%esi
lea    0xdb3(%rip),%rdx
lea    0xdb8(%rip),%rcx
mov    $0x5f5e100,%r8d
mov    $0x16,%r9d
call   1060 <test_ulong_gt@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xd6c(%rip),%rsi
call   1050 <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    0xb61(%rip),%rdi
mov    $0x9f,%esi
lea    0xd68(%rip),%rdx
lea    0xd55(%rip),%rcx
mov    $0x16,%r8d
mov    $0x5f5e100,%r9d
call   1060 <test_ulong_gt@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xd4a(%rip),%rsi
call   1050 <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    0xb0d(%rip),%rdi
mov    $0xa0,%esi
lea    0xd08(%rip),%rdx
lea    0xd0d(%rip),%rcx
mov    $0x5f5e100,%r8d
mov    $0x16,%r9d
call   1030 <test_ulong_ge@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xd14(%rip),%rsi
call   1050 <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    0xab6(%rip),%rdi
mov    $0xa1,%esi
lea    0xbcb(%rip),%rcx
mov    $0x293b,%r9d
mov    %rcx,%rdx
mov    %r9,%r8
call   1030 <test_ulong_ge@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xce5(%rip),%rsi
call   1050 <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    0xa66(%rip),%rdi
mov    $0xa2,%esi
lea    0xc6d(%rip),%rdx
lea    0xc5a(%rip),%rcx
mov    $0x16,%r8d
mov    $0x5f5e100,%r9d
call   1030 <test_ulong_ge@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xcb1(%rip),%rsi
call   1050 <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     160e <test_ulong+0x49e>
jmp    161a <test_ulong+0x4aa>
movl   $0x1,-0x4(%rbp)
jmp    1621 <test_ulong+0x4b1>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_ulong>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xe9a(%rip),%r13
lea    0xf40(%rip),%rbp
mov    $0x397,%r8d
mov    $0x397,%r9d
mov    %r13,%rdi
mov    $0x95,%esi
mov    %rbp,%rdx
mov    %rbp,%rcx
call   1080 <test_ulong_eq@plt>
lea    0xe51(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %bl
lea    0xf26(%rip),%r15
mov    $0x397,%r8d
mov    $0x27fa,%r9d
mov    %r13,%rdi
mov    $0x96,%esi
mov    %rbp,%rdx
mov    %r15,%rcx
call   1080 <test_ulong_eq@plt>
lea    0xee2(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %bpl
and    %bl,%bpl
lea    0xf0b(%rip),%rdx
lea    0xf0b(%rip),%rcx
mov    $0x1ffe,%r8d
mov    $0x42,%r9d
mov    %r13,%rdi
mov    $0x97,%esi
call   1070 <test_ulong_ne@plt>
lea    0xec8(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %r12b
lea    0xef7(%rip),%rcx
mov    $0x293b,%r8d
mov    $0x293b,%r9d
mov    %r13,%rdi
mov    $0x98,%esi
mov    %rcx,%rdx
call   1070 <test_ulong_ne@plt>
lea    0xeb4(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %bl
and    %r12b,%bl
and    %bpl,%bl
lea    0xee3(%rip),%r12
mov    $0x27fa,%r8d
mov    $0xf4240,%r9d
mov    %r13,%rdi
mov    $0x99,%esi
mov    %r15,%rdx
mov    %r12,%rcx
call   1090 <test_ulong_lt@plt>
lea    0xe9b(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %bpl
mov    $0xf4240,%r8d
mov    $0x27fa,%r9d
mov    %r13,%rdi
mov    $0x9a,%esi
mov    %r12,%rdx
mov    %r15,%rcx
call   1090 <test_ulong_lt@plt>
lea    0xe8f(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %r14b
and    %bpl,%r14b
mov    $0x27fa,%r8d
mov    $0xf4240,%r9d
mov    %r13,%rdi
mov    $0x9b,%esi
mov    %r15,%rdx
mov    %r12,%rcx
call   1040 <test_ulong_le@plt>
lea    0xe79(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %bpl
and    %r14b,%bpl
and    %bl,%bpl
lea    0xe9e(%rip),%rcx
mov    $0x186a0,%r8d
mov    $0x186a0,%r9d
mov    %r13,%rdi
mov    $0x9c,%esi
mov    %rcx,%rdx
call   1040 <test_ulong_le@plt>
lea    0xe59(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %r14b
mov    $0xf4240,%r8d
mov    $0x27fa,%r9d
mov    %r13,%rdi
mov    $0x9d,%esi
mov    %r12,%rdx
mov    %r15,%rcx
call   1040 <test_ulong_le@plt>
lea    0xe4c(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %r15b
and    %r14b,%r15b
lea    0xe76(%rip),%rdx
lea    0xe7b(%rip),%r12
mov    $0x5f5e100,%r8d
mov    $0x16,%r9d
mov    %r13,%rdi
mov    $0x9e,%esi
mov    %rdx,%r14
mov    %r12,%rcx
call   1060 <test_ulong_gt@plt>
lea    0xe28(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %bl
and    %r15b,%bl
mov    $0x16,%r8d
mov    $0x5f5e100,%r9d
mov    %r13,%rdi
mov    $0x9f,%esi
mov    %r12,%rdx
mov    %r14,%r15
mov    %r14,%rcx
call   1060 <test_ulong_gt@plt>
lea    0xe1d(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %r14b
and    %bl,%r14b
and    %bpl,%r14b
mov    $0x5f5e100,%r8d
mov    $0x16,%r9d
mov    %r13,%rdi
mov    $0xa0,%esi
mov    %r15,%rdx
mov    %r12,%rcx
call   1030 <test_ulong_ge@plt>
lea    0xe03(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %bpl
mov    $0x293b,%r8d
mov    $0x293b,%r9d
mov    %r13,%rdi
mov    $0xa1,%esi
lea    0xcbe(%rip),%rcx
mov    %rcx,%rdx
call   1030 <test_ulong_ge@plt>
lea    0xde8(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %bl
and    %bpl,%bl
mov    $0x16,%r8d
mov    $0x5f5e100,%r9d
mov    %r13,%rdi
mov    $0xa2,%esi
mov    %r12,%rdx
mov    %r15,%rcx
call   1030 <test_ulong_ge@plt>
lea    0xdce(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1050 <test_case@plt>
test   %eax,%eax
setne  %al
and    %bl,%al
and    %r14b,%al
movzbl %al,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [28 x i8] c"TEST_ulong_eq(919ul, 919ul)\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 = [6 x i8] c"919ul\00"
@.str.3 = [30 x i8] c"TEST_ulong_eq(919ul, 10234ul)\00"
@.str.4 = [8 x i8] c"10234ul\00"
@.str.5 = [28 x i8] c"TEST_ulong_ne(8190ul, 66ul)\00"
@.str.6 = [7 x i8] c"8190ul\00"
@.str.7 = [5 x i8] c"66ul\00"
@.str.8 = [32 x i8] c"TEST_ulong_ne(10555ul, 10555ul)\00"
@.str.9 = [8 x i8] c"10555ul\00"
@.str.10 = [34 x i8] c"TEST_ulong_lt(10234ul, 1000000ul)\00"
@.str.11 = [10 x i8] c"1000000ul\00"
@.str.12 = [34 x i8] c"TEST_ulong_lt(1000000ul, 10234ul)\00"
@.str.13 = [34 x i8] c"TEST_ulong_le(10234ul, 1000000ul)\00"
@.str.14 = [34 x i8] c"TEST_ulong_le(100000ul, 100000ul)\00"
@.str.15 = [9 x i8] c"100000ul\00"
@.str.16 = [34 x i8] c"TEST_ulong_le(1000000ul, 10234ul)\00"
@.str.17 = [33 x i8] c"TEST_ulong_gt(100000000ul, 22ul)\00"
@.str.18 = [12 x i8] c"100000000ul\00"
@.str.19 = [5 x i8] c"22ul\00"
@.str.20 = [33 x i8] c"TEST_ulong_gt(22ul, 100000000ul)\00"
@.str.21 = [33 x i8] c"TEST_ulong_ge(100000000ul, 22ul)\00"
@.str.22 = [32 x i8] c"TEST_ulong_ge(10555ul, 10555ul)\00"
@.str.23 = [33 x i8] c"TEST_ulong_ge(22ul, 100000000ul)\00"
define i32 @test_ulong() {
%1 = alloca i32
%2 = call i32 @test_ulong_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 149, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i64 919, i64 919)
%3 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([28 x i8], [28 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_ulong_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 150, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i64 919, i64 10234)
%8 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([30 x i8], [30 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_ulong_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 151, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i64 8190, i64 66)
%14 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([28 x i8], [28 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_ulong_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 152, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i64 10555, i64 10555)
%20 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, 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_ulong_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 153, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i64 10234, i64 1000000)
%26 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.10, 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_ulong_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 154, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i64 1000000, i64 10234)
%32 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([34 x i8], [34 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_ulong_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 155, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i64 10234, i64 1000000)
%38 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([34 x i8], [34 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_ulong_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 156, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i64 100000, i64 100000)
%44 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([34 x i8], [34 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_ulong_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 157, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i64 1000000, i64 10234)
%50 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([34 x i8], [34 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_ulong_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 158, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i64 100000000, i64 22)
%56 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([33 x i8], [33 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_ulong_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 159, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i64 22, i64 100000000)
%62 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.20, 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_ulong_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 160, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i64 100000000, i64 22)
%68 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.21, 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_ulong_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 161, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i64 10555, i64 10555)
%74 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.22, 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_ulong_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 162, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i64 22, i64 100000000)
%80 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([33 x i8], [33 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 = [28 x i8] c"TEST_ulong_eq(919ul, 919ul)\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 = [6 x i8] c"919ul\00"
@.str.3 = [30 x i8] c"TEST_ulong_eq(919ul, 10234ul)\00"
@.str.4 = [8 x i8] c"10234ul\00"
@.str.5 = [28 x i8] c"TEST_ulong_ne(8190ul, 66ul)\00"
@.str.6 = [7 x i8] c"8190ul\00"
@.str.7 = [5 x i8] c"66ul\00"
@.str.8 = [32 x i8] c"TEST_ulong_ne(10555ul, 10555ul)\00"
@.str.9 = [8 x i8] c"10555ul\00"
@.str.10 = [34 x i8] c"TEST_ulong_lt(10234ul, 1000000ul)\00"
@.str.11 = [10 x i8] c"1000000ul\00"
@.str.12 = [34 x i8] c"TEST_ulong_lt(1000000ul, 10234ul)\00"
@.str.13 = [34 x i8] c"TEST_ulong_le(10234ul, 1000000ul)\00"
@.str.14 = [34 x i8] c"TEST_ulong_le(100000ul, 100000ul)\00"
@.str.15 = [9 x i8] c"100000ul\00"
@.str.16 = [34 x i8] c"TEST_ulong_le(1000000ul, 10234ul)\00"
@.str.17 = [33 x i8] c"TEST_ulong_gt(100000000ul, 22ul)\00"
@.str.18 = [12 x i8] c"100000000ul\00"
@.str.19 = [5 x i8] c"22ul\00"
@.str.20 = [33 x i8] c"TEST_ulong_gt(22ul, 100000000ul)\00"
@.str.21 = [33 x i8] c"TEST_ulong_ge(100000000ul, 22ul)\00"
@.str.22 = [32 x i8] c"TEST_ulong_ge(10555ul, 10555ul)\00"
@.str.23 = [33 x i8] c"TEST_ulong_ge(22ul, 100000000ul)\00"
define i32 @test_ulong() {
%1 = tail call i32 @test_ulong_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 149, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i64 919, i64 919)
%2 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = icmp eq i32 %2, 0
%4 = tail call i32 @test_ulong_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 150, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i64 919, i64 10234)
%5 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([30 x i8], [30 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_ulong_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 151, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i64 8190, i64 66)
%9 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([28 x i8], [28 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_ulong_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 152, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i64 10555, i64 10555)
%13 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i64 0, i64 0), i32 %12)
%14 = icmp eq i32 %13, 0
%15 = or i1 %11, %14
%16 = tail call i32 @test_ulong_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 153, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i64 10234, i64 1000000)
%17 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.10, i64 0, i64 0), i32 %16)
%18 = icmp eq i32 %17, 0
%19 = or i1 %15, %18
%20 = tail call i32 @test_ulong_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 154, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i64 1000000, i64 10234)
%21 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([34 x i8], [34 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_ulong_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 155, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i64 10234, i64 1000000)
%25 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([34 x i8], [34 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_ulong_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 156, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i64 100000, i64 100000)
%29 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([34 x i8], [34 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_ulong_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 157, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i64 1000000, i64 10234)
%33 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([34 x i8], [34 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_ulong_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 158, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i64 100000000, i64 22)
%37 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([33 x i8], [33 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_ulong_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 159, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i64 22, i64 100000000)
%41 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.20, i64 0, i64 0), i32 %40)
%42 = icmp eq i32 %41, 0
%43 = or i1 %39, %42
%44 = tail call i32 @test_ulong_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 160, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i64 100000000, i64 22)
%45 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.21, i64 0, i64 0), i32 %44)
%46 = icmp eq i32 %45, 0
%47 = or i1 %43, %46
%48 = tail call i32 @test_ulong_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 161, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), i64 10555, i64 10555)
%49 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.22, i64 0, i64 0), i32 %48)
%50 = icmp eq i32 %49, 0
%51 = or i1 %47, %50
%52 = tail call i32 @test_ulong_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 162, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.18, i64 0, i64 0), i64 22, i64 100000000)
%53 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([33 x i8], [33 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
}