test1(buf) char *buf;
{
  register char *p = buf;
  char *bend;
  char *endfn;
  int contin;
  if (!isalpha(*p))
    return 0;
  bend = skipspace(buf + strlen(buf) - 1, -1);
  switch (*bend) {
  case ')':
    contin = 1;
    break;
  case '(':
  case ',':
    contin = -1;
    break;
  default:
    return 0;
  }
  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    1185 <test1+0x35>
movl   $0x0,-0x4(%rbp)
jmp    1358 <test1+0x208>
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    $0x28,%eax
je     11f6 <test1+0xa6>
jmp    11c8 <test1+0x78>
mov    -0x48(%rbp),%eax
sub    $0x29,%eax
je     11ea <test1+0x9a>
jmp    11d9 <test1+0x89>
mov    -0x48(%rbp),%eax
sub    $0x2c,%eax
je     11f6 <test1+0xa6>
jmp    1202 <test1+0xb2>
movl   $0x1,-0x2c(%rbp)
jmp    120e <test1+0xbe>
movl   $0xffffffff,-0x2c(%rbp)
jmp    120e <test1+0xbe>
movl   $0x0,-0x4(%rbp)
jmp    1358 <test1+0x208>
jmp    1213 <test1+0xc3>
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    123f <test1+0xef>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x5f,%eax
sete   %al
mov    %al,-0x51(%rbp)
mov    -0x51(%rbp),%al
test   $0x1,%al
jne    124f <test1+0xff>
jmp    1260 <test1+0x110>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    1213 <test1+0xc3>
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     12a5 <test1+0x155>
movl   $0x0,-0x4(%rbp)
jmp    1358 <test1+0x208>
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    12d7 <test1+0x187>
movl   $0x0,-0x4(%rbp)
jmp    1358 <test1+0x208>
lea    0x2d72(%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     1352 <test1+0x202>
mov    -0x40(%rbp),%rdi
call   1040 <strlen@plt>
movslq -0x44(%rbp),%rcx
cmp    %rcx,%rax
jne    1341 <test1+0x1f1>
mov    -0x40(%rbp),%rdi
mov    -0x10(%rbp),%rsi
movslq -0x44(%rbp),%rdx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    1341 <test1+0x1f1>
movl   $0x0,-0x4(%rbp)
jmp    1358 <test1+0x208>
mov    -0x38(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x38(%rbp)
jmp    12f0 <test1+0x1a0>
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,%r14
movsbl (%rdi),%edi
call   1060 <isalpha@plt>
test   %eax,%eax
je     11a8 <test1+0x58>
mov    %r14,%rdi
call   1040 <strlen@plt>
lea    (%r14,%rax,1),%rdi
add    $0xffffffffffffffff,%rdi
xor    %r15d,%r15d
mov    $0xffffffff,%r12d
mov    $0xffffffff,%esi
xor    %eax,%eax
call   1070 <skipspace@plt>
cltq
movsbl (%rax),%eax
cmp    $0x2c,%eax
je     11b6 <test1+0x66>
cmp    $0x29,%eax
je     11b0 <test1+0x60>
cmp    $0x28,%eax
je     11b6 <test1+0x66>
jmp    1270 <test1+0x120>
xor    %r15d,%r15d
jmp    1270 <test1+0x120>
mov    $0x1,%r12d
lea    -0x1(%r14),%rbp
movabs $0xffffffff00000000,%r13
ff ff ff
movabs $0x100000000,%r15
xchg   %ax,%ax
add    %r15,%r13
movzbl 0x1(%rbp),%ebx
add    $0x1,%rbp
movsbl %bl,%edi
call   1050 <isalnum@plt>
test   %eax,%eax
jne    11d0 <test1+0x80>
cmp    $0x5f,%bl
je     11d0 <test1+0x80>
xor    %r15d,%r15d
mov    %rbp,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <skipspace@plt>
movslq %eax,%rdi
cmpb   $0x28,(%rdi)
jne    1270 <test1+0x120>
add    $0x1,%rdi
xor    %r15d,%r15d
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <skipspace@plt>
cltq
cmpb   $0x29,(%rax)
je     1270 <test1+0x120>
sar    $0x20,%r13
lea    0xdd5(%rip),%rbp
lea    0x2b26(%rip),%rbx
jmp    124c <test1+0xfc>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    (%rbx),%rbp
add    $0x8,%rbx
test   %rbp,%rbp
je     126d <test1+0x11d>
mov    %rbp,%rdi
call   1040 <strlen@plt>
cmp    %r13,%rax
jne    1240 <test1+0xf0>
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r13,%rdx
call   1030 <strncmp@plt>
test   %eax,%eax
jne    1240 <test1+0xf0>
jmp    1270 <test1+0x120>
mov    %r12d,%r15d
mov    %r15d,%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 %18, label %17
17: ; preds = %1
store i32 0, i32* %2
br label %102
18: ; preds = %1
%19 = load i8*, i8** %3
%20 = load i8*, i8** %3
%21 = call i64 @strlen(i8* %20)
%22 = getelementptr inbounds i8, i8* %19, i64 %21
%23 = getelementptr inbounds i8, i8* %22, i64 -1
%24 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %23, i32 -1)
%25 = sext i32 %24 to i64
%26 = inttoptr i64 %25 to i8*
store i8* %26, i8** %5
%27 = load i8*, i8** %5
%28 = load i8, i8* %27
%29 = sext i8 %28 to i32
switch i32 %29, label %32 [
i32 41, label %30
i32 40, label %31
i32 44, label %31
]
30: ; preds = %18
store i32 1, i32* %7
br label %33
31: ; preds = %18, %18
store i32 -1, i32* %7
br label %33
32: ; preds = %18
store i32 0, i32* %2
br label %102
33: ; preds = %31, %30
br label %34
34: ; preds = %47, %33
%35 = load i8*, i8** %4
%36 = load i8, i8* %35
%37 = sext i8 %36 to i32
%38 = call i32 @isalnum(i32 %37)
%39 = icmp ne i32 %38, 0
br i1 %39, label %45, label %40
40: ; preds = %34
%41 = load i8*, i8** %4
%42 = load i8, i8* %41
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 95
br label %45
45: ; preds = %40, %34
%46 = phi i1 [ true, %34 ], [ %44, %40 ]
br i1 %46, label %47, label %50
47: ; preds = %45
%48 = load i8*, i8** %4
%49 = getelementptr inbounds i8, i8* %48, i32 1
store i8* %49, i8** %4
br label %34
50: ; preds = %45
%51 = load i8*, i8** %4
store i8* %51, i8** %6
%52 = load i8*, i8** %4
%53 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %52, i32 1)
%54 = sext i32 %53 to i64
%55 = inttoptr i64 %54 to i8*
store i8* %55, i8** %4
%56 = load i8*, i8** %4
%57 = getelementptr inbounds i8, i8* %56, i32 1
store i8* %57, i8** %4
%58 = load i8, i8* %56
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 40
br i1 %60, label %61, label %62
61: ; preds = %50
store i32 0, i32* %2
br label %102
62: ; preds = %50
%63 = load i8*, i8** %4
%64 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %63, i32 1)
%65 = sext i32 %64 to i64
%66 = inttoptr i64 %65 to i8*
store i8* %66, i8** %4
%67 = load i8*, i8** %4
%68 = load i8, i8* %67
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 41
br i1 %70, label %71, label %72
71: ; preds = %62
store i32 0, i32* %2
br label %102
72: ; preds = %62
store i8** getelementptr inbounds ([25 x i8*], [25 x i8*]* @test1.words, i64 0, i64 0), i8*** %8
%73 = load i8*, i8** %6
%74 = load i8*, i8** %3
%75 = ptrtoint i8* %73 to i64
%76 = ptrtoint i8* %74 to i64
%77 = sub i64 %75, %76
%78 = trunc i64 %77 to i32
store i32 %78, i32* %10
br label %79
79: ; preds = %97, %72
%80 = load i8**, i8*** %8
%81 = load i8*, i8** %80
store i8* %81, i8** %9
%82 = icmp ne i8* %81, null
br i1 %82, label %83, label %100
83: ; preds = %79
%84 = load i8*, i8** %9
%85 = call i64 @strlen(i8* %84)
%86 = load i32, i32* %10
%87 = sext i32 %86 to i64
%88 = icmp eq i64 %85, %87
br i1 %88, label %89, label %97
89: ; preds = %83
%90 = load i8*, i8** %9
%91 = load i8*, i8** %3
%92 = load i32, i32* %10
%93 = sext i32 %92 to i64
%94 = call i32 @strncmp(i8* %90, i8* %91, i64 %93)
%95 = icmp ne i32 %94, 0
br i1 %95, label %97, label %96
96: ; preds = %89
store i32 0, i32* %2
br label %102
97: ; preds = %89, %83
%98 = load i8**, i8*** %8
%99 = getelementptr inbounds i8*, i8** %98, i32 1
store i8** %99, i8*** %8
br label %79
100: ; preds = %79
%101 = load i32, i32* %7
store i32 %101, i32* %2
br label %102
102: ; preds = %100, %96, %71, %61, %32, %17
%103 = load i32, i32* %2
ret i32 %103
}

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 eq i32 %4, 0
br i1 %5, label %58, label %6
6: ; preds = %1
%7 = tail call i64 @strlen(i8* %0)
%8 = getelementptr inbounds i8, i8* %0, i64 %7
%9 = getelementptr inbounds i8, i8* %8, i64 -1
%10 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %9, i32 -1)
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to i8*
%13 = load i8, i8* %12
%14 = sext i8 %13 to i32
switch i32 %14, label %58 [
i32 41, label %16
i32 40, label %15
i32 44, label %15
]
15: ; preds = %6, %6
br label %16
16: ; preds = %6, %15
%17 = phi i32 [ -1, %15 ], [ 1, %6 ]
br label %18
18: ; preds = %18, %16
%19 = phi i8* [ %0, %16 ], [ %26, %18 ]
%20 = load i8, i8* %19
%21 = sext i8 %20 to i32
%22 = tail call i32 @isalnum(i32 %21)
%23 = icmp ne i32 %22, 0
%24 = icmp eq i8 %20, 95
%25 = select i1 %23, i1 true, i1 %24
%26 = getelementptr inbounds i8, i8* %19, i64 1
br i1 %25, label %18, label %27
27: ; preds = %18
%28 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %19, i32 1)
%29 = sext i32 %28 to i64
%30 = inttoptr i64 %29 to i8*
%31 = load i8, i8* %30
%32 = icmp eq i8 %31, 40
br i1 %32, label %33, label %58
33: ; preds = %27
%34 = getelementptr inbounds i8, i8* %30, i64 1
%35 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @skipspace to i32 (i8*, i32, ...)*)(i8* %34, i32 1)
%36 = sext i32 %35 to i64
%37 = inttoptr i64 %36 to i8*
%38 = load i8, i8* %37
%39 = icmp eq i8 %38, 41
br i1 %39, label %58, label %40
40: ; preds = %33
%41 = ptrtoint i8* %19 to i64
%42 = ptrtoint i8* %0 to i64
%43 = sub i64 %41, %42
%44 = shl i64 %43, 32
%45 = ashr exact i64 %44, 32
br label %46
46: ; preds = %40, %54
%47 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), %40 ], [ %56, %54 ]
%48 = phi i8** [ getelementptr inbounds ([25 x i8*], [25 x i8*]* @test1.words, i64 0, i64 0), %40 ], [ %55, %54 ]
%49 = tail call i64 @strlen(i8* %47)
%50 = icmp eq i64 %49, %45
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = tail call i32 @strncmp(i8* %47, i8* %0, i64 %45)
%53 = icmp eq i32 %52, 0
br i1 %53, label %58, label %54
54: ; preds = %51, %46
%55 = getelementptr inbounds i8*, i8** %48, i64 1
%56 = load i8*, i8** %55
%57 = icmp eq i8* %56, null
br i1 %57, label %58, label %46
58: ; preds = %51, %54, %33, %27, %6, %1
%59 = phi i32 [ 0, %1 ], [ 0, %6 ], [ 0, %27 ], [ 0, %33 ], [ 0, %51 ], [ %17, %54 ]
ret i32 %59
}