; LLVM IR from SSBMTonberry/pocketlzma :: ref_spec/lzma1900/CPP/7zip/Archive/7z (7zHandler)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.GUID = type { i32, i16, i16, [8 x i8] }
%class.CMyComPtr.9 = type { ptr }
%class.CMyComPtr.10 = type { ptr }
%"class.NArchive::N7z::CInArchive" = type <{ %class.CMyComPtr, i32, [4 x i8], [4 x %"struct.NArchive::N7z::CInByte2"], ptr, i8, [7 x i8], i64, i64, [32 x i8], i64, i8, [7 x i8] }>
%class.CMyComPtr = type { ptr }
%"struct.NArchive::N7z::CInByte2" = type { ptr, i64, i64 }
%"class.NArchive::N7z::CHandler" = type { %struct.IInArchive, %struct.IArchiveGetRawProps, %struct.ISetProperties, %struct.IOutArchive, %class.CMyUnknownImp, %"class.NArchive::N7z::COutHandler", %class.CMyComPtr, %"struct.NArchive::N7z::CDbEx", i8, i8, %class.UString, %class.CRecordVector.8, %class.CRecordVector.6 }
%struct.IInArchive = type { %struct.IUnknown }
%struct.IUnknown = type { ptr }
%struct.IArchiveGetRawProps = type { %struct.IUnknown }
%struct.ISetProperties = type { %struct.IUnknown }
%struct.IOutArchive = type { %struct.IUnknown }
%class.CMyUnknownImp = type { i32 }
%"class.NArchive::N7z::COutHandler" = type { %"class.NArchive::CMultiMethodProps.base", i64, i64, i8, i8, i8, i8, i8, i8, %struct.CBoolPair, %struct.CBoolPair, %struct.CBoolPair, %struct.CBoolPair, i8, i8 }
%"class.NArchive::CMultiMethodProps.base" = type <{ %"class.NArchive::CCommonMethodProps", i32, i32, i32, [4 x i8], %class.CObjectVector, %class.COneMethodInfo, i8 }>
%"class.NArchive::CCommonMethodProps" = type { i32, i32, i64, i64 }
%class.CObjectVector = type { %class.CRecordVector }
%class.CRecordVector = type { ptr, i32, i32 }
%class.COneMethodInfo = type { %class.CMethodProps, %class.AString, %class.UString }
%class.CMethodProps = type { %struct.CProps }
%struct.CProps = type { %class.CObjectVector.0 }
%class.CObjectVector.0 = type { %class.CRecordVector }
%class.AString = type { ptr, i32, i32 }
%struct.CBoolPair = type { i8, i8 }
%"struct.NArchive::N7z::CDbEx" = type <{ %"struct.NArchive::N7z::CDatabase", %"struct.NArchive::N7z::CInArchiveInfo", %class.CObjArray.3, %class.CObjArray.3, i64, i64, i8, i8, i8, i8, i8, i8, i8, i8 }>
%"struct.NArchive::N7z::CDatabase" = type { %"struct.NArchive::N7z::CFolders", %class.CRecordVector.7, %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt64DefVector", %"struct.NArchive::N7z::CUInt32DefVector", %class.CRecordVector.1, %class.CBuffer, %class.CObjArray.5 }
%"struct.NArchive::N7z::CFolders" = type { i32, i32, %class.CObjArray, %"struct.NArchive::N7z::CUInt32DefVector", %class.CObjArray.3, %class.CObjArray, %class.CObjArray.3, %class.CObjArray.3, %class.CObjArray.4, %class.CObjArray.5, %class.CBuffer, %"struct.NArchive::N7z::CParsedMethods" }
%class.CObjArray = type { ptr }
%class.CObjArray.4 = type { ptr }
%"struct.NArchive::N7z::CParsedMethods" = type { i8, i32, %class.CRecordVector.6 }
%class.CRecordVector.7 = type { ptr, i32, i32 }
%"struct.NArchive::N7z::CUInt64DefVector" = type { %class.CRecordVector.1, %class.CRecordVector.6 }
%"struct.NArchive::N7z::CUInt32DefVector" = type { %class.CRecordVector.1, %class.CRecordVector.2 }
%class.CRecordVector.2 = type { ptr, i32, i32 }
%class.CRecordVector.1 = type { ptr, i32, i32 }
%class.CBuffer = type { ptr, i64 }
%class.CObjArray.5 = type { ptr }
%"struct.NArchive::N7z::CInArchiveInfo" = type { %"struct.NArchive::N7z::CArchiveVersion", i64, i64, i64, i64, %class.CRecordVector.6 }
%"struct.NArchive::N7z::CArchiveVersion" = type { i8, i8 }
%class.CObjArray.3 = type { ptr }
%class.UString = type { ptr, i32, i32 }
%class.CRecordVector.8 = type { ptr, i32, i32 }
%class.CRecordVector.6 = type { ptr, i32, i32 }

@IID_ICryptoGetTextPassword = external global %struct.GUID, align 4

declare i32 @__gxx_personality_v0(...)

; 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

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN8NArchive3N7z8CHandler4OpenEP9IInStreamPKyP20IArchiveOpenCallback(ptr noundef nonnull align 8 dereferenceable(696) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %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 ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %class.CMyComPtr.9, align 8
  %13 = alloca %class.CMyComPtr.10, align 8
  %14 = alloca %"class.NArchive::N7z::CInArchive", align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = 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
  %19 = load ptr, ptr %6, align 8
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds ptr, ptr %20, i64 6
  %22 = load ptr, ptr %21, align 8
  %23 = invoke noundef i32 %22(ptr noundef nonnull align 8 dereferenceable(696) %19)
          to label %24 unwind label %35

24:                                               ; preds = %4
  %25 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %19, i32 0, i32 12
  invoke void @_ZN13CRecordVectorIyE5ClearEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %26 unwind label %35

26:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN9CMyComPtrI20IArchiveOpenCallbackEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  invoke void @_ZN9CMyComPtrI22ICryptoGetTextPasswordEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %28 unwind label %39

28:                                               ; preds = %26
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %31, label %47

31:                                               ; preds = %28
  %32 = invoke noundef ptr @_ZN9CMyComPtrI22ICryptoGetTextPasswordEadEv(ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %33 unwind label %43

33:                                               ; preds = %31
  %34 = call noundef i32 @_ZNK9CMyComPtrI20IArchiveOpenCallbackE14QueryInterfaceI22ICryptoGetTextPasswordEEiRK4GUIDPPT_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(16) @IID_ICryptoGetTextPassword, ptr noundef %32) #6
  br label %47

35:                                               ; preds = %127, %117, %24, %4
  %36 = landingpad { ptr, i32 }
          catch ptr null
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %10, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %11, align 4
  br label %124

39:                                               ; preds = %26
  %40 = landingpad { ptr, i32 }
          catch ptr null
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %10, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %11, align 4
  br label %109

43:                                               ; preds = %31
  %44 = landingpad { ptr, i32 }
          catch ptr null
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %10, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %11, align 4
  br label %108

47:                                               ; preds = %33, %28
  call void @llvm.lifetime.start.p0(i64 192, ptr %14) #6
  %48 = getelementptr inbounds i8, ptr %19, i64 40
  %49 = getelementptr inbounds %"class.NArchive::N7z::COutHandler", ptr %48, i32 0, i32 13
  %50 = load i8, ptr %49, align 2, !tbaa !11, !range !27, !noundef !28
  %51 = trunc i8 %50 to i1
  invoke void @_ZN8NArchive3N7z10CInArchiveC2Eb(ptr noundef nonnull align 8 dereferenceable(185) %14, i1 noundef zeroext %51)
          to label %52 unwind label %63

52:                                               ; preds = %47
  %53 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %19, i32 0, i32 7
  %54 = getelementptr inbounds %"struct.NArchive::N7z::CDbEx", ptr %53, i32 0, i32 6
  store i8 0, ptr %54, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = invoke noundef i32 @_ZN8NArchive3N7z10CInArchive4OpenEP9IInStreamPKy(ptr noundef nonnull align 8 dereferenceable(185) %14, ptr noundef %55, ptr noundef %56)
          to label %58 unwind label %67

58:                                               ; preds = %52
  store i32 %57, ptr %15, align 4, !tbaa !57
  %59 = load i32, ptr %15, align 4, !tbaa !57
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %71

61:                                               ; preds = %58
  %62 = load i32, ptr %15, align 4, !tbaa !57
  store i32 %62, ptr %5, align 4
  store i32 1, ptr %16, align 4
  br label %72

63:                                               ; preds = %47
  %64 = landingpad { ptr, i32 }
          catch ptr null
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %10, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %11, align 4
  br label %107

67:                                               ; preds = %52
  %68 = landingpad { ptr, i32 }
          catch ptr null
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %10, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %106

71:                                               ; preds = %58
  store i32 0, ptr %16, align 4
  br label %72

72:                                               ; preds = %71, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  %73 = load i32, ptr %16, align 4
  switch i32 %73, label %103 [
    i32 0, label %74
  ]

74:                                               ; preds = %72
  %75 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %19, i32 0, i32 7
  %76 = getelementptr inbounds %"struct.NArchive::N7z::CDbEx", ptr %75, i32 0, i32 6
  store i8 1, ptr %76, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %77 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %19, i32 0, i32 7
  %78 = invoke noundef ptr @_ZNK9CMyComPtrI22ICryptoGetTextPasswordEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %79 unwind label %90

79:                                               ; preds = %74
  %80 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %19, i32 0, i32 8
  %81 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %19, i32 0, i32 9
  %82 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %19, i32 0, i32 10
  %83 = invoke noundef i32 @_ZN8NArchive3N7z10CInArchive12ReadDatabaseERNS0_5CDbExEP22ICryptoGetTextPasswordRbS6_R7UString(ptr noundef nonnull align 8 dereferenceable(185) %14, ptr noundef nonnull align 8 dereferenceable(447) %77, ptr noundef %78, ptr noundef nonnull align 1 dereferenceable(1) %80, ptr noundef nonnull align 1 dereferenceable(1) %81, ptr noundef nonnull align 8 dereferenceable(16) %82)
          to label %84 unwind label %90

84:                                               ; preds = %79
  store i32 %83, ptr %17, align 4, !tbaa !57
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %85 = load i32, ptr %17, align 4, !tbaa !57
  store i32 %85, ptr %18, align 4, !tbaa !57
  %86 = load i32, ptr %18, align 4, !tbaa !57
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %94

88:                                               ; preds = %84
  %89 = load i32, ptr %18, align 4, !tbaa !57
  store i32 %89, ptr %5, align 4
  store i32 1, ptr %16, align 4
  br label %95

90:                                               ; preds = %97, %79, %74
  %91 = landingpad { ptr, i32 }
          catch ptr null
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %10, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %106

94:                                               ; preds = %84
  store i32 0, ptr %16, align 4
  br label %95

95:                                               ; preds = %94, %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  %96 = load i32, ptr %16, align 4
  switch i32 %96, label %102 [
    i32 0, label %97
  ]

97:                                               ; preds = %95
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %"class.NArchive::N7z::CHandler", ptr %19, i32 0, i32 6
  %100 = invoke noundef ptr @_ZN9CMyComPtrI9IInStreamEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef %98)
          to label %101 unwind label %90

101:                                              ; preds = %97
  store i32 0, ptr %16, align 4
  br label %102

102:                                              ; preds = %101, %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %103

103:                                              ; preds = %102, %72
  call void @_ZN8NArchive3N7z10CInArchiveD2Ev(ptr noundef nonnull align 8 dereferenceable(185) %14) #6
  call void @llvm.lifetime.end.p0(i64 192, ptr %14) #6
  call void @_ZN9CMyComPtrI22ICryptoGetTextPasswordED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @_ZN9CMyComPtrI20IArchiveOpenCallbackED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  %104 = load i32, ptr %16, align 4
  switch i32 %104, label %135 [
    i32 0, label %105
    i32 1, label %130
  ]

105:                                              ; preds = %103
  br label %127

106:                                              ; preds = %90, %67
  call void @_ZN8NArchive3N7z10CInArchiveD2Ev(ptr noundef nonnull align 8 dereferenceable(185) %14) #6
  br label %107

107:                                              ; preds = %106, %63
  call void @llvm.lifetime.end.p0(i64 192, ptr %14) #6
  br label %108

108:                                              ; preds = %107, %43
  call void @_ZN9CMyComPtrI22ICryptoGetTextPasswordED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br label %109

109:                                              ; preds = %108, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @_ZN9CMyComPtrI20IArchiveOpenCallbackED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %110

110:                                              ; preds = %109
  %111 = load ptr, ptr %10, align 8
  %112 = call ptr @__cxa_begin_catch(ptr %111) #6
  %113 = load ptr, ptr %19, align 8, !tbaa !9
  %114 = getelementptr inbounds ptr, ptr %113, i64 6
  %115 = load ptr, ptr %114, align 8
  %116 = invoke noundef i32 %115(ptr noundef nonnull align 8 dereferenceable(696) %19)
          to label %117 unwind label %118

117:                                              ; preds = %110
  store i32 -2147024882, ptr %5, align 4
  store i32 1, ptr %16, align 4
  invoke void @__cxa_end_catch()
          to label %122 unwind label %35

118:                                              ; preds = %110
  %119 = landingpad { ptr, i32 }
          catch ptr null
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %10, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %11, align 4
  invoke void @__cxa_end_catch()
          to label %123 unwind label %132

122:                                              ; preds = %117
  br label %130

123:                                              ; preds = %118
  br label %124

124:                                              ; preds = %123, %35
  %125 = load ptr, ptr %10, align 8
  %126 = call ptr @__cxa_begin_catch(ptr %125) #6
  store i32 -2147024882, ptr %5, align 4
  store i32 1, ptr %16, align 4
  call void @__cxa_end_catch()
  br label %130

127:                                              ; preds = %105
  invoke void @_ZN8NArchive3N7z8CHandler10FillPopIDsEv(ptr noundef nonnull align 8 dereferenceable(696) %19)
          to label %128 unwind label %35

128:                                              ; preds = %127
  store i32 0, ptr %5, align 4
  br label %130

129:                                              ; No predecessors!
  unreachable

130:                                              ; preds = %128, %124, %122, %103
  %131 = load i32, ptr %5, align 4
  ret i32 %131

132:                                              ; preds = %118
  %133 = landingpad { ptr, i32 }
          catch ptr null
  %134 = extractvalue { ptr, i32 } %133, 0
  call void @__clang_call_terminate(ptr %134) #7
  unreachable

135:                                              ; preds = %103
  unreachable
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK9CMyComPtrI20IArchiveOpenCallbackE14QueryInterfaceI22ICryptoGetTextPasswordEEiRK4GUIDPPT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8NArchive3N7z10CInArchiveC2Eb(ptr noundef nonnull align 8 dereferenceable(185), i1 noundef zeroext) unnamed_addr #1 align 2

declare noundef i32 @_ZN8NArchive3N7z10CInArchive4OpenEP9IInStreamPKy(ptr noundef nonnull align 8 dereferenceable(185), ptr noundef, ptr noundef) #3

declare noundef i32 @_ZN8NArchive3N7z10CInArchive12ReadDatabaseERNS0_5CDbExEP22ICryptoGetTextPasswordRbS6_R7UString(ptr noundef nonnull align 8 dereferenceable(185), ptr noundef nonnull align 8 dereferenceable(447), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(16)) #3

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

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

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

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

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

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #5

declare void @_ZN8NArchive3N7z8CHandler10FillPopIDsEv(ptr noundef nonnull align 8 dereferenceable(696)) #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 = { 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 = { "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noinline noreturn nounwind uwtable "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 #6 = { nounwind }
attributes #7 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !25, i64 142}
!12 = !{!"_ZTSN8NArchive3N7z11COutHandlerE", !13, i64 0, !16, i64 112, !16, i64 120, !25, i64 128, !25, i64 129, !25, i64 130, !25, i64 131, !25, i64 132, !25, i64 133, !26, i64 134, !26, i64 136, !26, i64 138, !26, i64 140, !25, i64 142, !25, i64 143}
!13 = !{!"_ZTSN8NArchive17CMultiMethodPropsE", !14, i64 0, !15, i64 24, !15, i64 28, !15, i64 32, !17, i64 40, !19, i64 56, !25, i64 104}
!14 = !{!"_ZTSN8NArchive18CCommonMethodPropsE", !15, i64 0, !15, i64 4, !16, i64 8, !16, i64 16}
!15 = !{!"int", !7, i64 0}
!16 = !{!"long long", !7, i64 0}
!17 = !{!"_ZTS13CObjectVectorI14COneMethodInfoE", !18, i64 0}
!18 = !{!"_ZTS13CRecordVectorIPvE", !6, i64 0, !15, i64 8, !15, i64 12}
!19 = !{!"_ZTS14COneMethodInfo", !20, i64 0, !23, i64 16, !24, i64 32}
!20 = !{!"_ZTS12CMethodProps", !21, i64 0}
!21 = !{!"_ZTS6CProps", !22, i64 0}
!22 = !{!"_ZTS13CObjectVectorI5CPropE", !18, i64 0}
!23 = !{!"_ZTS7AString", !6, i64 0, !15, i64 8, !15, i64 12}
!24 = !{!"_ZTS7UString", !6, i64 0, !15, i64 8, !15, i64 12}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTS9CBoolPair", !25, i64 0, !25, i64 1}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!30, !25, i64 632}
!30 = !{!"_ZTSN8NArchive3N7z8CHandlerE", !31, i64 0, !33, i64 8, !34, i64 16, !35, i64 24, !36, i64 32, !12, i64 40, !37, i64 184, !38, i64 192, !25, i64 640, !25, i64 641, !24, i64 648, !56, i64 664, !51, i64 680}
!31 = !{!"_ZTS10IInArchive", !32, i64 0}
!32 = !{!"_ZTS8IUnknown"}
!33 = !{!"_ZTS19IArchiveGetRawProps", !32, i64 0}
!34 = !{!"_ZTS14ISetProperties", !32, i64 0}
!35 = !{!"_ZTS11IOutArchive", !32, i64 0}
!36 = !{!"_ZTS13CMyUnknownImp", !15, i64 0}
!37 = !{!"_ZTS9CMyComPtrI9IInStreamE", !6, i64 0}
!38 = !{!"_ZTSN8NArchive3N7z5CDbExE", !39, i64 0, !54, i64 352, !45, i64 408, !45, i64 416, !16, i64 424, !16, i64 432, !25, i64 440, !25, i64 441, !25, i64 442, !25, i64 443, !25, i64 444, !25, i64 445, !25, i64 446}
!39 = !{!"_ZTSN8NArchive3N7z9CDatabaseE", !40, i64 0, !52, i64 136, !53, i64 152, !53, i64 184, !53, i64 216, !53, i64 248, !42, i64 280, !43, i64 312, !48, i64 328, !47, i64 344}
!40 = !{!"_ZTSN8NArchive3N7z8CFoldersE", !15, i64 0, !15, i64 4, !41, i64 8, !42, i64 16, !45, i64 48, !41, i64 56, !45, i64 64, !45, i64 72, !46, i64 80, !47, i64 88, !48, i64 96, !50, i64 112}
!41 = !{!"_ZTS9CObjArrayIyE", !6, i64 0}
!42 = !{!"_ZTSN8NArchive3N7z16CUInt32DefVectorE", !43, i64 0, !44, i64 16}
!43 = !{!"_ZTS13CRecordVectorIbE", !6, i64 0, !15, i64 8, !15, i64 12}
!44 = !{!"_ZTS13CRecordVectorIjE", !6, i64 0, !15, i64 8, !15, i64 12}
!45 = !{!"_ZTS9CObjArrayIjE", !6, i64 0}
!46 = !{!"_ZTS9CObjArrayIhE", !6, i64 0}
!47 = !{!"_ZTS9CObjArrayImE", !6, i64 0}
!48 = !{!"_ZTS7CBufferIhE", !6, i64 0, !49, i64 8}
!49 = !{!"long", !7, i64 0}
!50 = !{!"_ZTSN8NArchive3N7z14CParsedMethodsE", !7, i64 0, !15, i64 4, !51, i64 8}
!51 = !{!"_ZTS13CRecordVectorIyE", !6, i64 0, !15, i64 8, !15, i64 12}
!52 = !{!"_ZTS13CRecordVectorIN8NArchive3N7z9CFileItemEE", !6, i64 0, !15, i64 8, !15, i64 12}
!53 = !{!"_ZTSN8NArchive3N7z16CUInt64DefVectorE", !43, i64 0, !51, i64 16}
!54 = !{!"_ZTSN8NArchive3N7z14CInArchiveInfoE", !55, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !51, i64 40}
!55 = !{!"_ZTSN8NArchive3N7z15CArchiveVersionE", !7, i64 0, !7, i64 1}
!56 = !{!"_ZTS13CRecordVectorIN8NArchive3N7z6CBond2EE", !6, i64 0, !15, i64 8, !15, i64 12}
!57 = !{!15, !15, 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"

%struct.GUID = type { i32, i16, i16, [8 x i8] }
%class.CMyComPtr.9 = type { ptr }
%class.CMyComPtr.10 = type { ptr }
%"class.NArchive::N7z::CInArchive" = type <{ %class.CMyComPtr, i32, [4 x i8], [4 x %"struct.NArchive::N7z::CInByte2"], ptr, i8, [7 x i8], i64, i64, [32 x i8], i64, i8, [7 x i8] }>
%class.CMyComPtr = type { ptr }
%"struct.NArchive::N7z::CInByte2" = type { ptr, i64, i64 }

@IID_ICryptoGetTextPassword = external global %struct.GUID, align 4

declare i32 @__gxx_personality_v0(...)

; 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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN8NArchive3N7z8CHandler4OpenEP9IInStreamPKyP20IArchiveOpenCallback(ptr noundef nonnull align 8 dereferenceable(696) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.CMyComPtr.9, align 8
  %6 = alloca %class.CMyComPtr.10, align 8
  %7 = alloca %"class.NArchive::N7z::CInArchive", align 8
  %8 = load ptr, ptr %0, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %8, i64 48
  %10 = load ptr, ptr %9, align 8
  %11 = invoke noundef i32 %10(ptr noundef nonnull align 8 dereferenceable(696) %0)
          to label %12 unwind label %17

12:                                               ; preds = %4
  %13 = getelementptr inbounds i8, ptr %0, i64 680
  tail call void @_ZN13CRecordVectorIyE5ClearEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  call void @_ZN9CMyComPtrI20IArchiveOpenCallbackEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN9CMyComPtrI22ICryptoGetTextPasswordEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %19, label %14

14:                                               ; preds = %12
  %15 = call noundef ptr @_ZN9CMyComPtrI22ICryptoGetTextPasswordEadEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %16 = call noundef i32 @_ZNK9CMyComPtrI20IArchiveOpenCallbackE14QueryInterfaceI22ICryptoGetTextPasswordEEiRK4GUIDPPT_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(16) @IID_ICryptoGetTextPassword, ptr noundef %15) #6
  br label %19

17:                                               ; preds = %57, %52, %4
  %18 = landingpad { ptr, i32 }
          catch ptr null
  br label %55

19:                                               ; preds = %14, %12
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %7) #6
  %20 = getelementptr inbounds i8, ptr %0, i64 182
  %21 = load i8, ptr %20, align 2, !tbaa !8, !range !26, !noundef !27
  %22 = trunc nuw i8 %21 to i1
  invoke void @_ZN8NArchive3N7z10CInArchiveC2Eb(ptr noundef nonnull align 8 dereferenceable(185) %7, i1 noundef zeroext %22)
          to label %23 unwind label %28

23:                                               ; preds = %19
  %24 = getelementptr inbounds i8, ptr %0, i64 192
  %25 = getelementptr inbounds i8, ptr %0, i64 632
  store i8 0, ptr %25, align 8, !tbaa !28
  %26 = invoke noundef i32 @_ZN8NArchive3N7z10CInArchive4OpenEP9IInStreamPKy(ptr noundef nonnull align 8 dereferenceable(185) %7, ptr noundef %1, ptr noundef %2)
          to label %27 unwind label %30

27:                                               ; preds = %23
  %.not24 = icmp eq i32 %26, 0
  br i1 %.not24, label %32, label %44

28:                                               ; preds = %19
  %29 = landingpad { ptr, i32 }
          catch ptr null
  br label %46

30:                                               ; preds = %23
  %31 = landingpad { ptr, i32 }
          catch ptr null
  br label %45

32:                                               ; preds = %27
  store i8 1, ptr %25, align 8, !tbaa !28
  %33 = call noundef ptr @_ZNK9CMyComPtrI22ICryptoGetTextPasswordEcvPS0_Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %34 = getelementptr inbounds i8, ptr %0, i64 640
  %35 = getelementptr inbounds i8, ptr %0, i64 641
  %36 = getelementptr inbounds i8, ptr %0, i64 648
  %37 = invoke noundef i32 @_ZN8NArchive3N7z10CInArchive12ReadDatabaseERNS0_5CDbExEP22ICryptoGetTextPasswordRbS6_R7UString(ptr noundef nonnull align 8 dereferenceable(185) %7, ptr noundef nonnull align 8 dereferenceable(447) %24, ptr noundef %33, ptr noundef nonnull align 1 dereferenceable(1) %34, ptr noundef nonnull align 1 dereferenceable(1) %35, ptr noundef nonnull align 8 dereferenceable(16) %36)
          to label %38 unwind label %39

38:                                               ; preds = %32
  %.not25 = icmp eq i32 %37, 0
  br i1 %.not25, label %41, label %44

39:                                               ; preds = %41, %32
  %40 = landingpad { ptr, i32 }
          catch ptr null
  br label %45

41:                                               ; preds = %38
  %42 = getelementptr inbounds i8, ptr %0, i64 184
  %43 = invoke noundef ptr @_ZN9CMyComPtrI9IInStreamEaSEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef %1)
          to label %44 unwind label %39

44:                                               ; preds = %38, %41, %27
  %switch = phi i1 [ false, %27 ], [ false, %38 ], [ true, %41 ]
  %.2 = phi i32 [ %26, %27 ], [ %37, %38 ], [ 0, %41 ]
  call void @_ZN8NArchive3N7z10CInArchiveD2Ev(ptr noundef nonnull align 8 dereferenceable(185) %7) #6
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %7) #6
  call void @_ZN9CMyComPtrI22ICryptoGetTextPasswordED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN9CMyComPtrI20IArchiveOpenCallbackED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %switch, label %57, label %58

45:                                               ; preds = %39, %30
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %31, %30 ]
  call void @_ZN8NArchive3N7z10CInArchiveD2Ev(ptr noundef nonnull align 8 dereferenceable(185) %7) #6
  br label %46

46:                                               ; preds = %45, %28
  %.pn.pn = phi { ptr, i32 } [ %.pn, %45 ], [ %29, %28 ]
  %.118 = extractvalue { ptr, i32 } %.pn.pn, 0
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %7) #6
  call void @_ZN9CMyComPtrI22ICryptoGetTextPasswordED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN9CMyComPtrI20IArchiveOpenCallbackED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  %47 = call ptr @__cxa_begin_catch(ptr %.118) #6
  %48 = load ptr, ptr %0, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %48, i64 48
  %50 = load ptr, ptr %49, align 8
  %51 = invoke noundef i32 %50(ptr noundef nonnull align 8 dereferenceable(696) %0)
          to label %52 unwind label %53

52:                                               ; preds = %46
  invoke void @__cxa_end_catch()
          to label %58 unwind label %17

53:                                               ; preds = %46
  %54 = landingpad { ptr, i32 }
          catch ptr null
  invoke void @__cxa_end_catch()
          to label %55 unwind label %59

55:                                               ; preds = %53, %17
  %.pn26 = phi { ptr, i32 } [ %18, %17 ], [ %54, %53 ]
  %.219 = extractvalue { ptr, i32 } %.pn26, 0
  %56 = call ptr @__cxa_begin_catch(ptr %.219) #6
  call void @__cxa_end_catch()
  br label %58

57:                                               ; preds = %44
  invoke void @_ZN8NArchive3N7z8CHandler10FillPopIDsEv(ptr noundef nonnull align 8 dereferenceable(696) %0)
          to label %58 unwind label %17

58:                                               ; preds = %57, %44, %52, %55
  %.3 = phi i32 [ %.2, %44 ], [ -2147024882, %55 ], [ -2147024882, %52 ], [ 0, %57 ]
  ret i32 %.3

59:                                               ; preds = %53
  %60 = landingpad { ptr, i32 }
          catch ptr null
  %61 = extractvalue { ptr, i32 } %60, 0
  call void @__clang_call_terminate(ptr %61) #7
  unreachable
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK9CMyComPtrI20IArchiveOpenCallbackE14QueryInterfaceI22ICryptoGetTextPasswordEEiRK4GUIDPPT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8NArchive3N7z10CInArchiveC2Eb(ptr noundef nonnull align 8 dereferenceable(185), i1 noundef zeroext) unnamed_addr #1 align 2

declare noundef i32 @_ZN8NArchive3N7z10CInArchive4OpenEP9IInStreamPKy(ptr noundef nonnull align 8 dereferenceable(185), ptr noundef, ptr noundef) local_unnamed_addr #3

declare noundef i32 @_ZN8NArchive3N7z10CInArchive12ReadDatabaseERNS0_5CDbExEP22ICryptoGetTextPasswordRbS6_R7UString(ptr noundef nonnull align 8 dereferenceable(185), ptr noundef nonnull align 8 dereferenceable(447), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #5

declare void @_ZN8NArchive3N7z8CHandler10FillPopIDsEv(ptr noundef nonnull align 8 dereferenceable(696)) 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 = { 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 = { "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noinline noreturn nounwind uwtable "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 #6 = { nounwind }
attributes #7 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !24, i64 142}
!9 = !{!"_ZTSN8NArchive3N7z11COutHandlerE", !10, i64 0, !14, i64 112, !14, i64 120, !24, i64 128, !24, i64 129, !24, i64 130, !24, i64 131, !24, i64 132, !24, i64 133, !25, i64 134, !25, i64 136, !25, i64 138, !25, i64 140, !24, i64 142, !24, i64 143}
!10 = !{!"_ZTSN8NArchive17CMultiMethodPropsE", !11, i64 0, !12, i64 24, !12, i64 28, !12, i64 32, !15, i64 40, !18, i64 56, !24, i64 104}
!11 = !{!"_ZTSN8NArchive18CCommonMethodPropsE", !12, i64 0, !12, i64 4, !14, i64 8, !14, i64 16}
!12 = !{!"int", !13, i64 0}
!13 = !{!"omnipotent char", !7, i64 0}
!14 = !{!"long long", !13, i64 0}
!15 = !{!"_ZTS13CObjectVectorI14COneMethodInfoE", !16, i64 0}
!16 = !{!"_ZTS13CRecordVectorIPvE", !17, i64 0, !12, i64 8, !12, i64 12}
!17 = !{!"any pointer", !13, i64 0}
!18 = !{!"_ZTS14COneMethodInfo", !19, i64 0, !22, i64 16, !23, i64 32}
!19 = !{!"_ZTS12CMethodProps", !20, i64 0}
!20 = !{!"_ZTS6CProps", !21, i64 0}
!21 = !{!"_ZTS13CObjectVectorI5CPropE", !16, i64 0}
!22 = !{!"_ZTS7AString", !17, i64 0, !12, i64 8, !12, i64 12}
!23 = !{!"_ZTS7UString", !17, i64 0, !12, i64 8, !12, i64 12}
!24 = !{!"bool", !13, i64 0}
!25 = !{!"_ZTS9CBoolPair", !24, i64 0, !24, i64 1}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!29, !24, i64 632}
!29 = !{!"_ZTSN8NArchive3N7z8CHandlerE", !30, i64 0, !32, i64 8, !33, i64 16, !34, i64 24, !35, i64 32, !9, i64 40, !36, i64 184, !37, i64 192, !24, i64 640, !24, i64 641, !23, i64 648, !55, i64 664, !50, i64 680}
!30 = !{!"_ZTS10IInArchive", !31, i64 0}
!31 = !{!"_ZTS8IUnknown"}
!32 = !{!"_ZTS19IArchiveGetRawProps", !31, i64 0}
!33 = !{!"_ZTS14ISetProperties", !31, i64 0}
!34 = !{!"_ZTS11IOutArchive", !31, i64 0}
!35 = !{!"_ZTS13CMyUnknownImp", !12, i64 0}
!36 = !{!"_ZTS9CMyComPtrI9IInStreamE", !17, i64 0}
!37 = !{!"_ZTSN8NArchive3N7z5CDbExE", !38, i64 0, !53, i64 352, !44, i64 408, !44, i64 416, !14, i64 424, !14, i64 432, !24, i64 440, !24, i64 441, !24, i64 442, !24, i64 443, !24, i64 444, !24, i64 445, !24, i64 446}
!38 = !{!"_ZTSN8NArchive3N7z9CDatabaseE", !39, i64 0, !51, i64 136, !52, i64 152, !52, i64 184, !52, i64 216, !52, i64 248, !41, i64 280, !42, i64 312, !47, i64 328, !46, i64 344}
!39 = !{!"_ZTSN8NArchive3N7z8CFoldersE", !12, i64 0, !12, i64 4, !40, i64 8, !41, i64 16, !44, i64 48, !40, i64 56, !44, i64 64, !44, i64 72, !45, i64 80, !46, i64 88, !47, i64 96, !49, i64 112}
!40 = !{!"_ZTS9CObjArrayIyE", !17, i64 0}
!41 = !{!"_ZTSN8NArchive3N7z16CUInt32DefVectorE", !42, i64 0, !43, i64 16}
!42 = !{!"_ZTS13CRecordVectorIbE", !17, i64 0, !12, i64 8, !12, i64 12}
!43 = !{!"_ZTS13CRecordVectorIjE", !17, i64 0, !12, i64 8, !12, i64 12}
!44 = !{!"_ZTS9CObjArrayIjE", !17, i64 0}
!45 = !{!"_ZTS9CObjArrayIhE", !17, i64 0}
!46 = !{!"_ZTS9CObjArrayImE", !17, i64 0}
!47 = !{!"_ZTS7CBufferIhE", !17, i64 0, !48, i64 8}
!48 = !{!"long", !13, i64 0}
!49 = !{!"_ZTSN8NArchive3N7z14CParsedMethodsE", !13, i64 0, !12, i64 4, !50, i64 8}
!50 = !{!"_ZTS13CRecordVectorIyE", !17, i64 0, !12, i64 8, !12, i64 12}
!51 = !{!"_ZTS13CRecordVectorIN8NArchive3N7z9CFileItemEE", !17, i64 0, !12, i64 8, !12, i64 12}
!52 = !{!"_ZTSN8NArchive3N7z16CUInt64DefVectorE", !42, i64 0, !50, i64 16}
!53 = !{!"_ZTSN8NArchive3N7z14CInArchiveInfoE", !54, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !50, i64 40}
!54 = !{!"_ZTSN8NArchive3N7z15CArchiveVersionE", !13, i64 0, !13, i64 1}
!55 = !{!"_ZTS13CRecordVectorIN8NArchive3N7z6CBond2EE", !17, i64 0, !12, i64 8, !12, i64 12}


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