#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 */
typedef scalar_t__ wctype_t;

/* Variables and functions */
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__ iswalnum(int);
scalar_t__ iswalpha(int);
scalar_t__ iswcntrl(int);
scalar_t__ iswctype(int, scalar_t__);
scalar_t__ iswdigit(int);
scalar_t__ iswgraph(int);
scalar_t__ iswlower(int);
scalar_t__ iswprint(int);
scalar_t__ iswpunct(int);
scalar_t__ iswspace(int);
scalar_t__ iswupper(int);
scalar_t__ iswxdigit(int);
scalar_t__ isxdigit(int);
int /*<<< orphan*/ printf(char *, char *, int);
int /*<<< orphan*/ puts(char *);
scalar_t__ wctype(char *);
int main(int argc, char *argv[]) {
  int result = 0;
  wctype_t bit_alnum = wctype("alnum");
  wctype_t bit_alpha = wctype("alpha");
  wctype_t bit_cntrl = wctype("cntrl");
  wctype_t bit_digit = wctype("digit");
  wctype_t bit_graph = wctype("graph");
  wctype_t bit_lower = wctype("lower");
  wctype_t bit_print = wctype("print");
  wctype_t bit_punct = wctype("punct");
  wctype_t bit_space = wctype("space");
  wctype_t bit_upper = wctype("upper");
  wctype_t bit_xdigit = wctype("xdigit");
  int ch;
  if (wctype("does not exist") != 0) {
    puts("wctype return value != 0 for non existing property");
    result = 1;
  }
  for (ch = 0; ch < 256; ++ch) {
    do {
      if ((isalnum(ch) == 0) != (iswctype(ch, bit_alnum) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "alnum", ch);
        result = 1;
      }
      if ((isalnum(ch) == 0) != (iswalnum(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "alnum", ch);
        result = 1;
      }
    } while (0);
    do {
      if ((isalpha(ch) == 0) != (iswctype(ch, bit_alpha) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "alpha", ch);
        result = 1;
      }
      if ((isalpha(ch) == 0) != (iswalpha(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "alpha", ch);
        result = 1;
      }
    } while (0);
    do {
      if ((iscntrl(ch) == 0) != (iswctype(ch, bit_cntrl) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "cntrl", ch);
        result = 1;
      }
      if ((iscntrl(ch) == 0) != (iswcntrl(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "cntrl", ch);
        result = 1;
      }
    } while (0);
    do {
      if ((isdigit(ch) == 0) != (iswctype(ch, bit_digit) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "digit", ch);
        result = 1;
      }
      if ((isdigit(ch) == 0) != (iswdigit(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "digit", ch);
        result = 1;
      }
    } while (0);
    do {
      if ((isgraph(ch) == 0) != (iswctype(ch, bit_graph) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "graph", ch);
        result = 1;
      }
      if ((isgraph(ch) == 0) != (iswgraph(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "graph", ch);
        result = 1;
      }
    } while (0);
    do {
      if ((islower(ch) == 0) != (iswctype(ch, bit_lower) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "lower", ch);
        result = 1;
      }
      if ((islower(ch) == 0) != (iswlower(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "lower", ch);
        result = 1;
      }
    } while (0);
    do {
      if ((isprint(ch) == 0) != (iswctype(ch, bit_print) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "print", ch);
        result = 1;
      }
      if ((isprint(ch) == 0) != (iswprint(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "print", ch);
        result = 1;
      }
    } while (0);
    do {
      if ((ispunct(ch) == 0) != (iswctype(ch, bit_punct) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "punct", ch);
        result = 1;
      }
      if ((ispunct(ch) == 0) != (iswpunct(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "punct", ch);
        result = 1;
      }
    } while (0);
    do {
      if ((isspace(ch) == 0) != (iswctype(ch, bit_space) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "space", ch);
        result = 1;
      }
      if ((isspace(ch) == 0) != (iswspace(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "space", ch);
        result = 1;
      }
    } while (0);
    do {
      if ((isupper(ch) == 0) != (iswctype(ch, bit_upper) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "upper", ch);
        result = 1;
      }
      if ((isupper(ch) == 0) != (iswupper(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "upper", ch);
        result = 1;
      }
    } while (0);
    do {
      if ((isxdigit(ch) == 0) != (iswctype(ch, bit_xdigit) == 0)) {
        printf("`iswctype' class `%s' test "
               "for character \\%o failed\n",
               "xdigit", ch);
        result = 1;
      }
      if ((isxdigit(ch) == 0) != (iswxdigit(ch) == 0)) {
        printf("`isw%s' test for character \\%o failed\n", "xdigit", ch);
        result = 1;
      }
    } while (0);
  }
  if (result == 0)
    puts("All test successful!");
  return result;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
lea    0xd39(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x20(%rbp)
lea    0xd2f(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x28(%rbp)
lea    0xd25(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x30(%rbp)
lea    0xd40(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x38(%rbp)
lea    0xd0b(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x40(%rbp)
lea    0xd01(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x48(%rbp)
lea    0xcf7(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x50(%rbp)
lea    0xced(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x58(%rbp)
lea    0xce3(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x60(%rbp)
lea    0xcd9(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x68(%rbp)
lea    0xccf(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,-0x70(%rbp)
lea    0xcc6(%rip),%rdi
call   1110 <wctype@plt>
cmp    $0x0,%rax
je     1399 <main+0xf9>
lea    0xcbf(%rip),%rdi
call   1060 <puts@plt>
movl   $0x1,-0x14(%rbp)
movl   $0x0,-0x74(%rbp)
cmpl   $0x100,-0x74(%rbp)
jge    1c46 <main+0x9a6>
jmp    13b2 <main+0x112>
mov    -0x74(%rbp),%edi
call   10d0 <isalnum@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x78(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x20(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0x78(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     140d <main+0x16d>
mov    -0x74(%rbp),%edx
lea    0xc85(%rip),%rdi
lea    0xbff(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   10d0 <isalnum@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x7c(%rbp)
mov    -0x74(%rbp),%edi
call   1140 <iswalnum@plt>
mov    %rax,%rcx
mov    -0x7c(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1464 <main+0x1c4>
mov    -0x74(%rbp),%edx
lea    0xc63(%rip),%rdi
lea    0xba8(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    1469 <main+0x1c9>
jmp    146e <main+0x1ce>
mov    -0x74(%rbp),%edi
call   1150 <isalpha@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x80(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x28(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0x80(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     14c9 <main+0x229>
mov    -0x74(%rbp),%edx
lea    0xbc9(%rip),%rdi
lea    0xb49(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   1150 <isalpha@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x84(%rbp)
mov    -0x74(%rbp),%edi
call   1190 <iswalpha@plt>
mov    %rax,%rcx
mov    -0x84(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1526 <main+0x286>
mov    -0x74(%rbp),%edx
lea    0xba1(%rip),%rdi
lea    0xaec(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    152b <main+0x28b>
jmp    1530 <main+0x290>
mov    -0x74(%rbp),%edi
call   10a0 <iscntrl@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x88(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x30(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0x88(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1591 <main+0x2f1>
mov    -0x74(%rbp),%edx
lea    0xb01(%rip),%rdi
lea    0xa87(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   10a0 <iscntrl@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x8c(%rbp)
mov    -0x74(%rbp),%edi
call   1080 <iswcntrl@plt>
mov    %rax,%rcx
mov    -0x8c(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     15ee <main+0x34e>
mov    -0x74(%rbp),%edx
lea    0xad9(%rip),%rdi
lea    0xa2a(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    15f3 <main+0x353>
jmp    15f8 <main+0x358>
mov    -0x74(%rbp),%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x90(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x38(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0x90(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1659 <main+0x3b9>
mov    -0x74(%rbp),%edx
lea    0xa39(%rip),%rdi
lea    0x9ea(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   1040 <isdigit@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x94(%rbp)
mov    -0x74(%rbp),%edi
call   10e0 <iswdigit@plt>
mov    %rax,%rcx
mov    -0x94(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     16b6 <main+0x416>
mov    -0x74(%rbp),%edx
lea    0xa11(%rip),%rdi
lea    0x98d(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    16bb <main+0x41b>
jmp    16c0 <main+0x420>
mov    -0x74(%rbp),%edi
call   11c0 <isgraph@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x98(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x40(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0x98(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1721 <main+0x481>
mov    -0x74(%rbp),%edx
lea    0x971(%rip),%rdi
lea    0x8fd(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   11c0 <isgraph@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x9c(%rbp)
mov    -0x74(%rbp),%edi
call   1120 <iswgraph@plt>
mov    %rax,%rcx
mov    -0x9c(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     177e <main+0x4de>
mov    -0x74(%rbp),%edx
lea    0x949(%rip),%rdi
lea    0x8a0(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    1783 <main+0x4e3>
jmp    1788 <main+0x4e8>
mov    -0x74(%rbp),%edi
call   1050 <islower@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xa0(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x48(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0xa0(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     17e9 <main+0x549>
mov    -0x74(%rbp),%edx
lea    0x8a9(%rip),%rdi
lea    0x83b(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   1050 <islower@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xa4(%rbp)
mov    -0x74(%rbp),%edi
call   1030 <iswlower@plt>
mov    %rax,%rcx
mov    -0xa4(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1846 <main+0x5a6>
mov    -0x74(%rbp),%edx
lea    0x881(%rip),%rdi
lea    0x7de(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    184b <main+0x5ab>
jmp    1850 <main+0x5b0>
mov    -0x74(%rbp),%edi
call   1170 <isprint@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xa8(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x50(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0xa8(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     18b1 <main+0x611>
mov    -0x74(%rbp),%edx
lea    0x7e1(%rip),%rdi
lea    0x779(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   1170 <isprint@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xac(%rbp)
mov    -0x74(%rbp),%edi
call   11b0 <iswprint@plt>
mov    %rax,%rcx
mov    -0xac(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     190e <main+0x66e>
mov    -0x74(%rbp),%edx
lea    0x7b9(%rip),%rdi
lea    0x71c(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    1913 <main+0x673>
jmp    1918 <main+0x678>
mov    -0x74(%rbp),%edi
call   10f0 <ispunct@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xb0(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x58(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0xb0(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1979 <main+0x6d9>
mov    -0x74(%rbp),%edx
lea    0x719(%rip),%rdi
lea    0x6b7(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   10f0 <ispunct@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xb4(%rbp)
mov    -0x74(%rbp),%edi
call   1070 <iswpunct@plt>
mov    %rax,%rcx
mov    -0xb4(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     19d6 <main+0x736>
mov    -0x74(%rbp),%edx
lea    0x6f1(%rip),%rdi
lea    0x65a(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    19db <main+0x73b>
jmp    19e0 <main+0x740>
mov    -0x74(%rbp),%edi
call   1100 <isspace@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xb8(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x60(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0xb8(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1a41 <main+0x7a1>
mov    -0x74(%rbp),%edx
lea    0x651(%rip),%rdi
lea    0x5f5(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   1100 <isspace@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xbc(%rbp)
mov    -0x74(%rbp),%edi
call   1180 <iswspace@plt>
mov    %rax,%rcx
mov    -0xbc(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1a9e <main+0x7fe>
mov    -0x74(%rbp),%edx
lea    0x629(%rip),%rdi
lea    0x598(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    1aa3 <main+0x803>
jmp    1aa8 <main+0x808>
mov    -0x74(%rbp),%edi
call   1160 <isupper@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xc0(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x68(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0xc0(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1b09 <main+0x869>
mov    -0x74(%rbp),%edx
lea    0x589(%rip),%rdi
lea    0x533(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   1160 <isupper@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xc4(%rbp)
mov    -0x74(%rbp),%edi
call   1130 <iswupper@plt>
mov    %rax,%rcx
mov    -0xc4(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1b66 <main+0x8c6>
mov    -0x74(%rbp),%edx
lea    0x561(%rip),%rdi
lea    0x4d6(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    1b6b <main+0x8cb>
jmp    1b70 <main+0x8d0>
mov    -0x74(%rbp),%edi
call   11a0 <isxdigit@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xc8(%rbp)
mov    -0x74(%rbp),%edi
mov    -0x70(%rbp),%rsi
call   10b0 <iswctype@plt>
mov    %rax,%rcx
mov    -0xc8(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1bd1 <main+0x931>
mov    -0x74(%rbp),%edx
lea    0x4c1(%rip),%rdi
lea    0x471(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x74(%rbp),%edi
call   11a0 <isxdigit@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xcc(%rbp)
mov    -0x74(%rbp),%edi
call   1090 <iswxdigit@plt>
mov    %rax,%rcx
mov    -0xcc(%rbp),%eax
cmp    $0x0,%rcx
sete   %cl
and    $0x1,%cl
movzbl %cl,%ecx
cmp    %ecx,%eax
je     1c2e <main+0x98e>
mov    -0x74(%rbp),%edx
lea    0x499(%rip),%rdi
lea    0x414(%rip),%rsi
call   10c0 <printf@plt>
movl   $0x1,-0x14(%rbp)
jmp    1c33 <main+0x993>
jmp    1c38 <main+0x998>
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    13a0 <main+0x100>
cmpl   $0x0,-0x14(%rbp)
jne    1c5c <main+0x9bc>
lea    0x484(%rip),%rdi
call   1060 <puts@plt>
mov    -0x14(%rbp),%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
lea    0xd4b(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,0x50(%rsp)
lea    0xd40(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,0x48(%rsp)
lea    0xd35(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,0x40(%rsp)
lea    0xd4f(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,0x38(%rsp)
lea    0xd19(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,0x30(%rsp)
lea    0xd0e(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,0x28(%rsp)
lea    0xd03(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,0x20(%rsp)
lea    0xcf8(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,0x18(%rsp)
lea    0xced(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,0x10(%rsp)
lea    0xce2(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,0x8(%rsp)
lea    0xcd7(%rip),%rdi
call   1110 <wctype@plt>
mov    %rax,(%rsp)
lea    0xcce(%rip),%rdi
call   1110 <wctype@plt>
xor    %ebp,%ebp
mov    $0x0,%r12d
test   %rax,%rax
je     1393 <main+0xf3>
lea    0xcc4(%rip),%rdi
call   1060 <puts@plt>
mov    $0x1,%r12d
lea    0xd1a(%rip),%r14
lea    0xcde(%rip),%r15
jmp    13d6 <main+0x136>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r14,%rdi
lea    0xc7c(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
add    $0x1,%ebp
mov    $0x1,%r12d
cmp    $0x100,%ebp
je     18ac <main+0x60c>
mov    %ebp,%edi
call   10d0 <isalnum@plt>
test   %rax,%rax
setne  %r13b
mov    %ebp,%edi
mov    0x50(%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %r13b,%al
jne    1412 <main+0x172>
mov    %r15,%rdi
lea    0xbfb(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   10d0 <isalnum@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   1140 <iswalnum@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    1447 <main+0x1a7>
mov    %r14,%rdi
lea    0xbc6(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1150 <isalpha@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
mov    0x48(%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    1481 <main+0x1e1>
mov    %r15,%rdi
lea    0xb92(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1150 <isalpha@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   1190 <iswalpha@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    14b6 <main+0x216>
mov    %r14,%rdi
lea    0xb5d(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   10a0 <iscntrl@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
mov    0x40(%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    14f0 <main+0x250>
mov    %r15,%rdi
lea    0xb29(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   10a0 <iscntrl@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   1080 <iswcntrl@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    1525 <main+0x285>
mov    %r14,%rdi
lea    0xaf4(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
mov    0x38(%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    155f <main+0x2bf>
mov    %r15,%rdi
lea    0xae5(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1040 <isdigit@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   10e0 <iswdigit@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    1594 <main+0x2f4>
mov    %r14,%rdi
lea    0xab0(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   11c0 <isgraph@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
mov    0x30(%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    15ce <main+0x32e>
mov    %r15,%rdi
lea    0xa51(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   11c0 <isgraph@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   1120 <iswgraph@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    1603 <main+0x363>
mov    %r14,%rdi
lea    0xa1c(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1050 <islower@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
mov    0x28(%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    163d <main+0x39d>
mov    %r15,%rdi
lea    0x9e8(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1050 <islower@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   1030 <iswlower@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    1672 <main+0x3d2>
mov    %r14,%rdi
lea    0x9b3(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1170 <isprint@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
mov    0x20(%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    16ac <main+0x40c>
mov    %r15,%rdi
lea    0x97f(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1170 <isprint@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   11b0 <iswprint@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    16e1 <main+0x441>
mov    %r14,%rdi
lea    0x94a(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   10f0 <ispunct@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
mov    0x18(%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    171b <main+0x47b>
mov    %r15,%rdi
lea    0x916(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   10f0 <ispunct@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   1070 <iswpunct@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    1750 <main+0x4b0>
mov    %r14,%rdi
lea    0x8e1(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1100 <isspace@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
mov    0x10(%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    178a <main+0x4ea>
mov    %r15,%rdi
lea    0x8ad(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1100 <isspace@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   1180 <iswspace@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    17bf <main+0x51f>
mov    %r14,%rdi
lea    0x878(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1160 <isupper@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
mov    0x8(%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    17f9 <main+0x559>
mov    %r15,%rdi
lea    0x844(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   1160 <isupper@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   1130 <iswupper@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    182e <main+0x58e>
mov    %r14,%rdi
lea    0x80f(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   11a0 <isxdigit@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
mov    (%rsp),%rsi
call   10b0 <iswctype@plt>
test   %rax,%rax
sete   %al
xor    %bl,%al
jne    1867 <main+0x5c7>
mov    %r15,%rdi
lea    0x7dc(%rip),%rsi
mov    %ebp,%edx
call   10c0 <printf@plt>
mov    $0x1,%r12d
mov    %ebp,%edi
call   11a0 <isxdigit@plt>
test   %rax,%rax
setne  %bl
mov    %ebp,%edi
call   1090 <iswxdigit@plt>
test   %rax,%rax
sete   %al
cmp    %al,%bl
je     13b0 <main+0x110>
add    $0x1,%ebp
cmp    $0x100,%ebp
jne    13d6 <main+0x136>
test   %r12d,%r12d
jne    18ac <main+0x60c>
lea    0x837(%rip),%rdi
call   1060 <puts@plt>
xor    %r12d,%r12d
mov    %r12d,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [6 x i8] c"alnum\00"
@.str.1 = [6 x i8] c"alpha\00"
@.str.2 = [6 x i8] c"cntrl\00"
@.str.3 = [6 x i8] c"digit\00"
@.str.4 = [6 x i8] c"graph\00"
@.str.5 = [6 x i8] c"lower\00"
@.str.6 = [6 x i8] c"print\00"
@.str.7 = [6 x i8] c"punct\00"
@.str.8 = [6 x i8] c"space\00"
@.str.9 = [6 x i8] c"upper\00"
@.str.10 = [7 x i8] c"xdigit\00"
@.str.11 = [15 x i8] c"does not exist\00"
@.str.12 = [51 x i8] c"wctype return value != 0 for non existing property\00"
@.str.13 = [53 x i8] c"`iswctype' class `%s' test for character \\%o failed\0A\00"
@.str.14 = [39 x i8] c"`isw%s' test for character \\%o failed\0A\00"
@.str.15 = [21 x i8] c"All test successful!\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i64 @wctype(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%4 = tail call i64 @wctype(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i64 @wctype(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%6 = tail call i64 @wctype(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i64 @wctype(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%8 = tail call i64 @wctype(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%9 = tail call i64 @wctype(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%10 = tail call i64 @wctype(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%11 = tail call i64 @wctype(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%12 = tail call i64 @wctype(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%13 = tail call i64 @wctype(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0))
%14 = tail call i64 @wctype(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %2
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0))
br label %18
18: ; preds = %16, %2
%19 = phi i32 [ 0, %2 ], [ 1, %16 ]
br label %20
20: ; preds = %220, %18
%21 = phi i32 [ 0, %18 ], [ %221, %220 ]
%22 = phi i32 [ %19, %18 ], [ %222, %220 ]
%23 = tail call i64 @isalnum(i32 %21)
%24 = icmp ne i64 %23, 0
%25 = tail call i64 @iswctype(i32 %21, i64 %3)
%26 = icmp eq i64 %25, 0
%27 = xor i1 %24, %26
br i1 %27, label %30, label %28
28: ; preds = %20
%29 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %21)
br label %30
30: ; preds = %28, %20
%31 = phi i32 [ 1, %28 ], [ %22, %20 ]
%32 = tail call i64 @isalnum(i32 %21)
%33 = icmp ne i64 %32, 0
%34 = tail call i64 @iswalnum(i32 %21)
%35 = icmp eq i64 %34, 0
%36 = xor i1 %33, %35
br i1 %36, label %39, label %37
37: ; preds = %30
%38 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %21)
br label %39
39: ; preds = %30, %37
%40 = phi i32 [ 1, %37 ], [ %31, %30 ]
%41 = tail call i64 @isalpha(i32 %21)
%42 = icmp ne i64 %41, 0
%43 = tail call i64 @iswctype(i32 %21, i64 %4)
%44 = icmp eq i64 %43, 0
%45 = xor i1 %42, %44
br i1 %45, label %48, label %46
46: ; preds = %39
%47 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %21)
br label %48
48: ; preds = %46, %39
%49 = phi i32 [ 1, %46 ], [ %40, %39 ]
%50 = tail call i64 @isalpha(i32 %21)
%51 = icmp ne i64 %50, 0
%52 = tail call i64 @iswalpha(i32 %21)
%53 = icmp eq i64 %52, 0
%54 = xor i1 %51, %53
br i1 %54, label %57, label %55
55: ; preds = %48
%56 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %21)
br label %57
57: ; preds = %48, %55
%58 = phi i32 [ 1, %55 ], [ %49, %48 ]
%59 = tail call i64 @iscntrl(i32 %21)
%60 = icmp ne i64 %59, 0
%61 = tail call i64 @iswctype(i32 %21, i64 %5)
%62 = icmp eq i64 %61, 0
%63 = xor i1 %60, %62
br i1 %63, label %66, label %64
64: ; preds = %57
%65 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 %21)
br label %66
66: ; preds = %64, %57
%67 = phi i32 [ 1, %64 ], [ %58, %57 ]
%68 = tail call i64 @iscntrl(i32 %21)
%69 = icmp ne i64 %68, 0
%70 = tail call i64 @iswcntrl(i32 %21)
%71 = icmp eq i64 %70, 0
%72 = xor i1 %69, %71
br i1 %72, label %75, label %73
73: ; preds = %66
%74 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 %21)
br label %75
75: ; preds = %66, %73
%76 = phi i32 [ 1, %73 ], [ %67, %66 ]
%77 = tail call i64 @isdigit(i32 %21)
%78 = icmp ne i64 %77, 0
%79 = tail call i64 @iswctype(i32 %21, i64 %6)
%80 = icmp eq i64 %79, 0
%81 = xor i1 %78, %80
br i1 %81, label %84, label %82
82: ; preds = %75
%83 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %21)
br label %84
84: ; preds = %82, %75
%85 = phi i32 [ 1, %82 ], [ %76, %75 ]
%86 = tail call i64 @isdigit(i32 %21)
%87 = icmp ne i64 %86, 0
%88 = tail call i64 @iswdigit(i32 %21)
%89 = icmp eq i64 %88, 0
%90 = xor i1 %87, %89
br i1 %90, label %93, label %91
91: ; preds = %84
%92 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %21)
br label %93
93: ; preds = %84, %91
%94 = phi i32 [ 1, %91 ], [ %85, %84 ]
%95 = tail call i64 @isgraph(i32 %21)
%96 = icmp ne i64 %95, 0
%97 = tail call i64 @iswctype(i32 %21, i64 %7)
%98 = icmp eq i64 %97, 0
%99 = xor i1 %96, %98
br i1 %99, label %102, label %100
100: ; preds = %93
%101 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i32 %21)
br label %102
102: ; preds = %100, %93
%103 = phi i32 [ 1, %100 ], [ %94, %93 ]
%104 = tail call i64 @isgraph(i32 %21)
%105 = icmp ne i64 %104, 0
%106 = tail call i64 @iswgraph(i32 %21)
%107 = icmp eq i64 %106, 0
%108 = xor i1 %105, %107
br i1 %108, label %111, label %109
109: ; preds = %102
%110 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i32 %21)
br label %111
111: ; preds = %102, %109
%112 = phi i32 [ 1, %109 ], [ %103, %102 ]
%113 = tail call i64 @islower(i32 %21)
%114 = icmp ne i64 %113, 0
%115 = tail call i64 @iswctype(i32 %21, i64 %8)
%116 = icmp eq i64 %115, 0
%117 = xor i1 %114, %116
br i1 %117, label %120, label %118
118: ; preds = %111
%119 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %21)
br label %120
120: ; preds = %118, %111
%121 = phi i32 [ 1, %118 ], [ %112, %111 ]
%122 = tail call i64 @islower(i32 %21)
%123 = icmp ne i64 %122, 0
%124 = tail call i64 @iswlower(i32 %21)
%125 = icmp eq i64 %124, 0
%126 = xor i1 %123, %125
br i1 %126, label %129, label %127
127: ; preds = %120
%128 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %21)
br label %129
129: ; preds = %120, %127
%130 = phi i32 [ 1, %127 ], [ %121, %120 ]
%131 = tail call i64 @isprint(i32 %21)
%132 = icmp ne i64 %131, 0
%133 = tail call i64 @iswctype(i32 %21, i64 %9)
%134 = icmp eq i64 %133, 0
%135 = xor i1 %132, %134
br i1 %135, label %138, label %136
136: ; preds = %129
%137 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 %21)
br label %138
138: ; preds = %136, %129
%139 = phi i32 [ 1, %136 ], [ %130, %129 ]
%140 = tail call i64 @isprint(i32 %21)
%141 = icmp ne i64 %140, 0
%142 = tail call i64 @iswprint(i32 %21)
%143 = icmp eq i64 %142, 0
%144 = xor i1 %141, %143
br i1 %144, label %147, label %145
145: ; preds = %138
%146 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 %21)
br label %147
147: ; preds = %138, %145
%148 = phi i32 [ 1, %145 ], [ %139, %138 ]
%149 = tail call i64 @ispunct(i32 %21)
%150 = icmp ne i64 %149, 0
%151 = tail call i64 @iswctype(i32 %21, i64 %10)
%152 = icmp eq i64 %151, 0
%153 = xor i1 %150, %152
br i1 %153, label %156, label %154
154: ; preds = %147
%155 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %21)
br label %156
156: ; preds = %154, %147
%157 = phi i32 [ 1, %154 ], [ %148, %147 ]
%158 = tail call i64 @ispunct(i32 %21)
%159 = icmp ne i64 %158, 0
%160 = tail call i64 @iswpunct(i32 %21)
%161 = icmp eq i64 %160, 0
%162 = xor i1 %159, %161
br i1 %162, label %165, label %163
163: ; preds = %156
%164 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %21)
br label %165
165: ; preds = %156, %163
%166 = phi i32 [ 1, %163 ], [ %157, %156 ]
%167 = tail call i64 @isspace(i32 %21)
%168 = icmp ne i64 %167, 0
%169 = tail call i64 @iswctype(i32 %21, i64 %11)
%170 = icmp eq i64 %169, 0
%171 = xor i1 %168, %170
br i1 %171, label %174, label %172
172: ; preds = %165
%173 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 %21)
br label %174
174: ; preds = %172, %165
%175 = phi i32 [ 1, %172 ], [ %166, %165 ]
%176 = tail call i64 @isspace(i32 %21)
%177 = icmp ne i64 %176, 0
%178 = tail call i64 @iswspace(i32 %21)
%179 = icmp eq i64 %178, 0
%180 = xor i1 %177, %179
br i1 %180, label %183, label %181
181: ; preds = %174
%182 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 %21)
br label %183
183: ; preds = %174, %181
%184 = phi i32 [ 1, %181 ], [ %175, %174 ]
%185 = tail call i64 @isupper(i32 %21)
%186 = icmp ne i64 %185, 0
%187 = tail call i64 @iswctype(i32 %21, i64 %12)
%188 = icmp eq i64 %187, 0
%189 = xor i1 %186, %188
br i1 %189, label %192, label %190
190: ; preds = %183
%191 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i32 %21)
br label %192
192: ; preds = %190, %183
%193 = phi i32 [ 1, %190 ], [ %184, %183 ]
%194 = tail call i64 @isupper(i32 %21)
%195 = icmp ne i64 %194, 0
%196 = tail call i64 @iswupper(i32 %21)
%197 = icmp eq i64 %196, 0
%198 = xor i1 %195, %197
br i1 %198, label %201, label %199
199: ; preds = %192
%200 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i32 %21)
br label %201
201: ; preds = %192, %199
%202 = phi i32 [ 1, %199 ], [ %193, %192 ]
%203 = tail call i64 @isxdigit(i32 %21)
%204 = icmp ne i64 %203, 0
%205 = tail call i64 @iswctype(i32 %21, i64 %13)
%206 = icmp eq i64 %205, 0
%207 = xor i1 %204, %206
br i1 %207, label %210, label %208
208: ; preds = %201
%209 = tail call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i32 %21)
br label %210
210: ; preds = %208, %201
%211 = phi i32 [ 1, %208 ], [ %202, %201 ]
%212 = tail call i64 @isxdigit(i32 %21)
%213 = icmp ne i64 %212, 0
%214 = tail call i64 @iswxdigit(i32 %21)
%215 = icmp eq i64 %214, 0
%216 = xor i1 %213, %215
br i1 %216, label %217, label %223
217: ; preds = %210
%218 = add nuw nsw i32 %21, 1
%219 = icmp eq i32 %218, 256
br i1 %219, label %227, label %220
220: ; preds = %217, %223
%221 = phi i32 [ %218, %217 ], [ %225, %223 ]
%222 = phi i32 [ %211, %217 ], [ 1, %223 ]
br label %20
223: ; preds = %210
%224 = tail call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i32 %21)
%225 = add nuw nsw i32 %21, 1
%226 = icmp eq i32 %225, 256
br i1 %226, label %231, label %220
227: ; preds = %217
%228 = icmp eq i32 %211, 0
br i1 %228, label %229, label %231
229: ; preds = %227
%230 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i64 0, i64 0))
br label %231
231: ; preds = %223, %229, %227
%232 = phi i32 [ 0, %229 ], [ %211, %227 ], [ 1, %223 ]
ret i32 %232
}