; LLVM IR from sp-nitech/SPTK :: src/utils/misc_utils.ll (ZN4sptk37ComputePercentagePointOfTDistributionEdiPd)

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

@constinit.1 = external hidden constant [25 x i32], align 4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4sptk50ComputePercentagePointOfStandardNormalDistributionEdPd(double noundef, ptr noundef) #0

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

; Function Attrs: nounwind
declare double @log(double noundef) #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) #3

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 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 noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4sptk33ComputeProbabilityOfTDistributionEdiPd(double noundef, i32 noundef, ptr noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4sptk37ComputePercentagePointOfTDistributionEdiPd(double noundef %0, i32 noundef %1, ptr noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca %"class.std::initializer_list.5", align 8
  %13 = alloca [25 x i32], align 4
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca double, align 8
  %23 = alloca i32, align 4
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  store double %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !11
  %31 = load double, ptr %5, align 8, !tbaa !5
  %32 = fcmp ole double %31, 0.000000e+00
  br i1 %32, label %42, label %33

33:                                               ; preds = %3
  %34 = load double, ptr %5, align 8, !tbaa !5
  %35 = fcmp ole double 1.000000e+00, %34
  br i1 %35, label %42, label %36

36:                                               ; preds = %33
  %37 = load i32, ptr %6, align 4, !tbaa !9
  %38 = icmp sle i32 %37, 0
  br i1 %38, label %42, label %39

39:                                               ; preds = %36
  %40 = load ptr, ptr %7, align 8, !tbaa !11
  %41 = icmp eq ptr null, %40
  br i1 %41, label %42, label %43

42:                                               ; preds = %39, %36, %33, %3
  store i1 false, ptr %4, align 1
  br label %233

43:                                               ; preds = %39
  %44 = load double, ptr %5, align 8, !tbaa !5
  %45 = fcmp oeq double 5.000000e-01, %44
  br i1 %45, label %46, label %48

46:                                               ; preds = %43
  %47 = load ptr, ptr %7, align 8, !tbaa !11
  store double 0.000000e+00, ptr %47, align 8, !tbaa !5
  store i1 true, ptr %4, align 1
  br label %233

48:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %49 = load double, ptr %5, align 8, !tbaa !5
  %50 = call noundef zeroext i1 @_ZN4sptk50ComputePercentagePointOfStandardNormalDistributionEdPd(double noundef %49, ptr noundef %8)
  br i1 %50, label %52, label %51

51:                                               ; preds = %48
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %232

52:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %53 = load double, ptr %8, align 8, !tbaa !5
  %54 = load double, ptr %8, align 8, !tbaa !5
  %55 = fmul double %53, %54
  store double %55, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 100, ptr %13) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 @constinit.1, i64 100, i1 false), !tbaa.struct !13
  %56 = getelementptr inbounds %"class.std::initializer_list.5", ptr %12, i32 0, i32 0
  store ptr %13, ptr %56, align 8, !tbaa !15
  %57 = getelementptr inbounds %"class.std::initializer_list.5", ptr %12, i32 0, i32 1
  store i64 25, ptr %57, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  %58 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %59 = load ptr, ptr %58, align 8
  %60 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %61 = load i64, ptr %60, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %59, i64 %61, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %62 unwind label %70

62:                                               ; preds = %52
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 100, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 5, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %63 unwind label %74

63:                                               ; preds = %62
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %124, %63
  %65 = load i32, ptr %19, align 4, !tbaa !9
  %66 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  %67 = trunc i64 %66 to i32
  %68 = icmp slt i32 %65, %67
  br i1 %68, label %78, label %69

69:                                               ; preds = %64
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %127

70:                                               ; preds = %52
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %15, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %16, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 100, ptr %13) #6
  br label %231

74:                                               ; preds = %62
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %15, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %16, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %230

78:                                               ; preds = %64
  %79 = load i32, ptr %20, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %20, align 4, !tbaa !9
  %81 = sext i32 %79 to i64
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %81) #6
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = sitofp i32 %83 to double
  %85 = load i32, ptr %19, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %86) #6
  store double %84, ptr %87, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %109, %78
  %89 = load i32, ptr %21, align 4, !tbaa !9
  %90 = load i32, ptr %19, align 4, !tbaa !9
  %91 = icmp sle i32 %89, %90
  br i1 %91, label %93, label %92

92:                                               ; preds = %88
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %112

93:                                               ; preds = %88
  %94 = load i32, ptr %19, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %95) #6
  %97 = load double, ptr %96, align 8, !tbaa !5
  %98 = load double, ptr %10, align 8, !tbaa !5
  %99 = load i32, ptr %20, align 4, !tbaa !9
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %20, align 4, !tbaa !9
  %101 = sext i32 %99 to i64
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %101) #6
  %103 = load i32, ptr %102, align 4, !tbaa !9
  %104 = sitofp i32 %103 to double
  %105 = call double @llvm.fmuladd.f64(double %97, double %98, double %104)
  %106 = load i32, ptr %19, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %107) #6
  store double %105, ptr %108, align 8, !tbaa !5
  br label %109

109:                                              ; preds = %93
  %110 = load i32, ptr %21, align 4, !tbaa !9
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %21, align 4, !tbaa !9
  br label %88, !llvm.loop !19

112:                                              ; preds = %92
  %113 = load i32, ptr %20, align 4, !tbaa !9
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %20, align 4, !tbaa !9
  %115 = sext i32 %113 to i64
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %115) #6
  %117 = load i32, ptr %116, align 4, !tbaa !9
  %118 = sitofp i32 %117 to double
  %119 = load i32, ptr %19, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %120) #6
  %122 = load double, ptr %121, align 8, !tbaa !5
  %123 = fdiv double %122, %118
  store double %123, ptr %121, align 8, !tbaa !5
  br label %124

124:                                              ; preds = %112
  %125 = load i32, ptr %19, align 4, !tbaa !9
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %19, align 4, !tbaa !9
  br label %64, !llvm.loop !21

127:                                              ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %128 = load i32, ptr %6, align 4, !tbaa !9
  %129 = sitofp i32 %128 to double
  %130 = fdiv double 1.000000e+00, %129
  store double %130, ptr %22, align 8, !tbaa !5
  %131 = load ptr, ptr %7, align 8, !tbaa !11
  store double 0.000000e+00, ptr %131, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %132 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  %133 = trunc i64 %132 to i32
  %134 = sub nsw i32 %133, 1
  store i32 %134, ptr %23, align 4, !tbaa !9
  br label %135

135:                                              ; preds = %150, %127
  %136 = load i32, ptr %23, align 4, !tbaa !9
  %137 = icmp sle i32 0, %136
  br i1 %137, label %139, label %138

138:                                              ; preds = %135
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %153

139:                                              ; preds = %135
  %140 = load ptr, ptr %7, align 8, !tbaa !11
  %141 = load double, ptr %140, align 8, !tbaa !5
  %142 = load i32, ptr %23, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %143) #6
  %145 = load double, ptr %144, align 8, !tbaa !5
  %146 = fadd double %141, %145
  %147 = load double, ptr %22, align 8, !tbaa !5
  %148 = fmul double %146, %147
  %149 = load ptr, ptr %7, align 8, !tbaa !11
  store double %148, ptr %149, align 8, !tbaa !5
  br label %150

150:                                              ; preds = %139
  %151 = load i32, ptr %23, align 4, !tbaa !9
  %152 = add nsw i32 %151, -1
  store i32 %152, ptr %23, align 4, !tbaa !9
  br label %135, !llvm.loop !22

153:                                              ; preds = %138
  %154 = load ptr, ptr %7, align 8, !tbaa !11
  %155 = load double, ptr %154, align 8, !tbaa !5
  %156 = fadd double %155, 1.000000e+00
  %157 = load double, ptr %8, align 8, !tbaa !5
  %158 = fmul double %156, %157
  %159 = load ptr, ptr %7, align 8, !tbaa !11
  store double %158, ptr %159, align 8, !tbaa !5
  %160 = load i32, ptr %6, align 4, !tbaa !9
  %161 = sitofp i32 %160 to double
  %162 = load double, ptr %5, align 8, !tbaa !5
  %163 = fsub double 1.000000e+00, %162
  %164 = call double @log10(double noundef %163) #6
  %165 = call double @pow(double noundef %164, double noundef 2.000000e+00) #6
  %166 = fadd double %165, 3.000000e+00
  %167 = fcmp ole double %161, %166
  br i1 %167, label %168, label %228

168:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %169 = load i32, ptr %6, align 4, !tbaa !9
  %170 = add nsw i32 %169, 1
  %171 = sitofp i32 %170 to double
  store double %171, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %172 = load ptr, ptr %7, align 8, !tbaa !11
  %173 = load double, ptr %172, align 8, !tbaa !5
  %174 = load i32, ptr %6, align 4, !tbaa !9
  %175 = invoke noundef zeroext i1 @_ZN4sptk33ComputeProbabilityOfTDistributionEdiPd(double noundef %173, i32 noundef %174, ptr noundef %25)
          to label %176 unwind label %178

176:                                              ; preds = %168
  br i1 %175, label %182, label %177

177:                                              ; preds = %176
  store i1 false, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %225

178:                                              ; preds = %168
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %15, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  br label %230

182:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %183 = load ptr, ptr %7, align 8, !tbaa !11
  %184 = load double, ptr %183, align 8, !tbaa !5
  %185 = load ptr, ptr %7, align 8, !tbaa !11
  %186 = load double, ptr %185, align 8, !tbaa !5
  %187 = fmul double %184, %186
  store double %187, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %188 = load double, ptr %24, align 8, !tbaa !5
  %189 = load i32, ptr %6, align 4, !tbaa !9
  %190 = sitofp i32 %189 to double
  %191 = load double, ptr %26, align 8, !tbaa !5
  %192 = fadd double %190, %191
  %193 = fdiv double %188, %192
  %194 = call double @log(double noundef %193) #6
  store double %194, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %195 = load i32, ptr %6, align 4, !tbaa !9
  %196 = sitofp i32 %195 to double
  %197 = load double, ptr %24, align 8, !tbaa !5
  %198 = fmul double %197, 0x401921FB54442D18
  %199 = fdiv double %196, %198
  %200 = call double @log(double noundef %199) #6
  store double %200, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %201 = load double, ptr %24, align 8, !tbaa !5
  %202 = fmul double 6.000000e+00, %201
  %203 = load i32, ptr %6, align 4, !tbaa !9
  %204 = sitofp i32 %203 to double
  %205 = fmul double %202, %204
  %206 = fdiv double 1.000000e+00, %205
  store double %206, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %207 = load double, ptr %25, align 8, !tbaa !5
  %208 = load double, ptr %5, align 8, !tbaa !5
  %209 = fsub double 1.000000e+00, %208
  %210 = fsub double %207, %209
  %211 = load double, ptr %24, align 8, !tbaa !5
  %212 = load double, ptr %27, align 8, !tbaa !5
  %213 = load double, ptr %28, align 8, !tbaa !5
  %214 = call double @llvm.fmuladd.f64(double %211, double %212, double %213)
  %215 = fsub double %214, 1.000000e+00
  %216 = load double, ptr %29, align 8, !tbaa !5
  %217 = fsub double %215, %216
  %218 = fdiv double %217, 2.000000e+00
  %219 = call double @exp(double noundef %218) #6
  %220 = fdiv double %210, %219
  store double %220, ptr %30, align 8, !tbaa !5
  %221 = load double, ptr %30, align 8, !tbaa !5
  %222 = load ptr, ptr %7, align 8, !tbaa !11
  %223 = load double, ptr %222, align 8, !tbaa !5
  %224 = fsub double %223, %221
  store double %224, ptr %222, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  store i32 0, ptr %9, align 4
  br label %225

225:                                              ; preds = %182, %177
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  %226 = load i32, ptr %9, align 4
  switch i32 %226, label %229 [
    i32 0, label %227
  ]

227:                                              ; preds = %225
  br label %228

228:                                              ; preds = %227, %153
  store i1 true, ptr %4, align 1
  store i32 1, ptr %9, align 4
  br label %229

229:                                              ; preds = %228, %225
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %232

230:                                              ; preds = %178, %74
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %231

231:                                              ; preds = %230, %70
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %235

232:                                              ; preds = %229, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %233

233:                                              ; preds = %232, %46, %42
  %234 = load i1, ptr %4, align 1
  ret i1 %234

235:                                              ; preds = %231
  %236 = load ptr, ptr %15, align 8
  %237 = load i32, ptr %16, align 4
  %238 = insertvalue { ptr, i32 } poison, ptr %236, 0
  %239 = insertvalue { ptr, i32 } %238, i32 %237, 1
  resume { ptr, i32 } %239
}

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

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

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

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

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

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #2

; Function Attrs: nounwind
declare double @log10(double noundef) #2

; Function Attrs: nounwind
declare double @exp(double noundef) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 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 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = !{!"double", !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 = !{!"any pointer", !7, i64 0}
!13 = !{i64 0, i64 100, !14}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !12, i64 0}
!16 = !{!"_ZTSSt16initializer_listIiE", !12, i64 0, !17, i64 8}
!17 = !{!"long", !7, i64 0}
!18 = !{!16, !17, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}


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

@constinit.1 = external hidden local_unnamed_addr constant [25 x i32], align 4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4sptk50ComputePercentagePointOfStandardNormalDistributionEdPd(double noundef, ptr noundef) local_unnamed_addr #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 nofree nounwind willreturn memory(write)
declare double @log(double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress 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) #3

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 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 noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4sptk33ComputeProbabilityOfTDistributionEdiPd(double noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4sptk37ComputePercentagePointOfTDistributionEdiPd(double noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca double, align 8
  %5 = alloca %"class.std::vector.0", align 8
  %6 = alloca [25 x i32], align 4
  %7 = alloca %"class.std::allocator.2", align 1
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca double, align 8
  %11 = fcmp ole double %0, 0.000000e+00
  %12 = fcmp oge double %0, 1.000000e+00
  %or.cond = or i1 %11, %12
  %13 = icmp slt i32 %1, 1
  %or.cond3 = or i1 %or.cond, %13
  %14 = icmp eq ptr %2, null
  %or.cond5 = or i1 %or.cond3, %14
  br i1 %or.cond5, label %114, label %15

15:                                               ; preds = %3
  %16 = fcmp oeq double %0, 5.000000e-01
  br i1 %16, label %17, label %18

17:                                               ; preds = %15
  store double 0.000000e+00, ptr %2, align 8, !tbaa !5
  br label %114

18:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %19 = call noundef zeroext i1 @_ZN4sptk50ComputePercentagePointOfStandardNormalDistributionEdPd(double noundef %0, ptr noundef nonnull %4)
  br i1 %19, label %20, label %113

20:                                               ; preds = %18
  %21 = load double, ptr %4, align 8, !tbaa !5
  %22 = fmul double %21, %21
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 100, ptr nonnull %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(100) %6, ptr noundef nonnull align 4 dereferenceable(100) @constinit.1, i64 100, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %6, i64 25, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %23 unwind label %34

23:                                               ; preds = %20
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 5, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %24 unwind label %36

24:                                               ; preds = %23
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  %25 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %26 = trunc i64 %25 to i32
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %44, %24
  %28 = uitofp nneg i32 %1 to double
  %29 = fdiv double 1.000000e+00, %28
  store double 0.000000e+00, ptr %2, align 8, !tbaa !5
  %30 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %31 = trunc i64 %30 to i32
  %32 = icmp sgt i32 %31, 0
  %.pre92 = load double, ptr %2, align 8, !tbaa !5
  br i1 %32, label %.lr.ph81.preheader, label %._crit_edge82

.lr.ph81.preheader:                               ; preds = %._crit_edge
  %33 = and i64 %30, 2147483647
  br label %.lr.ph81

34:                                               ; preds = %20
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 100, ptr nonnull %6) #6
  br label %112

36:                                               ; preds = %23
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  br label %111

.lr.ph:                                           ; preds = %24, %44
  %indvars.iv86 = phi i64 [ %indvars.iv.next87, %44 ], [ 0, %24 ]
  %indvars.iv84 = phi i32 [ %indvars.iv.next85, %44 ], [ 1, %24 ]
  %.06577 = phi i32 [ %46, %44 ], [ 0, %24 ]
  %38 = sext i32 %.06577 to i64
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %38) #6
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = sitofp i32 %40 to double
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv86) #6
  store double %41, ptr %42, align 8, !tbaa !5
  %.16674 = add i32 %.06577, 1
  %43 = sext i32 %.16674 to i64
  br label %57

44:                                               ; preds = %57
  %45 = trunc nsw i64 %indvars.iv to i32
  %46 = add nsw i32 %45, 2
  %sext = shl i64 %indvars.iv.next, 32
  %47 = ashr exact i64 %sext, 32
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %47) #6
  %49 = load i32, ptr %48, align 4, !tbaa !11
  %50 = sitofp i32 %49 to double
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv86) #6
  %52 = load double, ptr %51, align 8, !tbaa !5
  %53 = fdiv double %52, %50
  store double %53, ptr %51, align 8, !tbaa !5
  %indvars.iv.next87 = add nuw nsw i64 %indvars.iv86, 1
  %54 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %sext93 = shl i64 %54, 32
  %55 = ashr exact i64 %sext93, 32
  %56 = icmp slt i64 %indvars.iv.next87, %55
  %indvars.iv.next85 = add nuw i32 %indvars.iv84, 1
  br i1 %56, label %.lr.ph, label %._crit_edge, !llvm.loop !13

57:                                               ; preds = %.lr.ph, %57
  %indvars.iv = phi i64 [ %43, %.lr.ph ], [ %indvars.iv.next, %57 ]
  %.06875 = phi i32 [ 0, %.lr.ph ], [ %65, %57 ]
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv86) #6
  %59 = load double, ptr %58, align 8, !tbaa !5
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #6
  %61 = load i32, ptr %60, align 4, !tbaa !11
  %62 = sitofp i32 %61 to double
  %63 = call double @llvm.fmuladd.f64(double %59, double %22, double %62)
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv86) #6
  store double %63, ptr %64, align 8, !tbaa !5
  %65 = add nuw nsw i32 %.06875, 1
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i32 %65, %indvars.iv84
  br i1 %exitcond.not, label %44, label %57, !llvm.loop !15

._crit_edge82:                                    ; preds = %.lr.ph81, %._crit_edge
  %66 = phi double [ %.pre92, %._crit_edge ], [ %78, %.lr.ph81 ]
  %67 = fadd double %66, 1.000000e+00
  %68 = load double, ptr %4, align 8, !tbaa !5
  %69 = fmul double %67, %68
  store double %69, ptr %2, align 8, !tbaa !5
  %70 = fsub double 1.000000e+00, %0
  %71 = call double @log10(double noundef %70) #6
  %square = fmul double %71, %71
  %72 = fadd double %square, 3.000000e+00
  %73 = fcmp ult double %72, %28
  br i1 %73, label %110, label %80

.lr.ph81:                                         ; preds = %.lr.ph81.preheader, %.lr.ph81
  %74 = phi double [ %.pre92, %.lr.ph81.preheader ], [ %78, %.lr.ph81 ]
  %indvars.iv89 = phi i64 [ %33, %.lr.ph81.preheader ], [ %indvars.iv.next90, %.lr.ph81 ]
  %indvars.iv.next90 = add nsw i64 %indvars.iv89, -1
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv.next90) #6
  %76 = load double, ptr %75, align 8, !tbaa !5
  %77 = fadd double %74, %76
  %78 = fmul double %29, %77
  store double %78, ptr %2, align 8, !tbaa !5
  %79 = icmp ugt i64 %indvars.iv89, 1
  br i1 %79, label %.lr.ph81, label %._crit_edge82, !llvm.loop !16

80:                                               ; preds = %._crit_edge82
  %81 = add nuw nsw i32 %1, 1
  %82 = uitofp nneg i32 %81 to double
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %83 = load double, ptr %2, align 8, !tbaa !5
  %84 = invoke noundef zeroext i1 @_ZN4sptk33ComputeProbabilityOfTDistributionEdiPd(double noundef %83, i32 noundef %1, ptr noundef nonnull %10)
          to label %85 unwind label %86

85:                                               ; preds = %80
  br i1 %84, label %88, label %.critedge

86:                                               ; preds = %80
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %111

88:                                               ; preds = %85
  %89 = load double, ptr %2, align 8, !tbaa !5
  %90 = fmul double %89, %89
  %91 = fadd double %90, %28
  %92 = fdiv double %82, %91
  %93 = call double @log(double noundef %92) #6
  %94 = fmul double %82, 0x401921FB54442D18
  %95 = fdiv double %28, %94
  %96 = call double @log(double noundef %95) #6
  %97 = fmul double %82, 6.000000e+00
  %98 = fmul double %97, %28
  %99 = fdiv double 1.000000e+00, %98
  %100 = load double, ptr %10, align 8, !tbaa !5
  %101 = fsub double %100, %70
  %102 = call double @llvm.fmuladd.f64(double %82, double %93, double %96)
  %103 = fadd double %102, -1.000000e+00
  %104 = fsub double %103, %99
  %105 = fmul double %104, 5.000000e-01
  %106 = call double @exp(double noundef %105) #6
  %107 = fdiv double %101, %106
  %108 = load double, ptr %2, align 8, !tbaa !5
  %109 = fsub double %108, %107
  store double %109, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %110

.critedge:                                        ; preds = %85
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %110

110:                                              ; preds = %._crit_edge82, %88, %.critedge
  %.1 = phi i1 [ false, %.critedge ], [ true, %88 ], [ true, %._crit_edge82 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  br label %113

111:                                              ; preds = %86, %36
  %.pn = phi { ptr, i32 } [ %87, %86 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %112

112:                                              ; preds = %111, %34
  %.pn.pn = phi { ptr, i32 } [ %.pn, %111 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn.pn

113:                                              ; preds = %18, %110
  %.2 = phi i1 [ %.1, %110 ], [ false, %18 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %114

114:                                              ; preds = %3, %113, %17
  %.3 = phi i1 [ true, %17 ], [ %.2, %113 ], [ false, %3 ]
  ret i1 %.3
}

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

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

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log10(double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @exp(double noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { mustprogress 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 100, !10}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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