; LLVM IR from AdarshGaur/Competitive-Programming :: Codeforces/Codeforces Round #748 (Div. 3)/B. Make it Divisible by 25.ll (Z5solvev)

; 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 [2 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  %15 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %16 unwind label %25

16:                                               ; preds = %0
  %17 = load i64, ptr %1, align 8, !tbaa !5
  %18 = srem i64 %17, 25
  %19 = icmp eq i64 %18, 0
  br i1 %19, label %20, label %29

20:                                               ; preds = %16
  %21 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 0)
          to label %22 unwind label %25

22:                                               ; preds = %20
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef @.str)
          to label %24 unwind label %25

24:                                               ; preds = %22
  store i32 1, ptr %5, align 4
  br label %235

25:                                               ; preds = %22, %20, %0
  %26 = landingpad { ptr, i32 }
          cleanup
  %27 = extractvalue { ptr, i32 } %26, 0
  store ptr %27, ptr %3, align 8
  %28 = extractvalue { ptr, i32 } %26, 1
  store i32 %28, ptr %4, align 4
  br label %239

29:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  %30 = load i64, ptr %1, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx119to_stringEl(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %6, i64 noundef %30)
          to label %31 unwind label %40

31:                                               ; preds = %29
  %32 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %6) #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 @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %33 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  store i64 %33, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 0, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 2000000000000000000, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %34 = load i64, ptr %7, align 8, !tbaa !5
  %35 = sub nsw i64 %34, 1
  store i64 %35, ptr %11, align 8, !tbaa !5
  br label %36

36:                                               ; preds = %77, %31
  %37 = load i64, ptr %11, align 8, !tbaa !5
  %38 = icmp sge i64 %37, 0
  br i1 %38, label %44, label %39

39:                                               ; preds = %36
  store i32 2, ptr %5, align 4
  br label %80

40:                                               ; preds = %29
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %3, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  br label %239

44:                                               ; preds = %36
  %45 = load i64, ptr %8, align 8, !tbaa !5
  %46 = icmp eq i64 %45, 0
  br i1 %46, label %47, label %61

47:                                               ; preds = %44
  %48 = load i64, ptr %11, align 8, !tbaa !5
  %49 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %48)
          to label %50 unwind label %57

50:                                               ; preds = %47
  %51 = load i8, ptr %49, align 1, !tbaa !9
  %52 = sext i8 %51 to i32
  %53 = icmp eq i32 %52, 53
  br i1 %53, label %54, label %61

54:                                               ; preds = %50
  %55 = load i64, ptr %8, align 8, !tbaa !5
  %56 = add nsw i64 %55, 1
  store i64 %56, ptr %8, align 8, !tbaa !5
  br label %76

57:                                               ; preds = %64, %47
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %3, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %238

61:                                               ; preds = %50, %44
  %62 = load i64, ptr %8, align 8, !tbaa !5
  %63 = icmp eq i64 %62, 1
  br i1 %63, label %64, label %72

64:                                               ; preds = %61
  %65 = load i64, ptr %11, align 8, !tbaa !5
  %66 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %65)
          to label %67 unwind label %57

67:                                               ; preds = %64
  %68 = load i8, ptr %66, align 1, !tbaa !9
  %69 = sext i8 %68 to i32
  %70 = icmp eq i32 %69, 50
  br i1 %70, label %71, label %72

71:                                               ; preds = %67
  store i32 2, ptr %5, align 4
  br label %80

72:                                               ; preds = %67, %61
  %73 = load i64, ptr %9, align 8, !tbaa !5
  %74 = add nsw i64 %73, 1
  store i64 %74, ptr %9, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %72
  br label %76

76:                                               ; preds = %75, %54
  br label %77

77:                                               ; preds = %76
  %78 = load i64, ptr %11, align 8, !tbaa !5
  %79 = add nsw i64 %78, -1
  store i64 %79, ptr %11, align 8, !tbaa !5
  br label %36, !llvm.loop !10

80:                                               ; preds = %71, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %81

81:                                               ; preds = %80
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %83 unwind label %91

83:                                               ; preds = %81
  %84 = load i64, ptr %82, align 8, !tbaa !5
  store i64 %84, ptr %10, align 8, !tbaa !5
  store i64 0, ptr %9, align 8, !tbaa !5
  store i64 0, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %85 = load i64, ptr %7, align 8, !tbaa !5
  %86 = sub nsw i64 %85, 1
  store i64 %86, ptr %12, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %128, %83
  %88 = load i64, ptr %12, align 8, !tbaa !5
  %89 = icmp sge i64 %88, 0
  br i1 %89, label %95, label %90

90:                                               ; preds = %87
  store i32 5, ptr %5, align 4
  br label %131

91:                                               ; preds = %232, %228, %226, %179, %132, %81
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %3, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %4, align 4
  br label %238

95:                                               ; preds = %87
  %96 = load i64, ptr %8, align 8, !tbaa !5
  %97 = icmp eq i64 %96, 0
  br i1 %97, label %98, label %112

98:                                               ; preds = %95
  %99 = load i64, ptr %12, align 8, !tbaa !5
  %100 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %99)
          to label %101 unwind label %108

101:                                              ; preds = %98
  %102 = load i8, ptr %100, align 1, !tbaa !9
  %103 = sext i8 %102 to i32
  %104 = icmp eq i32 %103, 53
  br i1 %104, label %105, label %112

105:                                              ; preds = %101
  %106 = load i64, ptr %8, align 8, !tbaa !5
  %107 = add nsw i64 %106, 1
  store i64 %107, ptr %8, align 8, !tbaa !5
  br label %127

108:                                              ; preds = %115, %98
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %3, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %238

112:                                              ; preds = %101, %95
  %113 = load i64, ptr %8, align 8, !tbaa !5
  %114 = icmp eq i64 %113, 1
  br i1 %114, label %115, label %123

115:                                              ; preds = %112
  %116 = load i64, ptr %12, align 8, !tbaa !5
  %117 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %116)
          to label %118 unwind label %108

118:                                              ; preds = %115
  %119 = load i8, ptr %117, align 1, !tbaa !9
  %120 = sext i8 %119 to i32
  %121 = icmp eq i32 %120, 55
  br i1 %121, label %122, label %123

122:                                              ; preds = %118
  store i32 5, ptr %5, align 4
  br label %131

123:                                              ; preds = %118, %112
  %124 = load i64, ptr %9, align 8, !tbaa !5
  %125 = add nsw i64 %124, 1
  store i64 %125, ptr %9, align 8, !tbaa !5
  br label %126

126:                                              ; preds = %123
  br label %127

127:                                              ; preds = %126, %105
  br label %128

128:                                              ; preds = %127
  %129 = load i64, ptr %12, align 8, !tbaa !5
  %130 = add nsw i64 %129, -1
  store i64 %130, ptr %12, align 8, !tbaa !5
  br label %87, !llvm.loop !12

131:                                              ; preds = %122, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %132

132:                                              ; preds = %131
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %134 unwind label %91

134:                                              ; preds = %132
  %135 = load i64, ptr %133, align 8, !tbaa !5
  store i64 %135, ptr %10, align 8, !tbaa !5
  store i64 0, ptr %9, align 8, !tbaa !5
  store i64 0, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %136 = load i64, ptr %7, align 8, !tbaa !5
  %137 = sub nsw i64 %136, 1
  store i64 %137, ptr %13, align 8, !tbaa !5
  br label %138

138:                                              ; preds = %175, %134
  %139 = load i64, ptr %13, align 8, !tbaa !5
  %140 = icmp sge i64 %139, 0
  br i1 %140, label %142, label %141

141:                                              ; preds = %138
  store i32 8, ptr %5, align 4
  br label %178

142:                                              ; preds = %138
  %143 = load i64, ptr %8, align 8, !tbaa !5
  %144 = icmp eq i64 %143, 0
  br i1 %144, label %145, label %159

145:                                              ; preds = %142
  %146 = load i64, ptr %13, align 8, !tbaa !5
  %147 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %146)
          to label %148 unwind label %155

148:                                              ; preds = %145
  %149 = load i8, ptr %147, align 1, !tbaa !9
  %150 = sext i8 %149 to i32
  %151 = icmp eq i32 %150, 48
  br i1 %151, label %152, label %159

152:                                              ; preds = %148
  %153 = load i64, ptr %8, align 8, !tbaa !5
  %154 = add nsw i64 %153, 1
  store i64 %154, ptr %8, align 8, !tbaa !5
  br label %174

155:                                              ; preds = %162, %145
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %3, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %238

159:                                              ; preds = %148, %142
  %160 = load i64, ptr %8, align 8, !tbaa !5
  %161 = icmp eq i64 %160, 1
  br i1 %161, label %162, label %170

162:                                              ; preds = %159
  %163 = load i64, ptr %13, align 8, !tbaa !5
  %164 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %163)
          to label %165 unwind label %155

165:                                              ; preds = %162
  %166 = load i8, ptr %164, align 1, !tbaa !9
  %167 = sext i8 %166 to i32
  %168 = icmp eq i32 %167, 53
  br i1 %168, label %169, label %170

169:                                              ; preds = %165
  store i32 8, ptr %5, align 4
  br label %178

170:                                              ; preds = %165, %159
  %171 = load i64, ptr %9, align 8, !tbaa !5
  %172 = add nsw i64 %171, 1
  store i64 %172, ptr %9, align 8, !tbaa !5
  br label %173

173:                                              ; preds = %170
  br label %174

174:                                              ; preds = %173, %152
  br label %175

175:                                              ; preds = %174
  %176 = load i64, ptr %13, align 8, !tbaa !5
  %177 = add nsw i64 %176, -1
  store i64 %177, ptr %13, align 8, !tbaa !5
  br label %138, !llvm.loop !13

178:                                              ; preds = %169, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %179

179:                                              ; preds = %178
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %181 unwind label %91

181:                                              ; preds = %179
  %182 = load i64, ptr %180, align 8, !tbaa !5
  store i64 %182, ptr %10, align 8, !tbaa !5
  store i64 0, ptr %9, align 8, !tbaa !5
  store i64 0, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %183 = load i64, ptr %7, align 8, !tbaa !5
  %184 = sub nsw i64 %183, 1
  store i64 %184, ptr %14, align 8, !tbaa !5
  br label %185

185:                                              ; preds = %222, %181
  %186 = load i64, ptr %14, align 8, !tbaa !5
  %187 = icmp sge i64 %186, 0
  br i1 %187, label %189, label %188

188:                                              ; preds = %185
  store i32 11, ptr %5, align 4
  br label %225

189:                                              ; preds = %185
  %190 = load i64, ptr %8, align 8, !tbaa !5
  %191 = icmp eq i64 %190, 0
  br i1 %191, label %192, label %206

192:                                              ; preds = %189
  %193 = load i64, ptr %14, align 8, !tbaa !5
  %194 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %193)
          to label %195 unwind label %202

195:                                              ; preds = %192
  %196 = load i8, ptr %194, align 1, !tbaa !9
  %197 = sext i8 %196 to i32
  %198 = icmp eq i32 %197, 48
  br i1 %198, label %199, label %206

199:                                              ; preds = %195
  %200 = load i64, ptr %8, align 8, !tbaa !5
  %201 = add nsw i64 %200, 1
  store i64 %201, ptr %8, align 8, !tbaa !5
  br label %221

202:                                              ; preds = %209, %192
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %3, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %238

206:                                              ; preds = %195, %189
  %207 = load i64, ptr %8, align 8, !tbaa !5
  %208 = icmp eq i64 %207, 1
  br i1 %208, label %209, label %217

209:                                              ; preds = %206
  %210 = load i64, ptr %14, align 8, !tbaa !5
  %211 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %210)
          to label %212 unwind label %202

212:                                              ; preds = %209
  %213 = load i8, ptr %211, align 1, !tbaa !9
  %214 = sext i8 %213 to i32
  %215 = icmp eq i32 %214, 48
  br i1 %215, label %216, label %217

216:                                              ; preds = %212
  store i32 11, ptr %5, align 4
  br label %225

217:                                              ; preds = %212, %206
  %218 = load i64, ptr %9, align 8, !tbaa !5
  %219 = add nsw i64 %218, 1
  store i64 %219, ptr %9, align 8, !tbaa !5
  br label %220

220:                                              ; preds = %217
  br label %221

221:                                              ; preds = %220, %199
  br label %222

222:                                              ; preds = %221
  %223 = load i64, ptr %14, align 8, !tbaa !5
  %224 = add nsw i64 %223, -1
  store i64 %224, ptr %14, align 8, !tbaa !5
  br label %185, !llvm.loop !14

225:                                              ; preds = %216, %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %226

226:                                              ; preds = %225
  %227 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %228 unwind label %91

228:                                              ; preds = %226
  %229 = load i64, ptr %227, align 8, !tbaa !5
  store i64 %229, ptr %10, align 8, !tbaa !5
  %230 = load i64, ptr %10, align 8, !tbaa !5
  %231 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %230)
          to label %232 unwind label %91

232:                                              ; preds = %228
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef @.str)
          to label %234 unwind label %91

234:                                              ; preds = %232
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  store i32 0, ptr %5, align 4
  br label %235

235:                                              ; preds = %234, %24
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  %236 = load i32, ptr %5, align 4
  switch i32 %236, label %245 [
    i32 0, label %237
    i32 1, label %237
  ]

237:                                              ; preds = %235, %235
  ret void

238:                                              ; preds = %202, %155, %108, %91, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %239

239:                                              ; preds = %238, %40, %25
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  br label %240

240:                                              ; preds = %239
  %241 = load ptr, ptr %3, align 8
  %242 = load i32, ptr %4, align 4
  %243 = insertvalue { ptr, i32 } poison, ptr %241, 0
  %244 = insertvalue { ptr, i32 } %243, i32 %242, 1
  resume { ptr, i32 } %244

245:                                              ; preds = %235
  unreachable
}

; 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

declare i32 @__gxx_personality_v0(...)

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEl(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) #3

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

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

; 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_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 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) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

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 = { 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 = { "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 = { inlinehint 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}


; 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 [2 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  %6 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERl(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %7 unwind label %15

7:                                                ; preds = %0
  %8 = load i64, ptr %1, align 8, !tbaa !5
  %9 = srem i64 %8, 25
  %10 = icmp eq i64 %9, 0
  br i1 %10, label %11, label %17

11:                                               ; preds = %7
  %12 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef 0)
          to label %13 unwind label %15

13:                                               ; preds = %11
  %14 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull @.str)
          to label %93 unwind label %15

15:                                               ; preds = %13, %11, %0
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %94

17:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  invoke void @_ZNSt7__cxx119to_stringEl(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %3, i64 noundef %8)
          to label %18 unwind label %23

18:                                               ; preds = %17
  %19 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3) #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
  %20 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  store i64 0, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  store i64 2000000000000000000, ptr %5, align 8, !tbaa !5
  %21 = add nsw i64 %20, -1
  %22 = icmp sgt i64 %20, 0
  br i1 %22, label %.lr.ph, label %._crit_edge47.critedge

23:                                               ; preds = %17
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %94

.lr.ph:                                           ; preds = %18, %34
  %25 = phi i64 [ %35, %34 ], [ 0, %18 ]
  %.03541 = phi i64 [ %36, %34 ], [ %21, %18 ]
  %.03640 = phi i64 [ %.1, %34 ], [ 0, %18 ]
  %switch68 = icmp eq i64 %.03640, 0
  %26 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.03541)
  %27 = load i8, ptr %26, align 1, !tbaa !9
  br i1 %switch68, label %28, label %30

28:                                               ; preds = %.lr.ph
  %29 = icmp eq i8 %27, 53
  br i1 %29, label %34, label %32

30:                                               ; preds = %.lr.ph
  %31 = icmp eq i8 %27, 50
  br i1 %31, label %._crit_edge, label %32

32:                                               ; preds = %28, %30
  %33 = add nsw i64 %25, 1
  store i64 %33, ptr %4, align 8, !tbaa !5
  br label %34

34:                                               ; preds = %28, %32
  %35 = phi i64 [ %33, %32 ], [ %25, %28 ]
  %.1 = phi i64 [ %.03640, %32 ], [ 1, %28 ]
  %36 = add nsw i64 %.03541, -1
  %37 = icmp sgt i64 %.03541, 0
  br i1 %37, label %.lr.ph, label %._crit_edge, !llvm.loop !10

._crit_edge:                                      ; preds = %34, %30
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %39 = load i64, ptr %38, align 8, !tbaa !5
  store i64 %39, ptr %5, align 8, !tbaa !5
  store i64 0, ptr %4, align 8, !tbaa !5
  br i1 %22, label %.lr.ph46, label %._crit_edge53.critedge

40:                                               ; preds = %90, %._crit_edge59
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %94

.lr.ph46:                                         ; preds = %._crit_edge, %51
  %.03444 = phi i64 [ %52, %51 ], [ %21, %._crit_edge ]
  %.243 = phi i64 [ %.3, %51 ], [ 0, %._crit_edge ]
  %switch = icmp eq i64 %.243, 0
  %42 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.03444)
  %43 = load i8, ptr %42, align 1, !tbaa !9
  br i1 %switch, label %44, label %46

44:                                               ; preds = %.lr.ph46
  %45 = icmp eq i8 %43, 53
  br i1 %45, label %51, label %48

46:                                               ; preds = %.lr.ph46
  %47 = icmp eq i8 %43, 55
  br i1 %47, label %._crit_edge47, label %48

48:                                               ; preds = %44, %46
  %49 = load i64, ptr %4, align 8, !tbaa !5
  %50 = add nsw i64 %49, 1
  store i64 %50, ptr %4, align 8, !tbaa !5
  br label %51

51:                                               ; preds = %44, %48
  %.3 = phi i64 [ %.243, %48 ], [ 1, %44 ]
  %52 = add nsw i64 %.03444, -1
  %53 = icmp sgt i64 %.03444, 0
  br i1 %53, label %.lr.ph46, label %._crit_edge47, !llvm.loop !12

._crit_edge47.critedge:                           ; preds = %18
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %55 = load i64, ptr %54, align 8, !tbaa !5
  store i64 %55, ptr %5, align 8, !tbaa !5
  store i64 0, ptr %4, align 8, !tbaa !5
  br label %._crit_edge47

._crit_edge47:                                    ; preds = %51, %46, %._crit_edge47.critedge
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %57 = load i64, ptr %56, align 8, !tbaa !5
  store i64 %57, ptr %5, align 8, !tbaa !5
  store i64 0, ptr %4, align 8, !tbaa !5
  br i1 %22, label %.lr.ph52, label %._crit_edge59.critedge

.lr.ph52:                                         ; preds = %._crit_edge47, %67
  %.03350 = phi i64 [ %68, %67 ], [ %21, %._crit_edge47 ]
  %.449 = phi i64 [ %.5, %67 ], [ 0, %._crit_edge47 ]
  %switch65 = icmp eq i64 %.449, 0
  %58 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.03350)
  %59 = load i8, ptr %58, align 1, !tbaa !9
  br i1 %switch65, label %60, label %62

60:                                               ; preds = %.lr.ph52
  %61 = icmp eq i8 %59, 48
  br i1 %61, label %67, label %64

62:                                               ; preds = %.lr.ph52
  %63 = icmp eq i8 %59, 53
  br i1 %63, label %._crit_edge53, label %64

64:                                               ; preds = %60, %62
  %65 = load i64, ptr %4, align 8, !tbaa !5
  %66 = add nsw i64 %65, 1
  store i64 %66, ptr %4, align 8, !tbaa !5
  br label %67

67:                                               ; preds = %60, %64
  %.5 = phi i64 [ %.449, %64 ], [ 1, %60 ]
  %68 = add nsw i64 %.03350, -1
  %69 = icmp sgt i64 %.03350, 0
  br i1 %69, label %.lr.ph52, label %._crit_edge53, !llvm.loop !13

._crit_edge53.critedge:                           ; preds = %._crit_edge
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %71 = load i64, ptr %70, align 8, !tbaa !5
  store i64 %71, ptr %5, align 8, !tbaa !5
  store i64 0, ptr %4, align 8, !tbaa !5
  br label %._crit_edge53

._crit_edge53:                                    ; preds = %67, %62, %._crit_edge53.critedge
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %73 = load i64, ptr %72, align 8, !tbaa !5
  store i64 %73, ptr %5, align 8, !tbaa !5
  store i64 0, ptr %4, align 8, !tbaa !5
  br i1 %22, label %.lr.ph58, label %._crit_edge59

.lr.ph58:                                         ; preds = %._crit_edge53, %82
  %.056 = phi i64 [ %83, %82 ], [ %21, %._crit_edge53 ]
  %.655 = phi i64 [ %.7, %82 ], [ 0, %._crit_edge53 ]
  %switch67 = icmp eq i64 %.655, 0
  %74 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %.056)
  %75 = load i8, ptr %74, align 1, !tbaa !9
  %76 = icmp eq i8 %75, 48
  br i1 %switch67, label %77, label %78

77:                                               ; preds = %.lr.ph58
  br i1 %76, label %82, label %79

78:                                               ; preds = %.lr.ph58
  br i1 %76, label %._crit_edge59, label %79

79:                                               ; preds = %77, %78
  %80 = load i64, ptr %4, align 8, !tbaa !5
  %81 = add nsw i64 %80, 1
  store i64 %81, ptr %4, align 8, !tbaa !5
  br label %82

82:                                               ; preds = %77, %79
  %.7 = phi i64 [ %.655, %79 ], [ 1, %77 ]
  %83 = add nsw i64 %.056, -1
  %84 = icmp sgt i64 %.056, 0
  br i1 %84, label %.lr.ph58, label %._crit_edge59, !llvm.loop !14

._crit_edge59.critedge:                           ; preds = %._crit_edge47
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %86 = load i64, ptr %85, align 8, !tbaa !5
  store i64 %86, ptr %5, align 8, !tbaa !5
  store i64 0, ptr %4, align 8, !tbaa !5
  br label %._crit_edge59

._crit_edge59:                                    ; preds = %82, %78, %._crit_edge59.critedge, %._crit_edge53
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %88 = load i64, ptr %87, align 8, !tbaa !5
  store i64 %88, ptr %5, align 8, !tbaa !5
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %88)
          to label %90 unwind label %40

90:                                               ; preds = %._crit_edge59
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef nonnull @.str)
          to label %92 unwind label %40

92:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %93

93:                                               ; preds = %13, %92
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  ret void

94:                                               ; preds = %40, %23, %15
  %.pn = phi { ptr, i32 } [ %16, %15 ], [ %41, %40 ], [ %24, %23 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEl(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) local_unnamed_addr #3

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

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

; 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_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 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 #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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 = { mustprogress 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 = { 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 = { "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 = { inlinehint 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass