; LLVM IR from mncoppola/rpef :: utilities_src/squashfs2.1/lzma/C/7zip/Compress/LZMA (LZMAEncoder)

; 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::CEncoder" = type <{ %struct.ICompressCoder, %struct.ICompressSetOutStream, %struct.ICompressSetCoderProperties, %struct.ICompressWriteCoderProperties, %"class.NCompress::NLZMA::CBaseState", %class.CMyUnknownImp, [4096 x %"struct.NCompress::NLZMA::COptimal"], %class.CMyComPtr.5, %"class.NCompress::NRangeCoder::CEncoder", [12 x [16 x %"class.NCompress::NRangeCoder::CBitEncoder"]], [12 x %"class.NCompress::NRangeCoder::CBitEncoder"], [12 x %"class.NCompress::NRangeCoder::CBitEncoder"], [12 x %"class.NCompress::NRangeCoder::CBitEncoder"], [12 x %"class.NCompress::NRangeCoder::CBitEncoder"], [12 x [16 x %"class.NCompress::NRangeCoder::CBitEncoder"]], [4 x %"class.NCompress::NRangeCoder::CBitTreeEncoder.7"], [114 x %"class.NCompress::NRangeCoder::CBitEncoder"], %"class.NCompress::NRangeCoder::CBitTreeEncoder.8", %"class.NCompress::NLZMA::NLength::CPriceTableEncoder", %"class.NCompress::NLZMA::NLength::CPriceTableEncoder", %"class.NCompress::NLZMA::CLiteralEncoder", [274 x i32], i8, i8, [2 x i8], i32, i32, i32, i32, i32, i8, [3 x i8], [4 x [64 x i32]], [4 x [128 x i32]], [16 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i8, [7 x i8], ptr, i32, i8, i8, [2 x i8] }>
%struct.ICompressCoder = type { %struct.IUnknown }
%struct.IUnknown = type { ptr }
%struct.ICompressSetOutStream = type { %struct.IUnknown }
%struct.ICompressSetCoderProperties = type { %struct.IUnknown }
%struct.ICompressWriteCoderProperties = type { %struct.IUnknown }
%"class.NCompress::NLZMA::CBaseState" = type { %"class.NCompress::NLZMA::CState", i8, [4 x i32] }
%"class.NCompress::NLZMA::CState" = type { i8 }
%class.CMyUnknownImp = type { i32 }
%"struct.NCompress::NLZMA::COptimal" = type { %"class.NCompress::NLZMA::CState", i8, i8, i32, i32, i32, i32, i32, [4 x i32] }
%class.CMyComPtr.5 = type { ptr }
%"class.NCompress::NRangeCoder::CEncoder" = type { i32, i8, i64, i32, [4 x i8], %class.COutBuffer }
%class.COutBuffer = type <{ ptr, i32, i32, i32, i32, %class.CMyComPtr.6, i64, ptr, i8, [7 x i8] }>
%class.CMyComPtr.6 = type { ptr }
%"class.NCompress::NRangeCoder::CBitEncoder" = type { %"class.NCompress::NRangeCoder::CBitModel" }
%"class.NCompress::NRangeCoder::CBitModel" = type { i32 }
%"class.NCompress::NRangeCoder::CBitTreeEncoder.7" = type { [64 x %"class.NCompress::NRangeCoder::CBitEncoder"] }
%"class.NCompress::NRangeCoder::CBitTreeEncoder.8" = type { [16 x %"class.NCompress::NRangeCoder::CBitEncoder"] }
%"class.NCompress::NLZMA::NLength::CPriceTableEncoder" = type { %"class.NCompress::NLZMA::NLength::CEncoder", [272 x [16 x i32]], i32, [16 x i32] }
%"class.NCompress::NLZMA::NLength::CEncoder" = type { %"class.NCompress::NRangeCoder::CBitEncoder", %"class.NCompress::NRangeCoder::CBitEncoder", [16 x %"class.NCompress::NRangeCoder::CBitTreeEncoder"], [16 x %"class.NCompress::NRangeCoder::CBitTreeEncoder"], %"class.NCompress::NRangeCoder::CBitTreeEncoder.4" }
%"class.NCompress::NRangeCoder::CBitTreeEncoder" = type { [8 x %"class.NCompress::NRangeCoder::CBitEncoder"] }
%"class.NCompress::NRangeCoder::CBitTreeEncoder.4" = type { [256 x %"class.NCompress::NRangeCoder::CBitEncoder"] }
%"class.NCompress::NLZMA::CLiteralEncoder" = type <{ ptr, i32, i32, i32, [4 x i8] }>

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN9NCompress5NLZMA8CEncoder6CreateEv(ptr noundef nonnull align 8 dereferenceable(210678) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8
  %9 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 8
  %10 = call noundef zeroext i1 @_ZN9NCompress11NRangeCoder8CEncoder6CreateEj(ptr noundef nonnull align 8 dereferenceable(80) %9, i32 noundef 1048576)
  br i1 %10, label %12, label %11

11:                                               ; preds = %1
  store i32 -2147024882, ptr %2, align 4
  br label %172

12:                                               ; preds = %1
  %13 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %14 = call noundef zeroext i1 @_ZNK9CMyComPtrI12IMatchFinderEntEv(ptr noundef nonnull align 8 dereferenceable(8) %13)
  br i1 %14, label %15, label %123

15:                                               ; preds = %12
  %16 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 49
  %17 = load i32, ptr %16, align 8, !tbaa !9
  switch i32 %17, label %117 [
    i32 0, label %18
    i32 1, label %27
    i32 2, label %36
    i32 3, label %45
    i32 4, label %54
    i32 5, label %63
    i32 6, label %72
    i32 7, label %81
    i32 8, label %90
    i32 9, label %99
    i32 10, label %108
  ]

18:                                               ; preds = %15
  %19 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #5
  invoke void @_ZN4NBT219CMatchFinderBinTreeC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %19)
          to label %20 unwind label %23

20:                                               ; preds = %18
  %21 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %22 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef %19)
  br label %117

23:                                               ; preds = %18
  %24 = landingpad { ptr, i32 }
          cleanup
  %25 = extractvalue { ptr, i32 } %24, 0
  store ptr %25, ptr %4, align 8
  %26 = extractvalue { ptr, i32 } %24, 1
  store i32 %26, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %19, i64 noundef 128) #6
  br label %174

27:                                               ; preds = %15
  %28 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #5
  invoke void @_ZN4NBT319CMatchFinderBinTreeC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %28)
          to label %29 unwind label %32

29:                                               ; preds = %27
  %30 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %31 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef %28)
  br label %117

32:                                               ; preds = %27
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %4, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %28, i64 noundef 128) #6
  br label %174

36:                                               ; preds = %15
  %37 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #5
  invoke void @_ZN4NBT419CMatchFinderBinTreeC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %37)
          to label %38 unwind label %41

38:                                               ; preds = %36
  %39 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %40 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef %37)
  br label %117

41:                                               ; preds = %36
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %4, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %37, i64 noundef 128) #6
  br label %174

45:                                               ; preds = %15
  %46 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #5
  invoke void @_ZN5NBT4B19CMatchFinderBinTreeC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %46)
          to label %47 unwind label %50

47:                                               ; preds = %45
  %48 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %49 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef %46)
  br label %117

50:                                               ; preds = %45
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %4, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %46, i64 noundef 128) #6
  br label %174

54:                                               ; preds = %15
  %55 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 160) #5
  invoke void @_ZN5NPat29CPatriciaC1Ev(ptr noundef nonnull align 8 dereferenceable(160) %55)
          to label %56 unwind label %59

56:                                               ; preds = %54
  %57 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %58 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef %55)
  br label %117

59:                                               ; preds = %54
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %4, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %55, i64 noundef 160) #6
  br label %174

63:                                               ; preds = %15
  %64 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 168) #5
  invoke void @_ZN6NPat2H9CPatriciaC1Ev(ptr noundef nonnull align 8 dereferenceable(168) %64)
          to label %65 unwind label %68

65:                                               ; preds = %63
  %66 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %67 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef %64)
  br label %117

68:                                               ; preds = %63
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %4, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %64, i64 noundef 168) #6
  br label %174

72:                                               ; preds = %15
  %73 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 168) #5
  invoke void @_ZN6NPat3H9CPatriciaC1Ev(ptr noundef nonnull align 8 dereferenceable(168) %73)
          to label %74 unwind label %77

74:                                               ; preds = %72
  %75 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %76 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef %73)
  br label %117

77:                                               ; preds = %72
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %4, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %73, i64 noundef 168) #6
  br label %174

81:                                               ; preds = %15
  %82 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 168) #5
  invoke void @_ZN6NPat4H9CPatriciaC1Ev(ptr noundef nonnull align 8 dereferenceable(168) %82)
          to label %83 unwind label %86

83:                                               ; preds = %81
  %84 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %85 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef %82)
  br label %117

86:                                               ; preds = %81
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %4, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %82, i64 noundef 168) #6
  br label %174

90:                                               ; preds = %15
  %91 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 152) #5
  invoke void @_ZN6NPat2R9CPatriciaC1Ev(ptr noundef nonnull align 8 dereferenceable(152) %91)
          to label %92 unwind label %95

92:                                               ; preds = %90
  %93 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %94 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef %91)
  br label %117

95:                                               ; preds = %90
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %4, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %91, i64 noundef 152) #6
  br label %174

99:                                               ; preds = %15
  %100 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #5
  invoke void @_ZN4NHC314CMatchFinderHCC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %100)
          to label %101 unwind label %104

101:                                              ; preds = %99
  %102 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %103 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef %100)
  br label %117

104:                                              ; preds = %99
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %4, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %100, i64 noundef 128) #6
  br label %174

108:                                              ; preds = %15
  %109 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #5
  invoke void @_ZN4NHC414CMatchFinderHCC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %109)
          to label %110 unwind label %113

110:                                              ; preds = %108
  %111 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %112 = call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef %109)
  br label %117

113:                                              ; preds = %108
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %4, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %109, i64 noundef 128) #6
  br label %174

117:                                              ; preds = %110, %101, %92, %83, %74, %65, %56, %47, %38, %29, %20, %15
  %118 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %119 = call noundef ptr @_ZNK9CMyComPtrI12IMatchFinderEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %118)
  %120 = icmp eq ptr %119, null
  br i1 %120, label %121, label %122

121:                                              ; preds = %117
  store i32 -2147024882, ptr %2, align 4
  br label %172

122:                                              ; preds = %117
  br label %123

123:                                              ; preds = %122, %12
  %124 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 20
  %125 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 39
  %126 = load i32, ptr %125, align 4, !tbaa !33
  %127 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 40
  %128 = load i32, ptr %127, align 8, !tbaa !34
  %129 = call noundef zeroext i1 @_ZN9NCompress5NLZMA15CLiteralEncoder6CreateEii(ptr noundef nonnull align 8 dereferenceable(20) %124, i32 noundef %126, i32 noundef %128)
  br i1 %129, label %131, label %130

130:                                              ; preds = %123
  store i32 -2147024882, ptr %2, align 4
  br label %172

131:                                              ; preds = %123
  %132 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 41
  %133 = load i32, ptr %132, align 4, !tbaa !35
  %134 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 42
  %135 = load i32, ptr %134, align 8, !tbaa !36
  %136 = icmp eq i32 %133, %135
  br i1 %136, label %137, label %144

137:                                              ; preds = %131
  %138 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 43
  %139 = load i32, ptr %138, align 4, !tbaa !37
  %140 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 25
  %141 = load i32, ptr %140, align 4, !tbaa !38
  %142 = icmp eq i32 %139, %141
  br i1 %142, label %143, label %144

143:                                              ; preds = %137
  store i32 0, ptr %2, align 4
  br label %172

144:                                              ; preds = %137, %131
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %145 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 7
  %146 = call noundef ptr @_ZNK9CMyComPtrI12IMatchFinderEptEv(ptr noundef nonnull align 8 dereferenceable(8) %145)
  %147 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 41
  %148 = load i32, ptr %147, align 4, !tbaa !35
  %149 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 25
  %150 = load i32, ptr %149, align 4, !tbaa !38
  %151 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 25
  %152 = load i32, ptr %151, align 4, !tbaa !38
  %153 = sub i32 547, %152
  %154 = load ptr, ptr %146, align 8, !tbaa !39
  %155 = getelementptr inbounds ptr, ptr %154, i64 10
  %156 = load ptr, ptr %155, align 8
  %157 = call noundef i32 %156(ptr noundef nonnull align 8 dereferenceable(8) %146, i32 noundef %148, i32 noundef 4096, i32 noundef %150, i32 noundef %153)
  store i32 %157, ptr %6, align 4, !tbaa !41
  %158 = load i32, ptr %6, align 4, !tbaa !41
  %159 = icmp ne i32 %158, 0
  br i1 %159, label %160, label %162

160:                                              ; preds = %144
  %161 = load i32, ptr %6, align 4, !tbaa !41
  store i32 %161, ptr %2, align 4
  store i32 1, ptr %7, align 4
  br label %163

162:                                              ; preds = %144
  store i32 0, ptr %7, align 4
  br label %163

163:                                              ; preds = %162, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %164 = load i32, ptr %7, align 4
  switch i32 %164, label %179 [
    i32 0, label %165
    i32 1, label %172
  ]

165:                                              ; preds = %163
  %166 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 41
  %167 = load i32, ptr %166, align 4, !tbaa !35
  %168 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 42
  store i32 %167, ptr %168, align 8, !tbaa !36
  %169 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 25
  %170 = load i32, ptr %169, align 4, !tbaa !38
  %171 = getelementptr inbounds %"class.NCompress::NLZMA::CEncoder", ptr %8, i32 0, i32 43
  store i32 %170, ptr %171, align 4, !tbaa !37
  store i32 0, ptr %2, align 4
  br label %172

172:                                              ; preds = %165, %163, %143, %130, %121, %11
  %173 = load i32, ptr %2, align 4
  ret i32 %173

174:                                              ; preds = %113, %104, %95, %86, %77, %68, %59, %50, %41, %32, %23
  %175 = load ptr, ptr %4, align 8
  %176 = load i32, ptr %5, align 4
  %177 = insertvalue { ptr, i32 } poison, ptr %175, 0
  %178 = insertvalue { ptr, i32 } %177, i32 %176, 1
  resume { ptr, i32 } %178

179:                                              ; preds = %163
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NCompress11NRangeCoder8CEncoder6CreateEj(ptr noundef nonnull align 8 dereferenceable(80), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9CMyComPtrI12IMatchFinderEntEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NCompress5NLZMA15CLiteralEncoder6CreateEii(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef, i32 noundef) #2 align 2

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

declare void @_ZN4NBT219CMatchFinderBinTreeC1Ev(ptr)

declare void @_ZN4NBT319CMatchFinderBinTreeC1Ev(ptr)

declare void @_ZN4NBT419CMatchFinderBinTreeC1Ev(ptr)

declare void @_ZN5NBT4B19CMatchFinderBinTreeC1Ev(ptr)

declare void @_ZN5NPat29CPatriciaC1Ev(ptr)

declare void @_ZN6NPat2H9CPatriciaC1Ev(ptr)

declare void @_ZN6NPat3H9CPatriciaC1Ev(ptr)

declare void @_ZN6NPat4H9CPatriciaC1Ev(ptr)

declare void @_ZN6NPat2R9CPatriciaC1Ev(ptr)

declare void @_ZN4NHC314CMatchFinderHCC1Ev(ptr)

declare void @_ZN4NHC414CMatchFinderHCC1Ev(ptr)

attributes #0 = { nobuiltin nounwind "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nobuiltin allocsize(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 #5 = { builtin allocsize(0) }
attributes #6 = { builtin nounwind }
attributes #7 = { 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, !19, i64 210672}
!10 = !{!"_ZTSN9NCompress5NLZMA8CEncoderE", !11, i64 0, !13, i64 8, !14, i64 16, !15, i64 24, !16, i64 32, !18, i64 52, !7, i64 56, !20, i64 163896, !21, i64 163904, !7, i64 163984, !7, i64 164752, !7, i64 164800, !7, i64 164848, !7, i64 164896, !7, i64 164944, !7, i64 165712, !7, i64 166736, !26, i64 167192, !27, i64 167256, !27, i64 186788, !32, i64 206320, !7, i64 206344, !25, i64 207440, !25, i64 207441, !19, i64 207444, !19, i64 207448, !19, i64 207452, !19, i64 207456, !19, i64 207460, !25, i64 207464, !7, i64 207468, !7, i64 208492, !7, i64 210540, !19, i64 210604, !19, i64 210608, !19, i64 210612, !19, i64 210616, !19, i64 210620, !19, i64 210624, !19, i64 210628, !19, i64 210632, !19, i64 210636, !22, i64 210640, !22, i64 210648, !25, i64 210656, !6, i64 210664, !19, i64 210672, !25, i64 210676, !25, i64 210677}
!11 = !{!"_ZTS14ICompressCoder", !12, i64 0}
!12 = !{!"_ZTS8IUnknown"}
!13 = !{!"_ZTS21ICompressSetOutStream", !12, i64 0}
!14 = !{!"_ZTS27ICompressSetCoderProperties", !12, i64 0}
!15 = !{!"_ZTS29ICompressWriteCoderProperties", !12, i64 0}
!16 = !{!"_ZTSN9NCompress5NLZMA10CBaseStateE", !17, i64 0, !7, i64 1, !7, i64 4}
!17 = !{!"_ZTSN9NCompress5NLZMA6CStateE", !7, i64 0}
!18 = !{!"_ZTS13CMyUnknownImp", !19, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTS9CMyComPtrI12IMatchFinderE", !6, i64 0}
!21 = !{!"_ZTSN9NCompress11NRangeCoder8CEncoderE", !19, i64 0, !7, i64 4, !22, i64 8, !19, i64 16, !23, i64 24}
!22 = !{!"long long", !7, i64 0}
!23 = !{!"_ZTS10COutBuffer", !6, i64 0, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !24, i64 24, !22, i64 32, !6, i64 40, !25, i64 48}
!24 = !{!"_ZTS9CMyComPtrI20ISequentialOutStreamE", !6, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSN9NCompress11NRangeCoder15CBitTreeEncoderILi5ELi4EEE", !7, i64 0}
!27 = !{!"_ZTSN9NCompress5NLZMA7NLength18CPriceTableEncoderE", !28, i64 0, !7, i64 2056, !19, i64 19464, !7, i64 19468}
!28 = !{!"_ZTSN9NCompress5NLZMA7NLength8CEncoderE", !29, i64 0, !29, i64 4, !7, i64 8, !7, i64 520, !31, i64 1032}
!29 = !{!"_ZTSN9NCompress11NRangeCoder11CBitEncoderILi5EEE", !30, i64 0}
!30 = !{!"_ZTSN9NCompress11NRangeCoder9CBitModelILi5EEE", !19, i64 0}
!31 = !{!"_ZTSN9NCompress11NRangeCoder15CBitTreeEncoderILi5ELi8EEE", !7, i64 0}
!32 = !{!"_ZTSN9NCompress5NLZMA15CLiteralEncoderE", !6, i64 0, !19, i64 8, !19, i64 12, !19, i64 16}
!33 = !{!10, !19, i64 210620}
!34 = !{!10, !19, i64 210624}
!35 = !{!10, !19, i64 210628}
!36 = !{!10, !19, i64 210632}
!37 = !{!10, !19, i64 210636}
!38 = !{!10, !19, i64 207444}
!39 = !{!40, !40, i64 0}
!40 = !{!"vtable pointer", !8, i64 0}
!41 = !{!19, !19, i64 0}


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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN9NCompress5NLZMA8CEncoder6CreateEv(ptr noundef nonnull align 8 dereferenceable(210678) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 163904
  %3 = tail call noundef zeroext i1 @_ZN9NCompress11NRangeCoder8CEncoder6CreateEj(ptr noundef nonnull align 8 dereferenceable(80) %2, i32 noundef 1048576)
  br i1 %3, label %4, label %91

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 163896
  %6 = tail call noundef zeroext i1 @_ZNK9CMyComPtrI12IMatchFinderEntEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  br i1 %6, label %7, label %58

7:                                                ; preds = %4
  %8 = getelementptr inbounds i8, ptr %0, i64 210672
  %9 = load i32, ptr %8, align 8, !tbaa !5
  switch i32 %9, label %55 [
    i32 0, label %10
    i32 1, label %14
    i32 2, label %18
    i32 3, label %22
    i32 4, label %26
    i32 5, label %30
    i32 6, label %34
    i32 7, label %38
    i32 8, label %42
    i32 9, label %46
    i32 10, label %50
  ]

10:                                               ; preds = %7
  %11 = tail call noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #4
  invoke void @_ZN4NBT219CMatchFinderBinTreeC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %11)
          to label %.sink.split unwind label %12

12:                                               ; preds = %10
  %13 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %11, i64 noundef 128) #5
  br label %92

14:                                               ; preds = %7
  %15 = tail call noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #4
  invoke void @_ZN4NBT319CMatchFinderBinTreeC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %15)
          to label %.sink.split unwind label %16

16:                                               ; preds = %14
  %17 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %15, i64 noundef 128) #5
  br label %92

18:                                               ; preds = %7
  %19 = tail call noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #4
  invoke void @_ZN4NBT419CMatchFinderBinTreeC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %19)
          to label %.sink.split unwind label %20

20:                                               ; preds = %18
  %21 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %19, i64 noundef 128) #5
  br label %92

22:                                               ; preds = %7
  %23 = tail call noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #4
  invoke void @_ZN5NBT4B19CMatchFinderBinTreeC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %23)
          to label %.sink.split unwind label %24

24:                                               ; preds = %22
  %25 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %23, i64 noundef 128) #5
  br label %92

26:                                               ; preds = %7
  %27 = tail call noalias noundef nonnull dereferenceable(160) ptr @_Znwm(i64 noundef 160) #4
  invoke void @_ZN5NPat29CPatriciaC1Ev(ptr noundef nonnull align 8 dereferenceable(160) %27)
          to label %.sink.split unwind label %28

28:                                               ; preds = %26
  %29 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %27, i64 noundef 160) #5
  br label %92

30:                                               ; preds = %7
  %31 = tail call noalias noundef nonnull dereferenceable(168) ptr @_Znwm(i64 noundef 168) #4
  invoke void @_ZN6NPat2H9CPatriciaC1Ev(ptr noundef nonnull align 8 dereferenceable(168) %31)
          to label %.sink.split unwind label %32

32:                                               ; preds = %30
  %33 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %31, i64 noundef 168) #5
  br label %92

34:                                               ; preds = %7
  %35 = tail call noalias noundef nonnull dereferenceable(168) ptr @_Znwm(i64 noundef 168) #4
  invoke void @_ZN6NPat3H9CPatriciaC1Ev(ptr noundef nonnull align 8 dereferenceable(168) %35)
          to label %.sink.split unwind label %36

36:                                               ; preds = %34
  %37 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %35, i64 noundef 168) #5
  br label %92

38:                                               ; preds = %7
  %39 = tail call noalias noundef nonnull dereferenceable(168) ptr @_Znwm(i64 noundef 168) #4
  invoke void @_ZN6NPat4H9CPatriciaC1Ev(ptr noundef nonnull align 8 dereferenceable(168) %39)
          to label %.sink.split unwind label %40

40:                                               ; preds = %38
  %41 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %39, i64 noundef 168) #5
  br label %92

42:                                               ; preds = %7
  %43 = tail call noalias noundef nonnull dereferenceable(152) ptr @_Znwm(i64 noundef 152) #4
  invoke void @_ZN6NPat2R9CPatriciaC1Ev(ptr noundef nonnull align 8 dereferenceable(152) %43)
          to label %.sink.split unwind label %44

44:                                               ; preds = %42
  %45 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %43, i64 noundef 152) #5
  br label %92

46:                                               ; preds = %7
  %47 = tail call noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #4
  invoke void @_ZN4NHC314CMatchFinderHCC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %47)
          to label %.sink.split unwind label %48

48:                                               ; preds = %46
  %49 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %47, i64 noundef 128) #5
  br label %92

50:                                               ; preds = %7
  %51 = tail call noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #4
  invoke void @_ZN4NHC414CMatchFinderHCC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %51)
          to label %.sink.split unwind label %52

52:                                               ; preds = %50
  %53 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %51, i64 noundef 128) #5
  br label %92

.sink.split:                                      ; preds = %50, %46, %42, %38, %34, %30, %26, %22, %18, %14, %10
  %.sink = phi ptr [ %11, %10 ], [ %15, %14 ], [ %19, %18 ], [ %23, %22 ], [ %27, %26 ], [ %31, %30 ], [ %35, %34 ], [ %39, %38 ], [ %43, %42 ], [ %47, %46 ], [ %51, %50 ]
  %54 = tail call noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull %.sink)
  br label %55

55:                                               ; preds = %.sink.split, %7
  %56 = tail call noundef ptr @_ZNK9CMyComPtrI12IMatchFinderEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %57 = icmp eq ptr %56, null
  br i1 %57, label %91, label %58

58:                                               ; preds = %55, %4
  %59 = getelementptr inbounds i8, ptr %0, i64 206320
  %60 = getelementptr inbounds i8, ptr %0, i64 210620
  %61 = load i32, ptr %60, align 4, !tbaa !32
  %62 = getelementptr inbounds i8, ptr %0, i64 210624
  %63 = load i32, ptr %62, align 8, !tbaa !33
  %64 = tail call noundef zeroext i1 @_ZN9NCompress5NLZMA15CLiteralEncoder6CreateEii(ptr noundef nonnull align 8 dereferenceable(20) %59, i32 noundef %61, i32 noundef %63)
  br i1 %64, label %65, label %91

65:                                               ; preds = %58
  %66 = getelementptr inbounds i8, ptr %0, i64 210628
  %67 = load i32, ptr %66, align 4, !tbaa !34
  %68 = getelementptr inbounds i8, ptr %0, i64 210632
  %69 = load i32, ptr %68, align 8, !tbaa !35
  %70 = icmp eq i32 %67, %69
  br i1 %70, label %71, label %77

71:                                               ; preds = %65
  %72 = getelementptr inbounds i8, ptr %0, i64 210636
  %73 = load i32, ptr %72, align 4, !tbaa !36
  %74 = getelementptr inbounds i8, ptr %0, i64 207444
  %75 = load i32, ptr %74, align 4, !tbaa !37
  %76 = icmp eq i32 %73, %75
  br i1 %76, label %91, label %77

77:                                               ; preds = %71, %65
  %78 = tail call noundef ptr @_ZNK9CMyComPtrI12IMatchFinderEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %79 = load i32, ptr %66, align 4, !tbaa !34
  %80 = getelementptr inbounds i8, ptr %0, i64 207444
  %81 = load i32, ptr %80, align 4, !tbaa !37
  %82 = sub i32 547, %81
  %83 = load ptr, ptr %78, align 8, !tbaa !38
  %84 = getelementptr inbounds i8, ptr %83, i64 80
  %85 = load ptr, ptr %84, align 8
  %86 = tail call noundef i32 %85(ptr noundef nonnull align 8 dereferenceable(8) %78, i32 noundef %79, i32 noundef 4096, i32 noundef %81, i32 noundef %82)
  %.not.not = icmp eq i32 %86, 0
  br i1 %.not.not, label %87, label %91

87:                                               ; preds = %77
  %88 = load i32, ptr %66, align 4, !tbaa !34
  store i32 %88, ptr %68, align 8, !tbaa !35
  %89 = load i32, ptr %80, align 4, !tbaa !37
  %90 = getelementptr inbounds i8, ptr %0, i64 210636
  store i32 %89, ptr %90, align 4, !tbaa !36
  br label %91

91:                                               ; preds = %77, %71, %58, %55, %1, %87
  %.1 = phi i32 [ %86, %77 ], [ 0, %87 ], [ -2147024882, %1 ], [ -2147024882, %55 ], [ -2147024882, %58 ], [ 0, %71 ]
  ret i32 %.1

92:                                               ; preds = %52, %48, %44, %40, %36, %32, %28, %24, %20, %16, %12
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %49, %48 ], [ %45, %44 ], [ %41, %40 ], [ %37, %36 ], [ %33, %32 ], [ %29, %28 ], [ %25, %24 ], [ %21, %20 ], [ %17, %16 ], [ %13, %12 ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NCompress11NRangeCoder8CEncoder6CreateEj(ptr noundef nonnull align 8 dereferenceable(80), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK9CMyComPtrI12IMatchFinderEntEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9CMyComPtrI12IMatchFinderEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NCompress5NLZMA15CLiteralEncoder6CreateEii(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

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

declare void @_ZN4NBT219CMatchFinderBinTreeC1Ev(ptr) local_unnamed_addr

declare void @_ZN4NBT319CMatchFinderBinTreeC1Ev(ptr) local_unnamed_addr

declare void @_ZN4NBT419CMatchFinderBinTreeC1Ev(ptr) local_unnamed_addr

declare void @_ZN5NBT4B19CMatchFinderBinTreeC1Ev(ptr) local_unnamed_addr

declare void @_ZN5NPat29CPatriciaC1Ev(ptr) local_unnamed_addr

declare void @_ZN6NPat2H9CPatriciaC1Ev(ptr) local_unnamed_addr

declare void @_ZN6NPat3H9CPatriciaC1Ev(ptr) local_unnamed_addr

declare void @_ZN6NPat4H9CPatriciaC1Ev(ptr) local_unnamed_addr

declare void @_ZN6NPat2R9CPatriciaC1Ev(ptr) local_unnamed_addr

declare void @_ZN4NHC314CMatchFinderHCC1Ev(ptr) local_unnamed_addr

declare void @_ZN4NHC414CMatchFinderHCC1Ev(ptr) local_unnamed_addr

attributes #0 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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 = { nobuiltin allocsize(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 #4 = { builtin allocsize(0) }
attributes #5 = { builtin 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, !17, i64 210672}
!6 = !{!"_ZTSN9NCompress5NLZMA8CEncoderE", !7, i64 0, !9, i64 8, !10, i64 16, !11, i64 24, !12, i64 32, !16, i64 52, !14, i64 56, !18, i64 163896, !20, i64 163904, !14, i64 163984, !14, i64 164752, !14, i64 164800, !14, i64 164848, !14, i64 164896, !14, i64 164944, !14, i64 165712, !14, i64 166736, !25, i64 167192, !26, i64 167256, !26, i64 186788, !31, i64 206320, !14, i64 206344, !24, i64 207440, !24, i64 207441, !17, i64 207444, !17, i64 207448, !17, i64 207452, !17, i64 207456, !17, i64 207460, !24, i64 207464, !14, i64 207468, !14, i64 208492, !14, i64 210540, !17, i64 210604, !17, i64 210608, !17, i64 210612, !17, i64 210616, !17, i64 210620, !17, i64 210624, !17, i64 210628, !17, i64 210632, !17, i64 210636, !21, i64 210640, !21, i64 210648, !24, i64 210656, !19, i64 210664, !17, i64 210672, !24, i64 210676, !24, i64 210677}
!7 = !{!"_ZTS14ICompressCoder", !8, i64 0}
!8 = !{!"_ZTS8IUnknown"}
!9 = !{!"_ZTS21ICompressSetOutStream", !8, i64 0}
!10 = !{!"_ZTS27ICompressSetCoderProperties", !8, i64 0}
!11 = !{!"_ZTS29ICompressWriteCoderProperties", !8, i64 0}
!12 = !{!"_ZTSN9NCompress5NLZMA10CBaseStateE", !13, i64 0, !14, i64 1, !14, i64 4}
!13 = !{!"_ZTSN9NCompress5NLZMA6CStateE", !14, i64 0}
!14 = !{!"omnipotent char", !15, i64 0}
!15 = !{!"Simple C++ TBAA"}
!16 = !{!"_ZTS13CMyUnknownImp", !17, i64 0}
!17 = !{!"int", !14, i64 0}
!18 = !{!"_ZTS9CMyComPtrI12IMatchFinderE", !19, i64 0}
!19 = !{!"any pointer", !14, i64 0}
!20 = !{!"_ZTSN9NCompress11NRangeCoder8CEncoderE", !17, i64 0, !14, i64 4, !21, i64 8, !17, i64 16, !22, i64 24}
!21 = !{!"long long", !14, i64 0}
!22 = !{!"_ZTS10COutBuffer", !19, i64 0, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !23, i64 24, !21, i64 32, !19, i64 40, !24, i64 48}
!23 = !{!"_ZTS9CMyComPtrI20ISequentialOutStreamE", !19, i64 0}
!24 = !{!"bool", !14, i64 0}
!25 = !{!"_ZTSN9NCompress11NRangeCoder15CBitTreeEncoderILi5ELi4EEE", !14, i64 0}
!26 = !{!"_ZTSN9NCompress5NLZMA7NLength18CPriceTableEncoderE", !27, i64 0, !14, i64 2056, !17, i64 19464, !14, i64 19468}
!27 = !{!"_ZTSN9NCompress5NLZMA7NLength8CEncoderE", !28, i64 0, !28, i64 4, !14, i64 8, !14, i64 520, !30, i64 1032}
!28 = !{!"_ZTSN9NCompress11NRangeCoder11CBitEncoderILi5EEE", !29, i64 0}
!29 = !{!"_ZTSN9NCompress11NRangeCoder9CBitModelILi5EEE", !17, i64 0}
!30 = !{!"_ZTSN9NCompress11NRangeCoder15CBitTreeEncoderILi5ELi8EEE", !14, i64 0}
!31 = !{!"_ZTSN9NCompress5NLZMA15CLiteralEncoderE", !19, i64 0, !17, i64 8, !17, i64 12, !17, i64 16}
!32 = !{!6, !17, i64 210620}
!33 = !{!6, !17, i64 210624}
!34 = !{!6, !17, i64 210628}
!35 = !{!6, !17, i64 210632}
!36 = !{!6, !17, i64 210636}
!37 = !{!6, !17, i64 207444}
!38 = !{!39, !39, i64 0}
!39 = !{!"vtable pointer", !15, i64 0}


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