; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/tests/test_c.ll (Z8testconvbPN11alglib_impl8ae_stateE)

; 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 }
%union.anon = type { ptr }
%"struct.alglib_impl::ae_complex" = type { double, double }

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.579 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.599 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.600 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.601 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.602 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.603 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.604 = external hidden unnamed_addr constant [43 x i8], align 1

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

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

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

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

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

declare i32 @printf(ptr noundef, ...) #1

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #1

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

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) #1

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

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

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

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

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

declare noundef double @_ZN11alglib_impl8ae_c_absENS_10ae_complexEPNS_8ae_stateE(double, double, ptr noundef) #1

declare { double, double } @_ZN11alglib_impl8ae_c_subENS_10ae_complexES0_(double, double, double, double) #1

declare noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z8testconvbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) #5 {
  %3 = alloca i8, align 1
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca %"struct.alglib_impl::ae_vector", align 8
  %12 = alloca %"struct.alglib_impl::ae_vector", align 8
  %13 = alloca %"struct.alglib_impl::ae_vector", align 8
  %14 = alloca %"struct.alglib_impl::ae_vector", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca %"struct.alglib_impl::ae_vector", align 8
  %17 = alloca %"struct.alglib_impl::ae_vector", align 8
  %18 = alloca %"struct.alglib_impl::ae_vector", align 8
  %19 = alloca i64, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca i8, align 1
  %28 = alloca i8, align 1
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  %31 = alloca %"struct.alglib_impl::ae_complex", align 8
  %32 = alloca %"struct.alglib_impl::ae_complex", align 8
  %33 = alloca %"struct.alglib_impl::ae_complex", align 8
  %34 = alloca %"struct.alglib_impl::ae_complex", align 8
  %35 = alloca %"struct.alglib_impl::ae_complex", align 8
  %36 = alloca %"struct.alglib_impl::ae_complex", align 8
  %37 = alloca %"struct.alglib_impl::ae_complex", align 8
  %38 = alloca %"struct.alglib_impl::ae_complex", align 8
  %39 = alloca %"struct.alglib_impl::ae_complex", align 8
  %40 = alloca %"struct.alglib_impl::ae_complex", align 8
  %41 = alloca %"struct.alglib_impl::ae_complex", align 8
  %42 = alloca %"struct.alglib_impl::ae_complex", align 8
  %43 = zext i1 %0 to i8
  store i8 %43, ptr %3, align 1, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #6
  %44 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %44, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %13, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %14, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 64, i1 false)
  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 %17, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %18, i8 0, i64 64, i1 false)
  %45 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %11, i64 noundef 0, i64 noundef 3, ptr noundef %45, i1 noundef zeroext true)
  %46 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %12, i64 noundef 0, i64 noundef 3, ptr noundef %46, i1 noundef zeroext true)
  %47 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %13, i64 noundef 0, i64 noundef 3, ptr noundef %47, i1 noundef zeroext true)
  %48 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %14, i64 noundef 0, i64 noundef 3, ptr noundef %48, i1 noundef zeroext true)
  %49 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %15, i64 noundef 0, i64 noundef 4, ptr noundef %49, i1 noundef zeroext true)
  %50 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %16, i64 noundef 0, i64 noundef 4, ptr noundef %50, i1 noundef zeroext true)
  %51 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %17, i64 noundef 0, i64 noundef 4, ptr noundef %51, i1 noundef zeroext true)
  %52 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %18, i64 noundef 0, i64 noundef 4, ptr noundef %52, i1 noundef zeroext true)
  store i64 32, ptr %19, align 8, !tbaa !11
  %53 = load i64, ptr %19, align 8, !tbaa !11
  %54 = sitofp i64 %53 to double
  %55 = load ptr, ptr %4, align 8, !tbaa !9
  %56 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef %54, double noundef 1.500000e+00, ptr noundef %55)
  %57 = fmul double 1.000000e+05, %56
  %58 = fmul double %57, 5.000000e-16
  store double %58, ptr %24, align 8, !tbaa !13
  store i8 0, ptr %25, align 1, !tbaa !5
  store i8 0, ptr %26, align 1, !tbaa !5
  store i8 0, ptr %27, align 1, !tbaa !5
  store i8 0, ptr %28, align 1, !tbaa !5
  store i8 0, ptr %29, align 1, !tbaa !5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !13
  store double 0.000000e+00, ptr %21, align 8, !tbaa !13
  store i64 1, ptr %6, align 8, !tbaa !11
  br label %59

59:                                               ; preds = %433, %2
  %60 = load i64, ptr %6, align 8, !tbaa !11
  %61 = load i64, ptr %19, align 8, !tbaa !11
  %62 = icmp sle i64 %60, %61
  br i1 %62, label %63, label %436

63:                                               ; preds = %59
  store i64 1, ptr %7, align 8, !tbaa !11
  br label %64

64:                                               ; preds = %429, %63
  %65 = load i64, ptr %7, align 8, !tbaa !11
  %66 = load i64, ptr %19, align 8, !tbaa !11
  %67 = icmp sle i64 %65, %66
  br i1 %67, label %68, label %432

68:                                               ; preds = %64
  store i64 0, ptr %10, align 8, !tbaa !11
  br label %69

69:                                               ; preds = %425, %68
  %70 = load i64, ptr %10, align 8, !tbaa !11
  %71 = icmp sle i64 %70, 1
  br i1 %71, label %72, label %428

72:                                               ; preds = %69
  store i64 -3, ptr %9, align 8, !tbaa !11
  br label %73

73:                                               ; preds = %421, %72
  %74 = load i64, ptr %9, align 8, !tbaa !11
  %75 = icmp sle i64 %74, 1
  br i1 %75, label %76, label %424

76:                                               ; preds = %73
  %77 = load i64, ptr %10, align 8, !tbaa !11
  %78 = icmp ne i64 %77, 0
  br i1 %78, label %79, label %87

79:                                               ; preds = %76
  %80 = load i64, ptr %6, align 8, !tbaa !11
  %81 = load i64, ptr %7, align 8, !tbaa !11
  %82 = icmp slt i64 %80, %81
  br i1 %82, label %83, label %87

83:                                               ; preds = %79
  %84 = load i64, ptr %9, align 8, !tbaa !11
  %85 = icmp ne i64 %84, -3
  br i1 %85, label %86, label %87

86:                                               ; preds = %83
  br label %421

87:                                               ; preds = %83, %79, %76
  %88 = load i64, ptr %6, align 8, !tbaa !11
  %89 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %15, i64 noundef %88, ptr noundef %89)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %90

90:                                               ; preds = %112, %87
  %91 = load i64, ptr %8, align 8, !tbaa !11
  %92 = load i64, ptr %6, align 8, !tbaa !11
  %93 = sub nsw i64 %92, 1
  %94 = icmp sle i64 %91, %93
  br i1 %94, label %95, label %115

95:                                               ; preds = %90
  %96 = load ptr, ptr %4, align 8, !tbaa !9
  %97 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %96)
  %98 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %97, double -1.000000e+00)
  %99 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %100 = load ptr, ptr %99, align 8, !tbaa !15
  %101 = load i64, ptr %8, align 8, !tbaa !11
  %102 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %100, i64 %101
  %103 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %102, i32 0, i32 0
  store double %98, ptr %103, align 8, !tbaa !16
  %104 = load ptr, ptr %4, align 8, !tbaa !9
  %105 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %104)
  %106 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %105, double -1.000000e+00)
  %107 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %108 = load ptr, ptr %107, align 8, !tbaa !15
  %109 = load i64, ptr %8, align 8, !tbaa !11
  %110 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %108, i64 %109
  %111 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %110, i32 0, i32 1
  store double %106, ptr %111, align 8, !tbaa !18
  br label %112

112:                                              ; preds = %95
  %113 = load i64, ptr %8, align 8, !tbaa !11
  %114 = add nsw i64 %113, 1
  store i64 %114, ptr %8, align 8, !tbaa !11
  br label %90, !llvm.loop !19

115:                                              ; preds = %90
  %116 = load i64, ptr %7, align 8, !tbaa !11
  %117 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef %116, ptr noundef %117)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %118

118:                                              ; preds = %140, %115
  %119 = load i64, ptr %8, align 8, !tbaa !11
  %120 = load i64, ptr %7, align 8, !tbaa !11
  %121 = sub nsw i64 %120, 1
  %122 = icmp sle i64 %119, %121
  br i1 %122, label %123, label %143

123:                                              ; preds = %118
  %124 = load ptr, ptr %4, align 8, !tbaa !9
  %125 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %124)
  %126 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %125, double -1.000000e+00)
  %127 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %128 = load ptr, ptr %127, align 8, !tbaa !15
  %129 = load i64, ptr %8, align 8, !tbaa !11
  %130 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %128, i64 %129
  %131 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %130, i32 0, i32 0
  store double %126, ptr %131, align 8, !tbaa !16
  %132 = load ptr, ptr %4, align 8, !tbaa !9
  %133 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %132)
  %134 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %133, double -1.000000e+00)
  %135 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %136 = load ptr, ptr %135, align 8, !tbaa !15
  %137 = load i64, ptr %8, align 8, !tbaa !11
  %138 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %136, i64 %137
  %139 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %138, i32 0, i32 1
  store double %134, ptr %139, align 8, !tbaa !18
  br label %140

140:                                              ; preds = %123
  %141 = load i64, ptr %8, align 8, !tbaa !11
  %142 = add nsw i64 %141, 1
  store i64 %142, ptr %8, align 8, !tbaa !11
  br label %118, !llvm.loop !21

143:                                              ; preds = %118
  %144 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %17, i64 noundef 1, ptr noundef %144)
  %145 = load i64, ptr %9, align 8, !tbaa !11
  %146 = icmp eq i64 %145, -3
  br i1 %146, label %147, label %159

147:                                              ; preds = %143
  %148 = load i64, ptr %10, align 8, !tbaa !11
  %149 = icmp eq i64 %148, 0
  br i1 %149, label %150, label %154

150:                                              ; preds = %147
  %151 = load i64, ptr %6, align 8, !tbaa !11
  %152 = load i64, ptr %7, align 8, !tbaa !11
  %153 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7convc1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %15, i64 noundef %151, ptr noundef %16, i64 noundef %152, ptr noundef %17, ptr noundef %153)
  br label %158

154:                                              ; preds = %147
  %155 = load i64, ptr %6, align 8, !tbaa !11
  %156 = load i64, ptr %7, align 8, !tbaa !11
  %157 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl15convc1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %15, i64 noundef %155, ptr noundef %16, i64 noundef %156, ptr noundef %17, ptr noundef %157)
  br label %158

158:                                              ; preds = %154, %150
  br label %179

159:                                              ; preds = %143
  %160 = load i64, ptr %6, align 8, !tbaa !11
  %161 = load i64, ptr %7, align 8, !tbaa !11
  %162 = icmp sge i64 %160, %161
  br i1 %162, label %163, label %170

163:                                              ; preds = %159
  %164 = load i64, ptr %6, align 8, !tbaa !11
  %165 = load i64, ptr %7, align 8, !tbaa !11
  %166 = load i64, ptr %10, align 8, !tbaa !11
  %167 = icmp ne i64 %166, 0
  %168 = load i64, ptr %9, align 8, !tbaa !11
  %169 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8convc1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef %15, i64 noundef %164, ptr noundef %16, i64 noundef %165, i1 noundef zeroext %167, i64 noundef %168, i64 noundef 0, ptr noundef %17, ptr noundef %169)
  br label %178

170:                                              ; preds = %159
  %171 = load i64, ptr %10, align 8, !tbaa !11
  %172 = icmp eq i64 %171, 0
  %173 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %172, ptr noundef @.str.599, ptr noundef %173)
  %174 = load i64, ptr %7, align 8, !tbaa !11
  %175 = load i64, ptr %6, align 8, !tbaa !11
  %176 = load i64, ptr %9, align 8, !tbaa !11
  %177 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8convc1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef %16, i64 noundef %174, ptr noundef %15, i64 noundef %175, i1 noundef zeroext false, i64 noundef %176, i64 noundef 0, ptr noundef %17, ptr noundef %177)
  br label %178

178:                                              ; preds = %170, %163
  br label %179

179:                                              ; preds = %178, %158
  %180 = load i64, ptr %10, align 8, !tbaa !11
  %181 = icmp eq i64 %180, 0
  br i1 %181, label %182, label %186

182:                                              ; preds = %179
  %183 = load i64, ptr %6, align 8, !tbaa !11
  %184 = load i64, ptr %7, align 8, !tbaa !11
  %185 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testconvunit_refconvc1dPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %15, i64 noundef %183, ptr noundef %16, i64 noundef %184, ptr noundef %18, ptr noundef %185)
  br label %190

186:                                              ; preds = %179
  %187 = load i64, ptr %6, align 8, !tbaa !11
  %188 = load i64, ptr %7, align 8, !tbaa !11
  %189 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL31testconvunit_refconvc1dcircularPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %15, i64 noundef %187, ptr noundef %16, i64 noundef %188, ptr noundef %18, ptr noundef %189)
  br label %190

190:                                              ; preds = %186, %182
  %191 = load i64, ptr %10, align 8, !tbaa !11
  %192 = icmp eq i64 %191, 0
  br i1 %192, label %193, label %236

193:                                              ; preds = %190
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %194

194:                                              ; preds = %232, %193
  %195 = load i64, ptr %8, align 8, !tbaa !11
  %196 = load i64, ptr %6, align 8, !tbaa !11
  %197 = load i64, ptr %7, align 8, !tbaa !11
  %198 = add nsw i64 %196, %197
  %199 = sub nsw i64 %198, 2
  %200 = icmp sle i64 %195, %199
  br i1 %200, label %201, label %235

201:                                              ; preds = %194
  %202 = load double, ptr %20, align 8, !tbaa !13
  %203 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %17, i32 0, i32 4
  %204 = load ptr, ptr %203, align 8, !tbaa !15
  %205 = load i64, ptr %8, align 8, !tbaa !11
  %206 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %204, i64 %205
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %206, i64 16, i1 false), !tbaa.struct !22
  %207 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %208 = load ptr, ptr %207, align 8, !tbaa !15
  %209 = load i64, ptr %8, align 8, !tbaa !11
  %210 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %208, i64 %209
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %210, i64 16, i1 false), !tbaa.struct !22
  %211 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %212 = load double, ptr %211, align 8
  %213 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %214 = load double, ptr %213, align 8
  %215 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %216 = load double, ptr %215, align 8
  %217 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %218 = load double, ptr %217, align 8
  %219 = call { double, double } @_ZN11alglib_impl8ae_c_subENS_10ae_complexES0_(double %212, double %214, double %216, double %218)
  %220 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %221 = extractvalue { double, double } %219, 0
  store double %221, ptr %220, align 8
  %222 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %223 = extractvalue { double, double } %219, 1
  store double %223, ptr %222, align 8
  %224 = load ptr, ptr %4, align 8, !tbaa !9
  %225 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 0
  %226 = load double, ptr %225, align 8
  %227 = getelementptr inbounds { double, double }, ptr %31, i32 0, i32 1
  %228 = load double, ptr %227, align 8
  %229 = call noundef double @_ZN11alglib_impl8ae_c_absENS_10ae_complexEPNS_8ae_stateE(double %226, double %228, ptr noundef %224)
  %230 = load ptr, ptr %4, align 8, !tbaa !9
  %231 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %202, double noundef %229, ptr noundef %230)
  store double %231, ptr %20, align 8, !tbaa !13
  br label %232

232:                                              ; preds = %201
  %233 = load i64, ptr %8, align 8, !tbaa !11
  %234 = add nsw i64 %233, 1
  store i64 %234, ptr %8, align 8, !tbaa !11
  br label %194, !llvm.loop !23

235:                                              ; preds = %194
  br label %277

236:                                              ; preds = %190
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %237

237:                                              ; preds = %273, %236
  %238 = load i64, ptr %8, align 8, !tbaa !11
  %239 = load i64, ptr %6, align 8, !tbaa !11
  %240 = sub nsw i64 %239, 1
  %241 = icmp sle i64 %238, %240
  br i1 %241, label %242, label %276

242:                                              ; preds = %237
  %243 = load double, ptr %20, align 8, !tbaa !13
  %244 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %17, i32 0, i32 4
  %245 = load ptr, ptr %244, align 8, !tbaa !15
  %246 = load i64, ptr %8, align 8, !tbaa !11
  %247 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %245, i64 %246
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %35, ptr align 8 %247, i64 16, i1 false), !tbaa.struct !22
  %248 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %18, i32 0, i32 4
  %249 = load ptr, ptr %248, align 8, !tbaa !15
  %250 = load i64, ptr %8, align 8, !tbaa !11
  %251 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %249, i64 %250
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %251, i64 16, i1 false), !tbaa.struct !22
  %252 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %253 = load double, ptr %252, align 8
  %254 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %255 = load double, ptr %254, align 8
  %256 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 0
  %257 = load double, ptr %256, align 8
  %258 = getelementptr inbounds { double, double }, ptr %36, i32 0, i32 1
  %259 = load double, ptr %258, align 8
  %260 = call { double, double } @_ZN11alglib_impl8ae_c_subENS_10ae_complexES0_(double %253, double %255, double %257, double %259)
  %261 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %262 = extractvalue { double, double } %260, 0
  store double %262, ptr %261, align 8
  %263 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %264 = extractvalue { double, double } %260, 1
  store double %264, ptr %263, align 8
  %265 = load ptr, ptr %4, align 8, !tbaa !9
  %266 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %267 = load double, ptr %266, align 8
  %268 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %269 = load double, ptr %268, align 8
  %270 = call noundef double @_ZN11alglib_impl8ae_c_absENS_10ae_complexEPNS_8ae_stateE(double %267, double %269, ptr noundef %265)
  %271 = load ptr, ptr %4, align 8, !tbaa !9
  %272 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %243, double noundef %270, ptr noundef %271)
  store double %272, ptr %20, align 8, !tbaa !13
  br label %273

273:                                              ; preds = %242
  %274 = load i64, ptr %8, align 8, !tbaa !11
  %275 = add nsw i64 %274, 1
  store i64 %275, ptr %8, align 8, !tbaa !11
  br label %237, !llvm.loop !24

276:                                              ; preds = %237
  br label %277

277:                                              ; preds = %276, %235
  %278 = load i64, ptr %6, align 8, !tbaa !11
  %279 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %11, i64 noundef %278, ptr noundef %279)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %280

280:                                              ; preds = %293, %277
  %281 = load i64, ptr %8, align 8, !tbaa !11
  %282 = load i64, ptr %6, align 8, !tbaa !11
  %283 = sub nsw i64 %282, 1
  %284 = icmp sle i64 %281, %283
  br i1 %284, label %285, label %296

285:                                              ; preds = %280
  %286 = load ptr, ptr %4, align 8, !tbaa !9
  %287 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %286)
  %288 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %287, double -1.000000e+00)
  %289 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %11, i32 0, i32 4
  %290 = load ptr, ptr %289, align 8, !tbaa !15
  %291 = load i64, ptr %8, align 8, !tbaa !11
  %292 = getelementptr inbounds double, ptr %290, i64 %291
  store double %288, ptr %292, align 8, !tbaa !13
  br label %293

293:                                              ; preds = %285
  %294 = load i64, ptr %8, align 8, !tbaa !11
  %295 = add nsw i64 %294, 1
  store i64 %295, ptr %8, align 8, !tbaa !11
  br label %280, !llvm.loop !25

296:                                              ; preds = %280
  %297 = load i64, ptr %7, align 8, !tbaa !11
  %298 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %12, i64 noundef %297, ptr noundef %298)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %299

299:                                              ; preds = %312, %296
  %300 = load i64, ptr %8, align 8, !tbaa !11
  %301 = load i64, ptr %7, align 8, !tbaa !11
  %302 = sub nsw i64 %301, 1
  %303 = icmp sle i64 %300, %302
  br i1 %303, label %304, label %315

304:                                              ; preds = %299
  %305 = load ptr, ptr %4, align 8, !tbaa !9
  %306 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %305)
  %307 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %306, double -1.000000e+00)
  %308 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %309 = load ptr, ptr %308, align 8, !tbaa !15
  %310 = load i64, ptr %8, align 8, !tbaa !11
  %311 = getelementptr inbounds double, ptr %309, i64 %310
  store double %307, ptr %311, align 8, !tbaa !13
  br label %312

312:                                              ; preds = %304
  %313 = load i64, ptr %8, align 8, !tbaa !11
  %314 = add nsw i64 %313, 1
  store i64 %314, ptr %8, align 8, !tbaa !11
  br label %299, !llvm.loop !26

315:                                              ; preds = %299
  %316 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %13, i64 noundef 1, ptr noundef %316)
  %317 = load i64, ptr %9, align 8, !tbaa !11
  %318 = icmp eq i64 %317, -3
  br i1 %318, label %319, label %331

319:                                              ; preds = %315
  %320 = load i64, ptr %10, align 8, !tbaa !11
  %321 = icmp eq i64 %320, 0
  br i1 %321, label %322, label %326

322:                                              ; preds = %319
  %323 = load i64, ptr %6, align 8, !tbaa !11
  %324 = load i64, ptr %7, align 8, !tbaa !11
  %325 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7convr1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %11, i64 noundef %323, ptr noundef %12, i64 noundef %324, ptr noundef %13, ptr noundef %325)
  br label %330

326:                                              ; preds = %319
  %327 = load i64, ptr %6, align 8, !tbaa !11
  %328 = load i64, ptr %7, align 8, !tbaa !11
  %329 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl15convr1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %11, i64 noundef %327, ptr noundef %12, i64 noundef %328, ptr noundef %13, ptr noundef %329)
  br label %330

330:                                              ; preds = %326, %322
  br label %350

331:                                              ; preds = %315
  %332 = load i64, ptr %6, align 8, !tbaa !11
  %333 = load i64, ptr %7, align 8, !tbaa !11
  %334 = icmp sge i64 %332, %333
  br i1 %334, label %335, label %342

335:                                              ; preds = %331
  %336 = load i64, ptr %6, align 8, !tbaa !11
  %337 = load i64, ptr %7, align 8, !tbaa !11
  %338 = load i64, ptr %10, align 8, !tbaa !11
  %339 = icmp ne i64 %338, 0
  %340 = load i64, ptr %9, align 8, !tbaa !11
  %341 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8convr1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef %11, i64 noundef %336, ptr noundef %12, i64 noundef %337, i1 noundef zeroext %339, i64 noundef %340, i64 noundef 0, ptr noundef %13, ptr noundef %341)
  br label %349

342:                                              ; preds = %331
  %343 = load i64, ptr %7, align 8, !tbaa !11
  %344 = load i64, ptr %6, align 8, !tbaa !11
  %345 = load i64, ptr %10, align 8, !tbaa !11
  %346 = icmp ne i64 %345, 0
  %347 = load i64, ptr %9, align 8, !tbaa !11
  %348 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl8convr1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef %12, i64 noundef %343, ptr noundef %11, i64 noundef %344, i1 noundef zeroext %346, i64 noundef %347, i64 noundef 0, ptr noundef %13, ptr noundef %348)
  br label %349

349:                                              ; preds = %342, %335
  br label %350

350:                                              ; preds = %349, %330
  %351 = load i64, ptr %10, align 8, !tbaa !11
  %352 = icmp eq i64 %351, 0
  br i1 %352, label %353, label %357

353:                                              ; preds = %350
  %354 = load i64, ptr %6, align 8, !tbaa !11
  %355 = load i64, ptr %7, align 8, !tbaa !11
  %356 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL23testconvunit_refconvr1dPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %11, i64 noundef %354, ptr noundef %12, i64 noundef %355, ptr noundef %14, ptr noundef %356)
  br label %361

357:                                              ; preds = %350
  %358 = load i64, ptr %6, align 8, !tbaa !11
  %359 = load i64, ptr %7, align 8, !tbaa !11
  %360 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZL31testconvunit_refconvr1dcircularPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %11, i64 noundef %358, ptr noundef %12, i64 noundef %359, ptr noundef %14, ptr noundef %360)
  br label %361

361:                                              ; preds = %357, %353
  %362 = load i64, ptr %10, align 8, !tbaa !11
  %363 = icmp eq i64 %362, 0
  br i1 %363, label %364, label %393

364:                                              ; preds = %361
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %365

365:                                              ; preds = %389, %364
  %366 = load i64, ptr %8, align 8, !tbaa !11
  %367 = load i64, ptr %6, align 8, !tbaa !11
  %368 = load i64, ptr %7, align 8, !tbaa !11
  %369 = add nsw i64 %367, %368
  %370 = sub nsw i64 %369, 2
  %371 = icmp sle i64 %366, %370
  br i1 %371, label %372, label %392

372:                                              ; preds = %365
  %373 = load double, ptr %21, align 8, !tbaa !13
  %374 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %375 = load ptr, ptr %374, align 8, !tbaa !15
  %376 = load i64, ptr %8, align 8, !tbaa !11
  %377 = getelementptr inbounds double, ptr %375, i64 %376
  %378 = load double, ptr %377, align 8, !tbaa !13
  %379 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %380 = load ptr, ptr %379, align 8, !tbaa !15
  %381 = load i64, ptr %8, align 8, !tbaa !11
  %382 = getelementptr inbounds double, ptr %380, i64 %381
  %383 = load double, ptr %382, align 8, !tbaa !13
  %384 = fsub double %378, %383
  %385 = load ptr, ptr %4, align 8, !tbaa !9
  %386 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %384, ptr noundef %385)
  %387 = load ptr, ptr %4, align 8, !tbaa !9
  %388 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %373, double noundef %386, ptr noundef %387)
  store double %388, ptr %21, align 8, !tbaa !13
  br label %389

389:                                              ; preds = %372
  %390 = load i64, ptr %8, align 8, !tbaa !11
  %391 = add nsw i64 %390, 1
  store i64 %391, ptr %8, align 8, !tbaa !11
  br label %365, !llvm.loop !27

392:                                              ; preds = %365
  br label %420

393:                                              ; preds = %361
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %394

394:                                              ; preds = %416, %393
  %395 = load i64, ptr %8, align 8, !tbaa !11
  %396 = load i64, ptr %6, align 8, !tbaa !11
  %397 = sub nsw i64 %396, 1
  %398 = icmp sle i64 %395, %397
  br i1 %398, label %399, label %419

399:                                              ; preds = %394
  %400 = load double, ptr %21, align 8, !tbaa !13
  %401 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %402 = load ptr, ptr %401, align 8, !tbaa !15
  %403 = load i64, ptr %8, align 8, !tbaa !11
  %404 = getelementptr inbounds double, ptr %402, i64 %403
  %405 = load double, ptr %404, align 8, !tbaa !13
  %406 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %14, i32 0, i32 4
  %407 = load ptr, ptr %406, align 8, !tbaa !15
  %408 = load i64, ptr %8, align 8, !tbaa !11
  %409 = getelementptr inbounds double, ptr %407, i64 %408
  %410 = load double, ptr %409, align 8, !tbaa !13
  %411 = fsub double %405, %410
  %412 = load ptr, ptr %4, align 8, !tbaa !9
  %413 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %411, ptr noundef %412)
  %414 = load ptr, ptr %4, align 8, !tbaa !9
  %415 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %400, double noundef %413, ptr noundef %414)
  store double %415, ptr %21, align 8, !tbaa !13
  br label %416

416:                                              ; preds = %399
  %417 = load i64, ptr %8, align 8, !tbaa !11
  %418 = add nsw i64 %417, 1
  store i64 %418, ptr %8, align 8, !tbaa !11
  br label %394, !llvm.loop !28

419:                                              ; preds = %394
  br label %420

420:                                              ; preds = %419, %392
  br label %421

421:                                              ; preds = %420, %86
  %422 = load i64, ptr %9, align 8, !tbaa !11
  %423 = add nsw i64 %422, 1
  store i64 %423, ptr %9, align 8, !tbaa !11
  br label %73, !llvm.loop !29

424:                                              ; preds = %73
  br label %425

425:                                              ; preds = %424
  %426 = load i64, ptr %10, align 8, !tbaa !11
  %427 = add nsw i64 %426, 1
  store i64 %427, ptr %10, align 8, !tbaa !11
  br label %69, !llvm.loop !30

428:                                              ; preds = %69
  br label %429

429:                                              ; preds = %428
  %430 = load i64, ptr %7, align 8, !tbaa !11
  %431 = add nsw i64 %430, 1
  store i64 %431, ptr %7, align 8, !tbaa !11
  br label %64, !llvm.loop !31

432:                                              ; preds = %64
  br label %433

433:                                              ; preds = %432
  %434 = load i64, ptr %6, align 8, !tbaa !11
  %435 = add nsw i64 %434, 1
  store i64 %435, ptr %6, align 8, !tbaa !11
  br label %59, !llvm.loop !32

436:                                              ; preds = %59
  %437 = load i8, ptr %25, align 1, !tbaa !5, !range !33, !noundef !34
  %438 = trunc i8 %437 to i1
  br i1 %438, label %443, label %439

439:                                              ; preds = %436
  %440 = load double, ptr %20, align 8, !tbaa !13
  %441 = load double, ptr %24, align 8, !tbaa !13
  %442 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %440, double noundef %441)
  br label %443

443:                                              ; preds = %439, %436
  %444 = phi i1 [ true, %436 ], [ %442, %439 ]
  %445 = zext i1 %444 to i8
  store i8 %445, ptr %25, align 1, !tbaa !5
  %446 = load i8, ptr %26, align 1, !tbaa !5, !range !33, !noundef !34
  %447 = trunc i8 %446 to i1
  br i1 %447, label %452, label %448

448:                                              ; preds = %443
  %449 = load double, ptr %21, align 8, !tbaa !13
  %450 = load double, ptr %24, align 8, !tbaa !13
  %451 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %449, double noundef %450)
  br label %452

452:                                              ; preds = %448, %443
  %453 = phi i1 [ true, %443 ], [ %451, %448 ]
  %454 = zext i1 %453 to i8
  store i8 %454, ptr %26, align 1, !tbaa !5
  store double 0.000000e+00, ptr %22, align 8, !tbaa !13
  store double 0.000000e+00, ptr %23, align 8, !tbaa !13
  store i64 1, ptr %6, align 8, !tbaa !11
  br label %455

455:                                              ; preds = %733, %452
  %456 = load i64, ptr %6, align 8, !tbaa !11
  %457 = load i64, ptr %19, align 8, !tbaa !11
  %458 = icmp sle i64 %456, %457
  br i1 %458, label %459, label %736

459:                                              ; preds = %455
  store i64 1, ptr %7, align 8, !tbaa !11
  br label %460

460:                                              ; preds = %729, %459
  %461 = load i64, ptr %7, align 8, !tbaa !11
  %462 = load i64, ptr %19, align 8, !tbaa !11
  %463 = icmp sle i64 %461, %462
  br i1 %463, label %464, label %732

464:                                              ; preds = %460
  %465 = load i64, ptr %6, align 8, !tbaa !11
  %466 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %15, i64 noundef %465, ptr noundef %466)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %467

467:                                              ; preds = %489, %464
  %468 = load i64, ptr %8, align 8, !tbaa !11
  %469 = load i64, ptr %6, align 8, !tbaa !11
  %470 = sub nsw i64 %469, 1
  %471 = icmp sle i64 %468, %470
  br i1 %471, label %472, label %492

472:                                              ; preds = %467
  %473 = load ptr, ptr %4, align 8, !tbaa !9
  %474 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %473)
  %475 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %474, double -1.000000e+00)
  %476 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %477 = load ptr, ptr %476, align 8, !tbaa !15
  %478 = load i64, ptr %8, align 8, !tbaa !11
  %479 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %477, i64 %478
  %480 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %479, i32 0, i32 0
  store double %475, ptr %480, align 8, !tbaa !16
  %481 = load ptr, ptr %4, align 8, !tbaa !9
  %482 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %481)
  %483 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %482, double -1.000000e+00)
  %484 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %485 = load ptr, ptr %484, align 8, !tbaa !15
  %486 = load i64, ptr %8, align 8, !tbaa !11
  %487 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %485, i64 %486
  %488 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %487, i32 0, i32 1
  store double %483, ptr %488, align 8, !tbaa !18
  br label %489

489:                                              ; preds = %472
  %490 = load i64, ptr %8, align 8, !tbaa !11
  %491 = add nsw i64 %490, 1
  store i64 %491, ptr %8, align 8, !tbaa !11
  br label %467, !llvm.loop !35

492:                                              ; preds = %467
  %493 = load i64, ptr %7, align 8, !tbaa !11
  %494 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %16, i64 noundef %493, ptr noundef %494)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %495

495:                                              ; preds = %517, %492
  %496 = load i64, ptr %8, align 8, !tbaa !11
  %497 = load i64, ptr %7, align 8, !tbaa !11
  %498 = sub nsw i64 %497, 1
  %499 = icmp sle i64 %496, %498
  br i1 %499, label %500, label %520

500:                                              ; preds = %495
  %501 = load ptr, ptr %4, align 8, !tbaa !9
  %502 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %501)
  %503 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %502, double -1.000000e+00)
  %504 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %505 = load ptr, ptr %504, align 8, !tbaa !15
  %506 = load i64, ptr %8, align 8, !tbaa !11
  %507 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %505, i64 %506
  %508 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %507, i32 0, i32 0
  store double %503, ptr %508, align 8, !tbaa !16
  %509 = load ptr, ptr %4, align 8, !tbaa !9
  %510 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %509)
  %511 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %510, double -1.000000e+00)
  %512 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %16, i32 0, i32 4
  %513 = load ptr, ptr %512, align 8, !tbaa !15
  %514 = load i64, ptr %8, align 8, !tbaa !11
  %515 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %513, i64 %514
  %516 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %515, i32 0, i32 1
  store double %511, ptr %516, align 8, !tbaa !18
  br label %517

517:                                              ; preds = %500
  %518 = load i64, ptr %8, align 8, !tbaa !11
  %519 = add nsw i64 %518, 1
  store i64 %519, ptr %8, align 8, !tbaa !11
  br label %495, !llvm.loop !36

520:                                              ; preds = %495
  %521 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %17, i64 noundef 1, ptr noundef %521)
  %522 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %18, i64 noundef 1, ptr noundef %522)
  %523 = load i64, ptr %6, align 8, !tbaa !11
  %524 = load i64, ptr %7, align 8, !tbaa !11
  %525 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7convc1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %15, i64 noundef %523, ptr noundef %16, i64 noundef %524, ptr noundef %18, ptr noundef %525)
  %526 = load i64, ptr %6, align 8, !tbaa !11
  %527 = load i64, ptr %7, align 8, !tbaa !11
  %528 = add nsw i64 %526, %527
  %529 = sub nsw i64 %528, 1
  %530 = load i64, ptr %7, align 8, !tbaa !11
  %531 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl10convc1dinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %18, i64 noundef %529, ptr noundef %16, i64 noundef %530, ptr noundef %17, ptr noundef %531)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %532

532:                                              ; preds = %568, %520
  %533 = load i64, ptr %8, align 8, !tbaa !11
  %534 = load i64, ptr %6, align 8, !tbaa !11
  %535 = sub nsw i64 %534, 1
  %536 = icmp sle i64 %533, %535
  br i1 %536, label %537, label %571

537:                                              ; preds = %532
  %538 = load double, ptr %22, align 8, !tbaa !13
  %539 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %17, i32 0, i32 4
  %540 = load ptr, ptr %539, align 8, !tbaa !15
  %541 = load i64, ptr %8, align 8, !tbaa !11
  %542 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %540, i64 %541
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %38, ptr align 8 %542, i64 16, i1 false), !tbaa.struct !22
  %543 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %544 = load ptr, ptr %543, align 8, !tbaa !15
  %545 = load i64, ptr %8, align 8, !tbaa !11
  %546 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %544, i64 %545
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %39, ptr align 8 %546, i64 16, i1 false), !tbaa.struct !22
  %547 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %548 = load double, ptr %547, align 8
  %549 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %550 = load double, ptr %549, align 8
  %551 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %552 = load double, ptr %551, align 8
  %553 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %554 = load double, ptr %553, align 8
  %555 = call { double, double } @_ZN11alglib_impl8ae_c_subENS_10ae_complexES0_(double %548, double %550, double %552, double %554)
  %556 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %557 = extractvalue { double, double } %555, 0
  store double %557, ptr %556, align 8
  %558 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %559 = extractvalue { double, double } %555, 1
  store double %559, ptr %558, align 8
  %560 = load ptr, ptr %4, align 8, !tbaa !9
  %561 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %562 = load double, ptr %561, align 8
  %563 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %564 = load double, ptr %563, align 8
  %565 = call noundef double @_ZN11alglib_impl8ae_c_absENS_10ae_complexEPNS_8ae_stateE(double %562, double %564, ptr noundef %560)
  %566 = load ptr, ptr %4, align 8, !tbaa !9
  %567 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %538, double noundef %565, ptr noundef %566)
  store double %567, ptr %22, align 8, !tbaa !13
  br label %568

568:                                              ; preds = %537
  %569 = load i64, ptr %8, align 8, !tbaa !11
  %570 = add nsw i64 %569, 1
  store i64 %570, ptr %8, align 8, !tbaa !11
  br label %532, !llvm.loop !37

571:                                              ; preds = %532
  %572 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %17, i64 noundef 1, ptr noundef %572)
  %573 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %18, i64 noundef 1, ptr noundef %573)
  %574 = load i64, ptr %6, align 8, !tbaa !11
  %575 = load i64, ptr %7, align 8, !tbaa !11
  %576 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl15convc1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %15, i64 noundef %574, ptr noundef %16, i64 noundef %575, ptr noundef %18, ptr noundef %576)
  %577 = load i64, ptr %6, align 8, !tbaa !11
  %578 = load i64, ptr %7, align 8, !tbaa !11
  %579 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl18convc1dcircularinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %18, i64 noundef %577, ptr noundef %16, i64 noundef %578, ptr noundef %17, ptr noundef %579)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %580

580:                                              ; preds = %616, %571
  %581 = load i64, ptr %8, align 8, !tbaa !11
  %582 = load i64, ptr %6, align 8, !tbaa !11
  %583 = sub nsw i64 %582, 1
  %584 = icmp sle i64 %581, %583
  br i1 %584, label %585, label %619

585:                                              ; preds = %580
  %586 = load double, ptr %22, align 8, !tbaa !13
  %587 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %17, i32 0, i32 4
  %588 = load ptr, ptr %587, align 8, !tbaa !15
  %589 = load i64, ptr %8, align 8, !tbaa !11
  %590 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %588, i64 %589
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %41, ptr align 8 %590, i64 16, i1 false), !tbaa.struct !22
  %591 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %15, i32 0, i32 4
  %592 = load ptr, ptr %591, align 8, !tbaa !15
  %593 = load i64, ptr %8, align 8, !tbaa !11
  %594 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %592, i64 %593
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %42, ptr align 8 %594, i64 16, i1 false), !tbaa.struct !22
  %595 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 0
  %596 = load double, ptr %595, align 8
  %597 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 1
  %598 = load double, ptr %597, align 8
  %599 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %600 = load double, ptr %599, align 8
  %601 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %602 = load double, ptr %601, align 8
  %603 = call { double, double } @_ZN11alglib_impl8ae_c_subENS_10ae_complexES0_(double %596, double %598, double %600, double %602)
  %604 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %605 = extractvalue { double, double } %603, 0
  store double %605, ptr %604, align 8
  %606 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %607 = extractvalue { double, double } %603, 1
  store double %607, ptr %606, align 8
  %608 = load ptr, ptr %4, align 8, !tbaa !9
  %609 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 0
  %610 = load double, ptr %609, align 8
  %611 = getelementptr inbounds { double, double }, ptr %40, i32 0, i32 1
  %612 = load double, ptr %611, align 8
  %613 = call noundef double @_ZN11alglib_impl8ae_c_absENS_10ae_complexEPNS_8ae_stateE(double %610, double %612, ptr noundef %608)
  %614 = load ptr, ptr %4, align 8, !tbaa !9
  %615 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %586, double noundef %613, ptr noundef %614)
  store double %615, ptr %22, align 8, !tbaa !13
  br label %616

616:                                              ; preds = %585
  %617 = load i64, ptr %8, align 8, !tbaa !11
  %618 = add nsw i64 %617, 1
  store i64 %618, ptr %8, align 8, !tbaa !11
  br label %580, !llvm.loop !38

619:                                              ; preds = %580
  %620 = load i64, ptr %6, align 8, !tbaa !11
  %621 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %11, i64 noundef %620, ptr noundef %621)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %622

622:                                              ; preds = %635, %619
  %623 = load i64, ptr %8, align 8, !tbaa !11
  %624 = load i64, ptr %6, align 8, !tbaa !11
  %625 = sub nsw i64 %624, 1
  %626 = icmp sle i64 %623, %625
  br i1 %626, label %627, label %638

627:                                              ; preds = %622
  %628 = load ptr, ptr %4, align 8, !tbaa !9
  %629 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %628)
  %630 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %629, double -1.000000e+00)
  %631 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %11, i32 0, i32 4
  %632 = load ptr, ptr %631, align 8, !tbaa !15
  %633 = load i64, ptr %8, align 8, !tbaa !11
  %634 = getelementptr inbounds double, ptr %632, i64 %633
  store double %630, ptr %634, align 8, !tbaa !13
  br label %635

635:                                              ; preds = %627
  %636 = load i64, ptr %8, align 8, !tbaa !11
  %637 = add nsw i64 %636, 1
  store i64 %637, ptr %8, align 8, !tbaa !11
  br label %622, !llvm.loop !39

638:                                              ; preds = %622
  %639 = load i64, ptr %7, align 8, !tbaa !11
  %640 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %12, i64 noundef %639, ptr noundef %640)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %641

641:                                              ; preds = %654, %638
  %642 = load i64, ptr %8, align 8, !tbaa !11
  %643 = load i64, ptr %7, align 8, !tbaa !11
  %644 = sub nsw i64 %643, 1
  %645 = icmp sle i64 %642, %644
  br i1 %645, label %646, label %657

646:                                              ; preds = %641
  %647 = load ptr, ptr %4, align 8, !tbaa !9
  %648 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %647)
  %649 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %648, double -1.000000e+00)
  %650 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %12, i32 0, i32 4
  %651 = load ptr, ptr %650, align 8, !tbaa !15
  %652 = load i64, ptr %8, align 8, !tbaa !11
  %653 = getelementptr inbounds double, ptr %651, i64 %652
  store double %649, ptr %653, align 8, !tbaa !13
  br label %654

654:                                              ; preds = %646
  %655 = load i64, ptr %8, align 8, !tbaa !11
  %656 = add nsw i64 %655, 1
  store i64 %656, ptr %8, align 8, !tbaa !11
  br label %641, !llvm.loop !40

657:                                              ; preds = %641
  %658 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %13, i64 noundef 1, ptr noundef %658)
  %659 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef 1, ptr noundef %659)
  %660 = load i64, ptr %6, align 8, !tbaa !11
  %661 = load i64, ptr %7, align 8, !tbaa !11
  %662 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl7convr1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %11, i64 noundef %660, ptr noundef %12, i64 noundef %661, ptr noundef %14, ptr noundef %662)
  %663 = load i64, ptr %6, align 8, !tbaa !11
  %664 = load i64, ptr %7, align 8, !tbaa !11
  %665 = add nsw i64 %663, %664
  %666 = sub nsw i64 %665, 1
  %667 = load i64, ptr %7, align 8, !tbaa !11
  %668 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl10convr1dinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %14, i64 noundef %666, ptr noundef %12, i64 noundef %667, ptr noundef %13, ptr noundef %668)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %669

669:                                              ; preds = %691, %657
  %670 = load i64, ptr %8, align 8, !tbaa !11
  %671 = load i64, ptr %6, align 8, !tbaa !11
  %672 = sub nsw i64 %671, 1
  %673 = icmp sle i64 %670, %672
  br i1 %673, label %674, label %694

674:                                              ; preds = %669
  %675 = load double, ptr %23, align 8, !tbaa !13
  %676 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %677 = load ptr, ptr %676, align 8, !tbaa !15
  %678 = load i64, ptr %8, align 8, !tbaa !11
  %679 = getelementptr inbounds double, ptr %677, i64 %678
  %680 = load double, ptr %679, align 8, !tbaa !13
  %681 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %11, i32 0, i32 4
  %682 = load ptr, ptr %681, align 8, !tbaa !15
  %683 = load i64, ptr %8, align 8, !tbaa !11
  %684 = getelementptr inbounds double, ptr %682, i64 %683
  %685 = load double, ptr %684, align 8, !tbaa !13
  %686 = fsub double %680, %685
  %687 = load ptr, ptr %4, align 8, !tbaa !9
  %688 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %686, ptr noundef %687)
  %689 = load ptr, ptr %4, align 8, !tbaa !9
  %690 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %675, double noundef %688, ptr noundef %689)
  store double %690, ptr %23, align 8, !tbaa !13
  br label %691

691:                                              ; preds = %674
  %692 = load i64, ptr %8, align 8, !tbaa !11
  %693 = add nsw i64 %692, 1
  store i64 %693, ptr %8, align 8, !tbaa !11
  br label %669, !llvm.loop !41

694:                                              ; preds = %669
  %695 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %13, i64 noundef 1, ptr noundef %695)
  %696 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %14, i64 noundef 1, ptr noundef %696)
  %697 = load i64, ptr %6, align 8, !tbaa !11
  %698 = load i64, ptr %7, align 8, !tbaa !11
  %699 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl15convr1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %11, i64 noundef %697, ptr noundef %12, i64 noundef %698, ptr noundef %14, ptr noundef %699)
  %700 = load i64, ptr %6, align 8, !tbaa !11
  %701 = load i64, ptr %7, align 8, !tbaa !11
  %702 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl18convr1dcircularinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef %14, i64 noundef %700, ptr noundef %12, i64 noundef %701, ptr noundef %13, ptr noundef %702)
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %703

703:                                              ; preds = %725, %694
  %704 = load i64, ptr %8, align 8, !tbaa !11
  %705 = load i64, ptr %6, align 8, !tbaa !11
  %706 = sub nsw i64 %705, 1
  %707 = icmp sle i64 %704, %706
  br i1 %707, label %708, label %728

708:                                              ; preds = %703
  %709 = load double, ptr %23, align 8, !tbaa !13
  %710 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %13, i32 0, i32 4
  %711 = load ptr, ptr %710, align 8, !tbaa !15
  %712 = load i64, ptr %8, align 8, !tbaa !11
  %713 = getelementptr inbounds double, ptr %711, i64 %712
  %714 = load double, ptr %713, align 8, !tbaa !13
  %715 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %11, i32 0, i32 4
  %716 = load ptr, ptr %715, align 8, !tbaa !15
  %717 = load i64, ptr %8, align 8, !tbaa !11
  %718 = getelementptr inbounds double, ptr %716, i64 %717
  %719 = load double, ptr %718, align 8, !tbaa !13
  %720 = fsub double %714, %719
  %721 = load ptr, ptr %4, align 8, !tbaa !9
  %722 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %720, ptr noundef %721)
  %723 = load ptr, ptr %4, align 8, !tbaa !9
  %724 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %709, double noundef %722, ptr noundef %723)
  store double %724, ptr %23, align 8, !tbaa !13
  br label %725

725:                                              ; preds = %708
  %726 = load i64, ptr %8, align 8, !tbaa !11
  %727 = add nsw i64 %726, 1
  store i64 %727, ptr %8, align 8, !tbaa !11
  br label %703, !llvm.loop !42

728:                                              ; preds = %703
  br label %729

729:                                              ; preds = %728
  %730 = load i64, ptr %7, align 8, !tbaa !11
  %731 = add nsw i64 %730, 1
  store i64 %731, ptr %7, align 8, !tbaa !11
  br label %460, !llvm.loop !43

732:                                              ; preds = %460
  br label %733

733:                                              ; preds = %732
  %734 = load i64, ptr %6, align 8, !tbaa !11
  %735 = add nsw i64 %734, 1
  store i64 %735, ptr %6, align 8, !tbaa !11
  br label %455, !llvm.loop !44

736:                                              ; preds = %455
  %737 = load i8, ptr %27, align 1, !tbaa !5, !range !33, !noundef !34
  %738 = trunc i8 %737 to i1
  br i1 %738, label %743, label %739

739:                                              ; preds = %736
  %740 = load double, ptr %22, align 8, !tbaa !13
  %741 = load double, ptr %24, align 8, !tbaa !13
  %742 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %740, double noundef %741)
  br label %743

743:                                              ; preds = %739, %736
  %744 = phi i1 [ true, %736 ], [ %742, %739 ]
  %745 = zext i1 %744 to i8
  store i8 %745, ptr %27, align 1, !tbaa !5
  %746 = load i8, ptr %28, align 1, !tbaa !5, !range !33, !noundef !34
  %747 = trunc i8 %746 to i1
  br i1 %747, label %752, label %748

748:                                              ; preds = %743
  %749 = load double, ptr %23, align 8, !tbaa !13
  %750 = load double, ptr %24, align 8, !tbaa !13
  %751 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %749, double noundef %750)
  br label %752

752:                                              ; preds = %748, %743
  %753 = phi i1 [ true, %743 ], [ %751, %748 ]
  %754 = zext i1 %753 to i8
  store i8 %754, ptr %28, align 1, !tbaa !5
  %755 = load i8, ptr %25, align 1, !tbaa !5, !range !33, !noundef !34
  %756 = trunc i8 %755 to i1
  br i1 %756, label %766, label %757

757:                                              ; preds = %752
  %758 = load i8, ptr %26, align 1, !tbaa !5, !range !33, !noundef !34
  %759 = trunc i8 %758 to i1
  br i1 %759, label %766, label %760

760:                                              ; preds = %757
  %761 = load i8, ptr %27, align 1, !tbaa !5, !range !33, !noundef !34
  %762 = trunc i8 %761 to i1
  br i1 %762, label %766, label %763

763:                                              ; preds = %760
  %764 = load i8, ptr %28, align 1, !tbaa !5, !range !33, !noundef !34
  %765 = trunc i8 %764 to i1
  br label %766

766:                                              ; preds = %763, %760, %757, %752
  %767 = phi i1 [ true, %760 ], [ true, %757 ], [ true, %752 ], [ %765, %763 ]
  %768 = zext i1 %767 to i8
  store i8 %768, ptr %29, align 1, !tbaa !5
  %769 = load i8, ptr %3, align 1, !tbaa !5, !range !33, !noundef !34
  %770 = trunc i8 %769 to i1
  br i1 %770, label %820, label %771

771:                                              ; preds = %766
  %772 = call i32 (ptr, ...) @printf(ptr noundef @.str.600)
  %773 = call i32 (ptr, ...) @printf(ptr noundef @.str.579)
  %774 = load i8, ptr %29, align 1, !tbaa !5, !range !33, !noundef !34
  %775 = trunc i8 %774 to i1
  br i1 %775, label %776, label %778

776:                                              ; preds = %771
  %777 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %780

778:                                              ; preds = %771
  %779 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %780

780:                                              ; preds = %778, %776
  %781 = call i32 (ptr, ...) @printf(ptr noundef @.str.601)
  %782 = load i8, ptr %25, align 1, !tbaa !5, !range !33, !noundef !34
  %783 = trunc i8 %782 to i1
  br i1 %783, label %784, label %786

784:                                              ; preds = %780
  %785 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %788

786:                                              ; preds = %780
  %787 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %788

788:                                              ; preds = %786, %784
  %789 = call i32 (ptr, ...) @printf(ptr noundef @.str.602)
  %790 = load i8, ptr %26, align 1, !tbaa !5, !range !33, !noundef !34
  %791 = trunc i8 %790 to i1
  br i1 %791, label %792, label %794

792:                                              ; preds = %788
  %793 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %796

794:                                              ; preds = %788
  %795 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %796

796:                                              ; preds = %794, %792
  %797 = call i32 (ptr, ...) @printf(ptr noundef @.str.603)
  %798 = load i8, ptr %27, align 1, !tbaa !5, !range !33, !noundef !34
  %799 = trunc i8 %798 to i1
  br i1 %799, label %800, label %802

800:                                              ; preds = %796
  %801 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %804

802:                                              ; preds = %796
  %803 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %804

804:                                              ; preds = %802, %800
  %805 = call i32 (ptr, ...) @printf(ptr noundef @.str.604)
  %806 = load i8, ptr %28, align 1, !tbaa !5, !range !33, !noundef !34
  %807 = trunc i8 %806 to i1
  br i1 %807, label %808, label %810

808:                                              ; preds = %804
  %809 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %812

810:                                              ; preds = %804
  %811 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  br label %812

812:                                              ; preds = %810, %808
  %813 = load i8, ptr %29, align 1, !tbaa !5, !range !33, !noundef !34
  %814 = trunc i8 %813 to i1
  br i1 %814, label %815, label %817

815:                                              ; preds = %812
  %816 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %819

817:                                              ; preds = %812
  %818 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %819

819:                                              ; preds = %817, %815
  br label %820

820:                                              ; preds = %819, %766
  %821 = load i8, ptr %29, align 1, !tbaa !5, !range !33, !noundef !34
  %822 = trunc i8 %821 to i1
  %823 = xor i1 %822, true
  %824 = zext i1 %823 to i8
  store i8 %824, ptr %30, align 1, !tbaa !5
  %825 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %825)
  %826 = load i8, ptr %30, align 1, !tbaa !5, !range !33, !noundef !34
  %827 = trunc i8 %826 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  ret i1 %827
}

declare void @_ZN11alglib_impl7convc1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl15convc1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl8convc1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i1 noundef zeroext, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23testconvunit_refconvc1dPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL31testconvunit_refconvc1dcircularPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #5

declare void @_ZN11alglib_impl7convr1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl15convr1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl8convr1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i1 noundef zeroext, i64 noundef, i64 noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23testconvunit_refconvr1dPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL31testconvunit_refconvr1dcircularPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #5

declare void @_ZN11alglib_impl10convc1dinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl18convc1dcircularinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl10convr1dinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl18convr1dcircularinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !14, i64 0}
!17 = !{!"_ZTSN11alglib_impl10ae_complexE", !14, i64 0, !14, i64 8}
!18 = !{!17, !14, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{i64 0, i64 8, !13, i64 8, i64 8, !13}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}
!26 = distinct !{!26, !20}
!27 = distinct !{!27, !20}
!28 = distinct !{!28, !20}
!29 = distinct !{!29, !20}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !20}
!32 = distinct !{!32, !20}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = distinct !{!35, !20}
!36 = distinct !{!36, !20}
!37 = distinct !{!37, !20}
!38 = distinct !{!38, !20}
!39 = distinct !{!39, !20}
!40 = distinct !{!40, !20}
!41 = distinct !{!41, !20}
!42 = distinct !{!42, !20}
!43 = distinct !{!43, !20}
!44 = distinct !{!44, !20}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"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 }
%union.anon = type { ptr }
%"struct.alglib_impl::ae_complex" = type { double, double }

@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.579 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.599 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.600 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.601 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.602 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.603 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.604 = external hidden unnamed_addr constant [43 x i8], align 1

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 #1

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

declare noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

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

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

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

declare void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl8ae_c_absENS_10ae_complexEPNS_8ae_stateE(double, double, ptr noundef) local_unnamed_addr #1

declare { double, double } @_ZN11alglib_impl8ae_c_subENS_10ae_complexES0_(double, double, double, double) local_unnamed_addr #1

declare noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef, double noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z8testconvbPN11alglib_impl8ae_stateE(i1 noundef zeroext %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca %"struct.alglib_impl::ae_frame", align 8
  %4 = alloca %"struct.alglib_impl::ae_vector", align 8
  %5 = alloca %"struct.alglib_impl::ae_vector", align 8
  %6 = alloca %"struct.alglib_impl::ae_vector", align 8
  %7 = alloca %"struct.alglib_impl::ae_vector", align 8
  %8 = alloca %"struct.alglib_impl::ae_vector", 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 %3) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #6
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %1, ptr noundef nonnull %3)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %4, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %5, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %6, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %7, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, i8 0, i64 64, i1 false)
  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_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %4, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %5, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %6, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %7, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %8, i64 noundef 0, i64 noundef 4, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %9, i64 noundef 0, i64 noundef 4, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %10, i64 noundef 0, i64 noundef 4, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %11, i64 noundef 0, i64 noundef 4, ptr noundef %1, i1 noundef zeroext true)
  %12 = call noundef double @_ZN11alglib_impl6ae_powEddPNS_8ae_stateE(double noundef 3.200000e+01, double noundef 1.500000e+00, ptr noundef %1)
  %13 = fmul double %12, 1.000000e+05
  %14 = getelementptr inbounds i8, ptr %8, i64 56
  %15 = getelementptr inbounds i8, ptr %9, i64 56
  %16 = getelementptr inbounds i8, ptr %10, i64 56
  %17 = getelementptr inbounds i8, ptr %11, i64 56
  %18 = getelementptr inbounds i8, ptr %4, i64 56
  %19 = getelementptr inbounds i8, ptr %5, i64 56
  %20 = getelementptr inbounds i8, ptr %6, i64 56
  %21 = getelementptr inbounds i8, ptr %7, i64 56
  br label %.preheader364

.preheader364:                                    ; preds = %2, %121
  %indvars.iv433 = phi i64 [ 33, %2 ], [ %indvars.iv.next434, %121 ]
  %.0396 = phi i64 [ 1, %2 ], [ %122, %121 ]
  %.0308395 = phi double [ 0.000000e+00, %2 ], [ %.7315, %121 ]
  %.0316394 = phi double [ 0.000000e+00, %2 ], [ %.6322, %121 ]
  br label %.preheader363

.preheader363:                                    ; preds = %.preheader364, %119
  %indvars.iv = phi i64 [ %.0396, %.preheader364 ], [ %indvars.iv.next, %119 ]
  %.0302393 = phi i64 [ 1, %.preheader364 ], [ %120, %119 ]
  %.1309392 = phi double [ %.0308395, %.preheader364 ], [ %.7315, %119 ]
  %.1317391 = phi double [ %.0316394, %.preheader364 ], [ %.6322, %119 ]
  %22 = icmp ult i64 %.0396, %.0302393
  br label %.preheader362

.preheader362:                                    ; preds = %.preheader363, %118
  %23 = phi i1 [ false, %.preheader363 ], [ true, %118 ]
  %24 = phi i1 [ true, %.preheader363 ], [ false, %118 ]
  %.2310389 = phi double [ %.1309392, %.preheader363 ], [ %.7315, %118 ]
  %.2318388 = phi double [ %.1317391, %.preheader363 ], [ %.6322, %118 ]
  br label %25

25:                                               ; preds = %.preheader362, %.loopexit
  %.0306383 = phi i64 [ -3, %.preheader362 ], [ %117, %.loopexit ]
  %.3311382 = phi double [ %.2310389, %.preheader362 ], [ %.7315, %.loopexit ]
  %.3319381 = phi double [ %.2318388, %.preheader362 ], [ %.6322, %.loopexit ]
  %26 = icmp ne i64 %.0306383, -3
  %or.cond = and i1 %22, %26
  %or.cond415 = and i1 %23, %or.cond
  br i1 %or.cond415, label %.loopexit, label %27

27:                                               ; preds = %25
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.0396, ptr noundef %1)
  br label %28

28:                                               ; preds = %27, %28
  %.0304365 = phi i64 [ 0, %27 ], [ %37, %28 ]
  %29 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %30 = call double @llvm.fmuladd.f64(double %29, double 2.000000e+00, double -1.000000e+00)
  %31 = load ptr, ptr %14, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %31, i64 %.0304365
  store double %30, ptr %32, align 8, !tbaa !8
  %33 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %34 = call double @llvm.fmuladd.f64(double %33, double 2.000000e+00, double -1.000000e+00)
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %35, i64 %.0304365, i32 1
  store double %34, ptr %36, align 8, !tbaa !11
  %37 = add nuw nsw i64 %.0304365, 1
  %exitcond.not = icmp eq i64 %37, %.0396
  br i1 %exitcond.not, label %38, label %28, !llvm.loop !12

38:                                               ; preds = %28
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %.0302393, ptr noundef %1)
  br label %39

39:                                               ; preds = %38, %39
  %.1305366 = phi i64 [ 0, %38 ], [ %48, %39 ]
  %40 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %41 = call double @llvm.fmuladd.f64(double %40, double 2.000000e+00, double -1.000000e+00)
  %42 = load ptr, ptr %15, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %42, i64 %.1305366
  store double %41, ptr %43, align 8, !tbaa !8
  %44 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %45 = call double @llvm.fmuladd.f64(double %44, double 2.000000e+00, double -1.000000e+00)
  %46 = load ptr, ptr %15, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %46, i64 %.1305366, i32 1
  store double %45, ptr %47, align 8, !tbaa !11
  %48 = add nuw nsw i64 %.1305366, 1
  %exitcond425.not = icmp eq i64 %48, %.0302393
  br i1 %exitcond425.not, label %49, label %39, !llvm.loop !14

49:                                               ; preds = %39
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef 1, ptr noundef %1)
  %50 = icmp eq i64 %.0306383, -3
  br i1 %50, label %51, label %52

51:                                               ; preds = %49
  br i1 %24, label %.thread, label %.thread352

.thread:                                          ; preds = %51
  call void @_ZN11alglib_impl7convc1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.0396, ptr noundef nonnull %9, i64 noundef %.0302393, ptr noundef nonnull %10, ptr noundef %1)
  br label %.lr.ph.preheader

.thread352:                                       ; preds = %51
  call void @_ZN11alglib_impl15convc1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.0396, ptr noundef nonnull %9, i64 noundef %.0302393, ptr noundef nonnull %10, ptr noundef %1)
  br label %.preheader360

.preheader360:                                    ; preds = %55, %.thread352
  call void @_ZL31testconvunit_refconvc1dcircularPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.0396, ptr noundef nonnull %9, i64 noundef %.0302393, ptr noundef nonnull %11, ptr noundef %1)
  br label %66

52:                                               ; preds = %49
  br i1 %22, label %54, label %53

53:                                               ; preds = %52
  call void @_ZN11alglib_impl8convc1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.0396, ptr noundef nonnull %9, i64 noundef %.0302393, i1 noundef zeroext %23, i64 noundef %.0306383, i64 noundef 0, ptr noundef nonnull %10, ptr noundef %1)
  br label %55

54:                                               ; preds = %52
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %24, ptr noundef nonnull @.str.599, ptr noundef %1)
  call void @_ZN11alglib_impl8convc1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %.0302393, ptr noundef nonnull %8, i64 noundef %.0396, i1 noundef zeroext false, i64 noundef %.0306383, i64 noundef 0, ptr noundef nonnull %10, ptr noundef %1)
  br label %55

55:                                               ; preds = %53, %54
  br i1 %24, label %.lr.ph.preheader, label %.preheader360

.lr.ph.preheader:                                 ; preds = %55, %.thread
  call void @_ZL23testconvunit_refconvc1dPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.0396, ptr noundef nonnull %9, i64 noundef %.0302393, ptr noundef nonnull %11, ptr noundef %1)
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.2371 = phi i64 [ %65, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %.4312370 = phi double [ %64, %.lr.ph ], [ %.3311382, %.lr.ph.preheader ]
  %56 = load ptr, ptr %16, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %56, i64 %.2371
  %.sroa.020.0.copyload = load double, ptr %57, align 8, !tbaa !15
  %.sroa.221.0..sroa_idx = getelementptr inbounds i8, ptr %57, i64 8
  %.sroa.221.0.copyload = load double, ptr %.sroa.221.0..sroa_idx, align 8, !tbaa !15
  %58 = load ptr, ptr %17, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %58, i64 %.2371
  %.sroa.018.0.copyload = load double, ptr %59, align 8, !tbaa !15
  %.sroa.219.0..sroa_idx = getelementptr inbounds i8, ptr %59, i64 8
  %.sroa.219.0.copyload = load double, ptr %.sroa.219.0..sroa_idx, align 8, !tbaa !15
  %60 = call { double, double } @_ZN11alglib_impl8ae_c_subENS_10ae_complexES0_(double %.sroa.020.0.copyload, double %.sroa.221.0.copyload, double %.sroa.018.0.copyload, double %.sroa.219.0.copyload)
  %61 = extractvalue { double, double } %60, 0
  %62 = extractvalue { double, double } %60, 1
  %63 = call noundef double @_ZN11alglib_impl8ae_c_absENS_10ae_complexEPNS_8ae_stateE(double %61, double %62, ptr noundef %1)
  %64 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.4312370, double noundef %63, ptr noundef %1)
  %65 = add nuw nsw i64 %.2371, 1
  %exitcond427.not = icmp eq i64 %65, %indvars.iv
  br i1 %exitcond427.not, label %.loopexit359, label %.lr.ph, !llvm.loop !16

66:                                               ; preds = %.preheader360, %66
  %.3368 = phi i64 [ 0, %.preheader360 ], [ %76, %66 ]
  %.5313367 = phi double [ %.3311382, %.preheader360 ], [ %75, %66 ]
  %67 = load ptr, ptr %16, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %67, i64 %.3368
  %.sroa.014.0.copyload = load double, ptr %68, align 8, !tbaa !15
  %.sroa.215.0..sroa_idx = getelementptr inbounds i8, ptr %68, i64 8
  %.sroa.215.0.copyload = load double, ptr %.sroa.215.0..sroa_idx, align 8, !tbaa !15
  %69 = load ptr, ptr %17, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %69, i64 %.3368
  %.sroa.012.0.copyload = load double, ptr %70, align 8, !tbaa !15
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %70, i64 8
  %.sroa.213.0.copyload = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !15
  %71 = call { double, double } @_ZN11alglib_impl8ae_c_subENS_10ae_complexES0_(double %.sroa.014.0.copyload, double %.sroa.215.0.copyload, double %.sroa.012.0.copyload, double %.sroa.213.0.copyload)
  %72 = extractvalue { double, double } %71, 0
  %73 = extractvalue { double, double } %71, 1
  %74 = call noundef double @_ZN11alglib_impl8ae_c_absENS_10ae_complexEPNS_8ae_stateE(double %72, double %73, ptr noundef %1)
  %75 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.5313367, double noundef %74, ptr noundef %1)
  %76 = add nuw nsw i64 %.3368, 1
  %exitcond426.not = icmp eq i64 %76, %.0396
  br i1 %exitcond426.not, label %.loopexit359, label %66, !llvm.loop !17

.loopexit359:                                     ; preds = %66, %.lr.ph
  %77 = phi i1 [ true, %.lr.ph ], [ false, %66 ]
  %.6314 = phi double [ %64, %.lr.ph ], [ %75, %66 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.0396, ptr noundef %1)
  br label %78

78:                                               ; preds = %.loopexit359, %78
  %.4372 = phi i64 [ 0, %.loopexit359 ], [ %83, %78 ]
  %79 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %80 = call double @llvm.fmuladd.f64(double %79, double 2.000000e+00, double -1.000000e+00)
  %81 = load ptr, ptr %18, align 8, !tbaa !5
  %82 = getelementptr inbounds double, ptr %81, i64 %.4372
  store double %80, ptr %82, align 8, !tbaa !15
  %83 = add nuw nsw i64 %.4372, 1
  %exitcond428.not = icmp eq i64 %83, %.0396
  br i1 %exitcond428.not, label %84, label %78, !llvm.loop !18

84:                                               ; preds = %78
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %.0302393, ptr noundef %1)
  br label %85

85:                                               ; preds = %84, %85
  %.5373 = phi i64 [ 0, %84 ], [ %90, %85 ]
  %86 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %87 = call double @llvm.fmuladd.f64(double %86, double 2.000000e+00, double -1.000000e+00)
  %88 = load ptr, ptr %19, align 8, !tbaa !5
  %89 = getelementptr inbounds double, ptr %88, i64 %.5373
  store double %87, ptr %89, align 8, !tbaa !15
  %90 = add nuw nsw i64 %.5373, 1
  %exitcond429.not = icmp eq i64 %90, %.0302393
  br i1 %exitcond429.not, label %91, label %85, !llvm.loop !19

91:                                               ; preds = %85
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 1, ptr noundef %1)
  br i1 %50, label %92, label %93

92:                                               ; preds = %91
  br i1 %77, label %.thread353, label %.thread354

.thread353:                                       ; preds = %92
  call void @_ZN11alglib_impl7convr1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.0396, ptr noundef nonnull %5, i64 noundef %.0302393, ptr noundef nonnull %6, ptr noundef %1)
  br label %.lr.ph379.preheader

.thread354:                                       ; preds = %92
  call void @_ZN11alglib_impl15convr1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.0396, ptr noundef nonnull %5, i64 noundef %.0302393, ptr noundef nonnull %6, ptr noundef %1)
  br label %.preheader356.preheader

93:                                               ; preds = %91
  br i1 %22, label %95, label %94

94:                                               ; preds = %93
  call void @_ZN11alglib_impl8convr1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.0396, ptr noundef nonnull %5, i64 noundef %.0302393, i1 noundef zeroext %23, i64 noundef %.0306383, i64 noundef 0, ptr noundef nonnull %6, ptr noundef %1)
  br label %96

95:                                               ; preds = %93
  call void @_ZN11alglib_impl8convr1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %.0302393, ptr noundef nonnull %4, i64 noundef %.0396, i1 noundef zeroext %23, i64 noundef %.0306383, i64 noundef 0, ptr noundef nonnull %6, ptr noundef %1)
  br label %96

96:                                               ; preds = %94, %95
  br i1 %77, label %.lr.ph379.preheader, label %.preheader356.preheader

.preheader356.preheader:                          ; preds = %.thread354, %96
  call void @_ZL31testconvunit_refconvr1dcircularPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.0396, ptr noundef nonnull %5, i64 noundef %.0302393, ptr noundef nonnull %7, ptr noundef %1)
  br label %.preheader356

.lr.ph379.preheader:                              ; preds = %.thread353, %96
  call void @_ZL23testconvunit_refconvr1dPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.0396, ptr noundef nonnull %5, i64 noundef %.0302393, ptr noundef nonnull %7, ptr noundef %1)
  br label %.lr.ph379

.lr.ph379:                                        ; preds = %.lr.ph379.preheader, %.lr.ph379
  %.6378 = phi i64 [ %106, %.lr.ph379 ], [ 0, %.lr.ph379.preheader ]
  %.4320377 = phi double [ %105, %.lr.ph379 ], [ %.3319381, %.lr.ph379.preheader ]
  %97 = load ptr, ptr %20, align 8, !tbaa !5
  %98 = getelementptr inbounds double, ptr %97, i64 %.6378
  %99 = load double, ptr %98, align 8, !tbaa !15
  %100 = load ptr, ptr %21, align 8, !tbaa !5
  %101 = getelementptr inbounds double, ptr %100, i64 %.6378
  %102 = load double, ptr %101, align 8, !tbaa !15
  %103 = fsub double %99, %102
  %104 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %103, ptr noundef %1)
  %105 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.4320377, double noundef %104, ptr noundef %1)
  %106 = add nuw nsw i64 %.6378, 1
  %exitcond431.not = icmp eq i64 %106, %indvars.iv
  br i1 %exitcond431.not, label %.loopexit, label %.lr.ph379, !llvm.loop !20

.preheader356:                                    ; preds = %.preheader356.preheader, %.preheader356
  %.7375 = phi i64 [ %116, %.preheader356 ], [ 0, %.preheader356.preheader ]
  %.5321374 = phi double [ %115, %.preheader356 ], [ %.3319381, %.preheader356.preheader ]
  %107 = load ptr, ptr %20, align 8, !tbaa !5
  %108 = getelementptr inbounds double, ptr %107, i64 %.7375
  %109 = load double, ptr %108, align 8, !tbaa !15
  %110 = load ptr, ptr %21, align 8, !tbaa !5
  %111 = getelementptr inbounds double, ptr %110, i64 %.7375
  %112 = load double, ptr %111, align 8, !tbaa !15
  %113 = fsub double %109, %112
  %114 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %113, ptr noundef %1)
  %115 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.5321374, double noundef %114, ptr noundef %1)
  %116 = add nuw nsw i64 %.7375, 1
  %exitcond430.not = icmp eq i64 %116, %.0396
  br i1 %exitcond430.not, label %.loopexit, label %.preheader356, !llvm.loop !21

.loopexit:                                        ; preds = %.preheader356, %.lr.ph379, %25
  %.6322 = phi double [ %.3319381, %25 ], [ %105, %.lr.ph379 ], [ %115, %.preheader356 ]
  %.7315 = phi double [ %.3311382, %25 ], [ %.6314, %.lr.ph379 ], [ %.6314, %.preheader356 ]
  %117 = add nsw i64 %.0306383, 1
  %exitcond432.not = icmp eq i64 %117, 2
  br i1 %exitcond432.not, label %118, label %25, !llvm.loop !22

118:                                              ; preds = %.loopexit
  br i1 %24, label %.preheader362, label %119, !llvm.loop !23

119:                                              ; preds = %118
  %120 = add nuw nsw i64 %.0302393, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond435.not = icmp eq i64 %indvars.iv.next, %indvars.iv433
  br i1 %exitcond435.not, label %121, label %.preheader363, !llvm.loop !24

121:                                              ; preds = %119
  %122 = add nuw nsw i64 %.0396, 1
  %indvars.iv.next434 = add nuw nsw i64 %indvars.iv433, 1
  %exitcond436.not = icmp eq i64 %indvars.iv.next434, 65
  br i1 %exitcond436.not, label %123, label %.preheader364, !llvm.loop !25

123:                                              ; preds = %121
  %124 = fmul double %13, 5.000000e-16
  %125 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %.7315, double noundef %124)
  %126 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %.6322, double noundef %124)
  br label %.preheader

.preheader:                                       ; preds = %123, %215
  %.1414 = phi i64 [ 1, %123 ], [ %216, %215 ]
  %.0323413 = phi double [ 0.000000e+00, %123 ], [ %173, %215 ]
  %.0327412 = phi double [ 0.000000e+00, %123 ], [ %211, %215 ]
  %127 = add nsw i64 %.1414, -1
  br label %128

128:                                              ; preds = %.preheader, %213
  %.1303411 = phi i64 [ 1, %.preheader ], [ %214, %213 ]
  %.1324410 = phi double [ %.0323413, %.preheader ], [ %173, %213 ]
  %.1328409 = phi double [ %.0327412, %.preheader ], [ %211, %213 ]
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.1414, ptr noundef %1)
  br label %129

129:                                              ; preds = %128, %129
  %.8397 = phi i64 [ 0, %128 ], [ %138, %129 ]
  %130 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %131 = call double @llvm.fmuladd.f64(double %130, double 2.000000e+00, double -1.000000e+00)
  %132 = load ptr, ptr %14, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %132, i64 %.8397
  store double %131, ptr %133, align 8, !tbaa !8
  %134 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %135 = call double @llvm.fmuladd.f64(double %134, double 2.000000e+00, double -1.000000e+00)
  %136 = load ptr, ptr %14, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %136, i64 %.8397, i32 1
  store double %135, ptr %137, align 8, !tbaa !11
  %138 = add nuw nsw i64 %.8397, 1
  %exitcond437.not = icmp eq i64 %138, %.1414
  br i1 %exitcond437.not, label %139, label %129, !llvm.loop !26

139:                                              ; preds = %129
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %9, i64 noundef %.1303411, ptr noundef %1)
  br label %140

140:                                              ; preds = %139, %140
  %.9398 = phi i64 [ 0, %139 ], [ %149, %140 ]
  %141 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %142 = call double @llvm.fmuladd.f64(double %141, double 2.000000e+00, double -1.000000e+00)
  %143 = load ptr, ptr %15, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %143, i64 %.9398
  store double %142, ptr %144, align 8, !tbaa !8
  %145 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %146 = call double @llvm.fmuladd.f64(double %145, double 2.000000e+00, double -1.000000e+00)
  %147 = load ptr, ptr %15, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %147, i64 %.9398, i32 1
  store double %146, ptr %148, align 8, !tbaa !11
  %149 = add nuw nsw i64 %.9398, 1
  %exitcond438.not = icmp eq i64 %149, %.1303411
  br i1 %exitcond438.not, label %150, label %140, !llvm.loop !27

150:                                              ; preds = %140
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl7convc1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.1414, ptr noundef nonnull %9, i64 noundef %.1303411, ptr noundef nonnull %11, ptr noundef %1)
  %151 = add nuw nsw i64 %127, %.1303411
  call void @_ZN11alglib_impl10convc1dinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %151, ptr noundef nonnull %9, i64 noundef %.1303411, ptr noundef nonnull %10, ptr noundef %1)
  br label %152

152:                                              ; preds = %150, %152
  %.10400 = phi i64 [ 0, %150 ], [ %162, %152 ]
  %.2325399 = phi double [ %.1324410, %150 ], [ %161, %152 ]
  %153 = load ptr, ptr %16, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %153, i64 %.10400
  %.sroa.08.0.copyload = load double, ptr %154, align 8, !tbaa !15
  %.sroa.29.0..sroa_idx = getelementptr inbounds i8, ptr %154, i64 8
  %.sroa.29.0.copyload = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !15
  %155 = load ptr, ptr %14, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %155, i64 %.10400
  %.sroa.06.0.copyload = load double, ptr %156, align 8, !tbaa !15
  %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %156, i64 8
  %.sroa.27.0.copyload = load double, ptr %.sroa.27.0..sroa_idx, align 8, !tbaa !15
  %157 = call { double, double } @_ZN11alglib_impl8ae_c_subENS_10ae_complexES0_(double %.sroa.08.0.copyload, double %.sroa.29.0.copyload, double %.sroa.06.0.copyload, double %.sroa.27.0.copyload)
  %158 = extractvalue { double, double } %157, 0
  %159 = extractvalue { double, double } %157, 1
  %160 = call noundef double @_ZN11alglib_impl8ae_c_absENS_10ae_complexEPNS_8ae_stateE(double %158, double %159, ptr noundef %1)
  %161 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.2325399, double noundef %160, ptr noundef %1)
  %162 = add nuw nsw i64 %.10400, 1
  %exitcond439.not = icmp eq i64 %162, %.1414
  br i1 %exitcond439.not, label %163, label %152, !llvm.loop !28

163:                                              ; preds = %152
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %10, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl15convc1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %8, i64 noundef %.1414, ptr noundef nonnull %9, i64 noundef %.1303411, ptr noundef nonnull %11, ptr noundef %1)
  call void @_ZN11alglib_impl18convc1dcircularinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %11, i64 noundef %.1414, ptr noundef nonnull %9, i64 noundef %.1303411, ptr noundef nonnull %10, ptr noundef %1)
  br label %164

164:                                              ; preds = %163, %164
  %.11402 = phi i64 [ 0, %163 ], [ %174, %164 ]
  %.3326401 = phi double [ %161, %163 ], [ %173, %164 ]
  %165 = load ptr, ptr %16, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %165, i64 %.11402
  %.sroa.02.0.copyload = load double, ptr %166, align 8, !tbaa !15
  %.sroa.23.0..sroa_idx = getelementptr inbounds i8, ptr %166, i64 8
  %.sroa.23.0.copyload = load double, ptr %.sroa.23.0..sroa_idx, align 8, !tbaa !15
  %167 = load ptr, ptr %14, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.alglib_impl::ae_complex", ptr %167, i64 %.11402
  %.sroa.0.0.copyload = load double, ptr %168, align 8, !tbaa !15
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %168, i64 8
  %.sroa.2.0.copyload = load double, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !15
  %169 = call { double, double } @_ZN11alglib_impl8ae_c_subENS_10ae_complexES0_(double %.sroa.02.0.copyload, double %.sroa.23.0.copyload, double %.sroa.0.0.copyload, double %.sroa.2.0.copyload)
  %170 = extractvalue { double, double } %169, 0
  %171 = extractvalue { double, double } %169, 1
  %172 = call noundef double @_ZN11alglib_impl8ae_c_absENS_10ae_complexEPNS_8ae_stateE(double %170, double %171, ptr noundef %1)
  %173 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.3326401, double noundef %172, ptr noundef %1)
  %174 = add nuw nsw i64 %.11402, 1
  %exitcond440.not = icmp eq i64 %174, %.1414
  br i1 %exitcond440.not, label %175, label %164, !llvm.loop !29

175:                                              ; preds = %164
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.1414, ptr noundef %1)
  br label %176

176:                                              ; preds = %175, %176
  %.12403 = phi i64 [ 0, %175 ], [ %181, %176 ]
  %177 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %178 = call double @llvm.fmuladd.f64(double %177, double 2.000000e+00, double -1.000000e+00)
  %179 = load ptr, ptr %18, align 8, !tbaa !5
  %180 = getelementptr inbounds double, ptr %179, i64 %.12403
  store double %178, ptr %180, align 8, !tbaa !15
  %181 = add nuw nsw i64 %.12403, 1
  %exitcond441.not = icmp eq i64 %181, %.1414
  br i1 %exitcond441.not, label %182, label %176, !llvm.loop !30

182:                                              ; preds = %176
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %5, i64 noundef %.1303411, ptr noundef %1)
  br label %183

183:                                              ; preds = %182, %183
  %.13404 = phi i64 [ 0, %182 ], [ %188, %183 ]
  %184 = call noundef double @_ZN11alglib_impl13ae_randomrealEPNS_8ae_stateE(ptr noundef %1)
  %185 = call double @llvm.fmuladd.f64(double %184, double 2.000000e+00, double -1.000000e+00)
  %186 = load ptr, ptr %19, align 8, !tbaa !5
  %187 = getelementptr inbounds double, ptr %186, i64 %.13404
  store double %185, ptr %187, align 8, !tbaa !15
  %188 = add nuw nsw i64 %.13404, 1
  %exitcond442.not = icmp eq i64 %188, %.1303411
  br i1 %exitcond442.not, label %189, label %183, !llvm.loop !31

189:                                              ; preds = %183
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl7convr1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.1414, ptr noundef nonnull %5, i64 noundef %.1303411, ptr noundef nonnull %7, ptr noundef %1)
  call void @_ZN11alglib_impl10convr1dinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %151, ptr noundef nonnull %5, i64 noundef %.1303411, ptr noundef nonnull %6, ptr noundef %1)
  br label %190

190:                                              ; preds = %189, %190
  %.14406 = phi i64 [ 0, %189 ], [ %200, %190 ]
  %.2329405 = phi double [ %.1328409, %189 ], [ %199, %190 ]
  %191 = load ptr, ptr %20, align 8, !tbaa !5
  %192 = getelementptr inbounds double, ptr %191, i64 %.14406
  %193 = load double, ptr %192, align 8, !tbaa !15
  %194 = load ptr, ptr %18, align 8, !tbaa !5
  %195 = getelementptr inbounds double, ptr %194, i64 %.14406
  %196 = load double, ptr %195, align 8, !tbaa !15
  %197 = fsub double %193, %196
  %198 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %197, ptr noundef %1)
  %199 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.2329405, double noundef %198, ptr noundef %1)
  %200 = add nuw nsw i64 %.14406, 1
  %exitcond443.not = icmp eq i64 %200, %.1414
  br i1 %exitcond443.not, label %201, label %190, !llvm.loop !32

201:                                              ; preds = %190
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %6, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl20ae_vector_set_lengthEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef 1, ptr noundef %1)
  call void @_ZN11alglib_impl15convr1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %4, i64 noundef %.1414, ptr noundef nonnull %5, i64 noundef %.1303411, ptr noundef nonnull %7, ptr noundef %1)
  call void @_ZN11alglib_impl18convr1dcircularinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef nonnull %7, i64 noundef %.1414, ptr noundef nonnull %5, i64 noundef %.1303411, ptr noundef nonnull %6, ptr noundef %1)
  br label %202

202:                                              ; preds = %201, %202
  %.15408 = phi i64 [ 0, %201 ], [ %212, %202 ]
  %.3330407 = phi double [ %199, %201 ], [ %211, %202 ]
  %203 = load ptr, ptr %20, align 8, !tbaa !5
  %204 = getelementptr inbounds double, ptr %203, i64 %.15408
  %205 = load double, ptr %204, align 8, !tbaa !15
  %206 = load ptr, ptr %18, align 8, !tbaa !5
  %207 = getelementptr inbounds double, ptr %206, i64 %.15408
  %208 = load double, ptr %207, align 8, !tbaa !15
  %209 = fsub double %205, %208
  %210 = call noundef double @_ZN11alglib_impl7ae_fabsEdPNS_8ae_stateE(double noundef %209, ptr noundef %1)
  %211 = call noundef double @_ZN11alglib_impl10ae_maxrealEddPNS_8ae_stateE(double noundef %.3330407, double noundef %210, ptr noundef %1)
  %212 = add nuw nsw i64 %.15408, 1
  %exitcond444.not = icmp eq i64 %212, %.1414
  br i1 %exitcond444.not, label %213, label %202, !llvm.loop !33

213:                                              ; preds = %202
  %214 = add nuw nsw i64 %.1303411, 1
  %exitcond445.not = icmp eq i64 %214, 33
  br i1 %exitcond445.not, label %215, label %128, !llvm.loop !34

215:                                              ; preds = %213
  %216 = add nuw nsw i64 %.1414, 1
  %exitcond446.not = icmp eq i64 %216, 33
  br i1 %exitcond446.not, label %217, label %.preheader, !llvm.loop !35

217:                                              ; preds = %215
  %218 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %173, double noundef %124)
  %219 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %211, double noundef %124)
  %spec.select = or i1 %218, %219
  %220 = or i1 %126, %spec.select
  %spec.select351 = or i1 %125, %220
  br i1 %0, label %233, label %.sink.split

.sink.split:                                      ; preds = %217
  %221 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.600)
  %222 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.579)
  %.str.7..str.6 = select i1 %spec.select351, ptr @.str.7, ptr @.str.6
  %223 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.7..str.6)
  %224 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.601)
  %.str.6.sink457 = select i1 %125, ptr @.str.7, ptr @.str.6
  %225 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink457)
  %226 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.602)
  %.str.6.sink458 = select i1 %126, ptr @.str.7, ptr @.str.6
  %227 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink458)
  %228 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.603)
  %.str.6.sink459 = select i1 %218, ptr @.str.7, ptr @.str.6
  %229 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink459)
  %230 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.604)
  %.str.6.sink460 = select i1 %219, ptr @.str.7, ptr @.str.6
  %231 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.6.sink460)
  %.str.1.sink = select i1 %spec.select351, ptr @.str.1, ptr @.str.2
  %232 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.1.sink)
  br label %233

233:                                              ; preds = %.sink.split, %217
  %234 = xor i1 %spec.select351, true
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  ret i1 %234
}

declare void @_ZN11alglib_impl7convc1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl15convc1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl8convc1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i1 noundef zeroext, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23testconvunit_refconvc1dPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL31testconvunit_refconvc1dcircularPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN11alglib_impl7convr1dEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl15convr1dcircularEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl8convr1dxEPNS_9ae_vectorElS1_lbllS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, i1 noundef zeroext, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23testconvunit_refconvr1dPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL31testconvunit_refconvr1dcircularPN11alglib_impl9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN11alglib_impl10convc1dinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl18convc1dcircularinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl10convr1dinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl18convr1dcircularinvEPNS_9ae_vectorElS1_lS1_PNS_8ae_stateE(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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


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