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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN9NCompress5NLzma8CDecoder8CodeSpecEP19ISequentialInStreamP20ISequentialOutStreamP21ICompressProgressInfo(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #1 align 2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i64, align 8
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %29 = load ptr, ptr %6, align 8
  %30 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 9
  %31 = load ptr, ptr %30, align 8, !tbaa !9
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %37

33:                                               ; preds = %4
  %34 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 14
  %35 = load i8, ptr %34, align 1, !tbaa !29, !range !30, !noundef !31
  %36 = trunc i8 %35 to i1
  br i1 %36, label %38, label %37

37:                                               ; preds = %33, %4
  store i32 1, ptr %5, align 4
  br label %303

38:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %39 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 17
  %40 = load i64, ptr %39, align 8, !tbaa !32
  store i64 %40, ptr %10, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %41 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %42 = getelementptr inbounds %struct.CLzmaDec, ptr %41, i32 0, i32 5
  %43 = load i64, ptr %42, align 8, !tbaa !34
  store i64 %43, ptr %11, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !36
  br label %44

44:                                               ; preds = %301, %38
  %45 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 10
  %46 = load i32, ptr %45, align 8, !tbaa !37
  %47 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 11
  %48 = load i32, ptr %47, align 4, !tbaa !38
  %49 = icmp eq i32 %46, %48
  br i1 %49, label %50, label %66

50:                                               ; preds = %44
  %51 = load i32, ptr %12, align 4, !tbaa !36
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %53, label %66

53:                                               ; preds = %50
  %54 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 11
  store i32 0, ptr %54, align 4, !tbaa !38
  %55 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 10
  store i32 0, ptr %55, align 8, !tbaa !37
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 9
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 20
  %60 = load i32, ptr %59, align 4, !tbaa !39
  %61 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 11
  %62 = load ptr, ptr %56, align 8, !tbaa !40
  %63 = getelementptr inbounds ptr, ptr %62, i64 5
  %64 = load ptr, ptr %63, align 8
  %65 = call noundef i32 %64(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef %58, i32 noundef %60, ptr noundef %61)
  store i32 %65, ptr %12, align 4, !tbaa !36
  br label %66

66:                                               ; preds = %53, %50, %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %67 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %68 = getelementptr inbounds %struct.CLzmaDec, ptr %67, i32 0, i32 5
  %69 = load i64, ptr %68, align 8, !tbaa !34
  store i64 %69, ptr %13, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %70 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %71 = getelementptr inbounds %struct.CLzmaDec, ptr %70, i32 0, i32 4
  %72 = load i64, ptr %71, align 8, !tbaa !42
  store i64 %72, ptr %15, align 8, !tbaa !35
  %73 = load i64, ptr %15, align 8, !tbaa !35
  %74 = load i64, ptr %11, align 8, !tbaa !35
  %75 = sub i64 %73, %74
  %76 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 19
  %77 = load i32, ptr %76, align 8, !tbaa !43
  %78 = zext i32 %77 to i64
  %79 = icmp ugt i64 %75, %78
  br i1 %79, label %80, label %86

80:                                               ; preds = %66
  %81 = load i64, ptr %11, align 8, !tbaa !35
  %82 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 19
  %83 = load i32, ptr %82, align 8, !tbaa !43
  %84 = zext i32 %83 to i64
  %85 = add i64 %81, %84
  store i64 %85, ptr %15, align 8, !tbaa !35
  br label %86

86:                                               ; preds = %80, %66
  %87 = load i64, ptr %15, align 8, !tbaa !35
  %88 = load i64, ptr %13, align 8, !tbaa !35
  %89 = sub i64 %87, %88
  store i64 %89, ptr %14, align 8, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !44
  %90 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 15
  %91 = load i8, ptr %90, align 2, !tbaa !46, !range !30, !noundef !31
  %92 = trunc i8 %91 to i1
  br i1 %92, label %93, label %110

93:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %94 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 16
  %95 = load i64, ptr %94, align 8, !tbaa !47
  %96 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 18
  %97 = load i64, ptr %96, align 8, !tbaa !48
  %98 = sub i64 %95, %97
  store i64 %98, ptr %17, align 8, !tbaa !33
  %99 = load i64, ptr %14, align 8, !tbaa !35
  %100 = load i64, ptr %17, align 8, !tbaa !33
  %101 = icmp uge i64 %99, %100
  br i1 %101, label %102, label %109

102:                                              ; preds = %93
  %103 = load i64, ptr %17, align 8, !tbaa !33
  store i64 %103, ptr %14, align 8, !tbaa !35
  %104 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 13
  %105 = load i8, ptr %104, align 4, !tbaa !49, !range !30, !noundef !31
  %106 = trunc i8 %105 to i1
  br i1 %106, label %107, label %108

107:                                              ; preds = %102
  store i32 1, ptr %16, align 4, !tbaa !44
  br label %108

108:                                              ; preds = %107, %102
  br label %109

109:                                              ; preds = %108, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %110

110:                                              ; preds = %109, %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %111 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 11
  %112 = load i32, ptr %111, align 4, !tbaa !38
  %113 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 10
  %114 = load i32, ptr %113, align 8, !tbaa !37
  %115 = sub i32 %112, %114
  %116 = zext i32 %115 to i64
  store i64 %116, ptr %18, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %117 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %118 = load i64, ptr %13, align 8, !tbaa !35
  %119 = load i64, ptr %14, align 8, !tbaa !35
  %120 = add i64 %118, %119
  %121 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 9
  %122 = load ptr, ptr %121, align 8, !tbaa !9
  %123 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 10
  %124 = load i32, ptr %123, align 8, !tbaa !37
  %125 = zext i32 %124 to i64
  %126 = getelementptr inbounds i8, ptr %122, i64 %125
  %127 = load i32, ptr %16, align 4, !tbaa !44
  %128 = call i32 @LzmaDec_DecodeToDic(ptr noundef %117, i64 noundef %120, ptr noundef %126, ptr noundef %18, i32 noundef %127, ptr noundef %19)
  store i32 %128, ptr %20, align 4, !tbaa !36
  %129 = load i32, ptr %19, align 4, !tbaa !50
  %130 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 12
  store i32 %129, ptr %130, align 8, !tbaa !51
  %131 = load i64, ptr %18, align 8, !tbaa !35
  %132 = trunc i64 %131 to i32
  %133 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 10
  %134 = load i32, ptr %133, align 8, !tbaa !37
  %135 = add i32 %134, %132
  store i32 %135, ptr %133, align 8, !tbaa !37
  %136 = load i64, ptr %18, align 8, !tbaa !35
  %137 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 17
  %138 = load i64, ptr %137, align 8, !tbaa !32
  %139 = add i64 %138, %136
  store i64 %139, ptr %137, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %140 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %141 = getelementptr inbounds %struct.CLzmaDec, ptr %140, i32 0, i32 5
  %142 = load i64, ptr %141, align 8, !tbaa !34
  %143 = load i64, ptr %13, align 8, !tbaa !35
  %144 = sub i64 %142, %143
  store i64 %144, ptr %21, align 8, !tbaa !35
  %145 = load i64, ptr %21, align 8, !tbaa !35
  %146 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 18
  %147 = load i64, ptr %146, align 8, !tbaa !48
  %148 = add i64 %147, %145
  store i64 %148, ptr %146, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #4
  %149 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 15
  %150 = load i8, ptr %149, align 2, !tbaa !46, !range !30, !noundef !31
  %151 = trunc i8 %150 to i1
  br i1 %151, label %152, label %158

152:                                              ; preds = %110
  %153 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 18
  %154 = load i64, ptr %153, align 8, !tbaa !48
  %155 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 16
  %156 = load i64, ptr %155, align 8, !tbaa !47
  %157 = icmp uge i64 %154, %156
  br label %158

158:                                              ; preds = %152, %110
  %159 = phi i1 [ false, %110 ], [ %157, %152 ]
  %160 = zext i1 %159 to i8
  store i8 %160, ptr %22, align 1, !tbaa !52
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #4
  %161 = load i32, ptr %20, align 4, !tbaa !36
  %162 = icmp ne i32 %161, 0
  br i1 %162, label %180, label %163

163:                                              ; preds = %158
  %164 = load i64, ptr %18, align 8, !tbaa !35
  %165 = icmp eq i64 %164, 0
  br i1 %165, label %166, label %169

166:                                              ; preds = %163
  %167 = load i64, ptr %21, align 8, !tbaa !35
  %168 = icmp eq i64 %167, 0
  br i1 %168, label %180, label %169

169:                                              ; preds = %166, %163
  %170 = load i32, ptr %19, align 4, !tbaa !50
  %171 = icmp eq i32 %170, 1
  br i1 %171, label %180, label %172

172:                                              ; preds = %169
  %173 = load i8, ptr %22, align 1, !tbaa !52, !range !30, !noundef !31
  %174 = trunc i8 %173 to i1
  br i1 %174, label %175, label %178

175:                                              ; preds = %172
  %176 = load i32, ptr %19, align 4, !tbaa !50
  %177 = icmp ne i32 %176, 3
  br label %178

178:                                              ; preds = %175, %172
  %179 = phi i1 [ false, %172 ], [ %177, %175 ]
  br label %180

180:                                              ; preds = %178, %169, %166, %158
  %181 = phi i1 [ true, %169 ], [ true, %166 ], [ true, %158 ], [ %179, %178 ]
  %182 = zext i1 %181 to i8
  store i8 %182, ptr %23, align 1, !tbaa !52
  %183 = load i8, ptr %23, align 1, !tbaa !52, !range !30, !noundef !31
  %184 = trunc i8 %183 to i1
  br i1 %184, label %189, label %185

185:                                              ; preds = %180
  %186 = load i64, ptr %21, align 8, !tbaa !35
  %187 = load i64, ptr %14, align 8, !tbaa !35
  %188 = icmp uge i64 %186, %187
  br i1 %188, label %189, label %273

189:                                              ; preds = %185, %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %190 = load ptr, ptr %8, align 8, !tbaa !5
  %191 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %192 = getelementptr inbounds %struct.CLzmaDec, ptr %191, i32 0, i32 3
  %193 = load ptr, ptr %192, align 8, !tbaa !53
  %194 = load i64, ptr %11, align 8, !tbaa !35
  %195 = getelementptr inbounds i8, ptr %193, i64 %194
  %196 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %197 = getelementptr inbounds %struct.CLzmaDec, ptr %196, i32 0, i32 5
  %198 = load i64, ptr %197, align 8, !tbaa !34
  %199 = load i64, ptr %11, align 8, !tbaa !35
  %200 = sub i64 %198, %199
  %201 = call noundef i32 @_Z11WriteStreamP20ISequentialOutStreamPKvm(ptr noundef %190, ptr noundef %195, i64 noundef %200) #4
  store i32 %201, ptr %24, align 4, !tbaa !36
  %202 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %203 = getelementptr inbounds %struct.CLzmaDec, ptr %202, i32 0, i32 5
  %204 = load i64, ptr %203, align 8, !tbaa !34
  %205 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %206 = getelementptr inbounds %struct.CLzmaDec, ptr %205, i32 0, i32 4
  %207 = load i64, ptr %206, align 8, !tbaa !42
  %208 = icmp eq i64 %204, %207
  br i1 %208, label %209, label %212

209:                                              ; preds = %189
  %210 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %211 = getelementptr inbounds %struct.CLzmaDec, ptr %210, i32 0, i32 5
  store i64 0, ptr %211, align 8, !tbaa !34
  br label %212

212:                                              ; preds = %209, %189
  %213 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 22
  %214 = getelementptr inbounds %struct.CLzmaDec, ptr %213, i32 0, i32 5
  %215 = load i64, ptr %214, align 8, !tbaa !34
  store i64 %215, ptr %11, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  %216 = load i32, ptr %24, align 4, !tbaa !36
  store i32 %216, ptr %25, align 4, !tbaa !36
  %217 = load i32, ptr %25, align 4, !tbaa !36
  %218 = icmp ne i32 %217, 0
  br i1 %218, label %219, label %221

219:                                              ; preds = %212
  %220 = load i32, ptr %25, align 4, !tbaa !36
  store i32 %220, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %222

221:                                              ; preds = %212
  store i32 0, ptr %26, align 4
  br label %222

222:                                              ; preds = %221, %219
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  %223 = load i32, ptr %26, align 4
  switch i32 %223, label %270 [
    i32 0, label %224
  ]

224:                                              ; preds = %222
  %225 = load i8, ptr %23, align 1, !tbaa !52, !range !30, !noundef !31
  %226 = trunc i8 %225 to i1
  br i1 %226, label %227, label %269

227:                                              ; preds = %224
  %228 = load i32, ptr %20, align 4, !tbaa !36
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %231

230:                                              ; preds = %227
  store i32 1, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %270

231:                                              ; preds = %227
  %232 = load i32, ptr %19, align 4, !tbaa !50
  %233 = icmp eq i32 %232, 1
  br i1 %233, label %234, label %252

234:                                              ; preds = %231
  %235 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 13
  %236 = load i8, ptr %235, align 4, !tbaa !49, !range !30, !noundef !31
  %237 = trunc i8 %236 to i1
  br i1 %237, label %238, label %250

238:                                              ; preds = %234
  %239 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 15
  %240 = load i8, ptr %239, align 2, !tbaa !46, !range !30, !noundef !31
  %241 = trunc i8 %240 to i1
  br i1 %241, label %242, label %249

242:                                              ; preds = %238
  %243 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 16
  %244 = load i64, ptr %243, align 8, !tbaa !47
  %245 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 18
  %246 = load i64, ptr %245, align 8, !tbaa !48
  %247 = icmp ne i64 %244, %246
  br i1 %247, label %248, label %249

248:                                              ; preds = %242
  store i32 1, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %270

249:                                              ; preds = %242, %238
  br label %250

250:                                              ; preds = %249, %234
  %251 = load i32, ptr %12, align 4, !tbaa !36
  store i32 %251, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %270

252:                                              ; preds = %231
  %253 = load i8, ptr %22, align 1, !tbaa !52, !range !30, !noundef !31
  %254 = trunc i8 %253 to i1
  br i1 %254, label %255, label %268

255:                                              ; preds = %252
  %256 = load i32, ptr %19, align 4, !tbaa !50
  %257 = icmp ne i32 %256, 3
  br i1 %257, label %258, label %268

258:                                              ; preds = %255
  %259 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 13
  %260 = load i8, ptr %259, align 4, !tbaa !49, !range !30, !noundef !31
  %261 = trunc i8 %260 to i1
  br i1 %261, label %262, label %265

262:                                              ; preds = %258
  %263 = load i32, ptr %19, align 4, !tbaa !50
  %264 = icmp eq i32 %263, 4
  br i1 %264, label %265, label %267

265:                                              ; preds = %262, %258
  %266 = load i32, ptr %12, align 4, !tbaa !36
  store i32 %266, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %270

267:                                              ; preds = %262
  br label %268

268:                                              ; preds = %267, %255, %252
  store i32 1, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %270

269:                                              ; preds = %224
  store i32 0, ptr %26, align 4
  br label %270

270:                                              ; preds = %269, %268, %265, %250, %248, %230, %222
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  %271 = load i32, ptr %26, align 4
  switch i32 %271, label %299 [
    i32 0, label %272
  ]

272:                                              ; preds = %270
  br label %273

273:                                              ; preds = %272, %185
  %274 = load ptr, ptr %9, align 8, !tbaa !5
  %275 = icmp ne ptr %274, null
  br i1 %275, label %276, label %298

276:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %277 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 17
  %278 = load i64, ptr %277, align 8, !tbaa !32
  %279 = load i64, ptr %10, align 8, !tbaa !33
  %280 = sub i64 %278, %279
  store i64 %280, ptr %27, align 8, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  %281 = load ptr, ptr %9, align 8, !tbaa !5
  %282 = getelementptr inbounds %"class.NCompress::NLzma::CDecoder", ptr %29, i32 0, i32 18
  %283 = load ptr, ptr %281, align 8, !tbaa !40
  %284 = getelementptr inbounds ptr, ptr %283, i64 5
  %285 = load ptr, ptr %284, align 8
  %286 = call noundef i32 %285(ptr noundef nonnull align 8 dereferenceable(8) %281, ptr noundef %27, ptr noundef %282)
  store i32 %286, ptr %28, align 4, !tbaa !36
  %287 = load i32, ptr %28, align 4, !tbaa !36
  %288 = icmp ne i32 %287, 0
  br i1 %288, label %289, label %291

289:                                              ; preds = %276
  %290 = load i32, ptr %28, align 4, !tbaa !36
  store i32 %290, ptr %5, align 4
  store i32 1, ptr %26, align 4
  br label %292

291:                                              ; preds = %276
  store i32 0, ptr %26, align 4
  br label %292

292:                                              ; preds = %291, %289
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  %293 = load i32, ptr %26, align 4
  switch i32 %293, label %295 [
    i32 0, label %294
  ]

294:                                              ; preds = %292
  store i32 0, ptr %26, align 4
  br label %295

295:                                              ; preds = %294, %292
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  %296 = load i32, ptr %26, align 4
  switch i32 %296, label %299 [
    i32 0, label %297
  ]

297:                                              ; preds = %295
  br label %298

298:                                              ; preds = %297, %273
  store i32 0, ptr %26, align 4
  br label %299

299:                                              ; preds = %298, %295, %270
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  %300 = load i32, ptr %26, align 4
  switch i32 %300, label %302 [
    i32 0, label %301
  ]

301:                                              ; preds = %299
  br label %44, !llvm.loop !54

302:                                              ; preds = %299
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %303

303:                                              ; preds = %302, %37
  %304 = load i32, ptr %5, align 4
  ret i32 %304
}

declare i32 @LzmaDec_DecodeToDic(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nounwind
declare noundef i32 @_Z11WriteStreamP20ISequentialOutStreamPKvm(ptr noundef, ptr noundef, i64 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "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 = { 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, !6, i64 72}
!10 = !{!"_ZTSN9NCompress5NLzma8CDecoderE", !11, i64 0, !13, i64 8, !14, i64 16, !15, i64 24, !16, i64 32, !17, i64 40, !18, i64 48, !19, i64 56, !20, i64 64, !6, i64 72, !21, i64 80, !21, i64 84, !22, i64 88, !23, i64 92, !23, i64 93, !23, i64 94, !24, i64 96, !24, i64 104, !24, i64 112, !21, i64 120, !21, i64 124, !21, i64 128, !25, i64 136, !28, i64 264}
!11 = !{!"_ZTS14ICompressCoder", !12, i64 0}
!12 = !{!"_ZTS8IUnknown"}
!13 = !{!"_ZTS30ICompressSetDecoderProperties2", !12, i64 0}
!14 = !{!"_ZTS22ICompressSetFinishMode", !12, i64 0}
!15 = !{!"_ZTS33ICompressGetInStreamProcessedSize", !12, i64 0}
!16 = !{!"_ZTS19ICompressSetBufSize", !12, i64 0}
!17 = !{!"_ZTS20ICompressSetInStream", !12, i64 0}
!18 = !{!"_ZTS25ICompressSetOutStreamSize", !12, i64 0}
!19 = !{!"_ZTS19ISequentialInStream", !12, i64 0}
!20 = !{!"_ZTS13CMyUnknownImp", !21, i64 0}
!21 = !{!"int", !7, i64 0}
!22 = !{!"_ZTS11ELzmaStatus", !7, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"long long", !7, i64 0}
!25 = !{!"_ZTS8CLzmaDec", !26, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !27, i64 32, !27, i64 40, !6, i64 48, !21, i64 56, !21, i64 60, !21, i64 64, !21, i64 68, !7, i64 72, !21, i64 88, !21, i64 92, !21, i64 96, !21, i64 100, !7, i64 104}
!26 = !{!"_ZTS11_CLzmaProps", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !21, i64 4}
!27 = !{!"long", !7, i64 0}
!28 = !{!"_ZTS9CMyComPtrI19ISequentialInStreamE", !6, i64 0}
!29 = !{!10, !23, i64 93}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = !{!10, !24, i64 104}
!33 = !{!24, !24, i64 0}
!34 = !{!10, !27, i64 176}
!35 = !{!27, !27, i64 0}
!36 = !{!21, !21, i64 0}
!37 = !{!10, !21, i64 80}
!38 = !{!10, !21, i64 84}
!39 = !{!10, !21, i64 124}
!40 = !{!41, !41, i64 0}
!41 = !{!"vtable pointer", !8, i64 0}
!42 = !{!10, !27, i64 168}
!43 = !{!10, !21, i64 120}
!44 = !{!45, !45, i64 0}
!45 = !{!"_ZTS15ELzmaFinishMode", !7, i64 0}
!46 = !{!10, !23, i64 94}
!47 = !{!10, !24, i64 96}
!48 = !{!10, !24, i64 112}
!49 = !{!10, !23, i64 92}
!50 = !{!22, !22, i64 0}
!51 = !{!10, !22, i64 88}
!52 = !{!23, !23, i64 0}
!53 = !{!10, !6, i64 160}
!54 = distinct !{!54, !55}
!55 = !{!"llvm.loop.mustprogress"}


; 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 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: mustprogress uwtable
define dso_local noundef i32 @_ZN9NCompress5NLzma8CDecoder8CodeSpecEP19ISequentialInStreamP20ISequentialOutStreamP21ICompressProgressInfo(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 72
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %.not78 = icmp eq ptr %9, null
  br i1 %.not78, label %.loopexit, label %10

10:                                               ; preds = %4
  %11 = getelementptr inbounds i8, ptr %0, i64 93
  %12 = load i8, ptr %11, align 1, !tbaa !28, !range !29, !noundef !30
  %13 = trunc nuw i8 %12 to i1
  br i1 %13, label %14, label %.loopexit

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %0, i64 104
  %16 = load i64, ptr %15, align 8, !tbaa !31
  %17 = getelementptr inbounds i8, ptr %0, i64 136
  %18 = getelementptr inbounds i8, ptr %0, i64 176
  %19 = load i64, ptr %18, align 8, !tbaa !32
  %20 = getelementptr inbounds i8, ptr %0, i64 80
  %21 = getelementptr inbounds i8, ptr %0, i64 84
  %22 = getelementptr inbounds i8, ptr %0, i64 124
  %23 = getelementptr inbounds i8, ptr %0, i64 168
  %24 = getelementptr inbounds i8, ptr %0, i64 120
  %25 = getelementptr inbounds i8, ptr %0, i64 94
  %26 = getelementptr inbounds i8, ptr %0, i64 96
  %27 = getelementptr inbounds i8, ptr %0, i64 112
  %28 = getelementptr inbounds i8, ptr %0, i64 92
  %29 = getelementptr inbounds i8, ptr %0, i64 88
  %30 = getelementptr inbounds i8, ptr %0, i64 160
  %.not84 = icmp eq ptr %3, null
  br label %.backedge

.backedge:                                        ; preds = %.backedge.backedge, %14
  %.063 = phi i32 [ 0, %14 ], [ %.164, %.backedge.backedge ]
  %.060 = phi i64 [ %19, %14 ], [ %.161, %.backedge.backedge ]
  %.0 = phi i32 [ undef, %14 ], [ %.3, %.backedge.backedge ]
  %31 = load i32, ptr %20, align 8, !tbaa !33
  %32 = load i32, ptr %21, align 4, !tbaa !34
  %33 = icmp eq i32 %31, %32
  %34 = icmp eq i32 %.063, 0
  %or.cond = select i1 %33, i1 %34, i1 false
  br i1 %or.cond, label %35, label %42

35:                                               ; preds = %.backedge
  store i32 0, ptr %21, align 4, !tbaa !34
  store i32 0, ptr %20, align 8, !tbaa !33
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = load i32, ptr %22, align 4, !tbaa !35
  %38 = load ptr, ptr %1, align 8, !tbaa !36
  %39 = getelementptr inbounds i8, ptr %38, i64 40
  %40 = load ptr, ptr %39, align 8
  %41 = call noundef i32 %40(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef %36, i32 noundef %37, ptr noundef nonnull %21)
  br label %42

42:                                               ; preds = %35, %.backedge
  %.164 = phi i32 [ %41, %35 ], [ %.063, %.backedge ]
  %43 = load i64, ptr %18, align 8, !tbaa !32
  %44 = load i64, ptr %23, align 8, !tbaa !38
  %45 = sub i64 %44, %.060
  %46 = load i32, ptr %24, align 8, !tbaa !39
  %47 = zext i32 %46 to i64
  %48 = icmp ugt i64 %45, %47
  %49 = add i64 %.060, %47
  %spec.select = select i1 %48, i64 %49, i64 %44
  %50 = sub i64 %spec.select, %43
  %51 = load i8, ptr %25, align 2, !tbaa !40, !range !29, !noundef !30
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %53, label %59

53:                                               ; preds = %42
  %54 = load i64, ptr %26, align 8, !tbaa !41
  %55 = load i64, ptr %27, align 8, !tbaa !42
  %56 = sub i64 %54, %55
  %.not79 = icmp ult i64 %50, %56
  br i1 %.not79, label %59, label %57

57:                                               ; preds = %53
  %58 = load i8, ptr %28, align 4, !tbaa !43, !range !29, !noundef !30
  %spec.select86 = zext nneg i8 %58 to i32
  br label %59

59:                                               ; preds = %57, %53, %42
  %.169 = phi i32 [ 0, %42 ], [ 0, %53 ], [ %spec.select86, %57 ]
  %.166 = phi i64 [ %50, %42 ], [ %50, %53 ], [ %56, %57 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %60 = load i32, ptr %21, align 4, !tbaa !34
  %61 = load i32, ptr %20, align 8, !tbaa !33
  %62 = sub i32 %60, %61
  %63 = zext i32 %62 to i64
  store i64 %63, ptr %5, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  %64 = add i64 %.166, %43
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = zext i32 %61 to i64
  %67 = getelementptr inbounds i8, ptr %65, i64 %66
  %68 = call i32 @LzmaDec_DecodeToDic(ptr noundef nonnull %17, i64 noundef %64, ptr noundef %67, ptr noundef nonnull %5, i32 noundef %.169, ptr noundef nonnull %6)
  %69 = load i32, ptr %6, align 4
  store i32 %69, ptr %29, align 8, !tbaa !45
  %70 = load i64, ptr %5, align 8, !tbaa !44
  %71 = trunc i64 %70 to i32
  %72 = load i32, ptr %20, align 8, !tbaa !33
  %73 = add i32 %72, %71
  store i32 %73, ptr %20, align 8, !tbaa !33
  %74 = load i64, ptr %15, align 8, !tbaa !31
  %75 = add i64 %74, %70
  store i64 %75, ptr %15, align 8, !tbaa !31
  %76 = load i64, ptr %18, align 8, !tbaa !32
  %77 = sub i64 %76, %43
  %78 = load i64, ptr %27, align 8, !tbaa !42
  %79 = add i64 %78, %77
  store i64 %79, ptr %27, align 8, !tbaa !42
  %80 = load i8, ptr %25, align 2, !tbaa !40, !range !29, !noundef !30
  %81 = trunc nuw i8 %80 to i1
  %82 = load i64, ptr %26, align 8
  %83 = icmp uge i64 %79, %82
  %84 = select i1 %81, i1 %83, i1 false
  %.not80.not = icmp eq i32 %68, 0
  br i1 %.not80.not, label %85, label %.thread

85:                                               ; preds = %59
  %86 = icmp eq i64 %70, 0
  %87 = icmp eq i64 %76, %43
  %or.cond7 = select i1 %86, i1 %87, i1 false
  %88 = icmp eq i32 %69, 1
  %or.cond9 = select i1 %or.cond7, i1 true, i1 %88
  br i1 %or.cond9, label %.thread, label %89

89:                                               ; preds = %85
  %90 = icmp eq i32 %69, 3
  %not. = xor i1 %84, true
  %91 = select i1 %not., i1 true, i1 %90
  %.not81 = icmp ult i64 %77, %.166
  %or.cond88 = select i1 %91, i1 %.not81, i1 false
  br i1 %or.cond88, label %125, label %.thread

.thread:                                          ; preds = %85, %59, %89
  %.not8795 = phi i1 [ %91, %89 ], [ false, %59 ], [ false, %85 ]
  %92 = load ptr, ptr %30, align 8, !tbaa !46
  %93 = getelementptr inbounds i8, ptr %92, i64 %.060
  %94 = sub i64 %76, %.060
  %95 = call noundef i32 @_Z11WriteStreamP20ISequentialOutStreamPKvm(ptr noundef %2, ptr noundef %93, i64 noundef %94) #4
  %96 = load i64, ptr %18, align 8, !tbaa !32
  %97 = load i64, ptr %23, align 8, !tbaa !38
  %98 = icmp eq i64 %96, %97
  br i1 %98, label %99, label %100

99:                                               ; preds = %.thread
  store i64 0, ptr %18, align 8, !tbaa !32
  br label %100

100:                                              ; preds = %99, %.thread
  %101 = phi i64 [ 0, %99 ], [ %96, %.thread ]
  %102 = or i32 %95, %68
  %103 = icmp ne i32 %102, 0
  %brmerge90 = or i1 %.not8795, %103
  br i1 %brmerge90, label %124, label %104

104:                                              ; preds = %100
  %105 = load i32, ptr %6, align 4
  %106 = icmp eq i32 %105, 1
  br i1 %106, label %107, label %117

107:                                              ; preds = %104
  %108 = load i8, ptr %28, align 4, !tbaa !43, !range !29, !noundef !30
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %110, label %116

110:                                              ; preds = %107
  %111 = load i8, ptr %25, align 2, !tbaa !40, !range !29, !noundef !30
  %112 = trunc nuw i8 %111 to i1
  br i1 %112, label %113, label %116

113:                                              ; preds = %110
  %114 = load i64, ptr %26, align 8, !tbaa !41
  %115 = load i64, ptr %27, align 8, !tbaa !42
  %.not = icmp eq i64 %114, %115
  br i1 %.not, label %116, label %.thread101

116:                                              ; preds = %110, %113, %107
  br label %.thread101

117:                                              ; preds = %104
  %118 = icmp ne i32 %105, 3
  %or.cond11 = and i1 %84, %118
  br i1 %or.cond11, label %119, label %123

119:                                              ; preds = %117
  %120 = load i8, ptr %28, align 4, !tbaa !43, !range !29, !noundef !30
  %121 = trunc nuw i8 %120 to i1
  %122 = icmp ne i32 %105, 4
  %or.cond13.not = and i1 %122, %121
  br i1 %or.cond13.not, label %123, label %.thread101

123:                                              ; preds = %119, %117
  br label %.thread101

124:                                              ; preds = %100
  %.not82.not = icmp eq i32 %95, 0
  %.0. = select i1 %.not8795, i32 %.0, i32 1
  %.0..mux = select i1 %.not82.not, i32 %.0., i32 %95
  %.mux.mux = and i1 %.not8795, %.not82.not
  br i1 %.mux.mux, label %125, label %.thread101

125:                                              ; preds = %89, %124
  %.161 = phi i64 [ %101, %124 ], [ %.060, %89 ]
  %.3 = phi i32 [ %.0..mux, %124 ], [ %.0, %89 ]
  br i1 %.not84, label %133, label %126

126:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %127 = load i64, ptr %15, align 8, !tbaa !31
  %128 = sub i64 %127, %16
  store i64 %128, ptr %7, align 8, !tbaa !47
  %129 = load ptr, ptr %3, align 8, !tbaa !36
  %130 = getelementptr inbounds i8, ptr %129, i64 40
  %131 = load ptr, ptr %130, align 8
  %132 = call noundef i32 %131(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %7, ptr noundef nonnull %27)
  %.not85 = icmp eq i32 %132, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br i1 %.not85, label %.backedge.backedge, label %.loopexit

.backedge.backedge:                               ; preds = %126, %133
  br label %.backedge, !llvm.loop !48

.thread101:                                       ; preds = %124, %116, %123, %113, %119
  %.6.ph = phi i32 [ %.164, %119 ], [ 1, %113 ], [ 1, %123 ], [ %.164, %116 ], [ %.0..mux, %124 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %.loopexit

133:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  br label %.backedge.backedge

.loopexit:                                        ; preds = %126, %.thread101, %4, %10
  %.7 = phi i32 [ 1, %10 ], [ 1, %4 ], [ %.6.ph, %.thread101 ], [ %132, %126 ]
  ret i32 %.7
}

declare i32 @LzmaDec_DecodeToDic(ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare noundef i32 @_Z11WriteStreamP20ISequentialOutStreamPKvm(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "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 = { 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, !20, i64 72}
!6 = !{!"_ZTSN9NCompress5NLzma8CDecoderE", !7, i64 0, !9, i64 8, !10, i64 16, !11, i64 24, !12, i64 32, !13, i64 40, !14, i64 48, !15, i64 56, !16, i64 64, !20, i64 72, !17, i64 80, !17, i64 84, !21, i64 88, !22, i64 92, !22, i64 93, !22, i64 94, !23, i64 96, !23, i64 104, !23, i64 112, !17, i64 120, !17, i64 124, !17, i64 128, !24, i64 136, !27, i64 264}
!7 = !{!"_ZTS14ICompressCoder", !8, i64 0}
!8 = !{!"_ZTS8IUnknown"}
!9 = !{!"_ZTS30ICompressSetDecoderProperties2", !8, i64 0}
!10 = !{!"_ZTS22ICompressSetFinishMode", !8, i64 0}
!11 = !{!"_ZTS33ICompressGetInStreamProcessedSize", !8, i64 0}
!12 = !{!"_ZTS19ICompressSetBufSize", !8, i64 0}
!13 = !{!"_ZTS20ICompressSetInStream", !8, i64 0}
!14 = !{!"_ZTS25ICompressSetOutStreamSize", !8, i64 0}
!15 = !{!"_ZTS19ISequentialInStream", !8, i64 0}
!16 = !{!"_ZTS13CMyUnknownImp", !17, i64 0}
!17 = !{!"int", !18, i64 0}
!18 = !{!"omnipotent char", !19, i64 0}
!19 = !{!"Simple C++ TBAA"}
!20 = !{!"any pointer", !18, i64 0}
!21 = !{!"_ZTS11ELzmaStatus", !18, i64 0}
!22 = !{!"bool", !18, i64 0}
!23 = !{!"long long", !18, i64 0}
!24 = !{!"_ZTS8CLzmaDec", !25, i64 0, !20, i64 8, !20, i64 16, !20, i64 24, !26, i64 32, !26, i64 40, !20, i64 48, !17, i64 56, !17, i64 60, !17, i64 64, !17, i64 68, !18, i64 72, !17, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !18, i64 104}
!25 = !{!"_ZTS11_CLzmaProps", !18, i64 0, !18, i64 1, !18, i64 2, !18, i64 3, !17, i64 4}
!26 = !{!"long", !18, i64 0}
!27 = !{!"_ZTS9CMyComPtrI19ISequentialInStreamE", !20, i64 0}
!28 = !{!6, !22, i64 93}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = !{!6, !23, i64 104}
!32 = !{!6, !26, i64 176}
!33 = !{!6, !17, i64 80}
!34 = !{!6, !17, i64 84}
!35 = !{!6, !17, i64 124}
!36 = !{!37, !37, i64 0}
!37 = !{!"vtable pointer", !19, i64 0}
!38 = !{!6, !26, i64 168}
!39 = !{!6, !17, i64 120}
!40 = !{!6, !22, i64 94}
!41 = !{!6, !23, i64 96}
!42 = !{!6, !23, i64 112}
!43 = !{!6, !22, i64 92}
!44 = !{!26, !26, i64 0}
!45 = !{!6, !21, i64 88}
!46 = !{!6, !20, i64 160}
!47 = !{!23, !23, i64 0}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass