#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*/ printf(char *, char *, int);
int /*<<< orphan*/ t_isalpha(char);
int test_isalpha(void) {
  do {
    if (!(t_isalpha('A'))) {
      printf("expression '%s' untrue at %d\n", "t_isalpha('A')", 81);
      return 0;
    }
  } while (0);
  do {
    if (!(t_isalpha('Z'))) {
      printf("expression '%s' untrue at %d\n", "t_isalpha('Z')", 82);
      return 0;
    }
  } while (0);
  do {
    if (!(t_isalpha('a'))) {
      printf("expression '%s' untrue at %d\n", "t_isalpha('a')", 83);
      return 0;
    }
  } while (0);
  do {
    if (!(t_isalpha('z'))) {
      printf("expression '%s' untrue at %d\n", "t_isalpha('z')", 84);
      return 0;
    }
  } while (0);
  do {
    if (!(!t_isalpha('0'))) {
      printf("expression '%s' untrue at %d\n", "!t_isalpha('0')", 85);
      return 0;
    }
  } while (0);
  do {
    if (!(!t_isalpha('!'))) {
      printf("expression '%s' untrue at %d\n", "!t_isalpha('!')", 86);
      return 0;
    }
  } while (0);
  do {
    if (!(!t_isalpha(' '))) {
      printf("expression '%s' untrue at %d\n", "!t_isalpha(' ')", 87);
      return 0;
    }
  } while (0);
  do {
    if (!(!t_isalpha('/'))) {
      printf("expression '%s' untrue at %d\n", "!t_isalpha('/')", 88);
      return 0;
    }
  } while (0);
  do {
    if (!(!t_isalpha('\\'))) {
      printf("expression '%s' untrue at %d\n", "!t_isalpha('\\\\')", 89);
      return 0;
    }
  } while (0);
  do {
    if (!(!t_isalpha('\n'))) {
      printf("expression '%s' untrue at %d\n", "!t_isalpha('\\n')", 90);
      return 0;
    }
  } while (0);
  return 1;
}


x86 assembly (clang, -O0):
<test_isalpha>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x41,%edi
call   1030 <t_isalpha@plt>
cmp    $0x0,%eax
jne    115f <test_isalpha+0x3f>
lea    0xebe(%rip),%rdi
lea    0xed5(%rip),%rsi
mov    $0x51,%edx
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b4 <test_isalpha+0x294>
jmp    1164 <test_isalpha+0x44>
jmp    1169 <test_isalpha+0x49>
mov    $0x5a,%edi
call   1030 <t_isalpha@plt>
cmp    $0x0,%eax
jne    11a0 <test_isalpha+0x80>
lea    0xe7d(%rip),%rdi
lea    0xea3(%rip),%rsi
mov    $0x52,%edx
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b4 <test_isalpha+0x294>
jmp    11a5 <test_isalpha+0x85>
jmp    11aa <test_isalpha+0x8a>
mov    $0x61,%edi
call   1030 <t_isalpha@plt>
cmp    $0x0,%eax
jne    11e1 <test_isalpha+0xc1>
lea    0xe3c(%rip),%rdi
lea    0xe71(%rip),%rsi
mov    $0x53,%edx
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b4 <test_isalpha+0x294>
jmp    11e6 <test_isalpha+0xc6>
jmp    11eb <test_isalpha+0xcb>
mov    $0x7a,%edi
call   1030 <t_isalpha@plt>
cmp    $0x0,%eax
jne    1222 <test_isalpha+0x102>
lea    0xdfb(%rip),%rdi
lea    0xe3f(%rip),%rsi
mov    $0x54,%edx
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b4 <test_isalpha+0x294>
jmp    1227 <test_isalpha+0x107>
jmp    122c <test_isalpha+0x10c>
mov    $0x30,%edi
call   1030 <t_isalpha@plt>
cmp    $0x0,%eax
je     1263 <test_isalpha+0x143>
lea    0xdba(%rip),%rdi
lea    0xe0d(%rip),%rsi
mov    $0x55,%edx
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b4 <test_isalpha+0x294>
jmp    1268 <test_isalpha+0x148>
jmp    126d <test_isalpha+0x14d>
mov    $0x21,%edi
call   1030 <t_isalpha@plt>
cmp    $0x0,%eax
je     12a4 <test_isalpha+0x184>
lea    0xd79(%rip),%rdi
lea    0xddc(%rip),%rsi
mov    $0x56,%edx
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b4 <test_isalpha+0x294>
jmp    12a9 <test_isalpha+0x189>
jmp    12ae <test_isalpha+0x18e>
mov    $0x20,%edi
call   1030 <t_isalpha@plt>
cmp    $0x0,%eax
je     12e5 <test_isalpha+0x1c5>
lea    0xd38(%rip),%rdi
lea    0xdab(%rip),%rsi
mov    $0x57,%edx
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b4 <test_isalpha+0x294>
jmp    12ea <test_isalpha+0x1ca>
jmp    12ef <test_isalpha+0x1cf>
mov    $0x2f,%edi
call   1030 <t_isalpha@plt>
cmp    $0x0,%eax
je     1326 <test_isalpha+0x206>
lea    0xcf7(%rip),%rdi
lea    0xd7a(%rip),%rsi
mov    $0x58,%edx
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b4 <test_isalpha+0x294>
jmp    132b <test_isalpha+0x20b>
jmp    1330 <test_isalpha+0x210>
mov    $0x5c,%edi
call   1030 <t_isalpha@plt>
cmp    $0x0,%eax
je     1367 <test_isalpha+0x247>
lea    0xcb6(%rip),%rdi
lea    0xd49(%rip),%rsi
mov    $0x59,%edx
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b4 <test_isalpha+0x294>
jmp    136c <test_isalpha+0x24c>
jmp    1371 <test_isalpha+0x251>
mov    $0xa,%edi
call   1030 <t_isalpha@plt>
cmp    $0x0,%eax
je     13a8 <test_isalpha+0x288>
lea    0xc75(%rip),%rdi
lea    0xd19(%rip),%rsi
mov    $0x5a,%edx
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    13b4 <test_isalpha+0x294>
jmp    13ad <test_isalpha+0x28d>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_isalpha>:
push   %rax
mov    $0x41,%edi
call   1030 <t_isalpha@plt>
test   %eax,%eax
je     117f <test_isalpha+0x5f>
mov    $0x5a,%edi
call   1030 <t_isalpha@plt>
test   %eax,%eax
je     1197 <test_isalpha+0x77>
mov    $0x61,%edi
call   1030 <t_isalpha@plt>
test   %eax,%eax
je     11af <test_isalpha+0x8f>
mov    $0x7a,%edi
call   1030 <t_isalpha@plt>
test   %eax,%eax
je     11c7 <test_isalpha+0xa7>
mov    $0x30,%edi
call   1030 <t_isalpha@plt>
test   %eax,%eax
je     11df <test_isalpha+0xbf>
lea    0xe92(%rip),%rdi
lea    0xee5(%rip),%rsi
mov    $0x55,%edx
jmp    128f <test_isalpha+0x16f>
lea    0xe7a(%rip),%rdi
lea    0xe91(%rip),%rsi
mov    $0x51,%edx
jmp    128f <test_isalpha+0x16f>
lea    0xe62(%rip),%rdi
lea    0xe88(%rip),%rsi
mov    $0x52,%edx
jmp    128f <test_isalpha+0x16f>
lea    0xe4a(%rip),%rdi
lea    0xe7f(%rip),%rsi
mov    $0x53,%edx
jmp    128f <test_isalpha+0x16f>
lea    0xe32(%rip),%rdi
lea    0xe76(%rip),%rsi
mov    $0x54,%edx
jmp    128f <test_isalpha+0x16f>
mov    $0x21,%edi
call   1030 <t_isalpha@plt>
test   %eax,%eax
je     1205 <test_isalpha+0xe5>
lea    0xe0c(%rip),%rdi
lea    0xe6f(%rip),%rsi
mov    $0x56,%edx
jmp    128f <test_isalpha+0x16f>
mov    $0x20,%edi
call   1030 <t_isalpha@plt>
test   %eax,%eax
je     1228 <test_isalpha+0x108>
lea    0xde6(%rip),%rdi
lea    0xe59(%rip),%rsi
mov    $0x57,%edx
jmp    128f <test_isalpha+0x16f>
mov    $0x2f,%edi
call   1030 <t_isalpha@plt>
test   %eax,%eax
je     124b <test_isalpha+0x12b>
lea    0xdc3(%rip),%rdi
lea    0xe46(%rip),%rsi
mov    $0x58,%edx
jmp    128f <test_isalpha+0x16f>
mov    $0x5c,%edi
call   1030 <t_isalpha@plt>
test   %eax,%eax
je     126e <test_isalpha+0x14e>
lea    0xda0(%rip),%rdi
lea    0xe33(%rip),%rsi
mov    $0x59,%edx
jmp    128f <test_isalpha+0x16f>
mov    $0xa,%edi
call   1030 <t_isalpha@plt>
test   %eax,%eax
je     1298 <test_isalpha+0x178>
lea    0xd7d(%rip),%rdi
lea    0xe21(%rip),%rsi
mov    $0x5a,%edx
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret
mov    $0x1,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [30 x i8] c"expression '%s' untrue at %d\0A\00"
@.str.1 = [15 x i8] c"t_isalpha('A')\00"
@.str.2 = [15 x i8] c"t_isalpha('Z')\00"
@.str.3 = [15 x i8] c"t_isalpha('a')\00"
@.str.4 = [15 x i8] c"t_isalpha('z')\00"
@.str.5 = [16 x i8] c"!t_isalpha('0')\00"
@.str.6 = [16 x i8] c"!t_isalpha('!')\00"
@.str.7 = [16 x i8] c"!t_isalpha(' ')\00"
@.str.8 = [16 x i8] c"!t_isalpha('/')\00"
@.str.9 = [17 x i8] c"!t_isalpha('\\\\')\00"
@.str.10 = [17 x i8] c"!t_isalpha('\\n')\00"
define i32 @test_isalpha() {
%1 = alloca i32
br label %2
2: ; preds = %0
%3 = call i32 @t_isalpha(i8 signext 65)
%4 = icmp ne i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %2
%6 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 81)
store i32 0, i32* %1
br label %72
7: ; preds = %2
br label %8
8: ; preds = %7
br label %9
9: ; preds = %8
%10 = call i32 @t_isalpha(i8 signext 90)
%11 = icmp ne i32 %10, 0
br i1 %11, label %14, label %12
12: ; preds = %9
%13 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i32 82)
store i32 0, i32* %1
br label %72
14: ; preds = %9
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i32 @t_isalpha(i8 signext 97)
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 83)
store i32 0, i32* %1
br label %72
21: ; preds = %16
br label %22
22: ; preds = %21
br label %23
23: ; preds = %22
%24 = call i32 @t_isalpha(i8 signext 122)
%25 = icmp ne i32 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %23
%27 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i32 84)
store i32 0, i32* %1
br label %72
28: ; preds = %23
br label %29
29: ; preds = %28
br label %30
30: ; preds = %29
%31 = call i32 @t_isalpha(i8 signext 48)
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0), i32 85)
store i32 0, i32* %1
br label %72
35: ; preds = %30
br label %36
36: ; preds = %35
br label %37
37: ; preds = %36
%38 = call i32 @t_isalpha(i8 signext 33)
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %42
40: ; preds = %37
%41 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i32 86)
store i32 0, i32* %1
br label %72
42: ; preds = %37
br label %43
43: ; preds = %42
br label %44
44: ; preds = %43
%45 = call i32 @t_isalpha(i8 signext 32)
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 87)
store i32 0, i32* %1
br label %72
49: ; preds = %44
br label %50
50: ; preds = %49
br label %51
51: ; preds = %50
%52 = call i32 @t_isalpha(i8 signext 47)
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i32 88)
store i32 0, i32* %1
br label %72
56: ; preds = %51
br label %57
57: ; preds = %56
br label %58
58: ; preds = %57
%59 = call i32 @t_isalpha(i8 signext 92)
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), i32 89)
store i32 0, i32* %1
br label %72
63: ; preds = %58
br label %64
64: ; preds = %63
br label %65
65: ; preds = %64
%66 = call i32 @t_isalpha(i8 signext 10)
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %65
%69 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), i32 90)
store i32 0, i32* %1
br label %72
70: ; preds = %65
br label %71
71: ; preds = %70
store i32 1, i32* %1
br label %72
72: ; preds = %71, %68, %61, %54, %47, %40, %33, %26, %19, %12, %5
%73 = load i32, i32* %1
ret i32 %73
}

LLVM IR (-O2):
@.str = [30 x i8] c"expression '%s' untrue at %d\0A\00"
@.str.1 = [15 x i8] c"t_isalpha('A')\00"
@.str.2 = [15 x i8] c"t_isalpha('Z')\00"
@.str.3 = [15 x i8] c"t_isalpha('a')\00"
@.str.4 = [15 x i8] c"t_isalpha('z')\00"
@.str.5 = [16 x i8] c"!t_isalpha('0')\00"
@.str.6 = [16 x i8] c"!t_isalpha('!')\00"
@.str.7 = [16 x i8] c"!t_isalpha(' ')\00"
@.str.8 = [16 x i8] c"!t_isalpha('/')\00"
@.str.9 = [17 x i8] c"!t_isalpha('\\\\')\00"
@.str.10 = [17 x i8] c"!t_isalpha('\\n')\00"
define i32 @test_isalpha() {
%1 = tail call i32 @t_isalpha(i8 signext 65)
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0), i32 81)
br label %50
5: ; preds = %0
%6 = tail call i32 @t_isalpha(i8 signext 90)
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i32 82)
br label %50
10: ; preds = %5
%11 = tail call i32 @t_isalpha(i8 signext 97)
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i32 83)
br label %50
15: ; preds = %10
%16 = tail call i32 @t_isalpha(i8 signext 122)
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %15
%19 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i32 84)
br label %50
20: ; preds = %15
%21 = tail call i32 @t_isalpha(i8 signext 48)
%22 = icmp eq i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %20
%24 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0), i32 85)
br label %50
25: ; preds = %20
%26 = tail call i32 @t_isalpha(i8 signext 33)
%27 = icmp eq i32 %26, 0
br i1 %27, label %30, label %28
28: ; preds = %25
%29 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i32 86)
br label %50
30: ; preds = %25
%31 = tail call i32 @t_isalpha(i8 signext 32)
%32 = icmp eq i32 %31, 0
br i1 %32, label %35, label %33
33: ; preds = %30
%34 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i32 87)
br label %50
35: ; preds = %30
%36 = tail call i32 @t_isalpha(i8 signext 47)
%37 = icmp eq i32 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %35
%39 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i32 88)
br label %50
40: ; preds = %35
%41 = tail call i32 @t_isalpha(i8 signext 92)
%42 = icmp eq i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %40
%44 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), i32 89)
br label %50
45: ; preds = %40
%46 = tail call i32 @t_isalpha(i8 signext 10)
%47 = icmp eq i32 %46, 0
br i1 %47, label %50, label %48
48: ; preds = %45
%49 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), i32 90)
br label %50
50: ; preds = %45, %48, %43, %38, %33, %28, %23, %18, %13, %8, %3
%51 = phi i32 [ 0, %23 ], [ 0, %28 ], [ 0, %33 ], [ 0, %38 ], [ 0, %43 ], [ 0, %48 ], [ 0, %18 ], [ 0, %13 ], [ 0, %8 ], [ 0, %3 ], [ 1, %45 ]
ret i32 %51
}