#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 */
unsigned int readNextArrayValue(char *, char **, char **, unsigned char *);
unsigned int readNextName(char *, char **, char **, unsigned int *);
unsigned int readNextValue(char *, char **, char **, unsigned char *);
unsigned int validateIdiom(char *, unsigned char *);
unsigned int validateExpression(char *rule) {
  char *first;
  char *last;
  unsigned char type;
  unsigned char operator= 0;
  unsigned int hash;
  unsigned int result = readNextName(rule, &first, &last, &hash);
  if (result != 0) {
    return result;
  }
  switch (hash) {
  case 193419647:
    operator= 0x05;
    break;
  case 2087890573:
    operator= 0x06;
    break;
  case 193419716:
    operator= 0x03;
    break;
  case 2087883433:
    operator= 0x04;
    break;
  case 193419654:
    operator= 0x07;
    break;
  case 2087890580:
    operator= 0x08;
    break;
  case 193419881:
    operator= 0x01;
    break;
  case 2087888878:
    operator= 0x02;
    break;
  case 2087876700:
  case 193419978:
    result = readNextValue(last, &first, &last, &type);
    if (type != 0x05) {
      return 2;
    }
    result = readNextArrayValue(first, &first, &last, &type);
    while (result == 0) {
      result = validateExpression(first);
      if (result != 0) {
        return result;
      }
      result = readNextArrayValue(last, &first, &last, &type);
    }
    return (result == 100 ? 0 : result);
  }
  if (operator== 0) {
    operator= 0x05;
    first = rule;
  } else {
    result = readNextValue(last, &first, &last, &type);
    if (result != 0) {
      return result;
    }
    if (type != 0x06) {
      return 2;
    }
  }
  result = readNextName(first, &first, &last, &hash);
  if (result != 0) {
    return result;
  }
  result = readNextValue(last, &first, &last, &type);
  if (result != 0) {
    return result;
  }
  if (type == 0x05) {
    return 2;
  }
  if (type == 0x06) {
    unsigned char idiomType = 0;
    result = validateIdiom(first, &idiomType);
    if (result != 0) {
      return result;
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<validateExpression>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x10(%rbp)
movb   $0x0,-0x22(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x20(%rbp),%rdx
lea    -0x28(%rbp),%rcx
call   1070 <readNextName@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
je     118d <validateExpression+0x3d>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    146a <validateExpression+0x31a>
mov    -0x28(%rbp),%eax
mov    %eax,-0x34(%rbp)
sub    $0xb87597f,%eax
je     124e <validateExpression+0xfe>
jmp    11a3 <validateExpression+0x53>
mov    -0x34(%rbp),%eax
sub    $0xb875986,%eax
je     1272 <validateExpression+0x122>
jmp    11b6 <validateExpression+0x66>
mov    -0x34(%rbp),%eax
sub    $0xb8759c4,%eax
je     1260 <validateExpression+0x110>
jmp    11c9 <validateExpression+0x79>
mov    -0x34(%rbp),%eax
sub    $0xb875a69,%eax
je     1284 <validateExpression+0x134>
jmp    11dc <validateExpression+0x8c>
mov    -0x34(%rbp),%eax
sub    $0xb875aca,%eax
je     1296 <validateExpression+0x146>
jmp    11ef <validateExpression+0x9f>
mov    -0x34(%rbp),%eax
sub    $0x7c72785c,%eax
je     1296 <validateExpression+0x146>
jmp    1202 <validateExpression+0xb2>
mov    -0x34(%rbp),%eax
sub    $0x7c7292a9,%eax
je     1269 <validateExpression+0x119>
jmp    1215 <validateExpression+0xc5>
mov    -0x34(%rbp),%eax
sub    $0x7c72a7ee,%eax
je     128d <validateExpression+0x13d>
jmp    1228 <validateExpression+0xd8>
mov    -0x34(%rbp),%eax
sub    $0x7c72ae8d,%eax
je     1257 <validateExpression+0x107>
jmp    123b <validateExpression+0xeb>
mov    -0x34(%rbp),%eax
sub    $0x7c72ae94,%eax
je     127b <validateExpression+0x12b>
jmp    134c <validateExpression+0x1fc>
movb   $0x5,-0x22(%rbp)
jmp    134c <validateExpression+0x1fc>
movb   $0x6,-0x22(%rbp)
jmp    134c <validateExpression+0x1fc>
movb   $0x3,-0x22(%rbp)
jmp    134c <validateExpression+0x1fc>
movb   $0x4,-0x22(%rbp)
jmp    134c <validateExpression+0x1fc>
movb   $0x7,-0x22(%rbp)
jmp    134c <validateExpression+0x1fc>
movb   $0x8,-0x22(%rbp)
jmp    134c <validateExpression+0x1fc>
movb   $0x1,-0x22(%rbp)
jmp    134c <validateExpression+0x1fc>
movb   $0x2,-0x22(%rbp)
jmp    134c <validateExpression+0x1fc>
mov    -0x20(%rbp),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x20(%rbp),%rdx
lea    -0x21(%rbp),%rcx
call   1060 <readNextValue@plt>
mov    %eax,-0x2c(%rbp)
movzbl -0x21(%rbp),%eax
cmp    $0x5,%eax
je     12c7 <validateExpression+0x177>
movl   $0x2,-0x4(%rbp)
jmp    146a <validateExpression+0x31a>
mov    -0x18(%rbp),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x20(%rbp),%rdx
lea    -0x21(%rbp),%rcx
call   1030 <readNextArrayValue@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jne    1327 <validateExpression+0x1d7>
mov    -0x18(%rbp),%rdi
call   1050 <validateExpression@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
je     130a <validateExpression+0x1ba>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    146a <validateExpression+0x31a>
mov    -0x20(%rbp),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x20(%rbp),%rdx
lea    -0x21(%rbp),%rcx
call   1030 <readNextArrayValue@plt>
mov    %eax,-0x2c(%rbp)
jmp    12df <validateExpression+0x18f>
cmpl   $0x64,-0x2c(%rbp)
jne    133b <validateExpression+0x1eb>
xor    %eax,%eax
mov    %eax,-0x38(%rbp)
jmp    1341 <validateExpression+0x1f1>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x38(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    146a <validateExpression+0x31a>
movzbl -0x22(%rbp),%eax
cmp    $0x0,%eax
jne    136a <validateExpression+0x21a>
movb   $0x5,-0x22(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
jmp    13b5 <validateExpression+0x265>
mov    -0x20(%rbp),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x20(%rbp),%rdx
lea    -0x21(%rbp),%rcx
call   1060 <readNextValue@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
je     1397 <validateExpression+0x247>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    146a <validateExpression+0x31a>
movzbl -0x21(%rbp),%eax
cmp    $0x6,%eax
je     13b0 <validateExpression+0x260>
movl   $0x2,-0x4(%rbp)
jmp    146a <validateExpression+0x31a>
jmp    13b5 <validateExpression+0x265>
mov    -0x18(%rbp),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x20(%rbp),%rdx
lea    -0x28(%rbp),%rcx
call   1070 <readNextName@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
je     13e2 <validateExpression+0x292>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    146a <validateExpression+0x31a>
mov    -0x20(%rbp),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x20(%rbp),%rdx
lea    -0x21(%rbp),%rcx
call   1060 <readNextValue@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
je     140f <validateExpression+0x2bf>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    146a <validateExpression+0x31a>
movzbl -0x21(%rbp),%eax
cmp    $0x5,%eax
jne    1428 <validateExpression+0x2d8>
movl   $0x2,-0x4(%rbp)
jmp    146a <validateExpression+0x31a>
movzbl -0x21(%rbp),%eax
cmp    $0x6,%eax
jne    1463 <validateExpression+0x313>
movb   $0x0,-0x2d(%rbp)
mov    -0x18(%rbp),%rdi
lea    -0x2d(%rbp),%rsi
call   1040 <validateIdiom@plt>
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
je     145e <validateExpression+0x30e>
mov    -0x2c(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    146a <validateExpression+0x31a>
jmp    1463 <validateExpression+0x313>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<validateExpression>:
push   %r15
push   %r14
push   %rbx
sub    $0x20,%rsp
mov    %rdi,%rbx
lea    0x8(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0x1c(%rsp),%rcx
call   1070 <readNextName@plt>
test   %eax,%eax
jne    131f <validateExpression+0x1cf>
mov    0x1c(%rsp),%eax
cmp    $0x7c72785b,%eax
jg     11a5 <validateExpression+0x55>
cmp    $0xb8759c3,%eax
jle    11c3 <validateExpression+0x73>
cmp    $0xb8759c4,%eax
je     11ea <validateExpression+0x9a>
cmp    $0xb875a69,%eax
je     11ea <validateExpression+0x9a>
cmp    $0xb875aca,%eax
je     1293 <validateExpression+0x143>
jmp    11d1 <validateExpression+0x81>
cmp    $0x7c72a7ed,%eax
jle    11d8 <validateExpression+0x88>
cmp    $0x7c72a7ee,%eax
je     11ea <validateExpression+0x9a>
cmp    $0x7c72ae8d,%eax
je     11ea <validateExpression+0x9a>
cmp    $0x7c72ae94,%eax
je     11ea <validateExpression+0x9a>
jmp    11d1 <validateExpression+0x81>
cmp    $0xb87597f,%eax
je     11ea <validateExpression+0x9a>
cmp    $0xb875986,%eax
je     11ea <validateExpression+0x9a>
mov    %rbx,0x8(%rsp)
jmp    1220 <validateExpression+0xd0>
cmp    $0x7c72785c,%eax
je     1293 <validateExpression+0x143>
cmp    $0x7c7292a9,%eax
jne    11d1 <validateExpression+0x81>
mov    0x10(%rsp),%rdi
lea    0x8(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0x6(%rsp),%rcx
call   1060 <readNextValue@plt>
test   %eax,%eax
jne    131f <validateExpression+0x1cf>
mov    $0x2,%eax
cmpb   $0x6,0x6(%rsp)
jne    131f <validateExpression+0x1cf>
mov    0x8(%rsp),%rbx
lea    0x8(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0x1c(%rsp),%rcx
mov    %rbx,%rdi
call   1070 <readNextName@plt>
test   %eax,%eax
jne    131f <validateExpression+0x1cf>
mov    0x10(%rsp),%rdi
lea    0x8(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0x6(%rsp),%rcx
call   1060 <readNextValue@plt>
test   %eax,%eax
jne    131f <validateExpression+0x1cf>
mov    0x6(%rsp),%al
cmp    $0x5,%al
je     1329 <validateExpression+0x1d9>
cmp    $0x6,%al
jne    128c <validateExpression+0x13c>
movb   $0x0,0x7(%rsp)
mov    0x8(%rsp),%rdi
lea    0x7(%rsp),%rsi
call   1040 <validateIdiom@plt>
test   %eax,%eax
jne    131f <validateExpression+0x1cf>
xor    %eax,%eax
jmp    131f <validateExpression+0x1cf>
mov    0x10(%rsp),%rdi
lea    0x8(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0x6(%rsp),%rcx
call   1060 <readNextValue@plt>
mov    $0x2,%eax
cmpb   $0x5,0x6(%rsp)
jne    131f <validateExpression+0x1cf>
mov    0x8(%rsp),%rdi
lea    0x8(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0x6(%rsp),%rcx
call   1030 <readNextArrayValue@plt>
mov    %eax,%ecx
test   %eax,%eax
jne    1317 <validateExpression+0x1c7>
lea    0x8(%rsp),%r14
lea    0x10(%rsp),%r15
lea    0x6(%rsp),%rbx
cs nopw 0x0(%rax,%rax,1)
mov    0x8(%rsp),%rdi
call   1050 <validateExpression@plt>
test   %eax,%eax
jne    131f <validateExpression+0x1cf>
mov    0x10(%rsp),%rdi
mov    %r14,%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <readNextArrayValue@plt>
test   %eax,%eax
je     12f0 <validateExpression+0x1a0>
mov    %eax,%ecx
xor    %eax,%eax
cmp    $0x64,%ecx
cmovne %ecx,%eax
add    $0x20,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret
mov    $0x2,%eax
jmp    131f <validateExpression+0x1cf>

LLVM IR (-O0):
define i32 @validateExpression(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8
%7 = alloca i8
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8
store i8* %0, i8** %3
store i8 0, i8* %7
%11 = load i8*, i8** %3
%12 = call i32 @readNextName(i8* %11, i8** %4, i8** %5, i32* %8)
store i32 %12, i32* %9
%13 = load i32, i32* %9
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %1
%16 = load i32, i32* %9
store i32 %16, i32* %2
br label %109
17: ; preds = %1
%18 = load i32, i32* %8
switch i32 %18, label %58 [
i32 193419647, label %19
i32 2087890573, label %20
i32 193419716, label %21
i32 2087883433, label %22
i32 193419654, label %23
i32 2087890580, label %24
i32 193419881, label %25
i32 2087888878, label %26
i32 2087876700, label %27
i32 193419978, label %27
]
19: ; preds = %17
store i8 5, i8* %7
br label %58
20: ; preds = %17
store i8 6, i8* %7
br label %58
21: ; preds = %17
store i8 3, i8* %7
br label %58
22: ; preds = %17
store i8 4, i8* %7
br label %58
23: ; preds = %17
store i8 7, i8* %7
br label %58
24: ; preds = %17
store i8 8, i8* %7
br label %58
25: ; preds = %17
store i8 1, i8* %7
br label %58
26: ; preds = %17
store i8 2, i8* %7
br label %58
27: ; preds = %17, %17
%28 = load i8*, i8** %5
%29 = call i32 @readNextValue(i8* %28, i8** %4, i8** %5, i8* %6)
store i32 %29, i32* %9
%30 = load i8, i8* %6
%31 = zext i8 %30 to i32
%32 = icmp ne i32 %31, 5
br i1 %32, label %33, label %34
33: ; preds = %27
store i32 2, i32* %2
br label %109
34: ; preds = %27
%35 = load i8*, i8** %4
%36 = call i32 @readNextArrayValue(i8* %35, i8** %4, i8** %5, i8* %6)
store i32 %36, i32* %9
br label %37
37: ; preds = %47, %34
%38 = load i32, i32* %9
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %50
40: ; preds = %37
%41 = load i8*, i8** %4
%42 = call i32 @validateExpression(i8* %41)
store i32 %42, i32* %9
%43 = load i32, i32* %9
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %40
%46 = load i32, i32* %9
store i32 %46, i32* %2
br label %109
47: ; preds = %40
%48 = load i8*, i8** %5
%49 = call i32 @readNextArrayValue(i8* %48, i8** %4, i8** %5, i8* %6)
store i32 %49, i32* %9
br label %37
50: ; preds = %37
%51 = load i32, i32* %9
%52 = icmp eq i32 %51, 100
br i1 %52, label %53, label %54
53: ; preds = %50
br label %56
54: ; preds = %50
%55 = load i32, i32* %9
br label %56
56: ; preds = %54, %53
%57 = phi i32 [ 0, %53 ], [ %55, %54 ]
store i32 %57, i32* %2
br label %109
58: ; preds = %17, %26, %25, %24, %23, %22, %21, %20, %19
%59 = load i8, i8* %7
%60 = zext i8 %59 to i32
%61 = icmp eq i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %58
store i8 5, i8* %7
%63 = load i8*, i8** %3
store i8* %63, i8** %4
br label %77
64: ; preds = %58
%65 = load i8*, i8** %5
%66 = call i32 @readNextValue(i8* %65, i8** %4, i8** %5, i8* %6)
store i32 %66, i32* %9
%67 = load i32, i32* %9
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %64
%70 = load i32, i32* %9
store i32 %70, i32* %2
br label %109
71: ; preds = %64
%72 = load i8, i8* %6
%73 = zext i8 %72 to i32
%74 = icmp ne i32 %73, 6
br i1 %74, label %75, label %76
75: ; preds = %71
store i32 2, i32* %2
br label %109
76: ; preds = %71
br label %77
77: ; preds = %76, %62
%78 = load i8*, i8** %4
%79 = call i32 @readNextName(i8* %78, i8** %4, i8** %5, i32* %8)
store i32 %79, i32* %9
%80 = load i32, i32* %9
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %84
82: ; preds = %77
%83 = load i32, i32* %9
store i32 %83, i32* %2
br label %109
84: ; preds = %77
%85 = load i8*, i8** %5
%86 = call i32 @readNextValue(i8* %85, i8** %4, i8** %5, i8* %6)
store i32 %86, i32* %9
%87 = load i32, i32* %9
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %91
89: ; preds = %84
%90 = load i32, i32* %9
store i32 %90, i32* %2
br label %109
91: ; preds = %84
%92 = load i8, i8* %6
%93 = zext i8 %92 to i32
%94 = icmp eq i32 %93, 5
br i1 %94, label %95, label %96
95: ; preds = %91
store i32 2, i32* %2
br label %109
96: ; preds = %91
%97 = load i8, i8* %6
%98 = zext i8 %97 to i32
%99 = icmp eq i32 %98, 6
br i1 %99, label %100, label %108
100: ; preds = %96
store i8 0, i8* %10
%101 = load i8*, i8** %4
%102 = call i32 @validateIdiom(i8* %101, i8* %10)
store i32 %102, i32* %9
%103 = load i32, i32* %9
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %107
105: ; preds = %100
%106 = load i32, i32* %9
store i32 %106, i32* %2
br label %109
107: ; preds = %100
br label %108
108: ; preds = %107, %96
store i32 0, i32* %2
br label %109
109: ; preds = %108, %105, %95, %89, %82, %75, %69, %56, %45, %33, %15
%110 = load i32, i32* %2
ret i32 %110
}

LLVM IR (-O2):
define i32 @validateExpression(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8
%5 = alloca i32
%6 = alloca i8
%7 = bitcast i8** %2 to i8*
%8 = bitcast i8** %3 to i8*
%9 = bitcast i32* %5 to i8*
%10 = call i32 @readNextName(i8* %0, i8** %2, i8** %3, i32* %5)
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %60
12: ; preds = %1
%13 = load i32, i32* %5
switch i32 %13, label %35 [
i32 193419647, label %36
i32 2087890573, label %36
i32 193419716, label %36
i32 2087883433, label %36
i32 193419654, label %36
i32 2087890580, label %36
i32 193419881, label %36
i32 2087888878, label %36
i32 2087876700, label %14
i32 193419978, label %14
]
14: ; preds = %12, %12
%15 = load i8*, i8** %3
%16 = call i32 @readNextValue(i8* %15, i8** %2, i8** %3, i8* %4)
%17 = load i8, i8* %4
%18 = icmp eq i8 %17, 5
br i1 %18, label %19, label %60
19: ; preds = %14
%20 = load i8*, i8** %2
%21 = call i32 @readNextArrayValue(i8* %20, i8** %2, i8** %3, i8* %4)
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %31
23: ; preds = %19, %27
%24 = load i8*, i8** %2
%25 = call i32 @validateExpression(i8* %24)
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %60
27: ; preds = %23
%28 = load i8*, i8** %3
%29 = call i32 @readNextArrayValue(i8* %28, i8** %2, i8** %3, i8* %4)
%30 = icmp eq i32 %29, 0
br i1 %30, label %23, label %31
31: ; preds = %27, %19
%32 = phi i32 [ %21, %19 ], [ %29, %27 ]
%33 = icmp eq i32 %32, 100
%34 = select i1 %33, i32 0, i32 %32
br label %60
35: ; preds = %12
store i8* %0, i8** %2
br label %45
36: ; preds = %12, %12, %12, %12, %12, %12, %12, %12
%37 = load i8*, i8** %3
%38 = call i32 @readNextValue(i8* %37, i8** %2, i8** %3, i8* %4)
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %60
40: ; preds = %36
%41 = load i8, i8* %4
%42 = icmp eq i8 %41, 6
br i1 %42, label %43, label %60
43: ; preds = %40
%44 = load i8*, i8** %2
br label %45
45: ; preds = %43, %35
%46 = phi i8* [ %44, %43 ], [ %0, %35 ]
%47 = call i32 @readNextName(i8* %46, i8** %2, i8** %3, i32* %5)
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %60
49: ; preds = %45
%50 = load i8*, i8** %3
%51 = call i32 @readNextValue(i8* %50, i8** %2, i8** %3, i8* %4)
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %60
53: ; preds = %49
%54 = load i8, i8* %4
switch i8 %54, label %59 [
i8 5, label %60
i8 6, label %55
]
55: ; preds = %53
store i8 0, i8* %6
%56 = load i8*, i8** %2
%57 = call i32 @validateIdiom(i8* %56, i8* %6)
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %53, %55
br label %60
60: ; preds = %23, %53, %49, %45, %40, %36, %14, %1, %55, %59, %31
%61 = phi i32 [ 0, %59 ], [ %57, %55 ], [ %34, %31 ], [ %10, %1 ], [ 2, %14 ], [ %38, %36 ], [ 2, %40 ], [ %47, %45 ], [ %51, %49 ], [ 2, %53 ], [ %25, %23 ]
ret i32 %61
}