; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/src (statistics)

; 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"

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl22wilcoxonsignedranktestEPNS_9ae_vectorEldPdS2_S2_PNS_8ae_stateE(ptr noundef %0, i64 noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #1 {
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca double, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.alglib_impl::ae_frame", align 8
  %16 = alloca %"struct.alglib_impl::ae_vector", align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca double, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca %"struct.alglib_impl::ae_vector", align 8
  %25 = alloca %"struct.alglib_impl::ae_vector", 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
  %31 = alloca double, align 8
  %32 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i64 %1, ptr %9, align 8, !tbaa !9
  store double %2, ptr %10, align 8, !tbaa !11
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  %33 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %33, ptr noundef %15)
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 64, i1 false)
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %16, ptr noundef %34, ptr noundef %35, i1 noundef zeroext true)
  store ptr %16, ptr %8, align 8, !tbaa !5
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  store double 0.000000e+00, ptr %36, align 8, !tbaa !11
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  store double 0.000000e+00, ptr %37, align 8, !tbaa !11
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  store double 0.000000e+00, ptr %38, align 8, !tbaa !11
  %39 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %24, i64 noundef 0, i64 noundef 3, ptr noundef %39, i1 noundef zeroext true)
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %25, i64 noundef 0, i64 noundef 2, ptr noundef %40, i1 noundef zeroext true)
  %41 = load i64, ptr %9, align 8, !tbaa !9
  %42 = icmp slt i64 %41, 5
  br i1 %42, label %43, label %48

43:                                               ; preds = %7
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  store double 1.000000e+00, ptr %44, align 8, !tbaa !11
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  store double 1.000000e+00, ptr %45, align 8, !tbaa !11
  %46 = load ptr, ptr %13, align 8, !tbaa !5
  store double 1.000000e+00, ptr %46, align 8, !tbaa !11
  %47 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %47)
  store i32 1, ptr %32, align 4
  br label %525

48:                                               ; preds = %7
  store i64 0, ptr %23, align 8, !tbaa !9
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %49

49:                                               ; preds = %78, %48
  %50 = load i64, ptr %17, align 8, !tbaa !9
  %51 = load i64, ptr %9, align 8, !tbaa !9
  %52 = sub nsw i64 %51, 1
  %53 = icmp sle i64 %50, %52
  br i1 %53, label %54, label %81

54:                                               ; preds = %49
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %55, i32 0, i32 4
  %57 = load ptr, ptr %56, align 8, !tbaa !13
  %58 = load i64, ptr %17, align 8, !tbaa !9
  %59 = getelementptr inbounds double, ptr %57, i64 %58
  %60 = load double, ptr %59, align 8, !tbaa !11
  %61 = load double, ptr %10, align 8, !tbaa !11
  %62 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %60, double noundef %61)
  br i1 %62, label %63, label %64

63:                                               ; preds = %54
  br label %78

64:                                               ; preds = %54
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %65, i32 0, i32 4
  %67 = load ptr, ptr %66, align 8, !tbaa !13
  %68 = load i64, ptr %17, align 8, !tbaa !9
  %69 = getelementptr inbounds double, ptr %67, i64 %68
  %70 = load double, ptr %69, align 8, !tbaa !11
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %71, i32 0, i32 4
  %73 = load ptr, ptr %72, align 8, !tbaa !13
  %74 = load i64, ptr %23, align 8, !tbaa !9
  %75 = getelementptr inbounds double, ptr %73, i64 %74
  store double %70, ptr %75, align 8, !tbaa !11
  %76 = load i64, ptr %23, align 8, !tbaa !9
  %77 = add nsw i64 %76, 1
  store i64 %77, ptr %23, align 8, !tbaa !9
  br label %78

78:                                               ; preds = %64, %63
  %79 = load i64, ptr %17, align 8, !tbaa !9
  %80 = add nsw i64 %79, 1
  store i64 %80, ptr %17, align 8, !tbaa !9
  br label %49, !llvm.loop !14

81:                                               ; preds = %49
  %82 = load i64, ptr %23, align 8, !tbaa !9
  %83 = icmp slt i64 %82, 5
  br i1 %83, label %84, label %89

84:                                               ; preds = %81
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  store double 1.000000e+00, ptr %85, align 8, !tbaa !11
  %86 = load ptr, ptr %12, align 8, !tbaa !5
  store double 1.000000e+00, ptr %86, align 8, !tbaa !11
  %87 = load ptr, ptr %13, align 8, !tbaa !5
  store double 1.000000e+00, ptr %87, align 8, !tbaa !11
  %88 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %88)
  store i32 1, ptr %32, align 4
  br label %525

89:                                               ; preds = %81
  %90 = load i64, ptr %23, align 8, !tbaa !9
  %91 = sub nsw i64 %90, 1
  %92 = add nsw i64 %91, 1
  %93 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %24, i64 noundef %92, ptr noundef %93)
  %94 = load i64, ptr %23, align 8, !tbaa !9
  %95 = sub nsw i64 %94, 1
  %96 = add nsw i64 %95, 1
  %97 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %25, i64 noundef %96, ptr noundef %97)
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %98

98:                                               ; preds = %123, %89
  %99 = load i64, ptr %17, align 8, !tbaa !9
  %100 = load i64, ptr %23, align 8, !tbaa !9
  %101 = sub nsw i64 %100, 1
  %102 = icmp sle i64 %99, %101
  br i1 %102, label %103, label %126

103:                                              ; preds = %98
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %104, i32 0, i32 4
  %106 = load ptr, ptr %105, align 8, !tbaa !13
  %107 = load i64, ptr %17, align 8, !tbaa !9
  %108 = getelementptr inbounds double, ptr %106, i64 %107
  %109 = load double, ptr %108, align 8, !tbaa !11
  %110 = load double, ptr %10, align 8, !tbaa !11
  %111 = fsub double %109, %110
  %112 = load ptr, ptr %14, align 8, !tbaa !5
  %113 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %111, ptr noundef %112)
  %114 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %115 = load ptr, ptr %114, align 8, !tbaa !13
  %116 = load i64, ptr %17, align 8, !tbaa !9
  %117 = getelementptr inbounds double, ptr %115, i64 %116
  store double %113, ptr %117, align 8, !tbaa !11
  %118 = load i64, ptr %17, align 8, !tbaa !9
  %119 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %120 = load ptr, ptr %119, align 8, !tbaa !13
  %121 = load i64, ptr %17, align 8, !tbaa !9
  %122 = getelementptr inbounds i64, ptr %120, i64 %121
  store i64 %118, ptr %122, align 8, !tbaa !9
  br label %123

123:                                              ; preds = %103
  %124 = load i64, ptr %17, align 8, !tbaa !9
  %125 = add nsw i64 %124, 1
  store i64 %125, ptr %17, align 8, !tbaa !9
  br label %98, !llvm.loop !16

126:                                              ; preds = %98
  %127 = load i64, ptr %23, align 8, !tbaa !9
  %128 = icmp ne i64 %127, 1
  br i1 %128, label %129, label %349

129:                                              ; preds = %126
  store i64 2, ptr %17, align 8, !tbaa !9
  br label %130

130:                                              ; preds = %204, %129
  %131 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %131, ptr %20, align 8, !tbaa !9
  br label %132

132:                                              ; preds = %200, %130
  %133 = load i64, ptr %20, align 8, !tbaa !9
  %134 = icmp ne i64 %133, 1
  br i1 %134, label %135, label %201

135:                                              ; preds = %132
  %136 = load i64, ptr %20, align 8, !tbaa !9
  %137 = sdiv i64 %136, 2
  store i64 %137, ptr %19, align 8, !tbaa !9
  %138 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %139 = load ptr, ptr %138, align 8, !tbaa !13
  %140 = load i64, ptr %19, align 8, !tbaa !9
  %141 = sub nsw i64 %140, 1
  %142 = getelementptr inbounds double, ptr %139, i64 %141
  %143 = load double, ptr %142, align 8, !tbaa !11
  %144 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %145 = load ptr, ptr %144, align 8, !tbaa !13
  %146 = load i64, ptr %20, align 8, !tbaa !9
  %147 = sub nsw i64 %146, 1
  %148 = getelementptr inbounds double, ptr %145, i64 %147
  %149 = load double, ptr %148, align 8, !tbaa !11
  %150 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %143, double noundef %149)
  br i1 %150, label %151, label %152

151:                                              ; preds = %135
  store i64 1, ptr %20, align 8, !tbaa !9
  br label %200

152:                                              ; preds = %135
  %153 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %154 = load ptr, ptr %153, align 8, !tbaa !13
  %155 = load i64, ptr %19, align 8, !tbaa !9
  %156 = sub nsw i64 %155, 1
  %157 = getelementptr inbounds double, ptr %154, i64 %156
  %158 = load double, ptr %157, align 8, !tbaa !11
  store double %158, ptr %21, align 8, !tbaa !11
  %159 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %160 = load ptr, ptr %159, align 8, !tbaa !13
  %161 = load i64, ptr %20, align 8, !tbaa !9
  %162 = sub nsw i64 %161, 1
  %163 = getelementptr inbounds double, ptr %160, i64 %162
  %164 = load double, ptr %163, align 8, !tbaa !11
  %165 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %166 = load ptr, ptr %165, align 8, !tbaa !13
  %167 = load i64, ptr %19, align 8, !tbaa !9
  %168 = sub nsw i64 %167, 1
  %169 = getelementptr inbounds double, ptr %166, i64 %168
  store double %164, ptr %169, align 8, !tbaa !11
  %170 = load double, ptr %21, align 8, !tbaa !11
  %171 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %172 = load ptr, ptr %171, align 8, !tbaa !13
  %173 = load i64, ptr %20, align 8, !tbaa !9
  %174 = sub nsw i64 %173, 1
  %175 = getelementptr inbounds double, ptr %172, i64 %174
  store double %170, ptr %175, align 8, !tbaa !11
  %176 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %177 = load ptr, ptr %176, align 8, !tbaa !13
  %178 = load i64, ptr %19, align 8, !tbaa !9
  %179 = sub nsw i64 %178, 1
  %180 = getelementptr inbounds i64, ptr %177, i64 %179
  %181 = load i64, ptr %180, align 8, !tbaa !9
  store i64 %181, ptr %22, align 8, !tbaa !9
  %182 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %183 = load ptr, ptr %182, align 8, !tbaa !13
  %184 = load i64, ptr %20, align 8, !tbaa !9
  %185 = sub nsw i64 %184, 1
  %186 = getelementptr inbounds i64, ptr %183, i64 %185
  %187 = load i64, ptr %186, align 8, !tbaa !9
  %188 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %189 = load ptr, ptr %188, align 8, !tbaa !13
  %190 = load i64, ptr %19, align 8, !tbaa !9
  %191 = sub nsw i64 %190, 1
  %192 = getelementptr inbounds i64, ptr %189, i64 %191
  store i64 %187, ptr %192, align 8, !tbaa !9
  %193 = load i64, ptr %22, align 8, !tbaa !9
  %194 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %195 = load ptr, ptr %194, align 8, !tbaa !13
  %196 = load i64, ptr %20, align 8, !tbaa !9
  %197 = sub nsw i64 %196, 1
  %198 = getelementptr inbounds i64, ptr %195, i64 %197
  store i64 %193, ptr %198, align 8, !tbaa !9
  %199 = load i64, ptr %19, align 8, !tbaa !9
  store i64 %199, ptr %20, align 8, !tbaa !9
  br label %200

200:                                              ; preds = %152, %151
  br label %132, !llvm.loop !17

201:                                              ; preds = %132
  %202 = load i64, ptr %17, align 8, !tbaa !9
  %203 = add nsw i64 %202, 1
  store i64 %203, ptr %17, align 8, !tbaa !9
  br label %204

204:                                              ; preds = %201
  %205 = load i64, ptr %17, align 8, !tbaa !9
  %206 = load i64, ptr %23, align 8, !tbaa !9
  %207 = icmp sle i64 %205, %206
  br i1 %207, label %130, label %208, !llvm.loop !18

208:                                              ; preds = %204
  %209 = load i64, ptr %23, align 8, !tbaa !9
  %210 = sub nsw i64 %209, 1
  store i64 %210, ptr %17, align 8, !tbaa !9
  br label %211

211:                                              ; preds = %345, %208
  %212 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %213 = load ptr, ptr %212, align 8, !tbaa !13
  %214 = load i64, ptr %17, align 8, !tbaa !9
  %215 = getelementptr inbounds double, ptr %213, i64 %214
  %216 = load double, ptr %215, align 8, !tbaa !11
  store double %216, ptr %21, align 8, !tbaa !11
  %217 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %218 = load ptr, ptr %217, align 8, !tbaa !13
  %219 = getelementptr inbounds double, ptr %218, i64 0
  %220 = load double, ptr %219, align 8, !tbaa !11
  %221 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %222 = load ptr, ptr %221, align 8, !tbaa !13
  %223 = load i64, ptr %17, align 8, !tbaa !9
  %224 = getelementptr inbounds double, ptr %222, i64 %223
  store double %220, ptr %224, align 8, !tbaa !11
  %225 = load double, ptr %21, align 8, !tbaa !11
  %226 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %227 = load ptr, ptr %226, align 8, !tbaa !13
  %228 = getelementptr inbounds double, ptr %227, i64 0
  store double %225, ptr %228, align 8, !tbaa !11
  %229 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %230 = load ptr, ptr %229, align 8, !tbaa !13
  %231 = load i64, ptr %17, align 8, !tbaa !9
  %232 = getelementptr inbounds i64, ptr %230, i64 %231
  %233 = load i64, ptr %232, align 8, !tbaa !9
  store i64 %233, ptr %22, align 8, !tbaa !9
  %234 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %235 = load ptr, ptr %234, align 8, !tbaa !13
  %236 = getelementptr inbounds i64, ptr %235, i64 0
  %237 = load i64, ptr %236, align 8, !tbaa !9
  %238 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %239 = load ptr, ptr %238, align 8, !tbaa !13
  %240 = load i64, ptr %17, align 8, !tbaa !9
  %241 = getelementptr inbounds i64, ptr %239, i64 %240
  store i64 %237, ptr %241, align 8, !tbaa !9
  %242 = load i64, ptr %22, align 8, !tbaa !9
  %243 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %244 = load ptr, ptr %243, align 8, !tbaa !13
  %245 = getelementptr inbounds i64, ptr %244, i64 0
  store i64 %242, ptr %245, align 8, !tbaa !9
  store i64 1, ptr %20, align 8, !tbaa !9
  br label %246

246:                                              ; preds = %341, %211
  %247 = load i64, ptr %20, align 8, !tbaa !9
  %248 = icmp ne i64 %247, 0
  br i1 %248, label %249, label %342

249:                                              ; preds = %246
  %250 = load i64, ptr %20, align 8, !tbaa !9
  %251 = mul nsw i64 2, %250
  store i64 %251, ptr %19, align 8, !tbaa !9
  %252 = load i64, ptr %19, align 8, !tbaa !9
  %253 = load i64, ptr %17, align 8, !tbaa !9
  %254 = icmp sgt i64 %252, %253
  br i1 %254, label %255, label %256

255:                                              ; preds = %249
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %341

256:                                              ; preds = %249
  %257 = load i64, ptr %19, align 8, !tbaa !9
  %258 = load i64, ptr %17, align 8, !tbaa !9
  %259 = icmp slt i64 %257, %258
  br i1 %259, label %260, label %277

260:                                              ; preds = %256
  %261 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %262 = load ptr, ptr %261, align 8, !tbaa !13
  %263 = load i64, ptr %19, align 8, !tbaa !9
  %264 = getelementptr inbounds double, ptr %262, i64 %263
  %265 = load double, ptr %264, align 8, !tbaa !11
  %266 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %267 = load ptr, ptr %266, align 8, !tbaa !13
  %268 = load i64, ptr %19, align 8, !tbaa !9
  %269 = sub nsw i64 %268, 1
  %270 = getelementptr inbounds double, ptr %267, i64 %269
  %271 = load double, ptr %270, align 8, !tbaa !11
  %272 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %265, double noundef %271)
  br i1 %272, label %273, label %276

273:                                              ; preds = %260
  %274 = load i64, ptr %19, align 8, !tbaa !9
  %275 = add nsw i64 %274, 1
  store i64 %275, ptr %19, align 8, !tbaa !9
  br label %276

276:                                              ; preds = %273, %260
  br label %277

277:                                              ; preds = %276, %256
  %278 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %279 = load ptr, ptr %278, align 8, !tbaa !13
  %280 = load i64, ptr %20, align 8, !tbaa !9
  %281 = sub nsw i64 %280, 1
  %282 = getelementptr inbounds double, ptr %279, i64 %281
  %283 = load double, ptr %282, align 8, !tbaa !11
  %284 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %285 = load ptr, ptr %284, align 8, !tbaa !13
  %286 = load i64, ptr %19, align 8, !tbaa !9
  %287 = sub nsw i64 %286, 1
  %288 = getelementptr inbounds double, ptr %285, i64 %287
  %289 = load double, ptr %288, align 8, !tbaa !11
  %290 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %283, double noundef %289)
  br i1 %290, label %291, label %292

291:                                              ; preds = %277
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %340

292:                                              ; preds = %277
  %293 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %294 = load ptr, ptr %293, align 8, !tbaa !13
  %295 = load i64, ptr %19, align 8, !tbaa !9
  %296 = sub nsw i64 %295, 1
  %297 = getelementptr inbounds double, ptr %294, i64 %296
  %298 = load double, ptr %297, align 8, !tbaa !11
  store double %298, ptr %21, align 8, !tbaa !11
  %299 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %300 = load ptr, ptr %299, align 8, !tbaa !13
  %301 = load i64, ptr %20, align 8, !tbaa !9
  %302 = sub nsw i64 %301, 1
  %303 = getelementptr inbounds double, ptr %300, i64 %302
  %304 = load double, ptr %303, align 8, !tbaa !11
  %305 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %306 = load ptr, ptr %305, align 8, !tbaa !13
  %307 = load i64, ptr %19, align 8, !tbaa !9
  %308 = sub nsw i64 %307, 1
  %309 = getelementptr inbounds double, ptr %306, i64 %308
  store double %304, ptr %309, align 8, !tbaa !11
  %310 = load double, ptr %21, align 8, !tbaa !11
  %311 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %312 = load ptr, ptr %311, align 8, !tbaa !13
  %313 = load i64, ptr %20, align 8, !tbaa !9
  %314 = sub nsw i64 %313, 1
  %315 = getelementptr inbounds double, ptr %312, i64 %314
  store double %310, ptr %315, align 8, !tbaa !11
  %316 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %317 = load ptr, ptr %316, align 8, !tbaa !13
  %318 = load i64, ptr %19, align 8, !tbaa !9
  %319 = sub nsw i64 %318, 1
  %320 = getelementptr inbounds i64, ptr %317, i64 %319
  %321 = load i64, ptr %320, align 8, !tbaa !9
  store i64 %321, ptr %22, align 8, !tbaa !9
  %322 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %323 = load ptr, ptr %322, align 8, !tbaa !13
  %324 = load i64, ptr %20, align 8, !tbaa !9
  %325 = sub nsw i64 %324, 1
  %326 = getelementptr inbounds i64, ptr %323, i64 %325
  %327 = load i64, ptr %326, align 8, !tbaa !9
  %328 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %329 = load ptr, ptr %328, align 8, !tbaa !13
  %330 = load i64, ptr %19, align 8, !tbaa !9
  %331 = sub nsw i64 %330, 1
  %332 = getelementptr inbounds i64, ptr %329, i64 %331
  store i64 %327, ptr %332, align 8, !tbaa !9
  %333 = load i64, ptr %22, align 8, !tbaa !9
  %334 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %335 = load ptr, ptr %334, align 8, !tbaa !13
  %336 = load i64, ptr %20, align 8, !tbaa !9
  %337 = sub nsw i64 %336, 1
  %338 = getelementptr inbounds i64, ptr %335, i64 %337
  store i64 %333, ptr %338, align 8, !tbaa !9
  %339 = load i64, ptr %19, align 8, !tbaa !9
  store i64 %339, ptr %20, align 8, !tbaa !9
  br label %340

340:                                              ; preds = %292, %291
  br label %341

341:                                              ; preds = %340, %255
  br label %246, !llvm.loop !19

342:                                              ; preds = %246
  %343 = load i64, ptr %17, align 8, !tbaa !9
  %344 = sub nsw i64 %343, 1
  store i64 %344, ptr %17, align 8, !tbaa !9
  br label %345

345:                                              ; preds = %342
  %346 = load i64, ptr %17, align 8, !tbaa !9
  %347 = icmp sge i64 %346, 1
  br i1 %347, label %211, label %348, !llvm.loop !20

348:                                              ; preds = %345
  br label %349

349:                                              ; preds = %348, %126
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %350

350:                                              ; preds = %401, %349
  %351 = load i64, ptr %17, align 8, !tbaa !9
  %352 = load i64, ptr %23, align 8, !tbaa !9
  %353 = sub nsw i64 %352, 1
  %354 = icmp sle i64 %351, %353
  br i1 %354, label %355, label %403

355:                                              ; preds = %350
  %356 = load i64, ptr %17, align 8, !tbaa !9
  %357 = add nsw i64 %356, 1
  store i64 %357, ptr %18, align 8, !tbaa !9
  br label %358

358:                                              ; preds = %376, %355
  %359 = load i64, ptr %18, align 8, !tbaa !9
  %360 = load i64, ptr %23, align 8, !tbaa !9
  %361 = sub nsw i64 %360, 1
  %362 = icmp sle i64 %359, %361
  br i1 %362, label %363, label %379

363:                                              ; preds = %358
  %364 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %365 = load ptr, ptr %364, align 8, !tbaa !13
  %366 = load i64, ptr %18, align 8, !tbaa !9
  %367 = getelementptr inbounds double, ptr %365, i64 %366
  %368 = load double, ptr %367, align 8, !tbaa !11
  %369 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %370 = load ptr, ptr %369, align 8, !tbaa !13
  %371 = load i64, ptr %17, align 8, !tbaa !9
  %372 = getelementptr inbounds double, ptr %370, i64 %371
  %373 = load double, ptr %372, align 8, !tbaa !11
  %374 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %368, double noundef %373)
  br i1 %374, label %375, label %376

375:                                              ; preds = %363
  br label %379

376:                                              ; preds = %363
  %377 = load i64, ptr %18, align 8, !tbaa !9
  %378 = add nsw i64 %377, 1
  store i64 %378, ptr %18, align 8, !tbaa !9
  br label %358, !llvm.loop !21

379:                                              ; preds = %375, %358
  %380 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %380, ptr %19, align 8, !tbaa !9
  br label %381

381:                                              ; preds = %398, %379
  %382 = load i64, ptr %19, align 8, !tbaa !9
  %383 = load i64, ptr %18, align 8, !tbaa !9
  %384 = sub nsw i64 %383, 1
  %385 = icmp sle i64 %382, %384
  br i1 %385, label %386, label %401

386:                                              ; preds = %381
  %387 = load i64, ptr %17, align 8, !tbaa !9
  %388 = load i64, ptr %18, align 8, !tbaa !9
  %389 = add nsw i64 %387, %388
  %390 = sub nsw i64 %389, 1
  %391 = sitofp i64 %390 to double
  %392 = fdiv double %391, 2.000000e+00
  %393 = fadd double 1.000000e+00, %392
  %394 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %395 = load ptr, ptr %394, align 8, !tbaa !13
  %396 = load i64, ptr %19, align 8, !tbaa !9
  %397 = getelementptr inbounds double, ptr %395, i64 %396
  store double %393, ptr %397, align 8, !tbaa !11
  br label %398

398:                                              ; preds = %386
  %399 = load i64, ptr %19, align 8, !tbaa !9
  %400 = add nsw i64 %399, 1
  store i64 %400, ptr %19, align 8, !tbaa !9
  br label %381, !llvm.loop !22

401:                                              ; preds = %381
  %402 = load i64, ptr %18, align 8, !tbaa !9
  store i64 %402, ptr %17, align 8, !tbaa !9
  br label %350, !llvm.loop !23

403:                                              ; preds = %350
  store double 0.000000e+00, ptr %26, align 8, !tbaa !11
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %404

404:                                              ; preds = %431, %403
  %405 = load i64, ptr %17, align 8, !tbaa !9
  %406 = load i64, ptr %23, align 8, !tbaa !9
  %407 = sub nsw i64 %406, 1
  %408 = icmp sle i64 %405, %407
  br i1 %408, label %409, label %434

409:                                              ; preds = %404
  %410 = load ptr, ptr %8, align 8, !tbaa !5
  %411 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %410, i32 0, i32 4
  %412 = load ptr, ptr %411, align 8, !tbaa !13
  %413 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %414 = load ptr, ptr %413, align 8, !tbaa !13
  %415 = load i64, ptr %17, align 8, !tbaa !9
  %416 = getelementptr inbounds i64, ptr %414, i64 %415
  %417 = load i64, ptr %416, align 8, !tbaa !9
  %418 = getelementptr inbounds double, ptr %412, i64 %417
  %419 = load double, ptr %418, align 8, !tbaa !11
  %420 = load double, ptr %10, align 8, !tbaa !11
  %421 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %419, double noundef %420)
  br i1 %421, label %422, label %430

422:                                              ; preds = %409
  %423 = load double, ptr %26, align 8, !tbaa !11
  %424 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %425 = load ptr, ptr %424, align 8, !tbaa !13
  %426 = load i64, ptr %17, align 8, !tbaa !9
  %427 = getelementptr inbounds double, ptr %425, i64 %426
  %428 = load double, ptr %427, align 8, !tbaa !11
  %429 = fadd double %423, %428
  store double %429, ptr %26, align 8, !tbaa !11
  br label %430

430:                                              ; preds = %422, %409
  br label %431

431:                                              ; preds = %430
  %432 = load i64, ptr %17, align 8, !tbaa !9
  %433 = add nsw i64 %432, 1
  store i64 %433, ptr %17, align 8, !tbaa !9
  br label %404, !llvm.loop !24

434:                                              ; preds = %404
  %435 = load i64, ptr %23, align 8, !tbaa !9
  %436 = sitofp i64 %435 to double
  %437 = load i64, ptr %23, align 8, !tbaa !9
  %438 = add nsw i64 %437, 1
  %439 = sitofp i64 %438 to double
  %440 = load ptr, ptr %14, align 8, !tbaa !5
  %441 = call noundef double @_ZN11alglib_impl5rmul2EddPNS_8ae_stateE(double noundef %436, double noundef %439, ptr noundef %440)
  %442 = fdiv double %441, 4.000000e+00
  store double %442, ptr %31, align 8, !tbaa !11
  %443 = load double, ptr %31, align 8, !tbaa !11
  %444 = load i64, ptr %23, align 8, !tbaa !9
  %445 = mul nsw i64 2, %444
  %446 = add nsw i64 %445, 1
  %447 = sitofp i64 %446 to double
  %448 = fmul double %443, %447
  %449 = fdiv double %448, 6.000000e+00
  %450 = load ptr, ptr %14, align 8, !tbaa !5
  %451 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %449, ptr noundef %450)
  store double %451, ptr %30, align 8, !tbaa !11
  %452 = load double, ptr %26, align 8, !tbaa !11
  %453 = load double, ptr %31, align 8, !tbaa !11
  %454 = fsub double %452, %453
  %455 = load double, ptr %30, align 8, !tbaa !11
  %456 = fdiv double %454, %455
  store double %456, ptr %29, align 8, !tbaa !11
  %457 = load double, ptr %29, align 8, !tbaa !11
  %458 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %457, double noundef 0.000000e+00)
  br i1 %458, label %459, label %484

459:                                              ; preds = %434
  %460 = load double, ptr %26, align 8, !tbaa !11
  %461 = load double, ptr %31, align 8, !tbaa !11
  %462 = fsub double %460, %461
  %463 = fneg double %462
  %464 = load double, ptr %30, align 8, !tbaa !11
  %465 = fdiv double %463, %464
  %466 = load i64, ptr %23, align 8, !tbaa !9
  %467 = load ptr, ptr %14, align 8, !tbaa !5
  %468 = call noundef double @_ZN11alglib_implL10wsr_wsigmaEdlPNS_8ae_stateE(double noundef %465, i64 noundef %466, ptr noundef %467)
  %469 = load ptr, ptr %14, align 8, !tbaa !5
  %470 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %468, ptr noundef %469)
  store double %470, ptr %27, align 8, !tbaa !11
  %471 = load double, ptr %26, align 8, !tbaa !11
  %472 = fsub double %471, 1.000000e+00
  %473 = load double, ptr %31, align 8, !tbaa !11
  %474 = fsub double %472, %473
  %475 = fneg double %474
  %476 = load double, ptr %30, align 8, !tbaa !11
  %477 = fdiv double %475, %476
  %478 = load i64, ptr %23, align 8, !tbaa !9
  %479 = load ptr, ptr %14, align 8, !tbaa !5
  %480 = call noundef double @_ZN11alglib_implL10wsr_wsigmaEdlPNS_8ae_stateE(double noundef %477, i64 noundef %478, ptr noundef %479)
  %481 = load ptr, ptr %14, align 8, !tbaa !5
  %482 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %480, ptr noundef %481)
  %483 = fsub double 1.000000e+00, %482
  store double %483, ptr %28, align 8, !tbaa !11
  br label %507

484:                                              ; preds = %434
  %485 = load double, ptr %26, align 8, !tbaa !11
  %486 = load double, ptr %31, align 8, !tbaa !11
  %487 = fsub double %485, %486
  %488 = load double, ptr %30, align 8, !tbaa !11
  %489 = fdiv double %487, %488
  %490 = load i64, ptr %23, align 8, !tbaa !9
  %491 = load ptr, ptr %14, align 8, !tbaa !5
  %492 = call noundef double @_ZN11alglib_implL10wsr_wsigmaEdlPNS_8ae_stateE(double noundef %489, i64 noundef %490, ptr noundef %491)
  %493 = load ptr, ptr %14, align 8, !tbaa !5
  %494 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %492, ptr noundef %493)
  store double %494, ptr %28, align 8, !tbaa !11
  %495 = load double, ptr %26, align 8, !tbaa !11
  %496 = fadd double %495, 1.000000e+00
  %497 = load double, ptr %31, align 8, !tbaa !11
  %498 = fsub double %496, %497
  %499 = load double, ptr %30, align 8, !tbaa !11
  %500 = fdiv double %498, %499
  %501 = load i64, ptr %23, align 8, !tbaa !9
  %502 = load ptr, ptr %14, align 8, !tbaa !5
  %503 = call noundef double @_ZN11alglib_implL10wsr_wsigmaEdlPNS_8ae_stateE(double noundef %500, i64 noundef %501, ptr noundef %502)
  %504 = load ptr, ptr %14, align 8, !tbaa !5
  %505 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %503, ptr noundef %504)
  %506 = fsub double 1.000000e+00, %505
  store double %506, ptr %27, align 8, !tbaa !11
  br label %507

507:                                              ; preds = %484, %459
  %508 = load double, ptr %27, align 8, !tbaa !11
  %509 = load ptr, ptr %14, align 8, !tbaa !5
  %510 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %508, double noundef 1.000000e-04, ptr noundef %509)
  %511 = load ptr, ptr %12, align 8, !tbaa !5
  store double %510, ptr %511, align 8, !tbaa !11
  %512 = load double, ptr %28, align 8, !tbaa !11
  %513 = load ptr, ptr %14, align 8, !tbaa !5
  %514 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %512, double noundef 1.000000e-04, ptr noundef %513)
  %515 = load ptr, ptr %13, align 8, !tbaa !5
  store double %514, ptr %515, align 8, !tbaa !11
  %516 = load ptr, ptr %12, align 8, !tbaa !5
  %517 = load double, ptr %516, align 8, !tbaa !11
  %518 = load ptr, ptr %13, align 8, !tbaa !5
  %519 = load double, ptr %518, align 8, !tbaa !11
  %520 = load ptr, ptr %14, align 8, !tbaa !5
  %521 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %517, double noundef %519, ptr noundef %520)
  %522 = fmul double 2.000000e+00, %521
  %523 = load ptr, ptr %11, align 8, !tbaa !5
  store double %522, ptr %523, align 8, !tbaa !11
  %524 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %524)
  store i32 0, ptr %32, align 4
  br label %525

525:                                              ; preds = %507, %84, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  %526 = load i32, ptr %32, align 4
  switch i32 %526, label %528 [
    i32 0, label %527
    i32 1, label %527
  ]

527:                                              ; preds = %525, %525
  ret void

528:                                              ; preds = %525
  unreachable
}

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) #2

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double noundef) #2

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) #2

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) #2

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #2

declare noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef, double noundef) #2

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) #2

declare noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef, double noundef) #2

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) #2

declare noundef double @_ZN11alglib_impl5rmul2EddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) #2

declare noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef double @_ZN11alglib_implL10wsr_wsigmaEdlPNS_8ae_stateE(double noundef, i64 noundef, ptr noundef) #1

declare noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) #2

declare noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) #2

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

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

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


; 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"

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl22wilcoxonsignedranktestEPNS_9ae_vectorEldPdS2_S2_PNS_8ae_stateE(ptr noundef %0, i64 noundef %1, double noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef %4, ptr nocapture noundef writeonly %5, ptr noundef %6) local_unnamed_addr #1 {
  %8 = alloca %"struct.alglib_impl::ae_frame", align 8
  %9 = alloca %"struct.alglib_impl::ae_vector", align 8
  %10 = alloca %"struct.alglib_impl::ae_vector", align 8
  %11 = alloca %"struct.alglib_impl::ae_vector", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %6, ptr noundef nonnull %8)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %9, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %10, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %11, i8 0, i64 64, i1 false)
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %9, ptr noundef %0, ptr noundef %6, i1 noundef zeroext true)
  store double 0.000000e+00, ptr %3, align 8, !tbaa !5
  store double 0.000000e+00, ptr %4, align 8, !tbaa !5
  store double 0.000000e+00, ptr %5, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %10, i64 noundef 0, i64 noundef 3, ptr noundef %6, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 2, ptr noundef %6, i1 noundef zeroext true)
  %12 = icmp slt i64 %1, 5
  br i1 %12, label %14, label %.preheader191

.preheader191:                                    ; preds = %7
  %13 = getelementptr inbounds i8, ptr %9, i64 56
  br label %15

14:                                               ; preds = %7
  store double 1.000000e+00, ptr %3, align 8, !tbaa !5
  store double 1.000000e+00, ptr %4, align 8, !tbaa !5
  store double 1.000000e+00, ptr %5, align 8, !tbaa !5
  br label %210

15:                                               ; preds = %.preheader191, %26
  %.0194 = phi i64 [ 0, %.preheader191 ], [ %27, %26 ]
  %.0167193 = phi i64 [ 0, %.preheader191 ], [ %.1168, %26 ]
  %16 = load ptr, ptr %13, align 8, !tbaa !9
  %17 = getelementptr inbounds double, ptr %16, i64 %.0194
  %18 = load double, ptr %17, align 8, !tbaa !5
  %19 = call noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef %18, double noundef %2)
  br i1 %19, label %26, label %20

20:                                               ; preds = %15
  %21 = load ptr, ptr %13, align 8, !tbaa !9
  %22 = getelementptr inbounds double, ptr %21, i64 %.0194
  %23 = load double, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds double, ptr %21, i64 %.0167193
  store double %23, ptr %24, align 8, !tbaa !5
  %25 = add nsw i64 %.0167193, 1
  br label %26

26:                                               ; preds = %15, %20
  %.1168 = phi i64 [ %.0167193, %15 ], [ %25, %20 ]
  %27 = add nuw nsw i64 %.0194, 1
  %exitcond.not = icmp eq i64 %27, %1
  br i1 %exitcond.not, label %28, label %15, !llvm.loop !10

28:                                               ; preds = %26
  %29 = icmp slt i64 %.1168, 5
  br i1 %29, label %30, label %31

30:                                               ; preds = %28
  store double 1.000000e+00, ptr %3, align 8, !tbaa !5
  store double 1.000000e+00, ptr %4, align 8, !tbaa !5
  store double 1.000000e+00, ptr %5, align 8, !tbaa !5
  br label %210

31:                                               ; preds = %28
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef %.1168, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %.1168, ptr noundef %6)
  %32 = getelementptr inbounds i8, ptr %10, i64 56
  %33 = getelementptr inbounds i8, ptr %11, i64 56
  br label %35

.preheader190:                                    ; preds = %35
  %34 = add nuw i64 %.1168, 1
  br label %46

35:                                               ; preds = %31, %35
  %.1195 = phi i64 [ 0, %31 ], [ %45, %35 ]
  %36 = load ptr, ptr %13, align 8, !tbaa !9
  %37 = getelementptr inbounds double, ptr %36, i64 %.1195
  %38 = load double, ptr %37, align 8, !tbaa !5
  %39 = fsub double %38, %2
  %40 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %39, ptr noundef %6)
  %41 = load ptr, ptr %32, align 8, !tbaa !9
  %42 = getelementptr inbounds double, ptr %41, i64 %.1195
  store double %40, ptr %42, align 8, !tbaa !5
  %43 = load ptr, ptr %33, align 8, !tbaa !9
  %44 = getelementptr inbounds i64, ptr %43, i64 %.1195
  store i64 %.1195, ptr %44, align 8, !tbaa !12
  %45 = add nuw nsw i64 %.1195, 1
  %exitcond206.not = icmp eq i64 %45, %.1168
  br i1 %exitcond206.not, label %.preheader190, label %35, !llvm.loop !14

46:                                               ; preds = %.preheader190, %.thread
  %.2 = phi i64 [ %73, %.thread ], [ 2, %.preheader190 ]
  br label %47

47:                                               ; preds = %46, %57
  %.0169196 = phi i64 [ %.2, %46 ], [ %48, %57 ]
  %48 = sdiv i64 %.0169196, 2
  %49 = load ptr, ptr %32, align 8, !tbaa !9
  %50 = add nsw i64 %48, -1
  %51 = getelementptr inbounds double, ptr %49, i64 %50
  %52 = load double, ptr %51, align 8, !tbaa !5
  %53 = add nsw i64 %.0169196, -1
  %54 = getelementptr inbounds double, ptr %49, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !5
  %56 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %52, double noundef %55)
  br i1 %56, label %.thread, label %57

57:                                               ; preds = %47
  %58 = load ptr, ptr %32, align 8, !tbaa !9
  %59 = getelementptr inbounds double, ptr %58, i64 %50
  %60 = load double, ptr %59, align 8, !tbaa !5
  %61 = getelementptr inbounds double, ptr %58, i64 %53
  %62 = load double, ptr %61, align 8, !tbaa !5
  store double %62, ptr %59, align 8, !tbaa !5
  %63 = load ptr, ptr %32, align 8, !tbaa !9
  %64 = getelementptr inbounds double, ptr %63, i64 %53
  store double %60, ptr %64, align 8, !tbaa !5
  %65 = load ptr, ptr %33, align 8, !tbaa !9
  %66 = getelementptr inbounds i64, ptr %65, i64 %50
  %67 = load i64, ptr %66, align 8, !tbaa !12
  %68 = getelementptr inbounds i64, ptr %65, i64 %53
  %69 = load i64, ptr %68, align 8, !tbaa !12
  store i64 %69, ptr %66, align 8, !tbaa !12
  %70 = load ptr, ptr %33, align 8, !tbaa !9
  %71 = getelementptr inbounds i64, ptr %70, i64 %53
  store i64 %67, ptr %71, align 8, !tbaa !12
  %72 = and i64 %.0169196, -2
  %.not = icmp eq i64 %72, 2
  br i1 %.not, label %.thread, label %47, !llvm.loop !15

.thread:                                          ; preds = %47, %57
  %73 = add nuw i64 %.2, 1
  %exitcond207.not = icmp eq i64 %.2, %.1168
  br i1 %exitcond207.not, label %.preheader189, label %46, !llvm.loop !16

.preheader189:                                    ; preds = %.thread
  %74 = add nsw i64 %.1168, -1
  br label %75

75:                                               ; preds = %.preheader189, %.thread212
  %.3 = phi i64 [ %123, %.thread212 ], [ %74, %.preheader189 ]
  %76 = load ptr, ptr %32, align 8, !tbaa !9
  %77 = getelementptr inbounds double, ptr %76, i64 %.3
  %78 = load double, ptr %77, align 8, !tbaa !5
  %79 = load double, ptr %76, align 8, !tbaa !5
  store double %79, ptr %77, align 8, !tbaa !5
  %80 = load ptr, ptr %32, align 8, !tbaa !9
  store double %78, ptr %80, align 8, !tbaa !5
  %81 = load ptr, ptr %33, align 8, !tbaa !9
  %82 = getelementptr inbounds i64, ptr %81, i64 %.3
  %83 = load i64, ptr %82, align 8, !tbaa !12
  %84 = load i64, ptr %81, align 8, !tbaa !12
  store i64 %84, ptr %82, align 8, !tbaa !12
  %85 = load ptr, ptr %33, align 8, !tbaa !9
  store i64 %83, ptr %85, align 8, !tbaa !12
  %86 = icmp slt i64 %.3, 2
  br i1 %86, label %.thread212, label %.lr.ph217

.lr.ph217:                                        ; preds = %75, %106
  %87 = phi i64 [ %121, %106 ], [ 2, %75 ]
  %.2171197215 = phi i64 [ %.0173, %106 ], [ 1, %75 ]
  %88 = icmp slt i64 %87, %.3
  br i1 %88, label %89, label %97

89:                                               ; preds = %.lr.ph217
  %90 = load ptr, ptr %32, align 8, !tbaa !9
  %91 = getelementptr inbounds double, ptr %90, i64 %87
  %92 = load double, ptr %91, align 8, !tbaa !5
  %93 = getelementptr i8, ptr %91, i64 -8
  %94 = load double, ptr %93, align 8, !tbaa !5
  %95 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %92, double noundef %94)
  %96 = zext i1 %95 to i64
  %spec.select = or disjoint i64 %87, %96
  br label %97

97:                                               ; preds = %89, %.lr.ph217
  %.0173 = phi i64 [ %87, %.lr.ph217 ], [ %spec.select, %89 ]
  %98 = load ptr, ptr %32, align 8, !tbaa !9
  %99 = add nsw i64 %.2171197215, -1
  %100 = getelementptr inbounds double, ptr %98, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !5
  %102 = add nsw i64 %.0173, -1
  %103 = getelementptr inbounds double, ptr %98, i64 %102
  %104 = load double, ptr %103, align 8, !tbaa !5
  %105 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %101, double noundef %104)
  br i1 %105, label %.thread212, label %106

106:                                              ; preds = %97
  %107 = load ptr, ptr %32, align 8, !tbaa !9
  %108 = getelementptr inbounds double, ptr %107, i64 %102
  %109 = load double, ptr %108, align 8, !tbaa !5
  %110 = getelementptr inbounds double, ptr %107, i64 %99
  %111 = load double, ptr %110, align 8, !tbaa !5
  store double %111, ptr %108, align 8, !tbaa !5
  %112 = load ptr, ptr %32, align 8, !tbaa !9
  %113 = getelementptr inbounds double, ptr %112, i64 %99
  store double %109, ptr %113, align 8, !tbaa !5
  %114 = load ptr, ptr %33, align 8, !tbaa !9
  %115 = getelementptr inbounds i64, ptr %114, i64 %102
  %116 = load i64, ptr %115, align 8, !tbaa !12
  %117 = getelementptr inbounds i64, ptr %114, i64 %99
  %118 = load i64, ptr %117, align 8, !tbaa !12
  store i64 %118, ptr %115, align 8, !tbaa !12
  %119 = load ptr, ptr %33, align 8, !tbaa !9
  %120 = getelementptr inbounds i64, ptr %119, i64 %99
  store i64 %116, ptr %120, align 8, !tbaa !12
  %121 = shl nsw i64 %.0173, 1
  %122 = icmp sgt i64 %121, %.3
  br i1 %122, label %.thread212, label %.lr.ph217, !llvm.loop !17

.thread212:                                       ; preds = %106, %97, %75
  %123 = add nsw i64 %.3, -1
  %124 = icmp sgt i64 %.3, 1
  br i1 %124, label %75, label %.preheader187, !llvm.loop !18

.loopexit:                                        ; preds = %.prol.loopexit, %.lr.ph.new, %133
  %.not183.not = icmp slt i64 %.0162, %.1168
  br i1 %.not183.not, label %.preheader187, label %.lr.ph205, !llvm.loop !19

.preheader187:                                    ; preds = %.thread212, %.loopexit
  %.4201 = phi i64 [ %.0162, %.loopexit ], [ 0, %.thread212 ]
  br label %125

.lr.ph205:                                        ; preds = %.loopexit
  %smax = call i64 @llvm.smax.i64(i64 %.1168, i64 1)
  br label %155

125:                                              ; preds = %.preheader187, %126
  %indvar = phi i64 [ 0, %.preheader187 ], [ %indvar.next, %126 ]
  %indvars.iv.in = phi i64 [ %.4201, %.preheader187 ], [ %indvars.iv, %126 ]
  %.0162.in = phi i64 [ %.4201, %.preheader187 ], [ %.0162, %126 ]
  %.0162 = add nsw i64 %.0162.in, 1
  %.not185.not = icmp slt i64 %.0162.in, %74
  br i1 %.not185.not, label %126, label %133

126:                                              ; preds = %125
  %indvars.iv = add i64 %indvars.iv.in, 1
  %127 = load ptr, ptr %32, align 8, !tbaa !9
  %128 = getelementptr inbounds double, ptr %127, i64 %.0162
  %129 = load double, ptr %128, align 8, !tbaa !5
  %130 = getelementptr inbounds double, ptr %127, i64 %.4201
  %131 = load double, ptr %130, align 8, !tbaa !5
  %132 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %129, double noundef %131)
  %indvar.next = add i64 %indvar, 1
  br i1 %132, label %133, label %125, !llvm.loop !20

133:                                              ; preds = %126, %125
  %.not186198 = icmp sgt i64 %.4201, %.0162.in
  br i1 %.not186198, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %133
  %134 = add i64 %.0162.in, %.4201
  %135 = sitofp i64 %134 to double
  %136 = fmul double %135, 5.000000e-01
  %137 = fadd double %136, 1.000000e+00
  %138 = add i64 %indvar, 1
  %xtraiter = and i64 %138, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.prol.loopexit, label %.prol.preheader

.prol.preheader:                                  ; preds = %.lr.ph, %.prol.preheader
  %.1174199.prol = phi i64 [ %141, %.prol.preheader ], [ %.4201, %.lr.ph ]
  %prol.iter = phi i64 [ %prol.iter.next, %.prol.preheader ], [ 0, %.lr.ph ]
  %139 = load ptr, ptr %32, align 8, !tbaa !9
  %140 = getelementptr inbounds double, ptr %139, i64 %.1174199.prol
  store double %137, ptr %140, align 8, !tbaa !5
  %141 = add i64 %.1174199.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.prol.loopexit, label %.prol.preheader, !llvm.loop !21

.prol.loopexit:                                   ; preds = %.prol.preheader, %.lr.ph
  %.1174199.unr = phi i64 [ %.4201, %.lr.ph ], [ %141, %.prol.preheader ]
  %142 = icmp ult i64 %indvar, 3
  br i1 %142, label %.loopexit, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.prol.loopexit, %.lr.ph.new
  %.1174199 = phi i64 [ %154, %.lr.ph.new ], [ %.1174199.unr, %.prol.loopexit ]
  %143 = load ptr, ptr %32, align 8, !tbaa !9
  %144 = getelementptr inbounds double, ptr %143, i64 %.1174199
  store double %137, ptr %144, align 8, !tbaa !5
  %145 = load ptr, ptr %32, align 8, !tbaa !9
  %146 = getelementptr double, ptr %145, i64 %.1174199
  %147 = getelementptr i8, ptr %146, i64 8
  store double %137, ptr %147, align 8, !tbaa !5
  %148 = load ptr, ptr %32, align 8, !tbaa !9
  %149 = getelementptr double, ptr %148, i64 %.1174199
  %150 = getelementptr i8, ptr %149, i64 16
  store double %137, ptr %150, align 8, !tbaa !5
  %151 = add i64 %.1174199, 3
  %152 = load ptr, ptr %32, align 8, !tbaa !9
  %153 = getelementptr inbounds double, ptr %152, i64 %151
  store double %137, ptr %153, align 8, !tbaa !5
  %154 = add i64 %.1174199, 4
  %exitcond208.not.3 = icmp eq i64 %151, %indvars.iv.in
  br i1 %exitcond208.not.3, label %.loopexit, label %.lr.ph.new, !llvm.loop !23

155:                                              ; preds = %.lr.ph205, %168
  %.5204 = phi i64 [ 0, %.lr.ph205 ], [ %169, %168 ]
  %.0165203 = phi double [ 0.000000e+00, %.lr.ph205 ], [ %.1166, %168 ]
  %156 = load ptr, ptr %13, align 8, !tbaa !9
  %157 = load ptr, ptr %33, align 8, !tbaa !9
  %158 = getelementptr inbounds i64, ptr %157, i64 %.5204
  %159 = load i64, ptr %158, align 8, !tbaa !12
  %160 = getelementptr inbounds double, ptr %156, i64 %159
  %161 = load double, ptr %160, align 8, !tbaa !5
  %162 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %161, double noundef %2)
  br i1 %162, label %163, label %168

163:                                              ; preds = %155
  %164 = load ptr, ptr %32, align 8, !tbaa !9
  %165 = getelementptr inbounds double, ptr %164, i64 %.5204
  %166 = load double, ptr %165, align 8, !tbaa !5
  %167 = fadd double %.0165203, %166
  br label %168

168:                                              ; preds = %155, %163
  %.1166 = phi double [ %167, %163 ], [ %.0165203, %155 ]
  %169 = add nuw nsw i64 %.5204, 1
  %exitcond209.not = icmp eq i64 %169, %smax
  br i1 %exitcond209.not, label %._crit_edge, label %155, !llvm.loop !24

._crit_edge:                                      ; preds = %168
  %170 = uitofp nneg i64 %.1168 to double
  %171 = uitofp nneg i64 %34 to double
  %172 = call noundef double @_ZN11alglib_impl5rmul2EddPNS_8ae_stateE(double noundef %170, double noundef %171, ptr noundef %6)
  %173 = fmul double %172, 2.500000e-01
  %174 = shl nuw nsw i64 %.1168, 1
  %175 = or disjoint i64 %174, 1
  %176 = uitofp nneg i64 %175 to double
  %177 = fmul double %173, %176
  %178 = fdiv double %177, 6.000000e+00
  %179 = call noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef %178, ptr noundef %6)
  %180 = fsub double %.1166, %173
  %181 = fdiv double %180, %179
  %182 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef %181, double noundef 0.000000e+00)
  br i1 %182, label %183, label %195

183:                                              ; preds = %._crit_edge
  %184 = fneg double %180
  %185 = fdiv double %184, %179
  %186 = call noundef double @_ZN11alglib_implL10wsr_wsigmaEdlPNS_8ae_stateE(double noundef %185, i64 noundef %.1168, ptr noundef %6)
  %187 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %186, ptr noundef %6)
  %188 = fadd double %.1166, -1.000000e+00
  %189 = fsub double %188, %173
  %190 = fneg double %189
  %191 = fdiv double %190, %179
  %192 = call noundef double @_ZN11alglib_implL10wsr_wsigmaEdlPNS_8ae_stateE(double noundef %191, i64 noundef %.1168, ptr noundef %6)
  %193 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %192, ptr noundef %6)
  %194 = fsub double 1.000000e+00, %193
  br label %204

195:                                              ; preds = %._crit_edge
  %196 = call noundef double @_ZN11alglib_implL10wsr_wsigmaEdlPNS_8ae_stateE(double noundef %181, i64 noundef %.1168, ptr noundef %6)
  %197 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %196, ptr noundef %6)
  %198 = fadd double %.1166, 1.000000e+00
  %199 = fsub double %198, %173
  %200 = fdiv double %199, %179
  %201 = call noundef double @_ZN11alglib_implL10wsr_wsigmaEdlPNS_8ae_stateE(double noundef %200, i64 noundef %.1168, ptr noundef %6)
  %202 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %201, ptr noundef %6)
  %203 = fsub double 1.000000e+00, %202
  br label %204

204:                                              ; preds = %195, %183
  %.0164 = phi double [ %187, %183 ], [ %203, %195 ]
  %.0163 = phi double [ %194, %183 ], [ %197, %195 ]
  %205 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0164, double noundef 1.000000e-04, ptr noundef %6)
  store double %205, ptr %4, align 8, !tbaa !5
  %206 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0163, double noundef 1.000000e-04, ptr noundef %6)
  store double %206, ptr %5, align 8, !tbaa !5
  %207 = load double, ptr %4, align 8, !tbaa !5
  %208 = call noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef %207, double noundef %206, ptr noundef %6)
  %209 = fmul double %208, 2.000000e+00
  store double %209, ptr %3, align 8, !tbaa !5
  br label %210

210:                                              ; preds = %204, %30, %14
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %6)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  ret void
}

declare noundef double @_ZN11alglib_impl7ae_sqrtEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef, double noundef) local_unnamed_addr #2

declare noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef, double noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef, i64 noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef, double noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl13ae_fp_less_eqEdd(double noundef, double noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN11alglib_impl8ae_fp_eqEdd(double noundef, double noundef) local_unnamed_addr #2

declare void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare noundef double @_ZN11alglib_impl5rmul2EddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #2

declare noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef double @_ZN11alglib_implL10wsr_wsigmaEdlPNS_8ae_stateE(double noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #2

declare noundef double @_ZN11alglib_impl10ae_minrealEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #2

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

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


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