; 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_SeqOutStreamBuf = type { %struct.ISeqOutStream, ptr, i64, i32 }
%struct.ISeqOutStream = type { ptr }
%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: nounwind uwtable
define dso_local i32 @LzmaEnc_CodeOneMemBlock(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #1 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca %struct.CLzmaEnc_SeqOutStreamBuf, align 8
  %18 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !9
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %19, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #3
  %20 = getelementptr inbounds %struct.CLzmaEnc_SeqOutStreamBuf, ptr %17, i32 0, i32 0
  %21 = getelementptr inbounds %struct.ISeqOutStream, ptr %20, i32 0, i32 0
  store ptr @SeqOutStreamBuf_Write, ptr %21, align 8, !tbaa !11
  %22 = load ptr, ptr %10, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.CLzmaEnc_SeqOutStreamBuf, ptr %17, i32 0, i32 1
  store ptr %22, ptr %23, align 8, !tbaa !15
  %24 = load ptr, ptr %11, align 8, !tbaa !5
  %25 = load i64, ptr %24, align 8, !tbaa !16
  %26 = getelementptr inbounds %struct.CLzmaEnc_SeqOutStreamBuf, ptr %17, i32 0, i32 2
  store i64 %25, ptr %26, align 8, !tbaa !17
  %27 = getelementptr inbounds %struct.CLzmaEnc_SeqOutStreamBuf, ptr %17, i32 0, i32 3
  store i32 0, ptr %27, align 8, !tbaa !18
  %28 = load ptr, ptr %14, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.CLzmaEnc, ptr %28, i32 0, i32 21
  store i32 0, ptr %29, align 8, !tbaa !19
  %30 = load ptr, ptr %14, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.CLzmaEnc, ptr %30, i32 0, i32 22
  store i32 0, ptr %31, align 4, !tbaa !34
  %32 = load ptr, ptr %14, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.CLzmaEnc, ptr %32, i32 0, i32 30
  store i32 0, ptr %33, align 8, !tbaa !35
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %38

36:                                               ; preds = %6
  %37 = load ptr, ptr %14, align 8, !tbaa !5
  call void @LzmaEnc_Init(ptr noundef %37)
  br label %38

38:                                               ; preds = %36, %6
  %39 = load ptr, ptr %14, align 8, !tbaa !5
  call void @LzmaEnc_InitPrices(ptr noundef %39)
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.CLzmaEnc, ptr %40, i32 0, i32 25
  %42 = load i64, ptr %41, align 8, !tbaa !36
  store i64 %42, ptr %15, align 8, !tbaa !37
  %43 = load ptr, ptr %14, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.CLzmaEnc, ptr %43, i32 0, i32 14
  call void @RangeEnc_Init(ptr noundef %44)
  %45 = getelementptr inbounds %struct.CLzmaEnc_SeqOutStreamBuf, ptr %17, i32 0, i32 0
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.CLzmaEnc, ptr %46, i32 0, i32 14
  %48 = getelementptr inbounds %struct.CRangeEnc, ptr %47, i32 0, i32 7
  store ptr %45, ptr %48, align 8, !tbaa !38
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %38
  store i32 7, ptr %7, align 4
  store i32 1, ptr %18, align 4
  br label %76

52:                                               ; preds = %38
  %53 = load ptr, ptr %14, align 8, !tbaa !5
  %54 = load i32, ptr %12, align 4, !tbaa !9
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = load i32, ptr %55, align 4, !tbaa !9
  %57 = call i32 @LzmaEnc_CodeOneBlock(ptr noundef %53, i32 noundef %54, i32 noundef %56)
  store i32 %57, ptr %16, align 4, !tbaa !9
  %58 = load ptr, ptr %14, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.CLzmaEnc, ptr %58, i32 0, i32 25
  %60 = load i64, ptr %59, align 8, !tbaa !36
  %61 = load i64, ptr %15, align 8, !tbaa !37
  %62 = sub i64 %60, %61
  %63 = trunc i64 %62 to i32
  %64 = load ptr, ptr %13, align 8, !tbaa !5
  store i32 %63, ptr %64, align 4, !tbaa !9
  %65 = getelementptr inbounds %struct.CLzmaEnc_SeqOutStreamBuf, ptr %17, i32 0, i32 2
  %66 = load i64, ptr %65, align 8, !tbaa !17
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = load i64, ptr %67, align 8, !tbaa !16
  %69 = sub i64 %68, %66
  store i64 %69, ptr %67, align 8, !tbaa !16
  %70 = getelementptr inbounds %struct.CLzmaEnc_SeqOutStreamBuf, ptr %17, i32 0, i32 3
  %71 = load i32, ptr %70, align 8, !tbaa !18
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %74

73:                                               ; preds = %52
  store i32 7, ptr %7, align 4
  store i32 1, ptr %18, align 4
  br label %76

74:                                               ; preds = %52
  %75 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %75, ptr %7, align 4
  store i32 1, ptr %18, align 4
  br label %76

76:                                               ; preds = %74, %73, %51
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  %77 = load i32, ptr %7, align 4
  ret i32 %77
}

; Function Attrs: nounwind uwtable
declare hidden i64 @SeqOutStreamBuf_Write(ptr noundef, ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @LzmaEnc_Init(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @LzmaEnc_InitPrices(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @RangeEnc_Init(ptr noundef) #1

; Function Attrs: noinline nounwind uwtable
declare hidden i32 @LzmaEnc_CodeOneBlock(ptr noundef, i32 noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noinline 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"", !13, i64 0, !6, i64 8, !14, i64 16, !10, i64 24}
!13 = !{!"ISeqOutStream", !6, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !6, i64 8}
!16 = !{!14, !14, i64 0}
!17 = !{!12, !14, i64 16}
!18 = !{!12, !10, i64 24}
!19 = !{!20, !10, i64 208}
!20 = !{!"", !6, i64 0, !21, 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, !7, i64 80, !10, i64 96, !10, i64 100, !6, i64 104, !22, 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, !23, i64 224, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !24, i64 256, !30, 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, !31, i64 10368, !31, i64 11392, !7, i64 12416, !32, i64 28800, !32, i64 46212, !7, i64 63624, !33, i64 129160, !7, i64 132904}
!21 = !{!"_IMatchFinder", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!22 = !{!"", !10, i64 0, !10, i64 4, !23, i64 8, !23, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !23, i64 56, !10, i64 64}
!23 = !{!"long long", !7, i64 0}
!24 = !{!"_CMatchFinderMt", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !6, i64 40, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !10, i64 72, !7, i64 76, !25, i64 80, !7, i64 592, !6, i64 720, !10, i64 728, !10, i64 732, !10, i64 736, !10, i64 740, !6, i64 744, !10, i64 752, !10, i64 756, !10, i64 760, !6, i64 768, !10, i64 776, !10, i64 780, !10, i64 784, !25, i64 792, !6, i64 1304, !6, i64 1312}
!25 = !{!"_CMtSync", !10, i64 0, !26, i64 8, !23, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !27, i64 56, !27, i64 160, !28, i64 264, !28, i64 368, !29, i64 472}
!26 = !{!"_CThread", !14, i64 0, !10, i64 8}
!27 = !{!"_CEvent", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 16, !7, i64 56}
!28 = !{!"_CSemaphore", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 16, !7, i64 56}
!29 = !{!"_CCriticalSection", !7, i64 0}
!30 = !{!"_CMatchFinder", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !7, i64 32, !7, i64 33, !7, i64 34, !7, i64 35, !10, i64 36, !6, i64 40, !6, i64 48, !10, i64 56, !10, i64 60, !6, i64 64, !6, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !14, i64 96, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !7, i64 120, !14, i64 1144, !23, i64 1152}
!31 = !{!"", !7, i64 0, !7, i64 512}
!32 = !{!"", !10, i64 0, !7, i64 4}
!33 = !{!"", !6, i64 0, !10, 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, !31, i64 1692, !31, i64 2716}
!34 = !{!20, !10, i64 212}
!35 = !{!20, !10, i64 248}
!36 = !{!20, !23, i64 224}
!37 = !{!23, !23, i64 0}
!38 = !{!20, !6, i64 160}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.CLzmaEnc_SeqOutStreamBuf = type { %struct.ISeqOutStream, ptr, i64, i32 }
%struct.ISeqOutStream = type { ptr }

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @LzmaEnc_CodeOneMemBlock(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef %3, i32 noundef %4, ptr nocapture noundef %5) local_unnamed_addr #1 {
  %7 = alloca %struct.CLzmaEnc_SeqOutStreamBuf, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3
  store ptr @SeqOutStreamBuf_Write, ptr %7, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %2, ptr %8, align 8, !tbaa !13
  %9 = load i64, ptr %3, align 8, !tbaa !14
  %10 = getelementptr inbounds i8, ptr %7, i64 16
  store i64 %9, ptr %10, align 8, !tbaa !15
  %11 = getelementptr inbounds i8, ptr %7, i64 24
  store i32 0, ptr %11, align 8, !tbaa !16
  %12 = getelementptr inbounds i8, ptr %0, i64 208
  store i32 0, ptr %12, align 8, !tbaa !17
  %13 = getelementptr inbounds i8, ptr %0, i64 212
  store i32 0, ptr %13, align 4, !tbaa !32
  %14 = getelementptr inbounds i8, ptr %0, i64 248
  store i32 0, ptr %14, align 8, !tbaa !33
  %.not = icmp eq i32 %1, 0
  br i1 %.not, label %16, label %15

15:                                               ; preds = %6
  tail call void @LzmaEnc_Init(ptr noundef nonnull %0)
  br label %16

16:                                               ; preds = %15, %6
  tail call void @LzmaEnc_InitPrices(ptr noundef nonnull %0)
  %17 = getelementptr inbounds i8, ptr %0, i64 224
  %18 = load i64, ptr %17, align 8, !tbaa !34
  %19 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @RangeEnc_Init(ptr noundef nonnull %19)
  %20 = getelementptr inbounds i8, ptr %0, i64 160
  store ptr %7, ptr %20, align 8, !tbaa !35
  %21 = icmp eq i32 %4, 0
  br i1 %21, label %32, label %22

22:                                               ; preds = %16
  %23 = load i32, ptr %5, align 4, !tbaa !36
  %24 = call i32 @LzmaEnc_CodeOneBlock(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %23)
  %25 = load i64, ptr %17, align 8, !tbaa !34
  %26 = sub i64 %25, %18
  %27 = trunc i64 %26 to i32
  store i32 %27, ptr %5, align 4, !tbaa !36
  %28 = load i64, ptr %10, align 8, !tbaa !15
  %29 = load i64, ptr %3, align 8, !tbaa !14
  %30 = sub i64 %29, %28
  store i64 %30, ptr %3, align 8, !tbaa !14
  %31 = load i32, ptr %11, align 8, !tbaa !16
  %.not22 = icmp eq i32 %31, 0
  %. = select i1 %.not22, i32 %24, i32 7
  br label %32

32:                                               ; preds = %22, %16
  %.0 = phi i32 [ 7, %16 ], [ %., %22 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3
  ret i32 %.0
}

; Function Attrs: nounwind uwtable
declare hidden i64 @SeqOutStreamBuf_Write(ptr noundef, ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @LzmaEnc_Init(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @LzmaEnc_InitPrices(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @RangeEnc_Init(ptr noundef) local_unnamed_addr #1

; Function Attrs: noinline nounwind uwtable
declare hidden i32 @LzmaEnc_CodeOneBlock(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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


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