#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*/ fail(char *);
scalar_t__ isalnum(int);
scalar_t__ isalpha(int);
scalar_t__ iscntrl(int);
scalar_t__ isdigit(int);
scalar_t__ isgraph(int);
scalar_t__ islower(int);
scalar_t__ isprint(int);
scalar_t__ ispunct(int);
scalar_t__ isspace(int);
scalar_t__ isupper(int);
scalar_t__ isxdigit(int);
int /*<<< orphan*/ pr(char *);
int /*<<< orphan*/ strcat(char *, char *);
char *strchr(char *, int);
int /*<<< orphan*/ strcpy(char *, char *);
char *strrchr(char *, char);
int tolower(int);
int toupper(int);
scalar_t__ xstrchr(char *, int);
void test_chrfn(void) {
  char *c1, *p1;
  int c;
  char *num, *low, *upc, *gra, *wsp, *pun;
  char alpha[128], alnum[128], xnum[128];
  pr("strchr");
  c1 = "...............X1..............X2";
  p1 = strchr(c1, 'X');
  if (!p1 || *p1 != 'X' || p1[1] != '1')
    fail("strchr-1");
  if (strchr(c1, 'Z'))
    fail("strchr-2");
  pr("strrchr");
  p1 = strrchr(c1, 'X');
  if (!p1 || *p1 != 'X' || p1[1] != '2')
    fail("strrchr-1");
  if (strrchr(c1, 'Z'))
    fail("strchr-2");
  pr("is*");
  num = "0123456789";
  low = "abcdefghijklmnopqrstuvwxyz";
  upc = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  wsp = "\t\v\f\n\r ";
  pun = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";
  strcpy(alpha, low);
  strcat(alpha, upc);
  strcpy(alnum, alpha);
  strcat(alnum, num);
  strcpy(xnum, num);
  strcat(xnum, "abcdefABCDEF");
  for (c = 0; c < 128; c++) {
    if (isalnum(c) && !strchr(alnum, c))
      fail("isalnum-1");
    if (isalpha(c) && !strchr(alpha, c))
      fail("isalpha-1");
    if (iscntrl(c) && c > 31 && c < 127)
      fail("iscrntl-1");
    if (isdigit(c) && !strchr(num, c))
      fail("isdigit-1");
    if (isgraph(c) && c < 33 && c > 126)
      fail("isgraph-1");
    if (islower(c) && !strchr(low, c))
      fail("islower-1");
    if (isprint(c) && (c < 32 || c > 126))
      fail("isprint-1");
    if (ispunct(c) && !strchr(pun, c))
      fail("ispunct-1");
    if (isspace(c) && !strchr(wsp, c))
      fail("isspace-1");
    if (isupper(c) && !strchr(upc, c))
      fail("isupper-1");
    if (isxdigit(c) && !strchr(xnum, c))
      fail("isxdigit-1");
    if (!isalnum(c) && xstrchr(alnum, c))
      fail("isalnum-2");
    if (!isalpha(c) && xstrchr(alpha, c))
      fail("isalpha-2");
    if (!iscntrl(c) && (c < 32 || c > 126))
      fail("iscrntl-2");
    if (!isdigit(c) && xstrchr(num, c))
      fail("isdigit-2");
    if (!isgraph(c) && c > 32 && c < 127)
      fail("isgraph-2");
    if (!islower(c) && xstrchr(low, c))
      fail("islower-2");
    if (!isprint(c) && c > 31 && c < 127)
      fail("isprint-2");
    if (!ispunct(c) && xstrchr(pun, c))
      fail("ispunct-2");
    if (!isspace(c) && xstrchr(wsp, c))
      fail("isspace-2");
    if (!isupper(c) && xstrchr(upc, c))
      fail("isupper-2");
    if (!isxdigit(c) && xstrchr(xnum, c))
      fail("isxdigit-2");
    if (isupper(c) && !islower(tolower(c)))
      fail("tolower-1");
    if (islower(c) && tolower(toupper(c)) != c)
      fail("tolower-2");
    if (islower(c) && !isupper(toupper(c)))
      fail("toupper-1");
    if (isupper(c) && toupper(tolower(c)) != c)
      fail("toupper-2");
  }
}


x86 assembly (clang, -O0):
<test_chrfn>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1d0,%rsp
lea    0xdae(%rip),%rdi
call   10c0 <pr@plt>
lea    0xda9(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
mov    $0x58,%esi
call   1090 <strchr@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     12a0 <test_chrfn+0x60>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x58,%eax
jne    12a0 <test_chrfn+0x60>
mov    -0x10(%rbp),%rax
movsbl 0x1(%rax),%eax
cmp    $0x31,%eax
je     12ac <test_chrfn+0x6c>
lea    0xd82(%rip),%rdi
call   1070 <fail@plt>
mov    -0x8(%rbp),%rdi
mov    $0x5a,%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
je     12d0 <test_chrfn+0x90>
lea    0xd67(%rip),%rdi
call   1070 <fail@plt>
lea    0xd64(%rip),%rdi
call   10c0 <pr@plt>
mov    -0x8(%rbp),%rdi
mov    $0x58,%esi
call   10b0 <strrchr@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     131a <test_chrfn+0xda>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x58,%eax
jne    131a <test_chrfn+0xda>
mov    -0x10(%rbp),%rax
movsbl 0x1(%rax),%eax
cmp    $0x32,%eax
je     1326 <test_chrfn+0xe6>
lea    0xd22(%rip),%rdi
call   1070 <fail@plt>
mov    -0x8(%rbp),%rdi
mov    $0x5a,%esi
call   10b0 <strrchr@plt>
cmp    $0x0,%rax
je     134a <test_chrfn+0x10a>
lea    0xced(%rip),%rdi
call   1070 <fail@plt>
lea    0xcfc(%rip),%rdi
call   10c0 <pr@plt>
lea    0xcf4(%rip),%rax
mov    %rax,-0x20(%rbp)
lea    0xcf4(%rip),%rax
mov    %rax,-0x28(%rbp)
lea    0xd04(%rip),%rax
mov    %rax,-0x30(%rbp)
lea    0xd14(%rip),%rax
mov    %rax,-0x40(%rbp)
lea    0xd10(%rip),%rax
mov    %rax,-0x48(%rbp)
lea    -0xd0(%rbp),%rdi
mov    -0x28(%rbp),%rsi
call   1040 <strcpy@plt>
lea    -0xd0(%rbp),%rdi
mov    -0x30(%rbp),%rsi
call   1140 <strcat@plt>
lea    -0x150(%rbp),%rdi
lea    -0xd0(%rbp),%rsi
call   1040 <strcpy@plt>
lea    -0x150(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1140 <strcat@plt>
lea    -0x1d0(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1040 <strcpy@plt>
lea    -0x1d0(%rbp),%rdi
lea    0xccc(%rip),%rsi
call   1140 <strcat@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x80,-0x14(%rbp)
jge    1972 <test_chrfn+0x732>
mov    -0x14(%rbp),%edi
call   10a0 <isalnum@plt>
cmp    $0x0,%rax
je     143e <test_chrfn+0x1fe>
lea    -0x150(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
jne    143e <test_chrfn+0x1fe>
lea    0xc8e(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1110 <isalpha@plt>
cmp    $0x0,%rax
je     1475 <test_chrfn+0x235>
lea    -0xd0(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
jne    1475 <test_chrfn+0x235>
lea    0xc61(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1080 <iscntrl@plt>
cmp    $0x0,%rax
je     14a7 <test_chrfn+0x267>
cmpl   $0x1f,-0x14(%rbp)
jle    14a7 <test_chrfn+0x267>
cmpl   $0x7f,-0x14(%rbp)
jge    14a7 <test_chrfn+0x267>
lea    0xc39(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
je     14db <test_chrfn+0x29b>
mov    -0x20(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
jne    14db <test_chrfn+0x29b>
lea    0xc0f(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1160 <isgraph@plt>
cmp    $0x0,%rax
je     150d <test_chrfn+0x2cd>
cmpl   $0x21,-0x14(%rbp)
jge    150d <test_chrfn+0x2cd>
cmpl   $0x7e,-0x14(%rbp)
jle    150d <test_chrfn+0x2cd>
lea    0xbe7(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1050 <islower@plt>
cmp    $0x0,%rax
je     1541 <test_chrfn+0x301>
mov    -0x28(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
jne    1541 <test_chrfn+0x301>
lea    0xbbd(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1130 <isprint@plt>
cmp    $0x0,%rax
je     1573 <test_chrfn+0x333>
cmpl   $0x20,-0x14(%rbp)
jl     1567 <test_chrfn+0x327>
cmpl   $0x7e,-0x14(%rbp)
jle    1573 <test_chrfn+0x333>
lea    0xb95(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   10d0 <ispunct@plt>
cmp    $0x0,%rax
je     15a7 <test_chrfn+0x367>
mov    -0x48(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
jne    15a7 <test_chrfn+0x367>
lea    0xb6b(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   10e0 <isspace@plt>
cmp    $0x0,%rax
je     15db <test_chrfn+0x39b>
mov    -0x40(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
jne    15db <test_chrfn+0x39b>
lea    0xb41(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1120 <isupper@plt>
cmp    $0x0,%rax
je     160f <test_chrfn+0x3cf>
mov    -0x30(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
jne    160f <test_chrfn+0x3cf>
lea    0xb17(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1150 <isxdigit@plt>
cmp    $0x0,%rax
je     1646 <test_chrfn+0x406>
lea    -0x1d0(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1090 <strchr@plt>
cmp    $0x0,%rax
jne    1646 <test_chrfn+0x406>
lea    0xaea(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   10a0 <isalnum@plt>
cmp    $0x0,%rax
jne    167d <test_chrfn+0x43d>
lea    -0x150(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10f0 <xstrchr@plt>
cmp    $0x0,%rax
je     167d <test_chrfn+0x43d>
lea    0xabe(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1110 <isalpha@plt>
cmp    $0x0,%rax
jne    16b4 <test_chrfn+0x474>
lea    -0xd0(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10f0 <xstrchr@plt>
cmp    $0x0,%rax
je     16b4 <test_chrfn+0x474>
lea    0xa91(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1080 <iscntrl@plt>
cmp    $0x0,%rax
jne    16e6 <test_chrfn+0x4a6>
cmpl   $0x20,-0x14(%rbp)
jl     16da <test_chrfn+0x49a>
cmpl   $0x7e,-0x14(%rbp)
jle    16e6 <test_chrfn+0x4a6>
lea    0xa69(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1030 <isdigit@plt>
cmp    $0x0,%rax
jne    171a <test_chrfn+0x4da>
mov    -0x20(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10f0 <xstrchr@plt>
cmp    $0x0,%rax
je     171a <test_chrfn+0x4da>
lea    0xa3f(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1160 <isgraph@plt>
cmp    $0x0,%rax
jne    174c <test_chrfn+0x50c>
cmpl   $0x20,-0x14(%rbp)
jle    174c <test_chrfn+0x50c>
cmpl   $0x7f,-0x14(%rbp)
jge    174c <test_chrfn+0x50c>
lea    0xa17(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1050 <islower@plt>
cmp    $0x0,%rax
jne    1780 <test_chrfn+0x540>
mov    -0x28(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10f0 <xstrchr@plt>
cmp    $0x0,%rax
je     1780 <test_chrfn+0x540>
lea    0x9ed(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1130 <isprint@plt>
cmp    $0x0,%rax
jne    17b2 <test_chrfn+0x572>
cmpl   $0x1f,-0x14(%rbp)
jle    17b2 <test_chrfn+0x572>
cmpl   $0x7f,-0x14(%rbp)
jge    17b2 <test_chrfn+0x572>
lea    0x9c5(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   10d0 <ispunct@plt>
cmp    $0x0,%rax
jne    17e6 <test_chrfn+0x5a6>
mov    -0x48(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10f0 <xstrchr@plt>
cmp    $0x0,%rax
je     17e6 <test_chrfn+0x5a6>
lea    0x99b(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   10e0 <isspace@plt>
cmp    $0x0,%rax
jne    181a <test_chrfn+0x5da>
mov    -0x40(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10f0 <xstrchr@plt>
cmp    $0x0,%rax
je     181a <test_chrfn+0x5da>
lea    0x971(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1120 <isupper@plt>
cmp    $0x0,%rax
jne    184e <test_chrfn+0x60e>
mov    -0x30(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10f0 <xstrchr@plt>
cmp    $0x0,%rax
je     184e <test_chrfn+0x60e>
lea    0x947(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1150 <isxdigit@plt>
cmp    $0x0,%rax
jne    1885 <test_chrfn+0x645>
lea    -0x1d0(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10f0 <xstrchr@plt>
cmp    $0x0,%rax
je     1885 <test_chrfn+0x645>
lea    0x91a(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1120 <isupper@plt>
cmp    $0x0,%rax
je     18bc <test_chrfn+0x67c>
mov    -0x14(%rbp),%edi
call   1100 <tolower@plt>
mov    %eax,%edi
call   1050 <islower@plt>
cmp    $0x0,%rax
jne    18bc <test_chrfn+0x67c>
lea    0x8ee(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1050 <islower@plt>
cmp    $0x0,%rax
je     18f2 <test_chrfn+0x6b2>
mov    -0x14(%rbp),%edi
call   1060 <toupper@plt>
mov    %eax,%edi
call   1100 <tolower@plt>
cmp    -0x14(%rbp),%eax
je     18f2 <test_chrfn+0x6b2>
lea    0x8c2(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1050 <islower@plt>
cmp    $0x0,%rax
je     1929 <test_chrfn+0x6e9>
mov    -0x14(%rbp),%edi
call   1060 <toupper@plt>
mov    %eax,%edi
call   1120 <isupper@plt>
cmp    $0x0,%rax
jne    1929 <test_chrfn+0x6e9>
lea    0x895(%rip),%rdi
call   1070 <fail@plt>
mov    -0x14(%rbp),%edi
call   1120 <isupper@plt>
cmp    $0x0,%rax
je     195f <test_chrfn+0x71f>
mov    -0x14(%rbp),%edi
call   1100 <tolower@plt>
mov    %eax,%edi
call   1060 <toupper@plt>
cmp    -0x14(%rbp),%eax
je     195f <test_chrfn+0x71f>
lea    0x869(%rip),%rdi
call   1070 <fail@plt>
jmp    1964 <test_chrfn+0x724>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    13fa <test_chrfn+0x1ba>
add    $0x1d0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_chrfn>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x188,%rsp
lea    0xda8(%rip),%rdi
call   10b0 <pr@plt>
lea    0xda3(%rip),%rdi
call   10b0 <pr@plt>
lea    0xd9f(%rip),%rdi
call   10b0 <pr@plt>
lea    0xda2(%rip),%rsi
lea    0x100(%rsp),%r14
mov    %r14,%rdi
call   1040 <strcpy@plt>
lea    0xda6(%rip),%rsi
mov    %r14,%rdi
call   1140 <strcat@plt>
mov    %rsp,%rbp
mov    %rbp,%rdi
mov    %r14,%rsi
call   1040 <strcpy@plt>
lea    0xd63(%rip),%rbx
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1140 <strcat@plt>
lea    0x80(%rsp),%rbp
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %r14,%rbx
call   1040 <strcpy@plt>
lea    0xda4(%rip),%rsi
mov    %rbp,%rdi
call   1140 <strcat@plt>
mov    $0xffffffdf,%r15d
xor    %r13d,%r13d
jmp    1301 <test_chrfn+0xc1>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r13
cmp    $0x80,%r13
je     1753 <test_chrfn+0x513>
mov    %r15d,%r14d
mov    %r13d,%edi
call   10a0 <isalnum@plt>
test   %rax,%rax
je     132d <test_chrfn+0xed>
mov    %rsp,%rdi
mov    %r13d,%esi
call   1090 <strchr@plt>
test   %rax,%rax
jne    132d <test_chrfn+0xed>
lea    0xd61(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1110 <isalpha@plt>
test   %rax,%rax
je     1356 <test_chrfn+0x116>
mov    %rbx,%rdi
mov    %r13d,%esi
call   1090 <strchr@plt>
test   %rax,%rax
jne    1356 <test_chrfn+0x116>
lea    0xd42(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1080 <iscntrl@plt>
lea    0x1(%r14),%r15d
cmp    $0x5e,%r15d
ja     1379 <test_chrfn+0x139>
test   %rax,%rax
je     1379 <test_chrfn+0x139>
lea    0xd29(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1030 <isdigit@plt>
test   %rax,%rax
je     13b2 <test_chrfn+0x172>
mov    $0x1,%eax
mov    %r13d,%ecx
shl    %cl,%rax
cmp    $0x3f,%r13
ja     13a6 <test_chrfn+0x166>
movabs $0x3ff000000000001,%rcx
and    %rcx,%rax
jne    13b2 <test_chrfn+0x172>
lea    0xcfa(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1160 <isgraph@plt>
mov    %r13d,%edi
call   1050 <islower@plt>
test   %rax,%rax
je     13ec <test_chrfn+0x1ac>
mov    $0x1b,%edx
lea    0xc4b(%rip),%rdi
mov    %r13d,%esi
call   10e0 <memchr@plt>
test   %rax,%rax
jne    13ec <test_chrfn+0x1ac>
lea    0xcca(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1130 <isprint@plt>
lea    -0x5e(%r14),%r12d
test   %rax,%rax
je     140f <test_chrfn+0x1cf>
cmp    $0xffffffa0,%r12d
ja     140f <test_chrfn+0x1cf>
lea    0xcb1(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   10c0 <ispunct@plt>
test   %rax,%rax
je     1441 <test_chrfn+0x201>
mov    $0x21,%edx
lea    0xc33(%rip),%rdi
mov    %r13d,%esi
call   10e0 <memchr@plt>
test   %rax,%rax
jne    1441 <test_chrfn+0x201>
lea    0xc89(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   10d0 <isspace@plt>
test   %rax,%rax
je     147a <test_chrfn+0x23a>
mov    $0x1,%eax
mov    %r13d,%ecx
shl    %cl,%rax
cmp    $0x3f,%r13
ja     146e <test_chrfn+0x22e>
movabs $0x100003e01,%rcx
and    %rcx,%rax
jne    147a <test_chrfn+0x23a>
lea    0xc5a(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1120 <isupper@plt>
test   %rax,%rax
je     14ac <test_chrfn+0x26c>
mov    $0x1b,%edx
lea    0xba6(%rip),%rdi
mov    %r13d,%esi
call   10e0 <memchr@plt>
test   %rax,%rax
jne    14ac <test_chrfn+0x26c>
lea    0xc32(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1150 <isxdigit@plt>
test   %rax,%rax
je     14d5 <test_chrfn+0x295>
mov    %rbp,%rdi
mov    %r13d,%esi
call   1090 <strchr@plt>
test   %rax,%rax
jne    14d5 <test_chrfn+0x295>
lea    0xc13(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   10a0 <isalnum@plt>
test   %rax,%rax
jne    14fe <test_chrfn+0x2be>
mov    %rsp,%rdi
mov    %r13d,%esi
call   10f0 <xstrchr@plt>
test   %rax,%rax
je     14fe <test_chrfn+0x2be>
lea    0xbf5(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1110 <isalpha@plt>
test   %rax,%rax
jne    1527 <test_chrfn+0x2e7>
mov    %rbx,%rdi
mov    %r13d,%esi
call   10f0 <xstrchr@plt>
test   %rax,%rax
je     1527 <test_chrfn+0x2e7>
lea    0xbd6(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1080 <iscntrl@plt>
test   %rax,%rax
jne    1546 <test_chrfn+0x306>
cmp    $0xffffffa0,%r12d
ja     1546 <test_chrfn+0x306>
lea    0xbc1(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1030 <isdigit@plt>
test   %rax,%rax
jne    1573 <test_chrfn+0x333>
lea    0xab9(%rip),%rdi
mov    %r13d,%esi
call   10f0 <xstrchr@plt>
test   %rax,%rax
je     1573 <test_chrfn+0x333>
lea    0xb9e(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1160 <isgraph@plt>
cmp    $0x5d,%r14d
ja     1592 <test_chrfn+0x352>
test   %rax,%rax
jne    1592 <test_chrfn+0x352>
lea    0xb89(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1050 <islower@plt>
test   %rax,%rax
jne    15bf <test_chrfn+0x37f>
lea    0xa78(%rip),%rdi
mov    %r13d,%esi
call   10f0 <xstrchr@plt>
test   %rax,%rax
je     15bf <test_chrfn+0x37f>
lea    0xb66(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1130 <isprint@plt>
cmp    $0x5e,%r15d
ja     15de <test_chrfn+0x39e>
test   %rax,%rax
jne    15de <test_chrfn+0x39e>
lea    0xb51(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   10c0 <ispunct@plt>
test   %rax,%rax
jne    160b <test_chrfn+0x3cb>
lea    0xa69(%rip),%rdi
mov    %r13d,%esi
call   10f0 <xstrchr@plt>
test   %rax,%rax
je     160b <test_chrfn+0x3cb>
lea    0xb2e(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   10d0 <isspace@plt>
test   %rax,%rax
jne    1638 <test_chrfn+0x3f8>
lea    0xa35(%rip),%rdi
mov    %r13d,%esi
call   10f0 <xstrchr@plt>
test   %rax,%rax
je     1638 <test_chrfn+0x3f8>
lea    0xb0b(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1120 <isupper@plt>
test   %rax,%rax
jne    1665 <test_chrfn+0x425>
lea    0x9ed(%rip),%rdi
mov    %r13d,%esi
call   10f0 <xstrchr@plt>
test   %rax,%rax
je     1665 <test_chrfn+0x425>
lea    0xae8(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1150 <isxdigit@plt>
test   %rax,%rax
jne    168e <test_chrfn+0x44e>
mov    %rbp,%rdi
mov    %r13d,%esi
call   10f0 <xstrchr@plt>
test   %rax,%rax
je     168e <test_chrfn+0x44e>
lea    0xac9(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1120 <isupper@plt>
test   %rax,%rax
je     16bb <test_chrfn+0x47b>
mov    %r13d,%edi
call   1100 <tolower@plt>
mov    %eax,%edi
call   1050 <islower@plt>
test   %rax,%rax
jne    16bb <test_chrfn+0x47b>
lea    0xaa7(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1050 <islower@plt>
test   %rax,%rax
je     16ea <test_chrfn+0x4aa>
mov    %r13d,%edi
call   1060 <toupper@plt>
mov    %eax,%edi
call   1100 <tolower@plt>
mov    %eax,%eax
cmp    %rax,%r13
je     16ea <test_chrfn+0x4aa>
lea    0xa82(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1050 <islower@plt>
test   %rax,%rax
je     1717 <test_chrfn+0x4d7>
mov    %r13d,%edi
call   1060 <toupper@plt>
mov    %eax,%edi
call   1120 <isupper@plt>
test   %rax,%rax
jne    1717 <test_chrfn+0x4d7>
lea    0xa5f(%rip),%rdi
call   1070 <fail@plt>
mov    %r13d,%edi
call   1120 <isupper@plt>
test   %rax,%rax
je     12f0 <test_chrfn+0xb0>
mov    %r13d,%edi
call   1100 <tolower@plt>
mov    %eax,%edi
call   1060 <toupper@plt>
mov    %eax,%eax
cmp    %rax,%r13
je     12f0 <test_chrfn+0xb0>
lea    0xa32(%rip),%rdi
call   1070 <fail@plt>
jmp    12f0 <test_chrfn+0xb0>
add    $0x188,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"strchr\00"
@.str.1 = [34 x i8] c"...............X1..............X2\00"
@.str.2 = [9 x i8] c"strchr-1\00"
@.str.3 = [9 x i8] c"strchr-2\00"
@.str.4 = [8 x i8] c"strrchr\00"
@.str.5 = [10 x i8] c"strrchr-1\00"
@.str.6 = [4 x i8] c"is*\00"
@.str.7 = [11 x i8] c"0123456789\00"
@.str.8 = [27 x i8] c"abcdefghijklmnopqrstuvwxyz\00"
@.str.9 = [27 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ\00"
@.str.10 = [7 x i8] c"\09\0B\0C\0A\0D \00"
@.str.11 = [33 x i8] c"!\22#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\00"
@.str.12 = [13 x i8] c"abcdefABCDEF\00"
@.str.13 = [10 x i8] c"isalnum-1\00"
@.str.14 = [10 x i8] c"isalpha-1\00"
@.str.15 = [10 x i8] c"iscrntl-1\00"
@.str.16 = [10 x i8] c"isdigit-1\00"
@.str.17 = [10 x i8] c"isgraph-1\00"
@.str.18 = [10 x i8] c"islower-1\00"
@.str.19 = [10 x i8] c"isprint-1\00"
@.str.20 = [10 x i8] c"ispunct-1\00"
@.str.21 = [10 x i8] c"isspace-1\00"
@.str.22 = [10 x i8] c"isupper-1\00"
@.str.23 = [11 x i8] c"isxdigit-1\00"
@.str.24 = [10 x i8] c"isalnum-2\00"
@.str.25 = [10 x i8] c"isalpha-2\00"
@.str.26 = [10 x i8] c"iscrntl-2\00"
@.str.27 = [10 x i8] c"isdigit-2\00"
@.str.28 = [10 x i8] c"isgraph-2\00"
@.str.29 = [10 x i8] c"islower-2\00"
@.str.30 = [10 x i8] c"isprint-2\00"
@.str.31 = [10 x i8] c"ispunct-2\00"
@.str.32 = [10 x i8] c"isspace-2\00"
@.str.33 = [10 x i8] c"isupper-2\00"
@.str.34 = [11 x i8] c"isxdigit-2\00"
@.str.35 = [10 x i8] c"tolower-1\00"
@.str.36 = [10 x i8] c"tolower-2\00"
@.str.37 = [10 x i8] c"toupper-1\00"
@.str.38 = [10 x i8] c"toupper-2\00"
define void @test_chrfn() {
%1 = alloca i8*
%2 = alloca i8*
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca [128 x i8]
%11 = alloca [128 x i8]
%12 = alloca [128 x i8]
%13 = call i32 @pr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
store i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.1, i64 0, i64 0), i8** %1
%14 = load i8*, i8** %1
%15 = call i8* @strchr(i8* %14, i32 88)
store i8* %15, i8** %2
%16 = load i8*, i8** %2
%17 = icmp ne i8* %16, null
br i1 %17, label %18, label %29
18: ; preds = %0
%19 = load i8*, i8** %2
%20 = load i8, i8* %19
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 88
br i1 %22, label %29, label %23
23: ; preds = %18
%24 = load i8*, i8** %2
%25 = getelementptr inbounds i8, i8* %24, i64 1
%26 = load i8, i8* %25
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 49
br i1 %28, label %29, label %31
29: ; preds = %23, %18, %0
%30 = call i32 @fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
br label %31
31: ; preds = %29, %23
%32 = load i8*, i8** %1
%33 = call i8* @strchr(i8* %32, i32 90)
%34 = icmp ne i8* %33, null
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = call i32 @fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
br label %37
37: ; preds = %35, %31
%38 = call i32 @pr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%39 = load i8*, i8** %1
%40 = call i8* @strrchr(i8* %39, i8 signext 88)
store i8* %40, i8** %2
%41 = load i8*, i8** %2
%42 = icmp ne i8* %41, null
br i1 %42, label %43, label %54
43: ; preds = %37
%44 = load i8*, i8** %2
%45 = load i8, i8* %44
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 88
br i1 %47, label %54, label %48
48: ; preds = %43
%49 = load i8*, i8** %2
%50 = getelementptr inbounds i8, i8* %49, i64 1
%51 = load i8, i8* %50
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 50
br i1 %53, label %54, label %56
54: ; preds = %48, %43, %37
%55 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
br label %56
56: ; preds = %54, %48
%57 = load i8*, i8** %1
%58 = call i8* @strrchr(i8* %57, i8 signext 90)
%59 = icmp ne i8* %58, null
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = call i32 @fail(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
br label %62
62: ; preds = %60, %56
%63 = call i32 @pr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i8** %4
store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0), i8** %5
store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0), i8** %6
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i8** %8
store i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0), i8** %9
%64 = getelementptr inbounds [128 x i8], [128 x i8]* %10, i64 0, i64 0
%65 = load i8*, i8** %5
%66 = call i32 @strcpy(i8* %64, i8* %65)
%67 = getelementptr inbounds [128 x i8], [128 x i8]* %10, i64 0, i64 0
%68 = load i8*, i8** %6
%69 = call i32 @strcat(i8* %67, i8* %68)
%70 = getelementptr inbounds [128 x i8], [128 x i8]* %11, i64 0, i64 0
%71 = getelementptr inbounds [128 x i8], [128 x i8]* %10, i64 0, i64 0
%72 = call i32 @strcpy(i8* %70, i8* %71)
%73 = getelementptr inbounds [128 x i8], [128 x i8]* %11, i64 0, i64 0
%74 = load i8*, i8** %4
%75 = call i32 @strcat(i8* %73, i8* %74)
%76 = getelementptr inbounds [128 x i8], [128 x i8]* %12, i64 0, i64 0
%77 = load i8*, i8** %4
%78 = call i32 @strcpy(i8* %76, i8* %77)
%79 = getelementptr inbounds [128 x i8], [128 x i8]* %12, i64 0, i64 0
%80 = call i32 @strcat(i8* %79, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
store i32 0, i32* %3
br label %81
81: ; preds = %379, %62
%82 = load i32, i32* %3
%83 = icmp slt i32 %82, 128
br i1 %83, label %84, label %382
84: ; preds = %81
%85 = load i32, i32* %3
%86 = call i64 @isalnum(i32 %85)
%87 = icmp ne i64 %86, 0
br i1 %87, label %88, label %95
88: ; preds = %84
%89 = getelementptr inbounds [128 x i8], [128 x i8]* %11, i64 0, i64 0
%90 = load i32, i32* %3
%91 = call i8* @strchr(i8* %89, i32 %90)
%92 = icmp ne i8* %91, null
br i1 %92, label %95, label %93
93: ; preds = %88
%94 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
br label %95
95: ; preds = %93, %88, %84
%96 = load i32, i32* %3
%97 = call i64 @isalpha(i32 %96)
%98 = icmp ne i64 %97, 0
br i1 %98, label %99, label %106
99: ; preds = %95
%100 = getelementptr inbounds [128 x i8], [128 x i8]* %10, i64 0, i64 0
%101 = load i32, i32* %3
%102 = call i8* @strchr(i8* %100, i32 %101)
%103 = icmp ne i8* %102, null
br i1 %103, label %106, label %104
104: ; preds = %99
%105 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
br label %106
106: ; preds = %104, %99, %95
%107 = load i32, i32* %3
%108 = call i64 @iscntrl(i32 %107)
%109 = icmp ne i64 %108, 0
br i1 %109, label %110, label %118
110: ; preds = %106
%111 = load i32, i32* %3
%112 = icmp sgt i32 %111, 31
br i1 %112, label %113, label %118
113: ; preds = %110
%114 = load i32, i32* %3
%115 = icmp slt i32 %114, 127
br i1 %115, label %116, label %118
116: ; preds = %113
%117 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0))
br label %118
118: ; preds = %116, %113, %110, %106
%119 = load i32, i32* %3
%120 = call i64 @isdigit(i32 %119)
%121 = icmp ne i64 %120, 0
br i1 %121, label %122, label %129
122: ; preds = %118
%123 = load i8*, i8** %4
%124 = load i32, i32* %3
%125 = call i8* @strchr(i8* %123, i32 %124)
%126 = icmp ne i8* %125, null
br i1 %126, label %129, label %127
127: ; preds = %122
%128 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0))
br label %129
129: ; preds = %127, %122, %118
%130 = load i32, i32* %3
%131 = call i64 @isgraph(i32 %130)
%132 = icmp ne i64 %131, 0
br i1 %132, label %133, label %141
133: ; preds = %129
%134 = load i32, i32* %3
%135 = icmp slt i32 %134, 33
br i1 %135, label %136, label %141
136: ; preds = %133
%137 = load i32, i32* %3
%138 = icmp sgt i32 %137, 126
br i1 %138, label %139, label %141
139: ; preds = %136
%140 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.17, i64 0, i64 0))
br label %141
141: ; preds = %139, %136, %133, %129
%142 = load i32, i32* %3
%143 = call i64 @islower(i32 %142)
%144 = icmp ne i64 %143, 0
br i1 %144, label %145, label %152
145: ; preds = %141
%146 = load i8*, i8** %5
%147 = load i32, i32* %3
%148 = call i8* @strchr(i8* %146, i32 %147)
%149 = icmp ne i8* %148, null
br i1 %149, label %152, label %150
150: ; preds = %145
%151 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0))
br label %152
152: ; preds = %150, %145, %141
%153 = load i32, i32* %3
%154 = call i64 @isprint(i32 %153)
%155 = icmp ne i64 %154, 0
br i1 %155, label %156, label %164
156: ; preds = %152
%157 = load i32, i32* %3
%158 = icmp slt i32 %157, 32
br i1 %158, label %162, label %159
159: ; preds = %156
%160 = load i32, i32* %3
%161 = icmp sgt i32 %160, 126
br i1 %161, label %162, label %164
162: ; preds = %159, %156
%163 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0))
br label %164
164: ; preds = %162, %159, %152
%165 = load i32, i32* %3
%166 = call i64 @ispunct(i32 %165)
%167 = icmp ne i64 %166, 0
br i1 %167, label %168, label %175
168: ; preds = %164
%169 = load i8*, i8** %9
%170 = load i32, i32* %3
%171 = call i8* @strchr(i8* %169, i32 %170)
%172 = icmp ne i8* %171, null
br i1 %172, label %175, label %173
173: ; preds = %168
%174 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.20, i64 0, i64 0))
br label %175
175: ; preds = %173, %168, %164
%176 = load i32, i32* %3
%177 = call i64 @isspace(i32 %176)
%178 = icmp ne i64 %177, 0
br i1 %178, label %179, label %186
179: ; preds = %175
%180 = load i8*, i8** %8
%181 = load i32, i32* %3
%182 = call i8* @strchr(i8* %180, i32 %181)
%183 = icmp ne i8* %182, null
br i1 %183, label %186, label %184
184: ; preds = %179
%185 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0))
br label %186
186: ; preds = %184, %179, %175
%187 = load i32, i32* %3
%188 = call i64 @isupper(i32 %187)
%189 = icmp ne i64 %188, 0
br i1 %189, label %190, label %197
190: ; preds = %186
%191 = load i8*, i8** %6
%192 = load i32, i32* %3
%193 = call i8* @strchr(i8* %191, i32 %192)
%194 = icmp ne i8* %193, null
br i1 %194, label %197, label %195
195: ; preds = %190
%196 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.22, i64 0, i64 0))
br label %197
197: ; preds = %195, %190, %186
%198 = load i32, i32* %3
%199 = call i64 @isxdigit(i32 %198)
%200 = icmp ne i64 %199, 0
br i1 %200, label %201, label %208
201: ; preds = %197
%202 = getelementptr inbounds [128 x i8], [128 x i8]* %12, i64 0, i64 0
%203 = load i32, i32* %3
%204 = call i8* @strchr(i8* %202, i32 %203)
%205 = icmp ne i8* %204, null
br i1 %205, label %208, label %206
206: ; preds = %201
%207 = call i32 @fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0))
br label %208
208: ; preds = %206, %201, %197
%209 = load i32, i32* %3
%210 = call i64 @isalnum(i32 %209)
%211 = icmp ne i64 %210, 0
br i1 %211, label %219, label %212
212: ; preds = %208
%213 = getelementptr inbounds [128 x i8], [128 x i8]* %11, i64 0, i64 0
%214 = load i32, i32* %3
%215 = call i64 @xstrchr(i8* %213, i32 %214)
%216 = icmp ne i64 %215, 0
br i1 %216, label %217, label %219
217: ; preds = %212
%218 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0))
br label %219
219: ; preds = %217, %212, %208
%220 = load i32, i32* %3
%221 = call i64 @isalpha(i32 %220)
%222 = icmp ne i64 %221, 0
br i1 %222, label %230, label %223
223: ; preds = %219
%224 = getelementptr inbounds [128 x i8], [128 x i8]* %10, i64 0, i64 0
%225 = load i32, i32* %3
%226 = call i64 @xstrchr(i8* %224, i32 %225)
%227 = icmp ne i64 %226, 0
br i1 %227, label %228, label %230
228: ; preds = %223
%229 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.25, i64 0, i64 0))
br label %230
230: ; preds = %228, %223, %219
%231 = load i32, i32* %3
%232 = call i64 @iscntrl(i32 %231)
%233 = icmp ne i64 %232, 0
br i1 %233, label %242, label %234
234: ; preds = %230
%235 = load i32, i32* %3
%236 = icmp slt i32 %235, 32
br i1 %236, label %240, label %237
237: ; preds = %234
%238 = load i32, i32* %3
%239 = icmp sgt i32 %238, 126
br i1 %239, label %240, label %242
240: ; preds = %237, %234
%241 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.26, i64 0, i64 0))
br label %242
242: ; preds = %240, %237, %230
%243 = load i32, i32* %3
%244 = call i64 @isdigit(i32 %243)
%245 = icmp ne i64 %244, 0
br i1 %245, label %253, label %246
246: ; preds = %242
%247 = load i8*, i8** %4
%248 = load i32, i32* %3
%249 = call i64 @xstrchr(i8* %247, i32 %248)
%250 = icmp ne i64 %249, 0
br i1 %250, label %251, label %253
251: ; preds = %246
%252 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0))
br label %253
253: ; preds = %251, %246, %242
%254 = load i32, i32* %3
%255 = call i64 @isgraph(i32 %254)
%256 = icmp ne i64 %255, 0
br i1 %256, label %265, label %257
257: ; preds = %253
%258 = load i32, i32* %3
%259 = icmp sgt i32 %258, 32
br i1 %259, label %260, label %265
260: ; preds = %257
%261 = load i32, i32* %3
%262 = icmp slt i32 %261, 127
br i1 %262, label %263, label %265
263: ; preds = %260
%264 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0))
br label %265
265: ; preds = %263, %260, %257, %253
%266 = load i32, i32* %3
%267 = call i64 @islower(i32 %266)
%268 = icmp ne i64 %267, 0
br i1 %268, label %276, label %269
269: ; preds = %265
%270 = load i8*, i8** %5
%271 = load i32, i32* %3
%272 = call i64 @xstrchr(i8* %270, i32 %271)
%273 = icmp ne i64 %272, 0
br i1 %273, label %274, label %276
274: ; preds = %269
%275 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0))
br label %276
276: ; preds = %274, %269, %265
%277 = load i32, i32* %3
%278 = call i64 @isprint(i32 %277)
%279 = icmp ne i64 %278, 0
br i1 %279, label %288, label %280
280: ; preds = %276
%281 = load i32, i32* %3
%282 = icmp sgt i32 %281, 31
br i1 %282, label %283, label %288
283: ; preds = %280
%284 = load i32, i32* %3
%285 = icmp slt i32 %284, 127
br i1 %285, label %286, label %288
286: ; preds = %283
%287 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.30, i64 0, i64 0))
br label %288
288: ; preds = %286, %283, %280, %276
%289 = load i32, i32* %3
%290 = call i64 @ispunct(i32 %289)
%291 = icmp ne i64 %290, 0
br i1 %291, label %299, label %292
292: ; preds = %288
%293 = load i8*, i8** %9
%294 = load i32, i32* %3
%295 = call i64 @xstrchr(i8* %293, i32 %294)
%296 = icmp ne i64 %295, 0
br i1 %296, label %297, label %299
297: ; preds = %292
%298 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.31, i64 0, i64 0))
br label %299
299: ; preds = %297, %292, %288
%300 = load i32, i32* %3
%301 = call i64 @isspace(i32 %300)
%302 = icmp ne i64 %301, 0
br i1 %302, label %310, label %303
303: ; preds = %299
%304 = load i8*, i8** %8
%305 = load i32, i32* %3
%306 = call i64 @xstrchr(i8* %304, i32 %305)
%307 = icmp ne i64 %306, 0
br i1 %307, label %308, label %310
308: ; preds = %303
%309 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.32, i64 0, i64 0))
br label %310
310: ; preds = %308, %303, %299
%311 = load i32, i32* %3
%312 = call i64 @isupper(i32 %311)
%313 = icmp ne i64 %312, 0
br i1 %313, label %321, label %314
314: ; preds = %310
%315 = load i8*, i8** %6
%316 = load i32, i32* %3
%317 = call i64 @xstrchr(i8* %315, i32 %316)
%318 = icmp ne i64 %317, 0
br i1 %318, label %319, label %321
319: ; preds = %314
%320 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.33, i64 0, i64 0))
br label %321
321: ; preds = %319, %314, %310
%322 = load i32, i32* %3
%323 = call i64 @isxdigit(i32 %322)
%324 = icmp ne i64 %323, 0
br i1 %324, label %332, label %325
325: ; preds = %321
%326 = getelementptr inbounds [128 x i8], [128 x i8]* %12, i64 0, i64 0
%327 = load i32, i32* %3
%328 = call i64 @xstrchr(i8* %326, i32 %327)
%329 = icmp ne i64 %328, 0
br i1 %329, label %330, label %332
330: ; preds = %325
%331 = call i32 @fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.34, i64 0, i64 0))
br label %332
332: ; preds = %330, %325, %321
%333 = load i32, i32* %3
%334 = call i64 @isupper(i32 %333)
%335 = icmp ne i64 %334, 0
br i1 %335, label %336, label %343
336: ; preds = %332
%337 = load i32, i32* %3
%338 = call i32 @tolower(i32 %337)
%339 = call i64 @islower(i32 %338)
%340 = icmp ne i64 %339, 0
br i1 %340, label %343, label %341
341: ; preds = %336
%342 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.35, i64 0, i64 0))
br label %343
343: ; preds = %341, %336, %332
%344 = load i32, i32* %3
%345 = call i64 @islower(i32 %344)
%346 = icmp ne i64 %345, 0
br i1 %346, label %347, label %355
347: ; preds = %343
%348 = load i32, i32* %3
%349 = call i32 @toupper(i32 %348)
%350 = call i32 @tolower(i32 %349)
%351 = load i32, i32* %3
%352 = icmp ne i32 %350, %351
br i1 %352, label %353, label %355
353: ; preds = %347
%354 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.36, i64 0, i64 0))
br label %355
355: ; preds = %353, %347, %343
%356 = load i32, i32* %3
%357 = call i64 @islower(i32 %356)
%358 = icmp ne i64 %357, 0
br i1 %358, label %359, label %366
359: ; preds = %355
%360 = load i32, i32* %3
%361 = call i32 @toupper(i32 %360)
%362 = call i64 @isupper(i32 %361)
%363 = icmp ne i64 %362, 0
br i1 %363, label %366, label %364
364: ; preds = %359
%365 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.37, i64 0, i64 0))
br label %366
366: ; preds = %364, %359, %355
%367 = load i32, i32* %3
%368 = call i64 @isupper(i32 %367)
%369 = icmp ne i64 %368, 0
br i1 %369, label %370, label %378
370: ; preds = %366
%371 = load i32, i32* %3
%372 = call i32 @tolower(i32 %371)
%373 = call i32 @toupper(i32 %372)
%374 = load i32, i32* %3
%375 = icmp ne i32 %373, %374
br i1 %375, label %376, label %378
376: ; preds = %370
%377 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.38, i64 0, i64 0))
br label %378
378: ; preds = %376, %370, %366
br label %379
379: ; preds = %378
%380 = load i32, i32* %3
%381 = add nsw i32 %380, 1
store i32 %381, i32* %3
br label %81
382: ; preds = %81
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c"strchr\00"
@.str.4 = [8 x i8] c"strrchr\00"
@.str.6 = [4 x i8] c"is*\00"
@.str.7 = [11 x i8] c"0123456789\00"
@.str.8 = [27 x i8] c"abcdefghijklmnopqrstuvwxyz\00"
@.str.9 = [27 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ\00"
@.str.10 = [7 x i8] c"\09\0B\0C\0A\0D \00"
@.str.11 = [33 x i8] c"!\22#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\00"
@.str.12 = [13 x i8] c"abcdefABCDEF\00"
@.str.13 = [10 x i8] c"isalnum-1\00"
@.str.14 = [10 x i8] c"isalpha-1\00"
@.str.15 = [10 x i8] c"iscrntl-1\00"
@.str.16 = [10 x i8] c"isdigit-1\00"
@.str.18 = [10 x i8] c"islower-1\00"
@.str.19 = [10 x i8] c"isprint-1\00"
@.str.20 = [10 x i8] c"ispunct-1\00"
@.str.21 = [10 x i8] c"isspace-1\00"
@.str.22 = [10 x i8] c"isupper-1\00"
@.str.23 = [11 x i8] c"isxdigit-1\00"
@.str.24 = [10 x i8] c"isalnum-2\00"
@.str.25 = [10 x i8] c"isalpha-2\00"
@.str.26 = [10 x i8] c"iscrntl-2\00"
@.str.27 = [10 x i8] c"isdigit-2\00"
@.str.28 = [10 x i8] c"isgraph-2\00"
@.str.29 = [10 x i8] c"islower-2\00"
@.str.30 = [10 x i8] c"isprint-2\00"
@.str.31 = [10 x i8] c"ispunct-2\00"
@.str.32 = [10 x i8] c"isspace-2\00"
@.str.33 = [10 x i8] c"isupper-2\00"
@.str.34 = [11 x i8] c"isxdigit-2\00"
@.str.35 = [10 x i8] c"tolower-1\00"
@.str.36 = [10 x i8] c"tolower-2\00"
@.str.37 = [10 x i8] c"toupper-1\00"
@.str.38 = [10 x i8] c"toupper-2\00"
define void @test_chrfn() {
%1 = alloca [128 x i8]
%2 = alloca [128 x i8]
%3 = alloca [128 x i8]
%4 = getelementptr inbounds [128 x i8], [128 x i8]* %1, i64 0, i64 0
%5 = getelementptr inbounds [128 x i8], [128 x i8]* %2, i64 0, i64 0
%6 = getelementptr inbounds [128 x i8], [128 x i8]* %3, i64 0, i64 0
%7 = tail call i32 @pr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%8 = tail call i32 @pr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%9 = tail call i32 @pr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @strcpy(i8* %5, i8* %4)
%13 = call i32 @strcat(i8* %5, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%14 = call i32 @strcpy(i8* %6, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%15 = call i32 @strcat(i8* %6, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
br label %16
16: ; preds = %0, %230
%17 = phi i64 [ 0, %0 ], [ %231, %230 ]
%18 = trunc i64 %17 to i32
%19 = call i64 @isalnum(i32 %18)
%20 = icmp eq i64 %19, 0
br i1 %20, label %26, label %21
21: ; preds = %16
%22 = call i8* @strchr(i8* %5, i32 %18)
%23 = icmp eq i8* %22, null
br i1 %23, label %24, label %26
24: ; preds = %21
%25 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
br label %26
26: ; preds = %24, %21, %16
%27 = call i64 @isalpha(i32 %18)
%28 = icmp eq i64 %27, 0
br i1 %28, label %34, label %29
29: ; preds = %26
%30 = call i8* @strchr(i8* %4, i32 %18)
%31 = icmp eq i8* %30, null
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
br label %34
34: ; preds = %32, %29, %26
%35 = call i64 @iscntrl(i32 %18)
%36 = icmp ne i64 %35, 0
%37 = trunc i64 %17 to i32
%38 = add i32 %37, -32
%39 = icmp ult i32 %38, 95
%40 = and i1 %39, %36
br i1 %40, label %41, label %43
41: ; preds = %34
%42 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0))
br label %43
43: ; preds = %41, %34
%44 = call i64 @isdigit(i32 %18)
%45 = icmp eq i64 %44, 0
br i1 %45, label %54, label %46
46: ; preds = %43
%47 = icmp ugt i64 %17, 63
%48 = shl nuw i64 1, %17
%49 = and i64 %48, 287948901175001089
%50 = icmp eq i64 %49, 0
%51 = select i1 %47, i1 true, i1 %50
br i1 %51, label %52, label %54
52: ; preds = %46
%53 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.16, i64 0, i64 0))
br label %54
54: ; preds = %43, %46, %52
%55 = call i64 @isgraph(i32 %18)
%56 = call i64 @islower(i32 %18)
%57 = icmp eq i64 %56, 0
br i1 %57, label %63, label %58
58: ; preds = %54
%59 = call i8* @memchr(i8* dereferenceable(27) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0), i32 %18, i64 27)
%60 = icmp eq i8* %59, null
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0))
br label %63
63: ; preds = %61, %58, %54
%64 = call i64 @isprint(i32 %18)
%65 = icmp ne i64 %64, 0
%66 = trunc i64 %17 to i32
%67 = add i32 %66, -127
%68 = icmp ult i32 %67, -95
%69 = select i1 %65, i1 %68, i1 false
br i1 %69, label %70, label %72
70: ; preds = %63
%71 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0))
br label %72
72: ; preds = %70, %63
%73 = call i64 @ispunct(i32 %18)
%74 = icmp eq i64 %73, 0
br i1 %74, label %80, label %75
75: ; preds = %72
%76 = call i8* @memchr(i8* dereferenceable(33) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0), i32 %18, i64 33)
%77 = icmp eq i8* %76, null
br i1 %77, label %78, label %80
78: ; preds = %75
%79 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.20, i64 0, i64 0))
br label %80
80: ; preds = %78, %75, %72
%81 = call i64 @isspace(i32 %18)
%82 = icmp eq i64 %81, 0
br i1 %82, label %91, label %83
83: ; preds = %80
%84 = icmp ugt i64 %17, 63
%85 = shl nuw i64 1, %17
%86 = and i64 %85, 4294983169
%87 = icmp eq i64 %86, 0
%88 = select i1 %84, i1 true, i1 %87
br i1 %88, label %89, label %91
89: ; preds = %83
%90 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0))
br label %91
91: ; preds = %89, %83, %80
%92 = call i64 @isupper(i32 %18)
%93 = icmp eq i64 %92, 0
br i1 %93, label %99, label %94
94: ; preds = %91
%95 = call i8* @memchr(i8* dereferenceable(27) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0), i32 %18, i64 27)
%96 = icmp eq i8* %95, null
br i1 %96, label %97, label %99
97: ; preds = %94
%98 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.22, i64 0, i64 0))
br label %99
99: ; preds = %97, %94, %91
%100 = call i64 @isxdigit(i32 %18)
%101 = icmp eq i64 %100, 0
br i1 %101, label %107, label %102
102: ; preds = %99
%103 = call i8* @strchr(i8* %6, i32 %18)
%104 = icmp eq i8* %103, null
br i1 %104, label %105, label %107
105: ; preds = %102
%106 = call i32 @fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0))
br label %107
107: ; preds = %105, %102, %99
%108 = call i64 @isalnum(i32 %18)
%109 = icmp eq i64 %108, 0
br i1 %109, label %110, label %115
110: ; preds = %107
%111 = call i64 @xstrchr(i8* %5, i32 %18)
%112 = icmp eq i64 %111, 0
br i1 %112, label %115, label %113
113: ; preds = %110
%114 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0))
br label %115
115: ; preds = %113, %110, %107
%116 = call i64 @isalpha(i32 %18)
%117 = icmp eq i64 %116, 0
br i1 %117, label %118, label %123
118: ; preds = %115
%119 = call i64 @xstrchr(i8* %4, i32 %18)
%120 = icmp eq i64 %119, 0
br i1 %120, label %123, label %121
121: ; preds = %118
%122 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.25, i64 0, i64 0))
br label %123
123: ; preds = %121, %118, %115
%124 = call i64 @iscntrl(i32 %18)
%125 = icmp eq i64 %124, 0
%126 = select i1 %125, i1 %68, i1 false
br i1 %126, label %127, label %129
127: ; preds = %123
%128 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.26, i64 0, i64 0))
br label %129
129: ; preds = %127, %123
%130 = call i64 @isdigit(i32 %18)
%131 = icmp eq i64 %130, 0
br i1 %131, label %132, label %137
132: ; preds = %129
%133 = call i64 @xstrchr(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 %18)
%134 = icmp eq i64 %133, 0
br i1 %134, label %137, label %135
135: ; preds = %132
%136 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0))
br label %137
137: ; preds = %135, %132, %129
%138 = call i64 @isgraph(i32 %18)
%139 = icmp eq i64 %138, 0
%140 = trunc i64 %17 to i32
%141 = add i32 %140, -33
%142 = icmp ult i32 %141, 94
%143 = and i1 %142, %139
br i1 %143, label %144, label %146
144: ; preds = %137
%145 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0))
br label %146
146: ; preds = %144, %137
%147 = call i64 @islower(i32 %18)
%148 = icmp eq i64 %147, 0
br i1 %148, label %149, label %154
149: ; preds = %146
%150 = call i64 @xstrchr(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0), i32 %18)
%151 = icmp eq i64 %150, 0
br i1 %151, label %154, label %152
152: ; preds = %149
%153 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0))
br label %154
154: ; preds = %152, %149, %146
%155 = call i64 @isprint(i32 %18)
%156 = icmp eq i64 %155, 0
%157 = and i1 %39, %156
br i1 %157, label %158, label %160
158: ; preds = %154
%159 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.30, i64 0, i64 0))
br label %160
160: ; preds = %158, %154
%161 = call i64 @ispunct(i32 %18)
%162 = icmp eq i64 %161, 0
br i1 %162, label %163, label %168
163: ; preds = %160
%164 = call i64 @xstrchr(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0), i32 %18)
%165 = icmp eq i64 %164, 0
br i1 %165, label %168, label %166
166: ; preds = %163
%167 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.31, i64 0, i64 0))
br label %168
168: ; preds = %166, %163, %160
%169 = call i64 @isspace(i32 %18)
%170 = icmp eq i64 %169, 0
br i1 %170, label %171, label %176
171: ; preds = %168
%172 = call i64 @xstrchr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i32 %18)
%173 = icmp eq i64 %172, 0
br i1 %173, label %176, label %174
174: ; preds = %171
%175 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.32, i64 0, i64 0))
br label %176
176: ; preds = %174, %171, %168
%177 = call i64 @isupper(i32 %18)
%178 = icmp eq i64 %177, 0
br i1 %178, label %179, label %184
179: ; preds = %176
%180 = call i64 @xstrchr(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0), i32 %18)
%181 = icmp eq i64 %180, 0
br i1 %181, label %184, label %182
182: ; preds = %179
%183 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.33, i64 0, i64 0))
br label %184
184: ; preds = %182, %179, %176
%185 = call i64 @isxdigit(i32 %18)
%186 = icmp eq i64 %185, 0
br i1 %186, label %187, label %192
187: ; preds = %184
%188 = call i64 @xstrchr(i8* %6, i32 %18)
%189 = icmp eq i64 %188, 0
br i1 %189, label %192, label %190
190: ; preds = %187
%191 = call i32 @fail(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.34, i64 0, i64 0))
br label %192
192: ; preds = %190, %187, %184
%193 = call i64 @isupper(i32 %18)
%194 = icmp eq i64 %193, 0
br i1 %194, label %201, label %195
195: ; preds = %192
%196 = call i32 @tolower(i32 %18)
%197 = call i64 @islower(i32 %196)
%198 = icmp eq i64 %197, 0
br i1 %198, label %199, label %201
199: ; preds = %195
%200 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.35, i64 0, i64 0))
br label %201
201: ; preds = %199, %195, %192
%202 = call i64 @islower(i32 %18)
%203 = icmp eq i64 %202, 0
br i1 %203, label %211, label %204
204: ; preds = %201
%205 = call i32 @toupper(i32 %18)
%206 = call i32 @tolower(i32 %205)
%207 = zext i32 %206 to i64
%208 = icmp eq i64 %17, %207
br i1 %208, label %211, label %209
209: ; preds = %204
%210 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.36, i64 0, i64 0))
br label %211
211: ; preds = %209, %204, %201
%212 = call i64 @islower(i32 %18)
%213 = icmp eq i64 %212, 0
br i1 %213, label %220, label %214
214: ; preds = %211
%215 = call i32 @toupper(i32 %18)
%216 = call i64 @isupper(i32 %215)
%217 = icmp eq i64 %216, 0
br i1 %217, label %218, label %220
218: ; preds = %214
%219 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.37, i64 0, i64 0))
br label %220
220: ; preds = %218, %214, %211
%221 = call i64 @isupper(i32 %18)
%222 = icmp eq i64 %221, 0
br i1 %222, label %230, label %223
223: ; preds = %220
%224 = call i32 @tolower(i32 %18)
%225 = call i32 @toupper(i32 %224)
%226 = zext i32 %225 to i64
%227 = icmp eq i64 %17, %226
br i1 %227, label %230, label %228
228: ; preds = %223
%229 = call i32 @fail(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.38, i64 0, i64 0))
br label %230
230: ; preds = %220, %223, %228
%231 = add nuw nsw i64 %17, 1
%232 = icmp eq i64 %231, 128
br i1 %232, label %233, label %16
233: ; preds = %230
ret void
}