; LLVM IR from JayXon/Leanify :: lib/LZMA (LzmaEnc)

; 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.CLzmaEnc = type { ptr, %struct._IMatchFinder, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i32], i32, i32, ptr, %struct.CRangeEnc, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, %struct._CMatchFinderMt, %struct._CMatchFinder, [128 x i8], [128 x i32], [548 x i32], [16 x i32], [4 x [64 x i32]], [4 x [128 x i32]], [16 x i16], [12 x i16], [12 x i16], [12 x i16], [12 x i16], [12 x [16 x i16]], [12 x [16 x i16]], [4 x [64 x i16]], [128 x i16], %struct.CLenEnc, %struct.CLenEnc, [16384 x i8], %struct.CLenPriceEnc, %struct.CLenPriceEnc, [2048 x %struct.COptimal], %struct.CSaveState, [128 x i8] }
%struct._IMatchFinder = type { ptr, ptr, ptr, ptr, ptr }
%struct.CRangeEnc = type { i32, i32, i64, i64, ptr, ptr, ptr, ptr, i64, i32 }
%struct._CMatchFinderMt = type { ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i32, ptr, ptr, i32, [1 x i32], %struct._CMtSync, [128 x i8], ptr, i32, i32, i32, i32, ptr, i32, i32, i32, ptr, i32, i32, i32, %struct._CMtSync, ptr, ptr }
%struct._CMtSync = type { i32, %struct._CThread, i64, i32, i32, i32, i32, i32, i32, %struct._CEvent, %struct._CEvent, %struct._CSemaphore, %struct._CSemaphore, %struct._CCriticalSection }
%struct._CThread = type { i64, i32 }
%struct._CEvent = type { i32, i32, i32, %union.pthread_mutex_t, %union.pthread_cond_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%struct._CSemaphore = type { i32, i32, i32, %union.pthread_mutex_t, %union.pthread_cond_t }
%struct._CCriticalSection = type { %union.pthread_mutex_t }
%struct._CMatchFinder = type { ptr, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i32, ptr, ptr, i32, i32, ptr, ptr, i32, i32, i32, i32, i64, i32, i32, i32, i32, [256 x i32], i64, i64 }
%struct.CLenEnc = type { [256 x i16], [256 x i16] }
%struct.CLenPriceEnc = type { i32, [16 x [272 x i32]] }
%struct.COptimal = type { i32, i16, i16, i32, i32, [4 x i32] }
%struct.CSaveState = type { ptr, i32, [4 x i32], [16 x i16], [12 x i16], [12 x i16], [12 x i16], [12 x i16], [12 x [16 x i16]], [12 x [16 x i16]], [4 x [64 x i16]], [128 x i16], %struct.CLenEnc, %struct.CLenEnc }

; 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
define dso_local void @LzmaEnc_RestoreState(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %5, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %6 = load ptr, ptr %3, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.CLzmaEnc, ptr %6, i32 0, i32 55
  store ptr %7, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.CSaveState, ptr %8, i32 0, i32 1
  %10 = load i32, ptr %9, align 8, !tbaa !9
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.CLzmaEnc, ptr %11, i32 0, i32 7
  store i32 %10, ptr %12, align 4, !tbaa !13
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.CLzmaEnc, ptr %13, i32 0, i32 49
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.CSaveState, ptr %15, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 4 %16, i64 1024, i1 false), !tbaa.struct !27
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.CLzmaEnc, ptr %17, i32 0, i32 50
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.CSaveState, ptr %19, i32 0, i32 13
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 4 %20, i64 1024, i1 false), !tbaa.struct !27
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.CLzmaEnc, ptr %21, i32 0, i32 10
  %23 = getelementptr inbounds [4 x i32], ptr %22, i64 0, i64 0
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.CSaveState, ptr %24, i32 0, i32 2
  %26 = getelementptr inbounds [4 x i32], ptr %25, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 4 %26, i64 16, i1 false)
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.CLzmaEnc, ptr %27, i32 0, i32 40
  %29 = getelementptr inbounds [16 x i16], ptr %28, i64 0, i64 0
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.CSaveState, ptr %30, i32 0, i32 3
  %32 = getelementptr inbounds [16 x i16], ptr %31, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 4 %32, i64 32, i1 false)
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.CLzmaEnc, ptr %33, i32 0, i32 41
  %35 = getelementptr inbounds [12 x i16], ptr %34, i64 0, i64 0
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.CSaveState, ptr %36, i32 0, i32 4
  %38 = getelementptr inbounds [12 x i16], ptr %37, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %35, ptr align 4 %38, i64 24, i1 false)
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.CLzmaEnc, ptr %39, i32 0, i32 42
  %41 = getelementptr inbounds [12 x i16], ptr %40, i64 0, i64 0
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.CSaveState, ptr %42, i32 0, i32 5
  %44 = getelementptr inbounds [12 x i16], ptr %43, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %41, ptr align 4 %44, i64 24, i1 false)
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.CLzmaEnc, ptr %45, i32 0, i32 43
  %47 = getelementptr inbounds [12 x i16], ptr %46, i64 0, i64 0
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.CSaveState, ptr %48, i32 0, i32 6
  %50 = getelementptr inbounds [12 x i16], ptr %49, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %47, ptr align 4 %50, i64 24, i1 false)
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.CLzmaEnc, ptr %51, i32 0, i32 44
  %53 = getelementptr inbounds [12 x i16], ptr %52, i64 0, i64 0
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.CSaveState, ptr %54, i32 0, i32 7
  %56 = getelementptr inbounds [12 x i16], ptr %55, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %53, ptr align 4 %56, i64 24, i1 false)
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.CLzmaEnc, ptr %57, i32 0, i32 45
  %59 = getelementptr inbounds [12 x [16 x i16]], ptr %58, i64 0, i64 0
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.CSaveState, ptr %60, i32 0, i32 8
  %62 = getelementptr inbounds [12 x [16 x i16]], ptr %61, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %59, ptr align 4 %62, i64 384, i1 false)
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.CLzmaEnc, ptr %63, i32 0, i32 46
  %65 = getelementptr inbounds [12 x [16 x i16]], ptr %64, i64 0, i64 0
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.CSaveState, ptr %66, i32 0, i32 9
  %68 = getelementptr inbounds [12 x [16 x i16]], ptr %67, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %65, ptr align 4 %68, i64 384, i1 false)
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.CLzmaEnc, ptr %69, i32 0, i32 47
  %71 = getelementptr inbounds [4 x [64 x i16]], ptr %70, i64 0, i64 0
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.CSaveState, ptr %72, i32 0, i32 10
  %74 = getelementptr inbounds [4 x [64 x i16]], ptr %73, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %71, ptr align 4 %74, i64 512, i1 false)
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.CLzmaEnc, ptr %75, i32 0, i32 48
  %77 = getelementptr inbounds [128 x i16], ptr %76, i64 0, i64 0
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.CSaveState, ptr %78, i32 0, i32 11
  %80 = getelementptr inbounds [128 x i16], ptr %79, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %77, ptr align 4 %80, i64 256, i1 false)
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.CLzmaEnc, ptr %81, i32 0, i32 13
  %83 = load ptr, ptr %82, align 8, !tbaa !29
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.CSaveState, ptr %84, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8, !tbaa !30
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.CLzmaEnc, ptr %87, i32 0, i32 19
  %89 = load i32, ptr %88, align 8, !tbaa !31
  %90 = shl i32 768, %89
  %91 = zext i32 %90 to i64
  %92 = mul i64 %91, 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %83, ptr align 2 %86, i64 %92, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"", !6, i64 0, !11, i64 8, !7, i64 12, !7, i64 28, !7, i64 60, !7, i64 84, !7, i64 108, !7, i64 132, !7, i64 156, !7, i64 540, !7, i64 924, !7, i64 1436, !12, i64 1692, !12, i64 2716}
!11 = !{!"int", !7, i64 0}
!12 = !{!"", !7, i64 0, !7, i64 512}
!13 = !{!14, !11, i64 68}
!14 = !{!"", !6, i64 0, !15, i64 8, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !7, i64 80, !11, i64 96, !11, i64 100, !6, i64 104, !16, i64 112, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !17, i64 224, !11, i64 232, !11, i64 236, !11, i64 240, !11, i64 244, !11, i64 248, !11, i64 252, !18, i64 256, !25, i64 1576, !7, i64 2736, !7, i64 2864, !7, i64 3376, !7, i64 5568, !7, i64 5632, !7, i64 6656, !7, i64 8704, !7, i64 8736, !7, i64 8760, !7, i64 8784, !7, i64 8808, !7, i64 8832, !7, i64 9216, !7, i64 9600, !7, i64 10112, !12, i64 10368, !12, i64 11392, !7, i64 12416, !26, i64 28800, !26, i64 46212, !7, i64 63624, !10, i64 129160, !7, i64 132904}
!15 = !{!"_IMatchFinder", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!16 = !{!"", !11, i64 0, !11, i64 4, !17, i64 8, !17, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !17, i64 56, !11, i64 64}
!17 = !{!"long long", !7, i64 0}
!18 = !{!"_CMatchFinderMt", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !6, i64 40, !11, i64 48, !11, i64 52, !6, i64 56, !6, i64 64, !11, i64 72, !7, i64 76, !19, i64 80, !7, i64 592, !6, i64 720, !11, i64 728, !11, i64 732, !11, i64 736, !11, i64 740, !6, i64 744, !11, i64 752, !11, i64 756, !11, i64 760, !6, i64 768, !11, i64 776, !11, i64 780, !11, i64 784, !19, i64 792, !6, i64 1304, !6, i64 1312}
!19 = !{!"_CMtSync", !11, i64 0, !20, i64 8, !17, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !22, i64 56, !22, i64 160, !23, i64 264, !23, i64 368, !24, i64 472}
!20 = !{!"_CThread", !21, i64 0, !11, i64 8}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_CEvent", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16, !7, i64 56}
!23 = !{!"_CSemaphore", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16, !7, i64 56}
!24 = !{!"_CCriticalSection", !7, i64 0}
!25 = !{!"_CMatchFinder", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !7, i64 32, !7, i64 33, !7, i64 34, !7, i64 35, !11, i64 36, !6, i64 40, !6, i64 48, !11, i64 56, !11, i64 60, !6, i64 64, !6, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !21, i64 96, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !7, i64 120, !21, i64 1144, !17, i64 1152}
!26 = !{!"", !11, i64 0, !7, i64 4}
!27 = !{i64 0, i64 512, !28, i64 512, i64 512, !28}
!28 = !{!7, !7, i64 0}
!29 = !{!14, !6, i64 104}
!30 = !{!10, !6, i64 0}
!31 = !{!14, !11, i64 200}


; 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 nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #0

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @LzmaEnc_RestoreState(ptr nocapture noundef %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 129160
  %3 = getelementptr inbounds i8, ptr %0, i64 129168
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 68
  store i32 %4, ptr %5, align 4, !tbaa !12
  %6 = getelementptr inbounds i8, ptr %0, i64 10368
  %7 = getelementptr inbounds i8, ptr %0, i64 130852
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(1024) %6, ptr noundef nonnull align 4 dereferenceable(1024) %7, i64 1024, i1 false), !tbaa.struct !26
  %8 = getelementptr inbounds i8, ptr %0, i64 11392
  %9 = getelementptr inbounds i8, ptr %0, i64 131876
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(1024) %8, ptr noundef nonnull align 4 dereferenceable(1024) %9, i64 1024, i1 false), !tbaa.struct !26
  %10 = getelementptr inbounds i8, ptr %0, i64 80
  %11 = getelementptr inbounds i8, ptr %0, i64 129172
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(16) %11, i64 16, i1 false)
  %12 = getelementptr inbounds i8, ptr %0, i64 8704
  %13 = getelementptr inbounds i8, ptr %0, i64 129188
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 4 dereferenceable(32) %13, i64 32, i1 false)
  %14 = getelementptr inbounds i8, ptr %0, i64 8736
  %15 = getelementptr inbounds i8, ptr %0, i64 129220
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(24) %15, i64 24, i1 false)
  %16 = getelementptr inbounds i8, ptr %0, i64 8760
  %17 = getelementptr inbounds i8, ptr %0, i64 129244
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(24) %17, i64 24, i1 false)
  %18 = getelementptr inbounds i8, ptr %0, i64 8784
  %19 = getelementptr inbounds i8, ptr %0, i64 129268
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 4 dereferenceable(24) %19, i64 24, i1 false)
  %20 = getelementptr inbounds i8, ptr %0, i64 8808
  %21 = getelementptr inbounds i8, ptr %0, i64 129292
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 4 dereferenceable(24) %21, i64 24, i1 false)
  %22 = getelementptr inbounds i8, ptr %0, i64 8832
  %23 = getelementptr inbounds i8, ptr %0, i64 129316
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(384) %22, ptr noundef nonnull align 4 dereferenceable(384) %23, i64 384, i1 false)
  %24 = getelementptr inbounds i8, ptr %0, i64 9216
  %25 = getelementptr inbounds i8, ptr %0, i64 129700
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(384) %24, ptr noundef nonnull align 4 dereferenceable(384) %25, i64 384, i1 false)
  %26 = getelementptr inbounds i8, ptr %0, i64 9600
  %27 = getelementptr inbounds i8, ptr %0, i64 130084
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(512) %26, ptr noundef nonnull align 4 dereferenceable(512) %27, i64 512, i1 false)
  %28 = getelementptr inbounds i8, ptr %0, i64 10112
  %29 = getelementptr inbounds i8, ptr %0, i64 130596
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(256) %28, ptr noundef nonnull align 4 dereferenceable(256) %29, i64 256, i1 false)
  %30 = getelementptr inbounds i8, ptr %0, i64 104
  %31 = load ptr, ptr %30, align 8, !tbaa !28
  %32 = load ptr, ptr %2, align 8, !tbaa !29
  %33 = getelementptr inbounds i8, ptr %0, i64 200
  %34 = load i32, ptr %33, align 8, !tbaa !30
  %35 = shl i32 768, %34
  %36 = zext i32 %35 to i64
  %37 = shl nuw nsw i64 %36, 1
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 2 %31, ptr align 2 %32, i64 %37, i1 false)
  ret void
}

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) 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, !10, i64 8}
!6 = !{!"", !7, i64 0, !10, i64 8, !8, i64 12, !8, i64 28, !8, i64 60, !8, i64 84, !8, i64 108, !8, i64 132, !8, i64 156, !8, i64 540, !8, i64 924, !8, i64 1436, !11, i64 1692, !11, i64 2716}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !8, i64 0, !8, i64 512}
!12 = !{!13, !10, i64 68}
!13 = !{!"", !7, i64 0, !14, i64 8, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !8, i64 80, !10, i64 96, !10, i64 100, !7, i64 104, !15, i64 112, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !16, i64 224, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !17, i64 256, !24, i64 1576, !8, i64 2736, !8, i64 2864, !8, i64 3376, !8, i64 5568, !8, i64 5632, !8, i64 6656, !8, i64 8704, !8, i64 8736, !8, i64 8760, !8, i64 8784, !8, i64 8808, !8, i64 8832, !8, i64 9216, !8, i64 9600, !8, i64 10112, !11, i64 10368, !11, i64 11392, !8, i64 12416, !25, i64 28800, !25, i64 46212, !8, i64 63624, !6, i64 129160, !8, i64 132904}
!14 = !{!"_IMatchFinder", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!15 = !{!"", !10, i64 0, !10, i64 4, !16, i64 8, !16, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !16, i64 56, !10, i64 64}
!16 = !{!"long long", !8, i64 0}
!17 = !{!"_CMatchFinderMt", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !7, i64 40, !10, i64 48, !10, i64 52, !7, i64 56, !7, i64 64, !10, i64 72, !8, i64 76, !18, i64 80, !8, i64 592, !7, i64 720, !10, i64 728, !10, i64 732, !10, i64 736, !10, i64 740, !7, i64 744, !10, i64 752, !10, i64 756, !10, i64 760, !7, i64 768, !10, i64 776, !10, i64 780, !10, i64 784, !18, i64 792, !7, i64 1304, !7, i64 1312}
!18 = !{!"_CMtSync", !10, i64 0, !19, i64 8, !16, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !21, i64 56, !21, i64 160, !22, i64 264, !22, i64 368, !23, i64 472}
!19 = !{!"_CThread", !20, i64 0, !10, i64 8}
!20 = !{!"long", !8, i64 0}
!21 = !{!"_CEvent", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 16, !8, i64 56}
!22 = !{!"_CSemaphore", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 16, !8, i64 56}
!23 = !{!"_CCriticalSection", !8, i64 0}
!24 = !{!"_CMatchFinder", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !8, i64 32, !8, i64 33, !8, i64 34, !8, i64 35, !10, i64 36, !7, i64 40, !7, i64 48, !10, i64 56, !10, i64 60, !7, i64 64, !7, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !20, i64 96, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !8, i64 120, !20, i64 1144, !16, i64 1152}
!25 = !{!"", !10, i64 0, !8, i64 4}
!26 = !{i64 0, i64 512, !27, i64 512, i64 512, !27}
!27 = !{!8, !8, i64 0}
!28 = !{!13, !7, i64 104}
!29 = !{!6, !7, i64 0}
!30 = !{!13, !10, i64 200}


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