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

; 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_nxpool" = type { i64, i64, i64, i64, %"struct.alglib_impl::ae_dyn_block", %"struct.alglib_impl::ae_lock", %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }

; Function Attrs: noreturn nounwind
declare void @abort() #0

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl9ae_sizeofEl(i64 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl14ae_check_zerosEPKvl(ptr noundef, i64 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl10ae_db_initEPNS_12ae_dyn_blockElPNS_8ae_stateEb(ptr noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl17ae_nxpool_destroyEPNS_9ae_nxpoolE(ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl19ae_nxpool_init_copyEPNS_9ae_nxpoolEPKS0_PNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = 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
  %13 = zext i1 %3 to i8
  store i8 %13, ptr %8, align 1, !tbaa !9
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %17, label %16

16:                                               ; preds = %4
  call void @abort() #6
  unreachable

17:                                               ; preds = %4
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = call noundef zeroext i1 @_ZN11alglib_impl14ae_check_zerosEPKvl(ptr noundef %18, i64 noundef 144)
  br i1 %19, label %21, label %20

20:                                               ; preds = %17
  call void @abort() #6
  unreachable

21:                                               ; preds = %17
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %22, i32 0, i32 6
  %24 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %23, i32 0, i32 1
  store ptr @_ZN11alglib_impl17ae_nxpool_destroyEPNS_9ae_nxpoolE, ptr %24, align 8, !tbaa !11
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %26, i32 0, i32 6
  %28 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %27, i32 0, i32 2
  store volatile ptr %25, ptr %28, align 8, !tbaa !16
  %29 = load i8, ptr %8, align 1, !tbaa !9, !range !17, !noundef !18
  %30 = trunc i8 %29 to i1
  br i1 %30, label %31, label %35

31:                                               ; preds = %21
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %32, i32 0, i32 6
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl12ae_db_attachEPNS_12ae_dyn_blockEPNS_8ae_stateE(ptr noundef %33, ptr noundef %34)
  br label %35

35:                                               ; preds = %31, %21
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %36, i32 0, i32 0
  %38 = load i64, ptr %37, align 8, !tbaa !19
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %39, i32 0, i32 0
  store i64 %38, ptr %40, align 8, !tbaa !19
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %41, i32 0, i32 1
  %43 = load i64, ptr %42, align 8, !tbaa !20
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %44, i32 0, i32 1
  store i64 %43, ptr %45, align 8, !tbaa !20
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %46, i32 0, i32 2
  %48 = load i64, ptr %47, align 8, !tbaa !21
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %49, i32 0, i32 2
  store i64 %48, ptr %50, align 8, !tbaa !21
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %51, i32 0, i32 3
  %53 = load i64, ptr %52, align 8, !tbaa !22
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %54, i32 0, i32 3
  store i64 %53, ptr %55, align 8, !tbaa !22
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %56, i32 0, i32 4
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %58, i32 0, i32 2
  %60 = load i64, ptr %59, align 8, !tbaa !21
  %61 = mul i64 %60, 32
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl10ae_db_initEPNS_12ae_dyn_blockElPNS_8ae_stateEb(ptr noundef %57, i64 noundef %61, ptr noundef %62, i1 noundef zeroext false)
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %63, i32 0, i32 4
  %65 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %64, i32 0, i32 2
  %66 = load volatile ptr, ptr %65, align 8, !tbaa !23
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %67, i32 0, i32 2
  %69 = load i64, ptr %68, align 8, !tbaa !21
  %70 = mul i64 %69, 32
  call void @llvm.memset.p0.i64(ptr align 1 %66, i8 0, i64 %70, i1 false)
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %71, i32 0, i32 5
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl12ae_init_lockEPNS_7ae_lockEPNS_8ae_stateEb(ptr noundef %72, ptr noundef %73, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store i64 0, ptr %9, align 8, !tbaa !24
  br label %74

74:                                               ; preds = %112, %35
  %75 = load i64, ptr %9, align 8, !tbaa !24
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %76, i32 0, i32 3
  %78 = load i64, ptr %77, align 8, !tbaa !22
  %79 = icmp slt i64 %75, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %115

81:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %82, i32 0, i32 0
  %84 = load i64, ptr %83, align 8, !tbaa !19
  %85 = call noundef i64 @_ZN11alglib_impl9ae_sizeofEl(i64 noundef %84)
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %86, i32 0, i32 1
  %88 = load i64, ptr %87, align 8, !tbaa !20
  %89 = mul nsw i64 %85, %88
  store i64 %89, ptr %10, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %90, i32 0, i32 4
  %92 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %91, i32 0, i32 2
  %93 = load volatile ptr, ptr %92, align 8, !tbaa !23
  %94 = load i64, ptr %9, align 8, !tbaa !24
  %95 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %93, i64 %94
  store ptr %95, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.alglib_impl::ae_nxpool", ptr %96, i32 0, i32 4
  %98 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %97, i32 0, i32 2
  %99 = load volatile ptr, ptr %98, align 8, !tbaa !23
  %100 = load i64, ptr %9, align 8, !tbaa !24
  %101 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %99, i64 %100
  store ptr %101, ptr %12, align 8, !tbaa !5
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = load i64, ptr %10, align 8, !tbaa !24
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN11alglib_impl10ae_db_initEPNS_12ae_dyn_blockElPNS_8ae_stateEb(ptr noundef %102, i64 noundef %103, ptr noundef %104, i1 noundef zeroext false)
  %105 = load ptr, ptr %11, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %105, i32 0, i32 2
  %107 = load volatile ptr, ptr %106, align 8, !tbaa !25
  %108 = load ptr, ptr %12, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %108, i32 0, i32 2
  %110 = load volatile ptr, ptr %109, align 8, !tbaa !25
  %111 = load i64, ptr %10, align 8, !tbaa !24
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %107, ptr align 1 %110, i64 %111, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %112

112:                                              ; preds = %81
  %113 = load i64, ptr %9, align 8, !tbaa !24
  %114 = add nsw i64 %113, 1
  store i64 %114, ptr %9, align 8, !tbaa !24
  br label %74, !llvm.loop !26

115:                                              ; preds = %80
  ret void
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { noreturn nounwind }
attributes #7 = { 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, !6, i64 120}
!12 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !14, i64 32, !15, i64 64, !14, i64 112}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !14, i64 8, !10, i64 40}
!16 = !{!12, !6, i64 128}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!12, !13, i64 0}
!20 = !{!12, !13, i64 8}
!21 = !{!12, !13, i64 16}
!22 = !{!12, !13, i64 24}
!23 = !{!12, !6, i64 48}
!24 = !{!13, !13, i64 0}
!25 = !{!14, !6, i64 16}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


; 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_dyn_block" = type { ptr, ptr, ptr, ptr }

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #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 nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl9ae_sizeofEl(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN11alglib_impl14ae_check_zerosEPKvl(ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11alglib_impl12ae_db_attachEPNS_12ae_dyn_blockEPNS_8ae_stateE(ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl19ae_nxpool_init_copyEPNS_9ae_nxpoolEPKS0_PNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #3 {
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %5, label %6

5:                                                ; preds = %4
  tail call void @abort() #5
  unreachable

6:                                                ; preds = %4
  %7 = tail call noundef zeroext i1 @_ZN11alglib_impl14ae_check_zerosEPKvl(ptr noundef %0, i64 noundef 144)
  br i1 %7, label %9, label %8

8:                                                ; preds = %6
  tail call void @abort() #5
  unreachable

9:                                                ; preds = %6
  %10 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr @_ZN11alglib_impl17ae_nxpool_destroyEPNS_9ae_nxpoolE, ptr %10, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 128
  store volatile ptr %0, ptr %11, align 8, !tbaa !14
  br i1 %3, label %12, label %14

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZN11alglib_impl12ae_db_attachEPNS_12ae_dyn_blockEPNS_8ae_stateE(ptr noundef nonnull %13, ptr noundef nonnull %2)
  br label %14

14:                                               ; preds = %12, %9
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load <2 x i64>, ptr %1, align 8, !tbaa !15
  store <2 x i64> %16, ptr %0, align 8, !tbaa !15
  %17 = getelementptr inbounds i8, ptr %1, i64 16
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = getelementptr inbounds i8, ptr %0, i64 24
  %20 = load <2 x i64>, ptr %17, align 8, !tbaa !15
  store <2 x i64> %20, ptr %18, align 8, !tbaa !15
  %21 = getelementptr inbounds i8, ptr %0, i64 32
  %22 = extractelement <2 x i64> %20, i64 0
  %23 = shl i64 %22, 5
  tail call void @_ZN11alglib_impl10ae_db_initEPNS_12ae_dyn_blockElPNS_8ae_stateEb(ptr noundef nonnull %21, i64 noundef %23, ptr noundef nonnull %2, i1 noundef zeroext false)
  %24 = getelementptr inbounds i8, ptr %0, i64 48
  %25 = load volatile ptr, ptr %24, align 8, !tbaa !16
  %26 = load i64, ptr %18, align 8, !tbaa !17
  %27 = shl i64 %26, 5
  tail call void @llvm.memset.p0.i64(ptr align 1 %25, i8 0, i64 %27, i1 false)
  %28 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZN11alglib_impl12ae_init_lockEPNS_7ae_lockEPNS_8ae_stateEb(ptr noundef nonnull %28, ptr noundef nonnull %2, i1 noundef zeroext false)
  %29 = load i64, ptr %19, align 8, !tbaa !18
  %30 = icmp sgt i64 %29, 0
  br i1 %30, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %14
  %31 = getelementptr inbounds i8, ptr %1, i64 48
  br label %32

._crit_edge:                                      ; preds = %32, %14
  ret void

32:                                               ; preds = %.lr.ph, %32
  %.038 = phi i64 [ 0, %.lr.ph ], [ %44, %32 ]
  %33 = load i64, ptr %0, align 8, !tbaa !19
  %34 = tail call noundef i64 @_ZN11alglib_impl9ae_sizeofEl(i64 noundef %33)
  %35 = load i64, ptr %15, align 8, !tbaa !20
  %36 = mul nsw i64 %35, %34
  %37 = load volatile ptr, ptr %24, align 8, !tbaa !16
  %38 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %37, i64 %.038
  %39 = load volatile ptr, ptr %31, align 8, !tbaa !16
  tail call void @_ZN11alglib_impl10ae_db_initEPNS_12ae_dyn_blockElPNS_8ae_stateEb(ptr noundef %38, i64 noundef %36, ptr noundef nonnull %2, i1 noundef zeroext false)
  %40 = getelementptr inbounds i8, ptr %38, i64 16
  %41 = load volatile ptr, ptr %40, align 8, !tbaa !21
  %42 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %39, i64 %.038, i32 2
  %43 = load volatile ptr, ptr %42, align 8, !tbaa !21
  tail call void @llvm.memmove.p0.p0.i64(ptr align 1 %41, ptr align 1 %43, i64 %36, i1 false)
  %44 = add nuw nsw i64 %.038, 1
  %45 = load i64, ptr %19, align 8, !tbaa !18
  %46 = icmp slt i64 %44, %45
  br i1 %46, label %32, label %._crit_edge, !llvm.loop !22
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { noreturn 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, !11, i64 120}
!6 = !{!"_ZTSN11alglib_impl9ae_nxpoolE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !12, i64 64, !10, i64 112}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_ZTSN11alglib_impl7ae_lockE", !11, i64 0, !10, i64 8, !13, i64 40}
!13 = !{!"bool", !8, i64 0}
!14 = !{!6, !11, i64 128}
!15 = !{!7, !7, i64 0}
!16 = !{!6, !11, i64 48}
!17 = !{!6, !7, i64 16}
!18 = !{!6, !7, i64 24}
!19 = !{!6, !7, i64 0}
!20 = !{!6, !7, i64 8}
!21 = !{!10, !11, i64 16}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass