int scan(const char *s, int l) {
  const char *p = s;
  const char *q;
  {
    char yych;
    unsigned int yyaccept = 0;
    if (((s + l) - p) < 7)
      ;
    yych = *p;
    switch (yych) {
    case '\n':
    case 'q':
      goto yy7;
    case 'A':
      goto yy2;
    case 'a':
      goto yy4;
    default:
      goto yy6;
    }
  yy2:
    yyaccept = 0;
    yych = *(q = ++p);
    switch (yych) {
    case '\n':
      goto yy10;
    case 'A':
    case 'a':
      goto yy8;
    default:
      goto yy3;
    }
  yy3 : { return 5; }
  yy4:
    yyaccept = 1;
    yych = *(q = ++p);
    switch (yych) {
    case '\n':
      goto yy10;
    case 'A':
    case 'a':
      goto yy8;
    default:
      goto yy5;
    }
  yy5 : { return 0; }
  yy6:
    yych = *++p;
    goto yy3;
  yy7:
    yych = *++p;
    goto yy5;
  yy8:
    yych = *++p;
    switch (yych) {
    case '\n':
      goto yy13;
    case 'A':
    case 'a':
      goto yy12;
    default:
      goto yy9;
    }
  yy9:
    p = q;
    if (yyaccept == 0) {
      goto yy3;
    } else {
      goto yy5;
    }
  yy10:
    ++p;
    { return 1; }
  yy12:
    yych = *++p;
    switch (yych) {
    case '\n':
      goto yy13;
    case 'A':
    case 'a':
      goto yy15;
    default:
      goto yy9;
    }
  yy13:
    ++p;
    { return 2; }
  yy15:
    yych = *++p;
    switch (yych) {
    case '\n':
      goto yy17;
    case 'A':
    case 'a':
      goto yy16;
    default:
      goto yy9;
    }
  yy16:
    yych = *++p;
    switch (yych) {
    case '\n':
      goto yy17;
    case 'A':
    case 'a':
      goto yy19;
    default:
      goto yy9;
    }
  yy17:
    ++p;
    { return 4; }
  yy19:
    yych = *++p;
    switch (yych) {
    case '\n':
      goto yy20;
    default:
      goto yy23;
    }
  yy20:
    ++p;
    { return 3; }
  yy22:
    ++p;
    if ((s + l) <= p)
      ;
    yych = *p;
  yy23:
    switch (yych) {
    case '\n':
      goto yy17;
    case 'A':
    case 'a':
      goto yy22;
    default:
      goto yy9;
    }
  }
}


x86 assembly (clang, -O0):
<scan>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
movl   $0x0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
add    %rcx,%rax
mov    -0x20(%rbp),%rcx
sub    %rcx,%rax
cmp    $0x7,%rax
jge    113b <scan+0x3b>
jmp    113b <scan+0x3b>
mov    -0x20(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x29(%rbp)
movsbl -0x29(%rbp),%eax
mov    %eax,-0x34(%rbp)
sub    $0xa,%eax
je     118c <scan+0x8c>
jmp    1159 <scan+0x59>
mov    -0x34(%rbp),%eax
sub    $0x41,%eax
je     1191 <scan+0x91>
jmp    116a <scan+0x6a>
mov    -0x34(%rbp),%eax
sub    $0x61,%eax
je     1196 <scan+0x96>
jmp    117b <scan+0x7b>
mov    -0x34(%rbp),%eax
sub    $0x71,%eax
jne    119b <scan+0x9b>
jmp    118c <scan+0x8c>
jmp    129e <scan+0x19e>
jmp    11a0 <scan+0xa0>
jmp    1212 <scan+0x112>
jmp    1284 <scan+0x184>
movl   $0x0,-0x30(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x29(%rbp)
movsbl -0x29(%rbp),%eax
mov    %eax,-0x38(%rbp)
sub    $0xa,%eax
je     11f7 <scan+0xf7>
jmp    11d5 <scan+0xd5>
mov    -0x38(%rbp),%eax
sub    $0x41,%eax
je     11fc <scan+0xfc>
jmp    11e6 <scan+0xe6>
mov    -0x38(%rbp),%eax
sub    $0x61,%eax
je     11fc <scan+0xfc>
jmp    1201 <scan+0x101>
jmp    132f <scan+0x22f>
jmp    12b8 <scan+0x1b8>
jmp    1206 <scan+0x106>
movl   $0x5,-0x4(%rbp)
jmp    1544 <scan+0x444>
movl   $0x1,-0x30(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x29(%rbp)
movsbl -0x29(%rbp),%eax
mov    %eax,-0x3c(%rbp)
sub    $0xa,%eax
je     1269 <scan+0x169>
jmp    1247 <scan+0x147>
mov    -0x3c(%rbp),%eax
sub    $0x41,%eax
je     126e <scan+0x16e>
jmp    1258 <scan+0x158>
mov    -0x3c(%rbp),%eax
sub    $0x61,%eax
je     126e <scan+0x16e>
jmp    1273 <scan+0x173>
jmp    132f <scan+0x22f>
jmp    12b8 <scan+0x1b8>
jmp    1278 <scan+0x178>
movl   $0x0,-0x4(%rbp)
jmp    1544 <scan+0x444>
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x29(%rbp)
jmp    1206 <scan+0x106>
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x29(%rbp)
jmp    1278 <scan+0x178>
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x29(%rbp)
movsbl -0x29(%rbp),%eax
mov    %eax,-0x40(%rbp)
sub    $0xa,%eax
je     1304 <scan+0x204>
jmp    12e2 <scan+0x1e2>
mov    -0x40(%rbp),%eax
sub    $0x41,%eax
je     1309 <scan+0x209>
jmp    12f3 <scan+0x1f3>
mov    -0x40(%rbp),%eax
sub    $0x61,%eax
je     1309 <scan+0x209>
jmp    130e <scan+0x20e>
jmp    13a2 <scan+0x2a2>
jmp    1347 <scan+0x247>
jmp    1313 <scan+0x213>
mov    -0x28(%rbp),%rax
mov    %rax,-0x20(%rbp)
cmpl   $0x0,-0x30(%rbp)
jne    132a <scan+0x22a>
jmp    1206 <scan+0x106>
jmp    1278 <scan+0x178>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
movl   $0x1,-0x4(%rbp)
jmp    1544 <scan+0x444>
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x29(%rbp)
movsbl -0x29(%rbp),%eax
mov    %eax,-0x44(%rbp)
sub    $0xa,%eax
je     1393 <scan+0x293>
jmp    1371 <scan+0x271>
mov    -0x44(%rbp),%eax
sub    $0x41,%eax
je     1398 <scan+0x298>
jmp    1382 <scan+0x282>
mov    -0x44(%rbp),%eax
sub    $0x61,%eax
je     1398 <scan+0x298>
jmp    139d <scan+0x29d>
jmp    13a2 <scan+0x2a2>
jmp    13ba <scan+0x2ba>
jmp    1313 <scan+0x213>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
movl   $0x2,-0x4(%rbp)
jmp    1544 <scan+0x444>
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x29(%rbp)
movsbl -0x29(%rbp),%eax
mov    %eax,-0x48(%rbp)
sub    $0xa,%eax
je     1406 <scan+0x306>
jmp    13e4 <scan+0x2e4>
mov    -0x48(%rbp),%eax
sub    $0x41,%eax
je     140b <scan+0x30b>
jmp    13f5 <scan+0x2f5>
mov    -0x48(%rbp),%eax
sub    $0x61,%eax
je     140b <scan+0x30b>
jmp    1410 <scan+0x310>
jmp    1470 <scan+0x370>
jmp    1415 <scan+0x315>
jmp    1313 <scan+0x213>
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x29(%rbp)
movsbl -0x29(%rbp),%eax
mov    %eax,-0x4c(%rbp)
sub    $0xa,%eax
je     1461 <scan+0x361>
jmp    143f <scan+0x33f>
mov    -0x4c(%rbp),%eax
sub    $0x41,%eax
je     1466 <scan+0x366>
jmp    1450 <scan+0x350>
mov    -0x4c(%rbp),%eax
sub    $0x61,%eax
je     1466 <scan+0x366>
jmp    146b <scan+0x36b>
jmp    1470 <scan+0x370>
jmp    1488 <scan+0x388>
jmp    1313 <scan+0x213>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
movl   $0x4,-0x4(%rbp)
jmp    1544 <scan+0x444>
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x20(%rbp)
mov    0x1(%rax),%al
mov    %al,-0x29(%rbp)
mov    -0x29(%rbp),%al
sub    $0xa,%al
jne    14b2 <scan+0x3b2>
jmp    14ad <scan+0x3ad>
jmp    14b7 <scan+0x3b7>
jmp    14fe <scan+0x3fe>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
movl   $0x3,-0x4(%rbp)
jmp    1544 <scan+0x444>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
add    %rcx,%rax
cmp    -0x20(%rbp),%rax
ja     14f5 <scan+0x3f5>
jmp    14f5 <scan+0x3f5>
mov    -0x20(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x29(%rbp)
movsbl -0x29(%rbp),%eax
mov    %eax,-0x50(%rbp)
sub    $0xa,%eax
je     1535 <scan+0x435>
jmp    1513 <scan+0x413>
mov    -0x50(%rbp),%eax
sub    $0x41,%eax
je     153a <scan+0x43a>
jmp    1524 <scan+0x424>
mov    -0x50(%rbp),%eax
sub    $0x61,%eax
je     153a <scan+0x43a>
jmp    153f <scan+0x43f>
jmp    1470 <scan+0x370>
jmp    14cf <scan+0x3cf>
jmp    1313 <scan+0x213>
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<scan>:
movsbl (%rdi),%ecx
mov    $0x5,%eax
cmp    $0x60,%ecx
jg     1131 <scan+0x31>
cmp    $0xa,%ecx
je     113b <scan+0x3b>
cmp    $0x41,%ecx
jne    1130 <scan+0x30>
movsbl 0x1(%rdi),%edx
cmp    $0xa,%edx
je     11e3 <scan+0xe3>
mov    $0x1,%cl
cmp    $0x41,%edx
je     1157 <scan+0x57>
cmp    $0x61,%edx
je     1157 <scan+0x57>
ret
cmp    $0x61,%ecx
je     113e <scan+0x3e>
cmp    $0x71,%ecx
jne    1130 <scan+0x30>
xor    %eax,%eax
ret
movsbl 0x1(%rdi),%eax
cmp    $0xa,%eax
je     11e3 <scan+0xe3>
xor    %ecx,%ecx
cmp    $0x41,%eax
je     1157 <scan+0x57>
cmp    $0x61,%eax
jne    113b <scan+0x3b>
movsbl 0x2(%rdi),%edx
mov    $0x2,%eax
cmp    $0xa,%edx
je     1130 <scan+0x30>
cmp    $0x41,%edx
je     116f <scan+0x6f>
cmp    $0x61,%edx
jne    11e9 <scan+0xe9>
movsbl 0x3(%rdi),%edx
cmp    $0xa,%edx
je     1130 <scan+0x30>
cmp    $0x61,%edx
je     1182 <scan+0x82>
cmp    $0x41,%edx
jne    11e9 <scan+0xe9>
movsbl 0x4(%rdi),%edx
mov    $0x4,%eax
cmp    $0xa,%edx
je     1130 <scan+0x30>
cmp    $0x61,%edx
je     119a <scan+0x9a>
cmp    $0x41,%edx
jne    11e9 <scan+0xe9>
movsbl 0x5(%rdi),%edx
cmp    $0xa,%edx
je     1130 <scan+0x30>
cmp    $0x61,%edx
je     11ad <scan+0xad>
cmp    $0x41,%edx
jne    11e9 <scan+0xe9>
mov    0x6(%rdi),%dl
mov    $0x3,%eax
cmp    $0xa,%dl
je     1130 <scan+0x30>
add    $0x7,%rdi
jmp    11cb <scan+0xcb>
movzbl (%rdi),%edx
add    $0x1,%rdi
movsbl %dl,%eax
cmp    $0x41,%eax
je     11c4 <scan+0xc4>
cmp    $0x61,%eax
je     11c4 <scan+0xc4>
cmp    $0xa,%eax
jne    11e9 <scan+0xe9>
mov    $0x4,%eax
ret
mov    $0x1,%eax
ret
mov    $0x5,%eax
test   %cl,%cl
jne    1130 <scan+0x30>
jmp    113b <scan+0x3b>

LLVM IR (-O0):
define i32 @scan(i8* %0, i32 %1) {
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8
%9 = alloca i32
store i8* %0, i8** %4
store i32 %1, i32* %5
%10 = load i8*, i8** %4
store i8* %10, i8** %6
store i32 0, i32* %9
%11 = load i8*, i8** %4
%12 = load i32, i32* %5
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, i8* %11, i64 %13
%15 = load i8*, i8** %6
%16 = ptrtoint i8* %14 to i64
%17 = ptrtoint i8* %15 to i64
%18 = sub i64 %16, %17
%19 = icmp slt i64 %18, 7
br i1 %19, label %20, label %21
20: ; preds = %2
br label %21
21: ; preds = %20, %2
%22 = load i8*, i8** %6
%23 = load i8, i8* %22
store i8 %23, i8* %8
%24 = load i8, i8* %8
%25 = sext i8 %24 to i32
switch i32 %25, label %29 [
i32 10, label %26
i32 113, label %26
i32 65, label %27
i32 97, label %28
]
26: ; preds = %21, %21
br label %54
27: ; preds = %21
br label %30
28: ; preds = %21
br label %40
29: ; preds = %21
br label %50
30: ; preds = %27
store i32 0, i32* %9
%31 = load i8*, i8** %6
%32 = getelementptr inbounds i8, i8* %31, i32 1
store i8* %32, i8** %6
store i8* %32, i8** %7
%33 = load i8, i8* %32
store i8 %33, i8* %8
%34 = load i8, i8* %8
%35 = sext i8 %34 to i32
switch i32 %35, label %38 [
i32 10, label %36
i32 65, label %37
i32 97, label %37
]
36: ; preds = %30
br label %73
37: ; preds = %30, %30
br label %58
38: ; preds = %30
br label %39
39: ; preds = %71, %50, %38
store i32 5, i32* %3
br label %139
40: ; preds = %28
store i32 1, i32* %9
%41 = load i8*, i8** %6
%42 = getelementptr inbounds i8, i8* %41, i32 1
store i8* %42, i8** %6
store i8* %42, i8** %7
%43 = load i8, i8* %42
store i8 %43, i8* %8
%44 = load i8, i8* %8
%45 = sext i8 %44 to i32
switch i32 %45, label %48 [
i32 10, label %46
i32 65, label %47
i32 97, label %47
]
46: ; preds = %40
br label %73
47: ; preds = %40, %40
br label %58
48: ; preds = %40
br label %49
49: ; preds = %72, %54, %48
store i32 0, i32* %3
br label %139
50: ; preds = %29
%51 = load i8*, i8** %6
%52 = getelementptr inbounds i8, i8* %51, i32 1
store i8* %52, i8** %6
%53 = load i8, i8* %52
store i8 %53, i8* %8
br label %39
54: ; preds = %26
%55 = load i8*, i8** %6
%56 = getelementptr inbounds i8, i8* %55, i32 1
store i8* %56, i8** %6
%57 = load i8, i8* %56
store i8 %57, i8* %8
br label %49
58: ; preds = %47, %37
%59 = load i8*, i8** %6
%60 = getelementptr inbounds i8, i8* %59, i32 1
store i8* %60, i8** %6
%61 = load i8, i8* %60
store i8 %61, i8* %8
%62 = load i8, i8* %8
%63 = sext i8 %62 to i32
switch i32 %63, label %66 [
i32 10, label %64
i32 65, label %65
i32 97, label %65
]
64: ; preds = %58
br label %85
65: ; preds = %58, %58
br label %76
66: ; preds = %58
br label %67
67: ; preds = %138, %105, %96, %84, %66
%68 = load i8*, i8** %7
store i8* %68, i8** %6
%69 = load i32, i32* %9
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %67
br label %39
72: ; preds = %67
br label %49
73: ; preds = %46, %36
%74 = load i8*, i8** %6
%75 = getelementptr inbounds i8, i8* %74, i32 1
store i8* %75, i8** %6
store i32 1, i32* %3
br label %139
76: ; preds = %65
%77 = load i8*, i8** %6
%78 = getelementptr inbounds i8, i8* %77, i32 1
store i8* %78, i8** %6
%79 = load i8, i8* %78
store i8 %79, i8* %8
%80 = load i8, i8* %8
%81 = sext i8 %80 to i32
switch i32 %81, label %84 [
i32 10, label %82
i32 65, label %83
i32 97, label %83
]
82: ; preds = %76
br label %85
83: ; preds = %76, %76
br label %88
84: ; preds = %76
br label %67
85: ; preds = %82, %64
%86 = load i8*, i8** %6
%87 = getelementptr inbounds i8, i8* %86, i32 1
store i8* %87, i8** %6
store i32 2, i32* %3
br label %139
88: ; preds = %83
%89 = load i8*, i8** %6
%90 = getelementptr inbounds i8, i8* %89, i32 1
store i8* %90, i8** %6
%91 = load i8, i8* %90
store i8 %91, i8* %8
%92 = load i8, i8* %8
%93 = sext i8 %92 to i32
switch i32 %93, label %96 [
i32 10, label %94
i32 65, label %95
i32 97, label %95
]
94: ; preds = %88
br label %106
95: ; preds = %88, %88
br label %97
96: ; preds = %88
br label %67
97: ; preds = %95
%98 = load i8*, i8** %6
%99 = getelementptr inbounds i8, i8* %98, i32 1
store i8* %99, i8** %6
%100 = load i8, i8* %99
store i8 %100, i8* %8
%101 = load i8, i8* %8
%102 = sext i8 %101 to i32
switch i32 %102, label %105 [
i32 10, label %103
i32 65, label %104
i32 97, label %104
]
103: ; preds = %97
br label %106
104: ; preds = %97, %97
br label %109
105: ; preds = %97
br label %67
106: ; preds = %136, %103, %94
%107 = load i8*, i8** %6
%108 = getelementptr inbounds i8, i8* %107, i32 1
store i8* %108, i8** %6
store i32 4, i32* %3
br label %139
109: ; preds = %104
%110 = load i8*, i8** %6
%111 = getelementptr inbounds i8, i8* %110, i32 1
store i8* %111, i8** %6
%112 = load i8, i8* %111
store i8 %112, i8* %8
%113 = load i8, i8* %8
%114 = sext i8 %113 to i32
switch i32 %114, label %116 [
i32 10, label %115
]
115: ; preds = %109
br label %117
116: ; preds = %109
br label %133
117: ; preds = %115
%118 = load i8*, i8** %6
%119 = getelementptr inbounds i8, i8* %118, i32 1
store i8* %119, i8** %6
store i32 3, i32* %3
br label %139
120: ; preds = %137
%121 = load i8*, i8** %6
%122 = getelementptr inbounds i8, i8* %121, i32 1
store i8* %122, i8** %6
%123 = load i8*, i8** %4
%124 = load i32, i32* %5
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, i8* %123, i64 %125
%127 = load i8*, i8** %6
%128 = icmp ule i8* %126, %127
br i1 %128, label %129, label %130
129: ; preds = %120
br label %130
130: ; preds = %129, %120
%131 = load i8*, i8** %6
%132 = load i8, i8* %131
store i8 %132, i8* %8
br label %133
133: ; preds = %130, %116
%134 = load i8, i8* %8
%135 = sext i8 %134 to i32
switch i32 %135, label %138 [
i32 10, label %136
i32 65, label %137
i32 97, label %137
]
136: ; preds = %133
br label %106
137: ; preds = %133, %133
br label %120
138: ; preds = %133
br label %67
139: ; preds = %117, %106, %85, %73, %49, %39
%140 = load i32, i32* %3
ret i32 %140
}

LLVM IR (-O2):
define i32 @scan(i8* nocapture %0, i32 %1) {
%3 = load i8, i8* %0
%4 = sext i8 %3 to i32
switch i32 %4, label %44 [
i32 10, label %13
i32 113, label %13
i32 65, label %5
i32 97, label %9
]
5: ; preds = %2
%6 = getelementptr inbounds i8, i8* %0, i64 1
%7 = load i8, i8* %6
%8 = sext i8 %7 to i32
switch i32 %8, label %44 [
i32 10, label %20
i32 65, label %14
i32 97, label %14
]
9: ; preds = %2
%10 = getelementptr inbounds i8, i8* %0, i64 1
%11 = load i8, i8* %10
%12 = sext i8 %11 to i32
switch i32 %12, label %13 [
i32 10, label %20
i32 65, label %14
i32 97, label %14
]
13: ; preds = %2, %2, %19, %9
br label %44
14: ; preds = %9, %9, %5, %5
%15 = phi i1 [ false, %9 ], [ false, %9 ], [ true, %5 ], [ true, %5 ]
%16 = getelementptr inbounds i8, i8* %0, i64 2
%17 = load i8, i8* %16
%18 = sext i8 %17 to i32
switch i32 %18, label %19 [
i32 10, label %44
i32 65, label %21
i32 97, label %21
]
19: ; preds = %37, %29, %25, %21, %14
br i1 %15, label %44, label %13
20: ; preds = %9, %5
br label %44
21: ; preds = %14, %14
%22 = getelementptr inbounds i8, i8* %0, i64 3
%23 = load i8, i8* %22
%24 = sext i8 %23 to i32
switch i32 %24, label %19 [
i32 10, label %44
i32 65, label %25
i32 97, label %25
]
25: ; preds = %21, %21
%26 = getelementptr inbounds i8, i8* %0, i64 4
%27 = load i8, i8* %26
%28 = sext i8 %27 to i32
switch i32 %28, label %19 [
i32 10, label %44
i32 65, label %29
i32 97, label %29
]
29: ; preds = %25, %25
%30 = getelementptr inbounds i8, i8* %0, i64 5
%31 = load i8, i8* %30
%32 = sext i8 %31 to i32
switch i32 %32, label %19 [
i32 10, label %44
i32 65, label %33
i32 97, label %33
]
33: ; preds = %29, %29
%34 = getelementptr inbounds i8, i8* %0, i64 6
%35 = load i8, i8* %34
%36 = icmp eq i8 %35, 10
br i1 %36, label %44, label %37
37: ; preds = %33, %41
%38 = phi i8* [ %42, %41 ], [ %34, %33 ]
%39 = phi i8 [ %43, %41 ], [ %35, %33 ]
%40 = sext i8 %39 to i32
switch i32 %40, label %19 [
i32 10, label %44
i32 65, label %41
i32 97, label %41
]
41: ; preds = %37, %37
%42 = getelementptr inbounds i8, i8* %38, i64 1
%43 = load i8, i8* %42
br label %37
44: ; preds = %37, %33, %25, %29, %14, %21, %2, %5, %19, %20, %13
%45 = phi i32 [ 0, %13 ], [ 1, %20 ], [ 5, %19 ], [ 5, %5 ], [ 5, %2 ], [ 2, %21 ], [ 2, %14 ], [ 4, %29 ], [ 4, %25 ], [ 3, %33 ], [ 4, %37 ]
ret i32 %45
}