; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/src (optimization)

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

%"struct.alglib_impl::ae_frame" = type { %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }
%"struct.alglib_impl::ae_smart_ptr" = type { ptr, ptr, i8, i8, i64, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::sparsematrix" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::xquadraticconstraints" = type { i64, %"struct.alglib_impl::ae_obj_array", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_obj_array" = type { i64, i64, i8, ptr, ptr, ptr, ptr, %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::xquadraticconstraint" = type { i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", double, double, i8 }

@.str.414 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.415 = external hidden unnamed_addr constant [37 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 noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 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

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

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

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_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) #1

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #1

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

declare void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef, double noundef, ptr noundef, ptr noundef) #1

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

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

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

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

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

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

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

declare void @_ZN11alglib_impl29_xquadraticconstraint_destroyEPv(ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl28ae_obj_array_append_transferEPNS_12ae_obj_arrayEPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl13xqcaddqc2listEPNS_21xquadraticconstraintsEPKNS_9ae_vectorES4_S4_lbS4_S4_lddbPNS_8ae_stateE(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i1 noundef zeroext %5, ptr noundef %6, ptr noundef %7, i64 noundef %8, double noundef %9, double noundef %10, i1 noundef zeroext %11, ptr noundef %12) #3 {
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i64, align 8
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i8, align 1
  %26 = alloca ptr, align 8
  %27 = alloca %"struct.alglib_impl::ae_frame", align 8
  %28 = alloca %"struct.alglib_impl::ae_vector", align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"struct.alglib_impl::ae_smart_ptr", align 8
  %31 = alloca i64, align 8
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i64, align 8
  %36 = alloca %"struct.alglib_impl::ae_vector", align 8
  %37 = alloca %"struct.alglib_impl::sparsematrix", align 8
  %38 = alloca i32, align 4
  store ptr %0, ptr %14, align 8, !tbaa !5
  store ptr %1, ptr %15, align 8, !tbaa !5
  store ptr %2, ptr %16, align 8, !tbaa !5
  store ptr %3, ptr %17, align 8, !tbaa !5
  store i64 %4, ptr %18, align 8, !tbaa !9
  %39 = zext i1 %5 to i8
  store i8 %39, ptr %19, align 1, !tbaa !11
  store ptr %6, ptr %20, align 8, !tbaa !5
  store ptr %7, ptr %21, align 8, !tbaa !5
  store i64 %8, ptr %22, align 8, !tbaa !9
  store double %9, ptr %23, align 8, !tbaa !13
  store double %10, ptr %24, align 8, !tbaa !13
  %40 = zext i1 %11 to i8
  store i8 %40, ptr %25, align 1, !tbaa !11
  store ptr %12, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %36) #4
  call void @llvm.lifetime.start.p0(i64 368, ptr %37) #4
  %41 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %41, ptr noundef %27)
  call void @llvm.memset.p0.i64(ptr align 8 %28, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %30, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %36, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %37, i8 0, i64 368, i1 false)
  %42 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %28, i64 noundef 0, i64 noundef 2, ptr noundef %42, i1 noundef zeroext true)
  %43 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl17ae_smart_ptr_initEPNS_12ae_smart_ptrEPPvPNS_8ae_stateEb(ptr noundef %30, ptr noundef %29, ptr noundef %43, i1 noundef zeroext true)
  %44 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef %36, i64 noundef 0, i64 noundef 3, ptr noundef %44, i1 noundef zeroext true)
  %45 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef %37, ptr noundef %45, i1 noundef zeroext true)
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraints", ptr %46, i32 0, i32 0
  %48 = load i64, ptr %47, align 8, !tbaa !15
  store i64 %48, ptr %31, align 8, !tbaa !9
  %49 = load ptr, ptr %26, align 8, !tbaa !5
  %50 = call noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 noundef 528, ptr noundef %49)
  store ptr %50, ptr %29, align 8, !tbaa !5
  %51 = load ptr, ptr %29, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %51, i8 0, i64 528, i1 false)
  %52 = load ptr, ptr %29, align 8, !tbaa !5
  %53 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl26_xquadraticconstraint_initEPvPNS_8ae_stateEb(ptr noundef %52, ptr noundef %53, i1 noundef zeroext false)
  %54 = load ptr, ptr %29, align 8, !tbaa !5
  call void @_ZN11alglib_impl19ae_smart_ptr_assignEPNS_12ae_smart_ptrEPvbblPFvS2_PKvPNS_8ae_stateEbEPFvS2_E(ptr noundef %30, ptr noundef %54, i1 noundef zeroext true, i1 noundef zeroext true, i64 noundef 528, ptr noundef @_ZN11alglib_impl31_xquadraticconstraint_init_copyEPvPKvPNS_8ae_stateEb, ptr noundef @_ZN11alglib_impl29_xquadraticconstraint_destroyEPv)
  %55 = load i64, ptr %18, align 8, !tbaa !9
  %56 = mul nsw i64 2, %55
  %57 = load i64, ptr %22, align 8, !tbaa !9
  %58 = add nsw i64 %56, %57
  %59 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl7iallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %58, ptr noundef %28, ptr noundef %59)
  store i64 0, ptr %35, align 8, !tbaa !9
  store i64 0, ptr %32, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %134, %13
  %61 = load i64, ptr %32, align 8, !tbaa !9
  %62 = load i64, ptr %18, align 8, !tbaa !9
  %63 = sub nsw i64 %62, 1
  %64 = icmp sle i64 %61, %63
  br i1 %64, label %65, label %137

65:                                               ; preds = %60
  %66 = load i8, ptr %19, align 1, !tbaa !11, !range !21, !noundef !22
  %67 = trunc i8 %66 to i1
  br i1 %67, label %68, label %82

68:                                               ; preds = %65
  %69 = load ptr, ptr %16, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %69, i32 0, i32 4
  %71 = load ptr, ptr %70, align 8, !tbaa !23
  %72 = load i64, ptr %32, align 8, !tbaa !9
  %73 = getelementptr inbounds i64, ptr %71, i64 %72
  %74 = load i64, ptr %73, align 8, !tbaa !9
  %75 = load ptr, ptr %15, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %75, i32 0, i32 4
  %77 = load ptr, ptr %76, align 8, !tbaa !23
  %78 = load i64, ptr %32, align 8, !tbaa !9
  %79 = getelementptr inbounds i64, ptr %77, i64 %78
  %80 = load i64, ptr %79, align 8, !tbaa !9
  %81 = icmp sge i64 %74, %80
  br i1 %81, label %99, label %82

82:                                               ; preds = %68, %65
  %83 = load i8, ptr %19, align 1, !tbaa !11, !range !21, !noundef !22
  %84 = trunc i8 %83 to i1
  br i1 %84, label %133, label %85

85:                                               ; preds = %82
  %86 = load ptr, ptr %15, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %86, i32 0, i32 4
  %88 = load ptr, ptr %87, align 8, !tbaa !23
  %89 = load i64, ptr %32, align 8, !tbaa !9
  %90 = getelementptr inbounds i64, ptr %88, i64 %89
  %91 = load i64, ptr %90, align 8, !tbaa !9
  %92 = load ptr, ptr %16, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %92, i32 0, i32 4
  %94 = load ptr, ptr %93, align 8, !tbaa !23
  %95 = load i64, ptr %32, align 8, !tbaa !9
  %96 = getelementptr inbounds i64, ptr %94, i64 %95
  %97 = load i64, ptr %96, align 8, !tbaa !9
  %98 = icmp sge i64 %91, %97
  br i1 %98, label %99, label %133

99:                                               ; preds = %85, %68
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %100, i32 0, i32 4
  %102 = load ptr, ptr %101, align 8, !tbaa !23
  %103 = load i64, ptr %32, align 8, !tbaa !9
  %104 = getelementptr inbounds double, ptr %102, i64 %103
  %105 = load double, ptr %104, align 8, !tbaa !13
  %106 = fcmp une double %105, 0.000000e+00
  br i1 %106, label %107, label %132

107:                                              ; preds = %99
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %108, i32 0, i32 4
  %110 = load ptr, ptr %109, align 8, !tbaa !23
  %111 = load i64, ptr %32, align 8, !tbaa !9
  %112 = getelementptr inbounds i64, ptr %110, i64 %111
  %113 = load i64, ptr %112, align 8, !tbaa !9
  %114 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %115 = load ptr, ptr %114, align 8, !tbaa !23
  %116 = load i64, ptr %35, align 8, !tbaa !9
  %117 = add nsw i64 %116, 0
  %118 = getelementptr inbounds i64, ptr %115, i64 %117
  store i64 %113, ptr %118, align 8, !tbaa !9
  %119 = load ptr, ptr %16, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %119, i32 0, i32 4
  %121 = load ptr, ptr %120, align 8, !tbaa !23
  %122 = load i64, ptr %32, align 8, !tbaa !9
  %123 = getelementptr inbounds i64, ptr %121, i64 %122
  %124 = load i64, ptr %123, align 8, !tbaa !9
  %125 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %126 = load ptr, ptr %125, align 8, !tbaa !23
  %127 = load i64, ptr %35, align 8, !tbaa !9
  %128 = add nsw i64 %127, 1
  %129 = getelementptr inbounds i64, ptr %126, i64 %128
  store i64 %124, ptr %129, align 8, !tbaa !9
  %130 = load i64, ptr %35, align 8, !tbaa !9
  %131 = add nsw i64 %130, 2
  store i64 %131, ptr %35, align 8, !tbaa !9
  br label %132

132:                                              ; preds = %107, %99
  br label %133

133:                                              ; preds = %132, %85, %82
  br label %134

134:                                              ; preds = %133
  %135 = load i64, ptr %32, align 8, !tbaa !9
  %136 = add nsw i64 %135, 1
  store i64 %136, ptr %32, align 8, !tbaa !9
  br label %60, !llvm.loop !24

137:                                              ; preds = %60
  store i64 0, ptr %32, align 8, !tbaa !9
  br label %138

138:                                              ; preds = %165, %137
  %139 = load i64, ptr %32, align 8, !tbaa !9
  %140 = load i64, ptr %22, align 8, !tbaa !9
  %141 = sub nsw i64 %140, 1
  %142 = icmp sle i64 %139, %141
  br i1 %142, label %143, label %168

143:                                              ; preds = %138
  %144 = load ptr, ptr %21, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %144, i32 0, i32 4
  %146 = load ptr, ptr %145, align 8, !tbaa !23
  %147 = load i64, ptr %32, align 8, !tbaa !9
  %148 = getelementptr inbounds double, ptr %146, i64 %147
  %149 = load double, ptr %148, align 8, !tbaa !13
  %150 = fcmp une double %149, 0.000000e+00
  br i1 %150, label %151, label %164

151:                                              ; preds = %143
  %152 = load ptr, ptr %20, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %152, i32 0, i32 4
  %154 = load ptr, ptr %153, align 8, !tbaa !23
  %155 = load i64, ptr %32, align 8, !tbaa !9
  %156 = getelementptr inbounds i64, ptr %154, i64 %155
  %157 = load i64, ptr %156, align 8, !tbaa !9
  %158 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %159 = load ptr, ptr %158, align 8, !tbaa !23
  %160 = load i64, ptr %35, align 8, !tbaa !9
  %161 = getelementptr inbounds i64, ptr %159, i64 %160
  store i64 %157, ptr %161, align 8, !tbaa !9
  %162 = load i64, ptr %35, align 8, !tbaa !9
  %163 = add nsw i64 %162, 1
  store i64 %163, ptr %35, align 8, !tbaa !9
  br label %164

164:                                              ; preds = %151, %143
  br label %165

165:                                              ; preds = %164
  %166 = load i64, ptr %32, align 8, !tbaa !9
  %167 = add nsw i64 %166, 1
  store i64 %167, ptr %32, align 8, !tbaa !9
  br label %138, !llvm.loop !26

168:                                              ; preds = %138
  %169 = load i64, ptr %35, align 8, !tbaa !9
  %170 = icmp eq i64 %169, 0
  br i1 %170, label %171, label %190

171:                                              ; preds = %168
  %172 = load ptr, ptr %29, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %172, i32 0, i32 0
  store i64 0, ptr %173, align 8, !tbaa !27
  %174 = load i8, ptr %25, align 1, !tbaa !11, !range !21, !noundef !22
  %175 = trunc i8 %174 to i1
  %176 = load ptr, ptr %29, align 8, !tbaa !5
  %177 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %176, i32 0, i32 6
  %178 = zext i1 %175 to i8
  store i8 %178, ptr %177, align 8, !tbaa !30
  %179 = load double, ptr %23, align 8, !tbaa !13
  %180 = load ptr, ptr %29, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %180, i32 0, i32 4
  store double %179, ptr %181, align 8, !tbaa !31
  %182 = load double, ptr %24, align 8, !tbaa !13
  %183 = load ptr, ptr %29, align 8, !tbaa !5
  %184 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %183, i32 0, i32 5
  store double %182, ptr %184, align 8, !tbaa !32
  %185 = load ptr, ptr %14, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraints", ptr %185, i32 0, i32 1
  %187 = load ptr, ptr %26, align 8, !tbaa !5
  %188 = call noundef i64 @_ZN11alglib_impl28ae_obj_array_append_transferEPNS_12ae_obj_arrayEPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef %186, ptr noundef %30, ptr noundef %187)
  %189 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %189)
  store i32 1, ptr %38, align 4
  br label %727

190:                                              ; preds = %168
  %191 = load i64, ptr %35, align 8, !tbaa !9
  %192 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14tagsortmiddleiEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef %28, i64 noundef 0, i64 noundef %191, ptr noundef %192)
  %193 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %194 = load ptr, ptr %193, align 8, !tbaa !23
  %195 = getelementptr inbounds i64, ptr %194, i64 0
  %196 = load i64, ptr %195, align 8, !tbaa !9
  %197 = icmp sge i64 %196, 0
  br i1 %197, label %198, label %207

198:                                              ; preds = %190
  %199 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %200 = load ptr, ptr %199, align 8, !tbaa !23
  %201 = load i64, ptr %35, align 8, !tbaa !9
  %202 = sub nsw i64 %201, 1
  %203 = getelementptr inbounds i64, ptr %200, i64 %202
  %204 = load i64, ptr %203, align 8, !tbaa !9
  %205 = load i64, ptr %31, align 8, !tbaa !9
  %206 = icmp slt i64 %204, %205
  br label %207

207:                                              ; preds = %198, %190
  %208 = phi i1 [ false, %190 ], [ %206, %198 ]
  %209 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %208, ptr noundef @.str.414, ptr noundef %209)
  %210 = load ptr, ptr %29, align 8, !tbaa !5
  %211 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %210, i32 0, i32 0
  store i64 0, ptr %211, align 8, !tbaa !27
  store i64 0, ptr %32, align 8, !tbaa !9
  br label %212

212:                                              ; preds = %267, %207
  %213 = load i64, ptr %32, align 8, !tbaa !9
  %214 = load i64, ptr %35, align 8, !tbaa !9
  %215 = sub nsw i64 %214, 1
  %216 = icmp sle i64 %213, %215
  br i1 %216, label %217, label %270

217:                                              ; preds = %212
  %218 = load ptr, ptr %29, align 8, !tbaa !5
  %219 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %218, i32 0, i32 0
  %220 = load i64, ptr %219, align 8, !tbaa !27
  %221 = icmp eq i64 %220, 0
  br i1 %221, label %239, label %222

222:                                              ; preds = %217
  %223 = load ptr, ptr %29, align 8, !tbaa !5
  %224 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %223, i32 0, i32 1
  %225 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %224, i32 0, i32 4
  %226 = load ptr, ptr %225, align 8, !tbaa !23
  %227 = load ptr, ptr %29, align 8, !tbaa !5
  %228 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %227, i32 0, i32 0
  %229 = load i64, ptr %228, align 8, !tbaa !27
  %230 = sub nsw i64 %229, 1
  %231 = getelementptr inbounds i64, ptr %226, i64 %230
  %232 = load i64, ptr %231, align 8, !tbaa !9
  %233 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %234 = load ptr, ptr %233, align 8, !tbaa !23
  %235 = load i64, ptr %32, align 8, !tbaa !9
  %236 = getelementptr inbounds i64, ptr %234, i64 %235
  %237 = load i64, ptr %236, align 8, !tbaa !9
  %238 = icmp ne i64 %232, %237
  br i1 %238, label %239, label %266

239:                                              ; preds = %222, %217
  %240 = load ptr, ptr %29, align 8, !tbaa !5
  %241 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %240, i32 0, i32 0
  %242 = load i64, ptr %241, align 8, !tbaa !27
  %243 = add nsw i64 %242, 1
  %244 = load ptr, ptr %29, align 8, !tbaa !5
  %245 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %244, i32 0, i32 1
  %246 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl6igrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %243, ptr noundef %245, ptr noundef %246)
  %247 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %28, i32 0, i32 4
  %248 = load ptr, ptr %247, align 8, !tbaa !23
  %249 = load i64, ptr %32, align 8, !tbaa !9
  %250 = getelementptr inbounds i64, ptr %248, i64 %249
  %251 = load i64, ptr %250, align 8, !tbaa !9
  %252 = load ptr, ptr %29, align 8, !tbaa !5
  %253 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %252, i32 0, i32 1
  %254 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %253, i32 0, i32 4
  %255 = load ptr, ptr %254, align 8, !tbaa !23
  %256 = load ptr, ptr %29, align 8, !tbaa !5
  %257 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %256, i32 0, i32 0
  %258 = load i64, ptr %257, align 8, !tbaa !27
  %259 = getelementptr inbounds i64, ptr %255, i64 %258
  store i64 %251, ptr %259, align 8, !tbaa !9
  %260 = load ptr, ptr %29, align 8, !tbaa !5
  %261 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %260, i32 0, i32 0
  %262 = load i64, ptr %261, align 8, !tbaa !27
  %263 = add nsw i64 %262, 1
  %264 = load ptr, ptr %29, align 8, !tbaa !5
  %265 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %264, i32 0, i32 0
  store i64 %263, ptr %265, align 8, !tbaa !27
  br label %266

266:                                              ; preds = %239, %222
  br label %267

267:                                              ; preds = %266
  %268 = load i64, ptr %32, align 8, !tbaa !9
  %269 = add nsw i64 %268, 1
  store i64 %269, ptr %32, align 8, !tbaa !9
  br label %212, !llvm.loop !33

270:                                              ; preds = %212
  %271 = load i8, ptr %25, align 1, !tbaa !11, !range !21, !noundef !22
  %272 = trunc i8 %271 to i1
  %273 = load ptr, ptr %29, align 8, !tbaa !5
  %274 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %273, i32 0, i32 6
  %275 = zext i1 %272 to i8
  store i8 %275, ptr %274, align 8, !tbaa !30
  %276 = load double, ptr %23, align 8, !tbaa !13
  %277 = load ptr, ptr %29, align 8, !tbaa !5
  %278 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %277, i32 0, i32 4
  store double %276, ptr %278, align 8, !tbaa !31
  %279 = load double, ptr %24, align 8, !tbaa !13
  %280 = load ptr, ptr %29, align 8, !tbaa !5
  %281 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %280, i32 0, i32 5
  store double %279, ptr %281, align 8, !tbaa !32
  %282 = load ptr, ptr %29, align 8, !tbaa !5
  %283 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %282, i32 0, i32 0
  %284 = load i64, ptr %283, align 8, !tbaa !27
  %285 = icmp sgt i64 %284, 0
  br i1 %285, label %286, label %721

286:                                              ; preds = %270
  %287 = load ptr, ptr %29, align 8, !tbaa !5
  %288 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %287, i32 0, i32 0
  %289 = load i64, ptr %288, align 8, !tbaa !27
  %290 = load ptr, ptr %29, align 8, !tbaa !5
  %291 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %290, i32 0, i32 2
  %292 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %289, double noundef 0.000000e+00, ptr noundef %291, ptr noundef %292)
  store i64 0, ptr %32, align 8, !tbaa !9
  br label %293

293:                                              ; preds = %323, %286
  %294 = load i64, ptr %32, align 8, !tbaa !9
  %295 = load i64, ptr %22, align 8, !tbaa !9
  %296 = sub nsw i64 %295, 1
  %297 = icmp sle i64 %294, %296
  br i1 %297, label %298, label %326

298:                                              ; preds = %293
  %299 = load ptr, ptr %21, align 8, !tbaa !5
  %300 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %299, i32 0, i32 4
  %301 = load ptr, ptr %300, align 8, !tbaa !23
  %302 = load i64, ptr %32, align 8, !tbaa !9
  %303 = getelementptr inbounds double, ptr %301, i64 %302
  %304 = load double, ptr %303, align 8, !tbaa !13
  %305 = load ptr, ptr %29, align 8, !tbaa !5
  %306 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %305, i32 0, i32 2
  %307 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %306, i32 0, i32 4
  %308 = load ptr, ptr %307, align 8, !tbaa !23
  %309 = load ptr, ptr %29, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %309, i32 0, i32 1
  %311 = load ptr, ptr %29, align 8, !tbaa !5
  %312 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %311, i32 0, i32 0
  %313 = load i64, ptr %312, align 8, !tbaa !27
  %314 = load ptr, ptr %20, align 8, !tbaa !5
  %315 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %314, i32 0, i32 4
  %316 = load ptr, ptr %315, align 8, !tbaa !23
  %317 = load i64, ptr %32, align 8, !tbaa !9
  %318 = getelementptr inbounds i64, ptr %316, i64 %317
  %319 = load i64, ptr %318, align 8, !tbaa !9
  %320 = load ptr, ptr %26, align 8, !tbaa !5
  %321 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef %310, i64 noundef 0, i64 noundef %313, i64 noundef %319, ptr noundef %320)
  %322 = getelementptr inbounds double, ptr %308, i64 %321
  store double %304, ptr %322, align 8, !tbaa !13
  br label %323

323:                                              ; preds = %298
  %324 = load i64, ptr %32, align 8, !tbaa !9
  %325 = add nsw i64 %324, 1
  store i64 %325, ptr %32, align 8, !tbaa !9
  br label %293, !llvm.loop !34

326:                                              ; preds = %293
  %327 = load ptr, ptr %29, align 8, !tbaa !5
  %328 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %327, i32 0, i32 0
  %329 = load i64, ptr %328, align 8, !tbaa !27
  %330 = load ptr, ptr %29, align 8, !tbaa !5
  %331 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %330, i32 0, i32 3
  %332 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %331, i32 0, i32 6
  store i64 %329, ptr %332, align 8, !tbaa !35
  %333 = load ptr, ptr %29, align 8, !tbaa !5
  %334 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %333, i32 0, i32 0
  %335 = load i64, ptr %334, align 8, !tbaa !27
  %336 = load ptr, ptr %29, align 8, !tbaa !5
  %337 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %336, i32 0, i32 3
  %338 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %337, i32 0, i32 7
  store i64 %335, ptr %338, align 8, !tbaa !36
  %339 = load ptr, ptr %29, align 8, !tbaa !5
  %340 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %339, i32 0, i32 0
  %341 = load i64, ptr %340, align 8, !tbaa !27
  %342 = load ptr, ptr %29, align 8, !tbaa !5
  %343 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %342, i32 0, i32 3
  %344 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %343, i32 0, i32 3
  %345 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl10isetallocvEllPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %341, i64 noundef 0, ptr noundef %344, ptr noundef %345)
  store i64 0, ptr %34, align 8, !tbaa !9
  br label %346

346:                                              ; preds = %443, %326
  %347 = load i64, ptr %34, align 8, !tbaa !9
  %348 = load i64, ptr %18, align 8, !tbaa !9
  %349 = sub nsw i64 %348, 1
  %350 = icmp sle i64 %347, %349
  br i1 %350, label %351, label %446

351:                                              ; preds = %346
  %352 = load i8, ptr %19, align 1, !tbaa !11, !range !21, !noundef !22
  %353 = trunc i8 %352 to i1
  br i1 %353, label %354, label %368

354:                                              ; preds = %351
  %355 = load ptr, ptr %16, align 8, !tbaa !5
  %356 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %355, i32 0, i32 4
  %357 = load ptr, ptr %356, align 8, !tbaa !23
  %358 = load i64, ptr %34, align 8, !tbaa !9
  %359 = getelementptr inbounds i64, ptr %357, i64 %358
  %360 = load i64, ptr %359, align 8, !tbaa !9
  %361 = load ptr, ptr %15, align 8, !tbaa !5
  %362 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %361, i32 0, i32 4
  %363 = load ptr, ptr %362, align 8, !tbaa !23
  %364 = load i64, ptr %34, align 8, !tbaa !9
  %365 = getelementptr inbounds i64, ptr %363, i64 %364
  %366 = load i64, ptr %365, align 8, !tbaa !9
  %367 = icmp sge i64 %360, %366
  br i1 %367, label %385, label %368

368:                                              ; preds = %354, %351
  %369 = load i8, ptr %19, align 1, !tbaa !11, !range !21, !noundef !22
  %370 = trunc i8 %369 to i1
  br i1 %370, label %442, label %371

371:                                              ; preds = %368
  %372 = load ptr, ptr %15, align 8, !tbaa !5
  %373 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %372, i32 0, i32 4
  %374 = load ptr, ptr %373, align 8, !tbaa !23
  %375 = load i64, ptr %34, align 8, !tbaa !9
  %376 = getelementptr inbounds i64, ptr %374, i64 %375
  %377 = load i64, ptr %376, align 8, !tbaa !9
  %378 = load ptr, ptr %16, align 8, !tbaa !5
  %379 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %378, i32 0, i32 4
  %380 = load ptr, ptr %379, align 8, !tbaa !23
  %381 = load i64, ptr %34, align 8, !tbaa !9
  %382 = getelementptr inbounds i64, ptr %380, i64 %381
  %383 = load i64, ptr %382, align 8, !tbaa !9
  %384 = icmp sge i64 %377, %383
  br i1 %384, label %385, label %442

385:                                              ; preds = %371, %354
  %386 = load ptr, ptr %17, align 8, !tbaa !5
  %387 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %386, i32 0, i32 4
  %388 = load ptr, ptr %387, align 8, !tbaa !23
  %389 = load i64, ptr %34, align 8, !tbaa !9
  %390 = getelementptr inbounds double, ptr %388, i64 %389
  %391 = load double, ptr %390, align 8, !tbaa !13
  %392 = fcmp une double %391, 0.000000e+00
  br i1 %392, label %393, label %441

393:                                              ; preds = %385
  %394 = load i8, ptr %19, align 1, !tbaa !11, !range !21, !noundef !22
  %395 = trunc i8 %394 to i1
  br i1 %395, label %396, label %410

396:                                              ; preds = %393
  %397 = load ptr, ptr %29, align 8, !tbaa !5
  %398 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %397, i32 0, i32 1
  %399 = load ptr, ptr %29, align 8, !tbaa !5
  %400 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %399, i32 0, i32 0
  %401 = load i64, ptr %400, align 8, !tbaa !27
  %402 = load ptr, ptr %16, align 8, !tbaa !5
  %403 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %402, i32 0, i32 4
  %404 = load ptr, ptr %403, align 8, !tbaa !23
  %405 = load i64, ptr %34, align 8, !tbaa !9
  %406 = getelementptr inbounds i64, ptr %404, i64 %405
  %407 = load i64, ptr %406, align 8, !tbaa !9
  %408 = load ptr, ptr %26, align 8, !tbaa !5
  %409 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef %398, i64 noundef 0, i64 noundef %401, i64 noundef %407, ptr noundef %408)
  store i64 %409, ptr %32, align 8, !tbaa !9
  br label %424

410:                                              ; preds = %393
  %411 = load ptr, ptr %29, align 8, !tbaa !5
  %412 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %411, i32 0, i32 1
  %413 = load ptr, ptr %29, align 8, !tbaa !5
  %414 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %413, i32 0, i32 0
  %415 = load i64, ptr %414, align 8, !tbaa !27
  %416 = load ptr, ptr %15, align 8, !tbaa !5
  %417 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %416, i32 0, i32 4
  %418 = load ptr, ptr %417, align 8, !tbaa !23
  %419 = load i64, ptr %34, align 8, !tbaa !9
  %420 = getelementptr inbounds i64, ptr %418, i64 %419
  %421 = load i64, ptr %420, align 8, !tbaa !9
  %422 = load ptr, ptr %26, align 8, !tbaa !5
  %423 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef %412, i64 noundef 0, i64 noundef %415, i64 noundef %421, ptr noundef %422)
  store i64 %423, ptr %32, align 8, !tbaa !9
  br label %424

424:                                              ; preds = %410, %396
  %425 = load ptr, ptr %29, align 8, !tbaa !5
  %426 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %425, i32 0, i32 3
  %427 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %426, i32 0, i32 3
  %428 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %427, i32 0, i32 4
  %429 = load ptr, ptr %428, align 8, !tbaa !23
  %430 = load i64, ptr %32, align 8, !tbaa !9
  %431 = getelementptr inbounds i64, ptr %429, i64 %430
  %432 = load i64, ptr %431, align 8, !tbaa !9
  %433 = add nsw i64 %432, 1
  %434 = load ptr, ptr %29, align 8, !tbaa !5
  %435 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %434, i32 0, i32 3
  %436 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %435, i32 0, i32 3
  %437 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %436, i32 0, i32 4
  %438 = load ptr, ptr %437, align 8, !tbaa !23
  %439 = load i64, ptr %32, align 8, !tbaa !9
  %440 = getelementptr inbounds i64, ptr %438, i64 %439
  store i64 %433, ptr %440, align 8, !tbaa !9
  br label %441

441:                                              ; preds = %424, %385
  br label %442

442:                                              ; preds = %441, %371, %368
  br label %443

443:                                              ; preds = %442
  %444 = load i64, ptr %34, align 8, !tbaa !9
  %445 = add nsw i64 %444, 1
  store i64 %445, ptr %34, align 8, !tbaa !9
  br label %346, !llvm.loop !37

446:                                              ; preds = %346
  %447 = load ptr, ptr %29, align 8, !tbaa !5
  %448 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %447, i32 0, i32 0
  %449 = load i64, ptr %448, align 8, !tbaa !27
  %450 = add nsw i64 %449, 1
  %451 = load ptr, ptr %29, align 8, !tbaa !5
  %452 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %451, i32 0, i32 3
  %453 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %452, i32 0, i32 2
  %454 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl7iallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %450, ptr noundef %453, ptr noundef %454)
  %455 = load ptr, ptr %29, align 8, !tbaa !5
  %456 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %455, i32 0, i32 3
  %457 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %456, i32 0, i32 2
  %458 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %457, i32 0, i32 4
  %459 = load ptr, ptr %458, align 8, !tbaa !23
  %460 = getelementptr inbounds i64, ptr %459, i64 0
  store i64 0, ptr %460, align 8, !tbaa !9
  store i64 0, ptr %32, align 8, !tbaa !9
  br label %461

461:                                              ; preds = %494, %446
  %462 = load i64, ptr %32, align 8, !tbaa !9
  %463 = load ptr, ptr %29, align 8, !tbaa !5
  %464 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %463, i32 0, i32 0
  %465 = load i64, ptr %464, align 8, !tbaa !27
  %466 = sub nsw i64 %465, 1
  %467 = icmp sle i64 %462, %466
  br i1 %467, label %468, label %497

468:                                              ; preds = %461
  %469 = load ptr, ptr %29, align 8, !tbaa !5
  %470 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %469, i32 0, i32 3
  %471 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %470, i32 0, i32 2
  %472 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %471, i32 0, i32 4
  %473 = load ptr, ptr %472, align 8, !tbaa !23
  %474 = load i64, ptr %32, align 8, !tbaa !9
  %475 = getelementptr inbounds i64, ptr %473, i64 %474
  %476 = load i64, ptr %475, align 8, !tbaa !9
  %477 = load ptr, ptr %29, align 8, !tbaa !5
  %478 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %477, i32 0, i32 3
  %479 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %478, i32 0, i32 3
  %480 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %479, i32 0, i32 4
  %481 = load ptr, ptr %480, align 8, !tbaa !23
  %482 = load i64, ptr %32, align 8, !tbaa !9
  %483 = getelementptr inbounds i64, ptr %481, i64 %482
  %484 = load i64, ptr %483, align 8, !tbaa !9
  %485 = add nsw i64 %476, %484
  %486 = load ptr, ptr %29, align 8, !tbaa !5
  %487 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %486, i32 0, i32 3
  %488 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %487, i32 0, i32 2
  %489 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %488, i32 0, i32 4
  %490 = load ptr, ptr %489, align 8, !tbaa !23
  %491 = load i64, ptr %32, align 8, !tbaa !9
  %492 = add nsw i64 %491, 1
  %493 = getelementptr inbounds i64, ptr %490, i64 %492
  store i64 %485, ptr %493, align 8, !tbaa !9
  br label %494

494:                                              ; preds = %468
  %495 = load i64, ptr %32, align 8, !tbaa !9
  %496 = add nsw i64 %495, 1
  store i64 %496, ptr %32, align 8, !tbaa !9
  br label %461, !llvm.loop !38

497:                                              ; preds = %461
  %498 = load ptr, ptr %29, align 8, !tbaa !5
  %499 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %498, i32 0, i32 3
  %500 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %499, i32 0, i32 2
  %501 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %500, i32 0, i32 4
  %502 = load ptr, ptr %501, align 8, !tbaa !23
  %503 = load ptr, ptr %29, align 8, !tbaa !5
  %504 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %503, i32 0, i32 0
  %505 = load i64, ptr %504, align 8, !tbaa !27
  %506 = getelementptr inbounds i64, ptr %502, i64 %505
  %507 = load i64, ptr %506, align 8, !tbaa !9
  %508 = load ptr, ptr %29, align 8, !tbaa !5
  %509 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %508, i32 0, i32 3
  %510 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %509, i32 0, i32 1
  %511 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl7iallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %507, ptr noundef %510, ptr noundef %511)
  %512 = load ptr, ptr %29, align 8, !tbaa !5
  %513 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %512, i32 0, i32 3
  %514 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %513, i32 0, i32 2
  %515 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %514, i32 0, i32 4
  %516 = load ptr, ptr %515, align 8, !tbaa !23
  %517 = load ptr, ptr %29, align 8, !tbaa !5
  %518 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %517, i32 0, i32 0
  %519 = load i64, ptr %518, align 8, !tbaa !27
  %520 = getelementptr inbounds i64, ptr %516, i64 %519
  %521 = load i64, ptr %520, align 8, !tbaa !9
  %522 = load ptr, ptr %29, align 8, !tbaa !5
  %523 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %522, i32 0, i32 3
  %524 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %523, i32 0, i32 0
  %525 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %521, ptr noundef %524, ptr noundef %525)
  %526 = load ptr, ptr %29, align 8, !tbaa !5
  %527 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %526, i32 0, i32 0
  %528 = load i64, ptr %527, align 8, !tbaa !27
  %529 = load ptr, ptr %29, align 8, !tbaa !5
  %530 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %529, i32 0, i32 3
  %531 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %530, i32 0, i32 2
  %532 = load ptr, ptr %29, align 8, !tbaa !5
  %533 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %532, i32 0, i32 3
  %534 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %533, i32 0, i32 3
  %535 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl6icopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %528, ptr noundef %531, ptr noundef %534, ptr noundef %535)
  store i64 0, ptr %34, align 8, !tbaa !9
  br label %536

536:                                              ; preds = %681, %497
  %537 = load i64, ptr %34, align 8, !tbaa !9
  %538 = load i64, ptr %18, align 8, !tbaa !9
  %539 = sub nsw i64 %538, 1
  %540 = icmp sle i64 %537, %539
  br i1 %540, label %541, label %684

541:                                              ; preds = %536
  %542 = load i8, ptr %19, align 1, !tbaa !11, !range !21, !noundef !22
  %543 = trunc i8 %542 to i1
  br i1 %543, label %544, label %558

544:                                              ; preds = %541
  %545 = load ptr, ptr %16, align 8, !tbaa !5
  %546 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %545, i32 0, i32 4
  %547 = load ptr, ptr %546, align 8, !tbaa !23
  %548 = load i64, ptr %34, align 8, !tbaa !9
  %549 = getelementptr inbounds i64, ptr %547, i64 %548
  %550 = load i64, ptr %549, align 8, !tbaa !9
  %551 = load ptr, ptr %15, align 8, !tbaa !5
  %552 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %551, i32 0, i32 4
  %553 = load ptr, ptr %552, align 8, !tbaa !23
  %554 = load i64, ptr %34, align 8, !tbaa !9
  %555 = getelementptr inbounds i64, ptr %553, i64 %554
  %556 = load i64, ptr %555, align 8, !tbaa !9
  %557 = icmp sge i64 %550, %556
  br i1 %557, label %575, label %558

558:                                              ; preds = %544, %541
  %559 = load i8, ptr %19, align 1, !tbaa !11, !range !21, !noundef !22
  %560 = trunc i8 %559 to i1
  br i1 %560, label %680, label %561

561:                                              ; preds = %558
  %562 = load ptr, ptr %15, align 8, !tbaa !5
  %563 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %562, i32 0, i32 4
  %564 = load ptr, ptr %563, align 8, !tbaa !23
  %565 = load i64, ptr %34, align 8, !tbaa !9
  %566 = getelementptr inbounds i64, ptr %564, i64 %565
  %567 = load i64, ptr %566, align 8, !tbaa !9
  %568 = load ptr, ptr %16, align 8, !tbaa !5
  %569 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %568, i32 0, i32 4
  %570 = load ptr, ptr %569, align 8, !tbaa !23
  %571 = load i64, ptr %34, align 8, !tbaa !9
  %572 = getelementptr inbounds i64, ptr %570, i64 %571
  %573 = load i64, ptr %572, align 8, !tbaa !9
  %574 = icmp sge i64 %567, %573
  br i1 %574, label %575, label %680

575:                                              ; preds = %561, %544
  %576 = load ptr, ptr %17, align 8, !tbaa !5
  %577 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %576, i32 0, i32 4
  %578 = load ptr, ptr %577, align 8, !tbaa !23
  %579 = load i64, ptr %34, align 8, !tbaa !9
  %580 = getelementptr inbounds double, ptr %578, i64 %579
  %581 = load double, ptr %580, align 8, !tbaa !13
  %582 = fcmp une double %581, 0.000000e+00
  br i1 %582, label %583, label %679

583:                                              ; preds = %575
  %584 = load i8, ptr %19, align 1, !tbaa !11, !range !21, !noundef !22
  %585 = trunc i8 %584 to i1
  br i1 %585, label %586, label %613

586:                                              ; preds = %583
  %587 = load ptr, ptr %29, align 8, !tbaa !5
  %588 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %587, i32 0, i32 1
  %589 = load ptr, ptr %29, align 8, !tbaa !5
  %590 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %589, i32 0, i32 0
  %591 = load i64, ptr %590, align 8, !tbaa !27
  %592 = load ptr, ptr %16, align 8, !tbaa !5
  %593 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %592, i32 0, i32 4
  %594 = load ptr, ptr %593, align 8, !tbaa !23
  %595 = load i64, ptr %34, align 8, !tbaa !9
  %596 = getelementptr inbounds i64, ptr %594, i64 %595
  %597 = load i64, ptr %596, align 8, !tbaa !9
  %598 = load ptr, ptr %26, align 8, !tbaa !5
  %599 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef %588, i64 noundef 0, i64 noundef %591, i64 noundef %597, ptr noundef %598)
  store i64 %599, ptr %32, align 8, !tbaa !9
  %600 = load ptr, ptr %29, align 8, !tbaa !5
  %601 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %600, i32 0, i32 1
  %602 = load ptr, ptr %29, align 8, !tbaa !5
  %603 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %602, i32 0, i32 0
  %604 = load i64, ptr %603, align 8, !tbaa !27
  %605 = load ptr, ptr %15, align 8, !tbaa !5
  %606 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %605, i32 0, i32 4
  %607 = load ptr, ptr %606, align 8, !tbaa !23
  %608 = load i64, ptr %34, align 8, !tbaa !9
  %609 = getelementptr inbounds i64, ptr %607, i64 %608
  %610 = load i64, ptr %609, align 8, !tbaa !9
  %611 = load ptr, ptr %26, align 8, !tbaa !5
  %612 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef %601, i64 noundef 0, i64 noundef %604, i64 noundef %610, ptr noundef %611)
  store i64 %612, ptr %33, align 8, !tbaa !9
  br label %640

613:                                              ; preds = %583
  %614 = load ptr, ptr %29, align 8, !tbaa !5
  %615 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %614, i32 0, i32 1
  %616 = load ptr, ptr %29, align 8, !tbaa !5
  %617 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %616, i32 0, i32 0
  %618 = load i64, ptr %617, align 8, !tbaa !27
  %619 = load ptr, ptr %15, align 8, !tbaa !5
  %620 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %619, i32 0, i32 4
  %621 = load ptr, ptr %620, align 8, !tbaa !23
  %622 = load i64, ptr %34, align 8, !tbaa !9
  %623 = getelementptr inbounds i64, ptr %621, i64 %622
  %624 = load i64, ptr %623, align 8, !tbaa !9
  %625 = load ptr, ptr %26, align 8, !tbaa !5
  %626 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef %615, i64 noundef 0, i64 noundef %618, i64 noundef %624, ptr noundef %625)
  store i64 %626, ptr %32, align 8, !tbaa !9
  %627 = load ptr, ptr %29, align 8, !tbaa !5
  %628 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %627, i32 0, i32 1
  %629 = load ptr, ptr %29, align 8, !tbaa !5
  %630 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %629, i32 0, i32 0
  %631 = load i64, ptr %630, align 8, !tbaa !27
  %632 = load ptr, ptr %16, align 8, !tbaa !5
  %633 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %632, i32 0, i32 4
  %634 = load ptr, ptr %633, align 8, !tbaa !23
  %635 = load i64, ptr %34, align 8, !tbaa !9
  %636 = getelementptr inbounds i64, ptr %634, i64 %635
  %637 = load i64, ptr %636, align 8, !tbaa !9
  %638 = load ptr, ptr %26, align 8, !tbaa !5
  %639 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef %628, i64 noundef 0, i64 noundef %631, i64 noundef %637, ptr noundef %638)
  store i64 %639, ptr %33, align 8, !tbaa !9
  br label %640

640:                                              ; preds = %613, %586
  %641 = load ptr, ptr %29, align 8, !tbaa !5
  %642 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %641, i32 0, i32 3
  %643 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %642, i32 0, i32 3
  %644 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %643, i32 0, i32 4
  %645 = load ptr, ptr %644, align 8, !tbaa !23
  %646 = load i64, ptr %32, align 8, !tbaa !9
  %647 = getelementptr inbounds i64, ptr %645, i64 %646
  %648 = load i64, ptr %647, align 8, !tbaa !9
  store i64 %648, ptr %35, align 8, !tbaa !9
  %649 = load i64, ptr %33, align 8, !tbaa !9
  %650 = load ptr, ptr %29, align 8, !tbaa !5
  %651 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %650, i32 0, i32 3
  %652 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %651, i32 0, i32 1
  %653 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %652, i32 0, i32 4
  %654 = load ptr, ptr %653, align 8, !tbaa !23
  %655 = load i64, ptr %35, align 8, !tbaa !9
  %656 = getelementptr inbounds i64, ptr %654, i64 %655
  store i64 %649, ptr %656, align 8, !tbaa !9
  %657 = load ptr, ptr %17, align 8, !tbaa !5
  %658 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %657, i32 0, i32 4
  %659 = load ptr, ptr %658, align 8, !tbaa !23
  %660 = load i64, ptr %34, align 8, !tbaa !9
  %661 = getelementptr inbounds double, ptr %659, i64 %660
  %662 = load double, ptr %661, align 8, !tbaa !13
  %663 = load ptr, ptr %29, align 8, !tbaa !5
  %664 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %663, i32 0, i32 3
  %665 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %664, i32 0, i32 0
  %666 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %665, i32 0, i32 4
  %667 = load ptr, ptr %666, align 8, !tbaa !23
  %668 = load i64, ptr %35, align 8, !tbaa !9
  %669 = getelementptr inbounds double, ptr %667, i64 %668
  store double %662, ptr %669, align 8, !tbaa !13
  %670 = load i64, ptr %35, align 8, !tbaa !9
  %671 = add nsw i64 %670, 1
  %672 = load ptr, ptr %29, align 8, !tbaa !5
  %673 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %672, i32 0, i32 3
  %674 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %673, i32 0, i32 3
  %675 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %674, i32 0, i32 4
  %676 = load ptr, ptr %675, align 8, !tbaa !23
  %677 = load i64, ptr %32, align 8, !tbaa !9
  %678 = getelementptr inbounds i64, ptr %676, i64 %677
  store i64 %671, ptr %678, align 8, !tbaa !9
  br label %679

679:                                              ; preds = %640, %575
  br label %680

680:                                              ; preds = %679, %561, %558
  br label %681

681:                                              ; preds = %680
  %682 = load i64, ptr %34, align 8, !tbaa !9
  %683 = add nsw i64 %682, 1
  store i64 %683, ptr %34, align 8, !tbaa !9
  br label %536, !llvm.loop !39

684:                                              ; preds = %536
  store i64 0, ptr %32, align 8, !tbaa !9
  br label %685

685:                                              ; preds = %714, %684
  %686 = load i64, ptr %32, align 8, !tbaa !9
  %687 = load ptr, ptr %29, align 8, !tbaa !5
  %688 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %687, i32 0, i32 0
  %689 = load i64, ptr %688, align 8, !tbaa !27
  %690 = sub nsw i64 %689, 1
  %691 = icmp sle i64 %686, %690
  br i1 %691, label %692, label %717

692:                                              ; preds = %685
  %693 = load ptr, ptr %29, align 8, !tbaa !5
  %694 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %693, i32 0, i32 3
  %695 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %694, i32 0, i32 3
  %696 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %695, i32 0, i32 4
  %697 = load ptr, ptr %696, align 8, !tbaa !23
  %698 = load i64, ptr %32, align 8, !tbaa !9
  %699 = getelementptr inbounds i64, ptr %697, i64 %698
  %700 = load i64, ptr %699, align 8, !tbaa !9
  %701 = load ptr, ptr %29, align 8, !tbaa !5
  %702 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %701, i32 0, i32 3
  %703 = getelementptr inbounds %"struct.alglib_impl::sparsematrix", ptr %702, i32 0, i32 2
  %704 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %703, i32 0, i32 4
  %705 = load ptr, ptr %704, align 8, !tbaa !23
  %706 = load i64, ptr %32, align 8, !tbaa !9
  %707 = add nsw i64 %706, 1
  %708 = getelementptr inbounds i64, ptr %705, i64 %707
  %709 = load i64, ptr %708, align 8, !tbaa !9
  %710 = icmp ne i64 %700, %709
  br i1 %710, label %711, label %713

711:                                              ; preds = %692
  %712 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.415, ptr noundef %712)
  br label %713

713:                                              ; preds = %711, %692
  br label %714

714:                                              ; preds = %713
  %715 = load i64, ptr %32, align 8, !tbaa !9
  %716 = add nsw i64 %715, 1
  store i64 %716, ptr %32, align 8, !tbaa !9
  br label %685, !llvm.loop !40

717:                                              ; preds = %685
  %718 = load ptr, ptr %29, align 8, !tbaa !5
  %719 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraint", ptr %718, i32 0, i32 3
  %720 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl22sparsecreatecrsinplaceEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef %719, ptr noundef %720)
  br label %721

721:                                              ; preds = %717, %270
  %722 = load ptr, ptr %14, align 8, !tbaa !5
  %723 = getelementptr inbounds %"struct.alglib_impl::xquadraticconstraints", ptr %722, i32 0, i32 1
  %724 = load ptr, ptr %26, align 8, !tbaa !5
  %725 = call noundef i64 @_ZN11alglib_impl28ae_obj_array_append_transferEPNS_12ae_obj_arrayEPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef %723, ptr noundef %30, ptr noundef %724)
  %726 = load ptr, ptr %26, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %726)
  store i32 0, ptr %38, align 4
  br label %727

727:                                              ; preds = %721, %171
  call void @llvm.lifetime.end.p0(i64 368, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #4
  %728 = load i32, ptr %38, align 4
  switch i32 %728, label %730 [
    i32 0, label %729
    i32 1, label %729
  ]

729:                                              ; preds = %727, %727
  ret void

730:                                              ; preds = %727
  unreachable
}

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

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

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

declare noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) #1

declare void @_ZN11alglib_impl6icopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef, ptr 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !10, i64 0}
!16 = !{!"_ZTSN11alglib_impl21xquadraticconstraintsE", !10, i64 0, !17, i64 8, !20, i64 144}
!17 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !10, i64 0, !10, i64 8, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !18, i64 56, !19, i64 104}
!18 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !19, i64 8, !12, i64 40}
!19 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !12, i64 16, !19, i64 24, !7, i64 56}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!7, !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!28, !10, i64 0}
!28 = !{!"_ZTSN11alglib_impl20xquadraticconstraintE", !10, i64 0, !20, i64 8, !20, i64 72, !29, i64 136, !14, i64 504, !14, i64 512, !12, i64 520}
!29 = !{!"_ZTSN11alglib_impl12sparsematrixE", !20, i64 0, !20, i64 64, !20, i64 128, !20, i64 192, !20, i64 256, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360}
!30 = !{!28, !12, i64 520}
!31 = !{!28, !14, i64 504}
!32 = !{!28, !14, i64 512}
!33 = distinct !{!33, !25}
!34 = distinct !{!34, !25}
!35 = !{!28, !10, i64 464}
!36 = !{!28, !10, i64 472}
!37 = distinct !{!37, !25}
!38 = distinct !{!38, !25}
!39 = distinct !{!39, !25}
!40 = distinct !{!40, !25}


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

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

@.str.414 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.415 = external hidden unnamed_addr constant [37 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 noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 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

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

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

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_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

declare void @_ZN11alglib_impl29_xquadraticconstraint_destroyEPv(ptr noundef) #1

declare noundef i64 @_ZN11alglib_impl28ae_obj_array_append_transferEPNS_12ae_obj_arrayEPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl13xqcaddqc2listEPNS_21xquadraticconstraintsEPKNS_9ae_vectorES4_S4_lbS4_S4_lddbPNS_8ae_stateE(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, i1 noundef zeroext %5, ptr nocapture noundef readonly %6, ptr nocapture noundef readonly %7, i64 noundef %8, double noundef %9, double noundef %10, i1 noundef zeroext %11, ptr noundef %12) local_unnamed_addr #3 {
  %14 = alloca %"struct.alglib_impl::ae_frame", align 8
  %15 = alloca %"struct.alglib_impl::ae_vector", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.alglib_impl::ae_smart_ptr", align 8
  %18 = alloca %"struct.alglib_impl::ae_vector", align 8
  %19 = alloca %"struct.alglib_impl::sparsematrix", align 8
  %20 = zext i1 %11 to i8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 368, ptr nonnull %19) #4
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %12, ptr noundef nonnull %14)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %15, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %17, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %18, i8 0, i64 64, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(368) %19, i8 0, i64 368, i1 false)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %15, i64 noundef 0, i64 noundef 2, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl17ae_smart_ptr_initEPNS_12ae_smart_ptrEPPvPNS_8ae_stateEb(ptr noundef nonnull %17, ptr noundef nonnull %16, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_vector_initEPNS_9ae_vectorEllPNS_8ae_stateEb(ptr noundef nonnull %18, i64 noundef 0, i64 noundef 3, ptr noundef %12, i1 noundef zeroext true)
  call void @_ZN11alglib_impl18_sparsematrix_initEPvPNS_8ae_stateEb(ptr noundef nonnull %19, ptr noundef %12, i1 noundef zeroext true)
  %21 = load i64, ptr %0, align 8, !tbaa !5
  %22 = call noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 noundef 528, ptr noundef %12)
  store ptr %22, ptr %16, align 8, !tbaa !16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(528) %22, i8 0, i64 528, i1 false)
  call void @_ZN11alglib_impl26_xquadraticconstraint_initEPvPNS_8ae_stateEb(ptr noundef %22, ptr noundef %12, i1 noundef zeroext false)
  %23 = load ptr, ptr %16, align 8, !tbaa !16
  call void @_ZN11alglib_impl19ae_smart_ptr_assignEPNS_12ae_smart_ptrEPvbblPFvS2_PKvPNS_8ae_stateEbEPFvS2_E(ptr noundef nonnull %17, ptr noundef %23, i1 noundef zeroext true, i1 noundef zeroext true, i64 noundef 528, ptr noundef nonnull @_ZN11alglib_impl31_xquadraticconstraint_init_copyEPvPKvPNS_8ae_stateEb, ptr noundef nonnull @_ZN11alglib_impl29_xquadraticconstraint_destroyEPv)
  %24 = shl nsw i64 %4, 1
  %25 = add nsw i64 %24, %8
  call void @_ZN11alglib_impl7iallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %25, ptr noundef nonnull %15, ptr noundef %12)
  %.not.not184 = icmp sgt i64 %4, 0
  br i1 %.not.not184, label %.lr.ph, label %.preheader182

.lr.ph:                                           ; preds = %13
  %26 = getelementptr inbounds i8, ptr %1, i64 56
  %27 = getelementptr inbounds i8, ptr %2, i64 56
  %28 = getelementptr inbounds i8, ptr %3, i64 56
  %29 = getelementptr inbounds i8, ptr %15, i64 56
  br label %34

.preheader182:                                    ; preds = %64, %13
  %.0.lcssa = phi i64 [ 0, %13 ], [ %.1, %64 ]
  %.not.not161187 = icmp sgt i64 %8, 0
  br i1 %.not.not161187, label %.lr.ph190, label %._crit_edge

.lr.ph190:                                        ; preds = %.preheader182
  %30 = getelementptr inbounds i8, ptr %7, i64 56
  %31 = getelementptr inbounds i8, ptr %6, i64 56
  %32 = getelementptr inbounds i8, ptr %15, i64 56
  %xtraiter = and i64 %8, 1
  %33 = icmp eq i64 %8, 1
  br i1 %33, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph190.new

.lr.ph190.new:                                    ; preds = %.lr.ph190
  %unroll_iter = and i64 %8, 9223372036854775806
  br label %66

34:                                               ; preds = %.lr.ph, %64
  %.0186 = phi i64 [ 0, %.lr.ph ], [ %.1, %64 ]
  %.0153185 = phi i64 [ 0, %.lr.ph ], [ %65, %64 ]
  br i1 %5, label %35, label %.critedge

35:                                               ; preds = %34
  %36 = load ptr, ptr %27, align 8, !tbaa !17
  %37 = getelementptr inbounds i64, ptr %36, i64 %.0153185
  %38 = load i64, ptr %37, align 8, !tbaa !18
  %39 = load ptr, ptr %26, align 8, !tbaa !17
  %40 = getelementptr inbounds i64, ptr %39, i64 %.0153185
  %41 = load i64, ptr %40, align 8, !tbaa !18
  %.not173 = icmp slt i64 %38, %41
  br i1 %.not173, label %64, label %48

.critedge:                                        ; preds = %34
  %42 = load ptr, ptr %26, align 8, !tbaa !17
  %43 = getelementptr inbounds i64, ptr %42, i64 %.0153185
  %44 = load i64, ptr %43, align 8, !tbaa !18
  %45 = load ptr, ptr %27, align 8, !tbaa !17
  %46 = getelementptr inbounds i64, ptr %45, i64 %.0153185
  %47 = load i64, ptr %46, align 8, !tbaa !18
  %.not174 = icmp slt i64 %44, %47
  br i1 %.not174, label %64, label %48

48:                                               ; preds = %.critedge, %35
  %49 = phi i64 [ %44, %.critedge ], [ %41, %35 ]
  %50 = load ptr, ptr %28, align 8, !tbaa !17
  %51 = getelementptr inbounds double, ptr %50, i64 %.0153185
  %52 = load double, ptr %51, align 8, !tbaa !19
  %53 = fcmp une double %52, 0.000000e+00
  br i1 %53, label %54, label %64

54:                                               ; preds = %48
  %55 = load ptr, ptr %29, align 8, !tbaa !17
  %56 = getelementptr inbounds i64, ptr %55, i64 %.0186
  store i64 %49, ptr %56, align 8, !tbaa !18
  %57 = load ptr, ptr %27, align 8, !tbaa !17
  %58 = getelementptr inbounds i64, ptr %57, i64 %.0153185
  %59 = load i64, ptr %58, align 8, !tbaa !18
  %60 = load ptr, ptr %29, align 8, !tbaa !17
  %61 = getelementptr i64, ptr %60, i64 %.0186
  %62 = getelementptr i8, ptr %61, i64 8
  store i64 %59, ptr %62, align 8, !tbaa !18
  %63 = add nsw i64 %.0186, 2
  br label %64

64:                                               ; preds = %35, %.critedge, %54, %48
  %.1 = phi i64 [ %63, %54 ], [ %.0186, %48 ], [ %.0186, %.critedge ], [ %.0186, %35 ]
  %65 = add nuw nsw i64 %.0153185, 1
  %exitcond.not = icmp eq i64 %65, %4
  br i1 %exitcond.not, label %.preheader182, label %34, !llvm.loop !21

66:                                               ; preds = %91, %.lr.ph190.new
  %.2189 = phi i64 [ %.0.lcssa, %.lr.ph190.new ], [ %.3.1, %91 ]
  %.1154188 = phi i64 [ 0, %.lr.ph190.new ], [ %92, %91 ]
  %niter = phi i64 [ 0, %.lr.ph190.new ], [ %niter.next.1, %91 ]
  %67 = load ptr, ptr %30, align 8, !tbaa !17
  %68 = getelementptr inbounds double, ptr %67, i64 %.1154188
  %69 = load double, ptr %68, align 8, !tbaa !19
  %70 = fcmp une double %69, 0.000000e+00
  br i1 %70, label %71, label %78

71:                                               ; preds = %66
  %72 = load ptr, ptr %31, align 8, !tbaa !17
  %73 = getelementptr inbounds i64, ptr %72, i64 %.1154188
  %74 = load i64, ptr %73, align 8, !tbaa !18
  %75 = load ptr, ptr %32, align 8, !tbaa !17
  %76 = getelementptr inbounds i64, ptr %75, i64 %.2189
  store i64 %74, ptr %76, align 8, !tbaa !18
  %77 = add nsw i64 %.2189, 1
  br label %78

78:                                               ; preds = %66, %71
  %.3 = phi i64 [ %77, %71 ], [ %.2189, %66 ]
  %79 = or disjoint i64 %.1154188, 1
  %80 = load ptr, ptr %30, align 8, !tbaa !17
  %81 = getelementptr inbounds double, ptr %80, i64 %79
  %82 = load double, ptr %81, align 8, !tbaa !19
  %83 = fcmp une double %82, 0.000000e+00
  br i1 %83, label %84, label %91

84:                                               ; preds = %78
  %85 = load ptr, ptr %31, align 8, !tbaa !17
  %86 = getelementptr inbounds i64, ptr %85, i64 %79
  %87 = load i64, ptr %86, align 8, !tbaa !18
  %88 = load ptr, ptr %32, align 8, !tbaa !17
  %89 = getelementptr inbounds i64, ptr %88, i64 %.3
  store i64 %87, ptr %89, align 8, !tbaa !18
  %90 = add nsw i64 %.3, 1
  br label %91

91:                                               ; preds = %84, %78
  %.3.1 = phi i64 [ %90, %84 ], [ %.3, %78 ]
  %92 = add nuw nsw i64 %.1154188, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %66, !llvm.loop !23

._crit_edge.loopexit.unr-lcssa:                   ; preds = %91, %.lr.ph190
  %.3.lcssa.ph = phi i64 [ poison, %.lr.ph190 ], [ %.3.1, %91 ]
  %.2189.unr = phi i64 [ %.0.lcssa, %.lr.ph190 ], [ %.3.1, %91 ]
  %.1154188.unr = phi i64 [ 0, %.lr.ph190 ], [ %92, %91 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa
  %93 = load ptr, ptr %30, align 8, !tbaa !17
  %94 = getelementptr inbounds double, ptr %93, i64 %.1154188.unr
  %95 = load double, ptr %94, align 8, !tbaa !19
  %96 = fcmp une double %95, 0.000000e+00
  br i1 %96, label %97, label %._crit_edge

97:                                               ; preds = %.epil.preheader
  %98 = load ptr, ptr %31, align 8, !tbaa !17
  %99 = getelementptr inbounds i64, ptr %98, i64 %.1154188.unr
  %100 = load i64, ptr %99, align 8, !tbaa !18
  %101 = load ptr, ptr %32, align 8, !tbaa !17
  %102 = getelementptr inbounds i64, ptr %101, i64 %.2189.unr
  store i64 %100, ptr %102, align 8, !tbaa !18
  %103 = add nsw i64 %.2189.unr, 1
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %97, %.epil.preheader, %.preheader182
  %.2.lcssa = phi i64 [ %.0.lcssa, %.preheader182 ], [ %.3.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %103, %97 ], [ %.2189.unr, %.epil.preheader ]
  %104 = icmp eq i64 %.2.lcssa, 0
  br i1 %104, label %105, label %110

105:                                              ; preds = %._crit_edge
  %106 = load ptr, ptr %16, align 8, !tbaa !16
  store i64 0, ptr %106, align 8, !tbaa !24
  %107 = getelementptr inbounds i8, ptr %106, i64 520
  store i8 %20, ptr %107, align 8, !tbaa !27
  %108 = getelementptr inbounds i8, ptr %106, i64 504
  store double %9, ptr %108, align 8, !tbaa !28
  %109 = getelementptr inbounds i8, ptr %106, i64 512
  store double %10, ptr %109, align 8, !tbaa !29
  br label %327

110:                                              ; preds = %._crit_edge
  call void @_ZN11alglib_impl14tagsortmiddleiEPNS_9ae_vectorEllPNS_8ae_stateE(ptr noundef nonnull %15, i64 noundef 0, i64 noundef %.2.lcssa, ptr noundef %12)
  %111 = getelementptr inbounds i8, ptr %15, i64 56
  %112 = load ptr, ptr %111, align 8, !tbaa !17
  %113 = load i64, ptr %112, align 8, !tbaa !18
  %114 = icmp sgt i64 %113, -1
  br i1 %114, label %115, label %120

115:                                              ; preds = %110
  %116 = getelementptr i64, ptr %112, i64 %.2.lcssa
  %117 = getelementptr i8, ptr %116, i64 -8
  %118 = load i64, ptr %117, align 8, !tbaa !18
  %119 = icmp slt i64 %118, %21
  br label %120

120:                                              ; preds = %115, %110
  %121 = phi i1 [ false, %110 ], [ %119, %115 ]
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %121, ptr noundef nonnull @.str.414, ptr noundef %12)
  %122 = load ptr, ptr %16, align 8, !tbaa !16
  store i64 0, ptr %122, align 8, !tbaa !24
  %.not.not162192 = icmp sgt i64 %.2.lcssa, 0
  br i1 %.not.not162192, label %.lr.ph195, label %._crit_edge196.thread

._crit_edge196.thread:                            ; preds = %120
  %123 = getelementptr inbounds i8, ptr %122, i64 520
  store i8 %20, ptr %123, align 8, !tbaa !27
  %124 = getelementptr inbounds i8, ptr %122, i64 504
  store double %9, ptr %124, align 8, !tbaa !28
  %125 = getelementptr inbounds i8, ptr %122, i64 512
  store double %10, ptr %125, align 8, !tbaa !29
  br label %327

.lr.ph195:                                        ; preds = %120, %151
  %126 = phi i64 [ %152, %151 ], [ 0, %120 ]
  %127 = phi ptr [ %153, %151 ], [ %122, %120 ]
  %.2155193 = phi i64 [ %154, %151 ], [ 0, %120 ]
  %128 = icmp eq i64 %126, 0
  br i1 %128, label %138, label %129

129:                                              ; preds = %.lr.ph195
  %130 = getelementptr inbounds i8, ptr %127, i64 64
  %131 = load ptr, ptr %130, align 8, !tbaa !17
  %132 = getelementptr i64, ptr %131, i64 %126
  %133 = getelementptr i8, ptr %132, i64 -8
  %134 = load i64, ptr %133, align 8, !tbaa !18
  %135 = load ptr, ptr %111, align 8, !tbaa !17
  %136 = getelementptr inbounds i64, ptr %135, i64 %.2155193
  %137 = load i64, ptr %136, align 8, !tbaa !18
  %.not172 = icmp eq i64 %134, %137
  br i1 %.not172, label %151, label %138

138:                                              ; preds = %129, %.lr.ph195
  %139 = add nsw i64 %126, 1
  %140 = getelementptr inbounds i8, ptr %127, i64 8
  call void @_ZN11alglib_impl6igrowvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %139, ptr noundef nonnull %140, ptr noundef %12)
  %141 = load ptr, ptr %111, align 8, !tbaa !17
  %142 = getelementptr inbounds i64, ptr %141, i64 %.2155193
  %143 = load i64, ptr %142, align 8, !tbaa !18
  %144 = load ptr, ptr %16, align 8, !tbaa !16
  %145 = getelementptr inbounds i8, ptr %144, i64 64
  %146 = load ptr, ptr %145, align 8, !tbaa !17
  %147 = load i64, ptr %144, align 8, !tbaa !24
  %148 = getelementptr inbounds i64, ptr %146, i64 %147
  store i64 %143, ptr %148, align 8, !tbaa !18
  %149 = load i64, ptr %144, align 8, !tbaa !24
  %150 = add nsw i64 %149, 1
  store i64 %150, ptr %144, align 8, !tbaa !24
  br label %151

151:                                              ; preds = %129, %138
  %152 = phi i64 [ %126, %129 ], [ %150, %138 ]
  %153 = phi ptr [ %127, %129 ], [ %144, %138 ]
  %154 = add nuw nsw i64 %.2155193, 1
  %exitcond228.not = icmp eq i64 %154, %.2.lcssa
  br i1 %exitcond228.not, label %._crit_edge196, label %.lr.ph195, !llvm.loop !30

._crit_edge196:                                   ; preds = %151
  %155 = getelementptr inbounds i8, ptr %153, i64 520
  store i8 %20, ptr %155, align 8, !tbaa !27
  %156 = getelementptr inbounds i8, ptr %153, i64 504
  store double %9, ptr %156, align 8, !tbaa !28
  %157 = getelementptr inbounds i8, ptr %153, i64 512
  store double %10, ptr %157, align 8, !tbaa !29
  %158 = icmp sgt i64 %152, 0
  br i1 %158, label %159, label %327

159:                                              ; preds = %._crit_edge196
  %160 = getelementptr inbounds i8, ptr %153, i64 72
  call void @_ZN11alglib_impl10rsetallocvEldPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %152, double noundef 0.000000e+00, ptr noundef nonnull %160, ptr noundef %12)
  br i1 %.not.not161187, label %.lr.ph200, label %._crit_edge201

.lr.ph200:                                        ; preds = %159
  %161 = getelementptr inbounds i8, ptr %7, i64 56
  %162 = getelementptr inbounds i8, ptr %6, i64 56
  br label %163

163:                                              ; preds = %.lr.ph200, %163
  %.3156198 = phi i64 [ 0, %.lr.ph200 ], [ %177, %163 ]
  %164 = load ptr, ptr %161, align 8, !tbaa !17
  %165 = getelementptr inbounds double, ptr %164, i64 %.3156198
  %166 = load double, ptr %165, align 8, !tbaa !19
  %167 = load ptr, ptr %16, align 8, !tbaa !16
  %168 = getelementptr inbounds i8, ptr %167, i64 128
  %169 = load ptr, ptr %168, align 8, !tbaa !17
  %170 = getelementptr inbounds i8, ptr %167, i64 8
  %171 = load i64, ptr %167, align 8, !tbaa !24
  %172 = load ptr, ptr %162, align 8, !tbaa !17
  %173 = getelementptr inbounds i64, ptr %172, i64 %.3156198
  %174 = load i64, ptr %173, align 8, !tbaa !18
  %175 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef nonnull %170, i64 noundef 0, i64 noundef %171, i64 noundef %174, ptr noundef %12)
  %176 = getelementptr inbounds double, ptr %169, i64 %175
  store double %166, ptr %176, align 8, !tbaa !19
  %177 = add nuw nsw i64 %.3156198, 1
  %exitcond229.not = icmp eq i64 %177, %8
  br i1 %exitcond229.not, label %._crit_edge201, label %163, !llvm.loop !31

._crit_edge201:                                   ; preds = %163, %159
  %178 = load ptr, ptr %16, align 8, !tbaa !16
  %179 = load i64, ptr %178, align 8, !tbaa !24
  %180 = getelementptr inbounds i8, ptr %178, i64 464
  store i64 %179, ptr %180, align 8, !tbaa !32
  %181 = getelementptr inbounds i8, ptr %178, i64 472
  store i64 %179, ptr %181, align 8, !tbaa !33
  %182 = getelementptr inbounds i8, ptr %178, i64 328
  call void @_ZN11alglib_impl10isetallocvEllPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %179, i64 noundef 0, ptr noundef nonnull %182, ptr noundef %12)
  br i1 %.not.not184, label %.lr.ph206, label %._crit_edge207

.lr.ph206:                                        ; preds = %._crit_edge201
  %183 = getelementptr inbounds i8, ptr %1, i64 56
  %184 = getelementptr inbounds i8, ptr %2, i64 56
  %185 = getelementptr inbounds i8, ptr %3, i64 56
  br label %186

186:                                              ; preds = %.lr.ph206, %218
  %.0150203 = phi i64 [ 0, %.lr.ph206 ], [ %219, %218 ]
  br i1 %5, label %187, label %.critedge176

187:                                              ; preds = %186
  %188 = load ptr, ptr %184, align 8, !tbaa !17
  %189 = getelementptr inbounds i64, ptr %188, i64 %.0150203
  %190 = load i64, ptr %189, align 8, !tbaa !18
  %191 = load ptr, ptr %183, align 8, !tbaa !17
  %192 = getelementptr inbounds i64, ptr %191, i64 %.0150203
  %193 = load i64, ptr %192, align 8, !tbaa !18
  %.not170 = icmp slt i64 %190, %193
  br i1 %.not170, label %218, label %200

.critedge176:                                     ; preds = %186
  %194 = load ptr, ptr %183, align 8, !tbaa !17
  %195 = getelementptr inbounds i64, ptr %194, i64 %.0150203
  %196 = load i64, ptr %195, align 8, !tbaa !18
  %197 = load ptr, ptr %184, align 8, !tbaa !17
  %198 = getelementptr inbounds i64, ptr %197, i64 %.0150203
  %199 = load i64, ptr %198, align 8, !tbaa !18
  %.not171 = icmp slt i64 %196, %199
  br i1 %.not171, label %218, label %.thread

200:                                              ; preds = %187
  %201 = load ptr, ptr %185, align 8, !tbaa !17
  %202 = getelementptr inbounds double, ptr %201, i64 %.0150203
  %203 = load double, ptr %202, align 8, !tbaa !19
  %204 = fcmp une double %203, 0.000000e+00
  br i1 %204, label %.thread179, label %218

.thread:                                          ; preds = %.critedge176
  %205 = load ptr, ptr %185, align 8, !tbaa !17
  %206 = getelementptr inbounds double, ptr %205, i64 %.0150203
  %207 = load double, ptr %206, align 8, !tbaa !19
  %208 = fcmp une double %207, 0.000000e+00
  br i1 %208, label %.thread179, label %218

.thread179:                                       ; preds = %.thread, %200
  %.sink238 = phi i64 [ %190, %200 ], [ %196, %.thread ]
  %.sink240 = load ptr, ptr %16, align 8, !tbaa !16
  %209 = getelementptr inbounds i8, ptr %.sink240, i64 8
  %210 = load i64, ptr %.sink240, align 8, !tbaa !24
  %211 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef nonnull %209, i64 noundef 0, i64 noundef %210, i64 noundef %.sink238, ptr noundef %12)
  %212 = load ptr, ptr %16, align 8, !tbaa !16
  %213 = getelementptr inbounds i8, ptr %212, i64 384
  %214 = load ptr, ptr %213, align 8, !tbaa !17
  %215 = getelementptr inbounds i64, ptr %214, i64 %211
  %216 = load i64, ptr %215, align 8, !tbaa !18
  %217 = add nsw i64 %216, 1
  store i64 %217, ptr %215, align 8, !tbaa !18
  br label %218

218:                                              ; preds = %.thread, %187, %.critedge176, %.thread179, %200
  %219 = add nuw nsw i64 %.0150203, 1
  %exitcond230.not = icmp eq i64 %219, %4
  br i1 %exitcond230.not, label %._crit_edge207, label %186, !llvm.loop !34

._crit_edge207:                                   ; preds = %218, %._crit_edge201
  %220 = load ptr, ptr %16, align 8, !tbaa !16
  %221 = load i64, ptr %220, align 8, !tbaa !24
  %222 = add nsw i64 %221, 1
  %223 = getelementptr inbounds i8, ptr %220, i64 264
  call void @_ZN11alglib_impl7iallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %222, ptr noundef nonnull %223, ptr noundef %12)
  %224 = load ptr, ptr %16, align 8, !tbaa !16
  %225 = getelementptr inbounds i8, ptr %224, i64 320
  %226 = load ptr, ptr %225, align 8, !tbaa !17
  store i64 0, ptr %226, align 8, !tbaa !18
  %227 = load i64, ptr %224, align 8, !tbaa !24
  %.not.not165208 = icmp sgt i64 %227, 0
  br i1 %.not.not165208, label %.lr.ph211, label %._crit_edge212

.lr.ph211:                                        ; preds = %._crit_edge207
  %228 = getelementptr inbounds i8, ptr %224, i64 384
  br label %229

229:                                              ; preds = %.lr.ph211, %229
  %.5209 = phi i64 [ 0, %.lr.ph211 ], [ %237, %229 ]
  %230 = load ptr, ptr %225, align 8, !tbaa !17
  %231 = getelementptr inbounds i64, ptr %230, i64 %.5209
  %232 = load i64, ptr %231, align 8, !tbaa !18
  %233 = load ptr, ptr %228, align 8, !tbaa !17
  %234 = getelementptr inbounds i64, ptr %233, i64 %.5209
  %235 = load i64, ptr %234, align 8, !tbaa !18
  %236 = add nsw i64 %235, %232
  %237 = add nuw nsw i64 %.5209, 1
  %238 = getelementptr inbounds i64, ptr %230, i64 %237
  store i64 %236, ptr %238, align 8, !tbaa !18
  %239 = load i64, ptr %224, align 8, !tbaa !24
  %.not.not165 = icmp slt i64 %237, %239
  br i1 %.not.not165, label %229, label %._crit_edge212, !llvm.loop !35

._crit_edge212:                                   ; preds = %229, %._crit_edge207
  %.lcssa183 = phi i64 [ %227, %._crit_edge207 ], [ %239, %229 ]
  %240 = load ptr, ptr %225, align 8, !tbaa !17
  %241 = getelementptr inbounds i64, ptr %240, i64 %.lcssa183
  %242 = load i64, ptr %241, align 8, !tbaa !18
  %243 = getelementptr inbounds i8, ptr %224, i64 200
  call void @_ZN11alglib_impl7iallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %242, ptr noundef nonnull %243, ptr noundef %12)
  %244 = load ptr, ptr %16, align 8, !tbaa !16
  %245 = getelementptr inbounds i8, ptr %244, i64 136
  %246 = getelementptr inbounds i8, ptr %244, i64 320
  %247 = load ptr, ptr %246, align 8, !tbaa !17
  %248 = load i64, ptr %244, align 8, !tbaa !24
  %249 = getelementptr inbounds i64, ptr %247, i64 %248
  %250 = load i64, ptr %249, align 8, !tbaa !18
  call void @_ZN11alglib_impl7rallocvElPNS_9ae_vectorEPNS_8ae_stateE(i64 noundef %250, ptr noundef nonnull %245, ptr noundef %12)
  %251 = load ptr, ptr %16, align 8, !tbaa !16
  %252 = load i64, ptr %251, align 8, !tbaa !24
  %253 = getelementptr inbounds i8, ptr %251, i64 264
  %254 = getelementptr inbounds i8, ptr %251, i64 328
  call void @_ZN11alglib_impl6icopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef %252, ptr noundef nonnull %253, ptr noundef nonnull %254, ptr noundef %12)
  br i1 %.not.not184, label %.lr.ph219, label %.preheader

.lr.ph219:                                        ; preds = %._crit_edge212
  %255 = getelementptr inbounds i8, ptr %1, i64 56
  %256 = getelementptr inbounds i8, ptr %2, i64 56
  %257 = getelementptr inbounds i8, ptr %3, i64 56
  br label %260

.preheader:                                       ; preds = %309, %._crit_edge212
  %258 = load ptr, ptr %16, align 8, !tbaa !16
  %259 = load i64, ptr %258, align 8, !tbaa !24
  %.not.not167220 = icmp sgt i64 %259, 0
  br i1 %.not.not167220, label %.lr.ph222, label %._crit_edge223

260:                                              ; preds = %.lr.ph219, %309
  %.1151215 = phi i64 [ 0, %.lr.ph219 ], [ %310, %309 ]
  br i1 %5, label %261, label %.critedge178

261:                                              ; preds = %260
  %262 = load ptr, ptr %256, align 8, !tbaa !17
  %263 = getelementptr inbounds i64, ptr %262, i64 %.1151215
  %264 = load i64, ptr %263, align 8, !tbaa !18
  %265 = load ptr, ptr %255, align 8, !tbaa !17
  %266 = getelementptr inbounds i64, ptr %265, i64 %.1151215
  %267 = load i64, ptr %266, align 8, !tbaa !18
  %.not168 = icmp slt i64 %264, %267
  br i1 %.not168, label %309, label %274

.critedge178:                                     ; preds = %260
  %268 = load ptr, ptr %255, align 8, !tbaa !17
  %269 = getelementptr inbounds i64, ptr %268, i64 %.1151215
  %270 = load i64, ptr %269, align 8, !tbaa !18
  %271 = load ptr, ptr %256, align 8, !tbaa !17
  %272 = getelementptr inbounds i64, ptr %271, i64 %.1151215
  %273 = load i64, ptr %272, align 8, !tbaa !18
  %.not169 = icmp slt i64 %270, %273
  br i1 %.not169, label %309, label %.thread180

274:                                              ; preds = %261
  %275 = load ptr, ptr %257, align 8, !tbaa !17
  %276 = getelementptr inbounds double, ptr %275, i64 %.1151215
  %277 = load double, ptr %276, align 8, !tbaa !19
  %278 = fcmp une double %277, 0.000000e+00
  br i1 %278, label %.thread181, label %309

.thread180:                                       ; preds = %.critedge178
  %279 = load ptr, ptr %257, align 8, !tbaa !17
  %280 = getelementptr inbounds double, ptr %279, i64 %.1151215
  %281 = load double, ptr %280, align 8, !tbaa !19
  %282 = fcmp une double %281, 0.000000e+00
  br i1 %282, label %.thread181, label %309

.thread181:                                       ; preds = %.thread180, %274
  %.sink253 = phi i64 [ %264, %274 ], [ %270, %.thread180 ]
  %.sink245 = phi ptr [ %255, %274 ], [ %256, %.thread180 ]
  %.sink255 = load ptr, ptr %16, align 8, !tbaa !16
  %283 = getelementptr inbounds i8, ptr %.sink255, i64 8
  %284 = load i64, ptr %.sink255, align 8, !tbaa !24
  %285 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef nonnull %283, i64 noundef 0, i64 noundef %284, i64 noundef %.sink253, ptr noundef %12)
  %.sink247 = load ptr, ptr %16, align 8, !tbaa !16
  %286 = getelementptr inbounds i8, ptr %.sink247, i64 8
  %287 = load i64, ptr %.sink247, align 8, !tbaa !24
  %288 = load ptr, ptr %.sink245, align 8, !tbaa !17
  %289 = getelementptr inbounds i64, ptr %288, i64 %.1151215
  %290 = load i64, ptr %289, align 8, !tbaa !18
  %291 = call noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef nonnull %286, i64 noundef 0, i64 noundef %287, i64 noundef %290, ptr noundef %12)
  %292 = load ptr, ptr %16, align 8, !tbaa !16
  %293 = getelementptr inbounds i8, ptr %292, i64 384
  %294 = load ptr, ptr %293, align 8, !tbaa !17
  %295 = getelementptr inbounds i64, ptr %294, i64 %285
  %296 = load i64, ptr %295, align 8, !tbaa !18
  %297 = getelementptr inbounds i8, ptr %292, i64 256
  %298 = load ptr, ptr %297, align 8, !tbaa !17
  %299 = getelementptr inbounds i64, ptr %298, i64 %296
  store i64 %291, ptr %299, align 8, !tbaa !18
  %300 = load ptr, ptr %257, align 8, !tbaa !17
  %301 = getelementptr inbounds double, ptr %300, i64 %.1151215
  %302 = load double, ptr %301, align 8, !tbaa !19
  %303 = getelementptr inbounds i8, ptr %292, i64 192
  %304 = load ptr, ptr %303, align 8, !tbaa !17
  %305 = getelementptr inbounds double, ptr %304, i64 %296
  store double %302, ptr %305, align 8, !tbaa !19
  %306 = add nsw i64 %296, 1
  %307 = load ptr, ptr %293, align 8, !tbaa !17
  %308 = getelementptr inbounds i64, ptr %307, i64 %285
  store i64 %306, ptr %308, align 8, !tbaa !18
  br label %309

309:                                              ; preds = %.thread180, %261, %.critedge178, %.thread181, %274
  %310 = add nuw nsw i64 %.1151215, 1
  %exitcond231.not = icmp eq i64 %310, %4
  br i1 %exitcond231.not, label %.preheader, label %260, !llvm.loop !36

.lr.ph222:                                        ; preds = %.preheader, %323
  %311 = phi i64 [ %324, %323 ], [ %259, %.preheader ]
  %312 = phi ptr [ %325, %323 ], [ %258, %.preheader ]
  %.7221 = phi i64 [ %319, %323 ], [ 0, %.preheader ]
  %313 = getelementptr inbounds i8, ptr %312, i64 384
  %314 = load ptr, ptr %313, align 8, !tbaa !17
  %315 = getelementptr inbounds i64, ptr %314, i64 %.7221
  %316 = load i64, ptr %315, align 8, !tbaa !18
  %317 = getelementptr inbounds i8, ptr %312, i64 320
  %318 = load ptr, ptr %317, align 8, !tbaa !17
  %319 = add nuw nsw i64 %.7221, 1
  %320 = getelementptr inbounds i64, ptr %318, i64 %319
  %321 = load i64, ptr %320, align 8, !tbaa !18
  %.not = icmp eq i64 %316, %321
  br i1 %.not, label %323, label %322

322:                                              ; preds = %.lr.ph222
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.415, ptr noundef %12)
  %.pre = load ptr, ptr %16, align 8, !tbaa !16
  %.pre232 = load i64, ptr %.pre, align 8, !tbaa !24
  br label %323

323:                                              ; preds = %.lr.ph222, %322
  %324 = phi i64 [ %311, %.lr.ph222 ], [ %.pre232, %322 ]
  %325 = phi ptr [ %312, %.lr.ph222 ], [ %.pre, %322 ]
  %.not.not167 = icmp slt i64 %319, %324
  br i1 %.not.not167, label %.lr.ph222, label %._crit_edge223, !llvm.loop !37

._crit_edge223:                                   ; preds = %323, %.preheader
  %.lcssa = phi ptr [ %258, %.preheader ], [ %325, %323 ]
  %326 = getelementptr inbounds i8, ptr %.lcssa, i64 136
  call void @_ZN11alglib_impl22sparsecreatecrsinplaceEPNS_12sparsematrixEPNS_8ae_stateE(ptr noundef nonnull %326, ptr noundef %12)
  br label %327

327:                                              ; preds = %._crit_edge196, %._crit_edge223, %._crit_edge196.thread, %105
  %328 = getelementptr inbounds i8, ptr %0, i64 8
  %329 = call noundef i64 @_ZN11alglib_impl28ae_obj_array_append_transferEPNS_12ae_obj_arrayEPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef nonnull %328, ptr noundef nonnull %17, ptr noundef %12)
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %12)
  call void @llvm.lifetime.end.p0(i64 368, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #4
  ret void
}

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

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

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

declare noundef i64 @_ZN11alglib_impl21ibinarysearchexistingEPKNS_9ae_vectorElllPNS_8ae_stateE(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1

declare void @_ZN11alglib_impl6icopyvElPKNS_9ae_vectorEPS0_PNS_8ae_stateE(i64 noundef, ptr 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !7, i64 0}
!6 = !{!"_ZTSN11alglib_impl21xquadraticconstraintsE", !7, i64 0, !10, i64 8, !15, i64 144}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !7, i64 0, !7, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !14, i64 104}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"_ZTSN11alglib_impl7ae_lockE", !12, i64 0, !14, i64 8, !11, i64 40}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!15 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !11, i64 16, !14, i64 24, !8, i64 56}
!16 = !{!12, !12, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"double", !8, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!25, !7, i64 0}
!25 = !{!"_ZTSN11alglib_impl20xquadraticconstraintE", !7, i64 0, !15, i64 8, !15, i64 72, !26, i64 136, !20, i64 504, !20, i64 512, !11, i64 520}
!26 = !{!"_ZTSN11alglib_impl12sparsematrixE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !15, i64 256, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360}
!27 = !{!25, !11, i64 520}
!28 = !{!25, !20, i64 504}
!29 = !{!25, !20, i64 512}
!30 = distinct !{!30, !22}
!31 = distinct !{!31, !22}
!32 = !{!25, !7, i64 464}
!33 = !{!25, !7, i64 472}
!34 = distinct !{!34, !22}
!35 = distinct !{!35, !22}
!36 = distinct !{!36, !22}
!37 = distinct !{!37, !22}


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