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

; 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::lincgstate" = type { %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", i64, i64, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, double, double, double, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::ae_vector", double, %"struct.alglib_impl::ae_vector", double, i64, i64, i64, i8, i8, i8, i8, i8, i8, i8, i64, i64, i64, i8, %"struct.alglib_impl::ae_vector", %"struct.alglib_impl::rcommstate" }
%"struct.alglib_impl::ae_vector" = type { 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::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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl21_lincgstate_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) #1 {
  %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::lincgstate", ptr %14, i32 0, i32 0
  %16 = load ptr, ptr %10, align 8, !tbaa !5
  %17 = getelementptr inbounds %"struct.alglib_impl::lincgstate", 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_vectorES1_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::lincgstate", ptr %21, i32 0, i32 1
  %23 = load ptr, ptr %10, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.alglib_impl::lincgstate", 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_vectorES1_PNS_8ae_stateEb(ptr noundef %22, ptr noundef %24, ptr noundef %25, i1 noundef zeroext %27)
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %28, i32 0, i32 2
  %30 = load i64, ptr %29, align 8, !tbaa !13
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %31, i32 0, i32 2
  store i64 %30, ptr %32, align 8, !tbaa !13
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %33, i32 0, i32 3
  %35 = load i64, ptr %34, align 8, !tbaa !21
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %36, i32 0, i32 3
  store i64 %35, ptr %37, align 8, !tbaa !21
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %38, i32 0, i32 4
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %40, i32 0, i32 4
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %44 = trunc i8 %43 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %39, ptr noundef %41, ptr noundef %42, i1 noundef zeroext %44)
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %45, i32 0, i32 5
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %47, i32 0, i32 5
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %51 = trunc i8 %50 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %46, ptr noundef %48, ptr noundef %49, i1 noundef zeroext %51)
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %52, i32 0, i32 6
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %54, i32 0, i32 6
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %58 = trunc i8 %57 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %53, ptr noundef %55, ptr noundef %56, i1 noundef zeroext %58)
  %59 = load ptr, ptr %9, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %59, i32 0, i32 7
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %61, i32 0, i32 7
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %65 = trunc i8 %64 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %60, ptr noundef %62, ptr noundef %63, i1 noundef zeroext %65)
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %66, i32 0, i32 8
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %68, i32 0, i32 8
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %72 = trunc i8 %71 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %67, ptr noundef %69, ptr noundef %70, i1 noundef zeroext %72)
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %73, i32 0, i32 9
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %75, i32 0, i32 9
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %79 = trunc i8 %78 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %74, ptr noundef %76, ptr noundef %77, i1 noundef zeroext %79)
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %80, i32 0, i32 10
  %82 = load double, ptr %81, align 8, !tbaa !22
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %83, i32 0, i32 10
  store double %82, ptr %84, align 8, !tbaa !22
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %85, i32 0, i32 11
  %87 = load double, ptr %86, align 8, !tbaa !23
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %88, i32 0, i32 11
  store double %87, ptr %89, align 8, !tbaa !23
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %90, i32 0, i32 12
  %92 = load double, ptr %91, align 8, !tbaa !24
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %93, i32 0, i32 12
  store double %92, ptr %94, align 8, !tbaa !24
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %95, i32 0, i32 13
  %97 = load double, ptr %96, align 8, !tbaa !25
  %98 = load ptr, ptr %9, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %98, i32 0, i32 13
  store double %97, ptr %99, align 8, !tbaa !25
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %100, i32 0, i32 14
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %102, i32 0, i32 14
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %106 = trunc i8 %105 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_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::lincgstate", ptr %107, i32 0, i32 15
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %109, i32 0, i32 15
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %113 = trunc i8 %112 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_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::lincgstate", ptr %114, i32 0, i32 16
  %116 = load ptr, ptr %10, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %116, i32 0, i32 16
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %120 = trunc i8 %119 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %115, ptr noundef %117, ptr noundef %118, i1 noundef zeroext %120)
  %121 = load ptr, ptr %10, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %121, i32 0, i32 17
  %123 = load double, ptr %122, align 8, !tbaa !26
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %124, i32 0, i32 17
  store double %123, ptr %125, align 8, !tbaa !26
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %126, i32 0, i32 18
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %128, i32 0, i32 18
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %132 = trunc i8 %131 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %127, ptr noundef %129, ptr noundef %130, i1 noundef zeroext %132)
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %133, i32 0, i32 19
  %135 = load double, ptr %134, align 8, !tbaa !27
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %136, i32 0, i32 19
  store double %135, ptr %137, align 8, !tbaa !27
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %138, i32 0, i32 20
  %140 = load i64, ptr %139, align 8, !tbaa !28
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %141, i32 0, i32 20
  store i64 %140, ptr %142, align 8, !tbaa !28
  %143 = load ptr, ptr %10, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %143, i32 0, i32 21
  %145 = load i64, ptr %144, align 8, !tbaa !29
  %146 = load ptr, ptr %9, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %146, i32 0, i32 21
  store i64 %145, ptr %147, align 8, !tbaa !29
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %148, i32 0, i32 22
  %150 = load i64, ptr %149, align 8, !tbaa !30
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %151, i32 0, i32 22
  store i64 %150, ptr %152, align 8, !tbaa !30
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %153, i32 0, i32 23
  %155 = load i8, ptr %154, align 8, !tbaa !31, !range !11, !noundef !12
  %156 = trunc i8 %155 to i1
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %157, i32 0, i32 23
  %159 = zext i1 %156 to i8
  store i8 %159, ptr %158, align 8, !tbaa !31
  %160 = load ptr, ptr %10, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %160, i32 0, i32 24
  %162 = load i8, ptr %161, align 1, !tbaa !32, !range !11, !noundef !12
  %163 = trunc i8 %162 to i1
  %164 = load ptr, ptr %9, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %164, i32 0, i32 24
  %166 = zext i1 %163 to i8
  store i8 %166, ptr %165, align 1, !tbaa !32
  %167 = load ptr, ptr %10, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %167, i32 0, i32 25
  %169 = load i8, ptr %168, align 2, !tbaa !33, !range !11, !noundef !12
  %170 = trunc i8 %169 to i1
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %171, i32 0, i32 25
  %173 = zext i1 %170 to i8
  store i8 %173, ptr %172, align 2, !tbaa !33
  %174 = load ptr, ptr %10, align 8, !tbaa !5
  %175 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %174, i32 0, i32 26
  %176 = load i8, ptr %175, align 1, !tbaa !34, !range !11, !noundef !12
  %177 = trunc i8 %176 to i1
  %178 = load ptr, ptr %9, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %178, i32 0, i32 26
  %180 = zext i1 %177 to i8
  store i8 %180, ptr %179, align 1, !tbaa !34
  %181 = load ptr, ptr %10, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %181, i32 0, i32 27
  %183 = load i8, ptr %182, align 4, !tbaa !35, !range !11, !noundef !12
  %184 = trunc i8 %183 to i1
  %185 = load ptr, ptr %9, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %185, i32 0, i32 27
  %187 = zext i1 %184 to i8
  store i8 %187, ptr %186, align 4, !tbaa !35
  %188 = load ptr, ptr %10, align 8, !tbaa !5
  %189 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %188, i32 0, i32 28
  %190 = load i8, ptr %189, align 1, !tbaa !36, !range !11, !noundef !12
  %191 = trunc i8 %190 to i1
  %192 = load ptr, ptr %9, align 8, !tbaa !5
  %193 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %192, i32 0, i32 28
  %194 = zext i1 %191 to i8
  store i8 %194, ptr %193, align 1, !tbaa !36
  %195 = load ptr, ptr %10, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %195, i32 0, i32 29
  %197 = load i8, ptr %196, align 2, !tbaa !37, !range !11, !noundef !12
  %198 = trunc i8 %197 to i1
  %199 = load ptr, ptr %9, align 8, !tbaa !5
  %200 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %199, i32 0, i32 29
  %201 = zext i1 %198 to i8
  store i8 %201, ptr %200, align 2, !tbaa !37
  %202 = load ptr, ptr %10, align 8, !tbaa !5
  %203 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %202, i32 0, i32 30
  %204 = load i64, ptr %203, align 8, !tbaa !38
  %205 = load ptr, ptr %9, align 8, !tbaa !5
  %206 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %205, i32 0, i32 30
  store i64 %204, ptr %206, align 8, !tbaa !38
  %207 = load ptr, ptr %10, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %207, i32 0, i32 31
  %209 = load i64, ptr %208, align 8, !tbaa !39
  %210 = load ptr, ptr %9, align 8, !tbaa !5
  %211 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %210, i32 0, i32 31
  store i64 %209, ptr %211, align 8, !tbaa !39
  %212 = load ptr, ptr %10, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %212, i32 0, i32 32
  %214 = load i64, ptr %213, align 8, !tbaa !40
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %215, i32 0, i32 32
  store i64 %214, ptr %216, align 8, !tbaa !40
  %217 = load ptr, ptr %10, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %217, i32 0, i32 33
  %219 = load i8, ptr %218, align 8, !tbaa !41, !range !11, !noundef !12
  %220 = trunc i8 %219 to i1
  %221 = load ptr, ptr %9, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %221, i32 0, i32 33
  %223 = zext i1 %220 to i8
  store i8 %223, ptr %222, align 8, !tbaa !41
  %224 = load ptr, ptr %9, align 8, !tbaa !5
  %225 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %224, i32 0, i32 34
  %226 = load ptr, ptr %10, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %226, i32 0, i32 34
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %230 = trunc i8 %229 to i1
  call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef %225, ptr noundef %227, ptr noundef %228, i1 noundef zeroext %230)
  %231 = load ptr, ptr %9, align 8, !tbaa !5
  %232 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %231, i32 0, i32 35
  %233 = load ptr, ptr %10, align 8, !tbaa !5
  %234 = getelementptr inbounds %"struct.alglib_impl::lincgstate", ptr %233, i32 0, i32 35
  %235 = load ptr, ptr %7, align 8, !tbaa !5
  %236 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %237 = trunc i8 %236 to i1
  call void @_ZN11alglib_impl21_rcommstate_init_copyEPNS_10rcommstateES1_PNS_8ae_stateEb(ptr noundef %232, ptr noundef %234, ptr noundef %235, i1 noundef zeroext %237)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret void
}

declare void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN11alglib_impl21_rcommstate_init_copyEPNS_10rcommstateES1_PNS_8ae_stateEb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #2 = { "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 128}
!14 = !{!"_ZTSN11alglib_impl10lincgstateE", !15, i64 0, !15, i64 64, !16, i64 128, !16, i64 136, !15, i64 144, !15, i64 208, !15, i64 272, !15, i64 336, !15, i64 400, !15, i64 464, !18, i64 528, !18, i64 536, !18, i64 544, !18, i64 552, !15, i64 560, !15, i64 624, !15, i64 688, !18, i64 752, !15, i64 760, !18, i64 824, !16, i64 832, !16, i64 840, !16, i64 848, !10, i64 856, !10, i64 857, !10, i64 858, !10, i64 859, !10, i64 860, !10, i64 861, !10, i64 862, !16, i64 864, !16, i64 872, !16, i64 880, !10, i64 888, !15, i64 896, !19, i64 960}
!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 = !{!"double", !7, i64 0}
!19 = !{!"_ZTSN11alglib_impl10rcommstateE", !20, i64 0, !15, i64 8, !15, i64 72, !15, i64 136, !15, i64 200}
!20 = !{!"int", !7, i64 0}
!21 = !{!14, !16, i64 136}
!22 = !{!14, !18, i64 528}
!23 = !{!14, !18, i64 536}
!24 = !{!14, !18, i64 544}
!25 = !{!14, !18, i64 552}
!26 = !{!14, !18, i64 752}
!27 = !{!14, !18, i64 824}
!28 = !{!14, !16, i64 832}
!29 = !{!14, !16, i64 840}
!30 = !{!14, !16, i64 848}
!31 = !{!14, !10, i64 856}
!32 = !{!14, !10, i64 857}
!33 = !{!14, !10, i64 858}
!34 = !{!14, !10, i64 859}
!35 = !{!14, !10, i64 860}
!36 = !{!14, !10, i64 861}
!37 = !{!14, !10, i64 862}
!38 = !{!14, !16, i64 864}
!39 = !{!14, !16, i64 872}
!40 = !{!14, !16, i64 880}
!41 = !{!14, !10, i64 888}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl21_lincgstate_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #0 {
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_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_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef %2, i1 noundef zeroext %3)
  %7 = getelementptr inbounds i8, ptr %1, i64 128
  %8 = getelementptr inbounds i8, ptr %0, i64 128
  %9 = load <2 x i64>, ptr %7, align 8, !tbaa !5
  store <2 x i64> %9, ptr %8, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 144
  %11 = getelementptr inbounds i8, ptr %1, i64 144
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef %2, i1 noundef zeroext %3)
  %12 = getelementptr inbounds i8, ptr %0, i64 208
  %13 = getelementptr inbounds i8, ptr %1, i64 208
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef %2, i1 noundef zeroext %3)
  %14 = getelementptr inbounds i8, ptr %0, i64 272
  %15 = getelementptr inbounds i8, ptr %1, i64 272
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %14, ptr noundef nonnull %15, ptr noundef %2, i1 noundef zeroext %3)
  %16 = getelementptr inbounds i8, ptr %0, i64 336
  %17 = getelementptr inbounds i8, ptr %1, i64 336
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef %2, i1 noundef zeroext %3)
  %18 = getelementptr inbounds i8, ptr %0, i64 400
  %19 = getelementptr inbounds i8, ptr %1, i64 400
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef %2, i1 noundef zeroext %3)
  %20 = getelementptr inbounds i8, ptr %0, i64 464
  %21 = getelementptr inbounds i8, ptr %1, i64 464
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_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 528
  %23 = getelementptr inbounds i8, ptr %0, i64 528
  %24 = load <2 x double>, ptr %22, align 8, !tbaa !9
  store <2 x double> %24, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %1, i64 544
  %26 = getelementptr inbounds i8, ptr %0, i64 544
  %27 = load <2 x double>, ptr %25, align 8, !tbaa !9
  store <2 x double> %27, ptr %26, align 8, !tbaa !9
  %28 = getelementptr inbounds i8, ptr %0, i64 560
  %29 = getelementptr inbounds i8, ptr %1, i64 560
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %28, ptr noundef nonnull %29, ptr noundef %2, i1 noundef zeroext %3)
  %30 = getelementptr inbounds i8, ptr %0, i64 624
  %31 = getelementptr inbounds i8, ptr %1, i64 624
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %30, ptr noundef nonnull %31, ptr noundef %2, i1 noundef zeroext %3)
  %32 = getelementptr inbounds i8, ptr %0, i64 688
  %33 = getelementptr inbounds i8, ptr %1, i64 688
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %32, ptr noundef nonnull %33, ptr noundef %2, i1 noundef zeroext %3)
  %34 = getelementptr inbounds i8, ptr %1, i64 752
  %35 = load double, ptr %34, align 8, !tbaa !11
  %36 = getelementptr inbounds i8, ptr %0, i64 752
  store double %35, ptr %36, align 8, !tbaa !11
  %37 = getelementptr inbounds i8, ptr %0, i64 760
  %38 = getelementptr inbounds i8, ptr %1, i64 760
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %37, ptr noundef nonnull %38, ptr noundef %2, i1 noundef zeroext %3)
  %39 = getelementptr inbounds i8, ptr %1, i64 824
  %40 = load double, ptr %39, align 8, !tbaa !19
  %41 = getelementptr inbounds i8, ptr %0, i64 824
  store double %40, ptr %41, align 8, !tbaa !19
  %42 = getelementptr inbounds i8, ptr %1, i64 832
  %43 = getelementptr inbounds i8, ptr %0, i64 832
  %44 = load <2 x i64>, ptr %42, align 8, !tbaa !5
  store <2 x i64> %44, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %1, i64 848
  %46 = load i64, ptr %45, align 8, !tbaa !20
  %47 = getelementptr inbounds i8, ptr %0, i64 848
  store i64 %46, ptr %47, align 8, !tbaa !20
  %48 = getelementptr inbounds i8, ptr %1, i64 856
  %49 = getelementptr inbounds i8, ptr %0, i64 856
  %50 = load <4 x i8>, ptr %48, align 8, !tbaa !21
  store <4 x i8> %50, ptr %49, align 8, !tbaa !21
  %51 = getelementptr inbounds i8, ptr %1, i64 860
  %52 = load i8, ptr %51, align 4, !tbaa !22, !range !23, !noundef !24
  %53 = getelementptr inbounds i8, ptr %0, i64 860
  store i8 %52, ptr %53, align 4, !tbaa !22
  %54 = getelementptr inbounds i8, ptr %1, i64 861
  %55 = load i8, ptr %54, align 1, !tbaa !25, !range !23, !noundef !24
  %56 = getelementptr inbounds i8, ptr %0, i64 861
  store i8 %55, ptr %56, align 1, !tbaa !25
  %57 = getelementptr inbounds i8, ptr %1, i64 862
  %58 = load i8, ptr %57, align 2, !tbaa !26, !range !23, !noundef !24
  %59 = getelementptr inbounds i8, ptr %0, i64 862
  store i8 %58, ptr %59, align 2, !tbaa !26
  %60 = getelementptr inbounds i8, ptr %1, i64 864
  %61 = getelementptr inbounds i8, ptr %0, i64 864
  %62 = load <2 x i64>, ptr %60, align 8, !tbaa !5
  store <2 x i64> %62, ptr %61, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %1, i64 880
  %64 = load i64, ptr %63, align 8, !tbaa !27
  %65 = getelementptr inbounds i8, ptr %0, i64 880
  store i64 %64, ptr %65, align 8, !tbaa !27
  %66 = getelementptr inbounds i8, ptr %1, i64 888
  %67 = load i8, ptr %66, align 8, !tbaa !28, !range !23, !noundef !24
  %68 = getelementptr inbounds i8, ptr %0, i64 888
  store i8 %67, ptr %68, align 8, !tbaa !28
  %69 = getelementptr inbounds i8, ptr %0, i64 896
  %70 = getelementptr inbounds i8, ptr %1, i64 896
  tail call void @_ZN11alglib_impl19ae_vector_init_copyEPNS_9ae_vectorES1_PNS_8ae_stateEb(ptr noundef nonnull %69, ptr noundef nonnull %70, ptr noundef %2, i1 noundef zeroext %3)
  %71 = getelementptr inbounds i8, ptr %0, i64 960
  %72 = getelementptr inbounds i8, ptr %1, i64 960
  tail call void @_ZN11alglib_impl21_rcommstate_init_copyEPNS_10rcommstateES1_PNS_8ae_stateEb(ptr noundef nonnull %71, ptr noundef nonnull %72, ptr noundef %2, i1 noundef zeroext %3)
  ret void
}

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

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

attributes #0 = { 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 #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" }

!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 752}
!12 = !{!"_ZTSN11alglib_impl10lincgstateE", !13, i64 0, !13, i64 64, !6, i64 128, !6, i64 136, !13, i64 144, !13, i64 208, !13, i64 272, !13, i64 336, !13, i64 400, !13, i64 464, !10, i64 528, !10, i64 536, !10, i64 544, !10, i64 552, !13, i64 560, !13, i64 624, !13, i64 688, !10, i64 752, !13, i64 760, !10, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !14, i64 856, !14, i64 857, !14, i64 858, !14, i64 859, !14, i64 860, !14, i64 861, !14, i64 862, !6, i64 864, !6, i64 872, !6, i64 880, !14, i64 888, !13, i64 896, !17, i64 960}
!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_impl10rcommstateE", !18, i64 0, !13, i64 8, !13, i64 72, !13, i64 136, !13, i64 200}
!18 = !{!"int", !7, i64 0}
!19 = !{!12, !10, i64 824}
!20 = !{!12, !6, i64 848}
!21 = !{!14, !14, i64 0}
!22 = !{!12, !14, i64 860}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!12, !14, i64 861}
!26 = !{!12, !14, i64 862}
!27 = !{!12, !6, i64 880}
!28 = !{!12, !14, i64 888}


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