#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*/ afterPlus(char *, char *);
size_t checkSpecial(char *);
int firstOccur(char *, char);
int /*<<< orphan*/ matchPatternDots(char *, char *);
int /*<<< orphan*/ morePlus(char *, char *);
int /*<<< orphan*/ patternPlus(char *, char *);
int /*<<< orphan*/ questionMark(char *, char *);
int /*<<< orphan*/ sameChar(char *);
int strleng(char *);
int rgrep_matches(char *line, char *pattern) {
  int n = strleng(pattern);
  int m = strleng(line);
  if (checkSpecial(pattern) != 5000) {
    switch (pattern[checkSpecial(pattern)]) {
    case '.':
      if (sameChar(pattern)) {
        if (m == n)
          return 1;
        else
          return 0;
      } else if (matchPatternDots(pattern, line)) {
        return 1;
      } else if (firstOccur(pattern, '+') != 5000) {
        if (afterPlus(pattern, line))
          return 1;
      } else
        return 0;
    case '\\':
      return 0;
    case '+':
      if (n == 1)
        return 1;
      if (morePlus(pattern, line))
        return 1;
      if (patternPlus(pattern, line))
        return 1;
      return 0;
    case '?':
      if (questionMark(pattern, line))
        return 1;
      return 0;
    default:
      return 0;
    }
  } else {
    int matches = 0;
    int index = firstOccur(line, pattern[0]);
    if (n == 0) {
      return 1;
    } else if (n == 1) {
      if (index != 5000) {
        return 1;
      }
    } else if (n > 1) {
      if (index != 5000) {
        matches++;
        for (int i = 1, l = strleng(line); i < l; i++) {
          if (pattern[i] == line[index + i]) {
            matches++;
            if (matches == n) {
              return 1;
            }
          } else
            return 0;
        }
      } else
        return 0;
    }
    return 0;
  }
  return 0;
}


x86 assembly (clang, -O0):
<rgrep_matches>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
call   1040 <strleng@plt>
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rdi
call   1040 <strleng@plt>
mov    %eax,-0x20(%rbp)
mov    -0x18(%rbp),%rdi
call   10a0 <checkSpecial@plt>
cmp    $0x1388,%rax
je     1388 <rgrep_matches+0x1f8>
mov    -0x18(%rbp),%rdi
mov    %rdi,-0x40(%rbp)
call   10a0 <checkSpecial@plt>
mov    %rax,%rcx
mov    -0x40(%rbp),%rax
movsbl (%rax,%rcx,1),%eax
mov    %eax,-0x34(%rbp)
sub    $0x2b,%eax
je     12e8 <rgrep_matches+0x158>
jmp    11f6 <rgrep_matches+0x66>
mov    -0x34(%rbp),%eax
sub    $0x2e,%eax
je     1229 <rgrep_matches+0x99>
jmp    1207 <rgrep_matches+0x77>
mov    -0x34(%rbp),%eax
sub    $0x3f,%eax
je     134e <rgrep_matches+0x1be>
jmp    1218 <rgrep_matches+0x88>
mov    -0x34(%rbp),%eax
sub    $0x5c,%eax
je     12dc <rgrep_matches+0x14c>
jmp    137c <rgrep_matches+0x1ec>
mov    -0x18(%rbp),%rdi
call   1070 <sameChar@plt>
cmp    $0x0,%eax
je     125f <rgrep_matches+0xcf>
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jne    1253 <rgrep_matches+0xc3>
movl   $0x1,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
movl   $0x0,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1050 <matchPatternDots@plt>
cmp    $0x0,%eax
je     1281 <rgrep_matches+0xf1>
movl   $0x1,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
mov    -0x18(%rbp),%rdi
mov    $0x2b,%esi
call   1090 <firstOccur@plt>
cmp    $0x1388,%eax
je     12c1 <rgrep_matches+0x131>
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1030 <afterPlus@plt>
cmp    $0x0,%eax
je     12bc <rgrep_matches+0x12c>
movl   $0x1,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
jmp    12cd <rgrep_matches+0x13d>
movl   $0x0,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
jmp    12d2 <rgrep_matches+0x142>
jmp    12d7 <rgrep_matches+0x147>
jmp    12dc <rgrep_matches+0x14c>
movl   $0x0,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
cmpl   $0x1,-0x1c(%rbp)
jne    12fe <rgrep_matches+0x16e>
movl   $0x1,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1060 <morePlus@plt>
cmp    $0x0,%eax
je     1320 <rgrep_matches+0x190>
movl   $0x1,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1080 <patternPlus@plt>
cmp    $0x0,%eax
je     1342 <rgrep_matches+0x1b2>
movl   $0x1,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
movl   $0x0,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
mov    -0x18(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   10b0 <questionMark@plt>
cmp    $0x0,%eax
je     1370 <rgrep_matches+0x1e0>
movl   $0x1,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
movl   $0x0,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
movl   $0x0,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
movl   $0x0,-0x24(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rax
movsbl (%rax),%esi
call   1090 <firstOccur@plt>
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x1c(%rbp)
jne    13b8 <rgrep_matches+0x228>
movl   $0x1,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
cmpl   $0x1,-0x1c(%rbp)
jne    13e0 <rgrep_matches+0x250>
cmpl   $0x1388,-0x28(%rbp)
je     13db <rgrep_matches+0x24b>
movl   $0x1,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
jmp    14a4 <rgrep_matches+0x314>
cmpl   $0x1,-0x1c(%rbp)
jle    149f <rgrep_matches+0x30f>
cmpl   $0x1388,-0x28(%rbp)
je     148e <rgrep_matches+0x2fe>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
movl   $0x1,-0x2c(%rbp)
mov    -0x10(%rbp),%rdi
call   1040 <strleng@plt>
mov    %eax,-0x30(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x30(%rbp),%eax
jge    1489 <rgrep_matches+0x2f9>
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
mov    -0x10(%rbp),%rcx
mov    -0x28(%rbp),%edx
add    -0x2c(%rbp),%edx
movslq %edx,%rdx
movsbl (%rcx,%rdx,1),%ecx
cmp    %ecx,%eax
jne    146a <rgrep_matches+0x2da>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jne    1465 <rgrep_matches+0x2d5>
movl   $0x1,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
jmp    1476 <rgrep_matches+0x2e6>
movl   $0x0,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
jmp    147b <rgrep_matches+0x2eb>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1413 <rgrep_matches+0x283>
jmp    149a <rgrep_matches+0x30a>
movl   $0x0,-0x4(%rbp)
jmp    14b0 <rgrep_matches+0x320>
jmp    149f <rgrep_matches+0x30f>
jmp    14a4 <rgrep_matches+0x314>
jmp    14a9 <rgrep_matches+0x319>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<rgrep_matches>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
mov    %rsi,%rbx
mov    %rdi,%r14
mov    %rsi,%rdi
call   1040 <strleng@plt>
mov    %eax,%r15d
mov    %r14,%rdi
call   1040 <strleng@plt>
mov    %eax,%r12d
mov    %rbx,%rdi
call   10a0 <checkSpecial@plt>
cmp    $0x1388,%rax
jne    11f6 <rgrep_matches+0x66>
movsbl (%rbx),%esi
mov    %r14,%rdi
call   1090 <firstOccur@plt>
mov    $0x1,%bpl
test   %r15d,%r15d
je     131d <rgrep_matches+0x18d>
mov    %eax,%r12d
cmp    $0x1,%r15d
jne    124e <rgrep_matches+0xbe>
cmp    $0x1388,%r12d
je     131b <rgrep_matches+0x18b>
jmp    131d <rgrep_matches+0x18d>
mov    %rbx,%rdi
call   10a0 <checkSpecial@plt>
movsbl (%rbx,%rax,1),%eax
xor    %ebp,%ebp
cmp    $0x3e,%eax
jg     1237 <rgrep_matches+0xa7>
cmp    $0x2b,%eax
je     12ae <rgrep_matches+0x11e>
cmp    $0x2e,%eax
jne    131d <rgrep_matches+0x18d>
mov    %rbx,%rdi
call   1070 <sameChar@plt>
test   %eax,%eax
je     12e6 <rgrep_matches+0x156>
cmp    %r15d,%r12d
sete   %bpl
jmp    131d <rgrep_matches+0x18d>
cmp    $0x3f,%eax
je     12d3 <rgrep_matches+0x143>
cmp    $0x5c,%eax
je     131b <rgrep_matches+0x18b>
jmp    131d <rgrep_matches+0x18d>
jle    131b <rgrep_matches+0x18b>
cmp    $0x1388,%r12d
je     131b <rgrep_matches+0x18b>
mov    %r14,%rdi
call   1040 <strleng@plt>
cmp    $0x2,%eax
jl     131b <rgrep_matches+0x18b>
movslq %r12d,%rcx
add    $0xffffffff,%r15d
mov    %eax,%eax
add    %rcx,%r14
mov    $0x1,%ecx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movzbl (%rbx,%rcx,1),%edx
cmp    (%r14,%rcx,1),%dl
sete   %bpl
jne    131d <rgrep_matches+0x18d>
cmp    %rcx,%r15
je     131d <rgrep_matches+0x18d>
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1290 <rgrep_matches+0x100>
jmp    131b <rgrep_matches+0x18b>
mov    $0x1,%bpl
cmp    $0x1,%r15d
je     131d <rgrep_matches+0x18d>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1060 <morePlus@plt>
test   %eax,%eax
jne    131d <rgrep_matches+0x18d>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1080 <patternPlus@plt>
jmp    12de <rgrep_matches+0x14e>
mov    %rbx,%rdi
mov    %r14,%rsi
call   10b0 <questionMark@plt>
test   %eax,%eax
setne  %bpl
jmp    131d <rgrep_matches+0x18d>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <matchPatternDots@plt>
mov    $0x1,%bpl
test   %eax,%eax
jne    131d <rgrep_matches+0x18d>
mov    %rbx,%rdi
mov    $0x2b,%esi
call   1090 <firstOccur@plt>
cmp    $0x1388,%eax
je     131b <rgrep_matches+0x18b>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1030 <afterPlus@plt>
test   %eax,%eax
jne    131d <rgrep_matches+0x18d>
xor    %ebp,%ebp
movzbl %bpl,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define i32 @rgrep_matches(i8* %0, i8* %1) {
%3 = tail call i32 @strleng(i8* %1)
%4 = tail call i32 @strleng(i8* %0)
%5 = tail call i64 @checkSpecial(i8* %1)
%6 = icmp eq i64 %5, 5000
br i1 %6, label %38, label %7
7: ; preds = %2
%8 = tail call i64 @checkSpecial(i8* %1)
%9 = getelementptr inbounds i8, i8* %1, i64 %8
%10 = load i8, i8* %9
%11 = sext i8 %10 to i32
switch i32 %11, label %69 [
i32 46, label %12
i32 92, label %26
i32 43, label %27
i32 63, label %35
]
12: ; preds = %7
%13 = tail call i32 @sameChar(i8* %1)
%14 = icmp eq i32 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %12
%16 = icmp eq i32 %4, %3
br label %69
17: ; preds = %12
%18 = tail call i32 @matchPatternDots(i8* %1, i8* %0)
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %69
20: ; preds = %17
%21 = tail call i32 @firstOccur(i8* %1, i8 signext 43)
%22 = icmp eq i32 %21, 5000
br i1 %22, label %69, label %23
23: ; preds = %20
%24 = tail call i32 @afterPlus(i8* %1, i8* %0)
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %69
26: ; preds = %23, %7
br label %69
27: ; preds = %7
%28 = icmp eq i32 %3, 1
br i1 %28, label %69, label %29
29: ; preds = %27
%30 = tail call i32 @morePlus(i8* %1, i8* %0)
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %69
32: ; preds = %29
%33 = tail call i32 @patternPlus(i8* %1, i8* %0)
%34 = icmp ne i32 %33, 0
br label %69
35: ; preds = %7
%36 = tail call i32 @questionMark(i8* %1, i8* %0)
%37 = icmp ne i32 %36, 0
br label %69
38: ; preds = %2
%39 = load i8, i8* %1
%40 = tail call i32 @firstOccur(i8* %0, i8 signext %39)
switch i32 %3, label %43 [
i32 0, label %69
i32 1, label %41
]
41: ; preds = %38
%42 = icmp eq i32 %40, 5000
br i1 %42, label %68, label %69
43: ; preds = %38
%44 = icmp sgt i32 %3, 1
br i1 %44, label %45, label %68
45: ; preds = %43
%46 = icmp eq i32 %40, 5000
br i1 %46, label %69, label %47
47: ; preds = %45
%48 = tail call i32 @strleng(i8* %0)
%49 = icmp sgt i32 %48, 1
br i1 %49, label %50, label %68
50: ; preds = %47
%51 = sext i32 %40 to i64
%52 = add nsw i32 %3, -1
%53 = zext i32 %52 to i64
%54 = zext i32 %48 to i64
br label %57
55: ; preds = %65
%56 = icmp eq i64 %66, %54
br i1 %56, label %68, label %57
57: ; preds = %50, %55
%58 = phi i64 [ 1, %50 ], [ %66, %55 ]
%59 = getelementptr inbounds i8, i8* %1, i64 %58
%60 = load i8, i8* %59
%61 = add nsw i64 %58, %51
%62 = getelementptr inbounds i8, i8* %0, i64 %61
%63 = load i8, i8* %62
%64 = icmp eq i8 %60, %63
br i1 %64, label %65, label %69
65: ; preds = %57
%66 = add nuw nsw i64 %58, 1
%67 = icmp eq i64 %58, %53
br i1 %67, label %69, label %55
68: ; preds = %55, %47, %41, %43
br label %69
69: ; preds = %57, %65, %68, %38, %41, %45, %7, %35, %32, %29, %27, %20, %23, %17, %15, %26
%70 = phi i1 [ false, %26 ], [ %16, %15 ], [ true, %17 ], [ true, %23 ], [ false, %20 ], [ true, %27 ], [ true, %29 ], [ %34, %32 ], [ %37, %35 ], [ false, %7 ], [ false, %68 ], [ true, %38 ], [ true, %41 ], [ false, %45 ], [ %64, %65 ], [ %64, %57 ]
%71 = zext i1 %70 to i32
ret i32 %71
}