; LLVM IR from eyangch/competitive-programming :: USACOtraining/2.4 (cowtour)

; 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" }
%"struct.std::_Setprecision" = type { i32 }
%"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
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; 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 [150 x double], align 16
  %4 = alloca [150 x double], align 16
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca [150 x [150 x double]], align 16
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca [150 x double], align 16
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca double, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca double, align 8
  %28 = alloca %"struct.std::_Setprecision", align 4
  store i32 0, ptr %1, align 4
  %29 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %30 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %31 = getelementptr i8, ptr %30, i64 -24
  %32 = load i64, ptr %31, align 8
  %33 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %32
  %34 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %33, ptr noundef null)
  %35 = load ptr, ptr @stdin, align 8, !tbaa !8
  %36 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %35)
  %37 = load ptr, ptr @stdout, align 8, !tbaa !8
  %38 = call ptr @freopen(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %37)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #9
  %39 = 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)
  call void @llvm.lifetime.start.p0(i64 1200, ptr %3) #9
  call void @llvm.lifetime.start.p0(i64 1200, ptr %4) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  store i32 0, ptr %5, align 4, !tbaa !11
  br label %40

40:                                               ; preds = %54, %0
  %41 = load i32, ptr %5, align 4, !tbaa !11
  %42 = load i32, ptr %2, align 4, !tbaa !11
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  br label %57

45:                                               ; preds = %40
  %46 = load i32, ptr %5, align 4, !tbaa !11
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [150 x double], ptr %3, i64 0, i64 %47
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %48)
  %50 = load i32, ptr %5, align 4, !tbaa !11
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [150 x double], ptr %4, i64 0, i64 %51
  %53 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(8) %52)
  br label %54

54:                                               ; preds = %45
  %55 = load i32, ptr %5, align 4, !tbaa !11
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %5, align 4, !tbaa !11
  br label %40, !llvm.loop !13

57:                                               ; preds = %44
  %58 = load i32, ptr %2, align 4, !tbaa !11
  %59 = zext i32 %58 to i64
  %60 = call ptr @llvm.stacksave.p0()
  store ptr %60, ptr %6, align 8
  %61 = alloca %"class.std::__cxx11::basic_string", i64 %59, align 16
  store i64 %59, ptr %7, align 8
  %62 = icmp eq i64 %59, 0
  br i1 %62, label %69, label %63

63:                                               ; preds = %57
  %64 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %61, i64 %59
  br label %65

65:                                               ; preds = %65, %63
  %66 = phi ptr [ %61, %63 ], [ %67, %65 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #9
  %67 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %66, i64 1
  %68 = icmp eq ptr %67, %64
  br i1 %68, label %69, label %65

69:                                               ; preds = %65, %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 0, ptr %8, align 4, !tbaa !11
  br label %70

70:                                               ; preds = %81, %69
  %71 = load i32, ptr %8, align 4, !tbaa !11
  %72 = load i32, ptr %2, align 4, !tbaa !11
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %88

75:                                               ; preds = %70
  %76 = load i32, ptr %8, align 4, !tbaa !11
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %61, i64 %77
  %79 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %78)
          to label %80 unwind label %84

80:                                               ; preds = %75
  br label %81

81:                                               ; preds = %80
  %82 = load i32, ptr %8, align 4, !tbaa !11
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %8, align 4, !tbaa !11
  br label %70, !llvm.loop !15

84:                                               ; preds = %75
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %9, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %432

88:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 180000, ptr %11) #9
  %89 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 0
  %90 = getelementptr inbounds [150 x double], ptr %89, i64 0, i64 0
  %91 = load i32, ptr %2, align 4, !tbaa !11
  %92 = sub nsw i32 %91, 1
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %93
  %95 = getelementptr inbounds [150 x double], ptr %94, i64 0, i64 0
  %96 = load i32, ptr %2, align 4, !tbaa !11
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %95, i64 %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store i32 2147483647, ptr %12, align 4, !tbaa !11
  invoke void @_ZSt4fillIPdiEvT_S1_RKT0_(ptr noundef %90, ptr noundef %98, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %99 unwind label %105

99:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %100

100:                                              ; preds = %178, %99
  %101 = load i32, ptr %13, align 4, !tbaa !11
  %102 = load i32, ptr %2, align 4, !tbaa !11
  %103 = icmp slt i32 %101, %102
  br i1 %103, label %109, label %104

104:                                              ; preds = %100
  store i32 8, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %181

105:                                              ; preds = %88
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %9, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %424

109:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %110

110:                                              ; preds = %174, %109
  %111 = load i32, ptr %15, align 4, !tbaa !11
  %112 = load i32, ptr %2, align 4, !tbaa !11
  %113 = icmp slt i32 %111, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %110
  store i32 11, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %177

115:                                              ; preds = %110
  %116 = load i32, ptr %13, align 4, !tbaa !11
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %61, i64 %117
  %119 = load i32, ptr %15, align 4, !tbaa !11
  %120 = sext i32 %119 to i64
  %121 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %118, i64 noundef %120)
          to label %122 unwind label %157

122:                                              ; preds = %115
  %123 = load i8, ptr %121, align 1, !tbaa !16
  %124 = sext i8 %123 to i32
  %125 = icmp eq i32 %124, 49
  br i1 %125, label %126, label %161

126:                                              ; preds = %122
  %127 = load i32, ptr %13, align 4, !tbaa !11
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [150 x double], ptr %3, i64 0, i64 %128
  %130 = load double, ptr %129, align 8, !tbaa !17
  %131 = load i32, ptr %15, align 4, !tbaa !11
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [150 x double], ptr %3, i64 0, i64 %132
  %134 = load double, ptr %133, align 8, !tbaa !17
  %135 = fsub double %130, %134
  %136 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %135, i32 noundef 2)
          to label %137 unwind label %157

137:                                              ; preds = %126
  %138 = load i32, ptr %13, align 4, !tbaa !11
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [150 x double], ptr %4, i64 0, i64 %139
  %141 = load double, ptr %140, align 8, !tbaa !17
  %142 = load i32, ptr %15, align 4, !tbaa !11
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [150 x double], ptr %4, i64 0, i64 %143
  %145 = load double, ptr %144, align 8, !tbaa !17
  %146 = fsub double %141, %145
  %147 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %146, i32 noundef 2)
          to label %148 unwind label %157

148:                                              ; preds = %137
  %149 = fadd double %136, %147
  %150 = call double @sqrt(double noundef %149) #9
  %151 = load i32, ptr %13, align 4, !tbaa !11
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %152
  %154 = load i32, ptr %15, align 4, !tbaa !11
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [150 x double], ptr %153, i64 0, i64 %155
  store double %150, ptr %156, align 8, !tbaa !17
  br label %173

157:                                              ; preds = %137, %126, %115
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %9, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %424

161:                                              ; preds = %122
  %162 = load i32, ptr %13, align 4, !tbaa !11
  %163 = load i32, ptr %15, align 4, !tbaa !11
  %164 = icmp eq i32 %162, %163
  br i1 %164, label %165, label %172

165:                                              ; preds = %161
  %166 = load i32, ptr %13, align 4, !tbaa !11
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %167
  %169 = load i32, ptr %15, align 4, !tbaa !11
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [150 x double], ptr %168, i64 0, i64 %170
  store double 0.000000e+00, ptr %171, align 8, !tbaa !17
  br label %172

172:                                              ; preds = %165, %161
  br label %173

173:                                              ; preds = %172, %148
  br label %174

174:                                              ; preds = %173
  %175 = load i32, ptr %15, align 4, !tbaa !11
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %15, align 4, !tbaa !11
  br label %110, !llvm.loop !19

177:                                              ; preds = %114
  br label %178

178:                                              ; preds = %177
  %179 = load i32, ptr %13, align 4, !tbaa !11
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %13, align 4, !tbaa !11
  br label %100, !llvm.loop !20

181:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !11
  br label %182

182:                                              ; preds = %254, %181
  %183 = load i32, ptr %16, align 4, !tbaa !11
  %184 = load i32, ptr %2, align 4, !tbaa !11
  %185 = icmp slt i32 %183, %184
  br i1 %185, label %187, label %186

186:                                              ; preds = %182
  store i32 14, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %257

187:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %188

188:                                              ; preds = %250, %187
  %189 = load i32, ptr %17, align 4, !tbaa !11
  %190 = load i32, ptr %2, align 4, !tbaa !11
  %191 = icmp slt i32 %189, %190
  br i1 %191, label %193, label %192

192:                                              ; preds = %188
  store i32 17, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  br label %253

193:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  store i32 0, ptr %18, align 4, !tbaa !11
  br label %194

194:                                              ; preds = %246, %193
  %195 = load i32, ptr %18, align 4, !tbaa !11
  %196 = load i32, ptr %2, align 4, !tbaa !11
  %197 = icmp slt i32 %195, %196
  br i1 %197, label %199, label %198

198:                                              ; preds = %194
  store i32 20, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %249

199:                                              ; preds = %194
  %200 = load i32, ptr %17, align 4, !tbaa !11
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %201
  %203 = load i32, ptr %16, align 4, !tbaa !11
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [150 x double], ptr %202, i64 0, i64 %204
  %206 = load double, ptr %205, align 8, !tbaa !17
  %207 = load i32, ptr %16, align 4, !tbaa !11
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %208
  %210 = load i32, ptr %18, align 4, !tbaa !11
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [150 x double], ptr %209, i64 0, i64 %211
  %213 = load double, ptr %212, align 8, !tbaa !17
  %214 = fadd double %206, %213
  %215 = load i32, ptr %17, align 4, !tbaa !11
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %216
  %218 = load i32, ptr %18, align 4, !tbaa !11
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds [150 x double], ptr %217, i64 0, i64 %219
  %221 = load double, ptr %220, align 8, !tbaa !17
  %222 = fcmp olt double %214, %221
  br i1 %222, label %223, label %245

223:                                              ; preds = %199
  %224 = load i32, ptr %17, align 4, !tbaa !11
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %225
  %227 = load i32, ptr %16, align 4, !tbaa !11
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [150 x double], ptr %226, i64 0, i64 %228
  %230 = load double, ptr %229, align 8, !tbaa !17
  %231 = load i32, ptr %16, align 4, !tbaa !11
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %232
  %234 = load i32, ptr %18, align 4, !tbaa !11
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [150 x double], ptr %233, i64 0, i64 %235
  %237 = load double, ptr %236, align 8, !tbaa !17
  %238 = fadd double %230, %237
  %239 = load i32, ptr %17, align 4, !tbaa !11
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %240
  %242 = load i32, ptr %18, align 4, !tbaa !11
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds [150 x double], ptr %241, i64 0, i64 %243
  store double %238, ptr %244, align 8, !tbaa !17
  br label %245

245:                                              ; preds = %223, %199
  br label %246

246:                                              ; preds = %245
  %247 = load i32, ptr %18, align 4, !tbaa !11
  %248 = add nsw i32 %247, 1
  store i32 %248, ptr %18, align 4, !tbaa !11
  br label %194, !llvm.loop !21

249:                                              ; preds = %198
  br label %250

250:                                              ; preds = %249
  %251 = load i32, ptr %17, align 4, !tbaa !11
  %252 = add nsw i32 %251, 1
  store i32 %252, ptr %17, align 4, !tbaa !11
  br label %188, !llvm.loop !22

253:                                              ; preds = %192
  br label %254

254:                                              ; preds = %253
  %255 = load i32, ptr %16, align 4, !tbaa !11
  %256 = add nsw i32 %255, 1
  store i32 %256, ptr %16, align 4, !tbaa !11
  br label %182, !llvm.loop !23

257:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 1200, ptr %19) #9
  %258 = getelementptr inbounds [150 x double], ptr %19, i64 0, i64 0
  %259 = getelementptr inbounds [150 x double], ptr %19, i64 0, i64 0
  %260 = load i32, ptr %2, align 4, !tbaa !11
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds double, ptr %259, i64 %261
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 0, ptr %20, align 4, !tbaa !11
  invoke void @_ZSt4fillIPdiEvT_S1_RKT0_(ptr noundef %258, ptr noundef %262, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %263 unwind label %269

263:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  store double 0.000000e+00, ptr %21, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  store i32 0, ptr %22, align 4, !tbaa !11
  br label %264

264:                                              ; preds = %319, %263
  %265 = load i32, ptr %22, align 4, !tbaa !11
  %266 = load i32, ptr %2, align 4, !tbaa !11
  %267 = icmp slt i32 %265, %266
  br i1 %267, label %273, label %268

268:                                              ; preds = %264
  store i32 23, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %327

269:                                              ; preds = %257
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %9, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %423

273:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  store i32 0, ptr %23, align 4, !tbaa !11
  br label %274

274:                                              ; preds = %305, %273
  %275 = load i32, ptr %23, align 4, !tbaa !11
  %276 = load i32, ptr %2, align 4, !tbaa !11
  %277 = icmp slt i32 %275, %276
  br i1 %277, label %279, label %278

278:                                              ; preds = %274
  store i32 26, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %312

279:                                              ; preds = %274
  %280 = load i32, ptr %22, align 4, !tbaa !11
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %281
  %283 = load i32, ptr %23, align 4, !tbaa !11
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds [150 x double], ptr %282, i64 0, i64 %284
  %286 = load double, ptr %285, align 8, !tbaa !17
  %287 = fcmp oeq double %286, 0x41DFFFFFFFC00000
  br i1 %287, label %288, label %289

288:                                              ; preds = %279
  br label %305

289:                                              ; preds = %279
  %290 = load i32, ptr %22, align 4, !tbaa !11
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds [150 x double], ptr %19, i64 0, i64 %291
  %293 = load i32, ptr %22, align 4, !tbaa !11
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %294
  %296 = load i32, ptr %23, align 4, !tbaa !11
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds [150 x double], ptr %295, i64 0, i64 %297
  %299 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %292, ptr noundef nonnull align 8 dereferenceable(8) %298)
          to label %300 unwind label %308

300:                                              ; preds = %289
  %301 = load double, ptr %299, align 8, !tbaa !17
  %302 = load i32, ptr %22, align 4, !tbaa !11
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds [150 x double], ptr %19, i64 0, i64 %303
  store double %301, ptr %304, align 8, !tbaa !17
  br label %305

305:                                              ; preds = %300, %288
  %306 = load i32, ptr %23, align 4, !tbaa !11
  %307 = add nsw i32 %306, 1
  store i32 %307, ptr %23, align 4, !tbaa !11
  br label %274, !llvm.loop !24

308:                                              ; preds = %289
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %9, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %326

312:                                              ; preds = %278
  %313 = load i32, ptr %22, align 4, !tbaa !11
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds [150 x double], ptr %19, i64 0, i64 %314
  %316 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %315)
          to label %317 unwind label %322

317:                                              ; preds = %312
  %318 = load double, ptr %316, align 8, !tbaa !17
  store double %318, ptr %21, align 8, !tbaa !17
  br label %319

319:                                              ; preds = %317
  %320 = load i32, ptr %22, align 4, !tbaa !11
  %321 = add nsw i32 %320, 1
  store i32 %321, ptr %22, align 4, !tbaa !11
  br label %264, !llvm.loop !25

322:                                              ; preds = %312
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %9, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %10, align 4
  br label %326

326:                                              ; preds = %322, %308
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %422

327:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  store double 0x41DFFFFFFFC00000, ptr %24, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store i32 0, ptr %25, align 4, !tbaa !11
  br label %328

328:                                              ; preds = %395, %327
  %329 = load i32, ptr %25, align 4, !tbaa !11
  %330 = load i32, ptr %2, align 4, !tbaa !11
  %331 = icmp slt i32 %329, %330
  br i1 %331, label %333, label %332

332:                                              ; preds = %328
  store i32 29, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %398

333:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store i32 0, ptr %26, align 4, !tbaa !11
  br label %334

334:                                              ; preds = %387, %333
  %335 = load i32, ptr %26, align 4, !tbaa !11
  %336 = load i32, ptr %2, align 4, !tbaa !11
  %337 = icmp slt i32 %335, %336
  br i1 %337, label %339, label %338

338:                                              ; preds = %334
  store i32 32, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  br label %394

339:                                              ; preds = %334
  %340 = load i32, ptr %25, align 4, !tbaa !11
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds [150 x [150 x double]], ptr %11, i64 0, i64 %341
  %343 = load i32, ptr %26, align 4, !tbaa !11
  %344 = sext i32 %343 to i64
  %345 = getelementptr inbounds [150 x double], ptr %342, i64 0, i64 %344
  %346 = load double, ptr %345, align 8, !tbaa !17
  %347 = fcmp olt double %346, 0x41DFFFFFFFC00000
  br i1 %347, label %348, label %349

348:                                              ; preds = %339
  br label %387

349:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %350 = load i32, ptr %25, align 4, !tbaa !11
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds [150 x double], ptr %3, i64 0, i64 %351
  %353 = load double, ptr %352, align 8, !tbaa !17
  %354 = load i32, ptr %26, align 4, !tbaa !11
  %355 = sext i32 %354 to i64
  %356 = getelementptr inbounds [150 x double], ptr %3, i64 0, i64 %355
  %357 = load double, ptr %356, align 8, !tbaa !17
  %358 = fsub double %353, %357
  %359 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %358, i32 noundef 2)
          to label %360 unwind label %390

360:                                              ; preds = %349
  %361 = load i32, ptr %25, align 4, !tbaa !11
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds [150 x double], ptr %4, i64 0, i64 %362
  %364 = load double, ptr %363, align 8, !tbaa !17
  %365 = load i32, ptr %26, align 4, !tbaa !11
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds [150 x double], ptr %4, i64 0, i64 %366
  %368 = load double, ptr %367, align 8, !tbaa !17
  %369 = fsub double %364, %368
  %370 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %369, i32 noundef 2)
          to label %371 unwind label %390

371:                                              ; preds = %360
  %372 = fadd double %359, %370
  %373 = call double @sqrt(double noundef %372) #9
  %374 = load i32, ptr %25, align 4, !tbaa !11
  %375 = sext i32 %374 to i64
  %376 = getelementptr inbounds [150 x double], ptr %19, i64 0, i64 %375
  %377 = load double, ptr %376, align 8, !tbaa !17
  %378 = fadd double %373, %377
  %379 = load i32, ptr %26, align 4, !tbaa !11
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds [150 x double], ptr %19, i64 0, i64 %380
  %382 = load double, ptr %381, align 8, !tbaa !17
  %383 = fadd double %378, %382
  store double %383, ptr %27, align 8, !tbaa !17
  %384 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %385 unwind label %390

385:                                              ; preds = %371
  %386 = load double, ptr %384, align 8, !tbaa !17
  store double %386, ptr %24, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %387

387:                                              ; preds = %385, %348
  %388 = load i32, ptr %26, align 4, !tbaa !11
  %389 = add nsw i32 %388, 1
  store i32 %389, ptr %26, align 4, !tbaa !11
  br label %334, !llvm.loop !26

390:                                              ; preds = %371, %360, %349
  %391 = landingpad { ptr, i32 }
          cleanup
  %392 = extractvalue { ptr, i32 } %391, 0
  store ptr %392, ptr %9, align 8
  %393 = extractvalue { ptr, i32 } %391, 1
  store i32 %393, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %421

394:                                              ; preds = %338
  br label %395

395:                                              ; preds = %394
  %396 = load i32, ptr %25, align 4, !tbaa !11
  %397 = add nsw i32 %396, 1
  store i32 %397, ptr %25, align 4, !tbaa !11
  br label %328, !llvm.loop !27

398:                                              ; preds = %332
  %399 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt5fixedRSt8ios_base)
          to label %400 unwind label %417

400:                                              ; preds = %398
  %401 = invoke i32 @_ZSt12setprecisioni(i32 noundef 6)
          to label %402 unwind label %417

402:                                              ; preds = %400
  %403 = getelementptr inbounds %"struct.std::_Setprecision", ptr %28, i32 0, i32 0
  store i32 %401, ptr %403, align 4
  %404 = getelementptr inbounds %"struct.std::_Setprecision", ptr %28, i32 0, i32 0
  %405 = load i32, ptr %404, align 4
  %406 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %399, i32 %405)
          to label %407 unwind label %417

407:                                              ; preds = %402
  %408 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %409 unwind label %417

409:                                              ; preds = %407
  %410 = load double, ptr %408, align 8, !tbaa !17
  %411 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %406, double noundef %410)
          to label %412 unwind label %417

412:                                              ; preds = %409
  %413 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %411, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %414 unwind label %417

414:                                              ; preds = %412
  store i32 0, ptr %1, align 4
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 1200, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 180000, ptr %11) #9
  %415 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %61, i64 %59
  %416 = icmp eq ptr %61, %415
  br i1 %416, label %429, label %425

417:                                              ; preds = %412, %409, %407, %402, %400, %398
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %9, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %10, align 4
  br label %421

421:                                              ; preds = %417, %390
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %422

422:                                              ; preds = %421, %326
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %423

423:                                              ; preds = %422, %269
  call void @llvm.lifetime.end.p0(i64 1200, ptr %19) #9
  br label %424

424:                                              ; preds = %423, %157, %105
  call void @llvm.lifetime.end.p0(i64 180000, ptr %11) #9
  br label %432

425:                                              ; preds = %425, %414
  %426 = phi ptr [ %415, %414 ], [ %427, %425 ]
  %427 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %426, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %427) #9
  %428 = icmp eq ptr %427, %61
  br i1 %428, label %429, label %425

429:                                              ; preds = %425, %414
  %430 = load ptr, ptr %6, align 8
  call void @llvm.stackrestore.p0(ptr %430)
  call void @llvm.lifetime.end.p0(i64 1200, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 1200, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #9
  %431 = load i32, ptr %1, align 4
  ret i32 %431

432:                                              ; preds = %424, %84
  %433 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %61, i64 %59
  %434 = icmp eq ptr %61, %433
  br i1 %434, label %439, label %435

435:                                              ; preds = %435, %432
  %436 = phi ptr [ %433, %432 ], [ %437, %435 ]
  %437 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %436, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %437) #9
  %438 = icmp eq ptr %437, %61
  br i1 %438, label %439, label %435

439:                                              ; preds = %435, %432
  call void @llvm.lifetime.end.p0(i64 1200, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 1200, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #9
  br label %440

440:                                              ; preds = %439
  %441 = load ptr, ptr %9, align 8
  %442 = load i32, ptr %10, align 4
  %443 = insertvalue { ptr, i32 } poison, ptr %441, 0
  %444 = insertvalue { ptr, i32 } %443, i32 %442, 1
  resume { ptr, i32 } %444
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

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

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #1

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #5

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPdiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #6

; 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: nounwind
declare double @sqrt(double noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) #8

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) #8

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

; 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)) #6

; 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
declare void @llvm.stackrestore.p0(ptr) #5

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 = { "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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind willreturn }
attributes #6 = { 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 #7 = { nounwind "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 #8 = { 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 #9 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !10, i64 0}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}


; 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
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; 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 [150 x double], align 16
  %3 = alloca [150 x double], align 16
  %4 = alloca [150 x [150 x double]], align 16
  %5 = alloca i32, align 4
  %6 = alloca [150 x double], align 16
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %12 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %13 = getelementptr i8, ptr %12, i64 -24
  %14 = load i64, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %14
  %16 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %15, ptr noundef null)
  %17 = load ptr, ptr @stdin, align 8, !tbaa !8
  %18 = tail call ptr @freopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %17)
  %19 = load ptr, ptr @stdout, align 8, !tbaa !8
  %20 = tail call ptr @freopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #9
  %21 = 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)
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %2) #9
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %3) #9
  %22 = load i32, ptr %1, align 4, !tbaa !11
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  %.lcssa101 = phi i32 [ %22, %0 ], [ %32, %.lr.ph ]
  %24 = zext i32 %.lcssa101 to i64
  %25 = call ptr @llvm.stacksave.p0()
  %26 = alloca %"class.std::__cxx11::basic_string", i64 %24, align 16
  %27 = icmp eq i32 %.lcssa101, 0
  br i1 %27, label %.loopexit98, label %35

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %28 = getelementptr inbounds [150 x double], ptr %2, i64 0, i64 %indvars.iv
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %28)
  %30 = getelementptr inbounds [150 x double], ptr %3, i64 0, i64 %indvars.iv
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERd(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(8) %30)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %32 = load i32, ptr %1, align 4, !tbaa !11
  %33 = sext i32 %32 to i64
  %34 = icmp slt i64 %indvars.iv.next, %33
  br i1 %34, label %.lr.ph, label %._crit_edge, !llvm.loop !13

35:                                               ; preds = %._crit_edge
  %36 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %26, i64 %24
  br label %37

37:                                               ; preds = %37, %35
  %38 = phi ptr [ %26, %35 ], [ %39, %37 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  %39 = getelementptr inbounds i8, ptr %38, i64 32
  %40 = icmp eq ptr %39, %36
  br i1 %40, label %.loopexit98, label %37

.loopexit98:                                      ; preds = %37, %._crit_edge
  %41 = load i32, ptr %1, align 4, !tbaa !11
  %42 = icmp sgt i32 %41, 0
  br i1 %42, label %.lr.ph105, label %.loopexit98.._crit_edge106_crit_edge

.loopexit98.._crit_edge106_crit_edge:             ; preds = %.loopexit98
  %.pre171 = sext i32 %41 to i64
  br label %._crit_edge106

._crit_edge106:                                   ; preds = %49, %.loopexit98.._crit_edge106_crit_edge
  %.pre-phi = phi i64 [ %.pre171, %.loopexit98.._crit_edge106_crit_edge ], [ %51, %49 ]
  %.lcssa99 = phi i32 [ %41, %.loopexit98.._crit_edge106_crit_edge ], [ %50, %49 ]
  call void @llvm.lifetime.start.p0(i64 180000, ptr nonnull %4) #9
  %43 = add nsw i32 %.lcssa99, -1
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %44
  %46 = getelementptr inbounds double, ptr %45, i64 %.pre-phi
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #9
  store i32 2147483647, ptr %5, align 4, !tbaa !11
  invoke void @_ZSt4fillIPdiEvT_S1_RKT0_(ptr noundef nonnull %4, ptr noundef nonnull %46, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %55 unwind label %126

.lr.ph105:                                        ; preds = %.loopexit98, %49
  %indvars.iv136 = phi i64 [ %indvars.iv.next137, %49 ], [ 0, %.loopexit98 ]
  %47 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %26, i64 %indvars.iv136
  %48 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %47)
          to label %49 unwind label %53

49:                                               ; preds = %.lr.ph105
  %indvars.iv.next137 = add nuw nsw i64 %indvars.iv136, 1
  %50 = load i32, ptr %1, align 4, !tbaa !11
  %51 = sext i32 %50 to i64
  %52 = icmp slt i64 %indvars.iv.next137, %51
  br i1 %52, label %.lr.ph105, label %._crit_edge106, !llvm.loop !15

53:                                               ; preds = %.lr.ph105
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %242

55:                                               ; preds = %._crit_edge106
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  %56 = load i32, ptr %1, align 4, !tbaa !11
  %57 = icmp sgt i32 %56, 0
  br i1 %57, label %.preheader97, label %._crit_edge119

.preheader97:                                     ; preds = %55, %._crit_edge110
  %58 = phi i32 [ %128, %._crit_edge110 ], [ %56, %55 ]
  %indvars.iv142 = phi i64 [ %indvars.iv.next143, %._crit_edge110 ], [ 0, %55 ]
  %59 = icmp sgt i32 %58, 0
  br i1 %59, label %.lr.ph109, label %.preheader97.._crit_edge110_crit_edge

.preheader97.._crit_edge110_crit_edge:            ; preds = %.preheader97
  %.pre172 = sext i32 %58 to i64
  br label %._crit_edge110

.lr.ph109:                                        ; preds = %.preheader97
  %60 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %26, i64 %indvars.iv142
  %61 = getelementptr inbounds [150 x double], ptr %2, i64 0, i64 %indvars.iv142
  %62 = getelementptr inbounds [150 x double], ptr %3, i64 0, i64 %indvars.iv142
  %63 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv142, i64 %indvars.iv142
  br label %130

.preheader96:                                     ; preds = %._crit_edge110
  %64 = icmp sgt i32 %128, 0
  br i1 %64, label %.preheader95.us.preheader, label %._crit_edge119

.preheader95.us.preheader:                        ; preds = %.preheader96
  %wide.trip.count156 = zext nneg i32 %128 to i64
  %scevgep = getelementptr i8, ptr %4, i64 -1200
  %65 = mul nuw nsw i64 %wide.trip.count156, 1208
  %scevgep190 = getelementptr i8, ptr %scevgep, i64 %65
  %66 = mul nuw nsw i64 %wide.trip.count156, 1200
  %67 = shl nuw nsw i64 %wide.trip.count156, 3
  %68 = getelementptr i8, ptr %4, i64 %66
  %69 = getelementptr i8, ptr %68, i64 -1192
  %70 = getelementptr i8, ptr %4, i64 %67
  %min.iters.check = icmp ult i32 %128, 4
  %n.vec = and i64 %wide.trip.count156, 2147483644
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count156
  %xtraiter = and i64 %wide.trip.count156, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %71 = add nsw i64 %wide.trip.count156, -1
  br label %.preheader95.us

.preheader95.us:                                  ; preds = %.preheader95.us.preheader, %._crit_edge117.split.us.us
  %indvars.iv153 = phi i64 [ 0, %.preheader95.us.preheader ], [ %indvars.iv.next154, %._crit_edge117.split.us.us ]
  %72 = shl nuw nsw i64 %indvars.iv153, 3
  %scevgep191 = getelementptr i8, ptr %4, i64 %72
  %scevgep192 = getelementptr i8, ptr %69, i64 %72
  %73 = mul nuw nsw i64 %indvars.iv153, 1200
  %scevgep193 = getelementptr i8, ptr %4, i64 %73
  %scevgep194 = getelementptr i8, ptr %70, i64 %73
  %bound0 = icmp ult ptr %4, %scevgep192
  %bound1 = icmp ult ptr %scevgep191, %scevgep190
  %found.conflict = and i1 %bound0, %bound1
  %bound0195 = icmp ult ptr %4, %scevgep194
  %bound1196 = icmp ult ptr %scevgep193, %scevgep190
  %found.conflict197 = and i1 %bound0195, %bound1196
  %conflict.rdx = or i1 %found.conflict, %found.conflict197
  br label %.preheader94.us.us

.preheader94.us.us:                               ; preds = %._crit_edge115.us.us, %.preheader95.us
  %indvars.iv148 = phi i64 [ %indvars.iv.next149, %._crit_edge115.us.us ], [ 0, %.preheader95.us ]
  %74 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv148, i64 %indvars.iv153
  %brmerge = select i1 %min.iters.check, i1 true, i1 %conflict.rdx
  br i1 %brmerge, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.preheader94.us.us
  %75 = load double, ptr %74, align 8, !tbaa !16, !alias.scope !18
  %broadcast.splatinsert199 = insertelement <2 x double> poison, double %75, i64 0
  %broadcast.splat200 = shufflevector <2 x double> %broadcast.splatinsert199, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %pred.store.continue208, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %pred.store.continue208 ]
  %76 = or disjoint i64 %index, 2
  %77 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv153, i64 %index
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  %wide.load = load <2 x double>, ptr %77, align 16, !tbaa !16, !alias.scope !21
  %wide.load198 = load <2 x double>, ptr %78, align 16, !tbaa !16, !alias.scope !21
  %79 = fadd <2 x double> %broadcast.splat200, %wide.load
  %80 = fadd <2 x double> %broadcast.splat200, %wide.load198
  %81 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv148, i64 %index
  %82 = getelementptr inbounds i8, ptr %81, i64 16
  %wide.load201 = load <2 x double>, ptr %81, align 16, !tbaa !16, !alias.scope !23, !noalias !25
  %wide.load202 = load <2 x double>, ptr %82, align 16, !tbaa !16, !alias.scope !23, !noalias !25
  %83 = fcmp olt <2 x double> %79, %wide.load201
  %84 = fcmp olt <2 x double> %80, %wide.load202
  %85 = extractelement <2 x i1> %83, i64 0
  br i1 %85, label %pred.store.if, label %pred.store.continue

pred.store.if:                                    ; preds = %vector.body
  %86 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv148, i64 %index
  %87 = extractelement <2 x double> %79, i64 0
  store double %87, ptr %86, align 16, !tbaa !16, !alias.scope !23, !noalias !25
  br label %pred.store.continue

pred.store.continue:                              ; preds = %pred.store.if, %vector.body
  %88 = extractelement <2 x i1> %83, i64 1
  br i1 %88, label %pred.store.if203, label %pred.store.continue204

pred.store.if203:                                 ; preds = %pred.store.continue
  %89 = or disjoint i64 %index, 1
  %90 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv148, i64 %89
  %91 = extractelement <2 x double> %79, i64 1
  store double %91, ptr %90, align 8, !tbaa !16, !alias.scope !23, !noalias !25
  br label %pred.store.continue204

pred.store.continue204:                           ; preds = %pred.store.if203, %pred.store.continue
  %92 = extractelement <2 x i1> %84, i64 0
  br i1 %92, label %pred.store.if205, label %pred.store.continue206

pred.store.if205:                                 ; preds = %pred.store.continue204
  %93 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv148, i64 %76
  %94 = extractelement <2 x double> %80, i64 0
  store double %94, ptr %93, align 16, !tbaa !16, !alias.scope !23, !noalias !25
  br label %pred.store.continue206

pred.store.continue206:                           ; preds = %pred.store.if205, %pred.store.continue204
  %95 = extractelement <2 x i1> %84, i64 1
  br i1 %95, label %pred.store.if207, label %pred.store.continue208

pred.store.if207:                                 ; preds = %pred.store.continue206
  %96 = or disjoint i64 %index, 3
  %97 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv148, i64 %96
  %98 = extractelement <2 x double> %80, i64 1
  store double %98, ptr %97, align 8, !tbaa !16, !alias.scope !23, !noalias !25
  br label %pred.store.continue208

pred.store.continue208:                           ; preds = %pred.store.if207, %pred.store.continue206
  %index.next = add nuw i64 %index, 4
  %99 = icmp eq i64 %index.next, %n.vec
  br i1 %99, label %middle.block, label %vector.body, !llvm.loop !26

middle.block:                                     ; preds = %pred.store.continue208
  br i1 %cmp.n, label %._crit_edge115.us.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %.preheader94.us.us, %middle.block
  %indvars.iv145.ph = phi i64 [ 0, %.preheader94.us.us ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %100 = load double, ptr %74, align 8, !tbaa !16
  %101 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv153, i64 %indvars.iv145.ph
  %102 = load double, ptr %101, align 16, !tbaa !16
  %103 = fadd double %100, %102
  %104 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv148, i64 %indvars.iv145.ph
  %105 = load double, ptr %104, align 16, !tbaa !16
  %106 = fcmp olt double %103, %105
  br i1 %106, label %107, label %scalar.ph.prol.loopexit.unr-lcssa

107:                                              ; preds = %scalar.ph.prol
  store double %103, ptr %104, align 16, !tbaa !16
  br label %scalar.ph.prol.loopexit.unr-lcssa

scalar.ph.prol.loopexit.unr-lcssa:                ; preds = %107, %scalar.ph.prol
  %indvars.iv.next146.prol = or disjoint i64 %indvars.iv145.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol.loopexit.unr-lcssa, %scalar.ph.preheader
  %indvars.iv145.unr = phi i64 [ %indvars.iv145.ph, %scalar.ph.preheader ], [ %indvars.iv.next146.prol, %scalar.ph.prol.loopexit.unr-lcssa ]
  %108 = icmp eq i64 %indvars.iv145.ph, %71
  br i1 %108, label %._crit_edge115.us.us, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %125
  %indvars.iv145 = phi i64 [ %indvars.iv.next146.1, %125 ], [ %indvars.iv145.unr, %scalar.ph.prol.loopexit ]
  %109 = load double, ptr %74, align 8, !tbaa !16
  %110 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv153, i64 %indvars.iv145
  %111 = load double, ptr %110, align 8, !tbaa !16
  %112 = fadd double %109, %111
  %113 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv148, i64 %indvars.iv145
  %114 = load double, ptr %113, align 8, !tbaa !16
  %115 = fcmp olt double %112, %114
  br i1 %115, label %116, label %scalar.ph.1

116:                                              ; preds = %scalar.ph
  store double %112, ptr %113, align 8, !tbaa !16
  br label %scalar.ph.1

scalar.ph.1:                                      ; preds = %116, %scalar.ph
  %indvars.iv.next146 = add nuw nsw i64 %indvars.iv145, 1
  %117 = load double, ptr %74, align 8, !tbaa !16
  %118 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv153, i64 %indvars.iv.next146
  %119 = load double, ptr %118, align 8, !tbaa !16
  %120 = fadd double %117, %119
  %121 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv148, i64 %indvars.iv.next146
  %122 = load double, ptr %121, align 8, !tbaa !16
  %123 = fcmp olt double %120, %122
  br i1 %123, label %124, label %125

124:                                              ; preds = %scalar.ph.1
  store double %120, ptr %121, align 8, !tbaa !16
  br label %125

125:                                              ; preds = %124, %scalar.ph.1
  %indvars.iv.next146.1 = add nuw nsw i64 %indvars.iv145, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next146.1, %wide.trip.count156
  br i1 %exitcond.not.1, label %._crit_edge115.us.us, label %scalar.ph, !llvm.loop !29

._crit_edge115.us.us:                             ; preds = %scalar.ph.prol.loopexit, %125, %middle.block
  %indvars.iv.next149 = add nuw nsw i64 %indvars.iv148, 1
  %exitcond152.not = icmp eq i64 %indvars.iv.next149, %wide.trip.count156
  br i1 %exitcond152.not, label %._crit_edge117.split.us.us, label %.preheader94.us.us, !llvm.loop !30

._crit_edge117.split.us.us:                       ; preds = %._crit_edge115.us.us
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %exitcond157.not = icmp eq i64 %indvars.iv.next154, %wide.trip.count156
  br i1 %exitcond157.not, label %._crit_edge119, label %.preheader95.us, !llvm.loop !31

126:                                              ; preds = %._crit_edge106
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  br label %238

._crit_edge110:                                   ; preds = %151, %.preheader97.._crit_edge110_crit_edge
  %.pre-phi173 = phi i64 [ %.pre172, %.preheader97.._crit_edge110_crit_edge ], [ %153, %151 ]
  %128 = phi i32 [ %58, %.preheader97.._crit_edge110_crit_edge ], [ %152, %151 ]
  %indvars.iv.next143 = add nuw nsw i64 %indvars.iv142, 1
  %129 = icmp slt i64 %indvars.iv.next143, %.pre-phi173
  br i1 %129, label %.preheader97, label %.preheader96, !llvm.loop !32

130:                                              ; preds = %.lr.ph109, %151
  %indvars.iv139 = phi i64 [ 0, %.lr.ph109 ], [ %indvars.iv.next140, %151 ]
  %131 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %60, i64 noundef %indvars.iv139)
  %132 = load i8, ptr %131, align 1, !tbaa !34
  %133 = icmp eq i8 %132, 49
  br i1 %133, label %134, label %148

134:                                              ; preds = %130
  %135 = load double, ptr %61, align 8, !tbaa !16
  %136 = getelementptr inbounds [150 x double], ptr %2, i64 0, i64 %indvars.iv139
  %137 = load double, ptr %136, align 8, !tbaa !16
  %138 = fsub double %135, %137
  %139 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %138, i32 noundef 2)
  %140 = load double, ptr %62, align 8, !tbaa !16
  %141 = getelementptr inbounds [150 x double], ptr %3, i64 0, i64 %indvars.iv139
  %142 = load double, ptr %141, align 8, !tbaa !16
  %143 = fsub double %140, %142
  %144 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %143, i32 noundef 2)
  %145 = fadd double %139, %144
  %146 = call double @sqrt(double noundef %145) #9
  %147 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv142, i64 %indvars.iv139
  store double %146, ptr %147, align 8, !tbaa !16
  br label %151

148:                                              ; preds = %130
  %149 = icmp eq i64 %indvars.iv142, %indvars.iv139
  br i1 %149, label %150, label %151

150:                                              ; preds = %148
  store double 0.000000e+00, ptr %63, align 8, !tbaa !16
  br label %151

151:                                              ; preds = %134, %150, %148
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %152 = load i32, ptr %1, align 4, !tbaa !11
  %153 = sext i32 %152 to i64
  %154 = icmp slt i64 %indvars.iv.next140, %153
  br i1 %154, label %130, label %._crit_edge110, !llvm.loop !35

._crit_edge119:                                   ; preds = %._crit_edge117.split.us.us, %55, %.preheader96
  %.lcssa175 = phi i32 [ %128, %.preheader96 ], [ %56, %55 ], [ %128, %._crit_edge117.split.us.us ]
  call void @llvm.lifetime.start.p0(i64 1200, ptr nonnull %6) #9
  %155 = sext i32 %.lcssa175 to i64
  %156 = getelementptr inbounds double, ptr %6, i64 %155
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #9
  store i32 0, ptr %7, align 4, !tbaa !11
  invoke void @_ZSt4fillIPdiEvT_S1_RKT0_(ptr noundef nonnull %6, ptr noundef nonnull %156, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %157 unwind label %164

157:                                              ; preds = %._crit_edge119
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  store double 0.000000e+00, ptr %8, align 8, !tbaa !16
  %158 = load i32, ptr %1, align 4, !tbaa !11
  %159 = icmp sgt i32 %158, 0
  br i1 %159, label %.preheader93, label %._crit_edge124.thread

._crit_edge124.thread:                            ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  store double 0x41DFFFFFFFC00000, ptr %9, align 8, !tbaa !16
  br label %._crit_edge129

.preheader93:                                     ; preds = %157, %._crit_edge122
  %160 = phi i32 [ %169, %._crit_edge122 ], [ %158, %157 ]
  %indvars.iv161 = phi i64 [ %indvars.iv.next162, %._crit_edge122 ], [ 0, %157 ]
  %161 = icmp sgt i32 %160, 0
  br i1 %161, label %.lr.ph121, label %._crit_edge122

.lr.ph121:                                        ; preds = %.preheader93
  %162 = getelementptr inbounds [150 x double], ptr %6, i64 0, i64 %indvars.iv161
  br label %172

._crit_edge124:                                   ; preds = %._crit_edge122
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  store double 0x41DFFFFFFFC00000, ptr %9, align 8, !tbaa !16
  %163 = icmp sgt i32 %169, 0
  br i1 %163, label %.preheader92, label %._crit_edge129

164:                                              ; preds = %._crit_edge119
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #9
  br label %237

._crit_edge122:                                   ; preds = %180, %.preheader93
  %166 = getelementptr inbounds [150 x double], ptr %6, i64 0, i64 %indvars.iv161
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %166)
  %168 = load double, ptr %167, align 8, !tbaa !16
  store double %168, ptr %8, align 8, !tbaa !16
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 1
  %169 = load i32, ptr %1, align 4, !tbaa !11
  %170 = sext i32 %169 to i64
  %171 = icmp slt i64 %indvars.iv.next162, %170
  br i1 %171, label %.preheader93, label %._crit_edge124, !llvm.loop !36

172:                                              ; preds = %.lr.ph121, %180
  %173 = phi i32 [ %160, %.lr.ph121 ], [ %181, %180 ]
  %indvars.iv158 = phi i64 [ 0, %.lr.ph121 ], [ %indvars.iv.next159, %180 ]
  %174 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv161, i64 %indvars.iv158
  %175 = load double, ptr %174, align 8, !tbaa !16
  %176 = fcmp oeq double %175, 0x41DFFFFFFFC00000
  br i1 %176, label %180, label %177

177:                                              ; preds = %172
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %162, ptr noundef nonnull align 8 dereferenceable(8) %174)
  %179 = load double, ptr %178, align 8, !tbaa !16
  store double %179, ptr %162, align 8, !tbaa !16
  %.pre = load i32, ptr %1, align 4, !tbaa !11
  br label %180

180:                                              ; preds = %172, %177
  %181 = phi i32 [ %173, %172 ], [ %.pre, %177 ]
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %182 = sext i32 %181 to i64
  %183 = icmp slt i64 %indvars.iv.next159, %182
  br i1 %183, label %172, label %._crit_edge122, !llvm.loop !37

.preheader92:                                     ; preds = %._crit_edge124, %._crit_edge127
  %184 = phi i32 [ %190, %._crit_edge127 ], [ %169, %._crit_edge124 ]
  %indvars.iv167 = phi i64 [ %indvars.iv.next168, %._crit_edge127 ], [ 0, %._crit_edge124 ]
  %185 = icmp sgt i32 %184, 0
  br i1 %185, label %.lr.ph126, label %._crit_edge127

.lr.ph126:                                        ; preds = %.preheader92
  %186 = getelementptr inbounds [150 x double], ptr %2, i64 0, i64 %indvars.iv167
  %187 = getelementptr inbounds [150 x double], ptr %3, i64 0, i64 %indvars.iv167
  %188 = getelementptr inbounds [150 x double], ptr %6, i64 0, i64 %indvars.iv167
  br label %193

._crit_edge129:                                   ; preds = %._crit_edge127, %._crit_edge124.thread, %._crit_edge124
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
          to label %224 unwind label %235

._crit_edge127:                                   ; preds = %219, %.preheader92
  %190 = phi i32 [ %184, %.preheader92 ], [ %220, %219 ]
  %indvars.iv.next168 = add nuw nsw i64 %indvars.iv167, 1
  %191 = sext i32 %190 to i64
  %192 = icmp slt i64 %indvars.iv.next168, %191
  br i1 %192, label %.preheader92, label %._crit_edge129, !llvm.loop !38

193:                                              ; preds = %.lr.ph126, %219
  %194 = phi i32 [ %184, %.lr.ph126 ], [ %220, %219 ]
  %195 = phi i32 [ %184, %.lr.ph126 ], [ %221, %219 ]
  %indvars.iv164 = phi i64 [ 0, %.lr.ph126 ], [ %indvars.iv.next165, %219 ]
  %196 = getelementptr inbounds [150 x [150 x double]], ptr %4, i64 0, i64 %indvars.iv167, i64 %indvars.iv164
  %197 = load double, ptr %196, align 8, !tbaa !16
  %198 = fcmp olt double %197, 0x41DFFFFFFFC00000
  br i1 %198, label %219, label %199

199:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %200 = load double, ptr %186, align 8, !tbaa !16
  %201 = getelementptr inbounds [150 x double], ptr %2, i64 0, i64 %indvars.iv164
  %202 = load double, ptr %201, align 8, !tbaa !16
  %203 = fsub double %200, %202
  %204 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %203, i32 noundef 2)
  %205 = load double, ptr %187, align 8, !tbaa !16
  %206 = getelementptr inbounds [150 x double], ptr %3, i64 0, i64 %indvars.iv164
  %207 = load double, ptr %206, align 8, !tbaa !16
  %208 = fsub double %205, %207
  %209 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %208, i32 noundef 2)
  %210 = fadd double %204, %209
  %211 = call double @sqrt(double noundef %210) #9
  %212 = load double, ptr %188, align 8, !tbaa !16
  %213 = fadd double %211, %212
  %214 = getelementptr inbounds [150 x double], ptr %6, i64 0, i64 %indvars.iv164
  %215 = load double, ptr %214, align 8, !tbaa !16
  %216 = fadd double %213, %215
  store double %216, ptr %10, align 8, !tbaa !16
  %217 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %218 = load double, ptr %217, align 8, !tbaa !16
  store double %218, ptr %9, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  %.pre170 = load i32, ptr %1, align 4, !tbaa !11
  br label %219

219:                                              ; preds = %193, %199
  %220 = phi i32 [ %194, %193 ], [ %.pre170, %199 ]
  %221 = phi i32 [ %195, %193 ], [ %.pre170, %199 ]
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %222 = sext i32 %221 to i64
  %223 = icmp slt i64 %indvars.iv.next165, %222
  br i1 %223, label %193, label %._crit_edge127, !llvm.loop !39

224:                                              ; preds = %._crit_edge129
  %225 = call i32 @_ZSt12setprecisioni(i32 noundef 6)
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %189, i32 %225)
          to label %227 unwind label %235

227:                                              ; preds = %224
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  %229 = load double, ptr %228, align 8, !tbaa !16
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %226, double noundef %229)
          to label %231 unwind label %235

231:                                              ; preds = %227
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %230, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %233 unwind label %235

233:                                              ; preds = %231
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 180000, ptr nonnull %4) #9
  br i1 %27, label %.loopexit91, label %.preheader90.preheader

.preheader90.preheader:                           ; preds = %233
  %234 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %26, i64 %24
  br label %.preheader90

235:                                              ; preds = %231, %227, %224, %._crit_edge129
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %237

237:                                              ; preds = %235, %164
  %.pn = phi { ptr, i32 } [ %236, %235 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %6) #9
  br label %238

238:                                              ; preds = %237, %126
  %.pn.pn = phi { ptr, i32 } [ %.pn, %237 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 180000, ptr nonnull %4) #9
  br label %242

.preheader90:                                     ; preds = %.preheader90.preheader, %.preheader90
  %239 = phi ptr [ %240, %.preheader90 ], [ %234, %.preheader90.preheader ]
  %240 = getelementptr inbounds i8, ptr %239, i64 -32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %240) #9
  %241 = icmp eq ptr %240, %26
  br i1 %241, label %.loopexit91, label %.preheader90

.loopexit91:                                      ; preds = %.preheader90, %233
  call void @llvm.stackrestore.p0(ptr %25)
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #9
  ret i32 0

242:                                              ; preds = %238, %53
  %.pn88 = phi { ptr, i32 } [ %54, %53 ], [ %.pn.pn, %238 ]
  br i1 %27, label %.loopexit, label %.preheader.preheader

.preheader.preheader:                             ; preds = %242
  %243 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %26, i64 %24
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %244 = phi ptr [ %245, %.preheader ], [ %243, %.preheader.preheader ]
  %245 = getelementptr inbounds i8, ptr %244, i64 -32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %245) #9
  %246 = icmp eq ptr %245, %26
  br i1 %246, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %242
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %3) #9
  call void @llvm.lifetime.end.p0(i64 1200, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #9
  resume { ptr, i32 } %.pn88
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

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

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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 #1

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #5

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPdiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6

; 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: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) local_unnamed_addr #8

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) local_unnamed_addr #8

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

; 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)) #6

; 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
declare void @llvm.stackrestore.p0(ptr) #5

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 = { "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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 nocallback nofree nosync nounwind willreturn }
attributes #6 = { 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 #7 = { mustprogress nofree nounwind willreturn memory(write) "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 #8 = { 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 #9 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !10, i64 0}
!18 = !{!19}
!19 = distinct !{!19, !20}
!20 = distinct !{!20, !"LVerDomain"}
!21 = !{!22}
!22 = distinct !{!22, !20}
!23 = !{!24}
!24 = distinct !{!24, !20}
!25 = !{!19, !22}
!26 = distinct !{!26, !14, !27, !28}
!27 = !{!"llvm.loop.isvectorized", i32 1}
!28 = !{!"llvm.loop.unroll.runtime.disable"}
!29 = distinct !{!29, !14, !27}
!30 = distinct !{!30, !14}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !14, !33}
!33 = !{!"llvm.loop.unswitch.partial.disable"}
!34 = !{!10, !10, i64 0}
!35 = distinct !{!35, !14}
!36 = distinct !{!36, !14}
!37 = distinct !{!37, !14}
!38 = distinct !{!38, !14, !33}
!39 = distinct !{!39, !14}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass