#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_char_eq(char *, int, char *, char *, char, char);
int /*<<< orphan*/ test_char_ge(char *, int, char *, char *, char, char);
int /*<<< orphan*/ test_char_gt(char *, int, char *, char *, char, char);
int /*<<< orphan*/ test_char_le(char *, int, char *, char *, char, char);
int /*<<< orphan*/ test_char_lt(char *, int, char *, char *, char, char);
int /*<<< orphan*/ test_char_ne(char *, int, char *, char *, char, char);
int test_char(void) {
  if (!test_case(
          (1), "TEST_char_eq('a', 'a')",
          (test_char_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",
              80, "'a'", "'a'", 'a', 'a'))) |
      !test_case(
          (0), "TEST_char_eq('a', 'A')",
          (test_char_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",
              81, "'a'", "'A'", 'a', 'A'))) |
      !test_case(
          (1), "TEST_char_ne('a', 'c')",
          (test_char_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",
              82, "'a'", "'c'", 'a', 'c'))) |
      !test_case(
          (0), "TEST_char_ne('e', 'e')",
          (test_char_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",
              83, "'e'", "'e'", 'e', 'e'))) |
      !test_case(
          (1), "TEST_char_lt('i', 'x')",
          (test_char_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",
              84, "'i'", "'x'", 'i', 'x'))) |
      !test_case(
          (0), "TEST_char_lt('x', 'i')",
          (test_char_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",
              85, "'x'", "'i'", 'x', 'i'))) |
      !test_case(
          (1), "TEST_char_le('i', 'x')",
          (test_char_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",
              86, "'i'", "'x'", 'i', 'x'))) |
      !test_case(
          (1), "TEST_char_le('n', 'n')",
          (test_char_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",
              87, "'n'", "'n'", 'n', 'n'))) |
      !test_case(
          (0), "TEST_char_le('x', 'i')",
          (test_char_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",
              88, "'x'", "'i'", 'x', 'i'))) |
      !test_case(
          (1), "TEST_char_gt('w', 'n')",
          (test_char_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",
              89, "'w'", "'n'", 'w', 'n'))) |
      !test_case(
          (0), "TEST_char_gt('n', 'w')",
          (test_char_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",
              90, "'n'", "'w'", 'n', 'w'))) |
      !test_case(
          (1), "TEST_char_ge('w', 'n')",
          (test_char_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",
              91, "'w'", "'n'", 'w', 'n'))) |
      !test_case(
          (1), "TEST_char_ge('p', 'p')",
          (test_char_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",
              92, "'p'", "'p'", 'p', 'p'))) |
      !test_case(
          (0), "TEST_char_ge('n', 'w')",
          (test_char_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",
              93, "'n'", "'w'", 'n', 'w'))))
    goto err;
  return 1;
err:
  return 0;
}


x86 assembly (clang, -O0):
<test_char>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
lea    0xe98(%rip),%rdi
mov    $0x50,%esi
lea    0xf39(%rip),%rcx
mov    $0x61,%r9d
mov    %rcx,%rdx
mov    %r9d,%r8d
call   1090 <test_char_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    0xe51(%rip),%rdi
mov    $0x51,%esi
lea    0xef2(%rip),%rdx
lea    0xf06(%rip),%rcx
mov    $0x61,%r8d
mov    $0x41,%r9d
call   1090 <test_char_eq@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xed3(%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    0xdfd(%rip),%rdi
mov    $0x52,%esi
lea    0xe9e(%rip),%rdx
lea    0xecd(%rip),%rcx
mov    $0x61,%r8d
mov    $0x63,%r9d
call   1040 <test_char_ne@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xe97(%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    0xda6(%rip),%rdi
mov    $0x53,%esi
lea    0xe98(%rip),%rcx
mov    $0x65,%r9d
mov    %rcx,%rdx
mov    %r9d,%r8d
call   1040 <test_char_ne@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xe65(%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    0xd59(%rip),%rdi
mov    $0x54,%esi
lea    0xe66(%rip),%rdx
lea    0xe63(%rip),%rcx
mov    $0x69,%r8d
mov    $0x78,%r9d
call   1080 <test_char_lt@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xe29(%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    $0x55,%esi
lea    0xe13(%rip),%rdx
lea    0xe08(%rip),%rcx
mov    $0x78,%r8d
mov    $0x69,%r9d
call   1080 <test_char_lt@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xdf4(%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    0xcae(%rip),%rdi
mov    $0x56,%esi
lea    0xdbb(%rip),%rdx
lea    0xdb8(%rip),%rcx
mov    $0x69,%r8d
mov    $0x78,%r9d
call   1030 <test_char_le@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xdb4(%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    0xc57(%rip),%rdi
mov    $0x57,%esi
lea    0xdb1(%rip),%rcx
mov    $0x6e,%r9d
mov    %rcx,%rdx
mov    %r9d,%r8d
call   1030 <test_char_le@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xd7b(%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    0xc07(%rip),%rdi
mov    $0x58,%esi
lea    0xd18(%rip),%rdx
lea    0xd0d(%rip),%rcx
mov    $0x78,%r8d
mov    $0x69,%r9d
call   1030 <test_char_le@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xd42(%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    0xbb3(%rip),%rdi
mov    $0x59,%esi
lea    0xd3f(%rip),%rdx
lea    0xd06(%rip),%rcx
mov    $0x77,%r8d
mov    $0x6e,%r9d
call   1050 <test_char_gt@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xd02(%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    0xb5c(%rip),%rdi
mov    $0x5a,%esi
lea    0xcb6(%rip),%rdx
lea    0xce1(%rip),%rcx
mov    $0x6e,%r8d
mov    $0x77,%r9d
call   1050 <test_char_gt@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xcc9(%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    0xb08(%rip),%rdi
mov    $0x5b,%esi
lea    0xc94(%rip),%rdx
lea    0xc5b(%rip),%rcx
mov    $0x77,%r8d
mov    $0x6e,%r9d
call   1060 <test_char_ge@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xc89(%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    0xab1(%rip),%rdi
mov    $0x5c,%esi
lea    0xc86(%rip),%rcx
mov    $0x70,%r9d
mov    %rcx,%rdx
mov    %r9d,%r8d
call   1060 <test_char_ge@plt>
mov    %eax,%edx
mov    $0x1,%edi
lea    0xc50(%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    0xa61(%rip),%rdi
mov    $0x5d,%esi
lea    0xbbb(%rip),%rdx
lea    0xbe6(%rip),%rcx
mov    $0x6e,%r8d
mov    $0x77,%r9d
call   1060 <test_char_ge@plt>
mov    %eax,%edx
xor    %edi,%edi
lea    0xc17(%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     160e <test_char+0x49e>
jmp    161a <test_char+0x4aa>
movl   $0x1,-0x4(%rbp)
jmp    1621 <test_char+0x4b1>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_char>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xe95(%rip),%r13
lea    0xf3b(%rip),%r14
mov    %r13,%rdi
mov    $0x50,%esi
mov    %r14,%rdx
mov    %r14,%rcx
mov    $0x61,%r8d
mov    $0x61,%r9d
call   1090 <test_char_eq@plt>
lea    0xe51(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bl
lea    0xf18(%rip),%rcx
mov    %r13,%rdi
mov    $0x51,%esi
mov    %r14,%rdx
mov    $0x61,%r8d
mov    $0x41,%r9d
call   1090 <test_char_eq@plt>
lea    0xede(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bpl
and    %bl,%bpl
lea    0xef7(%rip),%rcx
mov    %r13,%rdi
mov    $0x52,%esi
mov    %r14,%rdx
mov    $0x61,%r8d
mov    $0x63,%r9d
call   1040 <test_char_ne@plt>
lea    0xebd(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %r14b
lea    0xed6(%rip),%rcx
mov    %r13,%rdi
mov    $0x53,%esi
mov    %rcx,%rdx
mov    $0x65,%r8d
mov    $0x65,%r9d
call   1040 <test_char_ne@plt>
lea    0xe9c(%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    0xeb2(%rip),%r14
lea    0xeaf(%rip),%r12
mov    %r13,%rdi
mov    $0x54,%esi
mov    %r14,%rdx
mov    %r12,%rcx
mov    $0x69,%r8d
mov    $0x78,%r9d
call   1080 <test_char_lt@plt>
lea    0xe6e(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bpl
mov    %r13,%rdi
mov    $0x55,%esi
mov    %r12,%rdx
mov    %r14,%rcx
mov    $0x78,%r8d
mov    $0x69,%r9d
call   1080 <test_char_lt@plt>
lea    0xe55(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bl
and    %bpl,%bl
mov    %r13,%rdi
mov    $0x56,%esi
mov    %r14,%rdx
mov    %r12,%rcx
mov    $0x69,%r8d
mov    $0x78,%r9d
call   1030 <test_char_le@plt>
lea    0xe35(%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    0xe44(%rip),%r14
mov    %r13,%rdi
mov    $0x57,%esi
mov    %r14,%rdx
mov    %r14,%rcx
mov    $0x6e,%r8d
mov    $0x6e,%r9d
call   1030 <test_char_le@plt>
lea    0xe07(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %r15b
mov    %r13,%rdi
mov    $0x58,%esi
mov    %r12,%rdx
lea    0xdad(%rip),%rcx
mov    $0x78,%r8d
mov    $0x69,%r9d
call   1030 <test_char_le@plt>
lea    0xde6(%rip),%rsi
xor    %edi,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %r12b
and    %r15b,%r12b
lea    0xdfb(%rip),%r15
mov    %r13,%rdi
mov    $0x59,%esi
mov    %r15,%rdx
mov    %r14,%rcx
mov    $0x77,%r8d
mov    $0x6e,%r9d
call   1050 <test_char_gt@plt>
lea    0xdbe(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bl
and    %r12b,%bl
mov    %r13,%rdi
mov    $0x5a,%esi
mov    %r14,%rdx
mov    %r15,%rcx
mov    $0x6e,%r8d
mov    $0x77,%r9d
call   1050 <test_char_gt@plt>
lea    0xd9f(%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    %r13,%rdi
mov    $0x5b,%esi
mov    %r15,%rdx
mov    %r14,%rcx
mov    $0x77,%r8d
mov    $0x6e,%r9d
call   1060 <test_char_ge@plt>
lea    0xd7b(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bpl
lea    0xd90(%rip),%rcx
mov    %r13,%rdi
mov    $0x5c,%esi
mov    %rcx,%rdx
mov    $0x70,%r8d
mov    $0x70,%r9d
call   1060 <test_char_ge@plt>
lea    0xd56(%rip),%rsi
mov    $0x1,%edi
mov    %eax,%edx
call   1070 <test_case@plt>
test   %eax,%eax
setne  %bl
and    %bpl,%bl
mov    %r13,%rdi
mov    $0x5d,%esi
mov    %r14,%rdx
mov    %r15,%rcx
mov    $0x6e,%r8d
mov    $0x77,%r9d
call   1060 <test_char_ge@plt>
lea    0xd37(%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 = [23 x i8] c"TEST_char_eq('a', 'a')\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 = [4 x i8] c"'a'\00"
@.str.3 = [23 x i8] c"TEST_char_eq('a', 'A')\00"
@.str.4 = [4 x i8] c"'A'\00"
@.str.5 = [23 x i8] c"TEST_char_ne('a', 'c')\00"
@.str.6 = [4 x i8] c"'c'\00"
@.str.7 = [23 x i8] c"TEST_char_ne('e', 'e')\00"
@.str.8 = [4 x i8] c"'e'\00"
@.str.9 = [23 x i8] c"TEST_char_lt('i', 'x')\00"
@.str.10 = [4 x i8] c"'i'\00"
@.str.11 = [4 x i8] c"'x'\00"
@.str.12 = [23 x i8] c"TEST_char_lt('x', 'i')\00"
@.str.13 = [23 x i8] c"TEST_char_le('i', 'x')\00"
@.str.14 = [23 x i8] c"TEST_char_le('n', 'n')\00"
@.str.15 = [4 x i8] c"'n'\00"
@.str.16 = [23 x i8] c"TEST_char_le('x', 'i')\00"
@.str.17 = [23 x i8] c"TEST_char_gt('w', 'n')\00"
@.str.18 = [4 x i8] c"'w'\00"
@.str.19 = [23 x i8] c"TEST_char_gt('n', 'w')\00"
@.str.20 = [23 x i8] c"TEST_char_ge('w', 'n')\00"
@.str.21 = [23 x i8] c"TEST_char_ge('p', 'p')\00"
@.str.22 = [4 x i8] c"'p'\00"
@.str.23 = [23 x i8] c"TEST_char_ge('n', 'w')\00"
define i32 @test_char() {
%1 = alloca i32
%2 = call i32 @test_char_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 80, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8 signext 97, i8 signext 97)
%3 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 81, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8 signext 97, i8 signext 65)
%8 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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_char_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 82, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8 signext 97, i8 signext 99)
%14 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 83, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8 signext 101, i8 signext 101)
%20 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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_char_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 84, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8 signext 105, i8 signext 120)
%26 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 85, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8 signext 120, i8 signext 105)
%32 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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_char_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 86, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8 signext 105, i8 signext 120)
%38 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 87, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8 signext 110, i8 signext 110)
%44 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 88, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8 signext 120, i8 signext 105)
%50 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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_char_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 89, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8 signext 119, i8 signext 110)
%56 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 90, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8 signext 110, i8 signext 119)
%62 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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_char_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 91, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8 signext 119, i8 signext 110)
%68 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 92, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0), i8 signext 112, i8 signext 112)
%74 = call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 93, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8 signext 110, i8 signext 119)
%80 = call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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 = [23 x i8] c"TEST_char_eq('a', 'a')\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 = [4 x i8] c"'a'\00"
@.str.3 = [23 x i8] c"TEST_char_eq('a', 'A')\00"
@.str.4 = [4 x i8] c"'A'\00"
@.str.5 = [23 x i8] c"TEST_char_ne('a', 'c')\00"
@.str.6 = [4 x i8] c"'c'\00"
@.str.7 = [23 x i8] c"TEST_char_ne('e', 'e')\00"
@.str.8 = [4 x i8] c"'e'\00"
@.str.9 = [23 x i8] c"TEST_char_lt('i', 'x')\00"
@.str.10 = [4 x i8] c"'i'\00"
@.str.11 = [4 x i8] c"'x'\00"
@.str.12 = [23 x i8] c"TEST_char_lt('x', 'i')\00"
@.str.13 = [23 x i8] c"TEST_char_le('i', 'x')\00"
@.str.14 = [23 x i8] c"TEST_char_le('n', 'n')\00"
@.str.15 = [4 x i8] c"'n'\00"
@.str.16 = [23 x i8] c"TEST_char_le('x', 'i')\00"
@.str.17 = [23 x i8] c"TEST_char_gt('w', 'n')\00"
@.str.18 = [4 x i8] c"'w'\00"
@.str.19 = [23 x i8] c"TEST_char_gt('n', 'w')\00"
@.str.20 = [23 x i8] c"TEST_char_ge('w', 'n')\00"
@.str.21 = [23 x i8] c"TEST_char_ge('p', 'p')\00"
@.str.22 = [4 x i8] c"'p'\00"
@.str.23 = [23 x i8] c"TEST_char_ge('n', 'w')\00"
define i32 @test_char() {
%1 = tail call i32 @test_char_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 80, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8 signext 97, i8 signext 97)
%2 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = icmp eq i32 %2, 0
%4 = tail call i32 @test_char_eq(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 81, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i8 signext 97, i8 signext 65)
%5 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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_char_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 82, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8 signext 97, i8 signext 99)
%9 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_ne(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 83, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8 signext 101, i8 signext 101)
%13 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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_char_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 84, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8 signext 105, i8 signext 120)
%17 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_lt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 85, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8 signext 120, i8 signext 105)
%21 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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_char_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 86, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8 signext 105, i8 signext 120)
%25 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 87, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8 signext 110, i8 signext 110)
%29 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_le(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 88, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i8 signext 120, i8 signext 105)
%33 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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_char_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 89, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8 signext 119, i8 signext 110)
%37 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_gt(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 90, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8 signext 110, i8 signext 119)
%41 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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_char_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 91, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8 signext 119, i8 signext 110)
%45 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 92, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0), i8 signext 112, i8 signext 112)
%49 = tail call i32 @test_case(i32 1, i8* getelementptr inbounds ([23 x i8], [23 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_char_ge(i8* getelementptr inbounds ([173 x i8], [173 x i8]* @.str.1, i64 0, i64 0), i32 93, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8 signext 110, i8 signext 119)
%53 = tail call i32 @test_case(i32 0, i8* getelementptr inbounds ([23 x i8], [23 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
}