; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/277.5 Division 2/Problem C (C)

; 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"

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %19 = load i32, ptr %3, align 4, !tbaa !5
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %21, label %27

21:                                               ; preds = %0
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = icmp eq i32 %22, 1
  br i1 %23, label %24, label %27

24:                                               ; preds = %21
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %263

27:                                               ; preds = %21, %0
  %28 = load i32, ptr %3, align 4, !tbaa !5
  %29 = icmp sge i32 %28, 0
  br i1 %29, label %30, label %259

30:                                               ; preds = %27
  %31 = load i32, ptr %3, align 4, !tbaa !5
  %32 = load i32, ptr %2, align 4, !tbaa !5
  %33 = mul nsw i32 9, %32
  %34 = icmp sle i32 %31, %33
  br i1 %34, label %35, label %259

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %36 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %36, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %93, %35
  %38 = load i32, ptr %10, align 4, !tbaa !5
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = icmp slt i32 %38, %39
  br i1 %40, label %42, label %41

41:                                               ; preds = %37
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %96

42:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %88, %42
  %44 = load i32, ptr %11, align 4, !tbaa !5
  %45 = icmp slt i32 %44, 10
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  store i32 5, ptr %4, align 4
  br label %91

47:                                               ; preds = %43
  %48 = load i32, ptr %10, align 4, !tbaa !5
  %49 = icmp sgt i32 %48, 0
  br i1 %49, label %59, label %50

50:                                               ; preds = %47
  %51 = load i32, ptr %11, align 4, !tbaa !5
  %52 = icmp sgt i32 %51, 0
  br i1 %52, label %59, label %53

53:                                               ; preds = %50
  %54 = load i32, ptr %2, align 4, !tbaa !5
  %55 = icmp eq i32 %54, 1
  br i1 %55, label %56, label %87

56:                                               ; preds = %53
  %57 = load i32, ptr %11, align 4, !tbaa !5
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %87

59:                                               ; preds = %56, %50, %47
  %60 = load i32, ptr %9, align 4, !tbaa !5
  %61 = load i32, ptr %11, align 4, !tbaa !5
  %62 = sub nsw i32 %60, %61
  %63 = icmp sge i32 %62, 0
  br i1 %63, label %64, label %87

64:                                               ; preds = %59
  %65 = load i32, ptr %9, align 4, !tbaa !5
  %66 = load i32, ptr %11, align 4, !tbaa !5
  %67 = sub nsw i32 %65, %66
  %68 = load i32, ptr %2, align 4, !tbaa !5
  %69 = load i32, ptr %10, align 4, !tbaa !5
  %70 = sub nsw i32 %68, %69
  %71 = sub nsw i32 %70, 1
  %72 = mul nsw i32 9, %71
  %73 = icmp sle i32 %67, %72
  br i1 %73, label %74, label %87

74:                                               ; preds = %64
  %75 = load i32, ptr %11, align 4, !tbaa !5
  %76 = add nsw i32 48, %75
  %77 = trunc i32 %76 to i8
  %78 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %77)
          to label %79 unwind label %83

79:                                               ; preds = %74
  %80 = load i32, ptr %11, align 4, !tbaa !5
  %81 = load i32, ptr %9, align 4, !tbaa !5
  %82 = sub nsw i32 %81, %80
  store i32 %82, ptr %9, align 4, !tbaa !5
  store i32 5, ptr %4, align 4
  br label %91

83:                                               ; preds = %74
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %12, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %258

87:                                               ; preds = %64, %59, %56, %53
  br label %88

88:                                               ; preds = %87
  %89 = load i32, ptr %11, align 4, !tbaa !5
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %11, align 4, !tbaa !5
  br label %43, !llvm.loop !9

91:                                               ; preds = %79, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %92

92:                                               ; preds = %91
  br label %93

93:                                               ; preds = %92
  %94 = load i32, ptr %10, align 4, !tbaa !5
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %10, align 4, !tbaa !5
  br label %37, !llvm.loop !11

96:                                               ; preds = %41
  %97 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %97, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %98

98:                                               ; preds = %154, %96
  %99 = load i32, ptr %14, align 4, !tbaa !5
  %100 = load i32, ptr %2, align 4, !tbaa !5
  %101 = icmp slt i32 %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %157

103:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 9, ptr %15, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %149, %103
  %105 = load i32, ptr %15, align 4, !tbaa !5
  %106 = icmp sge i32 %105, 0
  br i1 %106, label %108, label %107

107:                                              ; preds = %104
  store i32 11, ptr %4, align 4
  br label %152

108:                                              ; preds = %104
  %109 = load i32, ptr %14, align 4, !tbaa !5
  %110 = icmp sgt i32 %109, 0
  br i1 %110, label %120, label %111

111:                                              ; preds = %108
  %112 = load i32, ptr %15, align 4, !tbaa !5
  %113 = icmp sgt i32 %112, 0
  br i1 %113, label %120, label %114

114:                                              ; preds = %111
  %115 = load i32, ptr %2, align 4, !tbaa !5
  %116 = icmp eq i32 %115, 1
  br i1 %116, label %117, label %148

117:                                              ; preds = %114
  %118 = load i32, ptr %15, align 4, !tbaa !5
  %119 = icmp eq i32 %118, 0
  br i1 %119, label %120, label %148

120:                                              ; preds = %117, %111, %108
  %121 = load i32, ptr %9, align 4, !tbaa !5
  %122 = load i32, ptr %15, align 4, !tbaa !5
  %123 = sub nsw i32 %121, %122
  %124 = icmp sge i32 %123, 0
  br i1 %124, label %125, label %148

125:                                              ; preds = %120
  %126 = load i32, ptr %9, align 4, !tbaa !5
  %127 = load i32, ptr %15, align 4, !tbaa !5
  %128 = sub nsw i32 %126, %127
  %129 = load i32, ptr %2, align 4, !tbaa !5
  %130 = load i32, ptr %14, align 4, !tbaa !5
  %131 = sub nsw i32 %129, %130
  %132 = sub nsw i32 %131, 1
  %133 = mul nsw i32 9, %132
  %134 = icmp sle i32 %128, %133
  br i1 %134, label %135, label %148

135:                                              ; preds = %125
  %136 = load i32, ptr %15, align 4, !tbaa !5
  %137 = add nsw i32 48, %136
  %138 = trunc i32 %137 to i8
  %139 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %6, i8 noundef signext %138)
          to label %140 unwind label %144

140:                                              ; preds = %135
  %141 = load i32, ptr %15, align 4, !tbaa !5
  %142 = load i32, ptr %9, align 4, !tbaa !5
  %143 = sub nsw i32 %142, %141
  store i32 %143, ptr %9, align 4, !tbaa !5
  store i32 11, ptr %4, align 4
  br label %152

144:                                              ; preds = %135
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %12, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %258

148:                                              ; preds = %125, %120, %117, %114
  br label %149

149:                                              ; preds = %148
  %150 = load i32, ptr %15, align 4, !tbaa !5
  %151 = add nsw i32 %150, -1
  store i32 %151, ptr %15, align 4, !tbaa !5
  br label %104, !llvm.loop !12

152:                                              ; preds = %140, %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %153

153:                                              ; preds = %152
  br label %154

154:                                              ; preds = %153
  %155 = load i32, ptr %14, align 4, !tbaa !5
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %14, align 4, !tbaa !5
  br label %98, !llvm.loop !13

157:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %158

158:                                              ; preds = %173, %157
  %159 = load i32, ptr %16, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  %162 = icmp ult i64 %160, %161
  br i1 %162, label %163, label %171

163:                                              ; preds = %158
  %164 = load i32, ptr %16, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %165)
          to label %167 unwind label %176

167:                                              ; preds = %163
  %168 = load i8, ptr %166, align 1, !tbaa !14
  %169 = sext i8 %168 to i32
  %170 = icmp eq i32 %169, 48
  br label %171

171:                                              ; preds = %167, %158
  %172 = phi i1 [ false, %158 ], [ %170, %167 ]
  br i1 %172, label %173, label %180

173:                                              ; preds = %171
  %174 = load i32, ptr %16, align 4, !tbaa !5
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %16, align 4, !tbaa !5
  br label %158, !llvm.loop !15

176:                                              ; preds = %252, %250, %248, %246, %243, %241, %225, %221, %202, %190, %186, %163
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %12, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %258

180:                                              ; preds = %171
  br label %181

181:                                              ; preds = %193, %180
  %182 = load i32, ptr %16, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  %185 = icmp ult i64 %183, %184
  br i1 %185, label %186, label %196

186:                                              ; preds = %181
  %187 = load i32, ptr %16, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %188)
          to label %190 unwind label %176

190:                                              ; preds = %186
  %191 = load i8, ptr %189, align 1, !tbaa !14
  %192 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %7, i8 noundef signext %191)
          to label %193 unwind label %176

193:                                              ; preds = %190
  %194 = load i32, ptr %16, align 4, !tbaa !5
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %16, align 4, !tbaa !5
  br label %181, !llvm.loop !16

196:                                              ; preds = %181
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %197

197:                                              ; preds = %212, %196
  %198 = load i32, ptr %16, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  %201 = icmp ult i64 %199, %200
  br i1 %201, label %202, label %210

202:                                              ; preds = %197
  %203 = load i32, ptr %16, align 4, !tbaa !5
  %204 = sext i32 %203 to i64
  %205 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %204)
          to label %206 unwind label %176

206:                                              ; preds = %202
  %207 = load i8, ptr %205, align 1, !tbaa !14
  %208 = sext i8 %207 to i32
  %209 = icmp eq i32 %208, 48
  br label %210

210:                                              ; preds = %206, %197
  %211 = phi i1 [ false, %197 ], [ %209, %206 ]
  br i1 %211, label %212, label %215

212:                                              ; preds = %210
  %213 = load i32, ptr %16, align 4, !tbaa !5
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %16, align 4, !tbaa !5
  br label %197, !llvm.loop !17

215:                                              ; preds = %210
  br label %216

216:                                              ; preds = %228, %215
  %217 = load i32, ptr %16, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  %219 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  %220 = icmp ult i64 %218, %219
  br i1 %220, label %221, label %231

221:                                              ; preds = %216
  %222 = load i32, ptr %16, align 4, !tbaa !5
  %223 = sext i32 %222 to i64
  %224 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %223)
          to label %225 unwind label %176

225:                                              ; preds = %221
  %226 = load i8, ptr %224, align 1, !tbaa !14
  %227 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 noundef signext %226)
          to label %228 unwind label %176

228:                                              ; preds = %225
  %229 = load i32, ptr %16, align 4, !tbaa !5
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %16, align 4, !tbaa !5
  br label %216, !llvm.loop !18

231:                                              ; preds = %216
  %232 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  %233 = load i32, ptr %2, align 4, !tbaa !5
  %234 = sext i32 %233 to i64
  %235 = icmp ne i64 %232, %234
  br i1 %235, label %241, label %236

236:                                              ; preds = %231
  %237 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  %238 = load i32, ptr %2, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = icmp ne i64 %237, %239
  br i1 %240, label %241, label %246

241:                                              ; preds = %236, %231
  %242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %243 unwind label %176

243:                                              ; preds = %241
  %244 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %242, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %245 unwind label %176

245:                                              ; preds = %243
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %255

246:                                              ; preds = %236
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %248 unwind label %176

248:                                              ; preds = %246
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef @.str.2)
          to label %250 unwind label %176

250:                                              ; preds = %248
  %251 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %249, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %252 unwind label %176

252:                                              ; preds = %250
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %251, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %254 unwind label %176

254:                                              ; preds = %252
  store i32 0, ptr %4, align 4
  br label %255

255:                                              ; preds = %254, %245
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  %256 = load i32, ptr %4, align 4
  switch i32 %256, label %263 [
    i32 0, label %257
  ]

257:                                              ; preds = %255
  br label %262

258:                                              ; preds = %176, %144, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %265

259:                                              ; preds = %30, %27
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %260, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %262

262:                                              ; preds = %259, %257
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %263

263:                                              ; preds = %262, %255, %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %264 = load i32, ptr %1, align 4
  ret i32 %264

265:                                              ; preds = %258
  %266 = load ptr, ptr %12, align 8
  %267 = load i32, ptr %13, align 4
  %268 = insertvalue { ptr, i32 } poison, ptr %266, 0
  %269 = insertvalue { ptr, i32 } %268, i32 %267, 1
  resume { ptr, i32 } %269
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #4 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; 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) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

attributes #0 = { mustprogress norecurse 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 = { "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 = { inlinehint 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 #4 = { 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 #5 = { 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 #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}


; 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"

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %8 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = icmp eq i32 %9, 0
  %11 = load i32, ptr %1, align 4
  %12 = icmp eq i32 %11, 1
  %or.cond = select i1 %10, i1 %12, i1 false
  br i1 %or.cond, label %13, label %16

13:                                               ; preds = %0
  %14 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %15 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %253

16:                                               ; preds = %0
  %17 = icmp slt i32 %9, 0
  %18 = mul nsw i32 %11, 9
  %.not = icmp sgt i32 %9, %18
  %or.cond81 = select i1 %17, i1 true, i1 %.not
  br i1 %or.cond81, label %250, label %19

19:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = load i32, ptr %1, align 4
  %.fr129.peel = freeze i32 %21
  %22 = icmp sgt i32 %.fr129.peel, 0
  br i1 %22, label %.preheader92.preheader, label %._crit_edge

.preheader92.preheader:                           ; preds = %19
  %23 = icmp eq i32 %.fr129.peel, 1
  %24 = mul i32 %.fr129.peel, 9
  %25 = add i32 %24, -9
  br i1 %23, label %.preheader92.split.preheader.peel, label %.preheader92.split.us.1.peel

.preheader92.split.us.1.peel:                     ; preds = %.preheader92.preheader
  %26 = add nsw i32 %20, -1
  %27 = icmp slt i32 %20, 1
  %.not79.us.1.peel = icmp sgt i32 %26, %25
  %or.cond124.1.peel = select i1 %27, i1 true, i1 %.not79.us.1.peel
  br i1 %or.cond124.1.peel, label %.preheader92.split.us.2.peel, label %.split.us.peel

.preheader92.split.us.2.peel:                     ; preds = %.preheader92.split.us.1.peel
  %28 = add nsw i32 %20, -2
  %29 = icmp slt i32 %20, 2
  %.not79.us.2.peel = icmp sgt i32 %28, %25
  %or.cond124.2.peel = select i1 %29, i1 true, i1 %.not79.us.2.peel
  br i1 %or.cond124.2.peel, label %.preheader92.split.us.3.peel, label %.split.us.peel

.preheader92.split.us.3.peel:                     ; preds = %.preheader92.split.us.2.peel
  %30 = add nsw i32 %20, -3
  %31 = icmp slt i32 %20, 3
  %.not79.us.3.peel = icmp sgt i32 %30, %25
  %or.cond124.3.peel = select i1 %31, i1 true, i1 %.not79.us.3.peel
  br i1 %or.cond124.3.peel, label %.preheader92.split.us.4.peel, label %.split.us.peel

.preheader92.split.us.4.peel:                     ; preds = %.preheader92.split.us.3.peel
  %32 = add nsw i32 %20, -4
  %33 = icmp slt i32 %20, 4
  %.not79.us.4.peel = icmp sgt i32 %32, %25
  %or.cond124.4.peel = select i1 %33, i1 true, i1 %.not79.us.4.peel
  br i1 %or.cond124.4.peel, label %.preheader92.split.us.5.peel, label %.split.us.peel

.preheader92.split.us.5.peel:                     ; preds = %.preheader92.split.us.4.peel
  %34 = add nsw i32 %20, -5
  %35 = icmp slt i32 %20, 5
  %.not79.us.5.peel = icmp sgt i32 %34, %25
  %or.cond124.5.peel = select i1 %35, i1 true, i1 %.not79.us.5.peel
  br i1 %or.cond124.5.peel, label %.preheader92.split.us.6.peel, label %.split.us.peel

.preheader92.split.us.6.peel:                     ; preds = %.preheader92.split.us.5.peel
  %36 = add nsw i32 %20, -6
  %37 = icmp slt i32 %20, 6
  %.not79.us.6.peel = icmp sgt i32 %36, %25
  %or.cond124.6.peel = select i1 %37, i1 true, i1 %.not79.us.6.peel
  br i1 %or.cond124.6.peel, label %.preheader92.split.us.7.peel, label %.split.us.peel

.preheader92.split.us.7.peel:                     ; preds = %.preheader92.split.us.6.peel
  %38 = add nsw i32 %20, -7
  %39 = icmp slt i32 %20, 7
  %.not79.us.7.peel = icmp sgt i32 %38, %25
  %or.cond124.7.peel = select i1 %39, i1 true, i1 %.not79.us.7.peel
  br i1 %or.cond124.7.peel, label %.preheader92.split.us.8.peel, label %.split.us.peel

.preheader92.split.us.8.peel:                     ; preds = %.preheader92.split.us.7.peel
  %40 = add nsw i32 %20, -8
  %41 = icmp slt i32 %20, 8
  %.not79.us.8.peel = icmp sgt i32 %40, %25
  %or.cond124.8.peel = select i1 %41, i1 true, i1 %.not79.us.8.peel
  br i1 %or.cond124.8.peel, label %.preheader92.split.us.9.peel, label %.split.us.peel

.preheader92.split.us.9.peel:                     ; preds = %.preheader92.split.us.8.peel
  %42 = add nsw i32 %20, -9
  %43 = icmp slt i32 %20, 9
  %.not79.us.9.peel = icmp sgt i32 %42, %25
  %or.cond124.9.peel = select i1 %43, i1 true, i1 %.not79.us.9.peel
  br i1 %or.cond124.9.peel, label %.preheader92.preheader179, label %.split.us.peel

.preheader92.split.preheader.peel:                ; preds = %.preheader92.preheader
  %or.cond126.peel = icmp ugt i32 %20, %25
  br i1 %or.cond126.peel, label %.preheader92.split.1.peel, label %.split.us.peel

.preheader92.split.1.peel:                        ; preds = %.preheader92.split.preheader.peel
  %44 = add nsw i32 %20, -1
  %45 = icmp slt i32 %20, 1
  %.not79.1.peel = icmp sgt i32 %44, %25
  %or.cond126.1.peel = select i1 %45, i1 true, i1 %.not79.1.peel
  br i1 %or.cond126.1.peel, label %.preheader92.split.2.peel, label %.split.us.peel

.preheader92.split.2.peel:                        ; preds = %.preheader92.split.1.peel
  %46 = add nsw i32 %20, -2
  %47 = icmp slt i32 %20, 2
  %.not79.2.peel = icmp sgt i32 %46, %25
  %or.cond126.2.peel = select i1 %47, i1 true, i1 %.not79.2.peel
  br i1 %or.cond126.2.peel, label %.preheader92.split.3.peel, label %.split.us.peel

.preheader92.split.3.peel:                        ; preds = %.preheader92.split.2.peel
  %48 = add nsw i32 %20, -3
  %49 = icmp slt i32 %20, 3
  %.not79.3.peel = icmp sgt i32 %48, %25
  %or.cond126.3.peel = select i1 %49, i1 true, i1 %.not79.3.peel
  br i1 %or.cond126.3.peel, label %.preheader92.split.4.peel, label %.split.us.peel

.preheader92.split.4.peel:                        ; preds = %.preheader92.split.3.peel
  %50 = add nsw i32 %20, -4
  %51 = icmp slt i32 %20, 4
  %.not79.4.peel = icmp sgt i32 %50, %25
  %or.cond126.4.peel = select i1 %51, i1 true, i1 %.not79.4.peel
  br i1 %or.cond126.4.peel, label %.preheader92.split.5.peel, label %.split.us.peel

.preheader92.split.5.peel:                        ; preds = %.preheader92.split.4.peel
  %52 = add nsw i32 %20, -5
  %53 = icmp slt i32 %20, 5
  %.not79.5.peel = icmp sgt i32 %52, %25
  %or.cond126.5.peel = select i1 %53, i1 true, i1 %.not79.5.peel
  br i1 %or.cond126.5.peel, label %.preheader92.split.6.peel, label %.split.us.peel

.preheader92.split.6.peel:                        ; preds = %.preheader92.split.5.peel
  %54 = add nsw i32 %20, -6
  %55 = icmp slt i32 %20, 6
  %.not79.6.peel = icmp sgt i32 %54, %25
  %or.cond126.6.peel = select i1 %55, i1 true, i1 %.not79.6.peel
  br i1 %or.cond126.6.peel, label %.preheader92.split.7.peel, label %.split.us.peel

.preheader92.split.7.peel:                        ; preds = %.preheader92.split.6.peel
  %56 = add nsw i32 %20, -7
  %57 = icmp slt i32 %20, 7
  %.not79.7.peel = icmp sgt i32 %56, %25
  %or.cond126.7.peel = select i1 %57, i1 true, i1 %.not79.7.peel
  br i1 %or.cond126.7.peel, label %.preheader92.split.8.peel, label %.split.us.peel

.preheader92.split.8.peel:                        ; preds = %.preheader92.split.7.peel
  %58 = add nsw i32 %20, -8
  %59 = icmp slt i32 %20, 8
  %.not79.8.peel = icmp sgt i32 %58, %25
  %or.cond126.8.peel = select i1 %59, i1 true, i1 %.not79.8.peel
  br i1 %or.cond126.8.peel, label %.preheader92.split.9.peel, label %.split.us.peel

.preheader92.split.9.peel:                        ; preds = %.preheader92.split.8.peel
  %60 = add nsw i32 %20, -9
  %61 = icmp slt i32 %20, 9
  %.not79.9.peel = icmp sgt i32 %60, %25
  %or.cond126.9.peel = select i1 %61, i1 true, i1 %.not79.9.peel
  br i1 %or.cond126.9.peel, label %._crit_edge.loopexit, label %.split.us.peel

.split.us.peel:                                   ; preds = %.preheader92.split.preheader.peel, %.preheader92.split.1.peel, %.preheader92.split.2.peel, %.preheader92.split.3.peel, %.preheader92.split.4.peel, %.preheader92.split.5.peel, %.preheader92.split.6.peel, %.preheader92.split.7.peel, %.preheader92.split.8.peel, %.preheader92.split.9.peel, %.preheader92.split.us.1.peel, %.preheader92.split.us.2.peel, %.preheader92.split.us.3.peel, %.preheader92.split.us.4.peel, %.preheader92.split.us.5.peel, %.preheader92.split.us.6.peel, %.preheader92.split.us.7.peel, %.preheader92.split.us.8.peel, %.preheader92.split.us.9.peel
  %.us-phi.peel = phi i32 [ %26, %.preheader92.split.us.1.peel ], [ %28, %.preheader92.split.us.2.peel ], [ %30, %.preheader92.split.us.3.peel ], [ %32, %.preheader92.split.us.4.peel ], [ %34, %.preheader92.split.us.5.peel ], [ %36, %.preheader92.split.us.6.peel ], [ %38, %.preheader92.split.us.7.peel ], [ %40, %.preheader92.split.us.8.peel ], [ %42, %.preheader92.split.us.9.peel ], [ %20, %.preheader92.split.preheader.peel ], [ %44, %.preheader92.split.1.peel ], [ %46, %.preheader92.split.2.peel ], [ %48, %.preheader92.split.3.peel ], [ %50, %.preheader92.split.4.peel ], [ %52, %.preheader92.split.5.peel ], [ %54, %.preheader92.split.6.peel ], [ %56, %.preheader92.split.7.peel ], [ %58, %.preheader92.split.8.peel ], [ %60, %.preheader92.split.9.peel ]
  %.us-phi98.peel = phi i8 [ 49, %.preheader92.split.us.1.peel ], [ 50, %.preheader92.split.us.2.peel ], [ 51, %.preheader92.split.us.3.peel ], [ 52, %.preheader92.split.us.4.peel ], [ 53, %.preheader92.split.us.5.peel ], [ 54, %.preheader92.split.us.6.peel ], [ 55, %.preheader92.split.us.7.peel ], [ 56, %.preheader92.split.us.8.peel ], [ 57, %.preheader92.split.us.9.peel ], [ 48, %.preheader92.split.preheader.peel ], [ 49, %.preheader92.split.1.peel ], [ 50, %.preheader92.split.2.peel ], [ 51, %.preheader92.split.3.peel ], [ 52, %.preheader92.split.4.peel ], [ 53, %.preheader92.split.5.peel ], [ 54, %.preheader92.split.6.peel ], [ 55, %.preheader92.split.7.peel ], [ 56, %.preheader92.split.8.peel ], [ 57, %.preheader92.split.9.peel ]
  %62 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %3, i8 noundef signext %.us-phi98.peel)
          to label %.loopexit93.peel unwind label %.loopexit.split-lp146

.loopexit93.peel:                                 ; preds = %.split.us.peel
  %.pre = load i32, ptr %1, align 4
  %63 = icmp sgt i32 %.pre, 1
  br i1 %63, label %.preheader92.preheader179, label %._crit_edge.loopexit

.preheader92.preheader179:                        ; preds = %.preheader92.split.us.9.peel, %.loopexit93.peel
  %.ph180 = phi i32 [ %.fr129.peel, %.preheader92.split.us.9.peel ], [ %.pre, %.loopexit93.peel ]
  %.06299.ph = phi i32 [ %20, %.preheader92.split.us.9.peel ], [ %.us-phi.peel, %.loopexit93.peel ]
  br label %.preheader92

.preheader92:                                     ; preds = %.preheader92.preheader179, %.loopexit93
  %64 = phi i32 [ %150, %.loopexit93 ], [ %.ph180, %.preheader92.preheader179 ]
  %.061100 = phi i32 [ %151, %.loopexit93 ], [ 1, %.preheader92.preheader179 ]
  %.06299 = phi i32 [ %.163, %.loopexit93 ], [ %.06299.ph, %.preheader92.preheader179 ]
  %.fr129 = freeze i32 %64
  %65 = icmp eq i32 %.fr129, 1
  %66 = xor i32 %.061100, -1
  %67 = add i32 %.fr129, %66
  %68 = mul nsw i32 %67, 9
  %69 = icmp slt i32 %.06299, 0
  %.not79 = icmp sgt i32 %.06299, %68
  %or.cond126 = select i1 %69, i1 true, i1 %.not79
  br i1 %65, label %.preheader92.split.preheader, label %.preheader92.split.us.preheader

.preheader92.split.us.preheader:                  ; preds = %.preheader92
  br i1 %or.cond126, label %.preheader92.split.us.1, label %.split.us

.preheader92.split.us.1:                          ; preds = %.preheader92.split.us.preheader
  %70 = add nsw i32 %.06299, -1
  %71 = icmp slt i32 %.06299, 1
  %.not79.us.1 = icmp sgt i32 %70, %68
  %or.cond124.1 = select i1 %71, i1 true, i1 %.not79.us.1
  br i1 %or.cond124.1, label %.preheader92.split.us.2, label %.split.us

.preheader92.split.us.2:                          ; preds = %.preheader92.split.us.1
  %72 = add nsw i32 %.06299, -2
  %73 = icmp slt i32 %.06299, 2
  %.not79.us.2 = icmp sgt i32 %72, %68
  %or.cond124.2 = select i1 %73, i1 true, i1 %.not79.us.2
  br i1 %or.cond124.2, label %.preheader92.split.us.3, label %.split.us

.preheader92.split.us.3:                          ; preds = %.preheader92.split.us.2
  %74 = add nsw i32 %.06299, -3
  %75 = icmp slt i32 %.06299, 3
  %.not79.us.3 = icmp sgt i32 %74, %68
  %or.cond124.3 = select i1 %75, i1 true, i1 %.not79.us.3
  br i1 %or.cond124.3, label %.preheader92.split.us.4, label %.split.us

.preheader92.split.us.4:                          ; preds = %.preheader92.split.us.3
  %76 = add nsw i32 %.06299, -4
  %77 = icmp slt i32 %.06299, 4
  %.not79.us.4 = icmp sgt i32 %76, %68
  %or.cond124.4 = select i1 %77, i1 true, i1 %.not79.us.4
  br i1 %or.cond124.4, label %.preheader92.split.us.5, label %.split.us

.preheader92.split.us.5:                          ; preds = %.preheader92.split.us.4
  %78 = add nsw i32 %.06299, -5
  %79 = icmp slt i32 %.06299, 5
  %.not79.us.5 = icmp sgt i32 %78, %68
  %or.cond124.5 = select i1 %79, i1 true, i1 %.not79.us.5
  br i1 %or.cond124.5, label %.preheader92.split.us.6, label %.split.us

.preheader92.split.us.6:                          ; preds = %.preheader92.split.us.5
  %80 = add nsw i32 %.06299, -6
  %81 = icmp slt i32 %.06299, 6
  %.not79.us.6 = icmp sgt i32 %80, %68
  %or.cond124.6 = select i1 %81, i1 true, i1 %.not79.us.6
  br i1 %or.cond124.6, label %.preheader92.split.us.7, label %.split.us

.preheader92.split.us.7:                          ; preds = %.preheader92.split.us.6
  %82 = add nsw i32 %.06299, -7
  %83 = icmp slt i32 %.06299, 7
  %.not79.us.7 = icmp sgt i32 %82, %68
  %or.cond124.7 = select i1 %83, i1 true, i1 %.not79.us.7
  br i1 %or.cond124.7, label %.preheader92.split.us.8, label %.split.us

.preheader92.split.us.8:                          ; preds = %.preheader92.split.us.7
  %84 = add nsw i32 %.06299, -8
  %85 = icmp slt i32 %.06299, 8
  %.not79.us.8 = icmp sgt i32 %84, %68
  %or.cond124.8 = select i1 %85, i1 true, i1 %.not79.us.8
  br i1 %or.cond124.8, label %.preheader92.split.us.9, label %.split.us

.preheader92.split.us.9:                          ; preds = %.preheader92.split.us.8
  %86 = add nsw i32 %.06299, -9
  %87 = icmp slt i32 %.06299, 9
  %.not79.us.9 = icmp sgt i32 %86, %68
  %or.cond124.9 = select i1 %87, i1 true, i1 %.not79.us.9
  br i1 %or.cond124.9, label %.loopexit93, label %.split.us

._crit_edge.loopexit:                             ; preds = %.loopexit93, %.preheader92.split.9.peel, %.loopexit93.peel
  %88 = phi i32 [ %.pre, %.loopexit93.peel ], [ 1, %.preheader92.split.9.peel ], [ %150, %.loopexit93 ]
  %.pre168 = load i32, ptr %2, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %19
  %89 = phi i32 [ %88, %._crit_edge.loopexit ], [ %.fr129.peel, %19 ]
  %90 = phi i32 [ %.pre168, %._crit_edge.loopexit ], [ %20, %19 ]
  %.fr.peel = freeze i32 %89
  %91 = icmp sgt i32 %.fr.peel, 0
  br i1 %91, label %.preheader90.preheader, label %.preheader89

.preheader90.preheader:                           ; preds = %._crit_edge
  %92 = icmp eq i32 %.fr.peel, 1
  %93 = mul i32 %.fr.peel, 9
  %94 = add i32 %93, -9
  %95 = add nsw i32 %90, -9
  %96 = icmp slt i32 %90, 9
  %.not78.us.peel = icmp sgt i32 %95, %94
  %or.cond127.peel = select i1 %96, i1 true, i1 %.not78.us.peel
  br i1 %92, label %.preheader90.split.us.preheader.peel, label %.preheader90.split.preheader.peel

.preheader90.split.preheader.peel:                ; preds = %.preheader90.preheader
  br i1 %or.cond127.peel, label %.preheader90.split.1.peel, label %.split104.us.peel

.preheader90.split.1.peel:                        ; preds = %.preheader90.split.preheader.peel
  %97 = add nsw i32 %90, -8
  %98 = icmp slt i32 %90, 8
  %.not78.1.peel = icmp sgt i32 %97, %94
  %or.cond128.1.peel = select i1 %98, i1 true, i1 %.not78.1.peel
  br i1 %or.cond128.1.peel, label %.preheader90.split.2.peel, label %.split104.us.peel

.preheader90.split.2.peel:                        ; preds = %.preheader90.split.1.peel
  %99 = add nsw i32 %90, -7
  %100 = icmp slt i32 %90, 7
  %.not78.2.peel = icmp sgt i32 %99, %94
  %or.cond128.2.peel = select i1 %100, i1 true, i1 %.not78.2.peel
  br i1 %or.cond128.2.peel, label %.preheader90.split.3.peel, label %.split104.us.peel

.preheader90.split.3.peel:                        ; preds = %.preheader90.split.2.peel
  %101 = add nsw i32 %90, -6
  %102 = icmp slt i32 %90, 6
  %.not78.3.peel = icmp sgt i32 %101, %94
  %or.cond128.3.peel = select i1 %102, i1 true, i1 %.not78.3.peel
  br i1 %or.cond128.3.peel, label %.preheader90.split.4.peel, label %.split104.us.peel

.preheader90.split.4.peel:                        ; preds = %.preheader90.split.3.peel
  %103 = add nsw i32 %90, -5
  %104 = icmp slt i32 %90, 5
  %.not78.4.peel = icmp sgt i32 %103, %94
  %or.cond128.4.peel = select i1 %104, i1 true, i1 %.not78.4.peel
  br i1 %or.cond128.4.peel, label %.preheader90.split.5.peel, label %.split104.us.peel

.preheader90.split.5.peel:                        ; preds = %.preheader90.split.4.peel
  %105 = add nsw i32 %90, -4
  %106 = icmp slt i32 %90, 4
  %.not78.5.peel = icmp sgt i32 %105, %94
  %or.cond128.5.peel = select i1 %106, i1 true, i1 %.not78.5.peel
  br i1 %or.cond128.5.peel, label %.preheader90.split.6.peel, label %.split104.us.peel

.preheader90.split.6.peel:                        ; preds = %.preheader90.split.5.peel
  %107 = add nsw i32 %90, -3
  %108 = icmp slt i32 %90, 3
  %.not78.6.peel = icmp sgt i32 %107, %94
  %or.cond128.6.peel = select i1 %108, i1 true, i1 %.not78.6.peel
  br i1 %or.cond128.6.peel, label %.preheader90.split.7.peel, label %.split104.us.peel

.preheader90.split.7.peel:                        ; preds = %.preheader90.split.6.peel
  %109 = add nsw i32 %90, -2
  %110 = icmp slt i32 %90, 2
  %.not78.7.peel = icmp sgt i32 %109, %94
  %or.cond128.7.peel = select i1 %110, i1 true, i1 %.not78.7.peel
  br i1 %or.cond128.7.peel, label %.preheader90.split.8.peel, label %.split104.us.peel

.preheader90.split.8.peel:                        ; preds = %.preheader90.split.7.peel
  %111 = add nsw i32 %90, -1
  %112 = icmp slt i32 %90, 1
  %.not78.8.peel = icmp sgt i32 %111, %94
  %or.cond128.8.peel = select i1 %112, i1 true, i1 %.not78.8.peel
  br i1 %or.cond128.8.peel, label %.preheader90.preheader178, label %.split104.us.peel

.preheader90.split.us.preheader.peel:             ; preds = %.preheader90.preheader
  br i1 %or.cond127.peel, label %.preheader90.split.us.1.peel, label %.split104.us.peel

.preheader90.split.us.1.peel:                     ; preds = %.preheader90.split.us.preheader.peel
  %113 = add nsw i32 %90, -8
  %114 = icmp slt i32 %90, 8
  %.not78.us.1.peel = icmp sgt i32 %113, %94
  %or.cond127.1.peel = select i1 %114, i1 true, i1 %.not78.us.1.peel
  br i1 %or.cond127.1.peel, label %.preheader90.split.us.2.peel, label %.split104.us.peel

.preheader90.split.us.2.peel:                     ; preds = %.preheader90.split.us.1.peel
  %115 = add nsw i32 %90, -7
  %116 = icmp slt i32 %90, 7
  %.not78.us.2.peel = icmp sgt i32 %115, %94
  %or.cond127.2.peel = select i1 %116, i1 true, i1 %.not78.us.2.peel
  br i1 %or.cond127.2.peel, label %.preheader90.split.us.3.peel, label %.split104.us.peel

.preheader90.split.us.3.peel:                     ; preds = %.preheader90.split.us.2.peel
  %117 = add nsw i32 %90, -6
  %118 = icmp slt i32 %90, 6
  %.not78.us.3.peel = icmp sgt i32 %117, %94
  %or.cond127.3.peel = select i1 %118, i1 true, i1 %.not78.us.3.peel
  br i1 %or.cond127.3.peel, label %.preheader90.split.us.4.peel, label %.split104.us.peel

.preheader90.split.us.4.peel:                     ; preds = %.preheader90.split.us.3.peel
  %119 = add nsw i32 %90, -5
  %120 = icmp slt i32 %90, 5
  %.not78.us.4.peel = icmp sgt i32 %119, %94
  %or.cond127.4.peel = select i1 %120, i1 true, i1 %.not78.us.4.peel
  br i1 %or.cond127.4.peel, label %.preheader90.split.us.5.peel, label %.split104.us.peel

.preheader90.split.us.5.peel:                     ; preds = %.preheader90.split.us.4.peel
  %121 = add nsw i32 %90, -4
  %122 = icmp slt i32 %90, 4
  %.not78.us.5.peel = icmp sgt i32 %121, %94
  %or.cond127.5.peel = select i1 %122, i1 true, i1 %.not78.us.5.peel
  br i1 %or.cond127.5.peel, label %.preheader90.split.us.6.peel, label %.split104.us.peel

.preheader90.split.us.6.peel:                     ; preds = %.preheader90.split.us.5.peel
  %123 = add nsw i32 %90, -3
  %124 = icmp slt i32 %90, 3
  %.not78.us.6.peel = icmp sgt i32 %123, %94
  %or.cond127.6.peel = select i1 %124, i1 true, i1 %.not78.us.6.peel
  br i1 %or.cond127.6.peel, label %.preheader90.split.us.7.peel, label %.split104.us.peel

.preheader90.split.us.7.peel:                     ; preds = %.preheader90.split.us.6.peel
  %125 = add nsw i32 %90, -2
  %126 = icmp slt i32 %90, 2
  %.not78.us.7.peel = icmp sgt i32 %125, %94
  %or.cond127.7.peel = select i1 %126, i1 true, i1 %.not78.us.7.peel
  br i1 %or.cond127.7.peel, label %.preheader90.split.us.8.peel, label %.split104.us.peel

.preheader90.split.us.8.peel:                     ; preds = %.preheader90.split.us.7.peel
  %127 = add nsw i32 %90, -1
  %128 = icmp slt i32 %90, 1
  %.not78.us.8.peel = icmp sgt i32 %127, %94
  %or.cond127.8.peel = select i1 %128, i1 true, i1 %.not78.us.8.peel
  br i1 %or.cond127.8.peel, label %.preheader90.split.us.9.peel, label %.split104.us.peel

.preheader90.split.us.9.peel:                     ; preds = %.preheader90.split.us.8.peel
  %or.cond127.9.peel = icmp ugt i32 %90, %94
  br i1 %or.cond127.9.peel, label %.preheader89, label %.split104.us.peel

.split104.us.peel:                                ; preds = %.preheader90.split.us.preheader.peel, %.preheader90.split.us.1.peel, %.preheader90.split.us.2.peel, %.preheader90.split.us.3.peel, %.preheader90.split.us.4.peel, %.preheader90.split.us.5.peel, %.preheader90.split.us.6.peel, %.preheader90.split.us.7.peel, %.preheader90.split.us.8.peel, %.preheader90.split.us.9.peel, %.preheader90.split.preheader.peel, %.preheader90.split.1.peel, %.preheader90.split.2.peel, %.preheader90.split.3.peel, %.preheader90.split.4.peel, %.preheader90.split.5.peel, %.preheader90.split.6.peel, %.preheader90.split.7.peel, %.preheader90.split.8.peel
  %.us-phi105.peel = phi i32 [ %95, %.preheader90.split.preheader.peel ], [ %97, %.preheader90.split.1.peel ], [ %99, %.preheader90.split.2.peel ], [ %101, %.preheader90.split.3.peel ], [ %103, %.preheader90.split.4.peel ], [ %105, %.preheader90.split.5.peel ], [ %107, %.preheader90.split.6.peel ], [ %109, %.preheader90.split.7.peel ], [ %111, %.preheader90.split.8.peel ], [ %95, %.preheader90.split.us.preheader.peel ], [ %113, %.preheader90.split.us.1.peel ], [ %115, %.preheader90.split.us.2.peel ], [ %117, %.preheader90.split.us.3.peel ], [ %119, %.preheader90.split.us.4.peel ], [ %121, %.preheader90.split.us.5.peel ], [ %123, %.preheader90.split.us.6.peel ], [ %125, %.preheader90.split.us.7.peel ], [ %127, %.preheader90.split.us.8.peel ], [ %90, %.preheader90.split.us.9.peel ]
  %.us-phi106.peel = phi i8 [ 57, %.preheader90.split.preheader.peel ], [ 56, %.preheader90.split.1.peel ], [ 55, %.preheader90.split.2.peel ], [ 54, %.preheader90.split.3.peel ], [ 53, %.preheader90.split.4.peel ], [ 52, %.preheader90.split.5.peel ], [ 51, %.preheader90.split.6.peel ], [ 50, %.preheader90.split.7.peel ], [ 49, %.preheader90.split.8.peel ], [ 57, %.preheader90.split.us.preheader.peel ], [ 56, %.preheader90.split.us.1.peel ], [ 55, %.preheader90.split.us.2.peel ], [ 54, %.preheader90.split.us.3.peel ], [ 53, %.preheader90.split.us.4.peel ], [ 52, %.preheader90.split.us.5.peel ], [ 51, %.preheader90.split.us.6.peel ], [ 50, %.preheader90.split.us.7.peel ], [ 49, %.preheader90.split.us.8.peel ], [ 48, %.preheader90.split.us.9.peel ]
  %129 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %.us-phi106.peel)
          to label %.loopexit91.peel unwind label %.loopexit.split-lp150

.loopexit91.peel:                                 ; preds = %.split104.us.peel
  %.pre169 = load i32, ptr %1, align 4
  %130 = icmp sgt i32 %.pre169, 1
  br i1 %130, label %.preheader90.preheader178, label %.preheader89

.preheader90.preheader178:                        ; preds = %.preheader90.split.8.peel, %.loopexit91.peel
  %.ph = phi i32 [ %.fr.peel, %.preheader90.split.8.peel ], [ %.pre169, %.loopexit91.peel ]
  %.264108.ph = phi i32 [ %90, %.preheader90.split.8.peel ], [ %.us-phi105.peel, %.loopexit91.peel ]
  br label %.preheader90

.preheader92.split.preheader:                     ; preds = %.preheader92
  br i1 %or.cond126, label %.preheader92.split.1, label %.split.us

.split.us:                                        ; preds = %.preheader92.split.us.preheader, %.preheader92.split.us.1, %.preheader92.split.us.2, %.preheader92.split.us.3, %.preheader92.split.us.4, %.preheader92.split.us.5, %.preheader92.split.us.6, %.preheader92.split.us.7, %.preheader92.split.us.8, %.preheader92.split.us.9, %.preheader92.split.preheader, %.preheader92.split.1, %.preheader92.split.2, %.preheader92.split.3, %.preheader92.split.4, %.preheader92.split.5, %.preheader92.split.6, %.preheader92.split.7, %.preheader92.split.8, %.preheader92.split.9
  %.us-phi = phi i32 [ %.06299, %.preheader92.split.preheader ], [ %132, %.preheader92.split.1 ], [ %134, %.preheader92.split.2 ], [ %136, %.preheader92.split.3 ], [ %138, %.preheader92.split.4 ], [ %140, %.preheader92.split.5 ], [ %142, %.preheader92.split.6 ], [ %144, %.preheader92.split.7 ], [ %146, %.preheader92.split.8 ], [ %148, %.preheader92.split.9 ], [ %.06299, %.preheader92.split.us.preheader ], [ %70, %.preheader92.split.us.1 ], [ %72, %.preheader92.split.us.2 ], [ %74, %.preheader92.split.us.3 ], [ %76, %.preheader92.split.us.4 ], [ %78, %.preheader92.split.us.5 ], [ %80, %.preheader92.split.us.6 ], [ %82, %.preheader92.split.us.7 ], [ %84, %.preheader92.split.us.8 ], [ %86, %.preheader92.split.us.9 ]
  %.us-phi98 = phi i8 [ 48, %.preheader92.split.preheader ], [ 49, %.preheader92.split.1 ], [ 50, %.preheader92.split.2 ], [ 51, %.preheader92.split.3 ], [ 52, %.preheader92.split.4 ], [ 53, %.preheader92.split.5 ], [ 54, %.preheader92.split.6 ], [ 55, %.preheader92.split.7 ], [ 56, %.preheader92.split.8 ], [ 57, %.preheader92.split.9 ], [ 48, %.preheader92.split.us.preheader ], [ 49, %.preheader92.split.us.1 ], [ 50, %.preheader92.split.us.2 ], [ 51, %.preheader92.split.us.3 ], [ 52, %.preheader92.split.us.4 ], [ 53, %.preheader92.split.us.5 ], [ 54, %.preheader92.split.us.6 ], [ 55, %.preheader92.split.us.7 ], [ 56, %.preheader92.split.us.8 ], [ 57, %.preheader92.split.us.9 ]
  %131 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %3, i8 noundef signext %.us-phi98)
          to label %.split.us..loopexit93_crit_edge unwind label %.loopexit145

.split.us..loopexit93_crit_edge:                  ; preds = %.split.us
  %.pre167 = load i32, ptr %1, align 4
  br label %.loopexit93

.loopexit145:                                     ; preds = %.split.us
  %lpad.loopexit147 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp146:                            ; preds = %.split.us.peel
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.preheader92.split.1:                             ; preds = %.preheader92.split.preheader
  %132 = add nsw i32 %.06299, -1
  %133 = icmp slt i32 %.06299, 1
  %.not79.1 = icmp sgt i32 %132, %68
  %or.cond126.1 = select i1 %133, i1 true, i1 %.not79.1
  br i1 %or.cond126.1, label %.preheader92.split.2, label %.split.us

.preheader92.split.2:                             ; preds = %.preheader92.split.1
  %134 = add nsw i32 %.06299, -2
  %135 = icmp slt i32 %.06299, 2
  %.not79.2 = icmp sgt i32 %134, %68
  %or.cond126.2 = select i1 %135, i1 true, i1 %.not79.2
  br i1 %or.cond126.2, label %.preheader92.split.3, label %.split.us

.preheader92.split.3:                             ; preds = %.preheader92.split.2
  %136 = add nsw i32 %.06299, -3
  %137 = icmp slt i32 %.06299, 3
  %.not79.3 = icmp sgt i32 %136, %68
  %or.cond126.3 = select i1 %137, i1 true, i1 %.not79.3
  br i1 %or.cond126.3, label %.preheader92.split.4, label %.split.us

.preheader92.split.4:                             ; preds = %.preheader92.split.3
  %138 = add nsw i32 %.06299, -4
  %139 = icmp slt i32 %.06299, 4
  %.not79.4 = icmp sgt i32 %138, %68
  %or.cond126.4 = select i1 %139, i1 true, i1 %.not79.4
  br i1 %or.cond126.4, label %.preheader92.split.5, label %.split.us

.preheader92.split.5:                             ; preds = %.preheader92.split.4
  %140 = add nsw i32 %.06299, -5
  %141 = icmp slt i32 %.06299, 5
  %.not79.5 = icmp sgt i32 %140, %68
  %or.cond126.5 = select i1 %141, i1 true, i1 %.not79.5
  br i1 %or.cond126.5, label %.preheader92.split.6, label %.split.us

.preheader92.split.6:                             ; preds = %.preheader92.split.5
  %142 = add nsw i32 %.06299, -6
  %143 = icmp slt i32 %.06299, 6
  %.not79.6 = icmp sgt i32 %142, %68
  %or.cond126.6 = select i1 %143, i1 true, i1 %.not79.6
  br i1 %or.cond126.6, label %.preheader92.split.7, label %.split.us

.preheader92.split.7:                             ; preds = %.preheader92.split.6
  %144 = add nsw i32 %.06299, -7
  %145 = icmp slt i32 %.06299, 7
  %.not79.7 = icmp sgt i32 %144, %68
  %or.cond126.7 = select i1 %145, i1 true, i1 %.not79.7
  br i1 %or.cond126.7, label %.preheader92.split.8, label %.split.us

.preheader92.split.8:                             ; preds = %.preheader92.split.7
  %146 = add nsw i32 %.06299, -8
  %147 = icmp slt i32 %.06299, 8
  %.not79.8 = icmp sgt i32 %146, %68
  %or.cond126.8 = select i1 %147, i1 true, i1 %.not79.8
  br i1 %or.cond126.8, label %.preheader92.split.9, label %.split.us

.preheader92.split.9:                             ; preds = %.preheader92.split.8
  %148 = add nsw i32 %.06299, -9
  %149 = icmp slt i32 %.06299, 9
  %.not79.9 = icmp sgt i32 %148, %68
  %or.cond126.9 = select i1 %149, i1 true, i1 %.not79.9
  br i1 %or.cond126.9, label %.loopexit93, label %.split.us

.loopexit93:                                      ; preds = %.preheader92.split.9, %.preheader92.split.us.9, %.split.us..loopexit93_crit_edge
  %150 = phi i32 [ %.pre167, %.split.us..loopexit93_crit_edge ], [ %.fr129, %.preheader92.split.us.9 ], [ 1, %.preheader92.split.9 ]
  %.163 = phi i32 [ %.us-phi, %.split.us..loopexit93_crit_edge ], [ %.06299, %.preheader92.split.us.9 ], [ %.06299, %.preheader92.split.9 ]
  %151 = add nuw nsw i32 %.061100, 1
  %152 = icmp slt i32 %151, %150
  br i1 %152, label %.preheader92, label %._crit_edge.loopexit, !llvm.loop !9

.preheader90:                                     ; preds = %.preheader90.preheader178, %.loopexit91
  %153 = phi i32 [ %197, %.loopexit91 ], [ %.ph, %.preheader90.preheader178 ]
  %.057109 = phi i32 [ %196, %.loopexit91 ], [ 1, %.preheader90.preheader178 ]
  %.264108 = phi i32 [ %.365, %.loopexit91 ], [ %.264108.ph, %.preheader90.preheader178 ]
  %.fr = freeze i32 %153
  %154 = icmp eq i32 %.fr, 1
  %155 = xor i32 %.057109, -1
  %156 = add i32 %.fr, %155
  %157 = mul nsw i32 %156, 9
  %158 = add nsw i32 %.264108, -9
  %159 = icmp slt i32 %.264108, 9
  %.not78.us = icmp sgt i32 %158, %157
  %or.cond127 = select i1 %159, i1 true, i1 %.not78.us
  br i1 %154, label %.preheader90.split.us.preheader, label %.preheader90.split.preheader

.preheader90.split.us.preheader:                  ; preds = %.preheader90
  br i1 %or.cond127, label %.preheader90.split.us.1, label %.split104.us

.preheader90.split.us.1:                          ; preds = %.preheader90.split.us.preheader
  %160 = add nsw i32 %.264108, -8
  %161 = icmp slt i32 %.264108, 8
  %.not78.us.1 = icmp sgt i32 %160, %157
  %or.cond127.1 = select i1 %161, i1 true, i1 %.not78.us.1
  br i1 %or.cond127.1, label %.preheader90.split.us.2, label %.split104.us

.preheader90.split.us.2:                          ; preds = %.preheader90.split.us.1
  %162 = add nsw i32 %.264108, -7
  %163 = icmp slt i32 %.264108, 7
  %.not78.us.2 = icmp sgt i32 %162, %157
  %or.cond127.2 = select i1 %163, i1 true, i1 %.not78.us.2
  br i1 %or.cond127.2, label %.preheader90.split.us.3, label %.split104.us

.preheader90.split.us.3:                          ; preds = %.preheader90.split.us.2
  %164 = add nsw i32 %.264108, -6
  %165 = icmp slt i32 %.264108, 6
  %.not78.us.3 = icmp sgt i32 %164, %157
  %or.cond127.3 = select i1 %165, i1 true, i1 %.not78.us.3
  br i1 %or.cond127.3, label %.preheader90.split.us.4, label %.split104.us

.preheader90.split.us.4:                          ; preds = %.preheader90.split.us.3
  %166 = add nsw i32 %.264108, -5
  %167 = icmp slt i32 %.264108, 5
  %.not78.us.4 = icmp sgt i32 %166, %157
  %or.cond127.4 = select i1 %167, i1 true, i1 %.not78.us.4
  br i1 %or.cond127.4, label %.preheader90.split.us.5, label %.split104.us

.preheader90.split.us.5:                          ; preds = %.preheader90.split.us.4
  %168 = add nsw i32 %.264108, -4
  %169 = icmp slt i32 %.264108, 4
  %.not78.us.5 = icmp sgt i32 %168, %157
  %or.cond127.5 = select i1 %169, i1 true, i1 %.not78.us.5
  br i1 %or.cond127.5, label %.preheader90.split.us.6, label %.split104.us

.preheader90.split.us.6:                          ; preds = %.preheader90.split.us.5
  %170 = add nsw i32 %.264108, -3
  %171 = icmp slt i32 %.264108, 3
  %.not78.us.6 = icmp sgt i32 %170, %157
  %or.cond127.6 = select i1 %171, i1 true, i1 %.not78.us.6
  br i1 %or.cond127.6, label %.preheader90.split.us.7, label %.split104.us

.preheader90.split.us.7:                          ; preds = %.preheader90.split.us.6
  %172 = add nsw i32 %.264108, -2
  %173 = icmp slt i32 %.264108, 2
  %.not78.us.7 = icmp sgt i32 %172, %157
  %or.cond127.7 = select i1 %173, i1 true, i1 %.not78.us.7
  br i1 %or.cond127.7, label %.preheader90.split.us.8, label %.split104.us

.preheader90.split.us.8:                          ; preds = %.preheader90.split.us.7
  %174 = add nsw i32 %.264108, -1
  %175 = icmp slt i32 %.264108, 1
  %.not78.us.8 = icmp sgt i32 %174, %157
  %or.cond127.8 = select i1 %175, i1 true, i1 %.not78.us.8
  br i1 %or.cond127.8, label %.preheader90.split.us.9, label %.split104.us

.preheader90.split.us.9:                          ; preds = %.preheader90.split.us.8
  %176 = icmp slt i32 %.264108, 0
  %.not78.us.9 = icmp sgt i32 %.264108, %157
  %or.cond127.9 = select i1 %176, i1 true, i1 %.not78.us.9
  br i1 %or.cond127.9, label %.loopexit91, label %.split104.us

.preheader89:                                     ; preds = %.loopexit91, %.preheader90.split.us.9.peel, %.loopexit91.peel, %._crit_edge
  %177 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %.not130 = icmp eq i64 %177, 0
  br i1 %.not130, label %.critedge, label %.lr.ph

.preheader90.split.preheader:                     ; preds = %.preheader90
  br i1 %or.cond127, label %.preheader90.split.1, label %.split104.us

.split104.us:                                     ; preds = %.preheader90.split.preheader, %.preheader90.split.1, %.preheader90.split.2, %.preheader90.split.3, %.preheader90.split.4, %.preheader90.split.5, %.preheader90.split.6, %.preheader90.split.7, %.preheader90.split.8, %.preheader90.split.9, %.preheader90.split.us.preheader, %.preheader90.split.us.1, %.preheader90.split.us.2, %.preheader90.split.us.3, %.preheader90.split.us.4, %.preheader90.split.us.5, %.preheader90.split.us.6, %.preheader90.split.us.7, %.preheader90.split.us.8, %.preheader90.split.us.9
  %.us-phi105 = phi i32 [ %158, %.preheader90.split.us.preheader ], [ %160, %.preheader90.split.us.1 ], [ %162, %.preheader90.split.us.2 ], [ %164, %.preheader90.split.us.3 ], [ %166, %.preheader90.split.us.4 ], [ %168, %.preheader90.split.us.5 ], [ %170, %.preheader90.split.us.6 ], [ %172, %.preheader90.split.us.7 ], [ %174, %.preheader90.split.us.8 ], [ %.264108, %.preheader90.split.us.9 ], [ %158, %.preheader90.split.preheader ], [ %179, %.preheader90.split.1 ], [ %181, %.preheader90.split.2 ], [ %183, %.preheader90.split.3 ], [ %185, %.preheader90.split.4 ], [ %187, %.preheader90.split.5 ], [ %189, %.preheader90.split.6 ], [ %191, %.preheader90.split.7 ], [ %193, %.preheader90.split.8 ], [ %.264108, %.preheader90.split.9 ]
  %.us-phi106 = phi i8 [ 57, %.preheader90.split.us.preheader ], [ 56, %.preheader90.split.us.1 ], [ 55, %.preheader90.split.us.2 ], [ 54, %.preheader90.split.us.3 ], [ 53, %.preheader90.split.us.4 ], [ 52, %.preheader90.split.us.5 ], [ 51, %.preheader90.split.us.6 ], [ 50, %.preheader90.split.us.7 ], [ 49, %.preheader90.split.us.8 ], [ 48, %.preheader90.split.us.9 ], [ 57, %.preheader90.split.preheader ], [ 56, %.preheader90.split.1 ], [ 55, %.preheader90.split.2 ], [ 54, %.preheader90.split.3 ], [ 53, %.preheader90.split.4 ], [ 52, %.preheader90.split.5 ], [ 51, %.preheader90.split.6 ], [ 50, %.preheader90.split.7 ], [ 49, %.preheader90.split.8 ], [ 48, %.preheader90.split.9 ]
  %178 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %4, i8 noundef signext %.us-phi106)
          to label %.loopexit91 unwind label %.loopexit149

.loopexit149:                                     ; preds = %.split104.us
  %lpad.loopexit151 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp150:                            ; preds = %.split104.us.peel
  %lpad.loopexit.split-lp152 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.preheader90.split.1:                             ; preds = %.preheader90.split.preheader
  %179 = add nsw i32 %.264108, -8
  %180 = icmp slt i32 %.264108, 8
  %.not78.1 = icmp sgt i32 %179, %157
  %or.cond128.1 = select i1 %180, i1 true, i1 %.not78.1
  br i1 %or.cond128.1, label %.preheader90.split.2, label %.split104.us

.preheader90.split.2:                             ; preds = %.preheader90.split.1
  %181 = add nsw i32 %.264108, -7
  %182 = icmp slt i32 %.264108, 7
  %.not78.2 = icmp sgt i32 %181, %157
  %or.cond128.2 = select i1 %182, i1 true, i1 %.not78.2
  br i1 %or.cond128.2, label %.preheader90.split.3, label %.split104.us

.preheader90.split.3:                             ; preds = %.preheader90.split.2
  %183 = add nsw i32 %.264108, -6
  %184 = icmp slt i32 %.264108, 6
  %.not78.3 = icmp sgt i32 %183, %157
  %or.cond128.3 = select i1 %184, i1 true, i1 %.not78.3
  br i1 %or.cond128.3, label %.preheader90.split.4, label %.split104.us

.preheader90.split.4:                             ; preds = %.preheader90.split.3
  %185 = add nsw i32 %.264108, -5
  %186 = icmp slt i32 %.264108, 5
  %.not78.4 = icmp sgt i32 %185, %157
  %or.cond128.4 = select i1 %186, i1 true, i1 %.not78.4
  br i1 %or.cond128.4, label %.preheader90.split.5, label %.split104.us

.preheader90.split.5:                             ; preds = %.preheader90.split.4
  %187 = add nsw i32 %.264108, -4
  %188 = icmp slt i32 %.264108, 4
  %.not78.5 = icmp sgt i32 %187, %157
  %or.cond128.5 = select i1 %188, i1 true, i1 %.not78.5
  br i1 %or.cond128.5, label %.preheader90.split.6, label %.split104.us

.preheader90.split.6:                             ; preds = %.preheader90.split.5
  %189 = add nsw i32 %.264108, -3
  %190 = icmp slt i32 %.264108, 3
  %.not78.6 = icmp sgt i32 %189, %157
  %or.cond128.6 = select i1 %190, i1 true, i1 %.not78.6
  br i1 %or.cond128.6, label %.preheader90.split.7, label %.split104.us

.preheader90.split.7:                             ; preds = %.preheader90.split.6
  %191 = add nsw i32 %.264108, -2
  %192 = icmp slt i32 %.264108, 2
  %.not78.7 = icmp sgt i32 %191, %157
  %or.cond128.7 = select i1 %192, i1 true, i1 %.not78.7
  br i1 %or.cond128.7, label %.preheader90.split.8, label %.split104.us

.preheader90.split.8:                             ; preds = %.preheader90.split.7
  %193 = add nsw i32 %.264108, -1
  %194 = icmp slt i32 %.264108, 1
  %.not78.8 = icmp sgt i32 %193, %157
  %or.cond128.8 = select i1 %194, i1 true, i1 %.not78.8
  br i1 %or.cond128.8, label %.preheader90.split.9, label %.split104.us

.preheader90.split.9:                             ; preds = %.preheader90.split.8
  %195 = icmp slt i32 %.264108, 0
  %.not78.9 = icmp sgt i32 %.264108, %157
  %or.cond128.9 = select i1 %195, i1 true, i1 %.not78.9
  br i1 %or.cond128.9, label %.loopexit91, label %.split104.us

.loopexit91:                                      ; preds = %.preheader90.split.9, %.preheader90.split.us.9, %.split104.us
  %.365 = phi i32 [ %.us-phi105, %.split104.us ], [ %.264108, %.preheader90.split.us.9 ], [ %.264108, %.preheader90.split.9 ]
  %196 = add nuw nsw i32 %.057109, 1
  %197 = load i32, ptr %1, align 4
  %198 = icmp slt i32 %196, %197
  br i1 %198, label %.preheader90, label %.preheader89, !llvm.loop !12

.lr.ph:                                           ; preds = %.preheader89, %202
  %indvars.iv = phi i64 [ %indvars.iv.next, %202 ], [ 0, %.preheader89 ]
  %199 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv)
  %200 = load i8, ptr %199, align 1, !tbaa !13
  %201 = icmp eq i8 %200, 48
  br i1 %201, label %202, label %.critedge.loopexit

202:                                              ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %203 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %204 = icmp ugt i64 %203, %indvars.iv.next
  br i1 %204, label %.lr.ph, label %.critedge.loopexit, !llvm.loop !14

.loopexit:                                        ; preds = %.lr.ph122
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %.lr.ph115
  %lpad.loopexit86 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %247, %245, %243, %241, %239, %237
  %lpad.loopexit.split-lp87 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.critedge.loopexit:                               ; preds = %202, %.lr.ph
  %.0.lcssa.ph.in = phi i64 [ %indvars.iv, %.lr.ph ], [ %indvars.iv.next, %202 ]
  %205 = and i64 %.0.lcssa.ph.in, 4294967295
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %.preheader89
  %.0.lcssa = phi i64 [ 0, %.preheader89 ], [ %205, %.critedge.loopexit ]
  %206 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %207 = icmp ugt i64 %206, %.0.lcssa
  br i1 %207, label %.lr.ph115, label %.preheader

.preheader:                                       ; preds = %212, %.critedge
  %208 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  %.not131 = icmp eq i64 %208, 0
  br i1 %.not131, label %.critedge11, label %.lr.ph117

.lr.ph115:                                        ; preds = %.critedge, %212
  %indvars.iv155 = phi i64 [ %indvars.iv.next156, %212 ], [ %.0.lcssa, %.critedge ]
  %209 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef %indvars.iv155)
  %210 = load i8, ptr %209, align 1, !tbaa !13
  %211 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %5, i8 noundef signext %210)
          to label %212 unwind label %.loopexit.split-lp.loopexit

212:                                              ; preds = %.lr.ph115
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %213 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %214 = icmp ugt i64 %213, %indvars.iv.next156
  br i1 %214, label %.lr.ph115, label %.preheader, !llvm.loop !15

.lr.ph117:                                        ; preds = %.preheader, %218
  %indvars.iv159 = phi i64 [ %indvars.iv.next160, %218 ], [ 0, %.preheader ]
  %215 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef %indvars.iv159)
  %216 = load i8, ptr %215, align 1, !tbaa !13
  %217 = icmp eq i8 %216, 48
  br i1 %217, label %218, label %.critedge11.loopexit

218:                                              ; preds = %.lr.ph117
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %219 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  %220 = icmp ugt i64 %219, %indvars.iv.next160
  br i1 %220, label %.lr.ph117, label %.critedge11.loopexit, !llvm.loop !16

.critedge11.loopexit:                             ; preds = %218, %.lr.ph117
  %.2.lcssa.ph.in = phi i64 [ %indvars.iv159, %.lr.ph117 ], [ %indvars.iv.next160, %218 ]
  %221 = and i64 %.2.lcssa.ph.in, 4294967295
  br label %.critedge11

.critedge11:                                      ; preds = %.critedge11.loopexit, %.preheader
  %.2.lcssa = phi i64 [ 0, %.preheader ], [ %221, %.critedge11.loopexit ]
  %222 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  %223 = icmp ugt i64 %222, %.2.lcssa
  br i1 %223, label %.lr.ph122, label %._crit_edge123

.lr.ph122:                                        ; preds = %.critedge11, %227
  %indvars.iv163 = phi i64 [ %indvars.iv.next164, %227 ], [ %.2.lcssa, %.critedge11 ]
  %224 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef %indvars.iv163)
  %225 = load i8, ptr %224, align 1, !tbaa !13
  %226 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %6, i8 noundef signext %225)
          to label %227 unwind label %.loopexit

227:                                              ; preds = %.lr.ph122
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %228 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  %229 = icmp ugt i64 %228, %indvars.iv.next164
  br i1 %229, label %.lr.ph122, label %._crit_edge123, !llvm.loop !17

._crit_edge123:                                   ; preds = %227, %.critedge11
  %230 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  %231 = load i32, ptr %1, align 4, !tbaa !5
  %232 = sext i32 %231 to i64
  %.not76 = icmp eq i64 %230, %232
  br i1 %.not76, label %233, label %237

233:                                              ; preds = %._crit_edge123
  %234 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  %235 = load i32, ptr %1, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %.not77 = icmp eq i64 %234, %236
  br i1 %.not77, label %241, label %237

237:                                              ; preds = %233, %._crit_edge123
  %238 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
          to label %239 unwind label %.loopexit.split-lp.loopexit.split-lp

239:                                              ; preds = %237
  %240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %238, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.critedge85 unwind label %.loopexit.split-lp.loopexit.split-lp

241:                                              ; preds = %233
  %242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %243 unwind label %.loopexit.split-lp.loopexit.split-lp

243:                                              ; preds = %241
  %244 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %242, ptr noundef nonnull @.str.2)
          to label %245 unwind label %.loopexit.split-lp.loopexit.split-lp

245:                                              ; preds = %243
  %246 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %244, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %247 unwind label %.loopexit.split-lp.loopexit.split-lp

247:                                              ; preds = %245
  %248 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %246, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %249 unwind label %.loopexit.split-lp.loopexit.split-lp

249:                                              ; preds = %247
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %253

.loopexit.split-lp:                               ; preds = %.loopexit149, %.loopexit.split-lp150, %.loopexit145, %.loopexit.split-lp146, %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit
  %.pn = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit86, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp87, %.loopexit.split-lp.loopexit.split-lp ], [ %lpad.loopexit147, %.loopexit145 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp146 ], [ %lpad.loopexit151, %.loopexit149 ], [ %lpad.loopexit.split-lp152, %.loopexit.split-lp150 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn

250:                                              ; preds = %16
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %251, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %253

.critedge85:                                      ; preds = %239
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %253

253:                                              ; preds = %250, %249, %.critedge85, %13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret i32 0
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

; 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 #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

attributes #0 = { mustprogress norecurse 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { inlinehint 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 #4 = { 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 #5 = { 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 #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.peeled.count", i32 1}
!12 = distinct !{!12, !10, !11}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass