; LLVM IR from Dimandragon/non-parametric-dsp :: 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_impl22wilcoxonsignedranktestEPKNS_9ae_vectorEldPdS3_S3_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_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %16, ptr noundef %34, ptr noundef %35, i1 noundef zeroext true)
  %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 %520

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 = %75, %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 %78

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

62:                                               ; preds = %54
  br label %75

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

75:                                               ; preds = %63, %62
  %76 = load i64, ptr %17, align 8, !tbaa !9
  %77 = add nsw i64 %76, 1
  store i64 %77, ptr %17, align 8, !tbaa !9
  br label %49, !llvm.loop !14

78:                                               ; preds = %49
  %79 = load i64, ptr %23, align 8, !tbaa !9
  %80 = icmp slt i64 %79, 5
  br i1 %80, label %81, label %86

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

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

95:                                               ; preds = %119, %86
  %96 = load i64, ptr %17, align 8, !tbaa !9
  %97 = load i64, ptr %23, align 8, !tbaa !9
  %98 = sub nsw i64 %97, 1
  %99 = icmp sle i64 %96, %98
  br i1 %99, label %100, label %122

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

119:                                              ; preds = %100
  %120 = load i64, ptr %17, align 8, !tbaa !9
  %121 = add nsw i64 %120, 1
  store i64 %121, ptr %17, align 8, !tbaa !9
  br label %95, !llvm.loop !16

122:                                              ; preds = %95
  %123 = load i64, ptr %23, align 8, !tbaa !9
  %124 = icmp ne i64 %123, 1
  br i1 %124, label %125, label %345

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

126:                                              ; preds = %200, %125
  %127 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %127, ptr %20, align 8, !tbaa !9
  br label %128

128:                                              ; preds = %196, %126
  %129 = load i64, ptr %20, align 8, !tbaa !9
  %130 = icmp ne i64 %129, 1
  br i1 %130, label %131, label %197

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

147:                                              ; preds = %131
  store i64 1, ptr %20, align 8, !tbaa !9
  br label %196

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

196:                                              ; preds = %148, %147
  br label %128, !llvm.loop !17

197:                                              ; preds = %128
  %198 = load i64, ptr %17, align 8, !tbaa !9
  %199 = add nsw i64 %198, 1
  store i64 %199, ptr %17, align 8, !tbaa !9
  br label %200

200:                                              ; preds = %197
  %201 = load i64, ptr %17, align 8, !tbaa !9
  %202 = load i64, ptr %23, align 8, !tbaa !9
  %203 = icmp sle i64 %201, %202
  br i1 %203, label %126, label %204, !llvm.loop !18

204:                                              ; preds = %200
  %205 = load i64, ptr %23, align 8, !tbaa !9
  %206 = sub nsw i64 %205, 1
  store i64 %206, ptr %17, align 8, !tbaa !9
  br label %207

207:                                              ; preds = %341, %204
  %208 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %209 = load ptr, ptr %208, align 8, !tbaa !13
  %210 = load i64, ptr %17, align 8, !tbaa !9
  %211 = getelementptr inbounds double, ptr %209, i64 %210
  %212 = load double, ptr %211, align 8, !tbaa !11
  store double %212, ptr %21, align 8, !tbaa !11
  %213 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %214 = load ptr, ptr %213, align 8, !tbaa !13
  %215 = getelementptr inbounds double, ptr %214, i64 0
  %216 = load double, ptr %215, 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 = load i64, ptr %17, align 8, !tbaa !9
  %220 = getelementptr inbounds double, ptr %218, i64 %219
  store double %216, ptr %220, align 8, !tbaa !11
  %221 = load double, ptr %21, align 8, !tbaa !11
  %222 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %223 = load ptr, ptr %222, align 8, !tbaa !13
  %224 = getelementptr inbounds double, ptr %223, i64 0
  store double %221, ptr %224, align 8, !tbaa !11
  %225 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %226 = load ptr, ptr %225, align 8, !tbaa !13
  %227 = load i64, ptr %17, align 8, !tbaa !9
  %228 = getelementptr inbounds i64, ptr %226, i64 %227
  %229 = load i64, ptr %228, align 8, !tbaa !9
  store i64 %229, ptr %22, align 8, !tbaa !9
  %230 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %231 = load ptr, ptr %230, align 8, !tbaa !13
  %232 = getelementptr inbounds i64, ptr %231, i64 0
  %233 = load i64, ptr %232, 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 = load i64, ptr %17, align 8, !tbaa !9
  %237 = getelementptr inbounds i64, ptr %235, i64 %236
  store i64 %233, ptr %237, align 8, !tbaa !9
  %238 = load i64, ptr %22, align 8, !tbaa !9
  %239 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %240 = load ptr, ptr %239, align 8, !tbaa !13
  %241 = getelementptr inbounds i64, ptr %240, i64 0
  store i64 %238, ptr %241, align 8, !tbaa !9
  store i64 1, ptr %20, align 8, !tbaa !9
  br label %242

242:                                              ; preds = %337, %207
  %243 = load i64, ptr %20, align 8, !tbaa !9
  %244 = icmp ne i64 %243, 0
  br i1 %244, label %245, label %338

245:                                              ; preds = %242
  %246 = load i64, ptr %20, align 8, !tbaa !9
  %247 = mul nsw i64 2, %246
  store i64 %247, ptr %19, align 8, !tbaa !9
  %248 = load i64, ptr %19, align 8, !tbaa !9
  %249 = load i64, ptr %17, align 8, !tbaa !9
  %250 = icmp sgt i64 %248, %249
  br i1 %250, label %251, label %252

251:                                              ; preds = %245
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %337

252:                                              ; preds = %245
  %253 = load i64, ptr %19, align 8, !tbaa !9
  %254 = load i64, ptr %17, align 8, !tbaa !9
  %255 = icmp slt i64 %253, %254
  br i1 %255, label %256, label %273

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

269:                                              ; preds = %256
  %270 = load i64, ptr %19, align 8, !tbaa !9
  %271 = add nsw i64 %270, 1
  store i64 %271, ptr %19, align 8, !tbaa !9
  br label %272

272:                                              ; preds = %269, %256
  br label %273

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

287:                                              ; preds = %273
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %336

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

336:                                              ; preds = %288, %287
  br label %337

337:                                              ; preds = %336, %251
  br label %242, !llvm.loop !19

338:                                              ; preds = %242
  %339 = load i64, ptr %17, align 8, !tbaa !9
  %340 = sub nsw i64 %339, 1
  store i64 %340, ptr %17, align 8, !tbaa !9
  br label %341

341:                                              ; preds = %338
  %342 = load i64, ptr %17, align 8, !tbaa !9
  %343 = icmp sge i64 %342, 1
  br i1 %343, label %207, label %344, !llvm.loop !20

344:                                              ; preds = %341
  br label %345

345:                                              ; preds = %344, %122
  store i64 0, ptr %17, align 8, !tbaa !9
  br label %346

346:                                              ; preds = %397, %345
  %347 = load i64, ptr %17, align 8, !tbaa !9
  %348 = load i64, ptr %23, align 8, !tbaa !9
  %349 = sub nsw i64 %348, 1
  %350 = icmp sle i64 %347, %349
  br i1 %350, label %351, label %399

351:                                              ; preds = %346
  %352 = load i64, ptr %17, align 8, !tbaa !9
  %353 = add nsw i64 %352, 1
  store i64 %353, ptr %18, align 8, !tbaa !9
  br label %354

354:                                              ; preds = %372, %351
  %355 = load i64, ptr %18, align 8, !tbaa !9
  %356 = load i64, ptr %23, align 8, !tbaa !9
  %357 = sub nsw i64 %356, 1
  %358 = icmp sle i64 %355, %357
  br i1 %358, label %359, label %375

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

371:                                              ; preds = %359
  br label %375

372:                                              ; preds = %359
  %373 = load i64, ptr %18, align 8, !tbaa !9
  %374 = add nsw i64 %373, 1
  store i64 %374, ptr %18, align 8, !tbaa !9
  br label %354, !llvm.loop !21

375:                                              ; preds = %371, %354
  %376 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %376, ptr %19, align 8, !tbaa !9
  br label %377

377:                                              ; preds = %394, %375
  %378 = load i64, ptr %19, align 8, !tbaa !9
  %379 = load i64, ptr %18, align 8, !tbaa !9
  %380 = sub nsw i64 %379, 1
  %381 = icmp sle i64 %378, %380
  br i1 %381, label %382, label %397

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

394:                                              ; preds = %382
  %395 = load i64, ptr %19, align 8, !tbaa !9
  %396 = add nsw i64 %395, 1
  store i64 %396, ptr %19, align 8, !tbaa !9
  br label %377, !llvm.loop !22

397:                                              ; preds = %377
  %398 = load i64, ptr %18, align 8, !tbaa !9
  store i64 %398, ptr %17, align 8, !tbaa !9
  br label %346, !llvm.loop !23

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

400:                                              ; preds = %426, %399
  %401 = load i64, ptr %17, align 8, !tbaa !9
  %402 = load i64, ptr %23, align 8, !tbaa !9
  %403 = sub nsw i64 %402, 1
  %404 = icmp sle i64 %401, %403
  br i1 %404, label %405, label %429

405:                                              ; preds = %400
  %406 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %407 = load ptr, ptr %406, align 8, !tbaa !13
  %408 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %25, i32 0, i32 4
  %409 = load ptr, ptr %408, align 8, !tbaa !13
  %410 = load i64, ptr %17, align 8, !tbaa !9
  %411 = getelementptr inbounds i64, ptr %409, i64 %410
  %412 = load i64, ptr %411, align 8, !tbaa !9
  %413 = getelementptr inbounds double, ptr %407, i64 %412
  %414 = load double, ptr %413, align 8, !tbaa !11
  %415 = load double, ptr %10, align 8, !tbaa !11
  %416 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %414, double noundef %415)
  br i1 %416, label %417, label %425

417:                                              ; preds = %405
  %418 = load double, ptr %26, align 8, !tbaa !11
  %419 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %24, i32 0, i32 4
  %420 = load ptr, ptr %419, align 8, !tbaa !13
  %421 = load i64, ptr %17, align 8, !tbaa !9
  %422 = getelementptr inbounds double, ptr %420, i64 %421
  %423 = load double, ptr %422, align 8, !tbaa !11
  %424 = fadd double %418, %423
  store double %424, ptr %26, align 8, !tbaa !11
  br label %425

425:                                              ; preds = %417, %405
  br label %426

426:                                              ; preds = %425
  %427 = load i64, ptr %17, align 8, !tbaa !9
  %428 = add nsw i64 %427, 1
  store i64 %428, ptr %17, align 8, !tbaa !9
  br label %400, !llvm.loop !24

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

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

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

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

520:                                              ; preds = %502, %81, %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
  %521 = load i32, ptr %32, align 4
  switch i32 %521, label %523 [
    i32 0, label %522
    i32 1, label %522
  ]

522:                                              ; preds = %520, %520
  ret void

523:                                              ; preds = %520
  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_vectorEPKS0_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_impl10ae_minrealEddPNS_8ae_stateE(double noundef, double 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

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_impl22wilcoxonsignedranktestEPKNS_9ae_vectorEldPdS3_S3_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_vectorEPKS0_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 %.preheader186

.preheader186:                                    ; 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 = %.preheader186, %26
  %.0189 = phi i64 [ 0, %.preheader186 ], [ %27, %26 ]
  %.0164188 = phi i64 [ 0, %.preheader186 ], [ %.1165, %26 ]
  %16 = load ptr, ptr %13, align 8, !tbaa !9
  %17 = getelementptr inbounds double, ptr %16, i64 %.0189
  %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 %.0189
  %23 = load double, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds double, ptr %21, i64 %.0164188
  store double %23, ptr %24, align 8, !tbaa !5
  %25 = add nsw i64 %.0164188, 1
  br label %26

26:                                               ; preds = %15, %20
  %.1165 = phi i64 [ %.0164188, %15 ], [ %25, %20 ]
  %27 = add nuw nsw i64 %.0189, 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 %.1165, 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 %.1165, ptr noundef %6)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %.1165, ptr noundef %6)
  %32 = getelementptr inbounds i8, ptr %10, i64 56
  %33 = getelementptr inbounds i8, ptr %11, i64 56
  br label %35

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

35:                                               ; preds = %31, %35
  %.1190 = phi i64 [ 0, %31 ], [ %45, %35 ]
  %36 = load ptr, ptr %13, align 8, !tbaa !9
  %37 = getelementptr inbounds double, ptr %36, i64 %.1190
  %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 %.1190
  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 %.1190
  store i64 %.1190, ptr %44, align 8, !tbaa !12
  %45 = add nuw nsw i64 %.1190, 1
  %exitcond201.not = icmp eq i64 %45, %.1165
  br i1 %exitcond201.not, label %.preheader185, label %35, !llvm.loop !14

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

47:                                               ; preds = %46, %57
  %.0166191 = phi i64 [ %.2, %46 ], [ %48, %57 ]
  %48 = sdiv i64 %.0166191, 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 %.0166191, -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 %.0166191, -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
  %exitcond202.not = icmp eq i64 %.2, %.1165
  br i1 %exitcond202.not, label %.preheader184, label %46, !llvm.loop !16

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

75:                                               ; preds = %.preheader184, %.thread207
  %.3 = phi i64 [ %123, %.thread207 ], [ %74, %.preheader184 ]
  %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 %.thread207, label %.lr.ph212

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

89:                                               ; preds = %.lr.ph212
  %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.ph212
  %.0158 = phi i64 [ %87, %.lr.ph212 ], [ %spec.select, %89 ]
  %98 = load ptr, ptr %32, align 8, !tbaa !9
  %99 = add nsw i64 %.2168192210, -1
  %100 = getelementptr inbounds double, ptr %98, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !5
  %102 = add nsw i64 %.0158, -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 %.thread207, 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 %.0158, 1
  %122 = icmp sgt i64 %121, %.3
  br i1 %122, label %.thread207, label %.lr.ph212, !llvm.loop !17

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

.loopexit:                                        ; preds = %.prol.loopexit, %.lr.ph.new, %133
  %.not178.not = icmp slt i64 %.0157, %.1165
  br i1 %.not178.not, label %.preheader182, label %.lr.ph200, !llvm.loop !19

.preheader182:                                    ; preds = %.thread207, %.loopexit
  %.4196 = phi i64 [ %.0157, %.loopexit ], [ 0, %.thread207 ]
  br label %125

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

125:                                              ; preds = %.preheader182, %126
  %indvar = phi i64 [ 0, %.preheader182 ], [ %indvar.next, %126 ]
  %indvars.iv.in = phi i64 [ %.4196, %.preheader182 ], [ %indvars.iv, %126 ]
  %.0157.in = phi i64 [ %.4196, %.preheader182 ], [ %.0157, %126 ]
  %.0157 = add nsw i64 %.0157.in, 1
  %.not180.not = icmp slt i64 %.0157.in, %74
  br i1 %.not180.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 %.0157
  %129 = load double, ptr %128, align 8, !tbaa !5
  %130 = getelementptr inbounds double, ptr %127, i64 %.4196
  %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
  %.not181193 = icmp sgt i64 %.4196, %.0157.in
  br i1 %.not181193, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %133
  %134 = add i64 %.0157.in, %.4196
  %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
  %.1159194.prol = phi i64 [ %141, %.prol.preheader ], [ %.4196, %.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 %.1159194.prol
  store double %137, ptr %140, align 8, !tbaa !5
  %141 = add i64 %.1159194.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
  %.1159194.unr = phi i64 [ %.4196, %.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
  %.1159194 = phi i64 [ %154, %.lr.ph.new ], [ %.1159194.unr, %.prol.loopexit ]
  %143 = load ptr, ptr %32, align 8, !tbaa !9
  %144 = getelementptr inbounds double, ptr %143, i64 %.1159194
  store double %137, ptr %144, align 8, !tbaa !5
  %145 = load ptr, ptr %32, align 8, !tbaa !9
  %146 = getelementptr double, ptr %145, i64 %.1159194
  %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 %.1159194
  %150 = getelementptr i8, ptr %149, i64 16
  store double %137, ptr %150, align 8, !tbaa !5
  %151 = add i64 %.1159194, 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 %.1159194, 4
  %exitcond203.not.3 = icmp eq i64 %151, %indvars.iv.in
  br i1 %exitcond203.not.3, label %.loopexit, label %.lr.ph.new, !llvm.loop !23

155:                                              ; preds = %.lr.ph200, %168
  %.5199 = phi i64 [ 0, %.lr.ph200 ], [ %169, %168 ]
  %.0162198 = phi double [ 0.000000e+00, %.lr.ph200 ], [ %.1163, %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 %.5199
  %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 %.5199
  %166 = load double, ptr %165, align 8, !tbaa !5
  %167 = fadd double %.0162198, %166
  br label %168

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

._crit_edge:                                      ; preds = %168
  %170 = uitofp nneg i64 %.1165 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 %.1165, 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 %.1163, %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 %.1165, ptr noundef %6)
  %187 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %186, ptr noundef %6)
  %188 = fadd double %.1163, -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 %.1165, 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 %.1165, ptr noundef %6)
  %197 = call noundef double @_ZN11alglib_impl6ae_expEdPNS_8ae_stateE(double noundef %196, ptr noundef %6)
  %198 = fadd double %.1163, 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 %.1165, 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
  %.0161 = phi double [ %187, %183 ], [ %203, %195 ]
  %.0160 = phi double [ %194, %183 ], [ %197, %195 ]
  %205 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.0161, 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 %.0160, 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_vectorEPKS0_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_impl10ae_minrealEddPNS_8ae_stateE(double noundef, double 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

; 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