; LLVM IR from xirc/cp-algorithm :: atcoder/abc011/D/main.ll (Z5solvev)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<long double>, std::allocator<std::vector<long double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<long double>, std::allocator<std::vector<long double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<long double>, std::allocator<std::vector<long double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<long double>, std::allocator<std::vector<long double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<long double, std::allocator<long double>>::_Vector_impl" }
%"struct.std::_Vector_base<long double, std::allocator<long double>>::_Vector_impl" = type { %"struct.std::_Vector_base<long double, std::allocator<long double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long double, std::allocator<long double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::plus" = type { i8 }

@N = external dso_local global i32, align 4
@X = external dso_local global i64, align 8
@Y = external dso_local global i64, align 8
@D = external dso_local global i64, align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef x86_fp80 @_Z5solvev() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca x86_fp80, align 16
  %2 = alloca %"class.std::vector", align 8
  %3 = alloca %"class.std::vector.0", align 8
  %4 = alloca x86_fp80, align 16
  %5 = alloca %"class.std::allocator.2", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::vector.0", align 8
  %15 = alloca x86_fp80, align 16
  %16 = alloca %"class.std::allocator.2", align 1
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::vector.0", align 8
  %21 = alloca i32, align 4
  %22 = alloca x86_fp80, align 16
  %23 = alloca x86_fp80, align 16
  %24 = alloca x86_fp80, align 16
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"struct.std::plus", align 1
  %30 = load i64, ptr @X, align 8, !tbaa !5
  %31 = load i64, ptr @D, align 8, !tbaa !5
  %32 = srem i64 %30, %31
  %33 = icmp ne i64 %32, 0
  br i1 %33, label %39, label %34

34:                                               ; preds = %0
  %35 = load i64, ptr @Y, align 8, !tbaa !5
  %36 = load i64, ptr @D, align 8, !tbaa !5
  %37 = srem i64 %35, %36
  %38 = icmp ne i64 %37, 0
  br i1 %38, label %39, label %40

39:                                               ; preds = %34, %0
  store x86_fp80 0xK00000000000000000000, ptr %1, align 16
  br label %292

40:                                               ; preds = %34
  %41 = load i64, ptr @D, align 8, !tbaa !5
  %42 = load i64, ptr @X, align 8, !tbaa !5
  %43 = sdiv i64 %42, %41
  store i64 %43, ptr @X, align 8, !tbaa !5
  %44 = load i64, ptr @D, align 8, !tbaa !5
  %45 = load i64, ptr @Y, align 8, !tbaa !5
  %46 = sdiv i64 %45, %44
  store i64 %46, ptr @Y, align 8, !tbaa !5
  %47 = load i64, ptr @X, align 8, !tbaa !5
  %48 = load i32, ptr @N, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = icmp sgt i64 %47, %49
  br i1 %50, label %56, label %51

51:                                               ; preds = %40
  %52 = load i64, ptr @Y, align 8, !tbaa !5
  %53 = load i32, ptr @N, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = icmp sgt i64 %52, %54
  br i1 %55, label %56, label %57

56:                                               ; preds = %51, %40
  store x86_fp80 0xK00000000000000000000, ptr %1, align 16
  br label %292

57:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 24, ptr %2) #5
  %58 = load i32, ptr @N, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  %60 = sext i32 %59 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #5
  %61 = load i32, ptr @N, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  %63 = sext i32 %62 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #5
  store x86_fp80 0xK00000000000000000000, ptr %4, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  call void @_ZNSaIeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZNSt6vectorIeSaIeEEC2EmRKeRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %63, ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %64 unwind label %73

64:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  call void @_ZNSaISt6vectorIeSaIeEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  invoke void @_ZNSt6vectorIS_IeSaIeEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %60, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %65 unwind label %77

65:                                               ; preds = %64
  call void @_ZNSt15__new_allocatorISt6vectorIeSaIeEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @_ZNSt15__new_allocatorIeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #5
  %67 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef 0) #5
  store x86_fp80 0xK3FFF8000000000000000, ptr %67, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %125, %65
  %69 = load i32, ptr %9, align 4, !tbaa !9
  %70 = load i32, ptr @N, align 4, !tbaa !9
  %71 = icmp sle i32 %69, %70
  br i1 %71, label %82, label %72

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

73:                                               ; preds = %57
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %6, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %7, align 4
  br label %81

77:                                               ; preds = %64
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %6, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %7, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIeSaIeEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  br label %81

81:                                               ; preds = %77, %73
  call void @_ZNSt15__new_allocatorIeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  br label %291

82:                                               ; preds = %68
  %83 = load i32, ptr %9, align 4, !tbaa !9
  %84 = sitofp i32 %83 to x86_fp80
  %85 = call x86_fp80 @powl(x86_fp80 noundef 0xK3FFE8000000000000000, x86_fp80 noundef %84) #5
  %86 = load i32, ptr %9, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %87) #5
  %89 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef 0) #5
  store x86_fp80 %85, ptr %89, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 1, ptr %11, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %121, %82
  %91 = load i32, ptr %11, align 4, !tbaa !9
  %92 = load i32, ptr %9, align 4, !tbaa !9
  %93 = icmp sle i32 %91, %92
  br i1 %93, label %95, label %94

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

95:                                               ; preds = %90
  %96 = load i32, ptr %9, align 4, !tbaa !9
  %97 = sub nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %98) #5
  %100 = load i32, ptr %11, align 4, !tbaa !9
  %101 = sub nsw i32 %100, 1
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %102) #5
  %104 = load x86_fp80, ptr %103, align 16, !tbaa !11
  %105 = load i32, ptr %9, align 4, !tbaa !9
  %106 = sub nsw i32 %105, 1
  %107 = sext i32 %106 to i64
  %108 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %107) #5
  %109 = load i32, ptr %11, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef %110) #5
  %112 = load x86_fp80, ptr %111, align 16, !tbaa !11
  %113 = fadd x86_fp80 %104, %112
  %114 = fdiv x86_fp80 %113, 0xK40008000000000000000
  %115 = load i32, ptr %9, align 4, !tbaa !9
  %116 = sext i32 %115 to i64
  %117 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %116) #5
  %118 = load i32, ptr %11, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %119) #5
  store x86_fp80 %114, ptr %120, align 16, !tbaa !11
  br label %121

121:                                              ; preds = %95
  %122 = load i32, ptr %11, align 4, !tbaa !9
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %11, align 4, !tbaa !9
  br label %90, !llvm.loop !13

124:                                              ; preds = %94
  br label %125

125:                                              ; preds = %124
  %126 = load i32, ptr %9, align 4, !tbaa !9
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %9, align 4, !tbaa !9
  br label %68, !llvm.loop !15

128:                                              ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %129 = load i32, ptr @N, align 4, !tbaa !9
  %130 = mul nsw i32 2, %129
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #5
  %132 = load i32, ptr @N, align 4, !tbaa !9
  %133 = add nsw i32 %132, 1
  %134 = sext i32 %133 to i64
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  %135 = load i32, ptr %12, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  store x86_fp80 0xK00000000000000000000, ptr %15, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #5
  call void @_ZNSaIeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  invoke void @_ZNSt6vectorIeSaIeEEC2EmRKeRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %136, ptr noundef nonnull align 16 dereferenceable(16) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %137 unwind label %149

137:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #5
  call void @_ZNSaISt6vectorIeSaIeEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  invoke void @_ZNSt6vectorIS_IeSaIeEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %134, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %138 unwind label %153

138:                                              ; preds = %137
  call void @_ZNSt15__new_allocatorISt6vectorIeSaIeEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  call void @_ZNSt15__new_allocatorIeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  %139 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0) #5
  %140 = load i32, ptr @N, align 4, !tbaa !9
  %141 = add nsw i32 0, %140
  %142 = sext i32 %141 to i64
  %143 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %142) #5
  store x86_fp80 0xK3FFF8000000000000000, ptr %143, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 1, ptr %18, align 4, !tbaa !9
  br label %144

144:                                              ; preds = %216, %138
  %145 = load i32, ptr %18, align 4, !tbaa !9
  %146 = load i32, ptr @N, align 4, !tbaa !9
  %147 = icmp sle i32 %145, %146
  br i1 %147, label %158, label %148

148:                                              ; preds = %144
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %219

149:                                              ; preds = %128
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %6, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %7, align 4
  br label %157

153:                                              ; preds = %137
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %6, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %7, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIeSaIeEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #5
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #5
  br label %157

157:                                              ; preds = %153, %149
  call void @_ZNSt15__new_allocatorIeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  br label %290

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

159:                                              ; preds = %212, %158
  %160 = load i32, ptr %19, align 4, !tbaa !9
  %161 = load i32, ptr %12, align 4, !tbaa !9
  %162 = icmp slt i32 %160, %161
  br i1 %162, label %164, label %163

163:                                              ; preds = %159
  store i32 11, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %215

164:                                              ; preds = %159
  %165 = load i32, ptr %19, align 4, !tbaa !9
  %166 = sub nsw i32 %165, 1
  %167 = icmp sge i32 %166, 0
  br i1 %167, label %168, label %187

168:                                              ; preds = %164
  %169 = load i32, ptr %18, align 4, !tbaa !9
  %170 = sub nsw i32 %169, 1
  %171 = sext i32 %170 to i64
  %172 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %171) #5
  %173 = load i32, ptr %19, align 4, !tbaa !9
  %174 = sext i32 %173 to i64
  %175 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %172, i64 noundef %174) #5
  %176 = load x86_fp80, ptr %175, align 16, !tbaa !11
  %177 = fdiv x86_fp80 %176, 0xK40008000000000000000
  %178 = load i32, ptr %18, align 4, !tbaa !9
  %179 = sext i32 %178 to i64
  %180 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %179) #5
  %181 = load i32, ptr %19, align 4, !tbaa !9
  %182 = sub nsw i32 %181, 1
  %183 = sext i32 %182 to i64
  %184 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %180, i64 noundef %183) #5
  %185 = load x86_fp80, ptr %184, align 16, !tbaa !11
  %186 = fadd x86_fp80 %185, %177
  store x86_fp80 %186, ptr %184, align 16, !tbaa !11
  br label %187

187:                                              ; preds = %168, %164
  %188 = load i32, ptr %19, align 4, !tbaa !9
  %189 = add nsw i32 %188, 1
  %190 = load i32, ptr %12, align 4, !tbaa !9
  %191 = icmp slt i32 %189, %190
  br i1 %191, label %192, label %211

192:                                              ; preds = %187
  %193 = load i32, ptr %18, align 4, !tbaa !9
  %194 = sub nsw i32 %193, 1
  %195 = sext i32 %194 to i64
  %196 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %195) #5
  %197 = load i32, ptr %19, align 4, !tbaa !9
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %196, i64 noundef %198) #5
  %200 = load x86_fp80, ptr %199, align 16, !tbaa !11
  %201 = fdiv x86_fp80 %200, 0xK40008000000000000000
  %202 = load i32, ptr %18, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %203) #5
  %205 = load i32, ptr %19, align 4, !tbaa !9
  %206 = add nsw i32 %205, 1
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %204, i64 noundef %207) #5
  %209 = load x86_fp80, ptr %208, align 16, !tbaa !11
  %210 = fadd x86_fp80 %209, %201
  store x86_fp80 %210, ptr %208, align 16, !tbaa !11
  br label %211

211:                                              ; preds = %192, %187
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %19, align 4, !tbaa !9
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %19, align 4, !tbaa !9
  br label %159, !llvm.loop !16

215:                                              ; preds = %163
  br label %216

216:                                              ; preds = %215
  %217 = load i32, ptr %18, align 4, !tbaa !9
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %18, align 4, !tbaa !9
  br label %144, !llvm.loop !17

219:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #5
  call void @_ZNSt6vectorIeSaIeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %220

220:                                              ; preds = %258, %219
  %221 = load i32, ptr %21, align 4, !tbaa !9
  %222 = load i32, ptr @N, align 4, !tbaa !9
  %223 = icmp sle i32 %221, %222
  br i1 %223, label %225, label %224

224:                                              ; preds = %220
  store i32 14, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %265

225:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  %226 = load i32, ptr %21, align 4, !tbaa !9
  %227 = sext i32 %226 to i64
  %228 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %227) #5
  %229 = load i64, ptr @X, align 8, !tbaa !5
  %230 = load i32, ptr @N, align 4, !tbaa !9
  %231 = sext i32 %230 to i64
  %232 = add nsw i64 %229, %231
  %233 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %228, i64 noundef %232) #5
  %234 = load x86_fp80, ptr %233, align 16, !tbaa !11
  store x86_fp80 %234, ptr %22, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  %235 = load i32, ptr @N, align 4, !tbaa !9
  %236 = load i32, ptr %21, align 4, !tbaa !9
  %237 = sub nsw i32 %235, %236
  %238 = sext i32 %237 to i64
  %239 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %238) #5
  %240 = load i64, ptr @Y, align 8, !tbaa !5
  %241 = load i32, ptr @N, align 4, !tbaa !9
  %242 = sext i32 %241 to i64
  %243 = add nsw i64 %240, %242
  %244 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %239, i64 noundef %243) #5
  %245 = load x86_fp80, ptr %244, align 16, !tbaa !11
  store x86_fp80 %245, ptr %23, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  %246 = load i32, ptr @N, align 4, !tbaa !9
  %247 = sext i32 %246 to i64
  %248 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %247) #5
  %249 = load i32, ptr %21, align 4, !tbaa !9
  %250 = sext i32 %249 to i64
  %251 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %248, i64 noundef %250) #5
  %252 = load x86_fp80, ptr %251, align 16, !tbaa !11
  %253 = load x86_fp80, ptr %22, align 16, !tbaa !11
  %254 = fmul x86_fp80 %252, %253
  %255 = load x86_fp80, ptr %23, align 16, !tbaa !11
  %256 = fmul x86_fp80 %254, %255
  store x86_fp80 %256, ptr %24, align 16, !tbaa !11
  invoke void @_ZNSt6vectorIeSaIeEE9push_backEOe(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 16 dereferenceable(16) %24)
          to label %257 unwind label %261

257:                                              ; preds = %225
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  br label %258

258:                                              ; preds = %257
  %259 = load i32, ptr %21, align 4, !tbaa !9
  %260 = add nsw i32 %259, 1
  store i32 %260, ptr %21, align 4, !tbaa !9
  br label %220, !llvm.loop !18

261:                                              ; preds = %225
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %6, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %289

265:                                              ; preds = %224
  %266 = call ptr @_ZNSt6vectorIeSaIeEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %267 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %266, ptr %267, align 8
  %268 = call ptr @_ZNSt6vectorIeSaIeEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %269 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %268, ptr %269, align 8
  %270 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  %271 = load ptr, ptr %270, align 8
  %272 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  %273 = load ptr, ptr %272, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPeSt6vectorIeSaIeEEEEEvT_S7_(ptr %271, ptr %273)
          to label %274 unwind label %285

274:                                              ; preds = %265
  %275 = call ptr @_ZNSt6vectorIeSaIeEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %276 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %275, ptr %276, align 8
  %277 = call ptr @_ZNSt6vectorIeSaIeEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %278 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %277, ptr %278, align 8
  %279 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  %280 = load ptr, ptr %279, align 8
  %281 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  %282 = load ptr, ptr %281, align 8
  %283 = invoke noundef x86_fp80 @_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIPeSt6vectorIeSaIeEEEEeSt4plusIeEET0_T_SA_S9_T1_(ptr %280, ptr %282, x86_fp80 noundef 0xK00000000000000000000)
          to label %284 unwind label %285

284:                                              ; preds = %274
  store x86_fp80 %283, ptr %1, align 16
  store i32 1, ptr %10, align 4
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #5
  call void @_ZNSt6vectorIS_IeSaIeEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @_ZNSt6vectorIS_IeSaIeEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #5
  br label %292

285:                                              ; preds = %274, %265
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %6, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %7, align 4
  br label %289

289:                                              ; preds = %285, %261
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #5
  call void @_ZNSt6vectorIS_IeSaIeEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  br label %290

290:                                              ; preds = %289, %157
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @_ZNSt6vectorIS_IeSaIeEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  br label %291

291:                                              ; preds = %290, %81
  call void @llvm.lifetime.end.p0(i64 24, ptr %2) #5
  br label %294

292:                                              ; preds = %284, %56, %39
  %293 = load x86_fp80, ptr %1, align 16
  ret x86_fp80 %293

294:                                              ; preds = %291
  %295 = load ptr, ptr %6, align 8
  %296 = load i32, ptr %7, align 4
  %297 = insertvalue { ptr, i32 } poison, ptr %295, 0
  %298 = insertvalue { ptr, i32 } %297, i32 %296, 1
  resume { ptr, i32 } %298
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IeSaIeEESaIS1_EEC2EmRKS1_RKS2_(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 #0 align 2

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

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

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

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

; Function Attrs: nounwind
declare x86_fp80 @powl(x86_fp80 noundef, x86_fp80 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIeSaIeEE9push_backEOe(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(16)) #0 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIPeSt6vectorIeSaIeEEEEeSt4plusIeEET0_T_SA_S9_T1_(ptr, ptr, x86_fp80 noundef) #4

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

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

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

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

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

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


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

@N = external dso_local local_unnamed_addr global i32, align 4
@X = external dso_local local_unnamed_addr global i64, align 8
@Y = external dso_local local_unnamed_addr global i64, align 8
@D = external dso_local local_unnamed_addr global i64, align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef x86_fp80 @_Z5solvev() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector", align 8
  %2 = alloca %"class.std::vector.0", align 8
  %3 = alloca x86_fp80, align 16
  %4 = alloca %"class.std::allocator.2", align 1
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::vector.0", align 8
  %8 = alloca x86_fp80, align 16
  %9 = alloca %"class.std::allocator.2", align 1
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca x86_fp80, align 16
  %13 = load i64, ptr @X, align 8, !tbaa !5
  %14 = load i64, ptr @D, align 8, !tbaa !5
  %15 = srem i64 %13, %14
  %16 = sdiv i64 %13, %14
  %.not = icmp eq i64 %15, 0
  br i1 %.not, label %17, label %155

17:                                               ; preds = %0
  %18 = load i64, ptr @Y, align 8, !tbaa !5
  %19 = srem i64 %18, %14
  %20 = sdiv i64 %18, %14
  %.not59 = icmp eq i64 %19, 0
  br i1 %.not59, label %21, label %155

21:                                               ; preds = %17
  store i64 %16, ptr @X, align 8, !tbaa !5
  store i64 %20, ptr @Y, align 8, !tbaa !5
  %22 = load i32, ptr @N, align 4, !tbaa !9
  %23 = sext i32 %22 to i64
  %24 = icmp sgt i64 %16, %23
  %25 = icmp sgt i64 %20, %23
  %or.cond = or i1 %24, %25
  br i1 %or.cond, label %155, label %26

26:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #6
  %27 = add nsw i32 %22, 1
  %28 = sext i32 %27 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  store x86_fp80 0xK00000000000000000000, ptr %3, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaIeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt6vectorIeSaIeEEC2EmRKeRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %28, ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %29 unwind label %37

29:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSaISt6vectorIeSaIeEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZNSt6vectorIS_IeSaIeEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %28, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %30 unwind label %39

30:                                               ; preds = %29
  call void @_ZNSt15__new_allocatorISt6vectorIeSaIeEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  call void @_ZNSt15__new_allocatorIeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  %31 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %32 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef 0) #6
  store x86_fp80 0xK3FFF8000000000000000, ptr %32, align 16, !tbaa !11
  %33 = load i32, ptr @N, align 4, !tbaa !9
  %.not6174 = icmp slt i32 %33, 1
  br i1 %.not6174, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %47, %30
  %.lcssa = phi i32 [ %33, %30 ], [ %48, %47 ]
  %34 = shl i32 %.lcssa, 1
  %35 = or disjoint i32 %34, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  %36 = sext i32 %35 to i64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  store x86_fp80 0xK00000000000000000000, ptr %8, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  call void @_ZNSaIeEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt6vectorIeSaIeEEC2EmRKeRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %36, ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %62 unwind label %85

37:                                               ; preds = %26
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %41

39:                                               ; preds = %29
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIeSaIeEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  br label %41

41:                                               ; preds = %39, %37
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %38, %37 ]
  call void @_ZNSt15__new_allocatorIeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  br label %154

.lr.ph:                                           ; preds = %30, %47
  %indvars.iv95 = phi i64 [ %indvars.iv.next96, %47 ], [ 1, %30 ]
  %indvars.iv93 = phi i64 [ %indvars.iv.next94, %47 ], [ 2, %30 ]
  %42 = trunc i64 %indvars.iv95 to i32
  %43 = sub i32 0, %42
  %ldexpl = call x86_fp80 @ldexpl(x86_fp80 0xK3FFF8000000000000000, i32 %43)
  %44 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv95) #6
  %45 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #6
  store x86_fp80 %ldexpl, ptr %45, align 16, !tbaa !11
  %46 = add nsw i64 %indvars.iv95, -1
  br label %50

47:                                               ; preds = %50
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %48 = load i32, ptr @N, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %.not61.not = icmp slt i64 %indvars.iv95, %49
  %indvars.iv.next94 = add nuw nsw i64 %indvars.iv93, 1
  br i1 %.not61.not, label %.lr.ph, label %._crit_edge, !llvm.loop !13

50:                                               ; preds = %.lr.ph, %50
  %indvars.iv = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next, %50 ]
  %51 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %46) #6
  %52 = add nsw i64 %indvars.iv, -1
  %53 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %52) #6
  %54 = load x86_fp80, ptr %53, align 16, !tbaa !11
  %55 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %46) #6
  %56 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %indvars.iv) #6
  %57 = load x86_fp80, ptr %56, align 16, !tbaa !11
  %58 = fadd x86_fp80 %54, %57
  %59 = fmul x86_fp80 %58, 0xK3FFE8000000000000000
  %60 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv95) #6
  %61 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %indvars.iv) #6
  store x86_fp80 %59, ptr %61, align 16, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %indvars.iv93
  br i1 %exitcond.not, label %47, label %50, !llvm.loop !15

62:                                               ; preds = %._crit_edge
  %63 = add nsw i32 %.lcssa, 1
  %64 = sext i32 %63 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSaISt6vectorIeSaIeEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt6vectorIS_IeSaIeEESaIS1_EEC2EmRKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %64, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %65 unwind label %87

65:                                               ; preds = %62
  call void @_ZNSt15__new_allocatorISt6vectorIeSaIeEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @_ZNSt15__new_allocatorIeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #6
  %67 = load i32, ptr @N, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %68) #6
  store x86_fp80 0xK3FFF8000000000000000, ptr %69, align 16, !tbaa !11
  %70 = load i32, ptr @N, align 4, !tbaa !9
  %.not6480 = icmp slt i32 %70, 1
  %.not7076 = icmp slt i32 %.lcssa, 0
  %or.cond114 = or i1 %.not6480, %.not7076
  br i1 %or.cond114, label %._crit_edge82, label %.preheader.preheader

.preheader.preheader:                             ; preds = %65
  %71 = sext i32 %34 to i64
  %smax = call i32 @llvm.smax.i32(i32 %34, i32 0)
  %72 = or disjoint i32 %smax, 1
  %wide.trip.count = zext nneg i32 %72 to i64
  %73 = icmp sgt i32 %34, 0
  br label %74

74:                                               ; preds = %._crit_edge79, %.preheader.preheader
  %indvars.iv105 = phi i64 [ 1, %.preheader.preheader ], [ %indvars.iv.next106, %._crit_edge79 ]
  %75 = add nsw i64 %indvars.iv105, -1
  br i1 %73, label %.peel.next, label %._crit_edge79

.peel.next:                                       ; preds = %74
  %76 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %75) #6
  %77 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef 0) #6
  %78 = load x86_fp80, ptr %77, align 16, !tbaa !11
  %79 = fmul x86_fp80 %78, 0xK3FFE8000000000000000
  %80 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv105) #6
  %81 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef 1) #6
  %82 = load x86_fp80, ptr %81, align 16, !tbaa !11
  %83 = fadd x86_fp80 %79, %82
  store x86_fp80 %83, ptr %81, align 16, !tbaa !11
  br label %92

._crit_edge82:                                    ; preds = %._crit_edge79, %65
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIeSaIeEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %84 = load i32, ptr @N, align 4, !tbaa !9
  %.not6583 = icmp slt i32 %84, 0
  br i1 %.not6583, label %._crit_edge87, label %.lr.ph86

85:                                               ; preds = %._crit_edge
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %89

87:                                               ; preds = %62
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIeSaIeEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %89

89:                                               ; preds = %87, %85
  %.pn62 = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ]
  call void @_ZNSt15__new_allocatorIeED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  br label %153

._crit_edge79:                                    ; preds = %112, %74
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %90 = load i32, ptr @N, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %.not64.not = icmp slt i64 %indvars.iv105, %91
  br i1 %.not64.not, label %74, label %._crit_edge82, !llvm.loop !16

92:                                               ; preds = %.peel.next, %112
  %indvars.iv100 = phi i64 [ 1, %.peel.next ], [ %indvars.iv.next101, %112 ]
  %93 = add nsw i64 %indvars.iv100, -1
  %94 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %75) #6
  %95 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %indvars.iv100) #6
  %96 = load x86_fp80, ptr %95, align 16, !tbaa !11
  %97 = fmul x86_fp80 %96, 0xK3FFE8000000000000000
  %98 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv105) #6
  %99 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %93) #6
  %100 = load x86_fp80, ptr %99, align 16, !tbaa !11
  %101 = fadd x86_fp80 %97, %100
  store x86_fp80 %101, ptr %99, align 16, !tbaa !11
  %indvars.iv.next101 = add nuw nsw i64 %indvars.iv100, 1
  %102 = icmp slt i64 %indvars.iv100, %71
  br i1 %102, label %103, label %112

103:                                              ; preds = %92
  %104 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %75) #6
  %105 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %indvars.iv100) #6
  %106 = load x86_fp80, ptr %105, align 16, !tbaa !11
  %107 = fmul x86_fp80 %106, 0xK3FFE8000000000000000
  %108 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv105) #6
  %109 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef %indvars.iv.next101) #6
  %110 = load x86_fp80, ptr %109, align 16, !tbaa !11
  %111 = fadd x86_fp80 %107, %110
  store x86_fp80 %111, ptr %109, align 16, !tbaa !11
  br label %112

112:                                              ; preds = %92, %103
  %exitcond103.not = icmp eq i64 %indvars.iv.next101, %wide.trip.count
  br i1 %exitcond103.not, label %._crit_edge79, label %92, !llvm.loop !17

._crit_edge87:                                    ; preds = %140, %._crit_edge82
  %113 = call ptr @_ZNSt6vectorIeSaIeEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %114 = call ptr @_ZNSt6vectorIeSaIeEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPeSt6vectorIeSaIeEEEEEvT_S7_(ptr %113, ptr %114)
          to label %145 unwind label %150

.lr.ph86:                                         ; preds = %._crit_edge82, %140
  %indvars.iv108 = phi i64 [ %indvars.iv.next109, %140 ], [ 0, %._crit_edge82 ]
  %115 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv108) #6
  %116 = load i64, ptr @X, align 8, !tbaa !5
  %117 = load i32, ptr @N, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = add nsw i64 %116, %118
  %120 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef %119) #6
  %121 = load x86_fp80, ptr %120, align 16, !tbaa !11
  %122 = load i32, ptr @N, align 4, !tbaa !9
  %123 = trunc nuw nsw i64 %indvars.iv108 to i32
  %124 = sub nsw i32 %122, %123
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %125) #6
  %127 = load i64, ptr @Y, align 8, !tbaa !5
  %128 = load i32, ptr @N, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = add nsw i64 %127, %129
  %131 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %130) #6
  %132 = load x86_fp80, ptr %131, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %133 = load i32, ptr @N, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IeSaIeEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %134) #6
  %136 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZNSt6vectorIeSaIeEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %indvars.iv108) #6
  %137 = load x86_fp80, ptr %136, align 16, !tbaa !11
  %138 = fmul x86_fp80 %121, %137
  %139 = fmul x86_fp80 %132, %138
  store x86_fp80 %139, ptr %12, align 16, !tbaa !11
  invoke void @_ZNSt6vectorIeSaIeEE9push_backEOe(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 16 dereferenceable(16) %12)
          to label %140 unwind label %143

140:                                              ; preds = %.lr.ph86
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %141 = load i32, ptr @N, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %.not65.not = icmp slt i64 %indvars.iv108, %142
  br i1 %.not65.not, label %.lr.ph86, label %._crit_edge87, !llvm.loop !19

143:                                              ; preds = %.lr.ph86
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  br label %152

145:                                              ; preds = %._crit_edge87
  %146 = call ptr @_ZNSt6vectorIeSaIeEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %147 = call ptr @_ZNSt6vectorIeSaIeEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %148 = invoke noundef x86_fp80 @_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIPeSt6vectorIeSaIeEEEEeSt4plusIeEET0_T_SA_S9_T1_(ptr %146, ptr %147, x86_fp80 noundef 0xK00000000000000000000)
          to label %149 unwind label %150

149:                                              ; preds = %145
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIS_IeSaIeEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorIS_IeSaIeEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  br label %155

150:                                              ; preds = %145, %._crit_edge87
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %152

152:                                              ; preds = %150, %143
  %.pn66 = phi { ptr, i32 } [ %144, %143 ], [ %151, %150 ]
  call void @_ZNSt6vectorIeSaIeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIS_IeSaIeEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %153

153:                                              ; preds = %152, %89
  %.pn66.pn = phi { ptr, i32 } [ %.pn66, %152 ], [ %.pn62, %89 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorIS_IeSaIeEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  br label %154

154:                                              ; preds = %153, %41
  %.pn66.pn.pn = phi { ptr, i32 } [ %.pn66.pn, %153 ], [ %.pn, %41 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn66.pn.pn

155:                                              ; preds = %21, %0, %17, %149
  %.0 = phi x86_fp80 [ %148, %149 ], [ 0xK00000000000000000000, %17 ], [ 0xK00000000000000000000, %0 ], [ 0xK00000000000000000000, %21 ]
  ret x86_fp80 %.0
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IeSaIeEESaIS1_EEC2EmRKS1_RKS2_(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 #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIeSaIeEE9push_backEOe(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIPeSt6vectorIeSaIeEEEEeSt4plusIeEET0_T_SA_S9_T1_(ptr, ptr, x86_fp80 noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: nofree willreturn
declare x86_fp80 @ldexpl(x86_fp80, i32) local_unnamed_addr #4

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { nofree willreturn }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14, !18}
!18 = !{!"llvm.loop.peeled.count", i32 1}
!19 = distinct !{!19, !14}


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