; LLVM IR from SSBMTonberry/pocketlzma :: ref_spec/lzma1900/CPP/7zip/Compress/LzmaDecoder.ll (ZN9NCompress5NLzma8CDecoderC2Ev)

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

%"class.NCompress::NLzma::CDecoder" = type { %struct.ICompressCoder, %struct.ICompressSetDecoderProperties2, %struct.ICompressSetFinishMode, %struct.ICompressGetInStreamProcessedSize, %struct.ICompressSetBufSize, %struct.ICompressSetInStream, %struct.ICompressSetOutStreamSize, %struct.ISequentialInStream, %class.CMyUnknownImp, ptr, i32, i32, i32, i8, i8, i8, i64, i64, i64, i32, i32, i32, %struct.CLzmaDec, %class.CMyComPtr }
%struct.ICompressCoder = type { %struct.IUnknown }
%struct.IUnknown = type { ptr }
%struct.ICompressSetDecoderProperties2 = type { %struct.IUnknown }
%struct.ICompressSetFinishMode = type { %struct.IUnknown }
%struct.ICompressGetInStreamProcessedSize = type { %struct.IUnknown }
%struct.ICompressSetBufSize = type { %struct.IUnknown }
%struct.ICompressSetInStream = type { %struct.IUnknown }
%struct.ICompressSetOutStreamSize = type { %struct.IUnknown }
%struct.ISequentialInStream = type { %struct.IUnknown }
%class.CMyUnknownImp = type { i32 }
%struct.CLzmaDec = type { %struct._CLzmaProps, ptr, ptr, ptr, i64, i64, ptr, i32, i32, i32, i32, [4 x i32], i32, i32, i32, i32, [20 x i8] }
%struct._CLzmaProps = type { i8, i8, i8, i8, i32 }
%class.CMyComPtr = type { ptr }

@_ZTVN9NCompress5NLzma8CDecoderE = external dso_local unnamed_addr constant { [17 x ptr], [8 x ptr], [8 x ptr], [8 x ptr], [9 x ptr], [9 x ptr], [8 x ptr], [8 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NCompress5NLzma8CDecoderC2Ev(ptr noundef nonnull align 8 dereferenceable(272) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8
  call void @_ZN14ICompressCoderC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  %6 = getelementptr inbounds i8, ptr %5, i64 8
  call void @_ZN30ICompressSetDecoderProperties2C2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  %7 = getelementptr inbounds i8, ptr %5, i64 16
  call void @_ZN22ICompressSetFinishModeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #3
  %8 = getelementptr inbounds i8, ptr %5, i64 24
  call void @_ZN33ICompressGetInStreamProcessedSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  %9 = getelementptr inbounds i8, ptr %5, i64 32
  call void @_ZN19ICompressSetBufSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #3
  %10 = getelementptr inbounds i8, ptr %5, i64 40
  call void @_ZN20ICompressSetInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #3
  %11 = getelementptr inbounds i8, ptr %5, i64 48
  call void @_ZN25ICompressSetOutStreamSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #3
  %12 = getelementptr inbounds i8, ptr %5, i64 56
  call void @_ZN19ISequentialInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #3
  %13 = getelementptr inbounds i8, ptr %5, i64 64
  invoke void @_ZN13CMyUnknownImpC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %14 unwind label %40

14:                                               ; preds = %1
  store ptr getelementptr inbounds inrange(-16, 120) ({ [17 x ptr], [8 x ptr], [8 x ptr], [8 x ptr], [9 x ptr], [9 x ptr], [8 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i32 0, i32 0, i32 2), ptr %5, align 8, !tbaa !9
  %15 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr getelementptr inbounds inrange(-16, 48) ({ [17 x ptr], [8 x ptr], [8 x ptr], [8 x ptr], [9 x ptr], [9 x ptr], [8 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i32 0, i32 1, i32 2), ptr %15, align 8, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %5, i64 16
  store ptr getelementptr inbounds inrange(-16, 48) ({ [17 x ptr], [8 x ptr], [8 x ptr], [8 x ptr], [9 x ptr], [9 x ptr], [8 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i32 0, i32 2, i32 2), ptr %16, align 8, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %5, i64 24
  store ptr getelementptr inbounds inrange(-16, 48) ({ [17 x ptr], [8 x ptr], [8 x ptr], [8 x ptr], [9 x ptr], [9 x ptr], [8 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i32 0, i32 3, i32 2), ptr %17, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %5, i64 32
  store ptr getelementptr inbounds inrange(-16, 56) ({ [17 x ptr], [8 x ptr], [8 x ptr], [8 x ptr], [9 x ptr], [9 x ptr], [8 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i32 0, i32 4, i32 2), ptr %18, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %5, i64 40
  store ptr getelementptr inbounds inrange(-16, 56) ({ [17 x ptr], [8 x ptr], [8 x ptr], [8 x ptr], [9 x ptr], [9 x ptr], [8 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i32 0, i32 5, i32 2), ptr %19, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %5, i64 48
  store ptr getelementptr inbounds inrange(-16, 48) ({ [17 x ptr], [8 x ptr], [8 x ptr], [8 x ptr], [9 x ptr], [9 x ptr], [8 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i32 0, i32 6, i32 2), ptr %20, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %5, i64 56
  store ptr getelementptr inbounds inrange(-16, 48) ({ [17 x ptr], [8 x ptr], [8 x ptr], [8 x ptr], [9 x ptr], [9 x ptr], [8 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i32 0, i32 7, i32 2), ptr %21, align 8, !tbaa !9
  %22 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 9
  store ptr null, ptr %22, align 8, !tbaa !11
  %23 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 12
  store i32 0, ptr %23, align 8, !tbaa !31
  %24 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 13
  store i8 0, ptr %24, align 4, !tbaa !32
  %25 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 14
  store i8 0, ptr %25, align 1, !tbaa !33
  %26 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 15
  store i8 0, ptr %26, align 2, !tbaa !34
  %27 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 19
  store i32 1048576, ptr %27, align 8, !tbaa !35
  %28 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 20
  store i32 0, ptr %28, align 4, !tbaa !36
  %29 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 21
  store i32 1048576, ptr %29, align 8, !tbaa !37
  %30 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 22
  %31 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 23
  invoke void @_ZN9CMyComPtrI19ISequentialInStreamEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %32 unwind label %44

32:                                               ; preds = %14
  %33 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 17
  store i64 0, ptr %33, align 8, !tbaa !38
  %34 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 11
  store i32 0, ptr %34, align 4, !tbaa !39
  %35 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 10
  store i32 0, ptr %35, align 8, !tbaa !40
  %36 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 22
  %37 = getelementptr inbounds %struct.CLzmaDec, ptr %36, i32 0, i32 3
  store ptr null, ptr %37, align 8, !tbaa !41
  %38 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %5, i32 0, i32 22
  %39 = getelementptr inbounds %struct.CLzmaDec, ptr %38, i32 0, i32 1
  store ptr null, ptr %39, align 8, !tbaa !42
  ret void

40:                                               ; preds = %1
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %3, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %4, align 4
  br label %49

44:                                               ; preds = %14
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %3, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %4, align 4
  %48 = getelementptr inbounds i8, ptr %5, i64 64
  call void @_ZN13CMyUnknownImpD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %48) #3
  br label %49

49:                                               ; preds = %44, %40
  %50 = getelementptr inbounds i8, ptr %5, i64 56
  call void @_ZN8IUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #3
  %51 = getelementptr inbounds i8, ptr %5, i64 48
  call void @_ZN8IUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #3
  %52 = getelementptr inbounds i8, ptr %5, i64 40
  call void @_ZN8IUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #3
  %53 = getelementptr inbounds i8, ptr %5, i64 32
  call void @_ZN8IUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #3
  %54 = getelementptr inbounds i8, ptr %5, i64 24
  call void @_ZN8IUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #3
  %55 = getelementptr inbounds i8, ptr %5, i64 16
  call void @_ZN8IUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %55) #3
  %56 = getelementptr inbounds i8, ptr %5, i64 8
  call void @_ZN8IUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %56) #3
  call void @_ZN8IUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  br label %57

57:                                               ; preds = %49
  %58 = load ptr, ptr %3, align 8
  %59 = load i32, ptr %4, align 4
  %60 = insertvalue { ptr, i32 } poison, ptr %58, 0
  %61 = insertvalue { ptr, i32 } %60, i32 %59, 1
  resume { ptr, i32 } %61
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14ICompressCoderC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN30ICompressSetDecoderProperties2C2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN22ICompressSetFinishModeC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN33ICompressGetInStreamProcessedSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ICompressSetBufSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN20ICompressSetInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN25ICompressSetOutStreamSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ISequentialInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13CMyUnknownImpC2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9CMyComPtrI19ISequentialInStreamEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13CMyUnknownImpD2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8IUnknownD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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 = { inlinehint mustprogress 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 = { mustprogress 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !6, i64 72}
!12 = !{!"_ZTSN9NCompress5NLzma8CDecoderE", !13, i64 0, !15, i64 8, !16, i64 16, !17, i64 24, !18, i64 32, !19, i64 40, !20, i64 48, !21, i64 56, !22, i64 64, !6, i64 72, !23, i64 80, !23, i64 84, !24, i64 88, !25, i64 92, !25, i64 93, !25, i64 94, !26, i64 96, !26, i64 104, !26, i64 112, !23, i64 120, !23, i64 124, !23, i64 128, !27, i64 136, !30, i64 264}
!13 = !{!"_ZTS14ICompressCoder", !14, i64 0}
!14 = !{!"_ZTS8IUnknown"}
!15 = !{!"_ZTS30ICompressSetDecoderProperties2", !14, i64 0}
!16 = !{!"_ZTS22ICompressSetFinishMode", !14, i64 0}
!17 = !{!"_ZTS33ICompressGetInStreamProcessedSize", !14, i64 0}
!18 = !{!"_ZTS19ICompressSetBufSize", !14, i64 0}
!19 = !{!"_ZTS20ICompressSetInStream", !14, i64 0}
!20 = !{!"_ZTS25ICompressSetOutStreamSize", !14, i64 0}
!21 = !{!"_ZTS19ISequentialInStream", !14, i64 0}
!22 = !{!"_ZTS13CMyUnknownImp", !23, i64 0}
!23 = !{!"int", !7, i64 0}
!24 = !{!"_ZTS11ELzmaStatus", !7, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"long long", !7, i64 0}
!27 = !{!"_ZTS8CLzmaDec", !28, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !29, i64 32, !29, i64 40, !6, i64 48, !23, i64 56, !23, i64 60, !23, i64 64, !23, i64 68, !7, i64 72, !23, i64 88, !23, i64 92, !23, i64 96, !23, i64 100, !7, i64 104}
!28 = !{!"_ZTS11_CLzmaProps", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !23, i64 4}
!29 = !{!"long", !7, i64 0}
!30 = !{!"_ZTS9CMyComPtrI19ISequentialInStreamE", !6, i64 0}
!31 = !{!12, !24, i64 88}
!32 = !{!12, !25, i64 92}
!33 = !{!12, !25, i64 93}
!34 = !{!12, !25, i64 94}
!35 = !{!12, !23, i64 120}
!36 = !{!12, !23, i64 124}
!37 = !{!12, !23, i64 128}
!38 = !{!12, !26, i64 104}
!39 = !{!12, !23, i64 84}
!40 = !{!12, !23, i64 80}
!41 = !{!12, !6, i64 160}
!42 = !{!12, !6, i64 144}


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

@_ZTVN9NCompress5NLzma8CDecoderE = external dso_local unnamed_addr constant { [17 x ptr], [8 x ptr], [8 x ptr], [8 x ptr], [9 x ptr], [9 x ptr], [8 x ptr], [8 x ptr] }, align 8

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN9NCompress5NLzma8CDecoderC2Ev(ptr noundef nonnull align 8 dereferenceable(272) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN14ICompressCoderC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #3
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN30ICompressSetDecoderProperties2C2Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #3
  %3 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZN22ICompressSetFinishModeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #3
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN33ICompressGetInStreamProcessedSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  %5 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZN19ICompressSetBufSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZN20ICompressSetInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  %7 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZN25ICompressSetOutStreamSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #3
  %8 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZN19ISequentialInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  %9 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZN13CMyUnknownImpC2Ev(ptr noundef nonnull align 4 dereferenceable(4) %9)
  store ptr getelementptr inbounds inrange(-16, 120) (i8, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i64 16), ptr %0, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 48) (i8, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i64 152), ptr %2, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 48) (i8, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i64 216), ptr %3, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 48) (i8, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i64 280), ptr %4, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 56) (i8, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i64 344), ptr %5, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 56) (i8, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i64 416), ptr %6, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 48) (i8, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i64 488), ptr %7, align 8, !tbaa !5
  store ptr getelementptr inbounds inrange(-16, 48) (i8, ptr @_ZTVN9NCompress5NLzma8CDecoderE, i64 552), ptr %8, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr null, ptr %10, align 8, !tbaa !8
  %11 = getelementptr inbounds i8, ptr %0, i64 88
  %12 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(7) %11, i8 0, i64 7, i1 false)
  store i32 1048576, ptr %12, align 8, !tbaa !30
  %13 = getelementptr inbounds i8, ptr %0, i64 124
  store i32 0, ptr %13, align 4, !tbaa !31
  %14 = getelementptr inbounds i8, ptr %0, i64 128
  store i32 1048576, ptr %14, align 8, !tbaa !32
  %15 = getelementptr inbounds i8, ptr %0, i64 264
  tail call void @_ZN9CMyComPtrI19ISequentialInStreamEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %16 = getelementptr inbounds i8, ptr %0, i64 104
  store i64 0, ptr %16, align 8, !tbaa !33
  %17 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 0, ptr %17, align 4, !tbaa !34
  %18 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 0, ptr %18, align 8, !tbaa !35
  %19 = getelementptr inbounds i8, ptr %0, i64 160
  store ptr null, ptr %19, align 8, !tbaa !36
  %20 = getelementptr inbounds i8, ptr %0, i64 144
  store ptr null, ptr %20, align 8, !tbaa !37
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14ICompressCoderC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN30ICompressSetDecoderProperties2C2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN22ICompressSetFinishModeC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN33ICompressGetInStreamProcessedSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ICompressSetBufSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN20ICompressSetInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN25ICompressSetOutStreamSizeC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19ISequentialInStreamC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13CMyUnknownImpC2Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9CMyComPtrI19ISequentialInStreamEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

attributes #0 = { mustprogress 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 #1 = { inlinehint mustprogress 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !22, i64 72}
!9 = !{!"_ZTSN9NCompress5NLzma8CDecoderE", !10, i64 0, !12, i64 8, !13, i64 16, !14, i64 24, !15, i64 32, !16, i64 40, !17, i64 48, !18, i64 56, !19, i64 64, !22, i64 72, !20, i64 80, !20, i64 84, !23, i64 88, !24, i64 92, !24, i64 93, !24, i64 94, !25, i64 96, !25, i64 104, !25, i64 112, !20, i64 120, !20, i64 124, !20, i64 128, !26, i64 136, !29, i64 264}
!10 = !{!"_ZTS14ICompressCoder", !11, i64 0}
!11 = !{!"_ZTS8IUnknown"}
!12 = !{!"_ZTS30ICompressSetDecoderProperties2", !11, i64 0}
!13 = !{!"_ZTS22ICompressSetFinishMode", !11, i64 0}
!14 = !{!"_ZTS33ICompressGetInStreamProcessedSize", !11, i64 0}
!15 = !{!"_ZTS19ICompressSetBufSize", !11, i64 0}
!16 = !{!"_ZTS20ICompressSetInStream", !11, i64 0}
!17 = !{!"_ZTS25ICompressSetOutStreamSize", !11, i64 0}
!18 = !{!"_ZTS19ISequentialInStream", !11, i64 0}
!19 = !{!"_ZTS13CMyUnknownImp", !20, i64 0}
!20 = !{!"int", !21, i64 0}
!21 = !{!"omnipotent char", !7, i64 0}
!22 = !{!"any pointer", !21, i64 0}
!23 = !{!"_ZTS11ELzmaStatus", !21, i64 0}
!24 = !{!"bool", !21, i64 0}
!25 = !{!"long long", !21, i64 0}
!26 = !{!"_ZTS8CLzmaDec", !27, i64 0, !22, i64 8, !22, i64 16, !22, i64 24, !28, i64 32, !28, i64 40, !22, i64 48, !20, i64 56, !20, i64 60, !20, i64 64, !20, i64 68, !21, i64 72, !20, i64 88, !20, i64 92, !20, i64 96, !20, i64 100, !21, i64 104}
!27 = !{!"_ZTS11_CLzmaProps", !21, i64 0, !21, i64 1, !21, i64 2, !21, i64 3, !20, i64 4}
!28 = !{!"long", !21, i64 0}
!29 = !{!"_ZTS9CMyComPtrI19ISequentialInStreamE", !22, i64 0}
!30 = !{!9, !20, i64 120}
!31 = !{!9, !20, i64 124}
!32 = !{!9, !20, i64 128}
!33 = !{!9, !25, i64 104}
!34 = !{!9, !20, i64 84}
!35 = !{!9, !20, i64 80}
!36 = !{!9, !22, i64 160}
!37 = !{!9, !22, i64 144}


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