; LLVM IR from DionysiosB/CodeForces :: 1300-1399 (1336B-XeniaAndColorfulGems)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z5sqvalx(i64 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 i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca i64, align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca i64, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  %33 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  br label %34

34:                                               ; preds = %460, %0
  %35 = load i64, ptr %2, align 8, !tbaa !5
  %36 = add nsw i64 %35, -1
  store i64 %36, ptr %2, align 8, !tbaa !5
  %37 = icmp ne i64 %35, 0
  br i1 %37, label %38, label %471

38:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %39 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5)
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  %40 = load i64, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %40, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %41 unwind label %47

41:                                               ; preds = %38
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 0, ptr %10, align 8, !tbaa !5
  br label %42

42:                                               ; preds = %56, %41
  %43 = load i64, ptr %10, align 8, !tbaa !5
  %44 = load i64, ptr %3, align 8, !tbaa !5
  %45 = icmp slt i64 %43, %44
  br i1 %45, label %51, label %46

46:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %63

47:                                               ; preds = %38
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %8, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  br label %470

51:                                               ; preds = %42
  %52 = load i64, ptr %10, align 8, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %52) #6
  %54 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %53)
          to label %55 unwind label %59

55:                                               ; preds = %51
  br label %56

56:                                               ; preds = %55
  %57 = load i64, ptr %10, align 8, !tbaa !5
  %58 = add nsw i64 %57, 1
  store i64 %58, ptr %10, align 8, !tbaa !5
  br label %42, !llvm.loop !9

59:                                               ; preds = %51
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %8, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %469

63:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  %64 = load i64, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %64, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %65 unwind label %71

65:                                               ; preds = %63
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %66

66:                                               ; preds = %80, %65
  %67 = load i64, ptr %13, align 8, !tbaa !5
  %68 = load i64, ptr %4, align 8, !tbaa !5
  %69 = icmp slt i64 %67, %68
  br i1 %69, label %75, label %70

70:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %87

71:                                               ; preds = %63
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %8, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  br label %468

75:                                               ; preds = %66
  %76 = load i64, ptr %13, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %76) #6
  %78 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %77)
          to label %79 unwind label %83

79:                                               ; preds = %75
  br label %80

80:                                               ; preds = %79
  %81 = load i64, ptr %13, align 8, !tbaa !5
  %82 = add nsw i64 %81, 1
  store i64 %82, ptr %13, align 8, !tbaa !5
  br label %66, !llvm.loop !11

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

87:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  %88 = load i64, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %88, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %89 unwind label %95

89:                                               ; preds = %87
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  store i64 0, ptr %16, align 8, !tbaa !5
  br label %90

90:                                               ; preds = %104, %89
  %91 = load i64, ptr %16, align 8, !tbaa !5
  %92 = load i64, ptr %5, align 8, !tbaa !5
  %93 = icmp slt i64 %91, %92
  br i1 %93, label %99, label %94

94:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %111

95:                                               ; preds = %87
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %8, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  br label %466

99:                                               ; preds = %90
  %100 = load i64, ptr %16, align 8, !tbaa !5
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %100) #6
  %102 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %101)
          to label %103 unwind label %107

103:                                              ; preds = %99
  br label %104

104:                                              ; preds = %103
  %105 = load i64, ptr %16, align 8, !tbaa !5
  %106 = add nsw i64 %105, 1
  store i64 %106, ptr %16, align 8, !tbaa !5
  br label %90, !llvm.loop !12

107:                                              ; preds = %99
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %8, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %465

111:                                              ; preds = %94
  %112 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %112, ptr %113, align 8
  %114 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %115 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %114, ptr %115, align 8
  %116 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8
  %118 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEEEvT_S7_(ptr %117, ptr %119)
          to label %120 unwind label %144

120:                                              ; preds = %111
  %121 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  %123 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %124 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %123, ptr %124, align 8
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8
  %127 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  %128 = load ptr, ptr %127, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEEEvT_S7_(ptr %126, ptr %128)
          to label %129 unwind label %144

129:                                              ; preds = %120
  %130 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  %131 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %130, ptr %131, align 8
  %132 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  %133 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %132, ptr %133, align 8
  %134 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8
  %136 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  %137 = load ptr, ptr %136, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEEEvT_S7_(ptr %135, ptr %137)
          to label %138 unwind label %144

138:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  store i64 0, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store i64 0, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  store i64 0, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store i64 4000000000000000000, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  store i64 0, ptr %27, align 8, !tbaa !5
  br label %139

139:                                              ; preds = %244, %138
  %140 = load i64, ptr %27, align 8, !tbaa !5
  %141 = load i64, ptr %3, align 8, !tbaa !5
  %142 = icmp slt i64 %140, %141
  br i1 %142, label %148, label %143

143:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %247

144:                                              ; preds = %129, %120, %111
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %8, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %9, align 4
  br label %465

148:                                              ; preds = %139
  br label %149

149:                                              ; preds = %175, %148
  %150 = load i64, ptr %24, align 8, !tbaa !5
  %151 = add nsw i64 %150, 1
  %152 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %153 = icmp ult i64 %151, %152
  br i1 %153, label %154, label %173

154:                                              ; preds = %149
  %155 = load i64, ptr %24, align 8, !tbaa !5
  %156 = add nsw i64 %155, 1
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %156) #6
  %158 = load i64, ptr %157, align 8, !tbaa !5
  %159 = load i64, ptr %27, align 8, !tbaa !5
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %159) #6
  %161 = load i64, ptr %160, align 8, !tbaa !5
  %162 = sub nsw i64 %158, %161
  %163 = call noundef i64 @_Z6absvalx(i64 noundef %162)
  %164 = load i64, ptr %24, align 8, !tbaa !5
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %164) #6
  %166 = load i64, ptr %165, align 8, !tbaa !5
  %167 = load i64, ptr %27, align 8, !tbaa !5
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %167) #6
  %169 = load i64, ptr %168, align 8, !tbaa !5
  %170 = sub nsw i64 %166, %169
  %171 = call noundef i64 @_Z6absvalx(i64 noundef %170)
  %172 = icmp slt i64 %163, %171
  br label %173

173:                                              ; preds = %154, %149
  %174 = phi i1 [ false, %149 ], [ %172, %154 ]
  br i1 %174, label %175, label %178

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

178:                                              ; preds = %173
  br label %179

179:                                              ; preds = %205, %178
  %180 = load i64, ptr %25, align 8, !tbaa !5
  %181 = add nsw i64 %180, 1
  %182 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  %183 = icmp ult i64 %181, %182
  br i1 %183, label %184, label %203

184:                                              ; preds = %179
  %185 = load i64, ptr %25, align 8, !tbaa !5
  %186 = add nsw i64 %185, 1
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %186) #6
  %188 = load i64, ptr %187, align 8, !tbaa !5
  %189 = load i64, ptr %27, align 8, !tbaa !5
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %189) #6
  %191 = load i64, ptr %190, align 8, !tbaa !5
  %192 = sub nsw i64 %188, %191
  %193 = call noundef i64 @_Z6absvalx(i64 noundef %192)
  %194 = load i64, ptr %25, align 8, !tbaa !5
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %194) #6
  %196 = load i64, ptr %195, align 8, !tbaa !5
  %197 = load i64, ptr %27, align 8, !tbaa !5
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %197) #6
  %199 = load i64, ptr %198, align 8, !tbaa !5
  %200 = sub nsw i64 %196, %199
  %201 = call noundef i64 @_Z6absvalx(i64 noundef %200)
  %202 = icmp slt i64 %193, %201
  br label %203

203:                                              ; preds = %184, %179
  %204 = phi i1 [ false, %179 ], [ %202, %184 ]
  br i1 %204, label %205, label %208

205:                                              ; preds = %203
  %206 = load i64, ptr %25, align 8, !tbaa !5
  %207 = add nsw i64 %206, 1
  store i64 %207, ptr %25, align 8, !tbaa !5
  br label %179, !llvm.loop !14

208:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %209 = load i64, ptr %27, align 8, !tbaa !5
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %209) #6
  %211 = load i64, ptr %210, align 8, !tbaa !5
  %212 = load i64, ptr %24, align 8, !tbaa !5
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %212) #6
  %214 = load i64, ptr %213, align 8, !tbaa !5
  %215 = sub nsw i64 %211, %214
  %216 = call noundef i64 @_Z5sqvalx(i64 noundef %215)
  %217 = load i64, ptr %27, align 8, !tbaa !5
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %217) #6
  %219 = load i64, ptr %218, align 8, !tbaa !5
  %220 = load i64, ptr %25, align 8, !tbaa !5
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %220) #6
  %222 = load i64, ptr %221, align 8, !tbaa !5
  %223 = sub nsw i64 %219, %222
  %224 = call noundef i64 @_Z5sqvalx(i64 noundef %223)
  %225 = add nsw i64 %216, %224
  %226 = load i64, ptr %24, align 8, !tbaa !5
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %226) #6
  %228 = load i64, ptr %227, align 8, !tbaa !5
  %229 = load i64, ptr %25, align 8, !tbaa !5
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %229) #6
  %231 = load i64, ptr %230, align 8, !tbaa !5
  %232 = sub nsw i64 %228, %231
  %233 = call noundef i64 @_Z5sqvalx(i64 noundef %232)
  %234 = add nsw i64 %225, %233
  store i64 %234, ptr %28, align 8, !tbaa !5
  %235 = load i64, ptr %26, align 8, !tbaa !5
  %236 = load i64, ptr %28, align 8, !tbaa !5
  %237 = icmp slt i64 %235, %236
  br i1 %237, label %238, label %240

238:                                              ; preds = %208
  %239 = load i64, ptr %26, align 8, !tbaa !5
  br label %242

240:                                              ; preds = %208
  %241 = load i64, ptr %28, align 8, !tbaa !5
  br label %242

242:                                              ; preds = %240, %238
  %243 = phi i64 [ %239, %238 ], [ %241, %240 ]
  store i64 %243, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %244

244:                                              ; preds = %242
  %245 = load i64, ptr %27, align 8, !tbaa !5
  %246 = add nsw i64 %245, 1
  store i64 %246, ptr %27, align 8, !tbaa !5
  br label %139, !llvm.loop !15

247:                                              ; preds = %143
  store i64 0, ptr %25, align 8, !tbaa !5
  store i64 0, ptr %24, align 8, !tbaa !5
  store i64 0, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  store i64 0, ptr %29, align 8, !tbaa !5
  br label %248

248:                                              ; preds = %349, %247
  %249 = load i64, ptr %29, align 8, !tbaa !5
  %250 = load i64, ptr %4, align 8, !tbaa !5
  %251 = icmp slt i64 %249, %250
  br i1 %251, label %253, label %252

252:                                              ; preds = %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %352

253:                                              ; preds = %248
  br label %254

254:                                              ; preds = %280, %253
  %255 = load i64, ptr %23, align 8, !tbaa !5
  %256 = add nsw i64 %255, 1
  %257 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %258 = icmp ult i64 %256, %257
  br i1 %258, label %259, label %278

259:                                              ; preds = %254
  %260 = load i64, ptr %23, align 8, !tbaa !5
  %261 = add nsw i64 %260, 1
  %262 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %261) #6
  %263 = load i64, ptr %262, align 8, !tbaa !5
  %264 = load i64, ptr %29, align 8, !tbaa !5
  %265 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %264) #6
  %266 = load i64, ptr %265, align 8, !tbaa !5
  %267 = sub nsw i64 %263, %266
  %268 = call noundef i64 @_Z6absvalx(i64 noundef %267)
  %269 = load i64, ptr %23, align 8, !tbaa !5
  %270 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %269) #6
  %271 = load i64, ptr %270, align 8, !tbaa !5
  %272 = load i64, ptr %29, align 8, !tbaa !5
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %272) #6
  %274 = load i64, ptr %273, align 8, !tbaa !5
  %275 = sub nsw i64 %271, %274
  %276 = call noundef i64 @_Z6absvalx(i64 noundef %275)
  %277 = icmp slt i64 %268, %276
  br label %278

278:                                              ; preds = %259, %254
  %279 = phi i1 [ false, %254 ], [ %277, %259 ]
  br i1 %279, label %280, label %283

280:                                              ; preds = %278
  %281 = load i64, ptr %23, align 8, !tbaa !5
  %282 = add nsw i64 %281, 1
  store i64 %282, ptr %23, align 8, !tbaa !5
  br label %254, !llvm.loop !16

283:                                              ; preds = %278
  br label %284

284:                                              ; preds = %310, %283
  %285 = load i64, ptr %25, align 8, !tbaa !5
  %286 = add nsw i64 %285, 1
  %287 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  %288 = icmp ult i64 %286, %287
  br i1 %288, label %289, label %308

289:                                              ; preds = %284
  %290 = load i64, ptr %25, align 8, !tbaa !5
  %291 = add nsw i64 %290, 1
  %292 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %291) #6
  %293 = load i64, ptr %292, align 8, !tbaa !5
  %294 = load i64, ptr %29, align 8, !tbaa !5
  %295 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %294) #6
  %296 = load i64, ptr %295, align 8, !tbaa !5
  %297 = sub nsw i64 %293, %296
  %298 = call noundef i64 @_Z6absvalx(i64 noundef %297)
  %299 = load i64, ptr %25, align 8, !tbaa !5
  %300 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %299) #6
  %301 = load i64, ptr %300, align 8, !tbaa !5
  %302 = load i64, ptr %29, align 8, !tbaa !5
  %303 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %302) #6
  %304 = load i64, ptr %303, align 8, !tbaa !5
  %305 = sub nsw i64 %301, %304
  %306 = call noundef i64 @_Z6absvalx(i64 noundef %305)
  %307 = icmp slt i64 %298, %306
  br label %308

308:                                              ; preds = %289, %284
  %309 = phi i1 [ false, %284 ], [ %307, %289 ]
  br i1 %309, label %310, label %313

310:                                              ; preds = %308
  %311 = load i64, ptr %25, align 8, !tbaa !5
  %312 = add nsw i64 %311, 1
  store i64 %312, ptr %25, align 8, !tbaa !5
  br label %284, !llvm.loop !17

313:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %314 = load i64, ptr %23, align 8, !tbaa !5
  %315 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %314) #6
  %316 = load i64, ptr %315, align 8, !tbaa !5
  %317 = load i64, ptr %29, align 8, !tbaa !5
  %318 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %317) #6
  %319 = load i64, ptr %318, align 8, !tbaa !5
  %320 = sub nsw i64 %316, %319
  %321 = call noundef i64 @_Z5sqvalx(i64 noundef %320)
  %322 = load i64, ptr %23, align 8, !tbaa !5
  %323 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %322) #6
  %324 = load i64, ptr %323, align 8, !tbaa !5
  %325 = load i64, ptr %25, align 8, !tbaa !5
  %326 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %325) #6
  %327 = load i64, ptr %326, align 8, !tbaa !5
  %328 = sub nsw i64 %324, %327
  %329 = call noundef i64 @_Z5sqvalx(i64 noundef %328)
  %330 = add nsw i64 %321, %329
  %331 = load i64, ptr %29, align 8, !tbaa !5
  %332 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %331) #6
  %333 = load i64, ptr %332, align 8, !tbaa !5
  %334 = load i64, ptr %25, align 8, !tbaa !5
  %335 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %334) #6
  %336 = load i64, ptr %335, align 8, !tbaa !5
  %337 = sub nsw i64 %333, %336
  %338 = call noundef i64 @_Z5sqvalx(i64 noundef %337)
  %339 = add nsw i64 %330, %338
  store i64 %339, ptr %30, align 8, !tbaa !5
  %340 = load i64, ptr %26, align 8, !tbaa !5
  %341 = load i64, ptr %30, align 8, !tbaa !5
  %342 = icmp slt i64 %340, %341
  br i1 %342, label %343, label %345

343:                                              ; preds = %313
  %344 = load i64, ptr %26, align 8, !tbaa !5
  br label %347

345:                                              ; preds = %313
  %346 = load i64, ptr %30, align 8, !tbaa !5
  br label %347

347:                                              ; preds = %345, %343
  %348 = phi i64 [ %344, %343 ], [ %346, %345 ]
  store i64 %348, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %349

349:                                              ; preds = %347
  %350 = load i64, ptr %29, align 8, !tbaa !5
  %351 = add nsw i64 %350, 1
  store i64 %351, ptr %29, align 8, !tbaa !5
  br label %248, !llvm.loop !18

352:                                              ; preds = %252
  store i64 0, ptr %25, align 8, !tbaa !5
  store i64 0, ptr %24, align 8, !tbaa !5
  store i64 0, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  store i64 0, ptr %31, align 8, !tbaa !5
  br label %353

353:                                              ; preds = %454, %352
  %354 = load i64, ptr %31, align 8, !tbaa !5
  %355 = load i64, ptr %5, align 8, !tbaa !5
  %356 = icmp slt i64 %354, %355
  br i1 %356, label %358, label %357

357:                                              ; preds = %353
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %457

358:                                              ; preds = %353
  br label %359

359:                                              ; preds = %385, %358
  %360 = load i64, ptr %23, align 8, !tbaa !5
  %361 = add nsw i64 %360, 1
  %362 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %363 = icmp ult i64 %361, %362
  br i1 %363, label %364, label %383

364:                                              ; preds = %359
  %365 = load i64, ptr %23, align 8, !tbaa !5
  %366 = add nsw i64 %365, 1
  %367 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %366) #6
  %368 = load i64, ptr %367, align 8, !tbaa !5
  %369 = load i64, ptr %31, align 8, !tbaa !5
  %370 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %369) #6
  %371 = load i64, ptr %370, align 8, !tbaa !5
  %372 = sub nsw i64 %368, %371
  %373 = call noundef i64 @_Z6absvalx(i64 noundef %372)
  %374 = load i64, ptr %23, align 8, !tbaa !5
  %375 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %374) #6
  %376 = load i64, ptr %375, align 8, !tbaa !5
  %377 = load i64, ptr %31, align 8, !tbaa !5
  %378 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %377) #6
  %379 = load i64, ptr %378, align 8, !tbaa !5
  %380 = sub nsw i64 %376, %379
  %381 = call noundef i64 @_Z6absvalx(i64 noundef %380)
  %382 = icmp slt i64 %373, %381
  br label %383

383:                                              ; preds = %364, %359
  %384 = phi i1 [ false, %359 ], [ %382, %364 ]
  br i1 %384, label %385, label %388

385:                                              ; preds = %383
  %386 = load i64, ptr %23, align 8, !tbaa !5
  %387 = add nsw i64 %386, 1
  store i64 %387, ptr %23, align 8, !tbaa !5
  br label %359, !llvm.loop !19

388:                                              ; preds = %383
  br label %389

389:                                              ; preds = %415, %388
  %390 = load i64, ptr %24, align 8, !tbaa !5
  %391 = add nsw i64 %390, 1
  %392 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %393 = icmp ult i64 %391, %392
  br i1 %393, label %394, label %413

394:                                              ; preds = %389
  %395 = load i64, ptr %24, align 8, !tbaa !5
  %396 = add nsw i64 %395, 1
  %397 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %396) #6
  %398 = load i64, ptr %397, align 8, !tbaa !5
  %399 = load i64, ptr %31, align 8, !tbaa !5
  %400 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %399) #6
  %401 = load i64, ptr %400, align 8, !tbaa !5
  %402 = sub nsw i64 %398, %401
  %403 = call noundef i64 @_Z6absvalx(i64 noundef %402)
  %404 = load i64, ptr %24, align 8, !tbaa !5
  %405 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %404) #6
  %406 = load i64, ptr %405, align 8, !tbaa !5
  %407 = load i64, ptr %31, align 8, !tbaa !5
  %408 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %407) #6
  %409 = load i64, ptr %408, align 8, !tbaa !5
  %410 = sub nsw i64 %406, %409
  %411 = call noundef i64 @_Z6absvalx(i64 noundef %410)
  %412 = icmp slt i64 %403, %411
  br label %413

413:                                              ; preds = %394, %389
  %414 = phi i1 [ false, %389 ], [ %412, %394 ]
  br i1 %414, label %415, label %418

415:                                              ; preds = %413
  %416 = load i64, ptr %24, align 8, !tbaa !5
  %417 = add nsw i64 %416, 1
  store i64 %417, ptr %24, align 8, !tbaa !5
  br label %389, !llvm.loop !20

418:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %419 = load i64, ptr %23, align 8, !tbaa !5
  %420 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %419) #6
  %421 = load i64, ptr %420, align 8, !tbaa !5
  %422 = load i64, ptr %24, align 8, !tbaa !5
  %423 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %422) #6
  %424 = load i64, ptr %423, align 8, !tbaa !5
  %425 = sub nsw i64 %421, %424
  %426 = call noundef i64 @_Z5sqvalx(i64 noundef %425)
  %427 = load i64, ptr %23, align 8, !tbaa !5
  %428 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %427) #6
  %429 = load i64, ptr %428, align 8, !tbaa !5
  %430 = load i64, ptr %31, align 8, !tbaa !5
  %431 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %430) #6
  %432 = load i64, ptr %431, align 8, !tbaa !5
  %433 = sub nsw i64 %429, %432
  %434 = call noundef i64 @_Z5sqvalx(i64 noundef %433)
  %435 = add nsw i64 %426, %434
  %436 = load i64, ptr %24, align 8, !tbaa !5
  %437 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %436) #6
  %438 = load i64, ptr %437, align 8, !tbaa !5
  %439 = load i64, ptr %31, align 8, !tbaa !5
  %440 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %439) #6
  %441 = load i64, ptr %440, align 8, !tbaa !5
  %442 = sub nsw i64 %438, %441
  %443 = call noundef i64 @_Z5sqvalx(i64 noundef %442)
  %444 = add nsw i64 %435, %443
  store i64 %444, ptr %32, align 8, !tbaa !5
  %445 = load i64, ptr %26, align 8, !tbaa !5
  %446 = load i64, ptr %32, align 8, !tbaa !5
  %447 = icmp slt i64 %445, %446
  br i1 %447, label %448, label %450

448:                                              ; preds = %418
  %449 = load i64, ptr %26, align 8, !tbaa !5
  br label %452

450:                                              ; preds = %418
  %451 = load i64, ptr %32, align 8, !tbaa !5
  br label %452

452:                                              ; preds = %450, %448
  %453 = phi i64 [ %449, %448 ], [ %451, %450 ]
  store i64 %453, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %454

454:                                              ; preds = %452
  %455 = load i64, ptr %31, align 8, !tbaa !5
  %456 = add nsw i64 %455, 1
  store i64 %456, ptr %31, align 8, !tbaa !5
  br label %353, !llvm.loop !21

457:                                              ; preds = %357
  %458 = load i64, ptr %26, align 8, !tbaa !5
  %459 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %458)
          to label %460 unwind label %461

460:                                              ; preds = %457
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %34, !llvm.loop !22

461:                                              ; preds = %457
  %462 = landingpad { ptr, i32 }
          cleanup
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %8, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %465

465:                                              ; preds = %461, %144, %107
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  br label %466

466:                                              ; preds = %465, %95
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  br label %467

467:                                              ; preds = %466, %83
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %468

468:                                              ; preds = %467, %71
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  br label %469

469:                                              ; preds = %468, %59
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %470

470:                                              ; preds = %469, %47
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  br label %472

471:                                              ; preds = %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  ret i32 0

472:                                              ; preds = %470
  %473 = load ptr, ptr %8, align 8
  %474 = load i32, ptr %9, align 4
  %475 = insertvalue { ptr, i32 } poison, ptr %473, 0
  %476 = insertvalue { ptr, i32 } %475, i32 %474, 1
  resume { ptr, i32 } %476
}

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; 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 dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEEEvT_S7_(ptr, ptr) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

declare i32 @printf(ptr noundef, ...) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long long", !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 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z5sqvalx(i64 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 i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  %11 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %12 = load i64, ptr %1, align 8, !tbaa !5
  %13 = add nsw i64 %12, -1
  store i64 %13, ptr %1, align 8, !tbaa !5
  %.not159 = icmp eq i64 %12, 0
  br i1 %.not159, label %._crit_edge162, label %.lr.ph161

.lr.ph161:                                        ; preds = %0, %._crit_edge157
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %14 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  %15 = load i64, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #7
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %15, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %16 unwind label %20

16:                                               ; preds = %.lr.ph161
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  %17 = load i64, ptr %2, align 8, !tbaa !5
  %18 = icmp sgt i64 %17, 0
  br i1 %18, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  %19 = load i64, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %19, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %27 unwind label %31

20:                                               ; preds = %.lr.ph161
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  br label %246

.lr.ph:                                           ; preds = %16, %.lr.ph
  %.0103135 = phi i64 [ %24, %.lr.ph ], [ 0, %16 ]
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0103135) #7
  %23 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %22)
  %24 = add nuw nsw i64 %.0103135, 1
  %25 = load i64, ptr %2, align 8, !tbaa !5
  %26 = icmp slt i64 %24, %25
  br i1 %26, label %.lr.ph, label %._crit_edge, !llvm.loop !9

27:                                               ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  %28 = load i64, ptr %3, align 8, !tbaa !5
  %29 = icmp sgt i64 %28, 0
  br i1 %29, label %.lr.ph138, label %._crit_edge139

._crit_edge139:                                   ; preds = %.lr.ph138, %27
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  %30 = load i64, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %30, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %38 unwind label %43

31:                                               ; preds = %._crit_edge
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  br label %245

.lr.ph138:                                        ; preds = %27, %.lr.ph138
  %.0119136 = phi i64 [ %35, %.lr.ph138 ], [ 0, %27 ]
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0119136) #7
  %34 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %33)
  %35 = add nuw nsw i64 %.0119136, 1
  %36 = load i64, ptr %3, align 8, !tbaa !5
  %37 = icmp slt i64 %35, %36
  br i1 %37, label %.lr.ph138, label %._crit_edge139, !llvm.loop !11

38:                                               ; preds = %._crit_edge139
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  %39 = load i64, ptr %4, align 8, !tbaa !5
  %40 = icmp sgt i64 %39, 0
  br i1 %40, label %.lr.ph142, label %._crit_edge143

._crit_edge143:                                   ; preds = %.lr.ph142, %38
  %41 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %42 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEEEvT_S7_(ptr %41, ptr %42)
          to label %50 unwind label %60

43:                                               ; preds = %._crit_edge139
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  br label %244

.lr.ph142:                                        ; preds = %38, %.lr.ph142
  %.0120140 = phi i64 [ %47, %.lr.ph142 ], [ 0, %38 ]
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.0120140) #7
  %46 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %45)
  %47 = add nuw nsw i64 %.0120140, 1
  %48 = load i64, ptr %4, align 8, !tbaa !5
  %49 = icmp slt i64 %47, %48
  br i1 %49, label %.lr.ph142, label %._crit_edge143, !llvm.loop !12

50:                                               ; preds = %._crit_edge143
  %51 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %52 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEEEvT_S7_(ptr %51, ptr %52)
          to label %53 unwind label %60

53:                                               ; preds = %50
  %54 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %55 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEEEvT_S7_(ptr %54, ptr %55)
          to label %.preheader134 unwind label %60

.preheader134:                                    ; preds = %53
  %56 = load i64, ptr %2, align 8, !tbaa !5
  %57 = icmp sgt i64 %56, 0
  br i1 %57, label %.preheader131, label %.preheader133

.preheader133:                                    ; preds = %.critedge2, %.preheader134
  %.0105.lcssa = phi i64 [ 4000000000000000000, %.preheader134 ], [ %117, %.critedge2 ]
  %58 = load i64, ptr %3, align 8, !tbaa !5
  %59 = icmp sgt i64 %58, 0
  br i1 %59, label %.preheader130, label %.preheader132

.preheader131:                                    ; preds = %.preheader134, %.critedge2
  %.0104147 = phi i64 [ %118, %.critedge2 ], [ 0, %.preheader134 ]
  %.0105146 = phi i64 [ %117, %.critedge2 ], [ 4000000000000000000, %.preheader134 ]
  %.0108145 = phi i64 [ %.1109, %.critedge2 ], [ 0, %.preheader134 ]
  %.0111144 = phi i64 [ %.1112, %.critedge2 ], [ 0, %.preheader134 ]
  br label %62

60:                                               ; preds = %53, %50, %._crit_edge143
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br label %244

62:                                               ; preds = %.preheader131, %66
  %.1112 = phi i64 [ %63, %66 ], [ %.0111144, %.preheader131 ]
  %63 = add nsw i64 %.1112, 1
  %64 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %65 = icmp ult i64 %63, %64
  br i1 %65, label %66, label %.critedge.preheader

66:                                               ; preds = %62
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %63) #7
  %68 = load i64, ptr %67, align 8, !tbaa !5
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0104147) #7
  %70 = load i64, ptr %69, align 8, !tbaa !5
  %71 = sub nsw i64 %68, %70
  %72 = call noundef i64 @_Z6absvalx(i64 noundef %71)
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.1112) #7
  %74 = load i64, ptr %73, align 8, !tbaa !5
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0104147) #7
  %76 = load i64, ptr %75, align 8, !tbaa !5
  %77 = sub nsw i64 %74, %76
  %78 = call noundef i64 @_Z6absvalx(i64 noundef %77)
  %79 = icmp slt i64 %72, %78
  br i1 %79, label %62, label %.critedge.preheader, !llvm.loop !13

.critedge.preheader:                              ; preds = %62, %66
  br label %.critedge

.critedge:                                        ; preds = %.critedge.preheader, %83
  %.1109 = phi i64 [ %80, %83 ], [ %.0108145, %.critedge.preheader ]
  %80 = add nsw i64 %.1109, 1
  %81 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %82 = icmp ult i64 %80, %81
  br i1 %82, label %83, label %.critedge2

83:                                               ; preds = %.critedge
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %80) #7
  %85 = load i64, ptr %84, align 8, !tbaa !5
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0104147) #7
  %87 = load i64, ptr %86, align 8, !tbaa !5
  %88 = sub nsw i64 %85, %87
  %89 = call noundef i64 @_Z6absvalx(i64 noundef %88)
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.1109) #7
  %91 = load i64, ptr %90, align 8, !tbaa !5
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0104147) #7
  %93 = load i64, ptr %92, align 8, !tbaa !5
  %94 = sub nsw i64 %91, %93
  %95 = call noundef i64 @_Z6absvalx(i64 noundef %94)
  %96 = icmp slt i64 %89, %95
  br i1 %96, label %.critedge, label %.critedge2, !llvm.loop !14

.critedge2:                                       ; preds = %.critedge, %83
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0104147) #7
  %98 = load i64, ptr %97, align 8, !tbaa !5
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.1112) #7
  %100 = load i64, ptr %99, align 8, !tbaa !5
  %101 = sub nsw i64 %98, %100
  %102 = call noundef i64 @_Z5sqvalx(i64 noundef %101)
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.0104147) #7
  %104 = load i64, ptr %103, align 8, !tbaa !5
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.1109) #7
  %106 = load i64, ptr %105, align 8, !tbaa !5
  %107 = sub nsw i64 %104, %106
  %108 = call noundef i64 @_Z5sqvalx(i64 noundef %107)
  %109 = add nsw i64 %108, %102
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.1112) #7
  %111 = load i64, ptr %110, align 8, !tbaa !5
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.1109) #7
  %113 = load i64, ptr %112, align 8, !tbaa !5
  %114 = sub nsw i64 %111, %113
  %115 = call noundef i64 @_Z5sqvalx(i64 noundef %114)
  %116 = add nsw i64 %109, %115
  %117 = call i64 @llvm.smin.i64(i64 %.0105146, i64 %116)
  %118 = add nuw nsw i64 %.0104147, 1
  %119 = load i64, ptr %2, align 8, !tbaa !5
  %120 = icmp slt i64 %118, %119
  br i1 %120, label %.preheader131, label %.preheader133, !llvm.loop !15

.preheader132:                                    ; preds = %.critedge6, %.preheader133
  %.1106.lcssa = phi i64 [ %.0105.lcssa, %.preheader133 ], [ %178, %.critedge6 ]
  %121 = load i64, ptr %4, align 8, !tbaa !5
  %122 = icmp sgt i64 %121, 0
  br i1 %122, label %.preheader, label %._crit_edge157

.preheader130:                                    ; preds = %.preheader133, %.critedge6
  %.0102151 = phi i64 [ %179, %.critedge6 ], [ 0, %.preheader133 ]
  %.1106150 = phi i64 [ %178, %.critedge6 ], [ %.0105.lcssa, %.preheader133 ]
  %.2110149 = phi i64 [ %.3, %.critedge6 ], [ 0, %.preheader133 ]
  %.0115148 = phi i64 [ %.1116, %.critedge6 ], [ 0, %.preheader133 ]
  br label %123

123:                                              ; preds = %.preheader130, %127
  %.1116 = phi i64 [ %124, %127 ], [ %.0115148, %.preheader130 ]
  %124 = add nsw i64 %.1116, 1
  %125 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %126 = icmp ult i64 %124, %125
  br i1 %126, label %127, label %.critedge4.preheader

127:                                              ; preds = %123
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %124) #7
  %129 = load i64, ptr %128, align 8, !tbaa !5
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0102151) #7
  %131 = load i64, ptr %130, align 8, !tbaa !5
  %132 = sub nsw i64 %129, %131
  %133 = call noundef i64 @_Z6absvalx(i64 noundef %132)
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.1116) #7
  %135 = load i64, ptr %134, align 8, !tbaa !5
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0102151) #7
  %137 = load i64, ptr %136, align 8, !tbaa !5
  %138 = sub nsw i64 %135, %137
  %139 = call noundef i64 @_Z6absvalx(i64 noundef %138)
  %140 = icmp slt i64 %133, %139
  br i1 %140, label %123, label %.critedge4.preheader, !llvm.loop !16

.critedge4.preheader:                             ; preds = %123, %127
  br label %.critedge4

.critedge4:                                       ; preds = %.critedge4.preheader, %144
  %.3 = phi i64 [ %141, %144 ], [ %.2110149, %.critedge4.preheader ]
  %141 = add nsw i64 %.3, 1
  %142 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %143 = icmp ult i64 %141, %142
  br i1 %143, label %144, label %.critedge6

144:                                              ; preds = %.critedge4
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %141) #7
  %146 = load i64, ptr %145, align 8, !tbaa !5
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0102151) #7
  %148 = load i64, ptr %147, align 8, !tbaa !5
  %149 = sub nsw i64 %146, %148
  %150 = call noundef i64 @_Z6absvalx(i64 noundef %149)
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.3) #7
  %152 = load i64, ptr %151, align 8, !tbaa !5
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0102151) #7
  %154 = load i64, ptr %153, align 8, !tbaa !5
  %155 = sub nsw i64 %152, %154
  %156 = call noundef i64 @_Z6absvalx(i64 noundef %155)
  %157 = icmp slt i64 %150, %156
  br i1 %157, label %.critedge4, label %.critedge6, !llvm.loop !17

.critedge6:                                       ; preds = %.critedge4, %144
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.1116) #7
  %159 = load i64, ptr %158, align 8, !tbaa !5
  %160 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0102151) #7
  %161 = load i64, ptr %160, align 8, !tbaa !5
  %162 = sub nsw i64 %159, %161
  %163 = call noundef i64 @_Z5sqvalx(i64 noundef %162)
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.1116) #7
  %165 = load i64, ptr %164, align 8, !tbaa !5
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.3) #7
  %167 = load i64, ptr %166, align 8, !tbaa !5
  %168 = sub nsw i64 %165, %167
  %169 = call noundef i64 @_Z5sqvalx(i64 noundef %168)
  %170 = add nsw i64 %169, %163
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.0102151) #7
  %172 = load i64, ptr %171, align 8, !tbaa !5
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.3) #7
  %174 = load i64, ptr %173, align 8, !tbaa !5
  %175 = sub nsw i64 %172, %174
  %176 = call noundef i64 @_Z5sqvalx(i64 noundef %175)
  %177 = add nsw i64 %170, %176
  %178 = call i64 @llvm.smin.i64(i64 %.1106150, i64 %177)
  %179 = add nuw nsw i64 %.0102151, 1
  %180 = load i64, ptr %3, align 8, !tbaa !5
  %181 = icmp slt i64 %179, %180
  br i1 %181, label %.preheader130, label %.preheader132, !llvm.loop !18

.preheader:                                       ; preds = %.preheader132, %.critedge10
  %.098156 = phi i64 [ %241, %.critedge10 ], [ 0, %.preheader132 ]
  %.2107155 = phi i64 [ %240, %.critedge10 ], [ %.1106.lcssa, %.preheader132 ]
  %.2113154 = phi i64 [ %.3114, %.critedge10 ], [ 0, %.preheader132 ]
  %.2117153 = phi i64 [ %.3118, %.critedge10 ], [ 0, %.preheader132 ]
  br label %185

._crit_edge157:                                   ; preds = %.critedge10, %.preheader132
  %.2107.lcssa = phi i64 [ %.1106.lcssa, %.preheader132 ], [ %240, %.critedge10 ]
  %182 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %.2107.lcssa)
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  %183 = load i64, ptr %1, align 8, !tbaa !5
  %184 = add nsw i64 %183, -1
  store i64 %184, ptr %1, align 8, !tbaa !5
  %.not = icmp eq i64 %183, 0
  br i1 %.not, label %._crit_edge162, label %.lr.ph161, !llvm.loop !19

185:                                              ; preds = %.preheader, %189
  %.3118 = phi i64 [ %186, %189 ], [ %.2117153, %.preheader ]
  %186 = add nsw i64 %.3118, 1
  %187 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %188 = icmp ult i64 %186, %187
  br i1 %188, label %189, label %.critedge8.preheader

189:                                              ; preds = %185
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %186) #7
  %191 = load i64, ptr %190, align 8, !tbaa !5
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.098156) #7
  %193 = load i64, ptr %192, align 8, !tbaa !5
  %194 = sub nsw i64 %191, %193
  %195 = call noundef i64 @_Z6absvalx(i64 noundef %194)
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.3118) #7
  %197 = load i64, ptr %196, align 8, !tbaa !5
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.098156) #7
  %199 = load i64, ptr %198, align 8, !tbaa !5
  %200 = sub nsw i64 %197, %199
  %201 = call noundef i64 @_Z6absvalx(i64 noundef %200)
  %202 = icmp slt i64 %195, %201
  br i1 %202, label %185, label %.critedge8.preheader, !llvm.loop !20

.critedge8.preheader:                             ; preds = %185, %189
  br label %.critedge8

.critedge8:                                       ; preds = %.critedge8.preheader, %206
  %.3114 = phi i64 [ %203, %206 ], [ %.2113154, %.critedge8.preheader ]
  %203 = add nsw i64 %.3114, 1
  %204 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %205 = icmp ult i64 %203, %204
  br i1 %205, label %206, label %.critedge10

206:                                              ; preds = %.critedge8
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %203) #7
  %208 = load i64, ptr %207, align 8, !tbaa !5
  %209 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.098156) #7
  %210 = load i64, ptr %209, align 8, !tbaa !5
  %211 = sub nsw i64 %208, %210
  %212 = call noundef i64 @_Z6absvalx(i64 noundef %211)
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.3114) #7
  %214 = load i64, ptr %213, align 8, !tbaa !5
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.098156) #7
  %216 = load i64, ptr %215, align 8, !tbaa !5
  %217 = sub nsw i64 %214, %216
  %218 = call noundef i64 @_Z6absvalx(i64 noundef %217)
  %219 = icmp slt i64 %212, %218
  br i1 %219, label %.critedge8, label %.critedge10, !llvm.loop !21

.critedge10:                                      ; preds = %.critedge8, %206
  %220 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.3118) #7
  %221 = load i64, ptr %220, align 8, !tbaa !5
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.3114) #7
  %223 = load i64, ptr %222, align 8, !tbaa !5
  %224 = sub nsw i64 %221, %223
  %225 = call noundef i64 @_Z5sqvalx(i64 noundef %224)
  %226 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.3118) #7
  %227 = load i64, ptr %226, align 8, !tbaa !5
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.098156) #7
  %229 = load i64, ptr %228, align 8, !tbaa !5
  %230 = sub nsw i64 %227, %229
  %231 = call noundef i64 @_Z5sqvalx(i64 noundef %230)
  %232 = add nsw i64 %231, %225
  %233 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.3114) #7
  %234 = load i64, ptr %233, align 8, !tbaa !5
  %235 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.098156) #7
  %236 = load i64, ptr %235, align 8, !tbaa !5
  %237 = sub nsw i64 %234, %236
  %238 = call noundef i64 @_Z5sqvalx(i64 noundef %237)
  %239 = add nsw i64 %232, %238
  %240 = call i64 @llvm.smin.i64(i64 %.2107155, i64 %239)
  %241 = add nuw nsw i64 %.098156, 1
  %242 = load i64, ptr %4, align 8, !tbaa !5
  %243 = icmp slt i64 %241, %242
  br i1 %243, label %.preheader, label %._crit_edge157, !llvm.loop !22

244:                                              ; preds = %60, %43
  %.pn = phi { ptr, i32 } [ %61, %60 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %245

245:                                              ; preds = %244, %31
  %.pn.pn = phi { ptr, i32 } [ %.pn, %244 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br label %246

246:                                              ; preds = %245, %20
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %245 ], [ %21, %20 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn.pn

._crit_edge162:                                   ; preds = %._crit_edge157, %0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  ret i32 0
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; 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 dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEEEvT_S7_(ptr, ptr) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"long long", !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 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass