; LLVM IR from Dimandragon/non-parametric-dsp :: 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::linesearchstate" = type { double, double, double, double, double, double, i8, i64, i8, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, double, i64, double, double, double, %"struct.alglib_impl::rcommstate" }
%"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::ae_vector" = type { 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 }

; 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_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_impl26_linesearchstate_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::linesearchstate", ptr %14, i32 0, i32 0
  %16 = load double, ptr %15, align 8, !tbaa !11
  %17 = load ptr, ptr %9, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %17, i32 0, i32 0
  store double %16, ptr %18, align 8, !tbaa !11
  %19 = load ptr, ptr %10, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %19, i32 0, i32 1
  %21 = load double, ptr %20, align 8, !tbaa !19
  %22 = load ptr, ptr %9, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %22, i32 0, i32 1
  store double %21, ptr %23, align 8, !tbaa !19
  %24 = load ptr, ptr %10, align 8, !tbaa !5
  %25 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %24, i32 0, i32 2
  %26 = load double, ptr %25, align 8, !tbaa !20
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %27, i32 0, i32 2
  store double %26, ptr %28, align 8, !tbaa !20
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %29, i32 0, i32 3
  %31 = load double, ptr %30, align 8, !tbaa !21
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %32, i32 0, i32 3
  store double %31, ptr %33, align 8, !tbaa !21
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %34, i32 0, i32 4
  %36 = load double, ptr %35, align 8, !tbaa !22
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %37, i32 0, i32 4
  store double %36, ptr %38, align 8, !tbaa !22
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %39, i32 0, i32 5
  %41 = load double, ptr %40, align 8, !tbaa !23
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %42, i32 0, i32 5
  store double %41, ptr %43, align 8, !tbaa !23
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %44, i32 0, i32 6
  %46 = load i8, ptr %45, align 8, !tbaa !24, !range !25, !noundef !26
  %47 = trunc i8 %46 to i1
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %48, i32 0, i32 6
  %50 = zext i1 %47 to i8
  store i8 %50, ptr %49, align 8, !tbaa !24
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %51, i32 0, i32 7
  %53 = load i64, ptr %52, align 8, !tbaa !27
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %54, i32 0, i32 7
  store i64 %53, ptr %55, align 8, !tbaa !27
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %56, i32 0, i32 8
  %58 = load i8, ptr %57, align 8, !tbaa !28, !range !25, !noundef !26
  %59 = trunc i8 %58 to i1
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %60, i32 0, i32 8
  %62 = zext i1 %59 to i8
  store i8 %62, ptr %61, align 8, !tbaa !28
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %63, i32 0, i32 9
  %65 = load i64, ptr %64, align 8, !tbaa !29
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %66, i32 0, i32 9
  store i64 %65, ptr %67, align 8, !tbaa !29
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %68, i32 0, i32 10
  %70 = load double, ptr %69, align 8, !tbaa !30
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %71, i32 0, i32 10
  store double %70, ptr %72, align 8, !tbaa !30
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %73, i32 0, i32 11
  %75 = load double, ptr %74, align 8, !tbaa !31
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %76, i32 0, i32 11
  store double %75, ptr %77, align 8, !tbaa !31
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %78, i32 0, i32 12
  %80 = load double, ptr %79, align 8, !tbaa !32
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %81, i32 0, i32 12
  store double %80, ptr %82, align 8, !tbaa !32
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %83, i32 0, i32 13
  %85 = load double, ptr %84, align 8, !tbaa !33
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %86, i32 0, i32 13
  store double %85, ptr %87, align 8, !tbaa !33
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %88, i32 0, i32 14
  %90 = load double, ptr %89, align 8, !tbaa !34
  %91 = load ptr, ptr %9, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %91, i32 0, i32 14
  store double %90, ptr %92, align 8, !tbaa !34
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %93, i32 0, i32 15
  %95 = load double, ptr %94, align 8, !tbaa !35
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %96, i32 0, i32 15
  store double %95, ptr %97, align 8, !tbaa !35
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %98, i32 0, i32 16
  %100 = load double, ptr %99, align 8, !tbaa !36
  %101 = load ptr, ptr %9, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %101, i32 0, i32 16
  store double %100, ptr %102, align 8, !tbaa !36
  %103 = load ptr, ptr %10, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %103, i32 0, i32 17
  %105 = load double, ptr %104, align 8, !tbaa !37
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %106, i32 0, i32 17
  store double %105, ptr %107, align 8, !tbaa !37
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %108, i32 0, i32 18
  %110 = load double, ptr %109, align 8, !tbaa !38
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %111, i32 0, i32 18
  store double %110, ptr %112, align 8, !tbaa !38
  %113 = load ptr, ptr %10, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %113, i32 0, i32 19
  %115 = load double, ptr %114, align 8, !tbaa !39
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %116, i32 0, i32 19
  store double %115, ptr %117, align 8, !tbaa !39
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %118, i32 0, i32 20
  %120 = load double, ptr %119, align 8, !tbaa !40
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %121, i32 0, i32 20
  store double %120, ptr %122, align 8, !tbaa !40
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %123, i32 0, i32 21
  %125 = load double, ptr %124, align 8, !tbaa !41
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %126, i32 0, i32 21
  store double %125, ptr %127, align 8, !tbaa !41
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %128, i32 0, i32 22
  %130 = load double, ptr %129, align 8, !tbaa !42
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %131, i32 0, i32 22
  store double %130, ptr %132, align 8, !tbaa !42
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %133, i32 0, i32 23
  %135 = load double, ptr %134, align 8, !tbaa !43
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %136, i32 0, i32 23
  store double %135, ptr %137, align 8, !tbaa !43
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %138, i32 0, i32 24
  %140 = load i64, ptr %139, align 8, !tbaa !44
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %141, i32 0, i32 24
  store i64 %140, ptr %142, align 8, !tbaa !44
  %143 = load ptr, ptr %10, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %143, i32 0, i32 25
  %145 = load double, ptr %144, align 8, !tbaa !45
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %146, i32 0, i32 25
  store double %145, ptr %147, align 8, !tbaa !45
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %148, i32 0, i32 26
  %150 = load i64, ptr %149, align 8, !tbaa !46
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %151, i32 0, i32 26
  store i64 %150, ptr %152, align 8, !tbaa !46
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %153, i32 0, i32 27
  %155 = load double, ptr %154, align 8, !tbaa !47
  %156 = load ptr, ptr %9, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %156, i32 0, i32 27
  store double %155, ptr %157, align 8, !tbaa !47
  %158 = load ptr, ptr %10, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %158, i32 0, i32 28
  %160 = load double, ptr %159, align 8, !tbaa !48
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %161, i32 0, i32 28
  store double %160, ptr %162, align 8, !tbaa !48
  %163 = load ptr, ptr %10, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %163, i32 0, i32 29
  %165 = load double, ptr %164, align 8, !tbaa !49
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %166, i32 0, i32 29
  store double %165, ptr %167, align 8, !tbaa !49
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %168, i32 0, i32 30
  %170 = load ptr, ptr %10, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.alglib_impl::linesearchstate", ptr %170, i32 0, i32 30
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = load i8, ptr %8, align 1, !tbaa !9, !range !25, !noundef !26
  %174 = trunc i8 %173 to i1
  call void @_ZN11alglib_impl21_rcommstate_init_copyEPNS_10rcommstateEPKS0_PNS_8ae_stateEb(ptr noundef %169, ptr noundef %171, ptr noundef %172, i1 noundef zeroext %174)
  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, !13, i64 0}
!12 = !{!"_ZTSN11alglib_impl15linesearchstateE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !10, i64 48, !14, i64 56, !10, i64 64, !14, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !14, i64 192, !13, i64 200, !14, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !15, i64 240}
!13 = !{!"double", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl10rcommstateE", !16, i64 0, !17, i64 8, !17, i64 72, !17, i64 136, !17, i64 200}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTSN11alglib_impl9ae_vectorE", !14, i64 0, !14, i64 8, !10, i64 16, !18, i64 24, !7, i64 56}
!18 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!19 = !{!12, !13, i64 8}
!20 = !{!12, !13, i64 16}
!21 = !{!12, !13, i64 24}
!22 = !{!12, !13, i64 32}
!23 = !{!12, !13, i64 40}
!24 = !{!12, !10, i64 48}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!12, !14, i64 56}
!28 = !{!12, !10, i64 64}
!29 = !{!12, !14, i64 72}
!30 = !{!12, !13, i64 80}
!31 = !{!12, !13, i64 88}
!32 = !{!12, !13, i64 96}
!33 = !{!12, !13, i64 104}
!34 = !{!12, !13, i64 112}
!35 = !{!12, !13, i64 120}
!36 = !{!12, !13, i64 128}
!37 = !{!12, !13, i64 136}
!38 = !{!12, !13, i64 144}
!39 = !{!12, !13, i64 152}
!40 = !{!12, !13, i64 160}
!41 = !{!12, !13, i64 168}
!42 = !{!12, !13, i64 176}
!43 = !{!12, !13, i64 184}
!44 = !{!12, !14, i64 192}
!45 = !{!12, !13, i64 200}
!46 = !{!12, !14, i64 208}
!47 = !{!12, !13, i64 216}
!48 = !{!12, !13, i64 224}
!49 = !{!12, !13, i64 232}


; 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_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_impl26_linesearchstate_init_copyEPvPKvPNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #1 {
  %5 = load <2 x double>, ptr %1, align 8, !tbaa !5
  store <2 x double> %5, ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 16
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  %8 = load <2 x double>, ptr %6, align 8, !tbaa !5
  store <2 x double> %8, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 32
  %10 = getelementptr inbounds i8, ptr %0, i64 32
  %11 = load <2 x double>, ptr %9, align 8, !tbaa !5
  store <2 x double> %11, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %1, i64 48
  %13 = load i8, ptr %12, align 8, !tbaa !9, !range !18, !noundef !19
  %14 = getelementptr inbounds i8, ptr %0, i64 48
  store i8 %13, ptr %14, align 8, !tbaa !9
  %15 = getelementptr inbounds i8, ptr %1, i64 56
  %16 = load i64, ptr %15, align 8, !tbaa !20
  %17 = getelementptr inbounds i8, ptr %0, i64 56
  store i64 %16, ptr %17, align 8, !tbaa !20
  %18 = getelementptr inbounds i8, ptr %1, i64 64
  %19 = load i8, ptr %18, align 8, !tbaa !21, !range !18, !noundef !19
  %20 = getelementptr inbounds i8, ptr %0, i64 64
  store i8 %19, ptr %20, align 8, !tbaa !21
  %21 = getelementptr inbounds i8, ptr %1, i64 72
  %22 = load i64, ptr %21, align 8, !tbaa !22
  %23 = getelementptr inbounds i8, ptr %0, i64 72
  store i64 %22, ptr %23, align 8, !tbaa !22
  %24 = getelementptr inbounds i8, ptr %1, i64 80
  %25 = getelementptr inbounds i8, ptr %0, i64 80
  %26 = load <2 x double>, ptr %24, align 8, !tbaa !5
  store <2 x double> %26, ptr %25, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %1, i64 96
  %28 = getelementptr inbounds i8, ptr %0, i64 96
  %29 = load <2 x double>, ptr %27, align 8, !tbaa !5
  store <2 x double> %29, ptr %28, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %1, i64 112
  %31 = getelementptr inbounds i8, ptr %0, i64 112
  %32 = load <2 x double>, ptr %30, align 8, !tbaa !5
  store <2 x double> %32, ptr %31, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %1, i64 128
  %34 = getelementptr inbounds i8, ptr %0, i64 128
  %35 = load <2 x double>, ptr %33, align 8, !tbaa !5
  store <2 x double> %35, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %1, i64 144
  %37 = getelementptr inbounds i8, ptr %0, i64 144
  %38 = load <2 x double>, ptr %36, align 8, !tbaa !5
  store <2 x double> %38, ptr %37, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %1, i64 160
  %40 = getelementptr inbounds i8, ptr %0, i64 160
  %41 = load <2 x double>, ptr %39, align 8, !tbaa !5
  store <2 x double> %41, ptr %40, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %1, i64 176
  %43 = getelementptr inbounds i8, ptr %0, i64 176
  %44 = load <2 x double>, ptr %42, align 8, !tbaa !5
  store <2 x double> %44, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %1, i64 192
  %46 = load i64, ptr %45, align 8, !tbaa !23
  %47 = getelementptr inbounds i8, ptr %0, i64 192
  store i64 %46, ptr %47, align 8, !tbaa !23
  %48 = getelementptr inbounds i8, ptr %1, i64 200
  %49 = load double, ptr %48, align 8, !tbaa !24
  %50 = getelementptr inbounds i8, ptr %0, i64 200
  store double %49, ptr %50, align 8, !tbaa !24
  %51 = getelementptr inbounds i8, ptr %1, i64 208
  %52 = load i64, ptr %51, align 8, !tbaa !25
  %53 = getelementptr inbounds i8, ptr %0, i64 208
  store i64 %52, ptr %53, align 8, !tbaa !25
  %54 = getelementptr inbounds i8, ptr %1, i64 216
  %55 = getelementptr inbounds i8, ptr %0, i64 216
  %56 = load <2 x double>, ptr %54, align 8, !tbaa !5
  store <2 x double> %56, ptr %55, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %1, i64 232
  %58 = load double, ptr %57, align 8, !tbaa !26
  %59 = getelementptr inbounds i8, ptr %0, i64 232
  store double %58, ptr %59, align 8, !tbaa !26
  %60 = getelementptr inbounds i8, ptr %0, i64 240
  %61 = getelementptr inbounds i8, ptr %1, i64 240
  tail call void @_ZN11alglib_impl21_rcommstate_init_copyEPNS_10rcommstateEPKS0_PNS_8ae_stateEb(ptr noundef nonnull %60, ptr noundef nonnull %61, 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 48}
!10 = !{!"_ZTSN11alglib_impl15linesearchstateE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !12, i64 56, !11, i64 64, !12, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !12, i64 192, !6, i64 200, !12, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !13, i64 240}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSN11alglib_impl10rcommstateE", !14, i64 0, !15, i64 8, !15, i64 72, !15, i64 136, !15, i64 200}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTSN11alglib_impl9ae_vectorE", !12, i64 0, !12, i64 8, !11, i64 16, !16, i64 24, !7, i64 56}
!16 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!10, !12, i64 56}
!21 = !{!10, !11, i64 64}
!22 = !{!10, !12, i64 72}
!23 = !{!10, !12, i64 192}
!24 = !{!10, !6, i64 200}
!25 = !{!10, !12, i64 208}
!26 = !{!10, !6, i64 232}


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