; LLVM IR from venumb/ZSPACE :: cpp/depends/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::dualsimplexsettings" = type { double, double, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::dualsimplexbasis" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i8, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"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", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, double, %"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", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sluv2buffer", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::sluv2buffer" = type { i64, %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sluv2list1matrix", %"struct.alglib_impl::sluv2list1matrix", %"struct.alglib_impl::sluv2sparsetrail", %"struct.alglib_impl::sluv2densetrail", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"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", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::sluv2list1matrix" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64 }
%"struct.alglib_impl::sluv2sparsetrail" = type { i64, i64, %"struct.alglib_impl::ae_vector", i64, i64, i64, %"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", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::sluv2densetrail" = type { i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector" }
%"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::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::minlpstate" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::sparsematrix", %"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", double, double, double, i64, i64, %"struct.alglib_impl::dualsimplexstate", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::dualsimplexstate" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::dualsimplexbasis", %"struct.alglib_impl::dualsimplexsubproblem", %"struct.alglib_impl::dualsimplexsubproblem", %"struct.alglib_impl::dualsimplexsubproblem", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, double, i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", i64, %"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", %"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", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::dualsimplexsubproblem" = type { i64, i64, %"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", %"struct.alglib_impl::ae_vector", i64, %"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", %"struct.alglib_impl::ae_vector" }

@.str.339 = external hidden unnamed_addr constant [55 x i8], align 1
@_ZN11alglib_implL22minlp_alllogicalsbasisE = external hidden global i64, align 8

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

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

; 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) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl13minlpoptimizeEPNS_10minlpstateEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.alglib_impl::ae_frame", align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"struct.alglib_impl::dualsimplexsettings", align 8
  %10 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %11 = alloca %"struct.alglib_impl::dualsimplexbasis", align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 6272, ptr %11) #5
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %13, ptr noundef %5)
  call void @llvm.memset.p0.i64(ptr align 8 %9, i8 0, i64 56, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 6272, i1 false)
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl25_dualsimplexsettings_initEPvPNS_8ae_stateEb(ptr noundef %9, ptr noundef %14, i1 noundef zeroext true)
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef %10, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %15, i1 noundef zeroext true)
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl22_dualsimplexbasis_initEPvPNS_8ae_stateEb(ptr noundef %11, ptr noundef %16, i1 noundef zeroext true)
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %17, i32 0, i32 0
  %19 = load i64, ptr %18, align 8, !tbaa !9
  store i64 %19, ptr %6, align 8, !tbaa !25
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %20, i32 0, i32 6
  %22 = load i64, ptr %21, align 8, !tbaa !26
  store i64 %22, ptr %7, align 8, !tbaa !25
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_implL23minlp_clearreportfieldsEPNS_10minlpstateEPNS_8ae_stateE(ptr noundef %23, ptr noundef %24)
  store i64 0, ptr %8, align 8, !tbaa !25
  br label %25

25:                                               ; preds = %51, %2
  %26 = load i64, ptr %8, align 8, !tbaa !25
  %27 = load i64, ptr %6, align 8, !tbaa !25
  %28 = sub nsw i64 %27, 1
  %29 = icmp sle i64 %26, %28
  br i1 %29, label %30, label %54

30:                                               ; preds = %25
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %31, i32 0, i32 4
  %33 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %32, i32 0, i32 4
  %34 = load ptr, ptr %33, align 8, !tbaa !27
  %35 = load i64, ptr %8, align 8, !tbaa !25
  %36 = getelementptr inbounds double, ptr %34, i64 %35
  %37 = load double, ptr %36, align 8, !tbaa !28
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %38, i32 0, i32 5
  %40 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %39, i32 0, i32 4
  %41 = load ptr, ptr %40, align 8, !tbaa !27
  %42 = load i64, ptr %8, align 8, !tbaa !25
  %43 = getelementptr inbounds double, ptr %41, i64 %42
  %44 = load double, ptr %43, align 8, !tbaa !28
  %45 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %37, double noundef %44)
  br i1 %45, label %46, label %50

46:                                               ; preds = %30
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %47, i32 0, i32 17
  store i64 -3, ptr %48, align 8, !tbaa !29
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %49)
  store i32 1, ptr %12, align 4
  br label %239

50:                                               ; preds = %30
  br label %51

51:                                               ; preds = %50
  %52 = load i64, ptr %8, align 8, !tbaa !25
  %53 = add nsw i64 %52, 1
  store i64 %53, ptr %8, align 8, !tbaa !25
  br label %25, !llvm.loop !30

54:                                               ; preds = %25
  store i64 0, ptr %8, align 8, !tbaa !25
  br label %55

55:                                               ; preds = %81, %54
  %56 = load i64, ptr %8, align 8, !tbaa !25
  %57 = load i64, ptr %7, align 8, !tbaa !25
  %58 = sub nsw i64 %57, 1
  %59 = icmp sle i64 %56, %58
  br i1 %59, label %60, label %84

60:                                               ; preds = %55
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %61, i32 0, i32 8
  %63 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %62, i32 0, i32 4
  %64 = load ptr, ptr %63, align 8, !tbaa !27
  %65 = load i64, ptr %8, align 8, !tbaa !25
  %66 = getelementptr inbounds double, ptr %64, i64 %65
  %67 = load double, ptr %66, align 8, !tbaa !28
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %68, i32 0, i32 9
  %70 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %69, i32 0, i32 4
  %71 = load ptr, ptr %70, align 8, !tbaa !27
  %72 = load i64, ptr %8, align 8, !tbaa !25
  %73 = getelementptr inbounds double, ptr %71, i64 %72
  %74 = load double, ptr %73, align 8, !tbaa !28
  %75 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %67, double noundef %74)
  br i1 %75, label %76, label %80

76:                                               ; preds = %60
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %77, i32 0, i32 17
  store i64 -3, ptr %78, align 8, !tbaa !29
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %79)
  store i32 1, ptr %12, align 4
  br label %239

80:                                               ; preds = %60
  br label %81

81:                                               ; preds = %80
  %82 = load i64, ptr %8, align 8, !tbaa !25
  %83 = add nsw i64 %82, 1
  store i64 %83, ptr %8, align 8, !tbaa !25
  br label %55, !llvm.loop !32

84:                                               ; preds = %55
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %85, i32 0, i32 1
  %87 = load i64, ptr %86, align 8, !tbaa !33
  %88 = icmp eq i64 %87, 1
  br i1 %88, label %89, label %236

89:                                               ; preds = %84
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl15dsssettingsinitEPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef %9, ptr noundef %90)
  %91 = load i64, ptr %6, align 8, !tbaa !25
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %92, i32 0, i32 18
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl7dssinitElPNS_16dualsimplexstateEPNS_8ae_stateE(i64 noundef %91, ptr noundef %93, ptr noundef %94)
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %95, i32 0, i32 18
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %97, i32 0, i32 3
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %99, i32 0, i32 4
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %101, i32 0, i32 5
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %103, i32 0, i32 2
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %105, i32 0, i32 7
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %107, i32 0, i32 8
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %109, i32 0, i32 9
  %111 = load i64, ptr %7, align 8, !tbaa !25
  %112 = load i64, ptr @_ZN11alglib_implL22minlp_alllogicalsbasisE, align 8, !tbaa !25
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl13dsssetproblemEPNS_16dualsimplexstateEPNS_9ae_vectorES3_S3_S3_PNS_9ae_matrixEPNS_12sparsematrixElS3_S3_lPNS_16dualsimplexbasisElPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef %96, ptr noundef %98, ptr noundef %100, ptr noundef %102, ptr noundef %104, ptr noundef %10, ptr noundef %106, i64 noundef 1, ptr noundef %108, ptr noundef %110, i64 noundef %111, ptr noundef %11, i64 noundef %112, ptr noundef %9, ptr noundef %113)
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %114, i32 0, i32 18
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl11dssoptimizeEPNS_16dualsimplexstateEPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef %115, ptr noundef %9, ptr noundef %116)
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %117, i32 0, i32 10
  %119 = load i64, ptr %6, align 8, !tbaa !25
  %120 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %118, i64 noundef %119, ptr noundef %120)
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %121, i32 0, i32 11
  %123 = load i64, ptr %7, align 8, !tbaa !25
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %122, i64 noundef %123, ptr noundef %124)
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %125, i32 0, i32 12
  %127 = load i64, ptr %6, align 8, !tbaa !25
  %128 = load i64, ptr %7, align 8, !tbaa !25
  %129 = add nsw i64 %127, %128
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef %126, i64 noundef %129, ptr noundef %130)
  store i64 0, ptr %8, align 8, !tbaa !25
  br label %131

131:                                              ; preds = %151, %89
  %132 = load i64, ptr %8, align 8, !tbaa !25
  %133 = load i64, ptr %6, align 8, !tbaa !25
  %134 = sub nsw i64 %133, 1
  %135 = icmp sle i64 %132, %134
  br i1 %135, label %136, label %154

136:                                              ; preds = %131
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %137, i32 0, i32 18
  %139 = getelementptr inbounds %"struct.alglib_impl::dualsimplexstate", ptr %138, i32 0, i32 12
  %140 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %139, i32 0, i32 4
  %141 = load ptr, ptr %140, align 8, !tbaa !27
  %142 = load i64, ptr %8, align 8, !tbaa !25
  %143 = getelementptr inbounds double, ptr %141, i64 %142
  %144 = load double, ptr %143, align 8, !tbaa !28
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %145, i32 0, i32 10
  %147 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %146, i32 0, i32 4
  %148 = load ptr, ptr %147, align 8, !tbaa !27
  %149 = load i64, ptr %8, align 8, !tbaa !25
  %150 = getelementptr inbounds double, ptr %148, i64 %149
  store double %144, ptr %150, align 8, !tbaa !28
  br label %151

151:                                              ; preds = %136
  %152 = load i64, ptr %8, align 8, !tbaa !25
  %153 = add nsw i64 %152, 1
  store i64 %153, ptr %8, align 8, !tbaa !25
  br label %131, !llvm.loop !34

154:                                              ; preds = %131
  store i64 0, ptr %8, align 8, !tbaa !25
  br label %155

155:                                              ; preds = %175, %154
  %156 = load i64, ptr %8, align 8, !tbaa !25
  %157 = load i64, ptr %7, align 8, !tbaa !25
  %158 = sub nsw i64 %157, 1
  %159 = icmp sle i64 %156, %158
  br i1 %159, label %160, label %178

160:                                              ; preds = %155
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %161, i32 0, i32 18
  %163 = getelementptr inbounds %"struct.alglib_impl::dualsimplexstate", ptr %162, i32 0, i32 13
  %164 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %163, i32 0, i32 4
  %165 = load ptr, ptr %164, align 8, !tbaa !27
  %166 = load i64, ptr %8, align 8, !tbaa !25
  %167 = getelementptr inbounds double, ptr %165, i64 %166
  %168 = load double, ptr %167, align 8, !tbaa !28
  %169 = load ptr, ptr %3, align 8, !tbaa !5
  %170 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %169, i32 0, i32 11
  %171 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %170, i32 0, i32 4
  %172 = load ptr, ptr %171, align 8, !tbaa !27
  %173 = load i64, ptr %8, align 8, !tbaa !25
  %174 = getelementptr inbounds double, ptr %172, i64 %173
  store double %168, ptr %174, align 8, !tbaa !28
  br label %175

175:                                              ; preds = %160
  %176 = load i64, ptr %8, align 8, !tbaa !25
  %177 = add nsw i64 %176, 1
  store i64 %177, ptr %8, align 8, !tbaa !25
  br label %155, !llvm.loop !35

178:                                              ; preds = %155
  store i64 0, ptr %8, align 8, !tbaa !25
  br label %179

179:                                              ; preds = %201, %178
  %180 = load i64, ptr %8, align 8, !tbaa !25
  %181 = load i64, ptr %6, align 8, !tbaa !25
  %182 = load i64, ptr %7, align 8, !tbaa !25
  %183 = add nsw i64 %181, %182
  %184 = sub nsw i64 %183, 1
  %185 = icmp sle i64 %180, %184
  br i1 %185, label %186, label %204

186:                                              ; preds = %179
  %187 = load ptr, ptr %3, align 8, !tbaa !5
  %188 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %187, i32 0, i32 18
  %189 = getelementptr inbounds %"struct.alglib_impl::dualsimplexstate", ptr %188, i32 0, i32 15
  %190 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %189, i32 0, i32 4
  %191 = load ptr, ptr %190, align 8, !tbaa !27
  %192 = load i64, ptr %8, align 8, !tbaa !25
  %193 = getelementptr inbounds i64, ptr %191, i64 %192
  %194 = load i64, ptr %193, align 8, !tbaa !25
  %195 = load ptr, ptr %3, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %195, i32 0, i32 12
  %197 = getelementptr inbounds %"struct.alglib_impl::ae_vector", ptr %196, i32 0, i32 4
  %198 = load ptr, ptr %197, align 8, !tbaa !27
  %199 = load i64, ptr %8, align 8, !tbaa !25
  %200 = getelementptr inbounds i64, ptr %198, i64 %199
  store i64 %194, ptr %200, align 8, !tbaa !25
  br label %201

201:                                              ; preds = %186
  %202 = load i64, ptr %8, align 8, !tbaa !25
  %203 = add nsw i64 %202, 1
  store i64 %203, ptr %8, align 8, !tbaa !25
  br label %179, !llvm.loop !36

204:                                              ; preds = %179
  %205 = load ptr, ptr %3, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %205, i32 0, i32 18
  %207 = getelementptr inbounds %"struct.alglib_impl::dualsimplexstate", ptr %206, i32 0, i32 16
  %208 = load double, ptr %207, align 8, !tbaa !37
  %209 = load ptr, ptr %3, align 8, !tbaa !5
  %210 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %209, i32 0, i32 13
  store double %208, ptr %210, align 8, !tbaa !38
  %211 = load ptr, ptr %3, align 8, !tbaa !5
  %212 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %211, i32 0, i32 18
  %213 = getelementptr inbounds %"struct.alglib_impl::dualsimplexstate", ptr %212, i32 0, i32 17
  %214 = load double, ptr %213, align 8, !tbaa !39
  %215 = load ptr, ptr %3, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %215, i32 0, i32 14
  store double %214, ptr %216, align 8, !tbaa !40
  %217 = load ptr, ptr %3, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %217, i32 0, i32 18
  %219 = getelementptr inbounds %"struct.alglib_impl::dualsimplexstate", ptr %218, i32 0, i32 18
  %220 = load double, ptr %219, align 8, !tbaa !41
  %221 = load ptr, ptr %3, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %221, i32 0, i32 15
  store double %220, ptr %222, align 8, !tbaa !42
  %223 = load ptr, ptr %3, align 8, !tbaa !5
  %224 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %223, i32 0, i32 18
  %225 = getelementptr inbounds %"struct.alglib_impl::dualsimplexstate", ptr %224, i32 0, i32 20
  %226 = load i64, ptr %225, align 8, !tbaa !43
  %227 = load ptr, ptr %3, align 8, !tbaa !5
  %228 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %227, i32 0, i32 16
  store i64 %226, ptr %228, align 8, !tbaa !44
  %229 = load ptr, ptr %3, align 8, !tbaa !5
  %230 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %229, i32 0, i32 18
  %231 = getelementptr inbounds %"struct.alglib_impl::dualsimplexstate", ptr %230, i32 0, i32 19
  %232 = load i64, ptr %231, align 8, !tbaa !45
  %233 = load ptr, ptr %3, align 8, !tbaa !5
  %234 = getelementptr inbounds %"struct.alglib_impl::minlpstate", ptr %233, i32 0, i32 17
  store i64 %232, ptr %234, align 8, !tbaa !29
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %235)
  store i32 1, ptr %12, align 4
  br label %239

236:                                              ; preds = %84
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.339, ptr noundef %237)
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %238)
  store i32 0, ptr %12, align 4
  br label %239

239:                                              ; preds = %236, %204, %76, %46
  call void @llvm.lifetime.end.p0(i64 6272, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  %240 = load i32, ptr %12, align 4
  switch i32 %240, label %242 [
    i32 0, label %241
    i32 1, label %241
  ]

241:                                              ; preds = %239, %239
  ret void

242:                                              ; preds = %239
  unreachable
}

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

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15dsssettingsinitEPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl7dssinitElPNS_16dualsimplexstateEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl13dsssetproblemEPNS_16dualsimplexstateEPNS_9ae_vectorES3_S3_S3_PNS_9ae_matrixEPNS_12sparsematrixElS3_S3_lPNS_16dualsimplexbasisElPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl11dssoptimizeEPNS_16dualsimplexstateEPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl25_dualsimplexsettings_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl22_dualsimplexbasis_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL23minlp_clearreportfieldsEPNS_10minlpstateEPNS_8ae_stateE(ptr noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !11, i64 0}
!10 = !{!"_ZTSN11alglib_impl10minlpstateE", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 80, !12, i64 144, !12, i64 208, !11, i64 272, !15, i64 280, !12, i64 648, !12, i64 712, !12, i64 776, !12, i64 840, !12, i64 904, !16, i64 968, !16, i64 976, !16, i64 984, !11, i64 992, !11, i64 1000, !17, i64 1008, !12, i64 11952, !12, i64 12016}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSN11alglib_impl9ae_vectorE", !11, i64 0, !11, i64 8, !13, i64 16, !14, i64 24, !7, i64 56}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!"_ZTSN11alglib_impl12sparsematrixE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !12, i64 256, !11, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !11, i64 360}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl16dualsimplexstateE", !12, i64 0, !12, i64 64, !12, i64 128, !12, i64 192, !11, i64 256, !11, i64 264, !15, i64 272, !15, i64 640, !18, i64 1008, !24, i64 7280, !24, i64 8072, !24, i64 8864, !12, i64 9656, !12, i64 9720, !12, i64 9784, !12, i64 9848, !16, i64 9912, !16, i64 9920, !16, i64 9928, !11, i64 9936, !11, i64 9944, !11, i64 9952, !11, i64 9960, !11, i64 9968, !12, i64 9976, !11, i64 10040, !12, i64 10048, !12, i64 10112, !12, i64 10176, !12, i64 10240, !12, i64 10304, !12, i64 10368, !12, i64 10432, !12, i64 10496, !12, i64 10560, !12, i64 10624, !12, i64 10688, !12, i64 10752, !12, i64 10816, !12, i64 10880}
!18 = !{!"_ZTSN11alglib_impl16dualsimplexbasisE", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 80, !12, i64 144, !11, i64 208, !13, i64 216, !11, i64 224, !19, i64 232, !15, i64 312, !15, i64 680, !15, i64 1048, !12, i64 1416, !12, i64 1480, !12, i64 1544, !12, i64 1608, !12, i64 1672, !12, i64 1736, !12, i64 1800, !13, i64 1864, !16, i64 1872, !12, i64 1880, !12, i64 1944, !12, i64 2008, !12, i64 2072, !12, i64 2136, !19, i64 2200, !12, i64 2280, !12, i64 2344, !15, i64 2408, !15, i64 2776, !20, i64 3144, !12, i64 5712, !12, i64 5776, !12, i64 5840, !15, i64 5904}
!19 = !{!"_ZTSN11alglib_impl9ae_matrixE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !13, i64 32, !14, i64 40, !7, i64 72}
!20 = !{!"_ZTSN11alglib_impl11sluv2bufferE", !11, i64 0, !15, i64 8, !15, i64 376, !21, i64 744, !21, i64 968, !22, i64 1192, !23, i64 1816, !12, i64 1976, !19, i64 2040, !12, i64 2120, !12, i64 2184, !12, i64 2248, !12, i64 2312, !12, i64 2376, !12, i64 2440, !12, i64 2504}
!21 = !{!"_ZTSN11alglib_impl16sluv2list1matrixE", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 80, !12, i64 144, !11, i64 208, !11, i64 216}
!22 = !{!"_ZTSN11alglib_impl16sluv2sparsetrailE", !11, i64 0, !11, i64 8, !12, i64 16, !11, i64 80, !11, i64 88, !11, i64 96, !12, i64 104, !12, i64 168, !12, i64 232, !12, i64 296, !12, i64 360, !12, i64 424, !12, i64 488, !11, i64 552, !12, i64 560}
!23 = !{!"_ZTSN11alglib_impl15sluv2densetrailE", !11, i64 0, !11, i64 8, !19, i64 16, !12, i64 96}
!24 = !{!"_ZTSN11alglib_impl21dualsimplexsubproblemE", !11, i64 0, !11, i64 8, !12, i64 16, !12, i64 80, !12, i64 144, !12, i64 208, !12, i64 272, !12, i64 336, !11, i64 400, !12, i64 408, !12, i64 472, !12, i64 536, !12, i64 600, !12, i64 664, !12, i64 728}
!25 = !{!11, !11, i64 0}
!26 = !{!10, !11, i64 272}
!27 = !{!7, !7, i64 0}
!28 = !{!16, !16, i64 0}
!29 = !{!10, !11, i64 1000}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = !{!10, !11, i64 8}
!34 = distinct !{!34, !31}
!35 = distinct !{!35, !31}
!36 = distinct !{!36, !31}
!37 = !{!10, !16, i64 10920}
!38 = !{!10, !16, i64 968}
!39 = !{!10, !16, i64 10928}
!40 = !{!10, !16, i64 976}
!41 = !{!10, !16, i64 10936}
!42 = !{!10, !16, i64 984}
!43 = !{!10, !11, i64 10952}
!44 = !{!10, !11, i64 992}
!45 = !{!10, !11, i64 10944}


; 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::dualsimplexsettings" = type { double, double, i64, i64, i64, i64, i64 }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::dualsimplexbasis" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i8, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"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", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i8, double, %"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", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sluv2buffer", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::sparsematrix" }
%"struct.alglib_impl::sluv2buffer" = type { i64, %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::sluv2list1matrix", %"struct.alglib_impl::sluv2list1matrix", %"struct.alglib_impl::sluv2sparsetrail", %"struct.alglib_impl::sluv2densetrail", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"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", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::sluv2list1matrix" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64 }
%"struct.alglib_impl::sluv2sparsetrail" = type { i64, i64, %"struct.alglib_impl::ae_vector", i64, i64, i64, %"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", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::sluv2densetrail" = type { i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector" }
%"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::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.339 = external hidden unnamed_addr constant [55 x i8], align 1
@_ZN11alglib_implL22minlp_alllogicalsbasisE = external hidden local_unnamed_addr global i64, align 8

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

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

; 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 #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl13minlpoptimizeEPNS_10minlpstateEPNS_8ae_stateE(ptr noundef %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = alloca %"struct.alglib_impl::ae_frame", align 8
  %4 = alloca %"struct.alglib_impl::dualsimplexsettings", align 8
  %5 = alloca %"struct.alglib_impl::ae_matrix", align 8
  %6 = alloca %"struct.alglib_impl::dualsimplexbasis", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 6272, ptr nonnull %6) #5
  call void @_ZN11alglib_impl13ae_frame_makeEPNS_8ae_stateEPNS_8ae_frameE(ptr noundef %1, ptr noundef nonnull %3)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %4, i8 0, i64 56, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(80) %5, i8 0, i64 80, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(6272) %6, i8 0, i64 6272, i1 false)
  call void @_ZN11alglib_impl25_dualsimplexsettings_initEPvPNS_8ae_stateEb(ptr noundef nonnull %4, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl14ae_matrix_initEPNS_9ae_matrixElllPNS_8ae_stateEb(ptr noundef nonnull %5, i64 noundef 0, i64 noundef 0, i64 noundef 3, ptr noundef %1, i1 noundef zeroext true)
  call void @_ZN11alglib_impl22_dualsimplexbasis_initEPvPNS_8ae_stateEb(ptr noundef nonnull %6, ptr noundef %1, i1 noundef zeroext true)
  %7 = load i64, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 272
  %9 = load i64, ptr %8, align 8, !tbaa !24
  call void @_ZN11alglib_implL23minlp_clearreportfieldsEPNS_10minlpstateEPNS_8ae_stateE(ptr noundef nonnull %0, ptr noundef %1)
  %.not.not95 = icmp sgt i64 %7, 0
  br i1 %.not.not95, label %.lr.ph, label %.preheader94

.lr.ph:                                           ; preds = %2
  %10 = getelementptr inbounds i8, ptr %0, i64 200
  %11 = getelementptr inbounds i8, ptr %0, i64 264
  br label %16

12:                                               ; preds = %16
  %13 = add nuw nsw i64 %.096, 1
  %exitcond.not = icmp eq i64 %13, %7
  br i1 %exitcond.not, label %.preheader94, label %16, !llvm.loop !25

.preheader94:                                     ; preds = %12, %2
  %.not.not8997 = icmp sgt i64 %9, 0
  br i1 %.not.not8997, label %.lr.ph99, label %._crit_edge

.lr.ph99:                                         ; preds = %.preheader94
  %14 = getelementptr inbounds i8, ptr %0, i64 704
  %15 = getelementptr inbounds i8, ptr %0, i64 768
  br label %28

16:                                               ; preds = %.lr.ph, %12
  %.096 = phi i64 [ 0, %.lr.ph ], [ %13, %12 ]
  %17 = load ptr, ptr %10, align 8, !tbaa !27
  %18 = getelementptr inbounds double, ptr %17, i64 %.096
  %19 = load double, ptr %18, align 8, !tbaa !28
  %20 = load ptr, ptr %11, align 8, !tbaa !27
  %21 = getelementptr inbounds double, ptr %20, i64 %.096
  %22 = load double, ptr %21, align 8, !tbaa !28
  %23 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %19, double noundef %22)
  br i1 %23, label %24, label %12

24:                                               ; preds = %16
  %25 = getelementptr inbounds i8, ptr %0, i64 1000
  store i64 -3, ptr %25, align 8, !tbaa !29
  br label %170

26:                                               ; preds = %28
  %27 = add nuw nsw i64 %.198, 1
  %exitcond111.not = icmp eq i64 %27, %9
  br i1 %exitcond111.not, label %._crit_edge, label %28, !llvm.loop !30

28:                                               ; preds = %.lr.ph99, %26
  %.198 = phi i64 [ 0, %.lr.ph99 ], [ %27, %26 ]
  %29 = load ptr, ptr %14, align 8, !tbaa !27
  %30 = getelementptr inbounds double, ptr %29, i64 %.198
  %31 = load double, ptr %30, align 8, !tbaa !28
  %32 = load ptr, ptr %15, align 8, !tbaa !27
  %33 = getelementptr inbounds double, ptr %32, i64 %.198
  %34 = load double, ptr %33, align 8, !tbaa !28
  %35 = call noundef zeroext i1 @_ZN11alglib_impl13ae_fp_greaterEdd(double noundef %31, double noundef %34)
  br i1 %35, label %36, label %26

36:                                               ; preds = %28
  %37 = getelementptr inbounds i8, ptr %0, i64 1000
  store i64 -3, ptr %37, align 8, !tbaa !29
  br label %170

._crit_edge:                                      ; preds = %26, %.preheader94
  %38 = getelementptr inbounds i8, ptr %0, i64 8
  %39 = load i64, ptr %38, align 8, !tbaa !31
  %40 = icmp eq i64 %39, 1
  br i1 %40, label %41, label %169

41:                                               ; preds = %._crit_edge
  call void @_ZN11alglib_impl15dsssettingsinitEPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef nonnull %4, ptr noundef %1)
  %42 = getelementptr inbounds i8, ptr %0, i64 1008
  call void @_ZN11alglib_impl7dssinitElPNS_16dualsimplexstateEPNS_8ae_stateE(i64 noundef %7, ptr noundef nonnull %42, ptr noundef %1)
  %43 = getelementptr inbounds i8, ptr %0, i64 80
  %44 = getelementptr inbounds i8, ptr %0, i64 144
  %45 = getelementptr inbounds i8, ptr %0, i64 208
  %46 = getelementptr inbounds i8, ptr %0, i64 16
  %47 = getelementptr inbounds i8, ptr %0, i64 280
  %48 = getelementptr inbounds i8, ptr %0, i64 648
  %49 = getelementptr inbounds i8, ptr %0, i64 712
  %50 = load i64, ptr @_ZN11alglib_implL22minlp_alllogicalsbasisE, align 8, !tbaa !32
  call void @_ZN11alglib_impl13dsssetproblemEPNS_16dualsimplexstateEPNS_9ae_vectorES3_S3_S3_PNS_9ae_matrixEPNS_12sparsematrixElS3_S3_lPNS_16dualsimplexbasisElPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef nonnull %42, ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull %46, ptr noundef nonnull %5, ptr noundef nonnull %47, i64 noundef 1, ptr noundef nonnull %48, ptr noundef nonnull %49, i64 noundef %9, ptr noundef nonnull %6, i64 noundef %50, ptr noundef nonnull %4, ptr noundef %1)
  call void @_ZN11alglib_impl11dssoptimizeEPNS_16dualsimplexstateEPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef nonnull %42, ptr noundef nonnull %4, ptr noundef %1)
  %51 = getelementptr inbounds i8, ptr %0, i64 776
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %51, i64 noundef %7, ptr noundef %1)
  %52 = getelementptr inbounds i8, ptr %0, i64 840
  call void @_ZN11alglib_impl23rvectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %52, i64 noundef %9, ptr noundef %1)
  %53 = getelementptr inbounds i8, ptr %0, i64 904
  %54 = add nsw i64 %9, %7
  call void @_ZN11alglib_impl23ivectorsetlengthatleastEPNS_9ae_vectorElPNS_8ae_stateE(ptr noundef nonnull %53, i64 noundef %54, ptr noundef %1)
  br i1 %.not.not95, label %.lr.ph103, label %.preheader93

.lr.ph103:                                        ; preds = %41
  %55 = getelementptr inbounds i8, ptr %0, i64 10720
  %56 = getelementptr inbounds i8, ptr %0, i64 832
  %xtraiter = and i64 %7, 3
  %57 = icmp ult i64 %7, 4
  br i1 %57, label %.preheader93.loopexit.unr-lcssa, label %.lr.ph103.new

.lr.ph103.new:                                    ; preds = %.lr.ph103
  %unroll_iter = and i64 %7, 9223372036854775804
  br label %67

.preheader93.loopexit.unr-lcssa:                  ; preds = %67, %.lr.ph103
  %.2101.unr = phi i64 [ 0, %.lr.ph103 ], [ %91, %67 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader93, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader93.loopexit.unr-lcssa, %.epil.preheader
  %.2101.epil = phi i64 [ %63, %.epil.preheader ], [ %.2101.unr, %.preheader93.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %.preheader93.loopexit.unr-lcssa ]
  %58 = load ptr, ptr %55, align 8, !tbaa !27
  %59 = getelementptr inbounds double, ptr %58, i64 %.2101.epil
  %60 = load double, ptr %59, align 8, !tbaa !28
  %61 = load ptr, ptr %56, align 8, !tbaa !27
  %62 = getelementptr inbounds double, ptr %61, i64 %.2101.epil
  store double %60, ptr %62, align 8, !tbaa !28
  %63 = add nuw nsw i64 %.2101.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader93, label %.epil.preheader, !llvm.loop !33

.preheader93:                                     ; preds = %.preheader93.loopexit.unr-lcssa, %.epil.preheader, %41
  br i1 %.not.not8997, label %.lr.ph106, label %.preheader

.lr.ph106:                                        ; preds = %.preheader93
  %64 = getelementptr inbounds i8, ptr %0, i64 10784
  %65 = getelementptr inbounds i8, ptr %0, i64 896
  %xtraiter116 = and i64 %9, 3
  %66 = icmp ult i64 %9, 4
  br i1 %66, label %.preheader.loopexit.unr-lcssa, label %.lr.ph106.new

.lr.ph106.new:                                    ; preds = %.lr.ph106
  %unroll_iter119 = and i64 %9, 9223372036854775804
  br label %103

67:                                               ; preds = %67, %.lr.ph103.new
  %.2101 = phi i64 [ 0, %.lr.ph103.new ], [ %91, %67 ]
  %niter = phi i64 [ 0, %.lr.ph103.new ], [ %niter.next.3, %67 ]
  %68 = load ptr, ptr %55, align 8, !tbaa !27
  %69 = getelementptr inbounds double, ptr %68, i64 %.2101
  %70 = load double, ptr %69, align 8, !tbaa !28
  %71 = load ptr, ptr %56, align 8, !tbaa !27
  %72 = getelementptr inbounds double, ptr %71, i64 %.2101
  store double %70, ptr %72, align 8, !tbaa !28
  %73 = or disjoint i64 %.2101, 1
  %74 = load ptr, ptr %55, align 8, !tbaa !27
  %75 = getelementptr inbounds double, ptr %74, i64 %73
  %76 = load double, ptr %75, align 8, !tbaa !28
  %77 = load ptr, ptr %56, align 8, !tbaa !27
  %78 = getelementptr inbounds double, ptr %77, i64 %73
  store double %76, ptr %78, align 8, !tbaa !28
  %79 = or disjoint i64 %.2101, 2
  %80 = load ptr, ptr %55, align 8, !tbaa !27
  %81 = getelementptr inbounds double, ptr %80, i64 %79
  %82 = load double, ptr %81, align 8, !tbaa !28
  %83 = load ptr, ptr %56, align 8, !tbaa !27
  %84 = getelementptr inbounds double, ptr %83, i64 %79
  store double %82, ptr %84, align 8, !tbaa !28
  %85 = or disjoint i64 %.2101, 3
  %86 = load ptr, ptr %55, align 8, !tbaa !27
  %87 = getelementptr inbounds double, ptr %86, i64 %85
  %88 = load double, ptr %87, align 8, !tbaa !28
  %89 = load ptr, ptr %56, align 8, !tbaa !27
  %90 = getelementptr inbounds double, ptr %89, i64 %85
  store double %88, ptr %90, align 8, !tbaa !28
  %91 = add nuw nsw i64 %.2101, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader93.loopexit.unr-lcssa, label %67, !llvm.loop !35

.preheader.loopexit.unr-lcssa:                    ; preds = %103, %.lr.ph106
  %.3105.unr = phi i64 [ 0, %.lr.ph106 ], [ %127, %103 ]
  %lcmp.mod118.not = icmp eq i64 %xtraiter116, 0
  br i1 %lcmp.mod118.not, label %.preheader, label %.epil.preheader115

.epil.preheader115:                               ; preds = %.preheader.loopexit.unr-lcssa, %.epil.preheader115
  %.3105.epil = phi i64 [ %97, %.epil.preheader115 ], [ %.3105.unr, %.preheader.loopexit.unr-lcssa ]
  %epil.iter117 = phi i64 [ %epil.iter117.next, %.epil.preheader115 ], [ 0, %.preheader.loopexit.unr-lcssa ]
  %92 = load ptr, ptr %64, align 8, !tbaa !27
  %93 = getelementptr inbounds double, ptr %92, i64 %.3105.epil
  %94 = load double, ptr %93, align 8, !tbaa !28
  %95 = load ptr, ptr %65, align 8, !tbaa !27
  %96 = getelementptr inbounds double, ptr %95, i64 %.3105.epil
  store double %94, ptr %96, align 8, !tbaa !28
  %97 = add nuw nsw i64 %.3105.epil, 1
  %epil.iter117.next = add i64 %epil.iter117, 1
  %epil.iter117.cmp.not = icmp eq i64 %epil.iter117.next, %xtraiter116
  br i1 %epil.iter117.cmp.not, label %.preheader, label %.epil.preheader115, !llvm.loop !36

.preheader:                                       ; preds = %.preheader.loopexit.unr-lcssa, %.epil.preheader115, %.preheader93
  %.not.not92107 = icmp sgt i64 %54, 0
  br i1 %.not.not92107, label %.lr.ph109, label %._crit_edge110

.lr.ph109:                                        ; preds = %.preheader
  %98 = getelementptr inbounds i8, ptr %0, i64 10912
  %99 = getelementptr inbounds i8, ptr %0, i64 960
  %100 = add i64 %9, %7
  %101 = add i64 %100, -1
  %xtraiter122 = and i64 %54, 3
  %102 = icmp ult i64 %101, 3
  br i1 %102, label %._crit_edge110.loopexit.unr-lcssa, label %.lr.ph109.new

.lr.ph109.new:                                    ; preds = %.lr.ph109
  %unroll_iter125 = and i64 %54, 9223372036854775804
  br label %128

103:                                              ; preds = %103, %.lr.ph106.new
  %.3105 = phi i64 [ 0, %.lr.ph106.new ], [ %127, %103 ]
  %niter120 = phi i64 [ 0, %.lr.ph106.new ], [ %niter120.next.3, %103 ]
  %104 = load ptr, ptr %64, align 8, !tbaa !27
  %105 = getelementptr inbounds double, ptr %104, i64 %.3105
  %106 = load double, ptr %105, align 8, !tbaa !28
  %107 = load ptr, ptr %65, align 8, !tbaa !27
  %108 = getelementptr inbounds double, ptr %107, i64 %.3105
  store double %106, ptr %108, align 8, !tbaa !28
  %109 = or disjoint i64 %.3105, 1
  %110 = load ptr, ptr %64, align 8, !tbaa !27
  %111 = getelementptr inbounds double, ptr %110, i64 %109
  %112 = load double, ptr %111, align 8, !tbaa !28
  %113 = load ptr, ptr %65, align 8, !tbaa !27
  %114 = getelementptr inbounds double, ptr %113, i64 %109
  store double %112, ptr %114, align 8, !tbaa !28
  %115 = or disjoint i64 %.3105, 2
  %116 = load ptr, ptr %64, align 8, !tbaa !27
  %117 = getelementptr inbounds double, ptr %116, i64 %115
  %118 = load double, ptr %117, align 8, !tbaa !28
  %119 = load ptr, ptr %65, align 8, !tbaa !27
  %120 = getelementptr inbounds double, ptr %119, i64 %115
  store double %118, ptr %120, align 8, !tbaa !28
  %121 = or disjoint i64 %.3105, 3
  %122 = load ptr, ptr %64, align 8, !tbaa !27
  %123 = getelementptr inbounds double, ptr %122, i64 %121
  %124 = load double, ptr %123, align 8, !tbaa !28
  %125 = load ptr, ptr %65, align 8, !tbaa !27
  %126 = getelementptr inbounds double, ptr %125, i64 %121
  store double %124, ptr %126, align 8, !tbaa !28
  %127 = add nuw nsw i64 %.3105, 4
  %niter120.next.3 = add i64 %niter120, 4
  %niter120.ncmp.3 = icmp eq i64 %niter120.next.3, %unroll_iter119
  br i1 %niter120.ncmp.3, label %.preheader.loopexit.unr-lcssa, label %103, !llvm.loop !37

128:                                              ; preds = %128, %.lr.ph109.new
  %.4108 = phi i64 [ 0, %.lr.ph109.new ], [ %152, %128 ]
  %niter126 = phi i64 [ 0, %.lr.ph109.new ], [ %niter126.next.3, %128 ]
  %129 = load ptr, ptr %98, align 8, !tbaa !27
  %130 = getelementptr inbounds i64, ptr %129, i64 %.4108
  %131 = load i64, ptr %130, align 8, !tbaa !32
  %132 = load ptr, ptr %99, align 8, !tbaa !27
  %133 = getelementptr inbounds i64, ptr %132, i64 %.4108
  store i64 %131, ptr %133, align 8, !tbaa !32
  %134 = or disjoint i64 %.4108, 1
  %135 = load ptr, ptr %98, align 8, !tbaa !27
  %136 = getelementptr inbounds i64, ptr %135, i64 %134
  %137 = load i64, ptr %136, align 8, !tbaa !32
  %138 = load ptr, ptr %99, align 8, !tbaa !27
  %139 = getelementptr inbounds i64, ptr %138, i64 %134
  store i64 %137, ptr %139, align 8, !tbaa !32
  %140 = or disjoint i64 %.4108, 2
  %141 = load ptr, ptr %98, align 8, !tbaa !27
  %142 = getelementptr inbounds i64, ptr %141, i64 %140
  %143 = load i64, ptr %142, align 8, !tbaa !32
  %144 = load ptr, ptr %99, align 8, !tbaa !27
  %145 = getelementptr inbounds i64, ptr %144, i64 %140
  store i64 %143, ptr %145, align 8, !tbaa !32
  %146 = or disjoint i64 %.4108, 3
  %147 = load ptr, ptr %98, align 8, !tbaa !27
  %148 = getelementptr inbounds i64, ptr %147, i64 %146
  %149 = load i64, ptr %148, align 8, !tbaa !32
  %150 = load ptr, ptr %99, align 8, !tbaa !27
  %151 = getelementptr inbounds i64, ptr %150, i64 %146
  store i64 %149, ptr %151, align 8, !tbaa !32
  %152 = add nuw nsw i64 %.4108, 4
  %niter126.next.3 = add i64 %niter126, 4
  %niter126.ncmp.3 = icmp eq i64 %niter126.next.3, %unroll_iter125
  br i1 %niter126.ncmp.3, label %._crit_edge110.loopexit.unr-lcssa, label %128, !llvm.loop !38

._crit_edge110.loopexit.unr-lcssa:                ; preds = %128, %.lr.ph109
  %.4108.unr = phi i64 [ 0, %.lr.ph109 ], [ %152, %128 ]
  %lcmp.mod124.not = icmp eq i64 %xtraiter122, 0
  br i1 %lcmp.mod124.not, label %._crit_edge110, label %.epil.preheader121

.epil.preheader121:                               ; preds = %._crit_edge110.loopexit.unr-lcssa, %.epil.preheader121
  %.4108.epil = phi i64 [ %158, %.epil.preheader121 ], [ %.4108.unr, %._crit_edge110.loopexit.unr-lcssa ]
  %epil.iter123 = phi i64 [ %epil.iter123.next, %.epil.preheader121 ], [ 0, %._crit_edge110.loopexit.unr-lcssa ]
  %153 = load ptr, ptr %98, align 8, !tbaa !27
  %154 = getelementptr inbounds i64, ptr %153, i64 %.4108.epil
  %155 = load i64, ptr %154, align 8, !tbaa !32
  %156 = load ptr, ptr %99, align 8, !tbaa !27
  %157 = getelementptr inbounds i64, ptr %156, i64 %.4108.epil
  store i64 %155, ptr %157, align 8, !tbaa !32
  %158 = add nuw nsw i64 %.4108.epil, 1
  %epil.iter123.next = add i64 %epil.iter123, 1
  %epil.iter123.cmp.not = icmp eq i64 %epil.iter123.next, %xtraiter122
  br i1 %epil.iter123.cmp.not, label %._crit_edge110, label %.epil.preheader121, !llvm.loop !39

._crit_edge110:                                   ; preds = %._crit_edge110.loopexit.unr-lcssa, %.epil.preheader121, %.preheader
  %159 = getelementptr inbounds i8, ptr %0, i64 10920
  %160 = getelementptr inbounds i8, ptr %0, i64 968
  %161 = load <2 x double>, ptr %159, align 8, !tbaa !28
  store <2 x double> %161, ptr %160, align 8, !tbaa !28
  %162 = getelementptr inbounds i8, ptr %0, i64 10936
  %163 = load double, ptr %162, align 8, !tbaa !40
  %164 = getelementptr inbounds i8, ptr %0, i64 984
  store double %163, ptr %164, align 8, !tbaa !41
  %165 = getelementptr inbounds i8, ptr %0, i64 992
  %166 = getelementptr inbounds i8, ptr %0, i64 10944
  %167 = load <2 x i64>, ptr %166, align 8, !tbaa !32
  %168 = shufflevector <2 x i64> %167, <2 x i64> poison, <2 x i32> <i32 1, i32 0>
  store <2 x i64> %168, ptr %165, align 8, !tbaa !32
  br label %170

169:                                              ; preds = %._crit_edge
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.339, ptr noundef %1)
  br label %170

170:                                              ; preds = %169, %._crit_edge110, %36, %24
  call void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef %1)
  call void @llvm.lifetime.end.p0(i64 6272, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  ret void
}

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

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

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

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

declare void @_ZN11alglib_impl14ae_frame_leaveEPNS_8ae_stateE(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl15dsssettingsinitEPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl7dssinitElPNS_16dualsimplexstateEPNS_8ae_stateE(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl13dsssetproblemEPNS_16dualsimplexstateEPNS_9ae_vectorES3_S3_S3_PNS_9ae_matrixEPNS_12sparsematrixElS3_S3_lPNS_16dualsimplexbasisElPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl11dssoptimizeEPNS_16dualsimplexstateEPNS_19dualsimplexsettingsEPNS_8ae_stateE(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl25_dualsimplexsettings_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl22_dualsimplexbasis_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN11alglib_implL23minlp_clearreportfieldsEPNS_10minlpstateEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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_impl10minlpstateE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 80, !10, i64 144, !10, i64 208, !7, i64 272, !14, i64 280, !10, i64 648, !10, i64 712, !10, i64 776, !10, i64 840, !10, i64 904, !15, i64 968, !15, i64 976, !15, i64 984, !7, i64 992, !7, i64 1000, !16, i64 1008, !10, i64 11952, !10, i64 12016}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN11alglib_impl9ae_vectorE", !7, i64 0, !7, i64 8, !11, i64 16, !12, i64 24, !8, i64 56}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTSN11alglib_impl12sparsematrixE", !10, i64 0, !10, i64 64, !10, i64 128, !10, i64 192, !10, i64 256, !7, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !7, i64 360}
!15 = !{!"double", !8, i64 0}
!16 = !{!"_ZTSN11alglib_impl16dualsimplexstateE", !10, i64 0, !10, i64 64, !10, i64 128, !10, i64 192, !7, i64 256, !7, i64 264, !14, i64 272, !14, i64 640, !17, i64 1008, !23, i64 7280, !23, i64 8072, !23, i64 8864, !10, i64 9656, !10, i64 9720, !10, i64 9784, !10, i64 9848, !15, i64 9912, !15, i64 9920, !15, i64 9928, !7, i64 9936, !7, i64 9944, !7, i64 9952, !7, i64 9960, !7, i64 9968, !10, i64 9976, !7, i64 10040, !10, i64 10048, !10, i64 10112, !10, i64 10176, !10, i64 10240, !10, i64 10304, !10, i64 10368, !10, i64 10432, !10, i64 10496, !10, i64 10560, !10, i64 10624, !10, i64 10688, !10, i64 10752, !10, i64 10816, !10, i64 10880}
!17 = !{!"_ZTSN11alglib_impl16dualsimplexbasisE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 80, !10, i64 144, !7, i64 208, !11, i64 216, !7, i64 224, !18, i64 232, !14, i64 312, !14, i64 680, !14, i64 1048, !10, i64 1416, !10, i64 1480, !10, i64 1544, !10, i64 1608, !10, i64 1672, !10, i64 1736, !10, i64 1800, !11, i64 1864, !15, i64 1872, !10, i64 1880, !10, i64 1944, !10, i64 2008, !10, i64 2072, !10, i64 2136, !18, i64 2200, !10, i64 2280, !10, i64 2344, !14, i64 2408, !14, i64 2776, !19, i64 3144, !10, i64 5712, !10, i64 5776, !10, i64 5840, !14, i64 5904}
!18 = !{!"_ZTSN11alglib_impl9ae_matrixE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !12, i64 40, !8, i64 72}
!19 = !{!"_ZTSN11alglib_impl11sluv2bufferE", !7, i64 0, !14, i64 8, !14, i64 376, !20, i64 744, !20, i64 968, !21, i64 1192, !22, i64 1816, !10, i64 1976, !18, i64 2040, !10, i64 2120, !10, i64 2184, !10, i64 2248, !10, i64 2312, !10, i64 2376, !10, i64 2440, !10, i64 2504}
!20 = !{!"_ZTSN11alglib_impl16sluv2list1matrixE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 80, !10, i64 144, !7, i64 208, !7, i64 216}
!21 = !{!"_ZTSN11alglib_impl16sluv2sparsetrailE", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 80, !7, i64 88, !7, i64 96, !10, i64 104, !10, i64 168, !10, i64 232, !10, i64 296, !10, i64 360, !10, i64 424, !10, i64 488, !7, i64 552, !10, i64 560}
!22 = !{!"_ZTSN11alglib_impl15sluv2densetrailE", !7, i64 0, !7, i64 8, !18, i64 16, !10, i64 96}
!23 = !{!"_ZTSN11alglib_impl21dualsimplexsubproblemE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 80, !10, i64 144, !10, i64 208, !10, i64 272, !10, i64 336, !7, i64 400, !10, i64 408, !10, i64 472, !10, i64 536, !10, i64 600, !10, i64 664, !10, i64 728}
!24 = !{!6, !7, i64 272}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!8, !8, i64 0}
!28 = !{!15, !15, i64 0}
!29 = !{!6, !7, i64 1000}
!30 = distinct !{!30, !26}
!31 = !{!6, !7, i64 8}
!32 = !{!7, !7, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.unroll.disable"}
!35 = distinct !{!35, !26}
!36 = distinct !{!36, !34}
!37 = distinct !{!37, !26}
!38 = distinct !{!38, !26}
!39 = distinct !{!39, !34}
!40 = !{!6, !15, i64 10936}
!41 = !{!6, !15, i64 984}


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