; LLVM IR from kazunetakahashi/atcoder :: 201510_201609/1205_code_thanks_2015 (H2)

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

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

@table = external dso_local global [360 x [360 x i32]], align 16
@imossum = external dso_local global [360 x [360 x i32]], align 16
@imoscnt = external dso_local global [10 x [360 x [360 x i64]]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z8calc_sumiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z8calc_cntiiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i64, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %33 = 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)
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %75, %0
  %37 = load i32, ptr %5, align 4, !tbaa !5
  %38 = load i32, ptr %2, align 4, !tbaa !5
  %39 = icmp slt i32 %37, %38
  br i1 %39, label %41, label %40

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

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  %42 = 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) %7)
          to label %43 unwind label %49

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

44:                                               ; preds = %67, %43
  %45 = load i32, ptr %10, align 4, !tbaa !5
  %46 = load i32, ptr %3, align 4, !tbaa !5
  %47 = icmp slt i32 %45, %46
  br i1 %47, label %53, label %48

48:                                               ; preds = %44
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %74

49:                                               ; preds = %41
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %8, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %9, align 4
  br label %78

53:                                               ; preds = %44
  %54 = load i32, ptr %10, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %55)
          to label %57 unwind label %70

57:                                               ; preds = %53
  %58 = load i8, ptr %56, align 1, !tbaa !9
  %59 = sext i8 %58 to i32
  %60 = sub nsw i32 %59, 48
  %61 = load i32, ptr %5, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [360 x [360 x i32]], ptr @table, i64 0, i64 %62
  %64 = load i32, ptr %10, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [360 x i32], ptr %63, i64 0, i64 %65
  store i32 %60, ptr %66, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %57
  %68 = load i32, ptr %10, align 4, !tbaa !5
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %10, align 4, !tbaa !5
  br label %44, !llvm.loop !10

70:                                               ; preds = %53
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %8, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %78

74:                                               ; preds = %48
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %5, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %5, align 4, !tbaa !5
  br label %36, !llvm.loop !12

78:                                               ; preds = %70, %49
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %426

79:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef @imossum, ptr noundef getelementptr inbounds (i32, ptr @imossum, i64 129600), ptr noundef nonnull align 4 dereferenceable(4) %11)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef @imoscnt, ptr noundef getelementptr inbounds (i64, ptr @imoscnt, i64 129600), ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %109, %79
  %81 = load i32, ptr %13, align 4, !tbaa !5
  %82 = load i32, ptr %2, align 4, !tbaa !5
  %83 = icmp slt i32 %81, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %80
  store i32 8, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %112

85:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %105, %85
  %87 = load i32, ptr %14, align 4, !tbaa !5
  %88 = load i32, ptr %3, align 4, !tbaa !5
  %89 = icmp slt i32 %87, %88
  br i1 %89, label %91, label %90

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

91:                                               ; preds = %86
  %92 = load i32, ptr %13, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [360 x [360 x i32]], ptr @table, i64 0, i64 %93
  %95 = load i32, ptr %14, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [360 x i32], ptr %94, i64 0, i64 %96
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = load i32, ptr %13, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %100
  %102 = load i32, ptr %14, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [360 x i32], ptr %101, i64 0, i64 %103
  store i32 %98, ptr %104, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %91
  %106 = load i32, ptr %14, align 4, !tbaa !5
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %14, align 4, !tbaa !5
  br label %86, !llvm.loop !13

108:                                              ; preds = %90
  br label %109

109:                                              ; preds = %108
  %110 = load i32, ptr %13, align 4, !tbaa !5
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %13, align 4, !tbaa !5
  br label %80, !llvm.loop !14

112:                                              ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %113

113:                                              ; preds = %146, %112
  %114 = load i32, ptr %15, align 4, !tbaa !5
  %115 = load i32, ptr %2, align 4, !tbaa !5
  %116 = sub nsw i32 %115, 1
  %117 = icmp slt i32 %114, %116
  br i1 %117, label %119, label %118

118:                                              ; preds = %113
  store i32 14, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %149

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

120:                                              ; preds = %142, %119
  %121 = load i32, ptr %16, align 4, !tbaa !5
  %122 = load i32, ptr %3, align 4, !tbaa !5
  %123 = icmp slt i32 %121, %122
  br i1 %123, label %125, label %124

124:                                              ; preds = %120
  store i32 17, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %145

125:                                              ; preds = %120
  %126 = load i32, ptr %15, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %127
  %129 = load i32, ptr %16, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [360 x i32], ptr %128, i64 0, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = load i32, ptr %15, align 4, !tbaa !5
  %134 = add nsw i32 %133, 1
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %135
  %137 = load i32, ptr %16, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [360 x i32], ptr %136, i64 0, i64 %138
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %141 = add nsw i32 %140, %132
  store i32 %141, ptr %139, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %125
  %143 = load i32, ptr %16, align 4, !tbaa !5
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %16, align 4, !tbaa !5
  br label %120, !llvm.loop !15

145:                                              ; preds = %124
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %15, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %15, align 4, !tbaa !5
  br label %113, !llvm.loop !16

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

150:                                              ; preds = %183, %149
  %151 = load i32, ptr %17, align 4, !tbaa !5
  %152 = load i32, ptr %2, align 4, !tbaa !5
  %153 = icmp slt i32 %151, %152
  br i1 %153, label %155, label %154

154:                                              ; preds = %150
  store i32 20, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %186

155:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %156

156:                                              ; preds = %179, %155
  %157 = load i32, ptr %18, align 4, !tbaa !5
  %158 = load i32, ptr %3, align 4, !tbaa !5
  %159 = sub nsw i32 %158, 1
  %160 = icmp slt i32 %157, %159
  br i1 %160, label %162, label %161

161:                                              ; preds = %156
  store i32 23, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %182

162:                                              ; preds = %156
  %163 = load i32, ptr %17, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %164
  %166 = load i32, ptr %18, align 4, !tbaa !5
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [360 x i32], ptr %165, i64 0, i64 %167
  %169 = load i32, ptr %168, align 4, !tbaa !5
  %170 = load i32, ptr %17, align 4, !tbaa !5
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %171
  %173 = load i32, ptr %18, align 4, !tbaa !5
  %174 = add nsw i32 %173, 1
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [360 x i32], ptr %172, i64 0, i64 %175
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = add nsw i32 %177, %169
  store i32 %178, ptr %176, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %162
  %180 = load i32, ptr %18, align 4, !tbaa !5
  %181 = add nsw i32 %180, 1
  store i32 %181, ptr %18, align 4, !tbaa !5
  br label %156, !llvm.loop !17

182:                                              ; preds = %161
  br label %183

183:                                              ; preds = %182
  %184 = load i32, ptr %17, align 4, !tbaa !5
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %17, align 4, !tbaa !5
  br label %150, !llvm.loop !18

186:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %187

187:                                              ; preds = %319, %186
  %188 = load i32, ptr %19, align 4, !tbaa !5
  %189 = icmp slt i32 %188, 10
  br i1 %189, label %191, label %190

190:                                              ; preds = %187
  store i32 26, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %322

191:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %192

192:                                              ; preds = %229, %191
  %193 = load i32, ptr %20, align 4, !tbaa !5
  %194 = load i32, ptr %2, align 4, !tbaa !5
  %195 = icmp slt i32 %193, %194
  br i1 %195, label %197, label %196

196:                                              ; preds = %192
  store i32 29, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %232

197:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %198

198:                                              ; preds = %225, %197
  %199 = load i32, ptr %21, align 4, !tbaa !5
  %200 = load i32, ptr %3, align 4, !tbaa !5
  %201 = icmp slt i32 %199, %200
  br i1 %201, label %203, label %202

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

203:                                              ; preds = %198
  %204 = load i32, ptr %20, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [360 x [360 x i32]], ptr @table, i64 0, i64 %205
  %207 = load i32, ptr %21, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [360 x i32], ptr %206, i64 0, i64 %208
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = load i32, ptr %19, align 4, !tbaa !5
  %212 = icmp eq i32 %210, %211
  %213 = zext i1 %212 to i64
  %214 = select i1 %212, i32 1, i32 0
  %215 = sext i32 %214 to i64
  %216 = load i32, ptr %19, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %217
  %219 = load i32, ptr %20, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [360 x [360 x i64]], ptr %218, i64 0, i64 %220
  %222 = load i32, ptr %21, align 4, !tbaa !5
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds [360 x i64], ptr %221, i64 0, i64 %223
  store i64 %215, ptr %224, align 8, !tbaa !19
  br label %225

225:                                              ; preds = %203
  %226 = load i32, ptr %21, align 4, !tbaa !5
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %21, align 4, !tbaa !5
  br label %198, !llvm.loop !21

228:                                              ; preds = %202
  br label %229

229:                                              ; preds = %228
  %230 = load i32, ptr %20, align 4, !tbaa !5
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %20, align 4, !tbaa !5
  br label %192, !llvm.loop !22

232:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %233

233:                                              ; preds = %272, %232
  %234 = load i32, ptr %22, align 4, !tbaa !5
  %235 = load i32, ptr %2, align 4, !tbaa !5
  %236 = sub nsw i32 %235, 1
  %237 = icmp slt i32 %234, %236
  br i1 %237, label %239, label %238

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

239:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %240

240:                                              ; preds = %268, %239
  %241 = load i32, ptr %23, align 4, !tbaa !5
  %242 = load i32, ptr %3, align 4, !tbaa !5
  %243 = icmp slt i32 %241, %242
  br i1 %243, label %245, label %244

244:                                              ; preds = %240
  store i32 38, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %271

245:                                              ; preds = %240
  %246 = load i32, ptr %19, align 4, !tbaa !5
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %247
  %249 = load i32, ptr %22, align 4, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [360 x [360 x i64]], ptr %248, i64 0, i64 %250
  %252 = load i32, ptr %23, align 4, !tbaa !5
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds [360 x i64], ptr %251, i64 0, i64 %253
  %255 = load i64, ptr %254, align 8, !tbaa !19
  %256 = load i32, ptr %19, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %257
  %259 = load i32, ptr %22, align 4, !tbaa !5
  %260 = add nsw i32 %259, 1
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds [360 x [360 x i64]], ptr %258, i64 0, i64 %261
  %263 = load i32, ptr %23, align 4, !tbaa !5
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds [360 x i64], ptr %262, i64 0, i64 %264
  %266 = load i64, ptr %265, align 8, !tbaa !19
  %267 = add nsw i64 %266, %255
  store i64 %267, ptr %265, align 8, !tbaa !19
  br label %268

268:                                              ; preds = %245
  %269 = load i32, ptr %23, align 4, !tbaa !5
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %23, align 4, !tbaa !5
  br label %240, !llvm.loop !23

271:                                              ; preds = %244
  br label %272

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

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

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

280:                                              ; preds = %276
  store i32 41, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %318

281:                                              ; preds = %276
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %282

282:                                              ; preds = %311, %281
  %283 = load i32, ptr %25, align 4, !tbaa !5
  %284 = load i32, ptr %3, align 4, !tbaa !5
  %285 = sub nsw i32 %284, 1
  %286 = icmp slt i32 %283, %285
  br i1 %286, label %288, label %287

287:                                              ; preds = %282
  store i32 44, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %314

288:                                              ; preds = %282
  %289 = load i32, ptr %19, align 4, !tbaa !5
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %290
  %292 = load i32, ptr %24, align 4, !tbaa !5
  %293 = sext i32 %292 to i64
  %294 = getelementptr inbounds [360 x [360 x i64]], ptr %291, i64 0, i64 %293
  %295 = load i32, ptr %25, align 4, !tbaa !5
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds [360 x i64], ptr %294, i64 0, i64 %296
  %298 = load i64, ptr %297, align 8, !tbaa !19
  %299 = load i32, ptr %19, align 4, !tbaa !5
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %300
  %302 = load i32, ptr %24, align 4, !tbaa !5
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds [360 x [360 x i64]], ptr %301, i64 0, i64 %303
  %305 = load i32, ptr %25, align 4, !tbaa !5
  %306 = add nsw i32 %305, 1
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds [360 x i64], ptr %304, i64 0, i64 %307
  %309 = load i64, ptr %308, align 8, !tbaa !19
  %310 = add nsw i64 %309, %298
  store i64 %310, ptr %308, align 8, !tbaa !19
  br label %311

311:                                              ; preds = %288
  %312 = load i32, ptr %25, align 4, !tbaa !5
  %313 = add nsw i32 %312, 1
  store i32 %313, ptr %25, align 4, !tbaa !5
  br label %282, !llvm.loop !25

314:                                              ; preds = %287
  br label %315

315:                                              ; preds = %314
  %316 = load i32, ptr %24, align 4, !tbaa !5
  %317 = add nsw i32 %316, 1
  store i32 %317, ptr %24, align 4, !tbaa !5
  br label %276, !llvm.loop !26

318:                                              ; preds = %280
  br label %319

319:                                              ; preds = %318
  %320 = load i32, ptr %19, align 4, !tbaa !5
  %321 = add nsw i32 %320, 1
  store i32 %321, ptr %19, align 4, !tbaa !5
  br label %187, !llvm.loop !27

322:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store i64 0, ptr %26, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %323

323:                                              ; preds = %418, %322
  %324 = load i32, ptr %27, align 4, !tbaa !5
  %325 = load i32, ptr %2, align 4, !tbaa !5
  %326 = sub nsw i32 %325, 2
  %327 = icmp slt i32 %324, %326
  br i1 %327, label %329, label %328

328:                                              ; preds = %323
  store i32 47, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %421

329:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  store i32 0, ptr %28, align 4, !tbaa !5
  br label %330

330:                                              ; preds = %414, %329
  %331 = load i32, ptr %28, align 4, !tbaa !5
  %332 = load i32, ptr %3, align 4, !tbaa !5
  %333 = sub nsw i32 %332, 2
  %334 = icmp slt i32 %331, %333
  br i1 %334, label %336, label %335

335:                                              ; preds = %330
  store i32 50, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %417

336:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %337 = load i32, ptr %28, align 4, !tbaa !5
  %338 = add nsw i32 %337, 2
  store i32 %338, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %339 = load i32, ptr %2, align 4, !tbaa !5
  %340 = sub nsw i32 %339, 1
  store i32 %340, ptr %30, align 4, !tbaa !5
  br label %341

341:                                              ; preds = %410, %336
  %342 = load i32, ptr %30, align 4, !tbaa !5
  %343 = load i32, ptr %27, align 4, !tbaa !5
  %344 = add nsw i32 %343, 2
  %345 = icmp sge i32 %342, %344
  br i1 %345, label %347, label %346

346:                                              ; preds = %341
  store i32 53, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br label %413

347:                                              ; preds = %341
  br label %348

348:                                              ; preds = %362, %347
  %349 = load i32, ptr %29, align 4, !tbaa !5
  %350 = load i32, ptr %3, align 4, !tbaa !5
  %351 = icmp slt i32 %349, %350
  br i1 %351, label %352, label %360

352:                                              ; preds = %348
  %353 = load i32, ptr %27, align 4, !tbaa !5
  %354 = load i32, ptr %28, align 4, !tbaa !5
  %355 = load i32, ptr %30, align 4, !tbaa !5
  %356 = load i32, ptr %29, align 4, !tbaa !5
  %357 = call noundef i32 @_Z8calc_sumiiii(i32 noundef %353, i32 noundef %354, i32 noundef %355, i32 noundef %356)
  %358 = load i32, ptr %4, align 4, !tbaa !5
  %359 = icmp sle i32 %357, %358
  br label %360

360:                                              ; preds = %352, %348
  %361 = phi i1 [ false, %348 ], [ %359, %352 ]
  br i1 %361, label %362, label %365

362:                                              ; preds = %360
  %363 = load i32, ptr %29, align 4, !tbaa !5
  %364 = add nsw i32 %363, 1
  store i32 %364, ptr %29, align 4, !tbaa !5
  br label %348, !llvm.loop !28

365:                                              ; preds = %360
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %366 = load i32, ptr %29, align 4, !tbaa !5
  store i32 %366, ptr %31, align 4, !tbaa !5
  br label %367

367:                                              ; preds = %405, %365
  %368 = load i32, ptr %31, align 4, !tbaa !5
  %369 = load i32, ptr %3, align 4, !tbaa !5
  %370 = icmp slt i32 %368, %369
  br i1 %370, label %372, label %371

371:                                              ; preds = %367
  store i32 58, ptr %6, align 4
  br label %408

372:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %373 = load i32, ptr %27, align 4, !tbaa !5
  %374 = load i32, ptr %28, align 4, !tbaa !5
  %375 = load i32, ptr %30, align 4, !tbaa !5
  %376 = load i32, ptr %31, align 4, !tbaa !5
  %377 = call noundef i32 @_Z8calc_sumiiii(i32 noundef %373, i32 noundef %374, i32 noundef %375, i32 noundef %376)
  %378 = sext i32 %377 to i64
  store i64 %378, ptr %32, align 8, !tbaa !19
  %379 = load i64, ptr %32, align 8, !tbaa !19
  %380 = load i32, ptr %4, align 4, !tbaa !5
  %381 = add nsw i32 %380, 10
  %382 = sext i32 %381 to i64
  %383 = icmp sge i64 %379, %382
  br i1 %383, label %384, label %385

384:                                              ; preds = %372
  store i32 58, ptr %6, align 4
  br label %402

385:                                              ; preds = %372
  %386 = load i64, ptr %32, align 8, !tbaa !19
  %387 = load i32, ptr %4, align 4, !tbaa !5
  %388 = sext i32 %387 to i64
  %389 = sub nsw i64 %386, %388
  %390 = trunc i64 %389 to i32
  %391 = load i32, ptr %27, align 4, !tbaa !5
  %392 = add nsw i32 %391, 1
  %393 = load i32, ptr %28, align 4, !tbaa !5
  %394 = add nsw i32 %393, 1
  %395 = load i32, ptr %30, align 4, !tbaa !5
  %396 = sub nsw i32 %395, 1
  %397 = load i32, ptr %31, align 4, !tbaa !5
  %398 = sub nsw i32 %397, 1
  %399 = call noundef i64 @_Z8calc_cntiiiii(i32 noundef %390, i32 noundef %392, i32 noundef %394, i32 noundef %396, i32 noundef %398)
  %400 = load i64, ptr %26, align 8, !tbaa !19
  %401 = add nsw i64 %400, %399
  store i64 %401, ptr %26, align 8, !tbaa !19
  store i32 0, ptr %6, align 4
  br label %402

402:                                              ; preds = %385, %384
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  %403 = load i32, ptr %6, align 4
  switch i32 %403, label %408 [
    i32 0, label %404
  ]

404:                                              ; preds = %402
  br label %405

405:                                              ; preds = %404
  %406 = load i32, ptr %31, align 4, !tbaa !5
  %407 = add nsw i32 %406, 1
  store i32 %407, ptr %31, align 4, !tbaa !5
  br label %367, !llvm.loop !29

408:                                              ; preds = %402, %371
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %409

409:                                              ; preds = %408
  br label %410

410:                                              ; preds = %409
  %411 = load i32, ptr %30, align 4, !tbaa !5
  %412 = add nsw i32 %411, -1
  store i32 %412, ptr %30, align 4, !tbaa !5
  br label %341, !llvm.loop !30

413:                                              ; preds = %346
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %414

414:                                              ; preds = %413
  %415 = load i32, ptr %28, align 4, !tbaa !5
  %416 = add nsw i32 %415, 1
  store i32 %416, ptr %28, align 4, !tbaa !5
  br label %330, !llvm.loop !31

417:                                              ; preds = %335
  br label %418

418:                                              ; preds = %417
  %419 = load i32, ptr %27, align 4, !tbaa !5
  %420 = add nsw i32 %419, 1
  store i32 %420, ptr %27, align 4, !tbaa !5
  br label %323, !llvm.loop !32

421:                                              ; preds = %328
  %422 = load i64, ptr %26, align 8, !tbaa !19
  %423 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %422)
  %424 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %423, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %425 = load i32, ptr %1, align 4
  ret i32 %425

426:                                              ; preds = %78
  %427 = load ptr, ptr %8, align 8
  %428 = load i32, ptr %9, align 4
  %429 = insertvalue { ptr, i32 } poison, ptr %427, 0
  %430 = insertvalue { ptr, i32 } %429, i32 %428, 1
  resume { ptr, i32 } %430
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

!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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
!17 = distinct !{!17, !11}
!18 = distinct !{!18, !11}
!19 = !{!20, !20, i64 0}
!20 = !{!"long long", !7, i64 0}
!21 = distinct !{!21, !11}
!22 = distinct !{!22, !11}
!23 = distinct !{!23, !11}
!24 = distinct !{!24, !11}
!25 = distinct !{!25, !11}
!26 = distinct !{!26, !11}
!27 = distinct !{!27, !11}
!28 = distinct !{!28, !11}
!29 = distinct !{!29, !11}
!30 = distinct !{!30, !11}
!31 = distinct !{!31, !11}
!32 = distinct !{!32, !11}


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

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

@table = external dso_local local_unnamed_addr global [360 x [360 x i32]], align 16
@imossum = external dso_local global [360 x [360 x i32]], align 16
@imoscnt = external dso_local global [10 x [360 x [360 x i64]]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z8calc_sumiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z8calc_cntiiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  %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 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %10 = load i32, ptr %1, align 4, !tbaa !5
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph140, label %._crit_edge141

._crit_edge141:                                   ; preds = %._crit_edge, %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  store i32 0, ptr %5, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull @imossum, ptr noundef nonnull getelementptr inbounds (i8, ptr @imossum, i64 518400), ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef nonnull @imoscnt, ptr noundef nonnull getelementptr inbounds (i8, ptr @imoscnt, i64 1036800), ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  %12 = load i32, ptr %1, align 4, !tbaa !5
  %13 = icmp slt i32 %12, 1
  %.pre274.pre.pre = load i32, ptr %2, align 4
  br i1 %13, label %.preheader131.thread285, label %.preheader134.lr.ph

.preheader131.thread285:                          ; preds = %._crit_edge141
  %14 = add i32 %12, -1
  br label %.preheader131..preheader129_crit_edge

.preheader134.lr.ph:                              ; preds = %._crit_edge141
  %15 = icmp sgt i32 %.pre274.pre.pre, 0
  br i1 %15, label %.preheader134.us.preheader, label %.preheader133

.preheader134.us.preheader:                       ; preds = %.preheader134.lr.ph
  %16 = zext nneg i32 %.pre274.pre.pre to i64
  %17 = shl nuw nsw i64 %16, 2
  %wide.trip.count = zext nneg i32 %12 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %18 = icmp ult i32 %12, 4
  br i1 %18, label %.preheader133.loopexit.unr-lcssa, label %.preheader134.us.preheader.new

.preheader134.us.preheader.new:                   ; preds = %.preheader134.us.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %.preheader134.us

.preheader134.us:                                 ; preds = %.preheader134.us, %.preheader134.us.preheader.new
  %indvar = phi i64 [ 0, %.preheader134.us.preheader.new ], [ %indvar.next.3, %.preheader134.us ]
  %niter = phi i64 [ 0, %.preheader134.us.preheader.new ], [ %niter.next.3, %.preheader134.us ]
  %19 = mul nuw nsw i64 %indvar, 1440
  %scevgep = getelementptr i8, ptr @imossum, i64 %19
  %scevgep215 = getelementptr i8, ptr @table, i64 %19
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %scevgep, ptr align 16 %scevgep215, i64 %17, i1 false), !tbaa !5
  %20 = mul nuw i64 %indvar, 1440
  %21 = add nuw i64 %20, 1440
  %scevgep.1 = getelementptr i8, ptr @imossum, i64 %21
  %scevgep215.1 = getelementptr i8, ptr @table, i64 %21
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %scevgep.1, ptr align 16 %scevgep215.1, i64 %17, i1 false), !tbaa !5
  %22 = mul nuw i64 %indvar, 1440
  %23 = add nuw i64 %22, 2880
  %scevgep.2 = getelementptr i8, ptr @imossum, i64 %23
  %scevgep215.2 = getelementptr i8, ptr @table, i64 %23
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %scevgep.2, ptr align 16 %scevgep215.2, i64 %17, i1 false), !tbaa !5
  %24 = mul nuw i64 %indvar, 1440
  %25 = add nuw i64 %24, 4320
  %scevgep.3 = getelementptr i8, ptr @imossum, i64 %25
  %scevgep215.3 = getelementptr i8, ptr @table, i64 %25
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %scevgep.3, ptr align 16 %scevgep215.3, i64 %17, i1 false), !tbaa !5
  %indvar.next.3 = add nuw nsw i64 %indvar, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader133.loopexit.unr-lcssa, label %.preheader134.us, !llvm.loop !9

.lr.ph140:                                        ; preds = %0, %._crit_edge
  %indvars.iv212 = phi i64 [ %indvars.iv.next213, %._crit_edge ], [ 0, %0 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  %26 = 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) %4)
          to label %.preheader135 unwind label %32

.preheader135:                                    ; preds = %.lr.ph140
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.preheader135
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  %indvars.iv.next213 = add nuw nsw i64 %indvars.iv212, 1
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = icmp slt i64 %indvars.iv.next213, %30
  br i1 %31, label %.lr.ph140, label %._crit_edge141, !llvm.loop !11

32:                                               ; preds = %.lr.ph140
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %33

.lr.ph:                                           ; preds = %.preheader135, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader135 ]
  %34 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef %indvars.iv)
  %35 = load i8, ptr %34, align 1, !tbaa !12
  %36 = sext i8 %35 to i32
  %37 = add nsw i32 %36, -48
  %38 = getelementptr inbounds [360 x [360 x i32]], ptr @table, i64 0, i64 %indvars.iv212, i64 %indvars.iv
  store i32 %37, ptr %38, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = icmp slt i64 %indvars.iv.next, %40
  br i1 %41, label %.lr.ph, label %._crit_edge, !llvm.loop !13

.preheader133.loopexit.unr-lcssa:                 ; preds = %.preheader134.us, %.preheader134.us.preheader
  %indvar.unr = phi i64 [ 0, %.preheader134.us.preheader ], [ %indvar.next.3, %.preheader134.us ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader133, label %.preheader134.us.epil

.preheader134.us.epil:                            ; preds = %.preheader133.loopexit.unr-lcssa, %.preheader134.us.epil
  %indvar.epil = phi i64 [ %indvar.next.epil, %.preheader134.us.epil ], [ %indvar.unr, %.preheader133.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.preheader134.us.epil ], [ 0, %.preheader133.loopexit.unr-lcssa ]
  %42 = mul nuw nsw i64 %indvar.epil, 1440
  %scevgep.epil = getelementptr i8, ptr @imossum, i64 %42
  %scevgep215.epil = getelementptr i8, ptr @table, i64 %42
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %scevgep.epil, ptr align 16 %scevgep215.epil, i64 %17, i1 false), !tbaa !5
  %indvar.next.epil = add nuw nsw i64 %indvar.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader133, label %.preheader134.us.epil, !llvm.loop !14

.preheader133:                                    ; preds = %.preheader133.loopexit.unr-lcssa, %.preheader134.us.epil, %.preheader134.lr.ph
  %43 = add nsw i32 %12, -1
  %44 = icmp ne i32 %12, 1
  br i1 %44, label %.preheader132.lr.ph, label %.preheader131

.preheader132.lr.ph:                              ; preds = %.preheader133
  %45 = icmp sgt i32 %.pre274.pre.pre, 0
  br i1 %45, label %.preheader132.us.preheader, label %.preheader130.lr.ph.thread

.preheader130.lr.ph.thread:                       ; preds = %.preheader132.lr.ph
  %46 = add i32 %.pre274.pre.pre, -1
  br label %.preheader129

.preheader132.us.preheader:                       ; preds = %.preheader132.lr.ph
  %wide.trip.count228 = zext nneg i32 %43 to i64
  %wide.trip.count223 = zext nneg i32 %.pre274.pre.pre to i64
  %min.iters.check = icmp ult i32 %.pre274.pre.pre, 4
  %n.vec = and i64 %wide.trip.count223, 2147483644
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count223
  br label %.preheader132.us

.preheader132.us:                                 ; preds = %.preheader132.us.preheader, %._crit_edge148.us
  %indvars.iv225 = phi i64 [ 0, %.preheader132.us.preheader ], [ %indvars.iv.next226, %._crit_edge148.us ]
  %indvars.iv.next226 = add nuw nsw i64 %indvars.iv225, 1
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %.preheader132.us, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader132.us ]
  %47 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv225, i64 %index
  %wide.load = load <4 x i32>, ptr %47, align 16, !tbaa !5
  %48 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv.next226, i64 %index
  %wide.load292 = load <4 x i32>, ptr %48, align 16, !tbaa !5
  %49 = add nsw <4 x i32> %wide.load292, %wide.load
  store <4 x i32> %49, ptr %48, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %50 = icmp eq i64 %index.next, %n.vec
  br i1 %50, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge148.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.preheader132.us
  %indvars.iv220.ph = phi i64 [ 0, %.preheader132.us ], [ %n.vec, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv220 = phi i64 [ %indvars.iv.next221, %scalar.ph ], [ %indvars.iv220.ph, %scalar.ph.preheader ]
  %51 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv225, i64 %indvars.iv220
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv.next226, i64 %indvars.iv220
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = add nsw i32 %54, %52
  store i32 %55, ptr %53, align 4, !tbaa !5
  %indvars.iv.next221 = add nuw nsw i64 %indvars.iv220, 1
  %exitcond224.not = icmp eq i64 %indvars.iv.next221, %wide.trip.count223
  br i1 %exitcond224.not, label %._crit_edge148.us, label %scalar.ph, !llvm.loop !19

._crit_edge148.us:                                ; preds = %scalar.ph, %middle.block
  %exitcond229.not = icmp eq i64 %indvars.iv.next226, %wide.trip.count228
  br i1 %exitcond229.not, label %.preheader131, label %.preheader132.us, !llvm.loop !20

.preheader131:                                    ; preds = %._crit_edge148.us, %.preheader133
  %56 = phi i1 [ false, %.preheader133 ], [ %44, %._crit_edge148.us ]
  br i1 %13, label %.preheader131..preheader129_crit_edge, label %.preheader130.lr.ph

.preheader131..preheader129_crit_edge:            ; preds = %.preheader131.thread285, %.preheader131
  %57 = phi i32 [ %14, %.preheader131.thread285 ], [ %43, %.preheader131 ]
  %58 = phi i1 [ false, %.preheader131.thread285 ], [ %56, %.preheader131 ]
  %.pre280 = add i32 %.pre274.pre.pre, -1
  br label %.preheader129

.preheader130.lr.ph:                              ; preds = %.preheader131
  %59 = add i32 %.pre274.pre.pre, -1
  %60 = icmp sgt i32 %.pre274.pre.pre, 1
  br i1 %60, label %.preheader130.us.preheader, label %.preheader129

.preheader130.us.preheader:                       ; preds = %.preheader130.lr.ph
  %wide.trip.count238 = zext nneg i32 %12 to i64
  %wide.trip.count233 = zext i32 %59 to i64
  %61 = add nsw i64 %wide.trip.count233, -1
  %xtraiter319 = and i64 %wide.trip.count233, 3
  %62 = icmp ult i64 %61, 3
  %unroll_iter322 = and i64 %wide.trip.count233, 4294967292
  %lcmp.mod321.not = icmp eq i64 %xtraiter319, 0
  br label %.preheader130.us

.preheader130.us:                                 ; preds = %.preheader130.us.preheader, %._crit_edge154.us
  %indvars.iv235 = phi i64 [ 0, %.preheader130.us.preheader ], [ %indvars.iv.next236, %._crit_edge154.us ]
  %.phi.trans.insert = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv235, i64 0
  %.pre = load i32, ptr %.phi.trans.insert, align 16, !tbaa !5
  br i1 %62, label %._crit_edge154.us.unr-lcssa, label %.preheader130.us.new

.preheader130.us.new:                             ; preds = %.preheader130.us, %.preheader130.us.new
  %63 = phi i32 [ %75, %.preheader130.us.new ], [ %.pre, %.preheader130.us ]
  %indvars.iv230 = phi i64 [ %indvars.iv.next231.3, %.preheader130.us.new ], [ 0, %.preheader130.us ]
  %niter323 = phi i64 [ %niter323.next.3, %.preheader130.us.new ], [ 0, %.preheader130.us ]
  %indvars.iv.next231 = or disjoint i64 %indvars.iv230, 1
  %64 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv235, i64 %indvars.iv.next231
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = add nsw i32 %65, %63
  store i32 %66, ptr %64, align 4, !tbaa !5
  %indvars.iv.next231.1 = or disjoint i64 %indvars.iv230, 2
  %67 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv235, i64 %indvars.iv.next231.1
  %68 = load i32, ptr %67, align 8, !tbaa !5
  %69 = add nsw i32 %68, %66
  store i32 %69, ptr %67, align 8, !tbaa !5
  %indvars.iv.next231.2 = or disjoint i64 %indvars.iv230, 3
  %70 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv235, i64 %indvars.iv.next231.2
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = add nsw i32 %71, %69
  store i32 %72, ptr %70, align 4, !tbaa !5
  %indvars.iv.next231.3 = add nuw nsw i64 %indvars.iv230, 4
  %73 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv235, i64 %indvars.iv.next231.3
  %74 = load i32, ptr %73, align 16, !tbaa !5
  %75 = add nsw i32 %74, %72
  store i32 %75, ptr %73, align 16, !tbaa !5
  %niter323.next.3 = add i64 %niter323, 4
  %niter323.ncmp.3 = icmp eq i64 %niter323.next.3, %unroll_iter322
  br i1 %niter323.ncmp.3, label %._crit_edge154.us.unr-lcssa, label %.preheader130.us.new, !llvm.loop !21

._crit_edge154.us.unr-lcssa:                      ; preds = %.preheader130.us.new, %.preheader130.us
  %.unr = phi i32 [ %.pre, %.preheader130.us ], [ %75, %.preheader130.us.new ]
  %indvars.iv230.unr = phi i64 [ 0, %.preheader130.us ], [ %indvars.iv.next231.3, %.preheader130.us.new ]
  br i1 %lcmp.mod321.not, label %._crit_edge154.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge154.us.unr-lcssa, %.epil.preheader
  %76 = phi i32 [ %79, %.epil.preheader ], [ %.unr, %._crit_edge154.us.unr-lcssa ]
  %indvars.iv230.epil = phi i64 [ %indvars.iv.next231.epil, %.epil.preheader ], [ %indvars.iv230.unr, %._crit_edge154.us.unr-lcssa ]
  %epil.iter320 = phi i64 [ %epil.iter320.next, %.epil.preheader ], [ 0, %._crit_edge154.us.unr-lcssa ]
  %indvars.iv.next231.epil = add nuw nsw i64 %indvars.iv230.epil, 1
  %77 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv235, i64 %indvars.iv.next231.epil
  %78 = load i32, ptr %77, align 4, !tbaa !5
  %79 = add nsw i32 %78, %76
  store i32 %79, ptr %77, align 4, !tbaa !5
  %epil.iter320.next = add i64 %epil.iter320, 1
  %epil.iter320.cmp.not = icmp eq i64 %epil.iter320.next, %xtraiter319
  br i1 %epil.iter320.cmp.not, label %._crit_edge154.us, label %.epil.preheader, !llvm.loop !22

._crit_edge154.us:                                ; preds = %.epil.preheader, %._crit_edge154.us.unr-lcssa
  %indvars.iv.next236 = add nuw nsw i64 %indvars.iv235, 1
  %exitcond239.not = icmp eq i64 %indvars.iv.next236, %wide.trip.count238
  br i1 %exitcond239.not, label %.preheader129, label %.preheader130.us, !llvm.loop !23

.preheader129:                                    ; preds = %._crit_edge154.us, %.preheader130.lr.ph, %.preheader130.lr.ph.thread, %.preheader131..preheader129_crit_edge
  %80 = phi i32 [ %57, %.preheader131..preheader129_crit_edge ], [ %43, %.preheader130.lr.ph.thread ], [ %43, %.preheader130.lr.ph ], [ %43, %._crit_edge154.us ]
  %81 = phi i1 [ %58, %.preheader131..preheader129_crit_edge ], [ true, %.preheader130.lr.ph.thread ], [ %56, %.preheader130.lr.ph ], [ %56, %._crit_edge154.us ]
  %.pre-phi = phi i32 [ %.pre280, %.preheader131..preheader129_crit_edge ], [ %46, %.preheader130.lr.ph.thread ], [ %59, %.preheader130.lr.ph ], [ %59, %._crit_edge154.us ]
  %82 = icmp sgt i32 %.pre274.pre.pre, 0
  %83 = icmp slt i32 %.pre274.pre.pre, 2
  %wide.trip.count248 = zext nneg i32 %12 to i64
  %wide.trip.count243 = zext i32 %.pre274.pre.pre to i64
  %wide.trip.count258 = zext i32 %80 to i64
  %wide.trip.count253 = zext nneg i32 %.pre274.pre.pre to i64
  %wide.trip.count268 = zext nneg i32 %12 to i64
  %wide.trip.count263 = zext i32 %.pre-phi to i64
  %84 = add nsw i64 %wide.trip.count263, -1
  %min.iters.check308 = icmp ult i32 %.pre274.pre.pre, 4
  %n.vec311 = and i64 %wide.trip.count243, 2147483644
  %cmp.n318 = icmp eq i64 %n.vec311, %wide.trip.count243
  %brmerge.not = select i1 %81, i1 %82, i1 false
  %min.iters.check295 = icmp ult i32 %.pre274.pre.pre, 2
  %n.vec298 = and i64 %wide.trip.count243, 2147483646
  %cmp.n305 = icmp eq i64 %n.vec298, %wide.trip.count243
  %brmerge290 = select i1 %13, i1 true, i1 %83
  %xtraiter325 = and i64 %wide.trip.count263, 3
  %85 = icmp ult i64 %84, 3
  %unroll_iter329 = and i64 %wide.trip.count263, 4294967292
  %lcmp.mod328.not = icmp eq i64 %xtraiter325, 0
  br label %.preheader128

.preheader128:                                    ; preds = %.preheader129, %._crit_edge168
  %indvars.iv270 = phi i64 [ 0, %.preheader129 ], [ %indvars.iv.next271, %._crit_edge168 ]
  br i1 %13, label %.preheader127, label %.preheader125.lr.ph

.preheader125.lr.ph:                              ; preds = %.preheader128
  br i1 %82, label %.preheader125.us.preheader, label %._crit_edge168

.preheader125.us.preheader:                       ; preds = %.preheader125.lr.ph
  %broadcast.splatinsert = insertelement <2 x i64> poison, i64 %indvars.iv270, i64 0
  %broadcast.splat = shufflevector <2 x i64> %broadcast.splatinsert, <2 x i64> poison, <2 x i32> zeroinitializer
  br label %.preheader125.us

.preheader125.us:                                 ; preds = %.preheader125.us.preheader, %._crit_edge158.us
  %indvars.iv245 = phi i64 [ %indvars.iv.next246, %._crit_edge158.us ], [ 0, %.preheader125.us.preheader ]
  br i1 %min.iters.check308, label %scalar.ph307.preheader, label %vector.body313

vector.body313:                                   ; preds = %.preheader125.us, %vector.body313
  %index314 = phi i64 [ %index.next317, %vector.body313 ], [ 0, %.preheader125.us ]
  %86 = getelementptr inbounds [360 x [360 x i32]], ptr @table, i64 0, i64 %indvars.iv245, i64 %index314
  %87 = getelementptr inbounds i8, ptr %86, i64 8
  %wide.load315 = load <2 x i32>, ptr %86, align 16, !tbaa !5
  %wide.load316 = load <2 x i32>, ptr %87, align 8, !tbaa !5
  %88 = zext <2 x i32> %wide.load315 to <2 x i64>
  %89 = zext <2 x i32> %wide.load316 to <2 x i64>
  %90 = icmp eq <2 x i64> %broadcast.splat, %88
  %91 = icmp eq <2 x i64> %broadcast.splat, %89
  %92 = zext <2 x i1> %90 to <2 x i64>
  %93 = zext <2 x i1> %91 to <2 x i64>
  %94 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv245, i64 %index314
  %95 = getelementptr inbounds i8, ptr %94, i64 16
  store <2 x i64> %92, ptr %94, align 16, !tbaa !24
  store <2 x i64> %93, ptr %95, align 16, !tbaa !24
  %index.next317 = add nuw i64 %index314, 4
  %96 = icmp eq i64 %index.next317, %n.vec311
  br i1 %96, label %middle.block306, label %vector.body313, !llvm.loop !26

middle.block306:                                  ; preds = %vector.body313
  br i1 %cmp.n318, label %._crit_edge158.us, label %scalar.ph307.preheader

scalar.ph307.preheader:                           ; preds = %middle.block306, %.preheader125.us
  %indvars.iv240.ph = phi i64 [ 0, %.preheader125.us ], [ %n.vec311, %middle.block306 ]
  br label %scalar.ph307

scalar.ph307:                                     ; preds = %scalar.ph307.preheader, %scalar.ph307
  %indvars.iv240 = phi i64 [ %indvars.iv.next241, %scalar.ph307 ], [ %indvars.iv240.ph, %scalar.ph307.preheader ]
  %97 = getelementptr inbounds [360 x [360 x i32]], ptr @table, i64 0, i64 %indvars.iv245, i64 %indvars.iv240
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = zext i32 %98 to i64
  %100 = icmp eq i64 %indvars.iv270, %99
  %101 = zext i1 %100 to i64
  %102 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv245, i64 %indvars.iv240
  store i64 %101, ptr %102, align 8, !tbaa !24
  %indvars.iv.next241 = add nuw nsw i64 %indvars.iv240, 1
  %exitcond244.not = icmp eq i64 %indvars.iv.next241, %wide.trip.count243
  br i1 %exitcond244.not, label %._crit_edge158.us, label %scalar.ph307, !llvm.loop !27

._crit_edge158.us:                                ; preds = %scalar.ph307, %middle.block306
  %indvars.iv.next246 = add nuw nsw i64 %indvars.iv245, 1
  %exitcond249.not = icmp eq i64 %indvars.iv.next246, %wide.trip.count248
  br i1 %exitcond249.not, label %.preheader127, label %.preheader125.us, !llvm.loop !28

.preheader122:                                    ; preds = %._crit_edge168
  %103 = icmp sgt i32 %12, 2
  %104 = icmp sgt i32 %.pre274.pre.pre, 2
  %or.cond = select i1 %103, i1 %104, i1 false
  br i1 %or.cond, label %.preheader121, label %._crit_edge200

.preheader127:                                    ; preds = %._crit_edge158.us, %.preheader128
  br i1 %brmerge.not, label %.preheader124.us, label %.preheader126

.preheader124.us:                                 ; preds = %.preheader127, %._crit_edge162.us
  %indvars.iv255 = phi i64 [ %indvars.iv.next256, %._crit_edge162.us ], [ 0, %.preheader127 ]
  %indvars.iv.next256 = add nuw nsw i64 %indvars.iv255, 1
  br i1 %min.iters.check295, label %scalar.ph294.preheader, label %vector.body300

vector.body300:                                   ; preds = %.preheader124.us, %vector.body300
  %index301 = phi i64 [ %index.next304, %vector.body300 ], [ 0, %.preheader124.us ]
  %105 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv255, i64 %index301
  %wide.load302 = load <2 x i64>, ptr %105, align 16, !tbaa !24
  %106 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv.next256, i64 %index301
  %wide.load303 = load <2 x i64>, ptr %106, align 16, !tbaa !24
  %107 = add nsw <2 x i64> %wide.load303, %wide.load302
  store <2 x i64> %107, ptr %106, align 16, !tbaa !24
  %index.next304 = add nuw i64 %index301, 2
  %108 = icmp eq i64 %index.next304, %n.vec298
  br i1 %108, label %middle.block293, label %vector.body300, !llvm.loop !29

middle.block293:                                  ; preds = %vector.body300
  br i1 %cmp.n305, label %._crit_edge162.us, label %scalar.ph294.preheader

scalar.ph294.preheader:                           ; preds = %middle.block293, %.preheader124.us
  %indvars.iv250.ph = phi i64 [ 0, %.preheader124.us ], [ %n.vec298, %middle.block293 ]
  br label %scalar.ph294

scalar.ph294:                                     ; preds = %scalar.ph294.preheader, %scalar.ph294
  %indvars.iv250 = phi i64 [ %indvars.iv.next251, %scalar.ph294 ], [ %indvars.iv250.ph, %scalar.ph294.preheader ]
  %109 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv255, i64 %indvars.iv250
  %110 = load i64, ptr %109, align 8, !tbaa !24
  %111 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv.next256, i64 %indvars.iv250
  %112 = load i64, ptr %111, align 8, !tbaa !24
  %113 = add nsw i64 %112, %110
  store i64 %113, ptr %111, align 8, !tbaa !24
  %indvars.iv.next251 = add nuw nsw i64 %indvars.iv250, 1
  %exitcond254.not = icmp eq i64 %indvars.iv.next251, %wide.trip.count253
  br i1 %exitcond254.not, label %._crit_edge162.us, label %scalar.ph294, !llvm.loop !30

._crit_edge162.us:                                ; preds = %scalar.ph294, %middle.block293
  %exitcond259.not = icmp eq i64 %indvars.iv.next256, %wide.trip.count258
  br i1 %exitcond259.not, label %.preheader126, label %.preheader124.us, !llvm.loop !31

.preheader126:                                    ; preds = %._crit_edge162.us, %.preheader127
  br i1 %brmerge290, label %._crit_edge168, label %.preheader123.us

.preheader123.us:                                 ; preds = %.preheader126, %._crit_edge166.us
  %indvars.iv265 = phi i64 [ %indvars.iv.next266, %._crit_edge166.us ], [ 0, %.preheader126 ]
  %.phi.trans.insert275 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv265, i64 0
  %.pre276 = load i64, ptr %.phi.trans.insert275, align 16, !tbaa !24
  br i1 %85, label %._crit_edge166.us.unr-lcssa, label %.preheader123.us.new

.preheader123.us.new:                             ; preds = %.preheader123.us, %.preheader123.us.new
  %114 = phi i64 [ %126, %.preheader123.us.new ], [ %.pre276, %.preheader123.us ]
  %indvars.iv260 = phi i64 [ %indvars.iv.next261.3, %.preheader123.us.new ], [ 0, %.preheader123.us ]
  %niter330 = phi i64 [ %niter330.next.3, %.preheader123.us.new ], [ 0, %.preheader123.us ]
  %indvars.iv.next261 = or disjoint i64 %indvars.iv260, 1
  %115 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv265, i64 %indvars.iv.next261
  %116 = load i64, ptr %115, align 8, !tbaa !24
  %117 = add nsw i64 %116, %114
  store i64 %117, ptr %115, align 8, !tbaa !24
  %indvars.iv.next261.1 = or disjoint i64 %indvars.iv260, 2
  %118 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv265, i64 %indvars.iv.next261.1
  %119 = load i64, ptr %118, align 16, !tbaa !24
  %120 = add nsw i64 %119, %117
  store i64 %120, ptr %118, align 16, !tbaa !24
  %indvars.iv.next261.2 = or disjoint i64 %indvars.iv260, 3
  %121 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv265, i64 %indvars.iv.next261.2
  %122 = load i64, ptr %121, align 8, !tbaa !24
  %123 = add nsw i64 %122, %120
  store i64 %123, ptr %121, align 8, !tbaa !24
  %indvars.iv.next261.3 = add nuw nsw i64 %indvars.iv260, 4
  %124 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv265, i64 %indvars.iv.next261.3
  %125 = load i64, ptr %124, align 16, !tbaa !24
  %126 = add nsw i64 %125, %123
  store i64 %126, ptr %124, align 16, !tbaa !24
  %niter330.next.3 = add i64 %niter330, 4
  %niter330.ncmp.3 = icmp eq i64 %niter330.next.3, %unroll_iter329
  br i1 %niter330.ncmp.3, label %._crit_edge166.us.unr-lcssa, label %.preheader123.us.new, !llvm.loop !32

._crit_edge166.us.unr-lcssa:                      ; preds = %.preheader123.us.new, %.preheader123.us
  %.unr327 = phi i64 [ %.pre276, %.preheader123.us ], [ %126, %.preheader123.us.new ]
  %indvars.iv260.unr = phi i64 [ 0, %.preheader123.us ], [ %indvars.iv.next261.3, %.preheader123.us.new ]
  br i1 %lcmp.mod328.not, label %._crit_edge166.us, label %.epil.preheader324

.epil.preheader324:                               ; preds = %._crit_edge166.us.unr-lcssa, %.epil.preheader324
  %127 = phi i64 [ %130, %.epil.preheader324 ], [ %.unr327, %._crit_edge166.us.unr-lcssa ]
  %indvars.iv260.epil = phi i64 [ %indvars.iv.next261.epil, %.epil.preheader324 ], [ %indvars.iv260.unr, %._crit_edge166.us.unr-lcssa ]
  %epil.iter326 = phi i64 [ %epil.iter326.next, %.epil.preheader324 ], [ 0, %._crit_edge166.us.unr-lcssa ]
  %indvars.iv.next261.epil = add nuw nsw i64 %indvars.iv260.epil, 1
  %128 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv270, i64 %indvars.iv265, i64 %indvars.iv.next261.epil
  %129 = load i64, ptr %128, align 8, !tbaa !24
  %130 = add nsw i64 %129, %127
  store i64 %130, ptr %128, align 8, !tbaa !24
  %epil.iter326.next = add i64 %epil.iter326, 1
  %epil.iter326.cmp.not = icmp eq i64 %epil.iter326.next, %xtraiter325
  br i1 %epil.iter326.cmp.not, label %._crit_edge166.us, label %.epil.preheader324, !llvm.loop !33

._crit_edge166.us:                                ; preds = %.epil.preheader324, %._crit_edge166.us.unr-lcssa
  %indvars.iv.next266 = add nuw nsw i64 %indvars.iv265, 1
  %exitcond269.not = icmp eq i64 %indvars.iv.next266, %wide.trip.count268
  br i1 %exitcond269.not, label %._crit_edge168, label %.preheader123.us, !llvm.loop !34

._crit_edge168:                                   ; preds = %._crit_edge166.us, %.preheader126, %.preheader125.lr.ph
  %indvars.iv.next271 = add nuw nsw i64 %indvars.iv270, 1
  %exitcond273.not = icmp eq i64 %indvars.iv.next271, 10
  br i1 %exitcond273.not, label %.preheader122, label %.preheader128, !llvm.loop !35

.preheader121:                                    ; preds = %.preheader122, %._crit_edge194
  %131 = phi i32 [ %140, %._crit_edge194 ], [ %12, %.preheader122 ]
  %132 = phi i32 [ %141, %._crit_edge194 ], [ %.pre274.pre.pre, %.preheader122 ]
  %133 = phi i32 [ %142, %._crit_edge194 ], [ %.pre274.pre.pre, %.preheader122 ]
  %.099198 = phi i32 [ %.pre-phi284, %._crit_edge194 ], [ 0, %.preheader122 ]
  %.0100197 = phi i64 [ %.1101.lcssa, %._crit_edge194 ], [ 0, %.preheader122 ]
  %134 = icmp sgt i32 %133, 2
  br i1 %134, label %.lr.ph193, label %.preheader121.._crit_edge194_crit_edge

.preheader121.._crit_edge194_crit_edge:           ; preds = %.preheader121
  %.pre283 = add nuw nsw i32 %.099198, 1
  br label %._crit_edge194

.lr.ph193:                                        ; preds = %.preheader121
  %135 = add nuw nsw i32 %.099198, 2
  %136 = add nuw nsw i32 %.099198, 1
  %137 = icmp sgt i32 %131, %135
  br i1 %137, label %.lr.ph193.split, label %._crit_edge194

._crit_edge200:                                   ; preds = %._crit_edge194, %.preheader122
  %.0100.lcssa = phi i64 [ 0, %.preheader122 ], [ %.1101.lcssa, %._crit_edge194 ]
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %.0100.lcssa)
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

._crit_edge194.loopexit:                          ; preds = %._crit_edge189
  %.pre279 = load i32, ptr %1, align 4, !tbaa !5
  br label %._crit_edge194

._crit_edge194:                                   ; preds = %.lr.ph193, %.preheader121.._crit_edge194_crit_edge, %._crit_edge194.loopexit
  %.pre-phi284 = phi i32 [ %.pre283, %.preheader121.._crit_edge194_crit_edge ], [ %136, %._crit_edge194.loopexit ], [ %136, %.lr.ph193 ]
  %140 = phi i32 [ %131, %.preheader121.._crit_edge194_crit_edge ], [ %.pre279, %._crit_edge194.loopexit ], [ %131, %.lr.ph193 ]
  %141 = phi i32 [ %132, %.preheader121.._crit_edge194_crit_edge ], [ %151, %._crit_edge194.loopexit ], [ %132, %.lr.ph193 ]
  %142 = phi i32 [ %133, %.preheader121.._crit_edge194_crit_edge ], [ %151, %._crit_edge194.loopexit ], [ %133, %.lr.ph193 ]
  %.1101.lcssa = phi i64 [ %.0100197, %.preheader121.._crit_edge194_crit_edge ], [ %.2.lcssa, %._crit_edge194.loopexit ], [ %.0100197, %.lr.ph193 ]
  %143 = add nsw i32 %140, -2
  %144 = icmp slt i32 %.pre-phi284, %143
  br i1 %144, label %.preheader121, label %._crit_edge200, !llvm.loop !36

.lr.ph193.split:                                  ; preds = %.lr.ph193, %._crit_edge189
  %145 = phi i32 [ %151, %._crit_edge189 ], [ %132, %.lr.ph193 ]
  %.098192 = phi i32 [ %.pre-phi282, %._crit_edge189 ], [ 0, %.lr.ph193 ]
  %.1101191 = phi i64 [ %.2.lcssa, %._crit_edge189 ], [ %.0100197, %.lr.ph193 ]
  %146 = load i32, ptr %1, align 4, !tbaa !5
  %.not.not184 = icmp sgt i32 %146, %135
  br i1 %.not.not184, label %.preheader.lr.ph, label %.lr.ph193.split.._crit_edge189_crit_edge

.lr.ph193.split.._crit_edge189_crit_edge:         ; preds = %.lr.ph193.split
  %.pre281 = add nuw nsw i32 %.098192, 1
  br label %._crit_edge189

.preheader.lr.ph:                                 ; preds = %.lr.ph193.split
  %147 = add nuw nsw i32 %.098192, 2
  %148 = add nuw nsw i32 %.098192, 1
  br label %.preheader

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge179
  %.096.in187 = phi i32 [ %146, %.preheader.lr.ph ], [ %.096188, %._crit_edge179 ]
  %.097186 = phi i32 [ %147, %.preheader.lr.ph ], [ %.1.lcssa, %._crit_edge179 ]
  %.2185 = phi i64 [ %.1101191, %.preheader.lr.ph ], [ %.3.lcssa, %._crit_edge179 ]
  %.096188 = add nsw i32 %.096.in187, -1
  %149 = load i32, ptr %2, align 4, !tbaa !5
  %150 = icmp slt i32 %.097186, %149
  br i1 %150, label %.lr.ph172, label %.critedge

._crit_edge189.loopexit:                          ; preds = %._crit_edge179
  %.pre278 = load i32, ptr %2, align 4, !tbaa !5
  br label %._crit_edge189

._crit_edge189:                                   ; preds = %.lr.ph193.split.._crit_edge189_crit_edge, %._crit_edge189.loopexit
  %.pre-phi282 = phi i32 [ %.pre281, %.lr.ph193.split.._crit_edge189_crit_edge ], [ %148, %._crit_edge189.loopexit ]
  %151 = phi i32 [ %145, %.lr.ph193.split.._crit_edge189_crit_edge ], [ %.pre278, %._crit_edge189.loopexit ]
  %.2.lcssa = phi i64 [ %.1101191, %.lr.ph193.split.._crit_edge189_crit_edge ], [ %.3.lcssa, %._crit_edge189.loopexit ]
  %152 = add nsw i32 %151, -2
  %153 = icmp slt i32 %.pre-phi282, %152
  br i1 %153, label %.lr.ph193.split, label %._crit_edge194.loopexit, !llvm.loop !38

.lr.ph172:                                        ; preds = %.preheader, %156
  %.1171 = phi i32 [ %157, %156 ], [ %.097186, %.preheader ]
  %154 = call noundef i32 @_Z8calc_sumiiii(i32 noundef %.099198, i32 noundef %.098192, i32 noundef %.096188, i32 noundef %.1171)
  %155 = load i32, ptr %3, align 4, !tbaa !5
  %.not = icmp sgt i32 %154, %155
  %.pre277.pre = load i32, ptr %2, align 4, !tbaa !5
  br i1 %.not, label %.critedge, label %156

156:                                              ; preds = %.lr.ph172
  %157 = add nsw i32 %.1171, 1
  %158 = icmp slt i32 %157, %.pre277.pre
  br i1 %158, label %.lr.ph172, label %.critedge, !llvm.loop !39

.critedge:                                        ; preds = %.lr.ph172, %156, %.preheader
  %159 = phi i32 [ %149, %.preheader ], [ %.pre277.pre, %156 ], [ %.pre277.pre, %.lr.ph172 ]
  %.1.lcssa = phi i32 [ %.097186, %.preheader ], [ %.1171, %.lr.ph172 ], [ %157, %156 ]
  %160 = icmp slt i32 %.1.lcssa, %159
  br i1 %160, label %.lr.ph178, label %._crit_edge179

.lr.ph178:                                        ; preds = %.critedge
  %161 = add nsw i32 %.096.in187, -2
  br label %162

162:                                              ; preds = %.lr.ph178, %166
  %.095177 = phi i32 [ %.1.lcssa, %.lr.ph178 ], [ %171, %166 ]
  %.3176 = phi i64 [ %.2185, %.lr.ph178 ], [ %170, %166 ]
  %163 = call noundef i32 @_Z8calc_sumiiii(i32 noundef %.099198, i32 noundef %.098192, i32 noundef %.096188, i32 noundef %.095177)
  %164 = load i32, ptr %3, align 4, !tbaa !5
  %165 = add nsw i32 %164, 10
  %.not118 = icmp slt i32 %163, %165
  br i1 %.not118, label %166, label %._crit_edge179

166:                                              ; preds = %162
  %167 = sub i32 %163, %164
  %168 = add nsw i32 %.095177, -1
  %169 = call noundef i64 @_Z8calc_cntiiiii(i32 noundef %167, i32 noundef %136, i32 noundef %148, i32 noundef %161, i32 noundef %168)
  %170 = add nsw i64 %169, %.3176
  %171 = add nsw i32 %.095177, 1
  %172 = load i32, ptr %2, align 4, !tbaa !5
  %173 = icmp slt i32 %171, %172
  br i1 %173, label %162, label %._crit_edge179, !llvm.loop !40

._crit_edge179:                                   ; preds = %166, %162, %.critedge
  %.3.lcssa = phi i64 [ %.2185, %.critedge ], [ %.3176, %162 ], [ %170, %166 ]
  %.not.not = icmp sgt i32 %.096188, %135
  br i1 %.not.not, label %.preheader, label %._crit_edge189.loopexit, !llvm.loop !41
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.unroll.disable"}
!16 = distinct !{!16, !10, !17, !18}
!17 = !{!"llvm.loop.isvectorized", i32 1}
!18 = !{!"llvm.loop.unroll.runtime.disable"}
!19 = distinct !{!19, !10, !18, !17}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !10}
!24 = !{!25, !25, i64 0}
!25 = !{!"long long", !7, i64 0}
!26 = distinct !{!26, !10, !17, !18}
!27 = distinct !{!27, !10, !18, !17}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10, !17, !18}
!30 = distinct !{!30, !10, !18, !17}
!31 = distinct !{!31, !10}
!32 = distinct !{!32, !10}
!33 = distinct !{!33, !15}
!34 = distinct !{!34, !10}
!35 = distinct !{!35, !10}
!36 = distinct !{!36, !10, !37}
!37 = !{!"llvm.loop.unswitch.partial.disable"}
!38 = distinct !{!38, !10, !37}
!39 = distinct !{!39, !10}
!40 = distinct !{!40, !10}
!41 = distinct !{!41, !10}


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