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

; 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::mlptrainer" = type { i64, i64, i8, i64, double, double, i64, i64, i64, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::smlptrnsession", i64, %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%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::smlptrnsession" = type { %"struct.alglib_impl::ae_vector", double, i8, %"struct.alglib_impl::multilayerperceptron", %"struct.alglib_impl::minlbfgsstate", %"struct.alglib_impl::minlbfgsreport", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::rcommstate", i64, i64, %"struct.alglib_impl::hqrndstate" }
%"struct.alglib_impl::multilayerperceptron" = 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", %"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_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::modelerrors", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::sparsematrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_shared_pool" }
%"struct.alglib_impl::modelerrors" = type { double, double, double, double, double }
%"struct.alglib_impl::ae_shared_pool" = type { %"struct.alglib_impl::ae_lock", ptr, ptr, ptr, ptr, i64, ptr, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::minlbfgsstate" = type { i64, i64, double, double, double, i64, i8, double, %"struct.alglib_impl::ae_vector", double, i64, i64, i64, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", double, double, %"struct.alglib_impl::ae_vector", i64, double, %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", i64, %"struct.alglib_impl::precbuflbfgs", %"struct.alglib_impl::precbuflowrank", double, double, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", i8, i8, i8, i8, double, %"struct.alglib_impl::rcommstate", i64, i64, i64, %"struct.alglib_impl::linminstate", i64, %"struct.alglib_impl::smoothnessmonitor", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::precbuflbfgs" = type { %"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::ae_vector" }
%"struct.alglib_impl::precbuflowrank" = type { i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::linminstate" = type { i8, i8, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%"struct.alglib_impl::smoothnessmonitor" = type { i64, i64, i8, %"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_matrix", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i8, i8, double, double, i8, %"struct.alglib_impl::optguardreport", double, double, %"struct.alglib_impl::optguardnonc1test0report", %"struct.alglib_impl::optguardnonc1test0report", double, double, %"struct.alglib_impl::optguardnonc1test1report", %"struct.alglib_impl::optguardnonc1test1report", i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::rcommstate", %"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_matrix", %"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::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardreport" = type { i8, i8, i64, double, i8, i8, i8, i64, double, i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix" }
%"struct.alglib_impl::optguardnonc1test0report" = type { i8, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::optguardnonc1test1report" = type { i8, i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, i64 }
%"struct.alglib_impl::minlbfgsreport" = type { i64, i64, i64 }
%"struct.alglib_impl::rcommstate" = type { i32, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::hqrndstate" = type { i64, i64, i64 }
%"struct.alglib_impl::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }

@.str.375 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.376 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.377 = external hidden unnamed_addr constant [22 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl10mlpsetcondEPNS_10mlptrainerEdlPNS_8ae_stateE(ptr noundef %0, double noundef %1, i64 noundef %2, ptr noundef %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store double %1, ptr %6, align 8, !tbaa !9
  store i64 %2, ptr %7, align 8, !tbaa !11
  store ptr %3, ptr %8, align 8, !tbaa !5
  %9 = load double, ptr %6, align 8, !tbaa !9
  %10 = load ptr, ptr %8, align 8, !tbaa !5
  %11 = call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %9, ptr noundef %10)
  %12 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %11, ptr noundef @.str.375, ptr noundef %12)
  %13 = load double, ptr %6, align 8, !tbaa !9
  %14 = call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %13, double noundef 0.000000e+00)
  %15 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %14, ptr noundef @.str.376, ptr noundef %15)
  %16 = load i64, ptr %7, align 8, !tbaa !11
  %17 = icmp sge i64 %16, 0
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %17, ptr noundef @.str.377, ptr noundef %18)
  %19 = load double, ptr %6, align 8, !tbaa !9
  %20 = call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %19, double noundef 0.000000e+00)
  br i1 %20, label %24, label %21

21:                                               ; preds = %4
  %22 = load i64, ptr %7, align 8, !tbaa !11
  %23 = icmp ne i64 %22, 0
  br i1 %23, label %24, label %31

24:                                               ; preds = %21, %4
  %25 = load double, ptr %6, align 8, !tbaa !9
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %26, i32 0, i32 5
  store double %25, ptr %27, align 8, !tbaa !13
  %28 = load i64, ptr %7, align 8, !tbaa !11
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %29, i32 0, i32 6
  store i64 %28, ptr %30, align 8, !tbaa !37
  br label %36

31:                                               ; preds = %21
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %32, i32 0, i32 5
  store double 5.000000e-03, ptr %33, align 8, !tbaa !13
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.alglib_impl::mlptrainer", ptr %34, i32 0, i32 6
  store i64 0, ptr %35, align 8, !tbaa !37
  br label %36

36:                                               ; preds = %31, %24
  ret void
}

declare noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef, ptr noundef) #0

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

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

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

!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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 40}
!14 = !{!"_ZTSN11alglib_impl10mlptrainerE", !12, i64 0, !12, i64 8, !15, i64 16, !12, i64 24, !10, i64 32, !10, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !16, i64 72, !18, i64 152, !20, i64 520, !12, i64 10160, !19, i64 10168, !12, i64 10232, !19, i64 10240, !12, i64 10304, !12, i64 10312, !12, i64 10320}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN11alglib_impl9ae_matrixE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !15, i64 32, !17, i64 40, !7, i64 72}
!17 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!18 = !{!"_ZTSN11alglib_impl12sparsematrixE", !19, i64 0, !19, i64 64, !19, i64 128, !19, i64 192, !19, i64 256, !12, i64 320, !12, i64 328, !12, i64 336, !12, i64 344, !12, i64 352, !12, i64 360}
!19 = !{!"_ZTSN11alglib_impl9ae_vectorE", !12, i64 0, !12, i64 8, !15, i64 16, !17, i64 24, !7, i64 56}
!20 = !{!"_ZTSN11alglib_impl14smlptrnsessionE", !19, i64 0, !10, i64 64, !15, i64 72, !21, i64 80, !25, i64 2184, !35, i64 9056, !19, i64 9080, !19, i64 9144, !19, i64 9208, !19, i64 9272, !28, i64 9336, !12, i64 9600, !12, i64 9608, !36, i64 9616}
!21 = !{!"_ZTSN11alglib_impl20multilayerperceptronE", !12, i64 0, !12, i64 8, !19, i64 16, !19, i64 80, !19, i64 144, !19, i64 208, !19, i64 272, !19, i64 336, !19, i64 400, !19, i64 464, !19, i64 528, !19, i64 592, !19, i64 656, !19, i64 720, !16, i64 784, !19, i64 864, !19, i64 928, !19, i64 992, !22, i64 1056, !19, i64 1096, !23, i64 1160, !23, i64 1304, !16, i64 1448, !18, i64 1528, !19, i64 1896, !23, i64 1960}
!22 = !{!"_ZTSN11alglib_impl11modelerrorsE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!23 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !24, i64 0, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !12, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !17, i64 112}
!24 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !17, i64 8, !15, i64 40}
!25 = !{!"_ZTSN11alglib_impl13minlbfgsstateE", !12, i64 0, !12, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !12, i64 40, !15, i64 48, !10, i64 56, !19, i64 64, !10, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !19, i64 176, !16, i64 240, !16, i64 320, !19, i64 400, !19, i64 464, !19, i64 528, !10, i64 592, !19, i64 600, !10, i64 664, !10, i64 672, !19, i64 680, !12, i64 744, !10, i64 752, !16, i64 760, !19, i64 840, !19, i64 904, !19, i64 968, !16, i64 1032, !12, i64 1112, !26, i64 1120, !27, i64 1584, !10, i64 2032, !10, i64 2040, !10, i64 2048, !10, i64 2056, !10, i64 2064, !19, i64 2072, !19, i64 2136, !19, i64 2200, !10, i64 2264, !19, i64 2272, !15, i64 2336, !15, i64 2337, !15, i64 2338, !15, i64 2339, !10, i64 2344, !28, i64 2352, !12, i64 2616, !12, i64 2624, !12, i64 2632, !30, i64 2640, !12, i64 2832, !31, i64 2840, !19, i64 6808}
!26 = !{!"_ZTSN11alglib_impl12precbuflbfgsE", !19, i64 0, !19, i64 64, !19, i64 128, !16, i64 192, !19, i64 272, !19, i64 336, !19, i64 400}
!27 = !{!"_ZTSN11alglib_impl14precbuflowrankE", !12, i64 0, !12, i64 8, !19, i64 16, !16, i64 80, !19, i64 160, !16, i64 224, !16, i64 304, !19, i64 384}
!28 = !{!"_ZTSN11alglib_impl10rcommstateE", !29, i64 0, !19, i64 8, !19, i64 72, !19, i64 136, !19, i64 200}
!29 = !{!"int", !7, i64 0}
!30 = !{!"_ZTSN11alglib_impl11linminstateE", !15, i64 0, !15, i64 1, !12, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184}
!31 = !{!"_ZTSN11alglib_impl17smoothnessmonitorE", !12, i64 0, !12, i64 8, !15, i64 16, !19, i64 24, !12, i64 88, !19, i64 96, !19, i64 160, !19, i64 224, !16, i64 288, !19, i64 368, !19, i64 432, !12, i64 496, !15, i64 504, !15, i64 505, !10, i64 512, !10, i64 520, !15, i64 528, !32, i64 536, !10, i64 832, !10, i64 840, !33, i64 848, !33, i64 1152, !10, i64 1456, !10, i64 1464, !34, i64 1472, !34, i64 1784, !15, i64 2096, !19, i64 2104, !19, i64 2168, !16, i64 2232, !28, i64 2312, !19, i64 2576, !19, i64 2640, !19, i64 2704, !19, i64 2768, !19, i64 2832, !19, i64 2896, !19, i64 2960, !19, i64 3024, !16, i64 3088, !16, i64 3168, !19, i64 3248, !19, i64 3312, !19, i64 3376, !19, i64 3440, !19, i64 3504, !19, i64 3568, !19, i64 3632, !19, i64 3696, !19, i64 3760, !19, i64 3824, !16, i64 3888}
!32 = !{!"_ZTSN11alglib_impl14optguardreportE", !15, i64 0, !15, i64 1, !12, i64 8, !10, i64 16, !15, i64 24, !15, i64 25, !15, i64 26, !12, i64 32, !10, i64 40, !15, i64 48, !12, i64 56, !12, i64 64, !19, i64 72, !16, i64 136, !16, i64 216}
!33 = !{!"_ZTSN11alglib_impl24optguardnonc1test0reportE", !15, i64 0, !12, i64 8, !19, i64 16, !19, i64 80, !12, i64 144, !19, i64 152, !19, i64 216, !12, i64 280, !12, i64 288, !12, i64 296}
!34 = !{!"_ZTSN11alglib_impl24optguardnonc1test1reportE", !15, i64 0, !12, i64 8, !12, i64 16, !19, i64 24, !19, i64 88, !12, i64 152, !19, i64 160, !19, i64 224, !12, i64 288, !12, i64 296, !12, i64 304}
!35 = !{!"_ZTSN11alglib_impl14minlbfgsreportE", !12, i64 0, !12, i64 8, !12, i64 16}
!36 = !{!"_ZTSN11alglib_impl10hqrndstateE", !12, i64 0, !12, i64 8, !12, i64 16}
!37 = !{!14, !12, i64 48}


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

@.str.375 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.376 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.377 = external hidden unnamed_addr constant [22 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl10mlpsetcondEPNS_10mlptrainerEdlPNS_8ae_stateE(ptr nocapture noundef writeonly %0, double noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #1 {
  %5 = tail call noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef %1, ptr noundef %3)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %5, ptr noundef nonnull @.str.375, ptr noundef %3)
  %6 = tail call noundef zeroext i1 @_ZN11alglib_impl16ae_fp_greater_eqEdd(double noundef %1, double noundef 0.000000e+00)
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %6, ptr noundef nonnull @.str.376, ptr noundef %3)
  %7 = icmp sgt i64 %2, -1
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %7, ptr noundef nonnull @.str.377, ptr noundef %3)
  %8 = tail call noundef zeroext i1 @_ZN11alglib_impl9ae_fp_neqEdd(double noundef %1, double noundef 0.000000e+00)
  %9 = icmp ne i64 %2, 0
  %or.cond = or i1 %9, %8
  %.sink15 = select i1 %or.cond, double %1, double 5.000000e-03
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  store double %.sink15, ptr %10, align 8
  %11 = getelementptr inbounds i8, ptr %0, i64 48
  store i64 %2, ptr %11, align 8
  ret void
}

declare noundef zeroext i1 @_ZN11alglib_impl11ae_isfiniteEdPNS_8ae_stateE(double noundef, ptr noundef) local_unnamed_addr #0

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

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

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

!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)"}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,InstCombinePass,JumpThreadingPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass