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

; 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::__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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca 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
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %26 = 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)
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %68, %0
  %30 = load i32, ptr %5, align 4, !tbaa !5
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %34, label %33

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

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

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

37:                                               ; preds = %60, %36
  %38 = load i32, ptr %10, align 4, !tbaa !5
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = icmp slt i32 %38, %39
  br i1 %40, label %46, label %41

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

42:                                               ; preds = %34
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %8, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %9, align 4
  br label %71

46:                                               ; preds = %37
  %47 = load i32, ptr %10, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef %48)
          to label %50 unwind label %63

50:                                               ; preds = %46
  %51 = load i8, ptr %49, align 1, !tbaa !9
  %52 = sext i8 %51 to i32
  %53 = sub nsw i32 %52, 48
  %54 = load i32, ptr %5, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [360 x [360 x i32]], ptr @table, i64 0, i64 %55
  %57 = load i32, ptr %10, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [360 x i32], ptr %56, i64 0, i64 %58
  store i32 %53, ptr %59, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %50
  %61 = load i32, ptr %10, align 4, !tbaa !5
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %10, align 4, !tbaa !5
  br label %37, !llvm.loop !10

63:                                               ; preds = %46
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %8, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %71

67:                                               ; preds = %41
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #5
  br label %68

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

71:                                               ; preds = %63, %42
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %317

72:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  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) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  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) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %102, %72
  %74 = load i32, ptr %13, align 4, !tbaa !5
  %75 = load i32, ptr %2, align 4, !tbaa !5
  %76 = icmp slt i32 %74, %75
  br i1 %76, label %78, label %77

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

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

79:                                               ; preds = %98, %78
  %80 = load i32, ptr %14, align 4, !tbaa !5
  %81 = load i32, ptr %3, align 4, !tbaa !5
  %82 = icmp slt i32 %80, %81
  br i1 %82, label %84, label %83

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

84:                                               ; preds = %79
  %85 = load i32, ptr %13, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [360 x [360 x i32]], ptr @table, i64 0, i64 %86
  %88 = load i32, ptr %14, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [360 x i32], ptr %87, i64 0, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = load i32, ptr %13, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, 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
  store i32 %91, ptr %97, align 4, !tbaa !5
  br label %98

98:                                               ; preds = %84
  %99 = load i32, ptr %14, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %14, align 4, !tbaa !5
  br label %79, !llvm.loop !13

101:                                              ; preds = %83
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %13, align 4, !tbaa !5
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %13, align 4, !tbaa !5
  br label %73, !llvm.loop !14

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

106:                                              ; preds = %139, %105
  %107 = load i32, ptr %15, align 4, !tbaa !5
  %108 = load i32, ptr %2, align 4, !tbaa !5
  %109 = sub nsw i32 %108, 1
  %110 = icmp slt i32 %107, %109
  br i1 %110, label %112, label %111

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

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

113:                                              ; preds = %135, %112
  %114 = load i32, ptr %16, align 4, !tbaa !5
  %115 = load i32, ptr %3, align 4, !tbaa !5
  %116 = icmp slt i32 %114, %115
  br i1 %116, label %118, label %117

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

118:                                              ; preds = %113
  %119 = load i32, ptr %15, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %120
  %122 = load i32, ptr %16, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [360 x i32], ptr %121, i64 0, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = load i32, ptr %15, align 4, !tbaa !5
  %127 = add nsw i32 %126, 1
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %128
  %130 = load i32, ptr %16, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [360 x i32], ptr %129, i64 0, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = add nsw i32 %133, %125
  store i32 %134, ptr %132, align 4, !tbaa !5
  br label %135

135:                                              ; preds = %118
  %136 = load i32, ptr %16, align 4, !tbaa !5
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %16, align 4, !tbaa !5
  br label %113, !llvm.loop !15

138:                                              ; preds = %117
  br label %139

139:                                              ; preds = %138
  %140 = load i32, ptr %15, align 4, !tbaa !5
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %15, align 4, !tbaa !5
  br label %106, !llvm.loop !16

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

143:                                              ; preds = %176, %142
  %144 = load i32, ptr %17, align 4, !tbaa !5
  %145 = load i32, ptr %2, align 4, !tbaa !5
  %146 = icmp slt i32 %144, %145
  br i1 %146, label %148, label %147

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

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

149:                                              ; preds = %172, %148
  %150 = load i32, ptr %18, align 4, !tbaa !5
  %151 = load i32, ptr %3, align 4, !tbaa !5
  %152 = sub nsw i32 %151, 1
  %153 = icmp slt i32 %150, %152
  br i1 %153, label %155, label %154

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

155:                                              ; preds = %149
  %156 = load i32, ptr %17, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %157
  %159 = load i32, ptr %18, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [360 x i32], ptr %158, i64 0, i64 %160
  %162 = load i32, ptr %161, align 4, !tbaa !5
  %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 = add nsw i32 %166, 1
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [360 x i32], ptr %165, i64 0, i64 %168
  %170 = load i32, ptr %169, align 4, !tbaa !5
  %171 = add nsw i32 %170, %162
  store i32 %171, ptr %169, align 4, !tbaa !5
  br label %172

172:                                              ; preds = %155
  %173 = load i32, ptr %18, align 4, !tbaa !5
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr %18, align 4, !tbaa !5
  br label %149, !llvm.loop !17

175:                                              ; preds = %154
  br label %176

176:                                              ; preds = %175
  %177 = load i32, ptr %17, align 4, !tbaa !5
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %17, align 4, !tbaa !5
  br label %143, !llvm.loop !18

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

180:                                              ; preds = %312, %179
  %181 = load i32, ptr %19, align 4, !tbaa !5
  %182 = icmp slt i32 %181, 10
  br i1 %182, label %184, label %183

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

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

185:                                              ; preds = %222, %184
  %186 = load i32, ptr %20, align 4, !tbaa !5
  %187 = load i32, ptr %2, align 4, !tbaa !5
  %188 = icmp slt i32 %186, %187
  br i1 %188, label %190, label %189

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

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

191:                                              ; preds = %218, %190
  %192 = load i32, ptr %21, align 4, !tbaa !5
  %193 = load i32, ptr %3, align 4, !tbaa !5
  %194 = icmp slt i32 %192, %193
  br i1 %194, label %196, label %195

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

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

218:                                              ; preds = %196
  %219 = load i32, ptr %21, align 4, !tbaa !5
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %21, align 4, !tbaa !5
  br label %191, !llvm.loop !21

221:                                              ; preds = %195
  br label %222

222:                                              ; preds = %221
  %223 = load i32, ptr %20, align 4, !tbaa !5
  %224 = add nsw i32 %223, 1
  store i32 %224, ptr %20, align 4, !tbaa !5
  br label %185, !llvm.loop !22

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

226:                                              ; preds = %265, %225
  %227 = load i32, ptr %22, align 4, !tbaa !5
  %228 = load i32, ptr %2, align 4, !tbaa !5
  %229 = sub nsw i32 %228, 1
  %230 = icmp slt i32 %227, %229
  br i1 %230, label %232, label %231

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

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

233:                                              ; preds = %261, %232
  %234 = load i32, ptr %23, align 4, !tbaa !5
  %235 = load i32, ptr %3, align 4, !tbaa !5
  %236 = icmp slt i32 %234, %235
  br i1 %236, label %238, label %237

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

238:                                              ; preds = %233
  %239 = load i32, ptr %19, align 4, !tbaa !5
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %240
  %242 = load i32, ptr %22, align 4, !tbaa !5
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds [360 x [360 x i64]], ptr %241, i64 0, i64 %243
  %245 = load i32, ptr %23, align 4, !tbaa !5
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [360 x i64], ptr %244, i64 0, i64 %246
  %248 = load i64, ptr %247, align 8, !tbaa !19
  %249 = load i32, ptr %19, align 4, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %250
  %252 = load i32, ptr %22, align 4, !tbaa !5
  %253 = add nsw i32 %252, 1
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds [360 x [360 x i64]], ptr %251, i64 0, i64 %254
  %256 = load i32, ptr %23, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds [360 x i64], ptr %255, i64 0, i64 %257
  %259 = load i64, ptr %258, align 8, !tbaa !19
  %260 = add nsw i64 %259, %248
  store i64 %260, ptr %258, align 8, !tbaa !19
  br label %261

261:                                              ; preds = %238
  %262 = load i32, ptr %23, align 4, !tbaa !5
  %263 = add nsw i32 %262, 1
  store i32 %263, ptr %23, align 4, !tbaa !5
  br label %233, !llvm.loop !23

264:                                              ; preds = %237
  br label %265

265:                                              ; preds = %264
  %266 = load i32, ptr %22, align 4, !tbaa !5
  %267 = add nsw i32 %266, 1
  store i32 %267, ptr %22, align 4, !tbaa !5
  br label %226, !llvm.loop !24

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

269:                                              ; preds = %308, %268
  %270 = load i32, ptr %24, align 4, !tbaa !5
  %271 = load i32, ptr %2, align 4, !tbaa !5
  %272 = icmp slt i32 %270, %271
  br i1 %272, label %274, label %273

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

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

275:                                              ; preds = %304, %274
  %276 = load i32, ptr %25, align 4, !tbaa !5
  %277 = load i32, ptr %3, align 4, !tbaa !5
  %278 = sub nsw i32 %277, 1
  %279 = icmp slt i32 %276, %278
  br i1 %279, label %281, label %280

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

281:                                              ; preds = %275
  %282 = load i32, ptr %19, align 4, !tbaa !5
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %283
  %285 = load i32, ptr %24, align 4, !tbaa !5
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds [360 x [360 x i64]], ptr %284, i64 0, i64 %286
  %288 = load i32, ptr %25, align 4, !tbaa !5
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds [360 x i64], ptr %287, i64 0, i64 %289
  %291 = load i64, ptr %290, align 8, !tbaa !19
  %292 = load i32, ptr %19, align 4, !tbaa !5
  %293 = sext i32 %292 to i64
  %294 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %293
  %295 = load i32, ptr %24, align 4, !tbaa !5
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds [360 x [360 x i64]], ptr %294, i64 0, i64 %296
  %298 = load i32, ptr %25, align 4, !tbaa !5
  %299 = add nsw i32 %298, 1
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds [360 x i64], ptr %297, i64 0, i64 %300
  %302 = load i64, ptr %301, align 8, !tbaa !19
  %303 = add nsw i64 %302, %291
  store i64 %303, ptr %301, align 8, !tbaa !19
  br label %304

304:                                              ; preds = %281
  %305 = load i32, ptr %25, align 4, !tbaa !5
  %306 = add nsw i32 %305, 1
  store i32 %306, ptr %25, align 4, !tbaa !5
  br label %275, !llvm.loop !25

307:                                              ; preds = %280
  br label %308

308:                                              ; preds = %307
  %309 = load i32, ptr %24, align 4, !tbaa !5
  %310 = add nsw i32 %309, 1
  store i32 %310, ptr %24, align 4, !tbaa !5
  br label %269, !llvm.loop !26

311:                                              ; preds = %273
  br label %312

312:                                              ; preds = %311
  %313 = load i32, ptr %19, align 4, !tbaa !5
  %314 = add nsw i32 %313, 1
  store i32 %314, ptr %19, align 4, !tbaa !5
  br label %180, !llvm.loop !27

315:                                              ; preds = %183
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %316 = load i32, ptr %1, align 4
  ret i32 %316

317:                                              ; preds = %71
  %318 = load ptr, ptr %8, align 8
  %319 = load i32, ptr %9, align 4
  %320 = insertvalue { ptr, i32 } poison, ptr %318, 0
  %321 = insertvalue { ptr, i32 } %320, i32 %319, 1
  resume { ptr, i32 } %321
}

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

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

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

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

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


; 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::__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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca 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) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #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 = 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.ph95, label %._crit_edge96

._crit_edge96:                                    ; preds = %._crit_edge, %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  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) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  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) #6
  %12 = load i32, ptr %1, align 4, !tbaa !5
  %13 = icmp slt i32 %12, 1
  %.pre195.pre.pre = load i32, ptr %2, align 4
  br i1 %13, label %.preheader86.thread199, label %.preheader89.lr.ph

.preheader86.thread199:                           ; preds = %._crit_edge96
  %14 = add i32 %12, -1
  br label %.preheader86..preheader84_crit_edge

.preheader89.lr.ph:                               ; preds = %._crit_edge96
  %15 = icmp sgt i32 %.pre195.pre.pre, 0
  br i1 %15, label %.preheader89.us.preheader, label %.preheader88

.preheader89.us.preheader:                        ; preds = %.preheader89.lr.ph
  %16 = zext nneg i32 %.pre195.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 %.preheader88.loopexit.unr-lcssa, label %.preheader89.us.preheader.new

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

.preheader89.us:                                  ; preds = %.preheader89.us, %.preheader89.us.preheader.new
  %indvar = phi i64 [ 0, %.preheader89.us.preheader.new ], [ %indvar.next.3, %.preheader89.us ]
  %niter = phi i64 [ 0, %.preheader89.us.preheader.new ], [ %niter.next.3, %.preheader89.us ]
  %19 = mul nuw nsw i64 %indvar, 1440
  %scevgep = getelementptr i8, ptr @imossum, i64 %19
  %scevgep136 = getelementptr i8, ptr @table, i64 %19
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %scevgep, ptr align 16 %scevgep136, 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
  %scevgep136.1 = getelementptr i8, ptr @table, i64 %21
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %scevgep.1, ptr align 16 %scevgep136.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
  %scevgep136.2 = getelementptr i8, ptr @table, i64 %23
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %scevgep.2, ptr align 16 %scevgep136.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
  %scevgep136.3 = getelementptr i8, ptr @table, i64 %25
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %scevgep.3, ptr align 16 %scevgep136.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 %.preheader88.loopexit.unr-lcssa, label %.preheader89.us, !llvm.loop !9

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

.preheader90:                                     ; preds = %.lr.ph95
  %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, %.preheader90
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  %indvars.iv.next134 = add nuw nsw i64 %indvars.iv133, 1
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = icmp slt i64 %indvars.iv.next134, %30
  br i1 %31, label %.lr.ph95, label %._crit_edge96, !llvm.loop !11

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

.lr.ph:                                           ; preds = %.preheader90, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader90 ]
  %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.iv133, 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

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

.preheader89.us.epil:                             ; preds = %.preheader88.loopexit.unr-lcssa, %.preheader89.us.epil
  %indvar.epil = phi i64 [ %indvar.next.epil, %.preheader89.us.epil ], [ %indvar.unr, %.preheader88.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.preheader89.us.epil ], [ 0, %.preheader88.loopexit.unr-lcssa ]
  %42 = mul nuw nsw i64 %indvar.epil, 1440
  %scevgep.epil = getelementptr i8, ptr @imossum, i64 %42
  %scevgep136.epil = getelementptr i8, ptr @table, i64 %42
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %scevgep.epil, ptr align 16 %scevgep136.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 %.preheader88, label %.preheader89.us.epil, !llvm.loop !14

.preheader88:                                     ; preds = %.preheader88.loopexit.unr-lcssa, %.preheader89.us.epil, %.preheader89.lr.ph
  %43 = add nsw i32 %12, -1
  %44 = icmp ne i32 %12, 1
  br i1 %44, label %.preheader87.lr.ph, label %.preheader86

.preheader87.lr.ph:                               ; preds = %.preheader88
  %45 = icmp sgt i32 %.pre195.pre.pre, 0
  br i1 %45, label %.preheader87.us.preheader, label %.preheader85.lr.ph.thread

.preheader85.lr.ph.thread:                        ; preds = %.preheader87.lr.ph
  %46 = add i32 %.pre195.pre.pre, -1
  br label %.preheader84

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

.preheader87.us:                                  ; preds = %.preheader87.us.preheader, %._crit_edge103.us
  %indvars.iv146 = phi i64 [ 0, %.preheader87.us.preheader ], [ %indvars.iv.next147, %._crit_edge103.us ]
  %indvars.iv.next147 = add nuw nsw i64 %indvars.iv146, 1
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %.preheader87.us, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader87.us ]
  %47 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv146, 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.next147, i64 %index
  %wide.load205 = load <4 x i32>, ptr %48, align 16, !tbaa !5
  %49 = add nsw <4 x i32> %wide.load205, %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_edge103.us, label %scalar.ph.preheader

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

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv141 = phi i64 [ %indvars.iv.next142, %scalar.ph ], [ %indvars.iv141.ph, %scalar.ph.preheader ]
  %51 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv146, i64 %indvars.iv141
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv.next147, i64 %indvars.iv141
  %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.next142 = add nuw nsw i64 %indvars.iv141, 1
  %exitcond145.not = icmp eq i64 %indvars.iv.next142, %wide.trip.count144
  br i1 %exitcond145.not, label %._crit_edge103.us, label %scalar.ph, !llvm.loop !19

._crit_edge103.us:                                ; preds = %scalar.ph, %middle.block
  %exitcond150.not = icmp eq i64 %indvars.iv.next147, %wide.trip.count149
  br i1 %exitcond150.not, label %.preheader86, label %.preheader87.us, !llvm.loop !20

.preheader86:                                     ; preds = %._crit_edge103.us, %.preheader88
  %56 = phi i1 [ false, %.preheader88 ], [ %44, %._crit_edge103.us ]
  br i1 %13, label %.preheader86..preheader84_crit_edge, label %.preheader85.lr.ph

.preheader86..preheader84_crit_edge:              ; preds = %.preheader86.thread199, %.preheader86
  %57 = phi i32 [ %14, %.preheader86.thread199 ], [ %43, %.preheader86 ]
  %58 = phi i1 [ false, %.preheader86.thread199 ], [ %56, %.preheader86 ]
  %.pre198 = add i32 %.pre195.pre.pre, -1
  br label %.preheader84

.preheader85.lr.ph:                               ; preds = %.preheader86
  %59 = add i32 %.pre195.pre.pre, -1
  %60 = icmp sgt i32 %.pre195.pre.pre, 1
  br i1 %60, label %.preheader85.us.preheader, label %.preheader84

.preheader85.us.preheader:                        ; preds = %.preheader85.lr.ph
  %wide.trip.count159 = zext nneg i32 %12 to i64
  %wide.trip.count154 = zext i32 %59 to i64
  %61 = add nsw i64 %wide.trip.count154, -1
  %xtraiter232 = and i64 %wide.trip.count154, 3
  %62 = icmp ult i64 %61, 3
  %unroll_iter235 = and i64 %wide.trip.count154, 4294967292
  %lcmp.mod234.not = icmp eq i64 %xtraiter232, 0
  br label %.preheader85.us

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

.preheader85.us.new:                              ; preds = %.preheader85.us, %.preheader85.us.new
  %63 = phi i32 [ %75, %.preheader85.us.new ], [ %.pre, %.preheader85.us ]
  %indvars.iv151 = phi i64 [ %indvars.iv.next152.3, %.preheader85.us.new ], [ 0, %.preheader85.us ]
  %niter236 = phi i64 [ %niter236.next.3, %.preheader85.us.new ], [ 0, %.preheader85.us ]
  %indvars.iv.next152 = or disjoint i64 %indvars.iv151, 1
  %64 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv156, i64 %indvars.iv.next152
  %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.next152.1 = or disjoint i64 %indvars.iv151, 2
  %67 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv156, i64 %indvars.iv.next152.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.next152.2 = or disjoint i64 %indvars.iv151, 3
  %70 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv156, i64 %indvars.iv.next152.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.next152.3 = add nuw nsw i64 %indvars.iv151, 4
  %73 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv156, i64 %indvars.iv.next152.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
  %niter236.next.3 = add i64 %niter236, 4
  %niter236.ncmp.3 = icmp eq i64 %niter236.next.3, %unroll_iter235
  br i1 %niter236.ncmp.3, label %._crit_edge109.us.unr-lcssa, label %.preheader85.us.new, !llvm.loop !21

._crit_edge109.us.unr-lcssa:                      ; preds = %.preheader85.us.new, %.preheader85.us
  %.unr = phi i32 [ %.pre, %.preheader85.us ], [ %75, %.preheader85.us.new ]
  %indvars.iv151.unr = phi i64 [ 0, %.preheader85.us ], [ %indvars.iv.next152.3, %.preheader85.us.new ]
  br i1 %lcmp.mod234.not, label %._crit_edge109.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge109.us.unr-lcssa, %.epil.preheader
  %76 = phi i32 [ %79, %.epil.preheader ], [ %.unr, %._crit_edge109.us.unr-lcssa ]
  %indvars.iv151.epil = phi i64 [ %indvars.iv.next152.epil, %.epil.preheader ], [ %indvars.iv151.unr, %._crit_edge109.us.unr-lcssa ]
  %epil.iter233 = phi i64 [ %epil.iter233.next, %.epil.preheader ], [ 0, %._crit_edge109.us.unr-lcssa ]
  %indvars.iv.next152.epil = add nuw nsw i64 %indvars.iv151.epil, 1
  %77 = getelementptr inbounds [360 x [360 x i32]], ptr @imossum, i64 0, i64 %indvars.iv156, i64 %indvars.iv.next152.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.iter233.next = add i64 %epil.iter233, 1
  %epil.iter233.cmp.not = icmp eq i64 %epil.iter233.next, %xtraiter232
  br i1 %epil.iter233.cmp.not, label %._crit_edge109.us, label %.epil.preheader, !llvm.loop !22

._crit_edge109.us:                                ; preds = %.epil.preheader, %._crit_edge109.us.unr-lcssa
  %indvars.iv.next157 = add nuw nsw i64 %indvars.iv156, 1
  %exitcond160.not = icmp eq i64 %indvars.iv.next157, %wide.trip.count159
  br i1 %exitcond160.not, label %.preheader84, label %.preheader85.us, !llvm.loop !23

.preheader84:                                     ; preds = %._crit_edge109.us, %.preheader85.lr.ph, %.preheader85.lr.ph.thread, %.preheader86..preheader84_crit_edge
  %80 = phi i32 [ %57, %.preheader86..preheader84_crit_edge ], [ %43, %.preheader85.lr.ph.thread ], [ %43, %.preheader85.lr.ph ], [ %43, %._crit_edge109.us ]
  %81 = phi i1 [ %58, %.preheader86..preheader84_crit_edge ], [ true, %.preheader85.lr.ph.thread ], [ %56, %.preheader85.lr.ph ], [ %56, %._crit_edge109.us ]
  %.pre-phi = phi i32 [ %.pre198, %.preheader86..preheader84_crit_edge ], [ %46, %.preheader85.lr.ph.thread ], [ %59, %.preheader85.lr.ph ], [ %59, %._crit_edge109.us ]
  %82 = icmp sgt i32 %.pre195.pre.pre, 0
  %83 = icmp slt i32 %.pre195.pre.pre, 2
  %wide.trip.count169 = zext nneg i32 %12 to i64
  %wide.trip.count164 = zext i32 %.pre195.pre.pre to i64
  %wide.trip.count179 = zext i32 %80 to i64
  %wide.trip.count174 = zext nneg i32 %.pre195.pre.pre to i64
  %wide.trip.count189 = zext nneg i32 %12 to i64
  %wide.trip.count184 = zext i32 %.pre-phi to i64
  %84 = add nsw i64 %wide.trip.count184, -1
  %min.iters.check221 = icmp ult i32 %.pre195.pre.pre, 4
  %n.vec224 = and i64 %wide.trip.count164, 2147483644
  %cmp.n231 = icmp eq i64 %n.vec224, %wide.trip.count164
  %brmerge.not = select i1 %81, i1 %82, i1 false
  %min.iters.check208 = icmp ult i32 %.pre195.pre.pre, 2
  %n.vec211 = and i64 %wide.trip.count164, 2147483646
  %cmp.n218 = icmp eq i64 %n.vec211, %wide.trip.count164
  %brmerge203 = select i1 %13, i1 true, i1 %83
  %xtraiter238 = and i64 %wide.trip.count184, 3
  %85 = icmp ult i64 %84, 3
  %unroll_iter242 = and i64 %wide.trip.count184, 4294967292
  %lcmp.mod241.not = icmp eq i64 %xtraiter238, 0
  br label %.preheader83

.preheader83:                                     ; preds = %.preheader84, %._crit_edge123
  %indvars.iv191 = phi i64 [ 0, %.preheader84 ], [ %indvars.iv.next192, %._crit_edge123 ]
  br i1 %13, label %.preheader82, label %.preheader80.lr.ph

.preheader80.lr.ph:                               ; preds = %.preheader83
  br i1 %82, label %.preheader80.us.preheader, label %._crit_edge123

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

.preheader80.us:                                  ; preds = %.preheader80.us.preheader, %._crit_edge113.us
  %indvars.iv166 = phi i64 [ %indvars.iv.next167, %._crit_edge113.us ], [ 0, %.preheader80.us.preheader ]
  br i1 %min.iters.check221, label %scalar.ph220.preheader, label %vector.body226

vector.body226:                                   ; preds = %.preheader80.us, %vector.body226
  %index227 = phi i64 [ %index.next230, %vector.body226 ], [ 0, %.preheader80.us ]
  %86 = getelementptr inbounds [360 x [360 x i32]], ptr @table, i64 0, i64 %indvars.iv166, i64 %index227
  %87 = getelementptr inbounds i8, ptr %86, i64 8
  %wide.load228 = load <2 x i32>, ptr %86, align 16, !tbaa !5
  %wide.load229 = load <2 x i32>, ptr %87, align 8, !tbaa !5
  %88 = zext <2 x i32> %wide.load228 to <2 x i64>
  %89 = zext <2 x i32> %wide.load229 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.iv191, i64 %indvars.iv166, i64 %index227
  %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.next230 = add nuw i64 %index227, 4
  %96 = icmp eq i64 %index.next230, %n.vec224
  br i1 %96, label %middle.block219, label %vector.body226, !llvm.loop !26

middle.block219:                                  ; preds = %vector.body226
  br i1 %cmp.n231, label %._crit_edge113.us, label %scalar.ph220.preheader

scalar.ph220.preheader:                           ; preds = %middle.block219, %.preheader80.us
  %indvars.iv161.ph = phi i64 [ 0, %.preheader80.us ], [ %n.vec224, %middle.block219 ]
  br label %scalar.ph220

scalar.ph220:                                     ; preds = %scalar.ph220.preheader, %scalar.ph220
  %indvars.iv161 = phi i64 [ %indvars.iv.next162, %scalar.ph220 ], [ %indvars.iv161.ph, %scalar.ph220.preheader ]
  %97 = getelementptr inbounds [360 x [360 x i32]], ptr @table, i64 0, i64 %indvars.iv166, i64 %indvars.iv161
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = zext i32 %98 to i64
  %100 = icmp eq i64 %indvars.iv191, %99
  %101 = zext i1 %100 to i64
  %102 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv166, i64 %indvars.iv161
  store i64 %101, ptr %102, align 8, !tbaa !24
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 1
  %exitcond165.not = icmp eq i64 %indvars.iv.next162, %wide.trip.count164
  br i1 %exitcond165.not, label %._crit_edge113.us, label %scalar.ph220, !llvm.loop !27

._crit_edge113.us:                                ; preds = %scalar.ph220, %middle.block219
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  %exitcond170.not = icmp eq i64 %indvars.iv.next167, %wide.trip.count169
  br i1 %exitcond170.not, label %.preheader82, label %.preheader80.us, !llvm.loop !28

103:                                              ; preds = %._crit_edge123
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret i32 0

.preheader82:                                     ; preds = %._crit_edge113.us, %.preheader83
  br i1 %brmerge.not, label %.preheader79.us, label %.preheader81

.preheader79.us:                                  ; preds = %.preheader82, %._crit_edge117.us
  %indvars.iv176 = phi i64 [ %indvars.iv.next177, %._crit_edge117.us ], [ 0, %.preheader82 ]
  %indvars.iv.next177 = add nuw nsw i64 %indvars.iv176, 1
  br i1 %min.iters.check208, label %scalar.ph207.preheader, label %vector.body213

vector.body213:                                   ; preds = %.preheader79.us, %vector.body213
  %index214 = phi i64 [ %index.next217, %vector.body213 ], [ 0, %.preheader79.us ]
  %104 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv176, i64 %index214
  %wide.load215 = load <2 x i64>, ptr %104, align 16, !tbaa !24
  %105 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv.next177, i64 %index214
  %wide.load216 = load <2 x i64>, ptr %105, align 16, !tbaa !24
  %106 = add nsw <2 x i64> %wide.load216, %wide.load215
  store <2 x i64> %106, ptr %105, align 16, !tbaa !24
  %index.next217 = add nuw i64 %index214, 2
  %107 = icmp eq i64 %index.next217, %n.vec211
  br i1 %107, label %middle.block206, label %vector.body213, !llvm.loop !29

middle.block206:                                  ; preds = %vector.body213
  br i1 %cmp.n218, label %._crit_edge117.us, label %scalar.ph207.preheader

scalar.ph207.preheader:                           ; preds = %middle.block206, %.preheader79.us
  %indvars.iv171.ph = phi i64 [ 0, %.preheader79.us ], [ %n.vec211, %middle.block206 ]
  br label %scalar.ph207

scalar.ph207:                                     ; preds = %scalar.ph207.preheader, %scalar.ph207
  %indvars.iv171 = phi i64 [ %indvars.iv.next172, %scalar.ph207 ], [ %indvars.iv171.ph, %scalar.ph207.preheader ]
  %108 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv176, i64 %indvars.iv171
  %109 = load i64, ptr %108, align 8, !tbaa !24
  %110 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv.next177, i64 %indvars.iv171
  %111 = load i64, ptr %110, align 8, !tbaa !24
  %112 = add nsw i64 %111, %109
  store i64 %112, ptr %110, align 8, !tbaa !24
  %indvars.iv.next172 = add nuw nsw i64 %indvars.iv171, 1
  %exitcond175.not = icmp eq i64 %indvars.iv.next172, %wide.trip.count174
  br i1 %exitcond175.not, label %._crit_edge117.us, label %scalar.ph207, !llvm.loop !30

._crit_edge117.us:                                ; preds = %scalar.ph207, %middle.block206
  %exitcond180.not = icmp eq i64 %indvars.iv.next177, %wide.trip.count179
  br i1 %exitcond180.not, label %.preheader81, label %.preheader79.us, !llvm.loop !31

.preheader81:                                     ; preds = %._crit_edge117.us, %.preheader82
  br i1 %brmerge203, label %._crit_edge123, label %.preheader.us

.preheader.us:                                    ; preds = %.preheader81, %._crit_edge121.us
  %indvars.iv186 = phi i64 [ %indvars.iv.next187, %._crit_edge121.us ], [ 0, %.preheader81 ]
  %.phi.trans.insert196 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv186, i64 0
  %.pre197 = load i64, ptr %.phi.trans.insert196, align 16, !tbaa !24
  br i1 %85, label %._crit_edge121.us.unr-lcssa, label %.preheader.us.new

.preheader.us.new:                                ; preds = %.preheader.us, %.preheader.us.new
  %113 = phi i64 [ %125, %.preheader.us.new ], [ %.pre197, %.preheader.us ]
  %indvars.iv181 = phi i64 [ %indvars.iv.next182.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %niter243 = phi i64 [ %niter243.next.3, %.preheader.us.new ], [ 0, %.preheader.us ]
  %indvars.iv.next182 = or disjoint i64 %indvars.iv181, 1
  %114 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv186, i64 %indvars.iv.next182
  %115 = load i64, ptr %114, align 8, !tbaa !24
  %116 = add nsw i64 %115, %113
  store i64 %116, ptr %114, align 8, !tbaa !24
  %indvars.iv.next182.1 = or disjoint i64 %indvars.iv181, 2
  %117 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv186, i64 %indvars.iv.next182.1
  %118 = load i64, ptr %117, align 16, !tbaa !24
  %119 = add nsw i64 %118, %116
  store i64 %119, ptr %117, align 16, !tbaa !24
  %indvars.iv.next182.2 = or disjoint i64 %indvars.iv181, 3
  %120 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv186, i64 %indvars.iv.next182.2
  %121 = load i64, ptr %120, align 8, !tbaa !24
  %122 = add nsw i64 %121, %119
  store i64 %122, ptr %120, align 8, !tbaa !24
  %indvars.iv.next182.3 = add nuw nsw i64 %indvars.iv181, 4
  %123 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv186, i64 %indvars.iv.next182.3
  %124 = load i64, ptr %123, align 16, !tbaa !24
  %125 = add nsw i64 %124, %122
  store i64 %125, ptr %123, align 16, !tbaa !24
  %niter243.next.3 = add i64 %niter243, 4
  %niter243.ncmp.3 = icmp eq i64 %niter243.next.3, %unroll_iter242
  br i1 %niter243.ncmp.3, label %._crit_edge121.us.unr-lcssa, label %.preheader.us.new, !llvm.loop !32

._crit_edge121.us.unr-lcssa:                      ; preds = %.preheader.us.new, %.preheader.us
  %.unr240 = phi i64 [ %.pre197, %.preheader.us ], [ %125, %.preheader.us.new ]
  %indvars.iv181.unr = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next182.3, %.preheader.us.new ]
  br i1 %lcmp.mod241.not, label %._crit_edge121.us, label %.epil.preheader237

.epil.preheader237:                               ; preds = %._crit_edge121.us.unr-lcssa, %.epil.preheader237
  %126 = phi i64 [ %129, %.epil.preheader237 ], [ %.unr240, %._crit_edge121.us.unr-lcssa ]
  %indvars.iv181.epil = phi i64 [ %indvars.iv.next182.epil, %.epil.preheader237 ], [ %indvars.iv181.unr, %._crit_edge121.us.unr-lcssa ]
  %epil.iter239 = phi i64 [ %epil.iter239.next, %.epil.preheader237 ], [ 0, %._crit_edge121.us.unr-lcssa ]
  %indvars.iv.next182.epil = add nuw nsw i64 %indvars.iv181.epil, 1
  %127 = getelementptr inbounds [10 x [360 x [360 x i64]]], ptr @imoscnt, i64 0, i64 %indvars.iv191, i64 %indvars.iv186, i64 %indvars.iv.next182.epil
  %128 = load i64, ptr %127, align 8, !tbaa !24
  %129 = add nsw i64 %128, %126
  store i64 %129, ptr %127, align 8, !tbaa !24
  %epil.iter239.next = add i64 %epil.iter239, 1
  %epil.iter239.cmp.not = icmp eq i64 %epil.iter239.next, %xtraiter238
  br i1 %epil.iter239.cmp.not, label %._crit_edge121.us, label %.epil.preheader237, !llvm.loop !33

._crit_edge121.us:                                ; preds = %.epil.preheader237, %._crit_edge121.us.unr-lcssa
  %indvars.iv.next187 = add nuw nsw i64 %indvars.iv186, 1
  %exitcond190.not = icmp eq i64 %indvars.iv.next187, %wide.trip.count189
  br i1 %exitcond190.not, label %._crit_edge123, label %.preheader.us, !llvm.loop !34

._crit_edge123:                                   ; preds = %._crit_edge121.us, %.preheader81, %.preheader80.lr.ph
  %indvars.iv.next192 = add nuw nsw i64 %indvars.iv191, 1
  %exitcond194.not = icmp eq i64 %indvars.iv.next192, 10
  br i1 %exitcond194.not, label %103, label %.preheader83, !llvm.loop !35
}

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!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}


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