int test1(buf)
char *buf;
{
  register char *p = buf;
  char *bend;
  char *endfn;
  int contin;
  if (!(isalpha(*p) || (*p) == '_'))
    return 0;
  bend = skipspace(buf + strlen(buf) - 1, -1);
  switch (*bend) {
  case ')':
    contin = 1;
    break;
  case '{':
  case ';':
    return 0;
  default:
    contin = -1;
  }
  while ((isalnum(*p) || (*p) == '_'))
    p++;
  endfn = p;
  p = skipspace(p, 1);
  if (*p++ != '(')
    return 0;
  p = skipspace(p, 1);
  if (*p == ')')
    return 0;
  {
    static char *words[] = {
        "asm",      "auto",   "case",     "char",   "const",
        "double",   "extern", "float",    "for",    "if",
        "int",      "long",   "register", "return", "short",
        "signed",   "sizeof", "static",   "switch", "typedef",
        "unsigned", "void",   "volatile", "while",  0};
    char **key = words;
    char *kp;
    int len = endfn - buf;
    while ((kp = *key) != 0) {
      if (strlen(kp) == len && !strncmp(kp, buf, len))
        return 0;
      key++;
    }
  }
  return contin;
}


x86 assembly (clang, -O0):
<test1>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%edi
call   1060 <isalpha@plt>
cmp    $0x0,%eax
jne    1195 <test1+0x45>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5f,%eax
je     1195 <test1+0x45>
movl   $0x0,-0x4(%rbp)
jmp    1363 <test1+0x213>
mov    -0x10(%rbp),%rdi
mov    %rdi,-0x50(%rbp)
call   1040 <strlen@plt>
mov    %rax,%rcx
mov    -0x50(%rbp),%rax
lea    -0x1(%rax,%rcx,1),%rdi
xor    %eax,%eax
mov    $0xffffffff,%esi
call   1070 <skipspace@plt>
cltq
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
movsbl (%rax),%eax
mov    %eax,-0x48(%rbp)
sub    $0x29,%eax
je     11fa <test1+0xaa>
jmp    11d8 <test1+0x88>
mov    -0x48(%rbp),%eax
sub    $0x3b,%eax
je     1206 <test1+0xb6>
jmp    11e9 <test1+0x99>
mov    -0x48(%rbp),%eax
sub    $0x7b,%eax
je     1206 <test1+0xb6>
jmp    1212 <test1+0xc2>
movl   $0x1,-0x2c(%rbp)
jmp    1219 <test1+0xc9>
movl   $0x0,-0x4(%rbp)
jmp    1363 <test1+0x213>
movl   $0xffffffff,-0x2c(%rbp)
jmp    121e <test1+0xce>
mov    -0x18(%rbp),%rax
movsbl (%rax),%edi
call   1050 <isalnum@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0x51(%rbp)
jne    124a <test1+0xfa>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5f,%eax
sete   %al
mov    %al,-0x51(%rbp)
mov    -0x51(%rbp),%al
test   $0x1,%al
jne    125a <test1+0x10a>
jmp    126b <test1+0x11b>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    121e <test1+0xce>
mov    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x18(%rbp),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1070 <skipspace@plt>
cltq
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x18(%rbp)
movsbl (%rax),%eax
cmp    $0x28,%eax
je     12b0 <test1+0x160>
movl   $0x0,-0x4(%rbp)
jmp    1363 <test1+0x213>
mov    -0x18(%rbp),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1070 <skipspace@plt>
cltq
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x29,%eax
jne    12e2 <test1+0x192>
movl   $0x0,-0x4(%rbp)
jmp    1363 <test1+0x213>
lea    0x2d67(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x10(%rbp),%rcx
sub    %rcx,%rax
mov    %eax,-0x44(%rbp)
mov    -0x38(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x40(%rbp)
cmp    $0x0,%rax
je     135d <test1+0x20d>
mov    -0x40(%rbp),%rdi
call   1040 <strlen@plt>
movslq -0x44(%rbp),%rcx
cmp    %rcx,%rax
jne    134c <test1+0x1fc>
mov    -0x40(%rbp),%rdi
mov    -0x10(%rbp),%rsi
movslq -0x44(%rbp),%rdx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    134c <test1+0x1fc>
movl   $0x0,-0x4(%rbp)
jmp    1363 <test1+0x213>
mov    -0x38(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x38(%rbp)
jmp    12fb <test1+0x1ab>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test1>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdi,%r15
mov    (%rdi),%bl
movsbl %bl,%edi
call   1060 <isalpha@plt>
test   %eax,%eax
jne    1178 <test1+0x28>
xor    %r14d,%r14d
cmp    $0x5f,%bl
jne    1283 <test1+0x133>
mov    %r15,%rdi
call   1040 <strlen@plt>
lea    (%r15,%rax,1),%rdi
add    $0xffffffffffffffff,%rdi
xor    %r14d,%r14d
mov    $0xffffffff,%esi
xor    %eax,%eax
call   1070 <skipspace@plt>
cltq
movsbl (%rax),%eax
cmp    $0x29,%eax
je     11bd <test1+0x6d>
cmp    $0x3b,%eax
je     1283 <test1+0x133>
cmp    $0x7b,%eax
je     1283 <test1+0x133>
movl   $0xffffffff,0x4(%rsp)
ff
jmp    11c5 <test1+0x75>
movl   $0x1,0x4(%rsp)
lea    -0x1(%r15),%r12
movabs $0xffffffff00000000,%r13
ff ff ff
movabs $0x100000000,%rbp
nopl   (%rax)
add    %rbp,%r13
movzbl 0x1(%r12),%ebx
add    $0x1,%r12
movsbl %bl,%edi
call   1050 <isalnum@plt>
test   %eax,%eax
jne    11e0 <test1+0x90>
cmp    $0x5f,%bl
je     11e0 <test1+0x90>
xor    %r14d,%r14d
mov    %r12,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <skipspace@plt>
movslq %eax,%rdi
cmpb   $0x28,(%rdi)
jne    1283 <test1+0x133>
add    $0x1,%rdi
xor    %r14d,%r14d
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <skipspace@plt>
cltq
cmpb   $0x29,(%rax)
je     1283 <test1+0x133>
sar    $0x20,%r13
lea    0xdc3(%rip),%rbx
lea    0x2b14(%rip),%rbp
jmp    125d <test1+0x10d>
cs nopw 0x0(%rax,%rax,1)
mov    0x0(%rbp),%rbx
add    $0x8,%rbp
test   %rbx,%rbx
je     127e <test1+0x12e>
mov    %rbx,%rdi
call   1040 <strlen@plt>
cmp    %r13,%rax
jne    1250 <test1+0x100>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   1030 <strncmp@plt>
test   %eax,%eax
jne    1250 <test1+0x100>
jmp    1283 <test1+0x133>
mov    0x4(%rsp),%r14d
mov    %r14d,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@test1.words = internal global [25 x i8*] [i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i32 0, i32 0), i8* null]
@.str = [4 x i8] c"asm\00"
@.str.1 = [5 x i8] c"auto\00"
@.str.2 = [5 x i8] c"case\00"
@.str.3 = [5 x i8] c"char\00"
@.str.4 = [6 x i8] c"const\00"
@.str.5 = [7 x i8] c"double\00"
@.str.6 = [7 x i8] c"extern\00"
@.str.7 = [6 x i8] c"float\00"
@.str.8 = [4 x i8] c"for\00"
@.str.9 = [3 x i8] c"if\00"
@.str.10 = [4 x i8] c"int\00"
@.str.11 = [5 x i8] c"long\00"
@.str.12 = [9 x i8] c"register\00"
@.str.13 = [7 x i8] c"return\00"
@.str.14 = [6 x i8] c"short\00"
@.str.15 = [7 x i8] c"signed\00"
@.str.16 = [7 x i8] c"sizeof\00"
@.str.17 = [7 x i8] c"static\00"
@.str.18 = [7 x i8] c"switch\00"
@.str.19 = [8 x i8] c"typedef\00"
@.str.20 = [9 x i8] c"unsigned\00"
@.str.21 = [5 x i8] c"void\00"
@.str.22 = [9 x i8] c"volatile\00"
@.str.23 = [6 x i8] c"while\00"
define i32 @test1(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i32
%8 = alloca i8**
%9 = alloca i8*
%10 = alloca i32
store i8* %0, i8** %3
%11 = load i8*, i8** %3
store i8* %11, i8** %4
%12 = load i8*, i8** %4
%13 = load i8, i8* %12
%14 = sext i8 %13 to i32
%15 = call i32 @isalpha(i32 %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %23, label %17
17: ; preds = %1
%18 = load i8*, i8** %4
%19 = load i8, i8* %18
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 95
br i1 %21, label %23, label %22
22: ; preds = %17
store i32 0, i32* %2
br label %107
23: ; preds = %17, %1
%24 = load i8*, i8** %3
%25 = load i8*, i8** %3
%26 = call i64 @strlen(i8* %25)
%27 = getelementptr inbounds i8, i8* %24, i64 %26
%28 = getelementptr inbounds i8, i8* %27, i64 -1
%29 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %28, i32 -1)
%30 = sext i32 %29 to i64
%31 = inttoptr i64 %30 to i8*
store i8* %31, i8** %5
%32 = load i8*, i8** %5
%33 = load i8, i8* %32
%34 = sext i8 %33 to i32
switch i32 %34, label %37 [
i32 41, label %35
i32 123, label %36
i32 59, label %36
]
35: ; preds = %23
store i32 1, i32* %7
br label %38
36: ; preds = %23, %23
store i32 0, i32* %2
br label %107
37: ; preds = %23
store i32 -1, i32* %7
br label %38
38: ; preds = %37, %35
br label %39
39: ; preds = %52, %38
%40 = load i8*, i8** %4
%41 = load i8, i8* %40
%42 = sext i8 %41 to i32
%43 = call i32 @isalnum(i32 %42)
%44 = icmp ne i32 %43, 0
br i1 %44, label %50, label %45
45: ; preds = %39
%46 = load i8*, i8** %4
%47 = load i8, i8* %46
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 95
br label %50
50: ; preds = %45, %39
%51 = phi i1 [ true, %39 ], [ %49, %45 ]
br i1 %51, label %52, label %55
52: ; preds = %50
%53 = load i8*, i8** %4
%54 = getelementptr inbounds i8, i8* %53, i32 1
store i8* %54, i8** %4
br label %39
55: ; preds = %50
%56 = load i8*, i8** %4
store i8* %56, i8** %6
%57 = load i8*, i8** %4
%58 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %57, i32 1)
%59 = sext i32 %58 to i64
%60 = inttoptr i64 %59 to i8*
store i8* %60, i8** %4
%61 = load i8*, i8** %4
%62 = getelementptr inbounds i8, i8* %61, i32 1
store i8* %62, i8** %4
%63 = load i8, i8* %61
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 40
br i1 %65, label %66, label %67
66: ; preds = %55
store i32 0, i32* %2
br label %107
67: ; preds = %55
%68 = load i8*, i8** %4
%69 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %68, i32 1)
%70 = sext i32 %69 to i64
%71 = inttoptr i64 %70 to i8*
store i8* %71, i8** %4
%72 = load i8*, i8** %4
%73 = load i8, i8* %72
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 41
br i1 %75, label %76, label %77
76: ; preds = %67
store i32 0, i32* %2
br label %107
77: ; preds = %67
store i8** getelementptr inbounds ([25 x i8*], [25 x i8*]* @test1.words, i64 0, i64 0), i8*** %8
%78 = load i8*, i8** %6
%79 = load i8*, i8** %3
%80 = ptrtoint i8* %78 to i64
%81 = ptrtoint i8* %79 to i64
%82 = sub i64 %80, %81
%83 = trunc i64 %82 to i32
store i32 %83, i32* %10
br label %84
84: ; preds = %102, %77
%85 = load i8**, i8*** %8
%86 = load i8*, i8** %85
store i8* %86, i8** %9
%87 = icmp ne i8* %86, null
br i1 %87, label %88, label %105
88: ; preds = %84
%89 = load i8*, i8** %9
%90 = call i64 @strlen(i8* %89)
%91 = load i32, i32* %10
%92 = sext i32 %91 to i64
%93 = icmp eq i64 %90, %92
br i1 %93, label %94, label %102
94: ; preds = %88
%95 = load i8*, i8** %9
%96 = load i8*, i8** %3
%97 = load i32, i32* %10
%98 = sext i32 %97 to i64
%99 = call i32 @strncmp(i8* %95, i8* %96, i64 %98)
%100 = icmp ne i32 %99, 0
br i1 %100, label %102, label %101
101: ; preds = %94
store i32 0, i32* %2
br label %107
102: ; preds = %94, %88
%103 = load i8**, i8*** %8
%104 = getelementptr inbounds i8*, i8** %103, i32 1
store i8** %104, i8*** %8
br label %84
105: ; preds = %84
%106 = load i32, i32* %7
store i32 %106, i32* %2
br label %107
107: ; preds = %105, %101, %76, %66, %36, %22
%108 = load i32, i32* %2
ret i32 %108
}

LLVM IR (-O2):
@test1.words = internal unnamed_addr constant [25 x i8*] [i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i32 0, i32 0), i8* null]
@.str = [4 x i8] c"asm\00"
@.str.1 = [5 x i8] c"auto\00"
@.str.2 = [5 x i8] c"case\00"
@.str.3 = [5 x i8] c"char\00"
@.str.4 = [6 x i8] c"const\00"
@.str.5 = [7 x i8] c"double\00"
@.str.6 = [7 x i8] c"extern\00"
@.str.7 = [6 x i8] c"float\00"
@.str.8 = [4 x i8] c"for\00"
@.str.9 = [3 x i8] c"if\00"
@.str.10 = [4 x i8] c"int\00"
@.str.11 = [5 x i8] c"long\00"
@.str.12 = [9 x i8] c"register\00"
@.str.13 = [7 x i8] c"return\00"
@.str.14 = [6 x i8] c"short\00"
@.str.15 = [7 x i8] c"signed\00"
@.str.16 = [7 x i8] c"sizeof\00"
@.str.17 = [7 x i8] c"static\00"
@.str.18 = [7 x i8] c"switch\00"
@.str.19 = [8 x i8] c"typedef\00"
@.str.20 = [9 x i8] c"unsigned\00"
@.str.21 = [5 x i8] c"void\00"
@.str.22 = [9 x i8] c"volatile\00"
@.str.23 = [6 x i8] c"while\00"
define i32 @test1(i8* %0) {
%2 = load i8, i8* %0
%3 = sext i8 %2 to i32
%4 = tail call i32 @isalpha(i32 %3)
%5 = icmp ne i32 %4, 0
%6 = icmp eq i8 %2, 95
%7 = select i1 %5, i1 true, i1 %6
br i1 %7, label %8, label %60
8: ; preds = %1
%9 = tail call i64 @strlen(i8* %0)
%10 = getelementptr inbounds i8, i8* %0, i64 %9
%11 = getelementptr inbounds i8, i8* %10, i64 -1
%12 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %11, i32 -1)
%13 = sext i32 %12 to i64
%14 = inttoptr i64 %13 to i8*
%15 = load i8, i8* %14
%16 = sext i8 %15 to i32
switch i32 %16, label %17 [
i32 41, label %18
i32 123, label %60
i32 59, label %60
]
17: ; preds = %8
br label %18
18: ; preds = %8, %17
%19 = phi i32 [ -1, %17 ], [ 1, %8 ]
br label %20
20: ; preds = %20, %18
%21 = phi i8* [ %0, %18 ], [ %28, %20 ]
%22 = load i8, i8* %21
%23 = sext i8 %22 to i32
%24 = tail call i32 @isalnum(i32 %23)
%25 = icmp ne i32 %24, 0
%26 = icmp eq i8 %22, 95
%27 = select i1 %25, i1 true, i1 %26
%28 = getelementptr inbounds i8, i8* %21, i64 1
br i1 %27, label %20, label %29
29: ; preds = %20
%30 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %21, i32 1)
%31 = sext i32 %30 to i64
%32 = inttoptr i64 %31 to i8*
%33 = load i8, i8* %32
%34 = icmp eq i8 %33, 40
br i1 %34, label %35, label %60
35: ; preds = %29
%36 = getelementptr inbounds i8, i8* %32, i64 1
%37 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %36, i32 1)
%38 = sext i32 %37 to i64
%39 = inttoptr i64 %38 to i8*
%40 = load i8, i8* %39
%41 = icmp eq i8 %40, 41
br i1 %41, label %60, label %42
42: ; preds = %35
%43 = ptrtoint i8* %21 to i64
%44 = ptrtoint i8* %0 to i64
%45 = sub i64 %43, %44
%46 = shl i64 %45, 32
%47 = ashr exact i64 %46, 32
br label %48
48: ; preds = %42, %56
%49 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), %42 ], [ %58, %56 ]
%50 = phi i8** [ getelementptr inbounds ([25 x i8*], [25 x i8*]* @test1.words, i64 0, i64 0), %42 ], [ %57, %56 ]
%51 = tail call i64 @strlen(i8* %49)
%52 = icmp eq i64 %51, %47
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = tail call i32 @strncmp(i8* %49, i8* %0, i64 %47)
%55 = icmp eq i32 %54, 0
br i1 %55, label %60, label %56
56: ; preds = %53, %48
%57 = getelementptr inbounds i8*, i8** %50, i64 1
%58 = load i8*, i8** %57
%59 = icmp eq i8* %58, null
br i1 %59, label %60, label %48
60: ; preds = %53, %56, %35, %29, %8, %8, %1
%61 = phi i32 [ 0, %1 ], [ 0, %8 ], [ 0, %8 ], [ 0, %29 ], [ 0, %35 ], [ 0, %53 ], [ %19, %56 ]
ret i32 %61
}