; LLVM IR from SSBMTonberry/pocketlzma :: ref_spec/lzma1900/CPP/7zip/Common/FilterCoder.ll (ZN12CFilterCoder4ReadEPvjPj)

; 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.CFilterCoder = type { %struct.ICompressCoder, %struct.ICompressSetOutStreamSize, %struct.ICompressInitEncoder, %struct.ICompressSetInStream, %struct.ISequentialInStream, %struct.ICompressSetOutStream, %struct.ISequentialOutStream, %struct.IOutStreamFinish, %struct.ICompressSetBufSize, %struct.ICryptoSetPassword, %struct.ICryptoProperties, %struct.ICompressSetCoderProperties, %struct.ICompressWriteCoderProperties, %struct.ICryptoResetInitVector, %struct.ICompressSetDecoderProperties2, %class.CMyUnknownImp, %struct.CAlignedMidBuffer, i32, i32, i32, i8, i8, i64, i64, %class.CMyComPtr, %class.CMyComPtr.0, i32, i32, i32, %class.CMyComPtr.1, %class.CMyComPtr.2, %class.CMyComPtr.3, %class.CMyComPtr.4, %class.CMyComPtr.5, %class.CMyComPtr.6, %class.CMyComPtr.7 }
%struct.ICompressCoder = type { %struct.IUnknown }
%struct.IUnknown = type { ptr }
%struct.ICompressSetOutStreamSize = type { %struct.IUnknown }
%struct.ICompressInitEncoder = type { %struct.IUnknown }
%struct.ICompressSetInStream = type { %struct.IUnknown }
%struct.ISequentialInStream = type { %struct.IUnknown }
%struct.ICompressSetOutStream = type { %struct.IUnknown }
%struct.ISequentialOutStream = type { %struct.IUnknown }
%struct.IOutStreamFinish = type { %struct.IUnknown }
%struct.ICompressSetBufSize = type { %struct.IUnknown }
%struct.ICryptoSetPassword = type { %struct.IUnknown }
%struct.ICryptoProperties = type { %struct.IUnknown }
%struct.ICompressSetCoderProperties = type { %struct.IUnknown }
%struct.ICompressWriteCoderProperties = type { %struct.IUnknown }
%struct.ICryptoResetInitVector = type { %struct.IUnknown }
%struct.ICompressSetDecoderProperties2 = type { %struct.IUnknown }
%class.CMyUnknownImp = type { i32 }
%struct.CAlignedMidBuffer = type { ptr }
%class.CMyComPtr = type { ptr }
%class.CMyComPtr.0 = type { ptr }
%class.CMyComPtr.1 = type { ptr }
%class.CMyComPtr.2 = type { ptr }
%class.CMyComPtr.3 = type { ptr }
%class.CMyComPtr.4 = type { ptr }
%class.CMyComPtr.5 = type { ptr }
%class.CMyComPtr.6 = type { ptr }
%class.CMyComPtr.7 = 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 nounwind uwtable
declare dso_local noundef ptr @_ZNK9CMyComPtrI15ICompressFilterEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: nounwind
declare noundef i32 @_Z10ReadStreamP19ISequentialInStreamPvPm(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN12CFilterCoder4ReadEPvjPj(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) unnamed_addr #4 align 2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  %17 = load ptr, ptr %6, align 8
  %18 = load ptr, ptr %9, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %22

20:                                               ; preds = %4
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %20, %4
  br label %23

23:                                               ; preds = %237, %179, %22
  %24 = load i32, ptr %8, align 4, !tbaa !9
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %26, label %238

26:                                               ; preds = %23
  %27 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  %28 = load i32, ptr %27, align 8, !tbaa !11
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %86

30:                                               ; preds = %26
  %31 = load i32, ptr %8, align 4, !tbaa !9
  %32 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  %33 = load i32, ptr %32, align 8, !tbaa !11
  %34 = icmp ugt i32 %31, %33
  br i1 %34, label %35, label %38

35:                                               ; preds = %30
  %36 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  %37 = load i32, ptr %36, align 8, !tbaa !11
  store i32 %37, ptr %8, align 4, !tbaa !9
  br label %38

38:                                               ; preds = %35, %30
  %39 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 21
  %40 = load i8, ptr %39, align 1, !tbaa !42, !range !43, !noundef !44
  %41 = trunc i8 %40 to i1
  br i1 %41, label %42, label %56

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %43 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 22
  %44 = load i64, ptr %43, align 8, !tbaa !45
  %45 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 23
  %46 = load i64, ptr %45, align 8, !tbaa !46
  %47 = sub i64 %44, %46
  store i64 %47, ptr %10, align 8, !tbaa !47
  %48 = load i32, ptr %8, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = load i64, ptr %10, align 8, !tbaa !47
  %51 = icmp ugt i64 %49, %50
  br i1 %51, label %52, label %55

52:                                               ; preds = %42
  %53 = load i64, ptr %10, align 8, !tbaa !47
  %54 = trunc i64 %53 to i32
  store i32 %54, ptr %8, align 4, !tbaa !9
  br label %55

55:                                               ; preds = %52, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %56

56:                                               ; preds = %55, %38
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %17, i64 128
  %59 = getelementptr inbounds %struct.CAlignedMidBuffer, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !48
  %61 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 27
  %62 = load i32, ptr %61, align 4, !tbaa !49
  %63 = zext i32 %62 to i64
  %64 = getelementptr inbounds i8, ptr %60, i64 %63
  %65 = load i32, ptr %8, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %57, ptr align 1 %64, i64 %66, i1 false)
  %67 = load i32, ptr %8, align 4, !tbaa !9
  %68 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 27
  %69 = load i32, ptr %68, align 4, !tbaa !49
  %70 = add i32 %69, %67
  store i32 %70, ptr %68, align 4, !tbaa !49
  %71 = load i32, ptr %8, align 4, !tbaa !9
  %72 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  %73 = load i32, ptr %72, align 8, !tbaa !11
  %74 = sub i32 %73, %71
  store i32 %74, ptr %72, align 8, !tbaa !11
  %75 = load i32, ptr %8, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 23
  %78 = load i64, ptr %77, align 8, !tbaa !46
  %79 = add i64 %78, %76
  store i64 %79, ptr %77, align 8, !tbaa !46
  %80 = load ptr, ptr %9, align 8, !tbaa !5
  %81 = icmp ne ptr %80, null
  br i1 %81, label %82, label %85

82:                                               ; preds = %56
  %83 = load i32, ptr %8, align 4, !tbaa !9
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 %83, ptr %84, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %82, %56
  br label %238

86:                                               ; preds = %26
  %87 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 27
  %88 = load i32, ptr %87, align 4, !tbaa !49
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %125

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %91 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %92 = load i32, ptr %91, align 8, !tbaa !50
  %93 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 27
  %94 = load i32, ptr %93, align 4, !tbaa !49
  %95 = sub i32 %92, %94
  store i32 %95, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %118, %90
  %97 = load i32, ptr %12, align 4, !tbaa !9
  %98 = load i32, ptr %11, align 4, !tbaa !9
  %99 = icmp ult i32 %97, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %121

101:                                              ; preds = %96
  %102 = getelementptr inbounds i8, ptr %17, i64 128
  %103 = getelementptr inbounds %struct.CAlignedMidBuffer, ptr %102, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8, !tbaa !48
  %105 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 27
  %106 = load i32, ptr %105, align 4, !tbaa !49
  %107 = load i32, ptr %12, align 4, !tbaa !9
  %108 = add i32 %106, %107
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds i8, ptr %104, i64 %109
  %111 = load i8, ptr %110, align 1, !tbaa !51
  %112 = getelementptr inbounds i8, ptr %17, i64 128
  %113 = getelementptr inbounds %struct.CAlignedMidBuffer, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !48
  %115 = load i32, ptr %12, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds i8, ptr %114, i64 %116
  store i8 %111, ptr %117, align 1, !tbaa !51
  br label %118

118:                                              ; preds = %101
  %119 = load i32, ptr %12, align 4, !tbaa !9
  %120 = add i32 %119, 1
  store i32 %120, ptr %12, align 4, !tbaa !9
  br label %96, !llvm.loop !52

121:                                              ; preds = %100
  %122 = load i32, ptr %11, align 4, !tbaa !9
  %123 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  store i32 %122, ptr %123, align 8, !tbaa !50
  %124 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 27
  store i32 0, ptr %124, align 4, !tbaa !49
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %125

125:                                              ; preds = %121, %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %126 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 17
  %127 = load i32, ptr %126, align 8, !tbaa !54
  %128 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %129 = load i32, ptr %128, align 8, !tbaa !50
  %130 = sub i32 %127, %129
  %131 = zext i32 %130 to i64
  store i64 %131, ptr %13, align 8, !tbaa !55
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %132 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 24
  %133 = call noundef ptr @_ZNK9CMyComPtrI19ISequentialInStreamEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %132)
  %134 = getelementptr inbounds i8, ptr %17, i64 128
  %135 = getelementptr inbounds %struct.CAlignedMidBuffer, ptr %134, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8, !tbaa !48
  %137 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %138 = load i32, ptr %137, align 8, !tbaa !50
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds i8, ptr %136, i64 %139
  %141 = call noundef i32 @_Z10ReadStreamP19ISequentialInStreamPvPm(ptr noundef %133, ptr noundef %140, ptr noundef %13) #5
  store i32 %141, ptr %14, align 4, !tbaa !9
  %142 = load i64, ptr %13, align 8, !tbaa !55
  %143 = trunc i64 %142 to i32
  %144 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %145 = load i32, ptr %144, align 8, !tbaa !50
  %146 = add i32 %145, %143
  store i32 %146, ptr %144, align 8, !tbaa !50
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %147 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %147, ptr %15, align 4, !tbaa !9
  %148 = load i32, ptr %15, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %152

150:                                              ; preds = %125
  %151 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %151, ptr %5, align 4
  store i32 1, ptr %16, align 4
  br label %153

152:                                              ; preds = %125
  store i32 0, ptr %16, align 4
  br label %153

153:                                              ; preds = %152, %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  %154 = load i32, ptr %16, align 4
  switch i32 %154, label %156 [
    i32 0, label %155
  ]

155:                                              ; preds = %153
  store i32 0, ptr %16, align 4
  br label %156

156:                                              ; preds = %155, %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  %157 = load i32, ptr %16, align 4
  switch i32 %157, label %241 [
    i32 0, label %158
    i32 1, label %239
  ]

158:                                              ; preds = %156
  %159 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 35
  %160 = call noundef ptr @_ZNK9CMyComPtrI15ICompressFilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %159)
  %161 = getelementptr inbounds i8, ptr %17, i64 128
  %162 = getelementptr inbounds %struct.CAlignedMidBuffer, ptr %161, i32 0, i32 0
  %163 = load ptr, ptr %162, align 8, !tbaa !48
  %164 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %165 = load i32, ptr %164, align 8, !tbaa !50
  %166 = load ptr, ptr %160, align 8, !tbaa !57
  %167 = getelementptr inbounds ptr, ptr %166, i64 6
  %168 = load ptr, ptr %167, align 8
  %169 = call noundef i32 %168(ptr noundef nonnull align 8 dereferenceable(8) %160, ptr noundef %163, i32 noundef %165)
  %170 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  store i32 %169, ptr %170, align 8, !tbaa !11
  %171 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  %172 = load i32, ptr %171, align 8, !tbaa !11
  %173 = icmp eq i32 %172, 0
  br i1 %173, label %174, label %183

174:                                              ; preds = %158
  %175 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %176 = load i32, ptr %175, align 8, !tbaa !50
  %177 = icmp eq i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %174
  br label %238

179:                                              ; preds = %174
  %180 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %181 = load i32, ptr %180, align 8, !tbaa !50
  %182 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  store i32 %181, ptr %182, align 8, !tbaa !11
  br label %23, !llvm.loop !59

183:                                              ; preds = %158
  %184 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  %185 = load i32, ptr %184, align 8, !tbaa !11
  %186 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %187 = load i32, ptr %186, align 8, !tbaa !50
  %188 = icmp ugt i32 %185, %187
  br i1 %188, label %189, label %237

189:                                              ; preds = %183
  %190 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  %191 = load i32, ptr %190, align 8, !tbaa !11
  %192 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 17
  %193 = load i32, ptr %192, align 8, !tbaa !54
  %194 = icmp ugt i32 %191, %193
  br i1 %194, label %195, label %196

195:                                              ; preds = %189
  store i32 -2147467259, ptr %5, align 4
  br label %239

196:                                              ; preds = %189
  %197 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 20
  %198 = load i8, ptr %197, align 4, !tbaa !60, !range !43, !noundef !44
  %199 = trunc i8 %198 to i1
  br i1 %199, label %201, label %200

200:                                              ; preds = %196
  store i32 1, ptr %5, align 4
  br label %239

201:                                              ; preds = %196
  br label %202

202:                                              ; preds = %210, %201
  %203 = getelementptr inbounds i8, ptr %17, i64 128
  %204 = getelementptr inbounds %struct.CAlignedMidBuffer, ptr %203, i32 0, i32 0
  %205 = load ptr, ptr %204, align 8, !tbaa !48
  %206 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %207 = load i32, ptr %206, align 8, !tbaa !50
  %208 = zext i32 %207 to i64
  %209 = getelementptr inbounds i8, ptr %205, i64 %208
  store i8 0, ptr %209, align 1, !tbaa !51
  br label %210

210:                                              ; preds = %202
  %211 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %212 = load i32, ptr %211, align 8, !tbaa !50
  %213 = add i32 %212, 1
  store i32 %213, ptr %211, align 8, !tbaa !50
  %214 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  %215 = load i32, ptr %214, align 8, !tbaa !11
  %216 = icmp ne i32 %213, %215
  br i1 %216, label %202, label %217, !llvm.loop !61

217:                                              ; preds = %210
  %218 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 35
  %219 = call noundef ptr @_ZNK9CMyComPtrI15ICompressFilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %218)
  %220 = getelementptr inbounds i8, ptr %17, i64 128
  %221 = getelementptr inbounds %struct.CAlignedMidBuffer, ptr %220, i32 0, i32 0
  %222 = load ptr, ptr %221, align 8, !tbaa !48
  %223 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  %224 = load i32, ptr %223, align 8, !tbaa !11
  %225 = load ptr, ptr %219, align 8, !tbaa !57
  %226 = getelementptr inbounds ptr, ptr %225, i64 6
  %227 = load ptr, ptr %226, align 8
  %228 = call noundef i32 %227(ptr noundef nonnull align 8 dereferenceable(8) %219, ptr noundef %222, i32 noundef %224)
  %229 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  store i32 %228, ptr %229, align 8, !tbaa !11
  %230 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 28
  %231 = load i32, ptr %230, align 8, !tbaa !11
  %232 = getelementptr inbounds %class.CFilterCoder, ptr %17, i32 0, i32 26
  %233 = load i32, ptr %232, align 8, !tbaa !50
  %234 = icmp ne i32 %231, %233
  br i1 %234, label %235, label %236

235:                                              ; preds = %217
  store i32 -2147467259, ptr %5, align 4
  br label %239

236:                                              ; preds = %217
  br label %237

237:                                              ; preds = %236, %183
  br label %23, !llvm.loop !59

238:                                              ; preds = %178, %85, %23
  store i32 0, ptr %5, align 4
  br label %239

239:                                              ; preds = %238, %235, %200, %195, %156
  %240 = load i32, ptr %5, align 4
  ret i32 %240

241:                                              ; preds = %156
  unreachable
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 192}
!12 = !{!"_ZTS12CFilterCoder", !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, !23, i64 72, !24, i64 80, !25, i64 88, !26, i64 96, !27, i64 104, !28, i64 112, !29, i64 120, !30, i64 128, !10, i64 136, !10, i64 140, !10, i64 144, !31, i64 148, !31, i64 149, !32, i64 152, !32, i64 160, !33, i64 168, !34, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !35, i64 200, !36, i64 208, !37, i64 216, !38, i64 224, !39, i64 232, !40, i64 240, !41, i64 248}
!13 = !{!"_ZTS14ICompressCoder", !14, i64 0}
!14 = !{!"_ZTS8IUnknown"}
!15 = !{!"_ZTS25ICompressSetOutStreamSize", !14, i64 0}
!16 = !{!"_ZTS20ICompressInitEncoder", !14, i64 0}
!17 = !{!"_ZTS20ICompressSetInStream", !14, i64 0}
!18 = !{!"_ZTS19ISequentialInStream", !14, i64 0}
!19 = !{!"_ZTS21ICompressSetOutStream", !14, i64 0}
!20 = !{!"_ZTS20ISequentialOutStream", !14, i64 0}
!21 = !{!"_ZTS16IOutStreamFinish", !14, i64 0}
!22 = !{!"_ZTS19ICompressSetBufSize", !14, i64 0}
!23 = !{!"_ZTS18ICryptoSetPassword", !14, i64 0}
!24 = !{!"_ZTS17ICryptoProperties", !14, i64 0}
!25 = !{!"_ZTS27ICompressSetCoderProperties", !14, i64 0}
!26 = !{!"_ZTS29ICompressWriteCoderProperties", !14, i64 0}
!27 = !{!"_ZTS22ICryptoResetInitVector", !14, i64 0}
!28 = !{!"_ZTS30ICompressSetDecoderProperties2", !14, i64 0}
!29 = !{!"_ZTS13CMyUnknownImp", !10, i64 0}
!30 = !{!"_ZTS17CAlignedMidBuffer", !6, i64 0}
!31 = !{!"bool", !7, i64 0}
!32 = !{!"long long", !7, i64 0}
!33 = !{!"_ZTS9CMyComPtrI19ISequentialInStreamE", !6, i64 0}
!34 = !{!"_ZTS9CMyComPtrI20ISequentialOutStreamE", !6, i64 0}
!35 = !{!"_ZTS9CMyComPtrI18ICryptoSetPasswordE", !6, i64 0}
!36 = !{!"_ZTS9CMyComPtrI17ICryptoPropertiesE", !6, i64 0}
!37 = !{!"_ZTS9CMyComPtrI27ICompressSetCoderPropertiesE", !6, i64 0}
!38 = !{!"_ZTS9CMyComPtrI29ICompressWriteCoderPropertiesE", !6, i64 0}
!39 = !{!"_ZTS9CMyComPtrI22ICryptoResetInitVectorE", !6, i64 0}
!40 = !{!"_ZTS9CMyComPtrI30ICompressSetDecoderProperties2E", !6, i64 0}
!41 = !{!"_ZTS9CMyComPtrI15ICompressFilterE", !6, i64 0}
!42 = !{!12, !31, i64 149}
!43 = !{i8 0, i8 2}
!44 = !{}
!45 = !{!12, !32, i64 152}
!46 = !{!12, !32, i64 160}
!47 = !{!32, !32, i64 0}
!48 = !{!30, !6, i64 0}
!49 = !{!12, !10, i64 188}
!50 = !{!12, !10, i64 184}
!51 = !{!7, !7, i64 0}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}
!54 = !{!12, !10, i64 136}
!55 = !{!56, !56, i64 0}
!56 = !{!"long", !7, i64 0}
!57 = !{!58, !58, i64 0}
!58 = !{!"vtable pointer", !8, i64 0}
!59 = distinct !{!59, !53}
!60 = !{!12, !31, i64 148}
!61 = distinct !{!61, !53}


; 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 nounwind uwtable
declare dso_local noundef ptr @_ZNK9CMyComPtrI15ICompressFilterEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: nounwind
declare noundef i32 @_Z10ReadStreamP19ISequentialInStreamPvPm(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN12CFilterCoder4ReadEPvjPj(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr nocapture noundef writeonly %1, i32 noundef %2, ptr noundef writeonly %3) unnamed_addr #4 align 2 {
  %5 = alloca i64, align 8
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %7, label %6

6:                                                ; preds = %4
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %7

7:                                                ; preds = %6, %4
  %.not42 = icmp eq i32 %2, 0
  br i1 %.not42, label %.loopexit, label %.lr.ph61.lr.ph

.lr.ph61.lr.ph:                                   ; preds = %7
  %8 = getelementptr inbounds i8, ptr %0, i64 192
  %9 = getelementptr inbounds i8, ptr %0, i64 188
  %10 = getelementptr inbounds i8, ptr %0, i64 184
  %11 = getelementptr inbounds i8, ptr %0, i64 128
  %12 = getelementptr inbounds i8, ptr %0, i64 136
  %13 = getelementptr inbounds i8, ptr %0, i64 168
  %14 = getelementptr inbounds i8, ptr %0, i64 248
  %15 = getelementptr inbounds i8, ptr %0, i64 148
  %.pre.pre = load i32, ptr %8, align 8, !tbaa !9
  %.not439296 = icmp eq i32 %.pre.pre, 0
  br i1 %.not439296, label %.lr.ph93, label %.lr.ph61._crit_edge

.lr.ph61._crit_edge:                              ; preds = %.lr.ph61.backedge, %.lr.ph61.lr.ph, %._crit_edge94
  %.lcssa89 = phi i32 [ %94, %._crit_edge94 ], [ %.pre.pre, %.lr.ph61.lr.ph ], [ %.pre81, %.lr.ph61.backedge ]
  %spec.select = call i32 @llvm.umin.i32(i32 %.lcssa89, i32 %2)
  %16 = getelementptr inbounds i8, ptr %0, i64 149
  %17 = load i8, ptr %16, align 1, !tbaa !41, !range !42, !noundef !43
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %19, label %28

19:                                               ; preds = %.lr.ph61._crit_edge
  %20 = getelementptr inbounds i8, ptr %0, i64 152
  %21 = load i64, ptr %20, align 8, !tbaa !44
  %22 = getelementptr inbounds i8, ptr %0, i64 160
  %23 = load i64, ptr %22, align 8, !tbaa !45
  %24 = sub i64 %21, %23
  %25 = zext i32 %spec.select to i64
  %26 = icmp ult i64 %24, %25
  %27 = trunc nuw i64 %24 to i32
  %spec.select48 = select i1 %26, i32 %27, i32 %spec.select
  br label %28

28:                                               ; preds = %19, %.lr.ph61._crit_edge
  %.230 = phi i32 [ %spec.select48, %19 ], [ %spec.select, %.lr.ph61._crit_edge ]
  %29 = load ptr, ptr %11, align 8, !tbaa !46
  %30 = load i32, ptr %9, align 4, !tbaa !47
  %31 = zext i32 %30 to i64
  %32 = getelementptr inbounds i8, ptr %29, i64 %31
  %33 = zext i32 %.230 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 %32, i64 %33, i1 false)
  %34 = load i32, ptr %9, align 4, !tbaa !47
  %35 = add i32 %34, %.230
  store i32 %35, ptr %9, align 4, !tbaa !47
  %36 = load i32, ptr %8, align 8, !tbaa !9
  %37 = sub i32 %36, %.230
  store i32 %37, ptr %8, align 8, !tbaa !9
  %38 = getelementptr inbounds i8, ptr %0, i64 160
  %39 = load i64, ptr %38, align 8, !tbaa !45
  %40 = add i64 %39, %33
  store i64 %40, ptr %38, align 8, !tbaa !45
  br i1 %.not, label %.loopexit, label %41

41:                                               ; preds = %28
  store i32 %.230, ptr %3, align 4, !tbaa !5
  br label %.loopexit

.lr.ph93:                                         ; preds = %.lr.ph61.lr.ph, %.lr.ph61.backedge
  %42 = load i32, ptr %9, align 4, !tbaa !47
  %.not44 = icmp eq i32 %42, 0
  %.pre79 = load i32, ptr %10, align 8, !tbaa !48
  br i1 %.not44, label %70, label %43

43:                                               ; preds = %.lr.ph93
  %44 = sub i32 %.pre79, %42
  %.not69 = icmp eq i32 %.pre79, %42
  br i1 %.not69, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %43
  %wide.trip.count = zext i32 %44 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %45 = icmp eq i32 %44, 1
  br i1 %45, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %wide.trip.count, 4294967294
  br label %.lr.ph

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.1, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa
  %46 = load ptr, ptr %11, align 8, !tbaa !46
  %47 = load i32, ptr %9, align 4, !tbaa !47
  %48 = trunc nuw i64 %indvars.iv.unr to i32
  %49 = add i32 %47, %48
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds i8, ptr %46, i64 %50
  %52 = load i8, ptr %51, align 1, !tbaa !49
  %53 = getelementptr inbounds i8, ptr %46, i64 %indvars.iv.unr
  store i8 %52, ptr %53, align 1, !tbaa !49
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.epil, %._crit_edge.loopexit.unr-lcssa, %43
  store i32 %44, ptr %10, align 8, !tbaa !48
  store i32 0, ptr %9, align 4, !tbaa !47
  br label %70

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %.lr.ph ]
  %54 = load ptr, ptr %11, align 8, !tbaa !46
  %55 = load i32, ptr %9, align 4, !tbaa !47
  %56 = trunc nuw i64 %indvars.iv to i32
  %57 = add i32 %55, %56
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds i8, ptr %54, i64 %58
  %60 = load i8, ptr %59, align 1, !tbaa !49
  %61 = getelementptr inbounds i8, ptr %54, i64 %indvars.iv
  store i8 %60, ptr %61, align 1, !tbaa !49
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %62 = load ptr, ptr %11, align 8, !tbaa !46
  %63 = load i32, ptr %9, align 4, !tbaa !47
  %64 = trunc nuw i64 %indvars.iv.next to i32
  %65 = add i32 %63, %64
  %66 = zext i32 %65 to i64
  %67 = getelementptr inbounds i8, ptr %62, i64 %66
  %68 = load i8, ptr %67, align 1, !tbaa !49
  %69 = getelementptr inbounds i8, ptr %62, i64 %indvars.iv.next
  store i8 %68, ptr %69, align 1, !tbaa !49
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !50

70:                                               ; preds = %._crit_edge, %.lr.ph93
  %71 = phi i32 [ %44, %._crit_edge ], [ %.pre79, %.lr.ph93 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %72 = load i32, ptr %12, align 8, !tbaa !52
  %73 = sub i32 %72, %71
  %74 = zext i32 %73 to i64
  store i64 %74, ptr %5, align 8, !tbaa !53
  %75 = call noundef ptr @_ZNK9CMyComPtrI19ISequentialInStreamEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
  %76 = load ptr, ptr %11, align 8, !tbaa !46
  %77 = load i32, ptr %10, align 8, !tbaa !48
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds i8, ptr %76, i64 %78
  %80 = call noundef i32 @_Z10ReadStreamP19ISequentialInStreamPvPm(ptr noundef %75, ptr noundef %79, ptr noundef nonnull %5) #6
  %81 = load i64, ptr %5, align 8, !tbaa !53
  %82 = trunc i64 %81 to i32
  %83 = load i32, ptr %10, align 8, !tbaa !48
  %84 = add i32 %83, %82
  store i32 %84, ptr %10, align 8, !tbaa !48
  %.not45.not = icmp eq i32 %80, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %.not45.not, label %85, label %.loopexit

85:                                               ; preds = %70
  %86 = call noundef ptr @_ZNK9CMyComPtrI15ICompressFilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
  %87 = load ptr, ptr %11, align 8, !tbaa !46
  %88 = load i32, ptr %10, align 8, !tbaa !48
  %89 = load ptr, ptr %86, align 8, !tbaa !55
  %90 = getelementptr inbounds i8, ptr %89, i64 48
  %91 = load ptr, ptr %90, align 8
  %92 = call noundef i32 %91(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef %87, i32 noundef %88)
  store i32 %92, ptr %8, align 8, !tbaa !9
  %93 = icmp eq i32 %92, 0
  %94 = load i32, ptr %10, align 8, !tbaa !48
  br i1 %93, label %95, label %97

95:                                               ; preds = %85
  %96 = icmp eq i32 %94, 0
  br i1 %96, label %.loopexit, label %._crit_edge94

._crit_edge94:                                    ; preds = %95
  store i32 %94, ptr %8, align 8, !tbaa !9
  br label %.lr.ph61._crit_edge

97:                                               ; preds = %85
  %98 = icmp ugt i32 %92, %94
  br i1 %98, label %99, label %.lr.ph61.backedge

99:                                               ; preds = %97
  %100 = load i32, ptr %12, align 8, !tbaa !52
  %101 = icmp ugt i32 %92, %100
  br i1 %101, label %.loopexit, label %102

102:                                              ; preds = %99
  %103 = load i8, ptr %15, align 4, !tbaa !57, !range !42, !noundef !43
  %104 = trunc nuw i8 %103 to i1
  br i1 %104, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %102, %.preheader
  %105 = phi i32 [ %110, %.preheader ], [ %94, %102 ]
  %106 = load ptr, ptr %11, align 8, !tbaa !46
  %107 = zext i32 %105 to i64
  %108 = getelementptr inbounds i8, ptr %106, i64 %107
  store i8 0, ptr %108, align 1, !tbaa !49
  %109 = load i32, ptr %10, align 8, !tbaa !48
  %110 = add i32 %109, 1
  store i32 %110, ptr %10, align 8, !tbaa !48
  %111 = load i32, ptr %8, align 8, !tbaa !9
  %.not46 = icmp eq i32 %110, %111
  br i1 %.not46, label %112, label %.preheader, !llvm.loop !58

112:                                              ; preds = %.preheader
  %113 = call noundef ptr @_ZNK9CMyComPtrI15ICompressFilterEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
  %114 = load ptr, ptr %11, align 8, !tbaa !46
  %115 = load i32, ptr %8, align 8, !tbaa !9
  %116 = load ptr, ptr %113, align 8, !tbaa !55
  %117 = getelementptr inbounds i8, ptr %116, i64 48
  %118 = load ptr, ptr %117, align 8
  %119 = call noundef i32 %118(ptr noundef nonnull align 8 dereferenceable(8) %113, ptr noundef %114, i32 noundef %115)
  store i32 %119, ptr %8, align 8, !tbaa !9
  %120 = load i32, ptr %10, align 8, !tbaa !48
  %.not47.not = icmp eq i32 %119, %120
  br i1 %.not47.not, label %.lr.ph61.backedge, label %.loopexit

.lr.ph61.backedge:                                ; preds = %97, %112
  %.pre81 = phi i32 [ %119, %112 ], [ %92, %97 ]
  %.not4392 = icmp eq i32 %.pre81, 0
  br i1 %.not4392, label %.lr.ph93, label %.lr.ph61._crit_edge, !llvm.loop !59

.loopexit:                                        ; preds = %112, %102, %99, %70, %95, %7, %41, %28
  %.2 = phi i32 [ 0, %28 ], [ 0, %41 ], [ 0, %7 ], [ 0, %95 ], [ -2147467259, %112 ], [ 1, %102 ], [ -2147467259, %99 ], [ %80, %70 ]
  ret i32 %.2
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 192}
!10 = !{!"_ZTS12CFilterCoder", !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, !21, i64 72, !22, i64 80, !23, i64 88, !24, i64 96, !25, i64 104, !26, i64 112, !27, i64 120, !28, i64 128, !6, i64 136, !6, i64 140, !6, i64 144, !30, i64 148, !30, i64 149, !31, i64 152, !31, i64 160, !32, i64 168, !33, i64 176, !6, i64 184, !6, i64 188, !6, i64 192, !34, i64 200, !35, i64 208, !36, i64 216, !37, i64 224, !38, i64 232, !39, i64 240, !40, i64 248}
!11 = !{!"_ZTS14ICompressCoder", !12, i64 0}
!12 = !{!"_ZTS8IUnknown"}
!13 = !{!"_ZTS25ICompressSetOutStreamSize", !12, i64 0}
!14 = !{!"_ZTS20ICompressInitEncoder", !12, i64 0}
!15 = !{!"_ZTS20ICompressSetInStream", !12, i64 0}
!16 = !{!"_ZTS19ISequentialInStream", !12, i64 0}
!17 = !{!"_ZTS21ICompressSetOutStream", !12, i64 0}
!18 = !{!"_ZTS20ISequentialOutStream", !12, i64 0}
!19 = !{!"_ZTS16IOutStreamFinish", !12, i64 0}
!20 = !{!"_ZTS19ICompressSetBufSize", !12, i64 0}
!21 = !{!"_ZTS18ICryptoSetPassword", !12, i64 0}
!22 = !{!"_ZTS17ICryptoProperties", !12, i64 0}
!23 = !{!"_ZTS27ICompressSetCoderProperties", !12, i64 0}
!24 = !{!"_ZTS29ICompressWriteCoderProperties", !12, i64 0}
!25 = !{!"_ZTS22ICryptoResetInitVector", !12, i64 0}
!26 = !{!"_ZTS30ICompressSetDecoderProperties2", !12, i64 0}
!27 = !{!"_ZTS13CMyUnknownImp", !6, i64 0}
!28 = !{!"_ZTS17CAlignedMidBuffer", !29, i64 0}
!29 = !{!"any pointer", !7, i64 0}
!30 = !{!"bool", !7, i64 0}
!31 = !{!"long long", !7, i64 0}
!32 = !{!"_ZTS9CMyComPtrI19ISequentialInStreamE", !29, i64 0}
!33 = !{!"_ZTS9CMyComPtrI20ISequentialOutStreamE", !29, i64 0}
!34 = !{!"_ZTS9CMyComPtrI18ICryptoSetPasswordE", !29, i64 0}
!35 = !{!"_ZTS9CMyComPtrI17ICryptoPropertiesE", !29, i64 0}
!36 = !{!"_ZTS9CMyComPtrI27ICompressSetCoderPropertiesE", !29, i64 0}
!37 = !{!"_ZTS9CMyComPtrI29ICompressWriteCoderPropertiesE", !29, i64 0}
!38 = !{!"_ZTS9CMyComPtrI22ICryptoResetInitVectorE", !29, i64 0}
!39 = !{!"_ZTS9CMyComPtrI30ICompressSetDecoderProperties2E", !29, i64 0}
!40 = !{!"_ZTS9CMyComPtrI15ICompressFilterE", !29, i64 0}
!41 = !{!10, !30, i64 149}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!10, !31, i64 152}
!45 = !{!10, !31, i64 160}
!46 = !{!28, !29, i64 0}
!47 = !{!10, !6, i64 188}
!48 = !{!10, !6, i64 184}
!49 = !{!7, !7, i64 0}
!50 = distinct !{!50, !51}
!51 = !{!"llvm.loop.mustprogress"}
!52 = !{!10, !6, i64 136}
!53 = !{!54, !54, i64 0}
!54 = !{!"long", !7, i64 0}
!55 = !{!56, !56, i64 0}
!56 = !{!"vtable pointer", !8, i64 0}
!57 = !{!10, !30, i64 148}
!58 = distinct !{!58, !51}
!59 = distinct !{!59, !51}


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass