; LLVM IR from ritikbanger/Hacktoberfest2022-DSA :: 28. Codechef Problems (TicTacToe)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z9findCondnNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_S4_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 0, ptr %12, align 4, !tbaa !9
  %15 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %16 = load i8, ptr %15, align 1, !tbaa !11
  %17 = sext i8 %16 to i32
  %18 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %19 = load i8, ptr %18, align 1, !tbaa !11
  %20 = sext i8 %19 to i32
  %21 = icmp eq i32 %17, %20
  br i1 %21, label %22, label %55

22:                                               ; preds = %3
  %23 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %24 = load i8, ptr %23, align 1, !tbaa !11
  %25 = sext i8 %24 to i32
  %26 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %27 = load i8, ptr %26, align 1, !tbaa !11
  %28 = sext i8 %27 to i32
  %29 = icmp eq i32 %25, %28
  br i1 %29, label %30, label %55

30:                                               ; preds = %22
  %31 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %32 = load i8, ptr %31, align 1, !tbaa !11
  %33 = sext i8 %32 to i32
  %34 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %35 = load i8, ptr %34, align 1, !tbaa !11
  %36 = sext i8 %35 to i32
  %37 = icmp eq i32 %33, %36
  br i1 %37, label %38, label %55

38:                                               ; preds = %30
  %39 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %40 = load i8, ptr %39, align 1, !tbaa !11
  %41 = sext i8 %40 to i32
  %42 = icmp eq i32 %41, 88
  br i1 %42, label %43, label %46

43:                                               ; preds = %38
  %44 = load i32, ptr %8, align 4, !tbaa !9
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %8, align 4, !tbaa !9
  br label %46

46:                                               ; preds = %43, %38
  %47 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %48 = load i8, ptr %47, align 1, !tbaa !11
  %49 = sext i8 %48 to i32
  %50 = icmp eq i32 %49, 79
  br i1 %50, label %51, label %54

51:                                               ; preds = %46
  %52 = load i32, ptr %9, align 4, !tbaa !9
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %9, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %51, %46
  br label %55

55:                                               ; preds = %54, %30, %22, %3
  %56 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %57 = load i8, ptr %56, align 1, !tbaa !11
  %58 = sext i8 %57 to i32
  %59 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %60 = load i8, ptr %59, align 1, !tbaa !11
  %61 = sext i8 %60 to i32
  %62 = icmp eq i32 %58, %61
  br i1 %62, label %63, label %96

63:                                               ; preds = %55
  %64 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %65 = load i8, ptr %64, align 1, !tbaa !11
  %66 = sext i8 %65 to i32
  %67 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %68 = load i8, ptr %67, align 1, !tbaa !11
  %69 = sext i8 %68 to i32
  %70 = icmp eq i32 %66, %69
  br i1 %70, label %71, label %96

71:                                               ; preds = %63
  %72 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %73 = load i8, ptr %72, align 1, !tbaa !11
  %74 = sext i8 %73 to i32
  %75 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %76 = load i8, ptr %75, align 1, !tbaa !11
  %77 = sext i8 %76 to i32
  %78 = icmp eq i32 %74, %77
  br i1 %78, label %79, label %96

79:                                               ; preds = %71
  %80 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %81 = load i8, ptr %80, align 1, !tbaa !11
  %82 = sext i8 %81 to i32
  %83 = icmp eq i32 %82, 88
  br i1 %83, label %84, label %87

84:                                               ; preds = %79
  %85 = load i32, ptr %8, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %8, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %84, %79
  %88 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %89 = load i8, ptr %88, align 1, !tbaa !11
  %90 = sext i8 %89 to i32
  %91 = icmp eq i32 %90, 79
  br i1 %91, label %92, label %95

92:                                               ; preds = %87
  %93 = load i32, ptr %9, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %9, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %92, %87
  br label %96

96:                                               ; preds = %95, %71, %63, %55
  %97 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %98 = load i8, ptr %97, align 1, !tbaa !11
  %99 = sext i8 %98 to i32
  %100 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %101 = load i8, ptr %100, align 1, !tbaa !11
  %102 = sext i8 %101 to i32
  %103 = icmp eq i32 %99, %102
  br i1 %103, label %104, label %137

104:                                              ; preds = %96
  %105 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %106 = load i8, ptr %105, align 1, !tbaa !11
  %107 = sext i8 %106 to i32
  %108 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %109 = load i8, ptr %108, align 1, !tbaa !11
  %110 = sext i8 %109 to i32
  %111 = icmp eq i32 %107, %110
  br i1 %111, label %112, label %137

112:                                              ; preds = %104
  %113 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %114 = load i8, ptr %113, align 1, !tbaa !11
  %115 = sext i8 %114 to i32
  %116 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %117 = load i8, ptr %116, align 1, !tbaa !11
  %118 = sext i8 %117 to i32
  %119 = icmp eq i32 %115, %118
  br i1 %119, label %120, label %137

120:                                              ; preds = %112
  %121 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %122 = load i8, ptr %121, align 1, !tbaa !11
  %123 = sext i8 %122 to i32
  %124 = icmp eq i32 %123, 88
  br i1 %124, label %125, label %128

125:                                              ; preds = %120
  %126 = load i32, ptr %8, align 4, !tbaa !9
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %8, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %125, %120
  %129 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %130 = load i8, ptr %129, align 1, !tbaa !11
  %131 = sext i8 %130 to i32
  %132 = icmp eq i32 %131, 79
  br i1 %132, label %133, label %136

133:                                              ; preds = %128
  %134 = load i32, ptr %9, align 4, !tbaa !9
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %9, align 4, !tbaa !9
  br label %136

136:                                              ; preds = %133, %128
  br label %137

137:                                              ; preds = %136, %112, %104, %96
  %138 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %139 = load i8, ptr %138, align 1, !tbaa !11
  %140 = sext i8 %139 to i32
  %141 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %142 = load i8, ptr %141, align 1, !tbaa !11
  %143 = sext i8 %142 to i32
  %144 = icmp eq i32 %140, %143
  br i1 %144, label %145, label %178

145:                                              ; preds = %137
  %146 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %147 = load i8, ptr %146, align 1, !tbaa !11
  %148 = sext i8 %147 to i32
  %149 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %150 = load i8, ptr %149, align 1, !tbaa !11
  %151 = sext i8 %150 to i32
  %152 = icmp eq i32 %148, %151
  br i1 %152, label %153, label %178

153:                                              ; preds = %145
  %154 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %155 = load i8, ptr %154, align 1, !tbaa !11
  %156 = sext i8 %155 to i32
  %157 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %158 = load i8, ptr %157, align 1, !tbaa !11
  %159 = sext i8 %158 to i32
  %160 = icmp eq i32 %156, %159
  br i1 %160, label %161, label %178

161:                                              ; preds = %153
  %162 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %163 = load i8, ptr %162, align 1, !tbaa !11
  %164 = sext i8 %163 to i32
  %165 = icmp eq i32 %164, 88
  br i1 %165, label %166, label %169

166:                                              ; preds = %161
  %167 = load i32, ptr %8, align 4, !tbaa !9
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %8, align 4, !tbaa !9
  br label %169

169:                                              ; preds = %166, %161
  %170 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %171 = load i8, ptr %170, align 1, !tbaa !11
  %172 = sext i8 %171 to i32
  %173 = icmp eq i32 %172, 79
  br i1 %173, label %174, label %177

174:                                              ; preds = %169
  %175 = load i32, ptr %9, align 4, !tbaa !9
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %9, align 4, !tbaa !9
  br label %177

177:                                              ; preds = %174, %169
  br label %178

178:                                              ; preds = %177, %153, %145, %137
  %179 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %180 = load i8, ptr %179, align 1, !tbaa !11
  %181 = sext i8 %180 to i32
  %182 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %183 = load i8, ptr %182, align 1, !tbaa !11
  %184 = sext i8 %183 to i32
  %185 = icmp eq i32 %181, %184
  br i1 %185, label %186, label %219

186:                                              ; preds = %178
  %187 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %188 = load i8, ptr %187, align 1, !tbaa !11
  %189 = sext i8 %188 to i32
  %190 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %191 = load i8, ptr %190, align 1, !tbaa !11
  %192 = sext i8 %191 to i32
  %193 = icmp eq i32 %189, %192
  br i1 %193, label %194, label %219

194:                                              ; preds = %186
  %195 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %196 = load i8, ptr %195, align 1, !tbaa !11
  %197 = sext i8 %196 to i32
  %198 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %199 = load i8, ptr %198, align 1, !tbaa !11
  %200 = sext i8 %199 to i32
  %201 = icmp eq i32 %197, %200
  br i1 %201, label %202, label %219

202:                                              ; preds = %194
  %203 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %204 = load i8, ptr %203, align 1, !tbaa !11
  %205 = sext i8 %204 to i32
  %206 = icmp eq i32 %205, 88
  br i1 %206, label %207, label %210

207:                                              ; preds = %202
  %208 = load i32, ptr %8, align 4, !tbaa !9
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %8, align 4, !tbaa !9
  br label %210

210:                                              ; preds = %207, %202
  %211 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %212 = load i8, ptr %211, align 1, !tbaa !11
  %213 = sext i8 %212 to i32
  %214 = icmp eq i32 %213, 79
  br i1 %214, label %215, label %218

215:                                              ; preds = %210
  %216 = load i32, ptr %9, align 4, !tbaa !9
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %9, align 4, !tbaa !9
  br label %218

218:                                              ; preds = %215, %210
  br label %219

219:                                              ; preds = %218, %194, %186, %178
  %220 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %221 = load i8, ptr %220, align 1, !tbaa !11
  %222 = sext i8 %221 to i32
  %223 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %224 = load i8, ptr %223, align 1, !tbaa !11
  %225 = sext i8 %224 to i32
  %226 = icmp eq i32 %222, %225
  br i1 %226, label %227, label %260

227:                                              ; preds = %219
  %228 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %229 = load i8, ptr %228, align 1, !tbaa !11
  %230 = sext i8 %229 to i32
  %231 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %232 = load i8, ptr %231, align 1, !tbaa !11
  %233 = sext i8 %232 to i32
  %234 = icmp eq i32 %230, %233
  br i1 %234, label %235, label %260

235:                                              ; preds = %227
  %236 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %237 = load i8, ptr %236, align 1, !tbaa !11
  %238 = sext i8 %237 to i32
  %239 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %240 = load i8, ptr %239, align 1, !tbaa !11
  %241 = sext i8 %240 to i32
  %242 = icmp eq i32 %238, %241
  br i1 %242, label %243, label %260

243:                                              ; preds = %235
  %244 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %245 = load i8, ptr %244, align 1, !tbaa !11
  %246 = sext i8 %245 to i32
  %247 = icmp eq i32 %246, 88
  br i1 %247, label %248, label %251

248:                                              ; preds = %243
  %249 = load i32, ptr %8, align 4, !tbaa !9
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %8, align 4, !tbaa !9
  br label %251

251:                                              ; preds = %248, %243
  %252 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %253 = load i8, ptr %252, align 1, !tbaa !11
  %254 = sext i8 %253 to i32
  %255 = icmp eq i32 %254, 79
  br i1 %255, label %256, label %259

256:                                              ; preds = %251
  %257 = load i32, ptr %9, align 4, !tbaa !9
  %258 = add nsw i32 %257, 1
  store i32 %258, ptr %9, align 4, !tbaa !9
  br label %259

259:                                              ; preds = %256, %251
  br label %260

260:                                              ; preds = %259, %235, %227, %219
  %261 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %262 = load i8, ptr %261, align 1, !tbaa !11
  %263 = sext i8 %262 to i32
  %264 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %265 = load i8, ptr %264, align 1, !tbaa !11
  %266 = sext i8 %265 to i32
  %267 = icmp eq i32 %263, %266
  br i1 %267, label %268, label %301

268:                                              ; preds = %260
  %269 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %270 = load i8, ptr %269, align 1, !tbaa !11
  %271 = sext i8 %270 to i32
  %272 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %273 = load i8, ptr %272, align 1, !tbaa !11
  %274 = sext i8 %273 to i32
  %275 = icmp eq i32 %271, %274
  br i1 %275, label %276, label %301

276:                                              ; preds = %268
  %277 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %278 = load i8, ptr %277, align 1, !tbaa !11
  %279 = sext i8 %278 to i32
  %280 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %281 = load i8, ptr %280, align 1, !tbaa !11
  %282 = sext i8 %281 to i32
  %283 = icmp eq i32 %279, %282
  br i1 %283, label %284, label %301

284:                                              ; preds = %276
  %285 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %286 = load i8, ptr %285, align 1, !tbaa !11
  %287 = sext i8 %286 to i32
  %288 = icmp eq i32 %287, 88
  br i1 %288, label %289, label %292

289:                                              ; preds = %284
  %290 = load i32, ptr %8, align 4, !tbaa !9
  %291 = add nsw i32 %290, 1
  store i32 %291, ptr %8, align 4, !tbaa !9
  br label %292

292:                                              ; preds = %289, %284
  %293 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %294 = load i8, ptr %293, align 1, !tbaa !11
  %295 = sext i8 %294 to i32
  %296 = icmp eq i32 %295, 79
  br i1 %296, label %297, label %300

297:                                              ; preds = %292
  %298 = load i32, ptr %9, align 4, !tbaa !9
  %299 = add nsw i32 %298, 1
  store i32 %299, ptr %9, align 4, !tbaa !9
  br label %300

300:                                              ; preds = %297, %292
  br label %301

301:                                              ; preds = %300, %276, %268, %260
  %302 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %303 = load i8, ptr %302, align 1, !tbaa !11
  %304 = sext i8 %303 to i32
  %305 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %306 = load i8, ptr %305, align 1, !tbaa !11
  %307 = sext i8 %306 to i32
  %308 = icmp eq i32 %304, %307
  br i1 %308, label %309, label %342

309:                                              ; preds = %301
  %310 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %311 = load i8, ptr %310, align 1, !tbaa !11
  %312 = sext i8 %311 to i32
  %313 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %314 = load i8, ptr %313, align 1, !tbaa !11
  %315 = sext i8 %314 to i32
  %316 = icmp eq i32 %312, %315
  br i1 %316, label %317, label %342

317:                                              ; preds = %309
  %318 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %319 = load i8, ptr %318, align 1, !tbaa !11
  %320 = sext i8 %319 to i32
  %321 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %322 = load i8, ptr %321, align 1, !tbaa !11
  %323 = sext i8 %322 to i32
  %324 = icmp eq i32 %320, %323
  br i1 %324, label %325, label %342

325:                                              ; preds = %317
  %326 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %327 = load i8, ptr %326, align 1, !tbaa !11
  %328 = sext i8 %327 to i32
  %329 = icmp eq i32 %328, 88
  br i1 %329, label %330, label %333

330:                                              ; preds = %325
  %331 = load i32, ptr %8, align 4, !tbaa !9
  %332 = add nsw i32 %331, 1
  store i32 %332, ptr %8, align 4, !tbaa !9
  br label %333

333:                                              ; preds = %330, %325
  %334 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %335 = load i8, ptr %334, align 1, !tbaa !11
  %336 = sext i8 %335 to i32
  %337 = icmp eq i32 %336, 79
  br i1 %337, label %338, label %341

338:                                              ; preds = %333
  %339 = load i32, ptr %9, align 4, !tbaa !9
  %340 = add nsw i32 %339, 1
  store i32 %340, ptr %9, align 4, !tbaa !9
  br label %341

341:                                              ; preds = %338, %333
  br label %342

342:                                              ; preds = %341, %317, %309, %301
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %343

343:                                              ; preds = %438, %342
  %344 = load i32, ptr %13, align 4, !tbaa !9
  %345 = icmp slt i32 %344, 3
  br i1 %345, label %347, label %346

346:                                              ; preds = %343
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %441

347:                                              ; preds = %343
  %348 = load i32, ptr %13, align 4, !tbaa !9
  %349 = sext i32 %348 to i64
  %350 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %349)
  %351 = load i8, ptr %350, align 1, !tbaa !11
  %352 = sext i8 %351 to i32
  %353 = icmp eq i32 %352, 88
  br i1 %353, label %354, label %357

354:                                              ; preds = %347
  %355 = load i32, ptr %10, align 4, !tbaa !9
  %356 = add nsw i32 %355, 1
  store i32 %356, ptr %10, align 4, !tbaa !9
  br label %357

357:                                              ; preds = %354, %347
  %358 = load i32, ptr %13, align 4, !tbaa !9
  %359 = sext i32 %358 to i64
  %360 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %359)
  %361 = load i8, ptr %360, align 1, !tbaa !11
  %362 = sext i8 %361 to i32
  %363 = icmp eq i32 %362, 95
  br i1 %363, label %364, label %367

364:                                              ; preds = %357
  %365 = load i32, ptr %12, align 4, !tbaa !9
  %366 = add nsw i32 %365, 1
  store i32 %366, ptr %12, align 4, !tbaa !9
  br label %367

367:                                              ; preds = %364, %357
  %368 = load i32, ptr %13, align 4, !tbaa !9
  %369 = sext i32 %368 to i64
  %370 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %369)
  %371 = load i8, ptr %370, align 1, !tbaa !11
  %372 = sext i8 %371 to i32
  %373 = icmp eq i32 %372, 79
  br i1 %373, label %374, label %377

374:                                              ; preds = %367
  %375 = load i32, ptr %11, align 4, !tbaa !9
  %376 = add nsw i32 %375, 1
  store i32 %376, ptr %11, align 4, !tbaa !9
  br label %377

377:                                              ; preds = %374, %367
  %378 = load i32, ptr %13, align 4, !tbaa !9
  %379 = sext i32 %378 to i64
  %380 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %379)
  %381 = load i8, ptr %380, align 1, !tbaa !11
  %382 = sext i8 %381 to i32
  %383 = icmp eq i32 %382, 88
  br i1 %383, label %384, label %387

384:                                              ; preds = %377
  %385 = load i32, ptr %10, align 4, !tbaa !9
  %386 = add nsw i32 %385, 1
  store i32 %386, ptr %10, align 4, !tbaa !9
  br label %387

387:                                              ; preds = %384, %377
  %388 = load i32, ptr %13, align 4, !tbaa !9
  %389 = sext i32 %388 to i64
  %390 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %389)
  %391 = load i8, ptr %390, align 1, !tbaa !11
  %392 = sext i8 %391 to i32
  %393 = icmp eq i32 %392, 95
  br i1 %393, label %394, label %397

394:                                              ; preds = %387
  %395 = load i32, ptr %12, align 4, !tbaa !9
  %396 = add nsw i32 %395, 1
  store i32 %396, ptr %12, align 4, !tbaa !9
  br label %397

397:                                              ; preds = %394, %387
  %398 = load i32, ptr %13, align 4, !tbaa !9
  %399 = sext i32 %398 to i64
  %400 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %399)
  %401 = load i8, ptr %400, align 1, !tbaa !11
  %402 = sext i8 %401 to i32
  %403 = icmp eq i32 %402, 79
  br i1 %403, label %404, label %407

404:                                              ; preds = %397
  %405 = load i32, ptr %11, align 4, !tbaa !9
  %406 = add nsw i32 %405, 1
  store i32 %406, ptr %11, align 4, !tbaa !9
  br label %407

407:                                              ; preds = %404, %397
  %408 = load i32, ptr %13, align 4, !tbaa !9
  %409 = sext i32 %408 to i64
  %410 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %409)
  %411 = load i8, ptr %410, align 1, !tbaa !11
  %412 = sext i8 %411 to i32
  %413 = icmp eq i32 %412, 88
  br i1 %413, label %414, label %417

414:                                              ; preds = %407
  %415 = load i32, ptr %10, align 4, !tbaa !9
  %416 = add nsw i32 %415, 1
  store i32 %416, ptr %10, align 4, !tbaa !9
  br label %417

417:                                              ; preds = %414, %407
  %418 = load i32, ptr %13, align 4, !tbaa !9
  %419 = sext i32 %418 to i64
  %420 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %419)
  %421 = load i8, ptr %420, align 1, !tbaa !11
  %422 = sext i8 %421 to i32
  %423 = icmp eq i32 %422, 95
  br i1 %423, label %424, label %427

424:                                              ; preds = %417
  %425 = load i32, ptr %12, align 4, !tbaa !9
  %426 = add nsw i32 %425, 1
  store i32 %426, ptr %12, align 4, !tbaa !9
  br label %427

427:                                              ; preds = %424, %417
  %428 = load i32, ptr %13, align 4, !tbaa !9
  %429 = sext i32 %428 to i64
  %430 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %429)
  %431 = load i8, ptr %430, align 1, !tbaa !11
  %432 = sext i8 %431 to i32
  %433 = icmp eq i32 %432, 79
  br i1 %433, label %434, label %437

434:                                              ; preds = %427
  %435 = load i32, ptr %11, align 4, !tbaa !9
  %436 = add nsw i32 %435, 1
  store i32 %436, ptr %11, align 4, !tbaa !9
  br label %437

437:                                              ; preds = %434, %427
  br label %438

438:                                              ; preds = %437
  %439 = load i32, ptr %13, align 4, !tbaa !9
  %440 = add nsw i32 %439, 1
  store i32 %440, ptr %13, align 4, !tbaa !9
  br label %343, !llvm.loop !12

441:                                              ; preds = %346
  %442 = load i32, ptr %8, align 4, !tbaa !9
  %443 = icmp sge i32 %442, 1
  br i1 %443, label %444, label %447

444:                                              ; preds = %441
  %445 = load i32, ptr %9, align 4, !tbaa !9
  %446 = icmp sge i32 %445, 1
  br i1 %446, label %457, label %447

447:                                              ; preds = %444, %441
  %448 = load i32, ptr %10, align 4, !tbaa !9
  %449 = load i32, ptr %11, align 4, !tbaa !9
  %450 = sub nsw i32 %448, %449
  %451 = icmp slt i32 %450, 0
  br i1 %451, label %457, label %452

452:                                              ; preds = %447
  %453 = load i32, ptr %10, align 4, !tbaa !9
  %454 = load i32, ptr %11, align 4, !tbaa !9
  %455 = sub nsw i32 %453, %454
  %456 = icmp sgt i32 %455, 1
  br i1 %456, label %457, label %458

457:                                              ; preds = %452, %447, %444
  store i32 3, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %512

458:                                              ; preds = %452
  %459 = load i32, ptr %10, align 4, !tbaa !9
  %460 = icmp eq i32 %459, 0
  br i1 %460, label %467, label %461

461:                                              ; preds = %458
  %462 = load i32, ptr %11, align 4, !tbaa !9
  %463 = icmp eq i32 %462, 0
  br i1 %463, label %467, label %464

464:                                              ; preds = %461
  %465 = load i32, ptr %12, align 4, !tbaa !9
  %466 = icmp eq i32 %465, 9
  br i1 %466, label %467, label %468

467:                                              ; preds = %464, %461, %458
  store i32 2, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %512

468:                                              ; preds = %464
  %469 = load i32, ptr %8, align 4, !tbaa !9
  %470 = icmp sge i32 %469, 1
  br i1 %470, label %471, label %480

471:                                              ; preds = %468
  %472 = load i32, ptr %9, align 4, !tbaa !9
  %473 = icmp eq i32 %472, 0
  br i1 %473, label %474, label %480

474:                                              ; preds = %471
  %475 = load i32, ptr %10, align 4, !tbaa !9
  %476 = load i32, ptr %11, align 4, !tbaa !9
  %477 = sub nsw i32 %475, %476
  %478 = icmp eq i32 %477, 1
  br i1 %478, label %479, label %480

479:                                              ; preds = %474
  store i32 1, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %512

480:                                              ; preds = %474, %471, %468
  %481 = load i32, ptr %8, align 4, !tbaa !9
  %482 = icmp eq i32 %481, 0
  br i1 %482, label %483, label %491

483:                                              ; preds = %480
  %484 = load i32, ptr %9, align 4, !tbaa !9
  %485 = icmp eq i32 %484, 1
  br i1 %485, label %486, label %491

486:                                              ; preds = %483
  %487 = load i32, ptr %10, align 4, !tbaa !9
  %488 = load i32, ptr %11, align 4, !tbaa !9
  %489 = icmp eq i32 %487, %488
  br i1 %489, label %490, label %491

490:                                              ; preds = %486
  store i32 1, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %512

491:                                              ; preds = %486, %483, %480
  %492 = load i32, ptr %8, align 4, !tbaa !9
  %493 = icmp eq i32 %492, 0
  br i1 %493, label %494, label %501

494:                                              ; preds = %491
  %495 = load i32, ptr %9, align 4, !tbaa !9
  %496 = icmp eq i32 %495, 0
  br i1 %496, label %497, label %501

497:                                              ; preds = %494
  %498 = load i32, ptr %12, align 4, !tbaa !9
  %499 = icmp eq i32 %498, 0
  br i1 %499, label %500, label %501

500:                                              ; preds = %497
  store i32 1, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %512

501:                                              ; preds = %497, %494, %491
  %502 = load i32, ptr %8, align 4, !tbaa !9
  %503 = icmp eq i32 %502, 0
  br i1 %503, label %504, label %511

504:                                              ; preds = %501
  %505 = load i32, ptr %9, align 4, !tbaa !9
  %506 = icmp eq i32 %505, 0
  br i1 %506, label %507, label %511

507:                                              ; preds = %504
  %508 = load i32, ptr %12, align 4, !tbaa !9
  %509 = icmp sgt i32 %508, 0
  br i1 %509, label %510, label %511

510:                                              ; preds = %507
  store i32 2, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %512

511:                                              ; preds = %507, %504, %501
  store i32 3, ptr %4, align 4
  store i32 1, ptr %14, align 4
  br label %512

512:                                              ; preds = %511, %510, %500, %490, %479, %467, %457
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %513 = load i32, ptr %4, align 4
  ret i32 %513
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef range(i32 1, 4) i32 @_Z9findCondnNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_S4_(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %5 = load i8, ptr %4, align 1, !tbaa !5
  %6 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %7 = load i8, ptr %6, align 1, !tbaa !5
  %8 = icmp eq i8 %5, %7
  br i1 %8, label %9, label %28

9:                                                ; preds = %3
  %10 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %11 = load i8, ptr %10, align 1, !tbaa !5
  %12 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %13 = load i8, ptr %12, align 1, !tbaa !5
  %14 = icmp eq i8 %11, %13
  br i1 %14, label %15, label %28

15:                                               ; preds = %9
  %16 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %17 = load i8, ptr %16, align 1, !tbaa !5
  %18 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %19 = load i8, ptr %18, align 1, !tbaa !5
  %20 = icmp eq i8 %17, %19
  br i1 %20, label %21, label %28

21:                                               ; preds = %15
  %22 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %23 = load i8, ptr %22, align 1, !tbaa !5
  %24 = icmp eq i8 %23, 88
  %spec.select = zext i1 %24 to i32
  %25 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %26 = load i8, ptr %25, align 1, !tbaa !5
  %27 = icmp eq i8 %26, 79
  %spec.select111 = zext i1 %27 to i32
  br label %28

28:                                               ; preds = %21, %15, %9, %3
  %.191 = phi i32 [ 0, %15 ], [ 0, %9 ], [ 0, %3 ], [ %spec.select, %21 ]
  %.086 = phi i32 [ 0, %15 ], [ 0, %9 ], [ 0, %3 ], [ %spec.select111, %21 ]
  %29 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %30 = load i8, ptr %29, align 1, !tbaa !5
  %31 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %32 = load i8, ptr %31, align 1, !tbaa !5
  %33 = icmp eq i8 %30, %32
  br i1 %33, label %34, label %55

34:                                               ; preds = %28
  %35 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %36 = load i8, ptr %35, align 1, !tbaa !5
  %37 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %38 = load i8, ptr %37, align 1, !tbaa !5
  %39 = icmp eq i8 %36, %38
  br i1 %39, label %40, label %55

40:                                               ; preds = %34
  %41 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %42 = load i8, ptr %41, align 1, !tbaa !5
  %43 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %44 = load i8, ptr %43, align 1, !tbaa !5
  %45 = icmp eq i8 %42, %44
  br i1 %45, label %46, label %55

46:                                               ; preds = %40
  %47 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %48 = load i8, ptr %47, align 1, !tbaa !5
  %49 = icmp eq i8 %48, 88
  %50 = zext i1 %49 to i32
  %spec.select100 = add nuw nsw i32 %.191, %50
  %51 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %52 = load i8, ptr %51, align 1, !tbaa !5
  %53 = icmp eq i8 %52, 79
  %54 = zext i1 %53 to i32
  %spec.select112 = add nuw nsw i32 %.086, %54
  br label %55

55:                                               ; preds = %46, %40, %34, %28
  %.393 = phi i32 [ %.191, %40 ], [ %.191, %34 ], [ %.191, %28 ], [ %spec.select100, %46 ]
  %.187 = phi i32 [ %.086, %40 ], [ %.086, %34 ], [ %.086, %28 ], [ %spec.select112, %46 ]
  %56 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %57 = load i8, ptr %56, align 1, !tbaa !5
  %58 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %59 = load i8, ptr %58, align 1, !tbaa !5
  %60 = icmp eq i8 %57, %59
  br i1 %60, label %61, label %82

61:                                               ; preds = %55
  %62 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %63 = load i8, ptr %62, align 1, !tbaa !5
  %64 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %65 = load i8, ptr %64, align 1, !tbaa !5
  %66 = icmp eq i8 %63, %65
  br i1 %66, label %67, label %82

67:                                               ; preds = %61
  %68 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %69 = load i8, ptr %68, align 1, !tbaa !5
  %70 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %71 = load i8, ptr %70, align 1, !tbaa !5
  %72 = icmp eq i8 %69, %71
  br i1 %72, label %73, label %82

73:                                               ; preds = %67
  %74 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %75 = load i8, ptr %74, align 1, !tbaa !5
  %76 = icmp eq i8 %75, 88
  %77 = zext i1 %76 to i32
  %spec.select101 = add nuw nsw i32 %.393, %77
  %78 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %79 = load i8, ptr %78, align 1, !tbaa !5
  %80 = icmp eq i8 %79, 79
  %81 = zext i1 %80 to i32
  %spec.select113 = add nuw nsw i32 %.187, %81
  br label %82

82:                                               ; preds = %73, %67, %61, %55
  %.595 = phi i32 [ %.393, %67 ], [ %.393, %61 ], [ %.393, %55 ], [ %spec.select101, %73 ]
  %.288 = phi i32 [ %.187, %67 ], [ %.187, %61 ], [ %.187, %55 ], [ %spec.select113, %73 ]
  %83 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %84 = load i8, ptr %83, align 1, !tbaa !5
  %85 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %86 = load i8, ptr %85, align 1, !tbaa !5
  %87 = icmp eq i8 %84, %86
  br i1 %87, label %88, label %109

88:                                               ; preds = %82
  %89 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %90 = load i8, ptr %89, align 1, !tbaa !5
  %91 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %92 = load i8, ptr %91, align 1, !tbaa !5
  %93 = icmp eq i8 %90, %92
  br i1 %93, label %94, label %109

94:                                               ; preds = %88
  %95 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %96 = load i8, ptr %95, align 1, !tbaa !5
  %97 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %98 = load i8, ptr %97, align 1, !tbaa !5
  %99 = icmp eq i8 %96, %98
  br i1 %99, label %100, label %109

100:                                              ; preds = %94
  %101 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %102 = load i8, ptr %101, align 1, !tbaa !5
  %103 = icmp eq i8 %102, 88
  %104 = zext i1 %103 to i32
  %spec.select102 = add nuw nsw i32 %.595, %104
  %105 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %106 = load i8, ptr %105, align 1, !tbaa !5
  %107 = icmp eq i8 %106, 79
  %108 = zext i1 %107 to i32
  %spec.select114 = add nuw nsw i32 %.288, %108
  br label %109

109:                                              ; preds = %100, %94, %88, %82
  %.797 = phi i32 [ %.595, %94 ], [ %.595, %88 ], [ %.595, %82 ], [ %spec.select102, %100 ]
  %.389 = phi i32 [ %.288, %94 ], [ %.288, %88 ], [ %.288, %82 ], [ %spec.select114, %100 ]
  %110 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %111 = load i8, ptr %110, align 1, !tbaa !5
  %112 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %113 = load i8, ptr %112, align 1, !tbaa !5
  %114 = icmp eq i8 %111, %113
  br i1 %114, label %115, label %136

115:                                              ; preds = %109
  %116 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %117 = load i8, ptr %116, align 1, !tbaa !5
  %118 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %119 = load i8, ptr %118, align 1, !tbaa !5
  %120 = icmp eq i8 %117, %119
  br i1 %120, label %121, label %136

121:                                              ; preds = %115
  %122 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %123 = load i8, ptr %122, align 1, !tbaa !5
  %124 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %125 = load i8, ptr %124, align 1, !tbaa !5
  %126 = icmp eq i8 %123, %125
  br i1 %126, label %127, label %136

127:                                              ; preds = %121
  %128 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %129 = load i8, ptr %128, align 1, !tbaa !5
  %130 = icmp eq i8 %129, 88
  %131 = zext i1 %130 to i32
  %spec.select103 = add nuw nsw i32 %.797, %131
  %132 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %133 = load i8, ptr %132, align 1, !tbaa !5
  %134 = icmp eq i8 %133, 79
  %135 = zext i1 %134 to i32
  %spec.select115 = add nuw nsw i32 %.389, %135
  br label %136

136:                                              ; preds = %127, %121, %115, %109
  %.9 = phi i32 [ %.797, %121 ], [ %.797, %115 ], [ %.797, %109 ], [ %spec.select103, %127 ]
  %.4 = phi i32 [ %.389, %121 ], [ %.389, %115 ], [ %.389, %109 ], [ %spec.select115, %127 ]
  %137 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %138 = load i8, ptr %137, align 1, !tbaa !5
  %139 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %140 = load i8, ptr %139, align 1, !tbaa !5
  %141 = icmp eq i8 %138, %140
  br i1 %141, label %142, label %163

142:                                              ; preds = %136
  %143 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %144 = load i8, ptr %143, align 1, !tbaa !5
  %145 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %146 = load i8, ptr %145, align 1, !tbaa !5
  %147 = icmp eq i8 %144, %146
  br i1 %147, label %148, label %163

148:                                              ; preds = %142
  %149 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %150 = load i8, ptr %149, align 1, !tbaa !5
  %151 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %152 = load i8, ptr %151, align 1, !tbaa !5
  %153 = icmp eq i8 %150, %152
  br i1 %153, label %154, label %163

154:                                              ; preds = %148
  %155 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %156 = load i8, ptr %155, align 1, !tbaa !5
  %157 = icmp eq i8 %156, 88
  %158 = zext i1 %157 to i32
  %spec.select104 = add nuw nsw i32 %.9, %158
  %159 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %160 = load i8, ptr %159, align 1, !tbaa !5
  %161 = icmp eq i8 %160, 79
  %162 = zext i1 %161 to i32
  %spec.select116 = add nuw nsw i32 %.4, %162
  br label %163

163:                                              ; preds = %154, %148, %142, %136
  %.11 = phi i32 [ %.9, %148 ], [ %.9, %142 ], [ %.9, %136 ], [ %spec.select104, %154 ]
  %.5 = phi i32 [ %.4, %148 ], [ %.4, %142 ], [ %.4, %136 ], [ %spec.select116, %154 ]
  %164 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %165 = load i8, ptr %164, align 1, !tbaa !5
  %166 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %167 = load i8, ptr %166, align 1, !tbaa !5
  %168 = icmp eq i8 %165, %167
  br i1 %168, label %169, label %190

169:                                              ; preds = %163
  %170 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %171 = load i8, ptr %170, align 1, !tbaa !5
  %172 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %173 = load i8, ptr %172, align 1, !tbaa !5
  %174 = icmp eq i8 %171, %173
  br i1 %174, label %175, label %190

175:                                              ; preds = %169
  %176 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %177 = load i8, ptr %176, align 1, !tbaa !5
  %178 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %179 = load i8, ptr %178, align 1, !tbaa !5
  %180 = icmp eq i8 %177, %179
  br i1 %180, label %181, label %190

181:                                              ; preds = %175
  %182 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %183 = load i8, ptr %182, align 1, !tbaa !5
  %184 = icmp eq i8 %183, 88
  %185 = zext i1 %184 to i32
  %spec.select105 = add nuw nsw i32 %.11, %185
  %186 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %187 = load i8, ptr %186, align 1, !tbaa !5
  %188 = icmp eq i8 %187, 79
  %189 = zext i1 %188 to i32
  %spec.select117 = add nuw nsw i32 %.5, %189
  br label %190

190:                                              ; preds = %181, %175, %169, %163
  %.13 = phi i32 [ %.11, %175 ], [ %.11, %169 ], [ %.11, %163 ], [ %spec.select105, %181 ]
  %.6 = phi i32 [ %.5, %175 ], [ %.5, %169 ], [ %.5, %163 ], [ %spec.select117, %181 ]
  %191 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %192 = load i8, ptr %191, align 1, !tbaa !5
  %193 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %194 = load i8, ptr %193, align 1, !tbaa !5
  %195 = icmp eq i8 %192, %194
  br i1 %195, label %196, label %217

196:                                              ; preds = %190
  %197 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %198 = load i8, ptr %197, align 1, !tbaa !5
  %199 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %200 = load i8, ptr %199, align 1, !tbaa !5
  %201 = icmp eq i8 %198, %200
  br i1 %201, label %202, label %217

202:                                              ; preds = %196
  %203 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %204 = load i8, ptr %203, align 1, !tbaa !5
  %205 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %206 = load i8, ptr %205, align 1, !tbaa !5
  %207 = icmp eq i8 %204, %206
  br i1 %207, label %208, label %217

208:                                              ; preds = %202
  %209 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %210 = load i8, ptr %209, align 1, !tbaa !5
  %211 = icmp eq i8 %210, 88
  %212 = zext i1 %211 to i32
  %spec.select106 = add nuw nsw i32 %.13, %212
  %213 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %214 = load i8, ptr %213, align 1, !tbaa !5
  %215 = icmp eq i8 %214, 79
  %216 = zext i1 %215 to i32
  %spec.select118 = add nuw nsw i32 %.6, %216
  br label %217

217:                                              ; preds = %208, %202, %196, %190
  %.15 = phi i32 [ %.13, %202 ], [ %.13, %196 ], [ %.13, %190 ], [ %spec.select106, %208 ]
  %.7 = phi i32 [ %.6, %202 ], [ %.6, %196 ], [ %.6, %190 ], [ %spec.select118, %208 ]
  %218 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %219 = load i8, ptr %218, align 1, !tbaa !5
  %220 = icmp eq i8 %219, 88
  %221 = zext i1 %220 to i32
  %222 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %223 = load i8, ptr %222, align 1, !tbaa !5
  %224 = icmp eq i8 %223, 95
  %225 = zext i1 %224 to i32
  %226 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
  %227 = load i8, ptr %226, align 1, !tbaa !5
  %228 = icmp eq i8 %227, 79
  %229 = zext i1 %228 to i32
  %230 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %231 = load i8, ptr %230, align 1, !tbaa !5
  %232 = icmp eq i8 %231, 88
  %233 = zext i1 %232 to i32
  %.284 = add nuw nsw i32 %221, %233
  %234 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %235 = load i8, ptr %234, align 1, !tbaa !5
  %236 = icmp eq i8 %235, 95
  %237 = zext i1 %236 to i32
  %.2 = add nuw nsw i32 %225, %237
  %238 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 0)
  %239 = load i8, ptr %238, align 1, !tbaa !5
  %240 = icmp eq i8 %239, 79
  %241 = zext i1 %240 to i32
  %.280 = add nuw nsw i32 %229, %241
  %242 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %243 = load i8, ptr %242, align 1, !tbaa !5
  %244 = icmp eq i8 %243, 88
  %245 = zext i1 %244 to i32
  %.385 = add nuw nsw i32 %.284, %245
  %246 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %247 = load i8, ptr %246, align 1, !tbaa !5
  %248 = icmp eq i8 %247, 95
  %249 = zext i1 %248 to i32
  %.3 = add nuw nsw i32 %.2, %249
  %250 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
  %251 = load i8, ptr %250, align 1, !tbaa !5
  %252 = icmp eq i8 %251, 79
  %253 = zext i1 %252 to i32
  %.381 = add nuw nsw i32 %.280, %253
  %254 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %255 = load i8, ptr %254, align 1, !tbaa !5
  %256 = icmp eq i8 %255, 88
  %257 = zext i1 %256 to i32
  %spec.select107.1 = add nuw nsw i32 %.385, %257
  %258 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %259 = load i8, ptr %258, align 1, !tbaa !5
  %260 = icmp eq i8 %259, 95
  %261 = zext i1 %260 to i32
  %.1.1 = add nuw nsw i32 %.3, %261
  %262 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
  %263 = load i8, ptr %262, align 1, !tbaa !5
  %264 = icmp eq i8 %263, 79
  %265 = zext i1 %264 to i32
  %.179.1 = add nuw nsw i32 %.381, %265
  %266 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %267 = load i8, ptr %266, align 1, !tbaa !5
  %268 = icmp eq i8 %267, 88
  %269 = zext i1 %268 to i32
  %.284.1 = add nuw nsw i32 %spec.select107.1, %269
  %270 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %271 = load i8, ptr %270, align 1, !tbaa !5
  %272 = icmp eq i8 %271, 95
  %273 = zext i1 %272 to i32
  %.2.1 = add nuw nsw i32 %.1.1, %273
  %274 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 1)
  %275 = load i8, ptr %274, align 1, !tbaa !5
  %276 = icmp eq i8 %275, 79
  %277 = zext i1 %276 to i32
  %.280.1 = add nuw nsw i32 %.179.1, %277
  %278 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %279 = load i8, ptr %278, align 1, !tbaa !5
  %280 = icmp eq i8 %279, 88
  %281 = zext i1 %280 to i32
  %.385.1 = add nuw nsw i32 %.284.1, %281
  %282 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %283 = load i8, ptr %282, align 1, !tbaa !5
  %284 = icmp eq i8 %283, 95
  %285 = zext i1 %284 to i32
  %.3.1 = add nuw nsw i32 %.2.1, %285
  %286 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
  %287 = load i8, ptr %286, align 1, !tbaa !5
  %288 = icmp eq i8 %287, 79
  %289 = zext i1 %288 to i32
  %.381.1 = add nuw nsw i32 %.280.1, %289
  %290 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %291 = load i8, ptr %290, align 1, !tbaa !5
  %292 = icmp eq i8 %291, 88
  %293 = zext i1 %292 to i32
  %spec.select107.2 = add nuw nsw i32 %.385.1, %293
  %294 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %295 = load i8, ptr %294, align 1, !tbaa !5
  %296 = icmp eq i8 %295, 95
  %297 = zext i1 %296 to i32
  %.1.2 = add nuw nsw i32 %.3.1, %297
  %298 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 2)
  %299 = load i8, ptr %298, align 1, !tbaa !5
  %300 = icmp eq i8 %299, 79
  %301 = zext i1 %300 to i32
  %.179.2 = add nuw nsw i32 %.381.1, %301
  %302 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %303 = load i8, ptr %302, align 1, !tbaa !5
  %304 = icmp eq i8 %303, 88
  %305 = zext i1 %304 to i32
  %.284.2 = add nuw nsw i32 %spec.select107.2, %305
  %306 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %307 = load i8, ptr %306, align 1, !tbaa !5
  %308 = icmp eq i8 %307, 95
  %309 = zext i1 %308 to i32
  %.2.2 = add nuw nsw i32 %.1.2, %309
  %310 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef 2)
  %311 = load i8, ptr %310, align 1, !tbaa !5
  %312 = icmp eq i8 %311, 79
  %313 = zext i1 %312 to i32
  %.280.2 = add nuw nsw i32 %.179.2, %313
  %314 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %315 = load i8, ptr %314, align 1, !tbaa !5
  %316 = icmp eq i8 %315, 88
  %317 = zext i1 %316 to i32
  %.385.2 = add nuw nsw i32 %.284.2, %317
  %318 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %319 = load i8, ptr %318, align 1, !tbaa !5
  %320 = icmp eq i8 %319, 95
  %321 = zext i1 %320 to i32
  %.3.2 = add nuw nsw i32 %.2.2, %321
  %322 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 2)
  %323 = load i8, ptr %322, align 1, !tbaa !5
  %324 = icmp eq i8 %323, 79
  %325 = zext i1 %324 to i32
  %.381.2 = add nuw nsw i32 %.280.2, %325
  %326 = icmp ne i32 %.15, 0
  %327 = icmp ne i32 %.7, 0
  %or.cond = select i1 %326, i1 %327, i1 false
  br i1 %or.cond, label %345, label %328

328:                                              ; preds = %217
  %329 = sub nsw i32 %.385.2, %.381.2
  %or.cond108 = icmp ugt i32 %329, 1
  br i1 %or.cond108, label %345, label %330

330:                                              ; preds = %328
  %331 = icmp eq i32 %.385.2, 0
  %332 = icmp eq i32 %.381.2, 0
  %or.cond3 = select i1 %331, i1 true, i1 %332
  %333 = icmp eq i32 %.3.2, 9
  %or.cond5 = select i1 %or.cond3, i1 true, i1 %333
  br i1 %or.cond5, label %345, label %334

334:                                              ; preds = %330
  %335 = icmp eq i32 %.7, 0
  %or.cond7 = select i1 %326, i1 %335, i1 false
  %336 = icmp eq i32 %329, 1
  %or.cond109 = and i1 %or.cond7, %336
  br i1 %or.cond109, label %345, label %337

337:                                              ; preds = %334
  %338 = icmp eq i32 %.15, 0
  %339 = icmp eq i32 %.7, 1
  %or.cond9 = select i1 %338, i1 %339, i1 false
  %340 = icmp eq i32 %.385.2, %.381.2
  %or.cond110 = select i1 %or.cond9, i1 %340, i1 false
  br i1 %or.cond110, label %345, label %341

341:                                              ; preds = %337
  %or.cond11 = select i1 %338, i1 %335, i1 false
  %342 = icmp eq i32 %.3.2, 0
  %or.cond13 = select i1 %or.cond11, i1 %342, i1 false
  br i1 %or.cond13, label %345, label %343

343:                                              ; preds = %341
  %344 = icmp ne i32 %.3.2, 0
  %or.cond17 = select i1 %or.cond11, i1 %344, i1 false
  %. = select i1 %or.cond17, i32 2, i32 3
  br label %345

345:                                              ; preds = %343, %341, %337, %334, %330, %328, %217
  %.098 = phi i32 [ 3, %217 ], [ 3, %328 ], [ 2, %330 ], [ 1, %334 ], [ 1, %337 ], [ 1, %341 ], [ %., %343 ]
  ret i32 %.098
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopRotatePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass