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

; 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::acbfbuilder" = type { i8, i64, i64, %"struct.alglib_impl::ae_matrix", i64, double, double, i64, %"struct.alglib_impl::ae_vector", double, i64, i64, double, i64, double, i64, %"struct.alglib_impl::kdtree", %"struct.alglib_impl::kdtree", %"struct.alglib_impl::kdtree", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_shared_pool", %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_matrix" = type { i64, i64, i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%union.anon.1 = type { ptr }
%"struct.alglib_impl::kdtree" = type { i64, i64, i64, i64, %"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::kdtreerequestbuffer", i64 }
%"struct.alglib_impl::kdtreerequestbuffer" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, double, i8, double, 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", double, %"struct.alglib_impl::ae_vector" }
%"struct.alglib_impl::ae_shared_pool" = type { %"struct.alglib_impl::ae_lock", ptr, ptr, ptr, ptr, i64, 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::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.0 }
%union.anon.0 = type { ptr }

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl22_acbfbuilder_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %11 = zext i1 %3 to i8
  store i8 %11, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %12, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %13, ptr %10, align 8, !tbaa !5
  %14 = load ptr, ptr %10, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %14, i32 0, i32 0
  %16 = load i8, ptr %15, align 8, !tbaa !11, !range !22, !noundef !23
  %17 = trunc i8 %16 to i1
  %18 = load ptr, ptr %9, align 8, !tbaa !5
  %19 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %18, i32 0, i32 0
  %20 = zext i1 %17 to i8
  store i8 %20, ptr %19, align 8, !tbaa !11
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %21, i32 0, i32 1
  %23 = load i64, ptr %22, align 8, !tbaa !24
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %24, i32 0, i32 1
  store i64 %23, ptr %25, align 8, !tbaa !24
  %26 = load ptr, ptr %10, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %26, i32 0, i32 2
  %28 = load i64, ptr %27, align 8, !tbaa !25
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %29, i32 0, i32 2
  store i64 %28, ptr %30, align 8, !tbaa !25
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %31, i32 0, i32 3
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %33, i32 0, i32 3
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = load i8, ptr %8, align 1, !tbaa !9, !range !22, !noundef !23
  %37 = trunc i8 %36 to i1
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %32, ptr noundef %34, ptr noundef %35, i1 noundef zeroext %37)
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %38, i32 0, i32 4
  %40 = load i64, ptr %39, align 8, !tbaa !26
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %41, i32 0, i32 4
  store i64 %40, ptr %42, align 8, !tbaa !26
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %43, i32 0, i32 5
  %45 = load double, ptr %44, align 8, !tbaa !27
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %46, i32 0, i32 5
  store double %45, ptr %47, align 8, !tbaa !27
  %48 = load ptr, ptr %10, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %48, i32 0, i32 6
  %50 = load double, ptr %49, align 8, !tbaa !28
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %51, i32 0, i32 6
  store double %50, ptr %52, align 8, !tbaa !28
  %53 = load ptr, ptr %10, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %53, i32 0, i32 7
  %55 = load i64, ptr %54, align 8, !tbaa !29
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %56, i32 0, i32 7
  store i64 %55, ptr %57, align 8, !tbaa !29
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %58, i32 0, i32 8
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %60, i32 0, i32 8
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = load i8, ptr %8, align 1, !tbaa !9, !range !22, !noundef !23
  %64 = trunc i8 %63 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %59, ptr noundef %61, ptr noundef %62, i1 noundef zeroext %64)
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %65, i32 0, i32 9
  %67 = load double, ptr %66, align 8, !tbaa !30
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %68, i32 0, i32 9
  store double %67, ptr %69, align 8, !tbaa !30
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %70, i32 0, i32 10
  %72 = load i64, ptr %71, align 8, !tbaa !31
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %73, i32 0, i32 10
  store i64 %72, ptr %74, align 8, !tbaa !31
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %75, i32 0, i32 11
  %77 = load i64, ptr %76, align 8, !tbaa !32
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %78, i32 0, i32 11
  store i64 %77, ptr %79, align 8, !tbaa !32
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %80, i32 0, i32 12
  %82 = load double, ptr %81, align 8, !tbaa !33
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %83, i32 0, i32 12
  store double %82, ptr %84, align 8, !tbaa !33
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %85, i32 0, i32 13
  %87 = load i64, ptr %86, align 8, !tbaa !34
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %88, i32 0, i32 13
  store i64 %87, ptr %89, align 8, !tbaa !34
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %90, i32 0, i32 14
  %92 = load double, ptr %91, align 8, !tbaa !35
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %93, i32 0, i32 14
  store double %92, ptr %94, align 8, !tbaa !35
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %95, i32 0, i32 15
  %97 = load i64, ptr %96, align 8, !tbaa !36
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %98, i32 0, i32 15
  store i64 %97, ptr %99, align 8, !tbaa !36
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %100, i32 0, i32 16
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %102, i32 0, i32 16
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = load i8, ptr %8, align 1, !tbaa !9, !range !22, !noundef !23
  %106 = trunc i8 %105 to i1
  call void @_ZN11alglib_impl17_kdtree_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %101, ptr noundef %103, ptr noundef %104, i1 noundef zeroext %106)
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %107, i32 0, i32 17
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %109, i32 0, i32 17
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = load i8, ptr %8, align 1, !tbaa !9, !range !22, !noundef !23
  %113 = trunc i8 %112 to i1
  call void @_ZN11alglib_impl17_kdtree_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %108, ptr noundef %110, ptr noundef %111, i1 noundef zeroext %113)
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %114, i32 0, i32 18
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %116, i32 0, i32 18
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = load i8, ptr %8, align 1, !tbaa !9, !range !22, !noundef !23
  %120 = trunc i8 %119 to i1
  call void @_ZN11alglib_impl17_kdtree_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %115, ptr noundef %117, ptr noundef %118, i1 noundef zeroext %120)
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %121, i32 0, i32 19
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %123, i32 0, i32 19
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = load i8, ptr %8, align 1, !tbaa !9, !range !22, !noundef !23
  %127 = trunc i8 %126 to i1
  call void @_ZN11alglib_impl24ae_shared_pool_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %122, ptr noundef %124, ptr noundef %125, i1 noundef zeroext %127)
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %128, i32 0, i32 20
  %130 = load ptr, ptr %10, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %130, i32 0, i32 20
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = load i8, ptr %8, align 1, !tbaa !9, !range !22, !noundef !23
  %134 = trunc i8 %133 to i1
  call void @_ZN11alglib_impl24ae_shared_pool_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %129, ptr noundef %131, ptr noundef %132, i1 noundef zeroext %134)
  %135 = load ptr, ptr %9, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %135, i32 0, i32 21
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %137, i32 0, i32 21
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = load i8, ptr %8, align 1, !tbaa !9, !range !22, !noundef !23
  %141 = trunc i8 %140 to i1
  call void @_ZN11alglib_impl24ae_shared_pool_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %136, ptr noundef %138, ptr noundef %139, i1 noundef zeroext %141)
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %142, i32 0, i32 22
  %144 = load ptr, ptr %10, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.alglib_impl::acbfbuilder", ptr %144, i32 0, i32 22
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = load i8, ptr %8, align 1, !tbaa !9, !range !22, !noundef !23
  %148 = trunc i8 %147 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %143, ptr noundef %145, ptr noundef %146, i1 noundef zeroext %148)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret void
}

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 = { 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 #3 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN11alglib_impl11acbfbuilderE", !10, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !13, i64 104, !16, i64 112, !16, i64 120, !13, i64 128, !17, i64 136, !16, i64 200, !13, i64 208, !13, i64 216, !16, i64 224, !13, i64 232, !16, i64 240, !13, i64 248, !18, i64 256, !18, i64 1320, !18, i64 2384, !20, i64 3448, !20, i64 3584, !20, i64 3720, !17, i64 3856}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl9ae_matrixE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !10, i64 32, !15, i64 40, !7, i64 72}
!15 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl9ae_vectorE", !13, i64 0, !13, i64 8, !10, i64 16, !15, i64 24, !7, i64 56}
!18 = !{!"_ZTSN11alglib_impl6kdtreeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !14, i64 32, !17, i64 112, !17, i64 176, !17, i64 240, !17, i64 304, !17, i64 368, !19, i64 432, !13, i64 1056}
!19 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !17, i64 0, !17, i64 64, !17, i64 128, !13, i64 192, !16, i64 200, !10, i64 208, !16, i64 216, !13, i64 224, !17, i64 232, !17, i64 296, !17, i64 360, !17, i64 424, !17, i64 488, !16, i64 552, !17, i64 560}
!20 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !21, i64 0, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !6, i64 88, !6, i64 96, !15, i64 104}
!21 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !15, i64 8, !10, i64 40}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!12, !13, i64 8}
!25 = !{!12, !13, i64 16}
!26 = !{!12, !13, i64 104}
!27 = !{!12, !16, i64 112}
!28 = !{!12, !16, i64 120}
!29 = !{!12, !13, i64 128}
!30 = !{!12, !16, i64 200}
!31 = !{!12, !13, i64 208}
!32 = !{!12, !13, i64 216}
!33 = !{!12, !16, i64 224}
!34 = !{!12, !13, i64 232}
!35 = !{!12, !16, i64 240}
!36 = !{!12, !13, i64 248}


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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl22_acbfbuilder_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #1 {
  %5 = load i8, ptr %1, align 8, !tbaa !5, !range !20, !noundef !21
  store i8 %5, ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 8
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load <2 x i64>, ptr %6, align 8, !tbaa !22
  store <2 x i64> %8, ptr %7, align 8, !tbaa !22
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = getelementptr inbounds i8, ptr %1, i64 24
  tail call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef %2, i1 noundef zeroext %3)
  %11 = getelementptr inbounds i8, ptr %1, i64 104
  %12 = load i64, ptr %11, align 8, !tbaa !23
  %13 = getelementptr inbounds i8, ptr %0, i64 104
  store i64 %12, ptr %13, align 8, !tbaa !23
  %14 = getelementptr inbounds i8, ptr %1, i64 112
  %15 = getelementptr inbounds i8, ptr %0, i64 112
  %16 = load <2 x double>, ptr %14, align 8, !tbaa !24
  store <2 x double> %16, ptr %15, align 8, !tbaa !24
  %17 = getelementptr inbounds i8, ptr %1, i64 128
  %18 = load i64, ptr %17, align 8, !tbaa !25
  %19 = getelementptr inbounds i8, ptr %0, i64 128
  store i64 %18, ptr %19, align 8, !tbaa !25
  %20 = getelementptr inbounds i8, ptr %0, i64 136
  %21 = getelementptr inbounds i8, ptr %1, i64 136
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef %2, i1 noundef zeroext %3)
  %22 = getelementptr inbounds i8, ptr %1, i64 200
  %23 = load double, ptr %22, align 8, !tbaa !26
  %24 = getelementptr inbounds i8, ptr %0, i64 200
  store double %23, ptr %24, align 8, !tbaa !26
  %25 = getelementptr inbounds i8, ptr %1, i64 208
  %26 = getelementptr inbounds i8, ptr %0, i64 208
  %27 = load <2 x i64>, ptr %25, align 8, !tbaa !22
  store <2 x i64> %27, ptr %26, align 8, !tbaa !22
  %28 = getelementptr inbounds i8, ptr %1, i64 224
  %29 = load double, ptr %28, align 8, !tbaa !27
  %30 = getelementptr inbounds i8, ptr %0, i64 224
  store double %29, ptr %30, align 8, !tbaa !27
  %31 = getelementptr inbounds i8, ptr %1, i64 232
  %32 = load i64, ptr %31, align 8, !tbaa !28
  %33 = getelementptr inbounds i8, ptr %0, i64 232
  store i64 %32, ptr %33, align 8, !tbaa !28
  %34 = getelementptr inbounds i8, ptr %1, i64 240
  %35 = load double, ptr %34, align 8, !tbaa !29
  %36 = getelementptr inbounds i8, ptr %0, i64 240
  store double %35, ptr %36, align 8, !tbaa !29
  %37 = getelementptr inbounds i8, ptr %1, i64 248
  %38 = load i64, ptr %37, align 8, !tbaa !30
  %39 = getelementptr inbounds i8, ptr %0, i64 248
  store i64 %38, ptr %39, align 8, !tbaa !30
  %40 = getelementptr inbounds i8, ptr %0, i64 256
  %41 = getelementptr inbounds i8, ptr %1, i64 256
  tail call void @_ZN11alglib_impl17_kdtree_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %40, ptr noundef nonnull %41, ptr noundef %2, i1 noundef zeroext %3)
  %42 = getelementptr inbounds i8, ptr %0, i64 1320
  %43 = getelementptr inbounds i8, ptr %1, i64 1320
  tail call void @_ZN11alglib_impl17_kdtree_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %42, ptr noundef nonnull %43, ptr noundef %2, i1 noundef zeroext %3)
  %44 = getelementptr inbounds i8, ptr %0, i64 2384
  %45 = getelementptr inbounds i8, ptr %1, i64 2384
  tail call void @_ZN11alglib_impl17_kdtree_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef %2, i1 noundef zeroext %3)
  %46 = getelementptr inbounds i8, ptr %0, i64 3448
  %47 = getelementptr inbounds i8, ptr %1, i64 3448
  tail call void @_ZN11alglib_impl24ae_shared_pool_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %46, ptr noundef nonnull %47, ptr noundef %2, i1 noundef zeroext %3)
  %48 = getelementptr inbounds i8, ptr %0, i64 3584
  %49 = getelementptr inbounds i8, ptr %1, i64 3584
  tail call void @_ZN11alglib_impl24ae_shared_pool_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %48, ptr noundef nonnull %49, ptr noundef %2, i1 noundef zeroext %3)
  %50 = getelementptr inbounds i8, ptr %0, i64 3720
  %51 = getelementptr inbounds i8, ptr %1, i64 3720
  tail call void @_ZN11alglib_impl24ae_shared_pool_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef nonnull %50, ptr noundef nonnull %51, ptr noundef %2, i1 noundef zeroext %3)
  %52 = getelementptr inbounds i8, ptr %0, i64 3856
  %53 = getelementptr inbounds i8, ptr %1, i64 3856
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %52, ptr noundef nonnull %53, ptr noundef %2, i1 noundef zeroext %3)
  ret void
}

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, !7, i64 0}
!6 = !{!"_ZTSN11alglib_impl11acbfbuilderE", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !10, i64 104, !14, i64 112, !14, i64 120, !10, i64 128, !15, i64 136, !14, i64 200, !10, i64 208, !10, i64 216, !14, i64 224, !10, i64 232, !14, i64 240, !10, i64 248, !16, i64 256, !16, i64 1320, !16, i64 2384, !18, i64 3448, !18, i64 3584, !18, i64 3720, !15, i64 3856}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTSN11alglib_impl9ae_matrixE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !12, i64 40, !8, i64 72}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"double", !8, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_vectorE", !10, i64 0, !10, i64 8, !7, i64 16, !12, i64 24, !8, i64 56}
!16 = !{!"_ZTSN11alglib_impl6kdtreeE", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !15, i64 112, !15, i64 176, !15, i64 240, !15, i64 304, !15, i64 368, !17, i64 432, !10, i64 1056}
!17 = !{!"_ZTSN11alglib_impl19kdtreerequestbufferE", !15, i64 0, !15, i64 64, !15, i64 128, !10, i64 192, !14, i64 200, !7, i64 208, !14, i64 216, !10, i64 224, !15, i64 232, !15, i64 296, !15, i64 360, !15, i64 424, !15, i64 488, !14, i64 552, !15, i64 560}
!18 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !19, i64 0, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !10, i64 80, !13, i64 88, !13, i64 96, !12, i64 104}
!19 = !{!"_ZTSN11alglib_impl7ae_lockE", !13, i64 0, !12, i64 8, !7, i64 40}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!10, !10, i64 0}
!23 = !{!6, !10, i64 104}
!24 = !{!14, !14, i64 0}
!25 = !{!6, !10, i64 128}
!26 = !{!6, !14, i64 200}
!27 = !{!6, !14, i64 224}
!28 = !{!6, !10, i64 232}
!29 = !{!6, !14, i64 240}
!30 = !{!6, !10, i64 248}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,TailCallElimPass