; LLVM IR from VastoLorde95/Competitive-Programming :: Codejam/2017/1B/C/C.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" }
%"struct.std::_Setprecision" = type { i32 }

@e = external dso_local global [110 x i64], align 16
@s = external dso_local global [110 x i64], align 16
@dis = external dso_local global [110 x [110 x i64]], align 16
@mtime = external dso_local global [110 x [110 x x86_fp80]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [93 x i8], align 1
@__PRETTY_FUNCTION__._Z5solvev = external hidden unnamed_addr constant [13 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca x86_fp80, align 16
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"struct.std::_Setprecision", align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  %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)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %23

23:                                               ; preds = %37, %0
  %24 = load i32, ptr %3, align 4, !tbaa !5
  %25 = load i32, ptr %1, align 4, !tbaa !5
  %26 = icmp sle i32 %24, %25
  br i1 %26, label %28, label %27

27:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %40

28:                                               ; preds = %23
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [110 x i64], ptr @e, i64 0, i64 %30
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %31)
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [110 x i64], ptr @s, i64 0, i64 %34
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(8) %35)
  br label %37

37:                                               ; preds = %28
  %38 = load i32, ptr %3, align 4, !tbaa !5
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %3, align 4, !tbaa !5
  br label %23, !llvm.loop !9

40:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %86, %40
  %42 = load i32, ptr %4, align 4, !tbaa !5
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = icmp sle i32 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %89

46:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %76, %46
  %48 = load i32, ptr %6, align 4, !tbaa !5
  %49 = load i32, ptr %1, align 4, !tbaa !5
  %50 = icmp sle i32 %48, %49
  br i1 %50, label %52, label %51

51:                                               ; preds = %47
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %79

52:                                               ; preds = %47
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %54
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [110 x i64], ptr %55, i64 0, i64 %57
  %59 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %58)
  %60 = load i32, ptr %4, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %61
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [110 x i64], ptr %62, i64 0, i64 %64
  %66 = load i64, ptr %65, align 8, !tbaa !11
  %67 = icmp eq i64 %66, -1
  br i1 %67, label %68, label %75

68:                                               ; preds = %52
  %69 = load i32, ptr %4, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %70
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [110 x i64], ptr %71, i64 0, i64 %73
  store i64 1099511627776, ptr %74, align 8, !tbaa !11
  br label %75

75:                                               ; preds = %68, %52
  br label %76

76:                                               ; preds = %75
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %6, align 4, !tbaa !5
  br label %47, !llvm.loop !13

79:                                               ; preds = %51
  %80 = load i32, ptr %4, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %81
  %83 = load i32, ptr %4, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [110 x i64], ptr %82, i64 0, i64 %84
  store i64 0, ptr %85, align 8, !tbaa !11
  br label %86

86:                                               ; preds = %79
  %87 = load i32, ptr %4, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %4, align 4, !tbaa !5
  br label %41, !llvm.loop !14

89:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %90

90:                                               ; preds = %145, %89
  %91 = load i32, ptr %7, align 4, !tbaa !5
  %92 = load i32, ptr %1, align 4, !tbaa !5
  %93 = icmp sle i32 %91, %92
  br i1 %93, label %95, label %94

94:                                               ; preds = %90
  store i32 11, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %148

95:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %96

96:                                               ; preds = %141, %95
  %97 = load i32, ptr %8, align 4, !tbaa !5
  %98 = load i32, ptr %1, align 4, !tbaa !5
  %99 = icmp sle i32 %97, %98
  br i1 %99, label %101, label %100

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

101:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %137, %101
  %103 = load i32, ptr %9, align 4, !tbaa !5
  %104 = load i32, ptr %1, align 4, !tbaa !5
  %105 = icmp sle i32 %103, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %102
  store i32 17, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %140

107:                                              ; preds = %102
  %108 = load i32, ptr %8, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %109
  %111 = load i32, ptr %9, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [110 x i64], ptr %110, i64 0, i64 %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %114 = load i32, ptr %8, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %115
  %117 = load i32, ptr %7, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [110 x i64], ptr %116, i64 0, i64 %118
  %120 = load i64, ptr %119, align 8, !tbaa !11
  %121 = load i32, ptr %7, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %122
  %124 = load i32, ptr %9, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [110 x i64], ptr %123, i64 0, i64 %125
  %127 = load i64, ptr %126, align 8, !tbaa !11
  %128 = add nsw i64 %120, %127
  store i64 %128, ptr %10, align 8, !tbaa !11
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %113, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %130 = load i64, ptr %129, align 8, !tbaa !11
  %131 = load i32, ptr %8, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %132
  %134 = load i32, ptr %9, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [110 x i64], ptr %133, i64 0, i64 %135
  store i64 %130, ptr %136, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %137

137:                                              ; preds = %107
  %138 = load i32, ptr %9, align 4, !tbaa !5
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %9, align 4, !tbaa !5
  br label %102, !llvm.loop !15

140:                                              ; preds = %106
  br label %141

141:                                              ; preds = %140
  %142 = load i32, ptr %8, align 4, !tbaa !5
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %8, align 4, !tbaa !5
  br label %96, !llvm.loop !16

144:                                              ; preds = %100
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %7, align 4, !tbaa !5
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %7, align 4, !tbaa !5
  br label %90, !llvm.loop !17

148:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %149

149:                                              ; preds = %212, %148
  %150 = load i32, ptr %11, align 4, !tbaa !5
  %151 = load i32, ptr %1, align 4, !tbaa !5
  %152 = icmp sle i32 %150, %151
  br i1 %152, label %154, label %153

153:                                              ; preds = %149
  store i32 20, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %215

154:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %155

155:                                              ; preds = %202, %154
  %156 = load i32, ptr %12, align 4, !tbaa !5
  %157 = load i32, ptr %1, align 4, !tbaa !5
  %158 = icmp sle i32 %156, %157
  br i1 %158, label %160, label %159

159:                                              ; preds = %155
  store i32 23, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %205

160:                                              ; preds = %155
  %161 = load i32, ptr %11, align 4, !tbaa !5
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %162
  %164 = load i32, ptr %12, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [110 x i64], ptr %163, i64 0, i64 %165
  %167 = load i64, ptr %166, align 8, !tbaa !11
  %168 = load i32, ptr %11, align 4, !tbaa !5
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [110 x i64], ptr @e, i64 0, i64 %169
  %171 = load i64, ptr %170, align 8, !tbaa !11
  %172 = icmp sle i64 %167, %171
  br i1 %172, label %173, label %194

173:                                              ; preds = %160
  %174 = load i32, ptr %11, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %175
  %177 = load i32, ptr %12, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [110 x i64], ptr %176, i64 0, i64 %178
  %180 = load i64, ptr %179, align 8, !tbaa !11
  %181 = sitofp i64 %180 to x86_fp80
  %182 = load i32, ptr %11, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [110 x i64], ptr @s, i64 0, i64 %183
  %185 = load i64, ptr %184, align 8, !tbaa !11
  %186 = sitofp i64 %185 to x86_fp80
  %187 = fdiv x86_fp80 %181, %186
  %188 = load i32, ptr %11, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %189
  %191 = load i32, ptr %12, align 4, !tbaa !5
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [110 x x86_fp80], ptr %190, i64 0, i64 %192
  store x86_fp80 %187, ptr %193, align 16, !tbaa !18
  br label %201

194:                                              ; preds = %160
  %195 = load i32, ptr %11, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %196
  %198 = load i32, ptr %12, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [110 x x86_fp80], ptr %197, i64 0, i64 %199
  store x86_fp80 0xK40278000000000000000, ptr %200, align 16, !tbaa !18
  br label %201

201:                                              ; preds = %194, %173
  br label %202

202:                                              ; preds = %201
  %203 = load i32, ptr %12, align 4, !tbaa !5
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %12, align 4, !tbaa !5
  br label %155, !llvm.loop !20

205:                                              ; preds = %159
  %206 = load i32, ptr %11, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %207
  %209 = load i32, ptr %11, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [110 x x86_fp80], ptr %208, i64 0, i64 %210
  store x86_fp80 0xK00000000000000000000, ptr %211, align 16, !tbaa !18
  br label %212

212:                                              ; preds = %205
  %213 = load i32, ptr %11, align 4, !tbaa !5
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %11, align 4, !tbaa !5
  br label %149, !llvm.loop !21

215:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 1, ptr %13, align 4, !tbaa !5
  br label %216

216:                                              ; preds = %271, %215
  %217 = load i32, ptr %13, align 4, !tbaa !5
  %218 = load i32, ptr %1, align 4, !tbaa !5
  %219 = icmp sle i32 %217, %218
  br i1 %219, label %221, label %220

220:                                              ; preds = %216
  store i32 26, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %274

221:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 1, ptr %14, align 4, !tbaa !5
  br label %222

222:                                              ; preds = %267, %221
  %223 = load i32, ptr %14, align 4, !tbaa !5
  %224 = load i32, ptr %1, align 4, !tbaa !5
  %225 = icmp sle i32 %223, %224
  br i1 %225, label %227, label %226

226:                                              ; preds = %222
  store i32 29, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %270

227:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 1, ptr %15, align 4, !tbaa !5
  br label %228

228:                                              ; preds = %263, %227
  %229 = load i32, ptr %15, align 4, !tbaa !5
  %230 = load i32, ptr %1, align 4, !tbaa !5
  %231 = icmp sle i32 %229, %230
  br i1 %231, label %233, label %232

232:                                              ; preds = %228
  store i32 32, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %266

233:                                              ; preds = %228
  %234 = load i32, ptr %14, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %235
  %237 = load i32, ptr %15, align 4, !tbaa !5
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [110 x x86_fp80], ptr %236, i64 0, i64 %238
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  %240 = load i32, ptr %14, align 4, !tbaa !5
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %241
  %243 = load i32, ptr %13, align 4, !tbaa !5
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [110 x x86_fp80], ptr %242, i64 0, i64 %244
  %246 = load x86_fp80, ptr %245, align 16, !tbaa !18
  %247 = load i32, ptr %13, align 4, !tbaa !5
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %248
  %250 = load i32, ptr %15, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds [110 x x86_fp80], ptr %249, i64 0, i64 %251
  %253 = load x86_fp80, ptr %252, align 16, !tbaa !18
  %254 = fadd x86_fp80 %246, %253
  store x86_fp80 %254, ptr %16, align 16, !tbaa !18
  %255 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3minIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %239, ptr noundef nonnull align 16 dereferenceable(16) %16)
  %256 = load x86_fp80, ptr %255, align 16, !tbaa !18
  %257 = load i32, ptr %14, align 4, !tbaa !5
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %258
  %260 = load i32, ptr %15, align 4, !tbaa !5
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds [110 x x86_fp80], ptr %259, i64 0, i64 %261
  store x86_fp80 %256, ptr %262, align 16, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  br label %263

263:                                              ; preds = %233
  %264 = load i32, ptr %15, align 4, !tbaa !5
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr %15, align 4, !tbaa !5
  br label %228, !llvm.loop !22

266:                                              ; preds = %232
  br label %267

267:                                              ; preds = %266
  %268 = load i32, ptr %14, align 4, !tbaa !5
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %14, align 4, !tbaa !5
  br label %222, !llvm.loop !23

270:                                              ; preds = %226
  br label %271

271:                                              ; preds = %270
  %272 = load i32, ptr %13, align 4, !tbaa !5
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr %13, align 4, !tbaa !5
  br label %216, !llvm.loop !24

274:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %275

275:                                              ; preds = %310, %274
  %276 = load i32, ptr %17, align 4, !tbaa !5
  %277 = load i32, ptr %2, align 4, !tbaa !5
  %278 = icmp slt i32 %276, %277
  br i1 %278, label %280, label %279

279:                                              ; preds = %275
  store i32 35, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %313

280:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %281 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %282 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %281, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %283 = load i32, ptr %18, align 4, !tbaa !5
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %284
  %286 = load i32, ptr %19, align 4, !tbaa !5
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds [110 x x86_fp80], ptr %285, i64 0, i64 %287
  %289 = load x86_fp80, ptr %288, align 16, !tbaa !18
  %290 = fcmp olt x86_fp80 %289, 0xK40278000000000000000
  br i1 %290, label %291, label %292

291:                                              ; preds = %280
  br label %294

292:                                              ; preds = %280
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 95, ptr noundef @__PRETTY_FUNCTION__._Z5solvev) #7
  unreachable

293:                                              ; No predecessors!
  br label %294

294:                                              ; preds = %293, %291
  %295 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt5fixedRSt8ios_base)
  %296 = call i32 @_ZSt12setprecisioni(i32 noundef 12)
  %297 = getelementptr inbounds %"struct.std::_Setprecision", ptr %20, i32 0, i32 0
  store i32 %296, ptr %297, align 4
  %298 = getelementptr inbounds %"struct.std::_Setprecision", ptr %20, i32 0, i32 0
  %299 = load i32, ptr %298, align 4
  %300 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %295, i32 %299)
  %301 = load i32, ptr %18, align 4, !tbaa !5
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %302
  %304 = load i32, ptr %19, align 4, !tbaa !5
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds [110 x x86_fp80], ptr %303, i64 0, i64 %305
  %307 = load x86_fp80, ptr %306, align 16, !tbaa !18
  %308 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %300, x86_fp80 noundef %307)
  %309 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %308, i8 noundef signext 32)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %310

310:                                              ; preds = %294
  %311 = load i32, ptr %17, align 4, !tbaa !5
  %312 = add nsw i32 %311, 1
  store i32 %312, ptr %17, align 4, !tbaa !5
  br label %275, !llvm.loop !25

313:                                              ; preds = %279
  %314 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret void
}

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #0 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #5

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 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)) #5

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8), x86_fp80 noundef) #0 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) #0 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)) #5

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 = { "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 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 #4 = { noreturn 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = !{!19, !19, i64 0}
!19 = !{!"long double", !7, i64 0}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@e = external dso_local global [110 x i64], align 16
@s = external dso_local global [110 x i64], align 16
@dis = external dso_local global [110 x [110 x i64]], align 16
@mtime = external dso_local global [110 x [110 x x86_fp80]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [93 x i8], align 1
@__PRETTY_FUNCTION__._Z5solvev = external hidden unnamed_addr constant [13 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca x86_fp80, align 16
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %8 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %9 = load i32, ptr %1, align 4, !tbaa !5
  %.not95 = icmp slt i32 %9, 1
  br i1 %.not95, label %.preheader, label %.lr.ph

.preheader94:                                     ; preds = %.lr.ph
  %.not74100 = icmp slt i32 %14, 1
  br i1 %.not74100, label %.preheader, label %.preheader93

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %10 = getelementptr inbounds [110 x i64], ptr @e, i64 0, i64 %indvars.iv
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %12 = getelementptr inbounds [110 x i64], ptr @s, i64 0, i64 %indvars.iv
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %14 = load i32, ptr %1, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %.not.not = icmp slt i64 %indvars.iv, %15
  br i1 %.not.not, label %.lr.ph, label %.preheader94, !llvm.loop !9

.preheader93:                                     ; preds = %.preheader94, %._crit_edge
  %16 = phi i32 [ %17, %._crit_edge ], [ %14, %.preheader94 ]
  %indvars.iv139 = phi i64 [ %indvars.iv.next140, %._crit_edge ], [ 1, %.preheader94 ]
  %.not8497 = icmp slt i32 %16, 1
  br i1 %.not8497, label %.preheader93.._crit_edge_crit_edge, label %.lr.ph99

.preheader93.._crit_edge_crit_edge:               ; preds = %.preheader93
  %.pre175 = sext i32 %16 to i64
  br label %._crit_edge

.preheader92:                                     ; preds = %._crit_edge
  %.not75109 = icmp slt i32 %17, 1
  br i1 %.not75109, label %.preheader, label %.preheader91

._crit_edge:                                      ; preds = %24, %.preheader93.._crit_edge_crit_edge
  %.pre-phi176 = phi i64 [ %.pre175, %.preheader93.._crit_edge_crit_edge ], [ %26, %24 ]
  %17 = phi i32 [ %16, %.preheader93.._crit_edge_crit_edge ], [ %25, %24 ]
  %18 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %indvars.iv139, i64 %indvars.iv139
  store i64 0, ptr %18, align 8, !tbaa !11
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %.not74.not = icmp slt i64 %indvars.iv139, %.pre-phi176
  br i1 %.not74.not, label %.preheader93, label %.preheader92, !llvm.loop !13

.lr.ph99:                                         ; preds = %.preheader93, %24
  %indvars.iv136 = phi i64 [ %indvars.iv.next137, %24 ], [ 1, %.preheader93 ]
  %19 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %indvars.iv139, i64 %indvars.iv136
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %19)
  %21 = load i64, ptr %19, align 8, !tbaa !11
  %22 = icmp eq i64 %21, -1
  br i1 %22, label %23, label %24

23:                                               ; preds = %.lr.ph99
  store i64 1099511627776, ptr %19, align 8, !tbaa !11
  br label %24

24:                                               ; preds = %.lr.ph99, %23
  %indvars.iv.next137 = add nuw nsw i64 %indvars.iv136, 1
  %25 = load i32, ptr %1, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %.not84.not = icmp slt i64 %indvars.iv136, %26
  br i1 %.not84.not, label %.lr.ph99, label %._crit_edge, !llvm.loop !15

.preheader91:                                     ; preds = %.preheader92, %._crit_edge108
  %27 = phi i32 [ %34, %._crit_edge108 ], [ %17, %.preheader92 ]
  %indvars.iv151 = phi i64 [ %indvars.iv.next152, %._crit_edge108 ], [ 1, %.preheader92 ]
  %.not82106 = icmp slt i32 %27, 1
  br i1 %.not82106, label %._crit_edge108, label %.preheader90

.preheader89:                                     ; preds = %._crit_edge108
  %.not76115 = icmp slt i32 %34, 1
  br i1 %.not76115, label %.preheader, label %.preheader88.preheader

.preheader88.preheader:                           ; preds = %.preheader89
  %28 = add nuw i32 %34, 1
  %wide.trip.count162 = zext i32 %28 to i64
  %29 = zext nneg i32 %34 to i64
  %xtraiter = and i64 %29, 1
  %30 = icmp eq i32 %28, 2
  %unroll_iter = and i64 %29, 2147483646
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader88

.preheader90:                                     ; preds = %.preheader91, %._crit_edge105
  %31 = phi i32 [ %36, %._crit_edge105 ], [ %27, %.preheader91 ]
  %32 = phi i32 [ %37, %._crit_edge105 ], [ %27, %.preheader91 ]
  %indvars.iv148 = phi i64 [ %indvars.iv.next149, %._crit_edge105 ], [ 1, %.preheader91 ]
  %.not83102 = icmp slt i32 %32, 1
  br i1 %.not83102, label %.preheader90.._crit_edge105_crit_edge, label %.lr.ph104

.preheader90.._crit_edge105_crit_edge:            ; preds = %.preheader90
  %.pre173 = sext i32 %32 to i64
  br label %._crit_edge105

.lr.ph104:                                        ; preds = %.preheader90
  %33 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %indvars.iv148, i64 %indvars.iv151
  br label %38

._crit_edge108:                                   ; preds = %._crit_edge105, %.preheader91
  %34 = phi i32 [ %27, %.preheader91 ], [ %36, %._crit_edge105 ]
  %indvars.iv.next152 = add nuw nsw i64 %indvars.iv151, 1
  %35 = sext i32 %34 to i64
  %.not75.not = icmp slt i64 %indvars.iv151, %35
  br i1 %.not75.not, label %.preheader91, label %.preheader89, !llvm.loop !16

._crit_edge105:                                   ; preds = %38, %.preheader90.._crit_edge105_crit_edge
  %.pre-phi174 = phi i64 [ %.pre173, %.preheader90.._crit_edge105_crit_edge ], [ %47, %38 ]
  %36 = phi i32 [ %31, %.preheader90.._crit_edge105_crit_edge ], [ %46, %38 ]
  %37 = phi i32 [ %32, %.preheader90.._crit_edge105_crit_edge ], [ %46, %38 ]
  %indvars.iv.next149 = add nuw nsw i64 %indvars.iv148, 1
  %.not82.not = icmp slt i64 %indvars.iv148, %.pre-phi174
  br i1 %.not82.not, label %.preheader90, label %._crit_edge108, !llvm.loop !17

38:                                               ; preds = %.lr.ph104, %38
  %indvars.iv145 = phi i64 [ 1, %.lr.ph104 ], [ %indvars.iv.next146, %38 ]
  %39 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %indvars.iv148, i64 %indvars.iv145
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %40 = load i64, ptr %33, align 8, !tbaa !11
  %41 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %indvars.iv151, i64 %indvars.iv145
  %42 = load i64, ptr %41, align 8, !tbaa !11
  %43 = add nsw i64 %42, %40
  store i64 %43, ptr %3, align 8, !tbaa !11
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %45 = load i64, ptr %44, align 8, !tbaa !11
  store i64 %45, ptr %39, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  %indvars.iv.next146 = add nuw nsw i64 %indvars.iv145, 1
  %46 = load i32, ptr %1, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %.not83.not = icmp slt i64 %indvars.iv145, %47
  br i1 %.not83.not, label %38, label %._crit_edge105, !llvm.loop !18

.preheader88:                                     ; preds = %.preheader88.preheader, %._crit_edge114
  %indvars.iv159 = phi i64 [ 1, %.preheader88.preheader ], [ %indvars.iv.next160, %._crit_edge114 ]
  %48 = getelementptr inbounds [110 x i64], ptr @e, i64 0, i64 %indvars.iv159
  %49 = load i64, ptr %48, align 8, !tbaa !11
  %50 = getelementptr inbounds [110 x i64], ptr @s, i64 0, i64 %indvars.iv159
  br i1 %30, label %._crit_edge114.unr-lcssa, label %.preheader88.new

._crit_edge114.unr-lcssa:                         ; preds = %76, %.preheader88
  %indvars.iv154.unr = phi i64 [ 1, %.preheader88 ], [ %indvars.iv.next155.1, %76 ]
  br i1 %lcmp.mod.not, label %._crit_edge114, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge114.unr-lcssa
  %51 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %indvars.iv159, i64 %indvars.iv154.unr
  %52 = load i64, ptr %51, align 8, !tbaa !11
  %.not81.epil = icmp sgt i64 %52, %49
  br i1 %.not81.epil, label %._crit_edge114.epilog-lcssa, label %53

53:                                               ; preds = %.epil.preheader
  %54 = sitofp i64 %52 to x86_fp80
  %55 = load i64, ptr %50, align 8, !tbaa !11
  %56 = sitofp i64 %55 to x86_fp80
  %57 = fdiv x86_fp80 %54, %56
  br label %._crit_edge114.epilog-lcssa

._crit_edge114.epilog-lcssa:                      ; preds = %53, %.epil.preheader
  %.sink.epil = phi x86_fp80 [ %57, %53 ], [ 0xK40278000000000000000, %.epil.preheader ]
  %58 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %indvars.iv159, i64 %indvars.iv154.unr
  store x86_fp80 %.sink.epil, ptr %58, align 16
  br label %._crit_edge114

._crit_edge114:                                   ; preds = %._crit_edge114.unr-lcssa, %._crit_edge114.epilog-lcssa
  %59 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %indvars.iv159, i64 %indvars.iv159
  store x86_fp80 0xK00000000000000000000, ptr %59, align 16, !tbaa !19
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %exitcond163.not = icmp eq i64 %indvars.iv.next160, %wide.trip.count162
  br i1 %exitcond163.not, label %.preheader86, label %.preheader88, !llvm.loop !21

.preheader88.new:                                 ; preds = %.preheader88, %76
  %indvars.iv154 = phi i64 [ %indvars.iv.next155.1, %76 ], [ 1, %.preheader88 ]
  %niter = phi i64 [ %niter.next.1, %76 ], [ 0, %.preheader88 ]
  %60 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %indvars.iv159, i64 %indvars.iv154
  %61 = load i64, ptr %60, align 8, !tbaa !11
  %.not81 = icmp sgt i64 %61, %49
  br i1 %.not81, label %67, label %62

62:                                               ; preds = %.preheader88.new
  %63 = sitofp i64 %61 to x86_fp80
  %64 = load i64, ptr %50, align 8, !tbaa !11
  %65 = sitofp i64 %64 to x86_fp80
  %66 = fdiv x86_fp80 %63, %65
  br label %67

67:                                               ; preds = %.preheader88.new, %62
  %.sink = phi x86_fp80 [ %66, %62 ], [ 0xK40278000000000000000, %.preheader88.new ]
  %68 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %indvars.iv159, i64 %indvars.iv154
  store x86_fp80 %.sink, ptr %68, align 16
  %indvars.iv.next155 = add nuw nsw i64 %indvars.iv154, 1
  %69 = getelementptr inbounds [110 x [110 x i64]], ptr @dis, i64 0, i64 %indvars.iv159, i64 %indvars.iv.next155
  %70 = load i64, ptr %69, align 8, !tbaa !11
  %.not81.1 = icmp sgt i64 %70, %49
  br i1 %.not81.1, label %76, label %71

71:                                               ; preds = %67
  %72 = sitofp i64 %70 to x86_fp80
  %73 = load i64, ptr %50, align 8, !tbaa !11
  %74 = sitofp i64 %73 to x86_fp80
  %75 = fdiv x86_fp80 %72, %74
  br label %76

76:                                               ; preds = %71, %67
  %.sink.1 = phi x86_fp80 [ %75, %71 ], [ 0xK40278000000000000000, %67 ]
  %77 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %indvars.iv159, i64 %indvars.iv.next155
  store x86_fp80 %.sink.1, ptr %77, align 16
  %indvars.iv.next155.1 = add nuw nsw i64 %indvars.iv154, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge114.unr-lcssa, label %.preheader88.new, !llvm.loop !22

.preheader86:                                     ; preds = %._crit_edge114, %._crit_edge123
  %78 = phi i32 [ %84, %._crit_edge123 ], [ %34, %._crit_edge114 ]
  %indvars.iv170 = phi i64 [ %indvars.iv.next171, %._crit_edge123 ], [ 1, %._crit_edge114 ]
  %.not78121 = icmp slt i32 %78, 1
  br i1 %.not78121, label %._crit_edge123, label %.preheader85

.preheader:                                       ; preds = %._crit_edge123, %0, %.preheader94, %.preheader92, %.preheader89
  %79 = load i32, ptr %2, align 4, !tbaa !5
  %80 = icmp sgt i32 %79, 0
  br i1 %80, label %.lr.ph127, label %._crit_edge128

.preheader85:                                     ; preds = %.preheader86, %._crit_edge120
  %81 = phi i32 [ %86, %._crit_edge120 ], [ %78, %.preheader86 ]
  %82 = phi i32 [ %87, %._crit_edge120 ], [ %78, %.preheader86 ]
  %indvars.iv167 = phi i64 [ %indvars.iv.next168, %._crit_edge120 ], [ 1, %.preheader86 ]
  %.not79117 = icmp slt i32 %82, 1
  br i1 %.not79117, label %.preheader85.._crit_edge120_crit_edge, label %.lr.ph119

.preheader85.._crit_edge120_crit_edge:            ; preds = %.preheader85
  %.pre = sext i32 %82 to i64
  br label %._crit_edge120

.lr.ph119:                                        ; preds = %.preheader85
  %83 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %indvars.iv167, i64 %indvars.iv170
  br label %88

._crit_edge123:                                   ; preds = %._crit_edge120, %.preheader86
  %84 = phi i32 [ %78, %.preheader86 ], [ %86, %._crit_edge120 ]
  %indvars.iv.next171 = add nuw nsw i64 %indvars.iv170, 1
  %85 = sext i32 %84 to i64
  %.not77.not = icmp slt i64 %indvars.iv170, %85
  br i1 %.not77.not, label %.preheader86, label %.preheader, !llvm.loop !23

._crit_edge120:                                   ; preds = %88, %.preheader85.._crit_edge120_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.preheader85.._crit_edge120_crit_edge ], [ %97, %88 ]
  %86 = phi i32 [ %81, %.preheader85.._crit_edge120_crit_edge ], [ %96, %88 ]
  %87 = phi i32 [ %82, %.preheader85.._crit_edge120_crit_edge ], [ %96, %88 ]
  %indvars.iv.next168 = add nuw nsw i64 %indvars.iv167, 1
  %.not78.not = icmp slt i64 %indvars.iv167, %.pre-phi
  br i1 %.not78.not, label %.preheader85, label %._crit_edge123, !llvm.loop !24

88:                                               ; preds = %.lr.ph119, %88
  %indvars.iv164 = phi i64 [ 1, %.lr.ph119 ], [ %indvars.iv.next165, %88 ]
  %89 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %indvars.iv167, i64 %indvars.iv164
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %90 = load x86_fp80, ptr %83, align 16, !tbaa !19
  %91 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %indvars.iv170, i64 %indvars.iv164
  %92 = load x86_fp80, ptr %91, align 16, !tbaa !19
  %93 = fadd x86_fp80 %90, %92
  store x86_fp80 %93, ptr %4, align 16, !tbaa !19
  %94 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3minIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %89, ptr noundef nonnull align 16 dereferenceable(16) %4)
  %95 = load x86_fp80, ptr %94, align 16, !tbaa !19
  store x86_fp80 %95, ptr %89, align 16, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %96 = load i32, ptr %1, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %.not79.not = icmp slt i64 %indvars.iv164, %97
  br i1 %.not79.not, label %88, label %._crit_edge120, !llvm.loop !25

._crit_edge128:                                   ; preds = %109, %.preheader
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret void

.lr.ph127:                                        ; preds = %.preheader, %109
  %.062126 = phi i32 [ %121, %109 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %100 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %99, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %101 = load i32, ptr %5, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = load i32, ptr %6, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %102, i64 %104
  %106 = load x86_fp80, ptr %105, align 16, !tbaa !19
  %107 = fcmp olt x86_fp80 %106, 0xK40278000000000000000
  br i1 %107, label %109, label %108

108:                                              ; preds = %.lr.ph127
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 95, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5solvev) #7
  unreachable

109:                                              ; preds = %.lr.ph127
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
  %111 = call i32 @_ZSt12setprecisioni(i32 noundef 12)
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %110, i32 %111)
  %113 = load i32, ptr %5, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = load i32, ptr %6, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [110 x [110 x x86_fp80]], ptr @mtime, i64 0, i64 %114, i64 %116
  %118 = load x86_fp80, ptr %117, align 16, !tbaa !19
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8) %112, x86_fp80 noundef %118)
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %119, i8 noundef signext 32)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  %121 = add nuw nsw i32 %.062126, 1
  %122 = load i32, ptr %2, align 4, !tbaa !5
  %123 = icmp slt i32 %121, %122
  br i1 %123, label %.lr.ph127, label %._crit_edge128, !llvm.loop !26
}

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEe(ptr noundef nonnull align 8 dereferenceable(8), x86_fp80 noundef) local_unnamed_addr #0 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 #0 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)) #5

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 = { "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 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 #4 = { noreturn 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = distinct !{!13, !10, !14}
!14 = !{!"llvm.loop.unswitch.partial.disable"}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10, !14}
!17 = distinct !{!17, !10, !14}
!18 = distinct !{!18, !10}
!19 = !{!20, !20, i64 0}
!20 = !{!"long double", !7, i64 0}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10, !14}
!24 = distinct !{!24, !10, !14}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}


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