; LLVM IR from kazunetakahashi/atcoder :: 2019/0721_AGC036/F.ll (Z5solvexRKSt6vectorI7ElementSaIS0_EEx)

; 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.mint = type { i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<mint>, std::allocator<std::vector<mint>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<mint>, std::allocator<std::vector<mint>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<mint>, std::allocator<std::vector<mint>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<mint>, std::allocator<std::vector<mint>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<mint, std::allocator<mint>>::_Vector_impl" }
%"struct.std::_Vector_base<mint, std::allocator<mint>>::_Vector_impl" = type { %"struct.std::_Vector_base<mint, std::allocator<mint>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mint, std::allocator<mint>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }
%"class.std::allocator.2" = type { i8 }
%struct.Element = type <{ %class.mint, %class.mint, i32, i32, i8, [7 x i8] }>

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local i64 @_Z5solvexRKSt6vectorI7ElementSaIS0_EEx(i64 noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %2) #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.mint, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca %"class.std::vector.0", align 8
  %9 = alloca %"class.std::vector.5", align 8
  %10 = alloca %class.mint, align 8
  %11 = alloca %"class.std::allocator.7", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %class.mint, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %class.mint, align 8
  %20 = alloca %class.mint, align 8
  %21 = alloca %class.mint, align 8
  %22 = alloca %class.mint, align 8
  %23 = alloca %class.mint, align 8
  %24 = alloca %class.mint, align 8
  %25 = alloca %class.mint, align 8
  %26 = alloca %class.mint, align 8
  %27 = alloca %class.mint, align 8
  %28 = alloca %class.mint, align 8
  %29 = alloca %class.mint, align 8
  %30 = alloca %class.mint, align 8
  %31 = alloca %class.mint, align 8
  %32 = alloca %class.mint, align 8
  %33 = alloca %class.mint, align 8
  %34 = alloca %class.mint, align 8
  %35 = alloca %class.mint, align 8
  %36 = alloca %class.mint, align 8
  store i64 %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !9
  store i64 %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #4
  %37 = load i64, ptr %5, align 8, !tbaa !5
  %38 = mul nsw i64 2, %37
  %39 = add nsw i64 %38, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #4
  %40 = load i64, ptr %5, align 8, !tbaa !5
  %41 = mul nsw i64 2, %40
  %42 = add nsw i64 %41, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  call void @_ZNSaI4mintEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #4
  invoke void @_ZNSt6vectorI4mintSaIS0_EEC2EmRKS0_RKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %42, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %43 unwind label %55

43:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  call void @_ZNSaISt6vectorI4mintSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  invoke void @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEC2EmRKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %39, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %44 unwind label %59

44:                                               ; preds = %43
  call void @_ZNSt15__new_allocatorISt6vectorI4mintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @_ZNSt6vectorI4mintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @_ZNSt15__new_allocatorI4mintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %15, i64 noundef 1)
          to label %45 unwind label %64

45:                                               ; preds = %44
  %46 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #4
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef 0) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %47, ptr align 8 %15, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !12
  br label %48

48:                                               ; preds = %264, %45
  %49 = load i32, ptr %16, align 4, !tbaa !12
  %50 = sext i32 %49 to i64
  %51 = load i64, ptr %5, align 8, !tbaa !5
  %52 = mul nsw i64 2, %51
  %53 = icmp slt i64 %50, %52
  br i1 %53, label %68, label %54

54:                                               ; preds = %48
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %267

55:                                               ; preds = %3
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %12, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %13, align 4
  br label %63

59:                                               ; preds = %43
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %12, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %13, align 4
  call void @_ZNSt15__new_allocatorISt6vectorI4mintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @_ZNSt6vectorI4mintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  br label %63

63:                                               ; preds = %59, %55
  call void @_ZNSt15__new_allocatorI4mintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  br label %276

64:                                               ; preds = %44
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %12, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br label %275

68:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !12
  br label %69

69:                                               ; preds = %259, %68
  %70 = load i32, ptr %18, align 4, !tbaa !12
  %71 = load i32, ptr %16, align 4, !tbaa !12
  %72 = icmp sle i32 %70, %71
  br i1 %72, label %74, label %73

73:                                               ; preds = %69
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %263

74:                                               ; preds = %69
  %75 = load i32, ptr %16, align 4, !tbaa !12
  %76 = sext i32 %75 to i64
  %77 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %76) #4
  %78 = load i32, ptr %18, align 4, !tbaa !12
  %79 = sext i32 %78 to i64
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %79) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %19, i64 noundef 0)
          to label %81 unwind label %85

81:                                               ; preds = %74
  %82 = invoke noundef zeroext i1 @_ZNK4minteqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %83 unwind label %85

83:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br i1 %82, label %84, label %89

84:                                               ; preds = %83
  br label %259

85:                                               ; preds = %81, %74
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %12, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %262

89:                                               ; preds = %83
  %90 = load ptr, ptr %6, align 8, !tbaa !9
  %91 = load i32, ptr %16, align 4, !tbaa !12
  %92 = sext i32 %91 to i64
  %93 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %92) #4
  %94 = getelementptr inbounds %struct.Element, ptr %93, i32 0, i32 4
  %95 = load i8, ptr %94, align 8, !tbaa !14, !range !18, !noundef !19
  %96 = trunc i8 %95 to i1
  br i1 %96, label %97, label %147

97:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %98 = load i32, ptr %16, align 4, !tbaa !12
  %99 = sext i32 %98 to i64
  %100 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %99) #4
  %101 = load i32, ptr %18, align 4, !tbaa !12
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %102) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %104 = load ptr, ptr %6, align 8, !tbaa !9
  %105 = load i32, ptr %16, align 4, !tbaa !12
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %106) #4
  %108 = getelementptr inbounds %struct.Element, ptr %107, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %109 = load ptr, ptr %6, align 8, !tbaa !9
  %110 = load i32, ptr %16, align 4, !tbaa !12
  %111 = sext i32 %110 to i64
  %112 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %111) #4
  %113 = getelementptr inbounds %struct.Element, ptr %112, i32 0, i32 3
  %114 = load i32, ptr %113, align 4, !tbaa !20
  %115 = sext i32 %114 to i64
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %23, i64 noundef %115)
          to label %116 unwind label %138

116:                                              ; preds = %97
  %117 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %118 unwind label %138

118:                                              ; preds = %116
  %119 = getelementptr inbounds %class.mint, ptr %22, i32 0, i32 0
  store i64 %117, ptr %119, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %120 = load i32, ptr %18, align 4, !tbaa !12
  %121 = sext i32 %120 to i64
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %24, i64 noundef %121)
          to label %122 unwind label %142

122:                                              ; preds = %118
  %123 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %124 unwind label %142

124:                                              ; preds = %122
  %125 = getelementptr inbounds %class.mint, ptr %21, i32 0, i32 0
  store i64 %123, ptr %125, align 8
  %126 = invoke i64 @_ZNK4mintmlERKS_(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %127 unwind label %142

127:                                              ; preds = %124
  %128 = getelementptr inbounds %class.mint, ptr %20, i32 0, i32 0
  store i64 %126, ptr %128, align 8
  %129 = load i32, ptr %16, align 4, !tbaa !12
  %130 = add nsw i32 %129, 1
  %131 = sext i32 %130 to i64
  %132 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %131) #4
  %133 = load i32, ptr %18, align 4, !tbaa !12
  %134 = sext i32 %133 to i64
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %134) #4
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4mintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %137 unwind label %142

137:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  br label %258

138:                                              ; preds = %116, %97
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %12, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %13, align 4
  br label %146

142:                                              ; preds = %127, %124, %122, %118
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %12, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  br label %146

146:                                              ; preds = %142, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  br label %262

147:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %148 = load i32, ptr %16, align 4, !tbaa !12
  %149 = sext i32 %148 to i64
  %150 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %149) #4
  %151 = load i32, ptr %18, align 4, !tbaa !12
  %152 = sext i32 %151 to i64
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %150, i64 noundef %152) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %154 = load ptr, ptr %6, align 8, !tbaa !9
  %155 = load i32, ptr %16, align 4, !tbaa !12
  %156 = sext i32 %155 to i64
  %157 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %156) #4
  %158 = getelementptr inbounds %struct.Element, ptr %157, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  %159 = load ptr, ptr %6, align 8, !tbaa !9
  %160 = load i32, ptr %16, align 4, !tbaa !12
  %161 = sext i32 %160 to i64
  %162 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef %161) #4
  %163 = getelementptr inbounds %struct.Element, ptr %162, i32 0, i32 3
  %164 = load i32, ptr %163, align 4, !tbaa !20
  %165 = sext i32 %164 to i64
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %28, i64 noundef %165)
          to label %166 unwind label %235

166:                                              ; preds = %147
  %167 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %168 unwind label %235

168:                                              ; preds = %166
  %169 = getelementptr inbounds %class.mint, ptr %27, i32 0, i32 0
  store i64 %167, ptr %169, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  %170 = load i32, ptr %18, align 4, !tbaa !12
  %171 = sext i32 %170 to i64
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %29, i64 noundef %171)
          to label %172 unwind label %239

172:                                              ; preds = %168
  %173 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %174 unwind label %239

174:                                              ; preds = %172
  %175 = getelementptr inbounds %class.mint, ptr %26, i32 0, i32 0
  store i64 %173, ptr %175, align 8
  %176 = invoke i64 @_ZNK4mintmlERKS_(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %177 unwind label %239

177:                                              ; preds = %174
  %178 = getelementptr inbounds %class.mint, ptr %25, i32 0, i32 0
  store i64 %176, ptr %178, align 8
  %179 = load i32, ptr %16, align 4, !tbaa !12
  %180 = add nsw i32 %179, 1
  %181 = sext i32 %180 to i64
  %182 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %181) #4
  %183 = load i32, ptr %18, align 4, !tbaa !12
  %184 = add nsw i32 %183, 1
  %185 = sext i32 %184 to i64
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %185) #4
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4mintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %188 unwind label %239

188:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  %189 = load i32, ptr %16, align 4, !tbaa !12
  %190 = sext i32 %189 to i64
  %191 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %190) #4
  %192 = load i32, ptr %18, align 4, !tbaa !12
  %193 = sext i32 %192 to i64
  %194 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %193) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  %195 = load ptr, ptr %6, align 8, !tbaa !9
  %196 = load i32, ptr %16, align 4, !tbaa !12
  %197 = sext i32 %196 to i64
  %198 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %195, i64 noundef %197) #4
  %199 = getelementptr inbounds %struct.Element, ptr %198, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  %200 = load i64, ptr %5, align 8, !tbaa !5
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %34, i64 noundef %200)
          to label %201 unwind label %244

201:                                              ; preds = %188
  %202 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %203 unwind label %244

203:                                              ; preds = %201
  %204 = getelementptr inbounds %class.mint, ptr %33, i32 0, i32 0
  store i64 %202, ptr %204, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  %205 = load i64, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %35, i64 noundef %205)
          to label %206 unwind label %248

206:                                              ; preds = %203
  %207 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %208 unwind label %248

208:                                              ; preds = %206
  %209 = getelementptr inbounds %class.mint, ptr %32, i32 0, i32 0
  store i64 %207, ptr %209, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  %210 = load ptr, ptr %6, align 8, !tbaa !9
  %211 = load i32, ptr %16, align 4, !tbaa !12
  %212 = sext i32 %211 to i64
  %213 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %210, i64 noundef %212) #4
  %214 = getelementptr inbounds %struct.Element, ptr %213, i32 0, i32 2
  %215 = load i32, ptr %214, align 8, !tbaa !21
  %216 = load i32, ptr %18, align 4, !tbaa !12
  %217 = sub nsw i32 %215, %216
  %218 = sext i32 %217 to i64
  invoke void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %36, i64 noundef %218)
          to label %219 unwind label %252

219:                                              ; preds = %208
  %220 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %221 unwind label %252

221:                                              ; preds = %219
  %222 = getelementptr inbounds %class.mint, ptr %31, i32 0, i32 0
  store i64 %220, ptr %222, align 8
  %223 = invoke i64 @_ZNK4mintmlERKS_(ptr noundef nonnull align 8 dereferenceable(8) %194, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %224 unwind label %252

224:                                              ; preds = %221
  %225 = getelementptr inbounds %class.mint, ptr %30, i32 0, i32 0
  store i64 %223, ptr %225, align 8
  %226 = load i32, ptr %16, align 4, !tbaa !12
  %227 = add nsw i32 %226, 1
  %228 = sext i32 %227 to i64
  %229 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %228) #4
  %230 = load i32, ptr %18, align 4, !tbaa !12
  %231 = sext i32 %230 to i64
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %229, i64 noundef %231) #4
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4mintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %232, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %234 unwind label %252

234:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  br label %258

235:                                              ; preds = %166, %147
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %12, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %13, align 4
  br label %243

239:                                              ; preds = %177, %174, %172, %168
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %12, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  br label %243

243:                                              ; preds = %239, %235
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  br label %262

244:                                              ; preds = %201, %188
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %12, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %13, align 4
  br label %257

248:                                              ; preds = %206, %203
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %12, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %13, align 4
  br label %256

252:                                              ; preds = %224, %221, %219, %208
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %12, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  br label %256

256:                                              ; preds = %252, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  br label %257

257:                                              ; preds = %256, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  br label %262

258:                                              ; preds = %234, %137
  br label %259

259:                                              ; preds = %258, %84
  %260 = load i32, ptr %18, align 4, !tbaa !12
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %18, align 4, !tbaa !12
  br label %69, !llvm.loop !22

262:                                              ; preds = %257, %243, %146, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %275

263:                                              ; preds = %73
  br label %264

264:                                              ; preds = %263
  %265 = load i32, ptr %16, align 4, !tbaa !12
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %16, align 4, !tbaa !12
  br label %48, !llvm.loop !24

267:                                              ; preds = %54
  %268 = load i64, ptr %5, align 8, !tbaa !5
  %269 = mul nsw i64 2, %268
  %270 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %269) #4
  %271 = load i64, ptr %7, align 8, !tbaa !5
  %272 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %270, i64 noundef %271) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %4, ptr align 8 %272, i64 8, i1 false), !tbaa.struct !11
  store i32 1, ptr %17, align 4
  call void @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  %273 = getelementptr inbounds %class.mint, ptr %4, i32 0, i32 0
  %274 = load i64, ptr %273, align 8
  ret i64 %274

275:                                              ; preds = %262, %64
  call void @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  br label %276

276:                                              ; preds = %275, %63
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #4
  br label %277

277:                                              ; preds = %276
  %278 = load ptr, ptr %12, align 8
  %279 = load i32, ptr %13, align 4
  %280 = insertvalue { ptr, i32 } poison, ptr %278, 0
  %281 = insertvalue { ptr, i32 } %280, i32 %279, 1
  resume { ptr, i32 } %281
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4minteqERKS_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZNK4mintmlERKS_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{i64 0, i64 8, !5}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !17, i64 24}
!15 = !{!"_ZTS7Element", !16, i64 0, !16, i64 8, !13, i64 16, !13, i64 20, !17, i64 24}
!16 = !{!"_ZTS4mint", !6, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!15, !13, i64 20}
!21 = !{!15, !13, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}


; 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<mint>, std::allocator<std::vector<mint>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<mint>, std::allocator<std::vector<mint>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<mint>, std::allocator<std::vector<mint>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<mint>, std::allocator<std::vector<mint>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<mint, std::allocator<mint>>::_Vector_impl" }
%"struct.std::_Vector_base<mint, std::allocator<mint>>::_Vector_impl" = type { %"struct.std::_Vector_base<mint, std::allocator<mint>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mint, std::allocator<mint>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.mint = type { i64 }
%"class.std::allocator.7" = type { i8 }
%"class.std::allocator.2" = type { i8 }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local i64 @_Z5solvexRKSt6vectorI7ElementSaIS0_EEx(i64 noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.0", align 8
  %5 = alloca %"class.std::vector.5", align 8
  %6 = alloca %class.mint, align 8
  %7 = alloca %"class.std::allocator.7", align 1
  %8 = alloca %"class.std::allocator.2", align 1
  %9 = alloca %class.mint, align 8
  %10 = alloca %class.mint, align 8
  %11 = alloca %class.mint, align 8
  %12 = alloca %class.mint, align 8
  %13 = alloca %class.mint, align 8
  %14 = alloca %class.mint, align 8
  %15 = alloca %class.mint, align 8
  %16 = alloca %class.mint, align 8
  %17 = alloca %class.mint, align 8
  %18 = alloca %class.mint, align 8
  %19 = alloca %class.mint, align 8
  %20 = alloca %class.mint, align 8
  %21 = alloca %class.mint, align 8
  %22 = alloca %class.mint, align 8
  %23 = alloca %class.mint, align 8
  %24 = alloca %class.mint, align 8
  %25 = alloca %class.mint, align 8
  %26 = alloca %class.mint, align 8
  %27 = alloca %class.mint, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
  %28 = shl i64 %0, 1
  %29 = or disjoint i64 %28, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #4
  call void @_ZNSaI4mintEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  invoke void @_ZNSt6vectorI4mintSaIS0_EEC2EmRKS0_RKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %29, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %30 unwind label %38

30:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #4
  call void @_ZNSaISt6vectorI4mintSaIS0_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  invoke void @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEC2EmRKS2_RKS3_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %29, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %31 unwind label %40

31:                                               ; preds = %30
  call void @_ZNSt15__new_allocatorISt6vectorI4mintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  call void @_ZNSt6vectorI4mintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @_ZNSt15__new_allocatorI4mintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %9, i64 noundef 1)
  %32 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 0) #4
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #4
  %34 = load i64, ptr %9, align 8, !tbaa !5
  store i64 %34, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  %35 = icmp sgt i64 %0, 0
  br i1 %35, label %.preheader.preheader, label %._crit_edge

.preheader.preheader:                             ; preds = %31
  %smax = call i64 @llvm.smax.i64(i64 %28, i64 1)
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %43
  %indvars.iv72 = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next73, %43 ]
  %indvars.iv70 = phi i64 [ 1, %.preheader.preheader ], [ %indvars.iv.next71, %43 ]
  %indvars.iv.next73 = add nuw nsw i64 %indvars.iv72, 1
  br label %44

._crit_edge:                                      ; preds = %43, %31
  %36 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %28) #4
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %2) #4
  %.sroa.0.0.copyload = load i64, ptr %37, align 8, !tbaa !5
  call void @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  ret i64 %.sroa.0.0.copyload

38:                                               ; preds = %3
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %42

40:                                               ; preds = %30
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorI4mintSaIS1_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  call void @_ZNSt6vectorI4mintSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  br label %42

42:                                               ; preds = %40, %38
  %.pn = phi { ptr, i32 } [ %41, %40 ], [ %39, %38 ]
  call void @_ZNSt15__new_allocatorI4mintED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  br label %129

43:                                               ; preds = %127
  %indvars.iv.next71 = add nuw nsw i64 %indvars.iv70, 1
  %exitcond77.not = icmp eq i64 %indvars.iv.next73, %smax
  br i1 %exitcond77.not, label %._crit_edge, label %.preheader, !llvm.loop !9

44:                                               ; preds = %.preheader, %127
  %indvars.iv = phi i64 [ 0, %.preheader ], [ %indvars.iv.next, %127 ]
  %45 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv72) #4
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %indvars.iv) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef 0)
  %47 = call noundef zeroext i1 @_ZNK4minteqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  br i1 %47, label %127, label %48

48:                                               ; preds = %44
  %49 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv72) #4
  %50 = getelementptr inbounds i8, ptr %49, i64 24
  %51 = load i8, ptr %50, align 8, !tbaa !11, !range !16, !noundef !17
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %53, label %75

53:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %54 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv72) #4
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %indvars.iv) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  %56 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv72) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %57 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv72) #4
  %58 = getelementptr inbounds i8, ptr %57, i64 20
  %59 = load i32, ptr %58, align 4, !tbaa !18
  %60 = sext i32 %59 to i64
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %14, i64 noundef %60)
  %61 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %62 unwind label %70

62:                                               ; preds = %53
  store i64 %61, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %15, i64 noundef %indvars.iv)
  %63 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %64 unwind label %72

64:                                               ; preds = %62
  store i64 %63, ptr %12, align 8
  %65 = invoke i64 @_ZNK4mintmlERKS_(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %66 unwind label %72

66:                                               ; preds = %64
  store i64 %65, ptr %11, align 8
  %67 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv.next73) #4
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %indvars.iv) #4
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4mintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  br label %127

70:                                               ; preds = %53
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %74

72:                                               ; preds = %64, %62
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  br label %74

74:                                               ; preds = %72, %70
  %.pn61 = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  br label %128

75:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #4
  %76 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv72) #4
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %indvars.iv) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  %78 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv72) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  %79 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv72) #4
  %80 = getelementptr inbounds i8, ptr %79, i64 20
  %81 = load i32, ptr %80, align 4, !tbaa !18
  %82 = sext i32 %81 to i64
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %19, i64 noundef %82)
  %83 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %84 unwind label %114

84:                                               ; preds = %75
  store i64 %83, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %20, i64 noundef %indvars.iv)
  %85 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %86 unwind label %116

86:                                               ; preds = %84
  store i64 %85, ptr %17, align 8
  %87 = invoke i64 @_ZNK4mintmlERKS_(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %88 unwind label %116

88:                                               ; preds = %86
  store i64 %87, ptr %16, align 8
  %89 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv.next73) #4
  %90 = add nuw nsw i64 %indvars.iv, 1
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %90) #4
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4mintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  %93 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv72) #4
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %indvars.iv) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #4
  %95 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv72) #4
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #4
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %25, i64 noundef %0)
  %97 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %98 unwind label %119

98:                                               ; preds = %88
  store i64 %97, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #4
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %26, i64 noundef %2)
  %99 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %100 unwind label %121

100:                                              ; preds = %98
  store i64 %99, ptr %23, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #4
  %101 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv72) #4
  %102 = getelementptr inbounds i8, ptr %101, i64 16
  %103 = load i32, ptr %102, align 8, !tbaa !19
  %104 = trunc nuw nsw i64 %indvars.iv to i32
  %105 = sub nsw i32 %103, %104
  %106 = sext i32 %105 to i64
  call void @_ZN4mintC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %27, i64 noundef %106)
  %107 = invoke i64 @_ZNK4mintmiERKS_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %108 unwind label %123

108:                                              ; preds = %100
  store i64 %107, ptr %22, align 8
  %109 = invoke i64 @_ZNK4mintmlERKS_(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %110 unwind label %123

110:                                              ; preds = %108
  store i64 %109, ptr %21, align 8
  %111 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv.next73) #4
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4mintSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef %indvars.iv) #4
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4mintpLERKS_(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  br label %127

114:                                              ; preds = %75
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %118

116:                                              ; preds = %86, %84
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  br label %118

118:                                              ; preds = %116, %114
  %.pn56 = phi { ptr, i32 } [ %117, %116 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #4
  br label %128

119:                                              ; preds = %88
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %126

121:                                              ; preds = %98
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %125

123:                                              ; preds = %108, %100
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #4
  br label %125

125:                                              ; preds = %123, %121
  %.pn58 = phi { ptr, i32 } [ %124, %123 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #4
  br label %126

126:                                              ; preds = %125, %119
  %.pn58.pn = phi { ptr, i32 } [ %.pn58, %125 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  br label %128

127:                                              ; preds = %66, %110, %44
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %indvars.iv70
  br i1 %exitcond.not, label %43, label %44, !llvm.loop !20

128:                                              ; preds = %126, %118, %74
  %.pn61.pn = phi { ptr, i32 } [ %.pn61, %74 ], [ %.pn58.pn, %126 ], [ %.pn56, %118 ]
  call void @_ZNSt6vectorIS_I4mintSaIS0_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  br label %129

129:                                              ; preds = %128, %42
  %.pn61.pn.pn = phi { ptr, i32 } [ %.pn61.pn, %128 ], [ %.pn, %42 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  resume { ptr, i32 } %.pn61.pn.pn
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4minteqERKS_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(25) ptr @_ZNKSt6vectorI7ElementSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = !{!12, !15, i64 24}
!12 = !{!"_ZTS7Element", !13, i64 0, !13, i64 8, !14, i64 16, !14, i64 20, !15, i64 24}
!13 = !{!"_ZTS4mint", !6, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!12, !14, i64 20}
!19 = !{!12, !14, i64 16}
!20 = distinct !{!20, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass