; LLVM IR from Dimandragon/non-parametric-dsp :: alglib-cpp/src/linalg.ll (ZN11alglib_impl25_fblsgmresstate_init_copyEPvPKvPNS_8ae_stateEb)

; 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::fblsgmresstate" = 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_matrix", %"struct.alglib_impl::ae_matrix", %"struct.alglib_impl::ae_matrix", %"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", i64, i64, double, double, double, double, i64, i64, double, %"struct.alglib_impl::rcommstate" }
%"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::ae_vector" = type { i64, i64, i8, %"struct.alglib_impl::ae_dyn_block", %union.anon.1 }
%union.anon.1 = type { ptr }
%"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" }

; 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_impl21_rcommstate_init_copyEPNS_10rcommstateEPKS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl25_fblsgmresstate_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 %9, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %14, i32 0, i32 0
  %16 = load ptr, ptr %10, align 8, !tbaa !5
  %17 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %16, i32 0, i32 0
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %20 = trunc i8 %19 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %15, ptr noundef %17, ptr noundef %18, i1 noundef zeroext %20)
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  %22 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %21, i32 0, i32 1
  %23 = load ptr, ptr %10, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %23, i32 0, i32 1
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %27 = trunc i8 %26 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %22, ptr noundef %24, ptr noundef %25, i1 noundef zeroext %27)
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %28, i32 0, i32 2
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %30, i32 0, i32 2
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %34 = trunc i8 %33 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %29, ptr noundef %31, ptr noundef %32, i1 noundef zeroext %34)
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %35, i32 0, i32 3
  %37 = load ptr, ptr %10, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %37, i32 0, i32 3
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %41 = trunc i8 %40 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %36, ptr noundef %38, ptr noundef %39, i1 noundef zeroext %41)
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %42, i32 0, i32 4
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %44, i32 0, i32 4
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %48 = trunc i8 %47 to i1
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %43, ptr noundef %45, ptr noundef %46, i1 noundef zeroext %48)
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %49, i32 0, i32 5
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %51, i32 0, i32 5
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %55 = trunc i8 %54 to i1
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %50, ptr noundef %52, ptr noundef %53, i1 noundef zeroext %55)
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %56, i32 0, i32 6
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %58, i32 0, i32 6
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %62 = trunc i8 %61 to i1
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %57, ptr noundef %59, ptr noundef %60, i1 noundef zeroext %62)
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %63, i32 0, i32 7
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %65, i32 0, i32 7
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %69 = trunc i8 %68 to i1
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %64, ptr noundef %66, ptr noundef %67, i1 noundef zeroext %69)
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %70, i32 0, i32 8
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %72, i32 0, i32 8
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %76 = trunc i8 %75 to i1
  call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef %71, ptr noundef %73, ptr noundef %74, i1 noundef zeroext %76)
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %77, i32 0, i32 9
  %79 = load ptr, ptr %10, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %79, i32 0, i32 9
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %83 = trunc i8 %82 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %78, ptr noundef %80, ptr noundef %81, i1 noundef zeroext %83)
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %84, i32 0, i32 10
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %86, i32 0, i32 10
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %90 = trunc i8 %89 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %85, ptr noundef %87, ptr noundef %88, i1 noundef zeroext %90)
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %91, i32 0, i32 11
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %93, i32 0, i32 11
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %97 = trunc i8 %96 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %92, ptr noundef %94, ptr noundef %95, i1 noundef zeroext %97)
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %98, i32 0, i32 12
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %100, i32 0, i32 12
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %104 = trunc i8 %103 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %99, ptr noundef %101, ptr noundef %102, i1 noundef zeroext %104)
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %105, i32 0, i32 13
  %107 = load i64, ptr %106, align 8, !tbaa !13
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %108, i32 0, i32 13
  store i64 %107, ptr %109, align 8, !tbaa !13
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %110, i32 0, i32 14
  %112 = load i64, ptr %111, align 8, !tbaa !22
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %113, i32 0, i32 14
  store i64 %112, ptr %114, align 8, !tbaa !22
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %115, i32 0, i32 15
  %117 = load double, ptr %116, align 8, !tbaa !23
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %118, i32 0, i32 15
  store double %117, ptr %119, align 8, !tbaa !23
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %120, i32 0, i32 16
  %122 = load double, ptr %121, align 8, !tbaa !24
  %123 = load ptr, ptr %9, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %123, i32 0, i32 16
  store double %122, ptr %124, align 8, !tbaa !24
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %125, i32 0, i32 17
  %127 = load double, ptr %126, align 8, !tbaa !25
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %128, i32 0, i32 17
  store double %127, ptr %129, align 8, !tbaa !25
  %130 = load ptr, ptr %10, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %130, i32 0, i32 18
  %132 = load double, ptr %131, align 8, !tbaa !26
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %133, i32 0, i32 18
  store double %132, ptr %134, align 8, !tbaa !26
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %135, i32 0, i32 19
  %137 = load i64, ptr %136, align 8, !tbaa !27
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %138, i32 0, i32 19
  store i64 %137, ptr %139, align 8, !tbaa !27
  %140 = load ptr, ptr %10, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %140, i32 0, i32 20
  %142 = load i64, ptr %141, align 8, !tbaa !28
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %143, i32 0, i32 20
  store i64 %142, ptr %144, align 8, !tbaa !28
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %145, i32 0, i32 21
  %147 = load double, ptr %146, align 8, !tbaa !29
  %148 = load ptr, ptr %9, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %148, i32 0, i32 21
  store double %147, ptr %149, align 8, !tbaa !29
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %150, i32 0, i32 22
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.alglib_impl::fblsgmresstate", ptr %152, i32 0, i32 22
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %156 = trunc i8 %155 to i1
  call void @_ZN11alglib_impl21_rcommstate_init_copyEPNS_10rcommstateEPKS0_PNS_8ae_stateEb(ptr noundef %151, ptr noundef %153, ptr noundef %154, i1 noundef zeroext %156)
  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 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !16, i64 912}
!14 = !{!"_ZTSN11alglib_impl14fblsgmresstateE", !15, i64 0, !15, i64 64, !15, i64 128, !15, i64 192, !18, i64 256, !18, i64 336, !18, i64 416, !18, i64 496, !18, i64 576, !15, i64 656, !15, i64 720, !15, i64 784, !15, i64 848, !16, i64 912, !16, i64 920, !19, i64 928, !19, i64 936, !19, i64 944, !19, i64 952, !16, i64 960, !16, i64 968, !19, i64 976, !20, i64 984}
!15 = !{!"_ZTSN11alglib_impl9ae_vectorE", !16, i64 0, !16, i64 8, !10, i64 16, !17, i64 24, !7, i64 56}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!18 = !{!"_ZTSN11alglib_impl9ae_matrixE", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !10, i64 32, !17, i64 40, !7, i64 72}
!19 = !{!"double", !7, i64 0}
!20 = !{!"_ZTSN11alglib_impl10rcommstateE", !21, i64 0, !15, i64 8, !15, i64 72, !15, i64 136, !15, i64 200}
!21 = !{!"int", !7, i64 0}
!22 = !{!14, !16, i64 920}
!23 = !{!14, !19, i64 928}
!24 = !{!14, !19, i64 936}
!25 = !{!14, !19, i64 944}
!26 = !{!14, !19, i64 952}
!27 = !{!14, !16, i64 960}
!28 = !{!14, !16, i64 968}
!29 = !{!14, !19, i64 976}


; 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_impl21_rcommstate_init_copyEPNS_10rcommstateEPKS0_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl25_fblsgmresstate_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #1 {
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3)
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  %6 = getelementptr inbounds i8, ptr %1, i64 64
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef %2, i1 noundef zeroext %3)
  %7 = getelementptr inbounds i8, ptr %0, i64 128
  %8 = getelementptr inbounds i8, ptr %1, i64 128
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef %2, i1 noundef zeroext %3)
  %9 = getelementptr inbounds i8, ptr %0, i64 192
  %10 = getelementptr inbounds i8, ptr %1, i64 192
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef %2, i1 noundef zeroext %3)
  %11 = getelementptr inbounds i8, ptr %0, i64 256
  %12 = getelementptr inbounds i8, ptr %1, i64 256
  tail call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef %2, i1 noundef zeroext %3)
  %13 = getelementptr inbounds i8, ptr %0, i64 336
  %14 = getelementptr inbounds i8, ptr %1, i64 336
  tail call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef %2, i1 noundef zeroext %3)
  %15 = getelementptr inbounds i8, ptr %0, i64 416
  %16 = getelementptr inbounds i8, ptr %1, i64 416
  tail call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef %2, i1 noundef zeroext %3)
  %17 = getelementptr inbounds i8, ptr %0, i64 496
  %18 = getelementptr inbounds i8, ptr %1, i64 496
  tail call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %17, ptr noundef nonnull %18, ptr noundef %2, i1 noundef zeroext %3)
  %19 = getelementptr inbounds i8, ptr %0, i64 576
  %20 = getelementptr inbounds i8, ptr %1, i64 576
  tail call void @_ZN11alglib_impl19ae_matrix_init_copyEPNS_9ae_matrixEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef %2, i1 noundef zeroext %3)
  %21 = getelementptr inbounds i8, ptr %0, i64 656
  %22 = getelementptr inbounds i8, ptr %1, i64 656
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %21, ptr noundef nonnull %22, ptr noundef %2, i1 noundef zeroext %3)
  %23 = getelementptr inbounds i8, ptr %0, i64 720
  %24 = getelementptr inbounds i8, ptr %1, i64 720
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %23, ptr noundef nonnull %24, ptr noundef %2, i1 noundef zeroext %3)
  %25 = getelementptr inbounds i8, ptr %0, i64 784
  %26 = getelementptr inbounds i8, ptr %1, i64 784
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef %2, i1 noundef zeroext %3)
  %27 = getelementptr inbounds i8, ptr %0, i64 848
  %28 = getelementptr inbounds i8, ptr %1, i64 848
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %27, ptr noundef nonnull %28, ptr noundef %2, i1 noundef zeroext %3)
  %29 = getelementptr inbounds i8, ptr %1, i64 912
  %30 = getelementptr inbounds i8, ptr %0, i64 912
  %31 = load <2 x i64>, ptr %29, align 8, !tbaa !5
  store <2 x i64> %31, ptr %30, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %1, i64 928
  %33 = getelementptr inbounds i8, ptr %0, i64 928
  %34 = load <2 x double>, ptr %32, align 8, !tbaa !9
  store <2 x double> %34, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %1, i64 944
  %36 = getelementptr inbounds i8, ptr %0, i64 944
  %37 = load <2 x double>, ptr %35, align 8, !tbaa !9
  store <2 x double> %37, ptr %36, align 8, !tbaa !9
  %38 = getelementptr inbounds i8, ptr %1, i64 960
  %39 = getelementptr inbounds i8, ptr %0, i64 960
  %40 = load <2 x i64>, ptr %38, align 8, !tbaa !5
  store <2 x i64> %40, ptr %39, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %1, i64 976
  %42 = load double, ptr %41, align 8, !tbaa !11
  %43 = getelementptr inbounds i8, ptr %0, i64 976
  store double %42, ptr %43, align 8, !tbaa !11
  %44 = getelementptr inbounds i8, ptr %0, i64 984
  %45 = getelementptr inbounds i8, ptr %1, i64 984
  tail call void @_ZN11alglib_impl21_rcommstate_init_copyEPNS_10rcommstateEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %44, ptr noundef nonnull %45, 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, !6, i64 0}
!6 = !{!"long", !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, !10, i64 976}
!12 = !{!"_ZTSN11alglib_impl14fblsgmresstateE", !13, i64 0, !13, i64 64, !13, i64 128, !13, i64 192, !17, i64 256, !17, i64 336, !17, i64 416, !17, i64 496, !17, i64 576, !13, i64 656, !13, i64 720, !13, i64 784, !13, i64 848, !6, i64 912, !6, i64 920, !10, i64 928, !10, i64 936, !10, i64 944, !10, i64 952, !6, i64 960, !6, i64 968, !10, i64 976, !18, i64 984}
!13 = !{!"_ZTSN11alglib_impl9ae_vectorE", !6, i64 0, !6, i64 8, !14, i64 16, !15, i64 24, !7, i64 56}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl9ae_matrixE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !14, i64 32, !15, i64 40, !7, i64 72}
!18 = !{!"_ZTSN11alglib_impl10rcommstateE", !19, i64 0, !13, i64 8, !13, i64 72, !13, i64 136, !13, i64 200}
!19 = !{!"int", !7, i64 0}


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