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

; 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 = type { ptr }
%class.UString = type { ptr, i32, i32 }
%"class.NWindows::NCOM::CPropVariant" = type { %struct.tagPROPVARIANT }
%struct.tagPROPVARIANT = type { i16, i16, i16, i16, %union.anon }
%union.anon = type { %struct._LARGE_INTEGER }
%struct._LARGE_INTEGER = type { i64 }
%"struct.NArchive::NSplit::CSeqName" = type <{ %class.UString, %class.UString, i8, [7 x i8] }>
%class.CMyComPtr.1 = type { ptr }
%"class.NArchive::NSplit::CHandler" = type { %struct.IInArchive, %struct.IInArchiveGetStream, %class.CMyUnknownImp, %class.CObjectVector, %class.CRecordVector.0, %class.UString, i64 }
%struct.IInArchive = type { %struct.IUnknown }
%struct.IUnknown = type { ptr }
%struct.IInArchiveGetStream = type { %struct.IUnknown }
%class.CMyUnknownImp = type { i32 }
%class.CObjectVector = type { %class.CRecordVector }
%class.CRecordVector = type { ptr, i32, i32 }
%class.CRecordVector.0 = type { ptr, i32, i32 }

@IID_IArchiveOpenVolumeCallback = external global %struct.GUID, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; 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 @_ZN8NArchive6NSplit8CHandler5Open2EP9IInStreamP20IArchiveOpenCallback(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef %1, ptr noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %class.CMyComPtr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %class.UString, align 8
  %13 = alloca %"class.NWindows::NCOM::CPropVariant", align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %class.UString, align 8
  %17 = alloca %class.UString, align 8
  %18 = alloca %class.UString, align 8
  %19 = alloca %"struct.NArchive::NSplit::CSeqName", align 8
  %20 = alloca i32, align 4
  %21 = alloca i8, align 1
  %22 = alloca %class.UString, align 8
  %23 = alloca %class.UString, align 8
  %24 = alloca i64, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %class.CMyComPtr.1, align 8
  %28 = alloca i64, align 8
  %29 = alloca i32, align 4
  %30 = alloca %class.UString, align 8
  %31 = alloca %class.CMyComPtr.1, align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i64, align 8
  %36 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %37 = load ptr, ptr %5, align 8
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds ptr, ptr %38, i64 6
  %40 = load ptr, ptr %39, align 8
  %41 = call noundef i32 %40(ptr noundef nonnull align 8 dereferenceable(80) %37)
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = icmp ne ptr %42, null
  br i1 %43, label %45, label %44

44:                                               ; preds = %3
  store i32 1, ptr %4, align 4
  br label %510

45:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  call void @_ZN9CMyComPtrI26IArchiveOpenVolumeCallbackEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = invoke noundef ptr @_ZN9CMyComPtrI26IArchiveOpenVolumeCallbackEadEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %48 unwind label %57

48:                                               ; preds = %45
  %49 = load ptr, ptr %46, align 8, !tbaa !9
  %50 = getelementptr inbounds ptr, ptr %49, i64 0
  %51 = load ptr, ptr %50, align 8
  %52 = invoke noundef i32 %51(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 4 dereferenceable(16) @IID_IArchiveOpenVolumeCallback, ptr noundef %47)
          to label %53 unwind label %57

53:                                               ; preds = %48
  %54 = invoke noundef zeroext i1 @_ZNK9CMyComPtrI26IArchiveOpenVolumeCallbackEntEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %55 unwind label %57

55:                                               ; preds = %53
  br i1 %54, label %56, label %61

56:                                               ; preds = %55
  store i32 1, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %508

57:                                               ; preds = %53, %48, %45
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %9, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %10, align 4
  br label %509

61:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  invoke void @_ZN7UStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %62 unwind label %75

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  invoke void @_ZN8NWindows4NCOM12CPropVariantC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %63 unwind label %79

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %64 = invoke noundef ptr @_ZNK9CMyComPtrI26IArchiveOpenVolumeCallbackEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %65 unwind label %83

65:                                               ; preds = %63
  %66 = load ptr, ptr %64, align 8, !tbaa !9
  %67 = getelementptr inbounds ptr, ptr %66, i64 5
  %68 = load ptr, ptr %67, align 8
  %69 = invoke noundef i32 %68(ptr noundef nonnull align 8 dereferenceable(8) %64, i32 noundef 4, ptr noundef %13)
          to label %70 unwind label %83

70:                                               ; preds = %65
  store i32 %69, ptr %14, align 4, !tbaa !11
  %71 = load i32, ptr %14, align 4, !tbaa !11
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %73, label %87

73:                                               ; preds = %70
  %74 = load i32, ptr %14, align 4, !tbaa !11
  store i32 %74, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %88

75:                                               ; preds = %61
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %9, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %10, align 4
  br label %507

79:                                               ; preds = %62
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %9, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %10, align 4
  br label %147

83:                                               ; preds = %65, %63
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %9, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %146

87:                                               ; preds = %70
  store i32 0, ptr %11, align 4
  br label %88

88:                                               ; preds = %87, %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  %89 = load i32, ptr %11, align 4
  switch i32 %89, label %101 [
    i32 0, label %90
  ]

90:                                               ; preds = %88
  %91 = getelementptr inbounds %struct.tagPROPVARIANT, ptr %13, i32 0, i32 0
  %92 = load i16, ptr %91, align 8, !tbaa !13
  %93 = zext i16 %92 to i32
  %94 = icmp ne i32 %93, 8
  br i1 %94, label %95, label %96

95:                                               ; preds = %90
  store i32 1, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %101

96:                                               ; preds = %90
  %97 = getelementptr inbounds %struct.tagPROPVARIANT, ptr %13, i32 0, i32 4
  %98 = load ptr, ptr %97, align 8, !tbaa !16
  %99 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEPKw(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef %98)
          to label %100 unwind label %142

100:                                              ; preds = %96
  store i32 0, ptr %11, align 4
  br label %101

101:                                              ; preds = %100, %95, %88
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  %102 = load i32, ptr %11, align 4
  switch i32 %102, label %505 [
    i32 0, label %103
  ]

103:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %104 = call noundef i32 @_ZNK7UString15ReverseFind_DotEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  store i32 %104, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  %105 = load i32, ptr %15, align 4, !tbaa !11
  %106 = add nsw i32 %105, 1
  invoke void @_ZNK7UString4LeftEj(ptr dead_on_unwind writable sret(%class.UString) align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %106)
          to label %107 unwind label %148

107:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %108 = load i32, ptr %15, align 4, !tbaa !11
  %109 = add nsw i32 %108, 1
  %110 = invoke noundef ptr @_ZNK7UString3PtrEj(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %109)
          to label %111 unwind label %152

111:                                              ; preds = %107
  invoke void @_ZN7UStringC1EPKw(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %110)
          to label %112 unwind label %152

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  invoke void @_ZN7UStringC1ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %113 unwind label %156

113:                                              ; preds = %112
  invoke void @_ZN7UString15MakeLower_AsciiEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %114 unwind label %160

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #7
  invoke void @_ZN8NArchive6NSplit8CSeqNameC2Ev(ptr noundef nonnull align 8 dereferenceable(33) %19)
          to label %115 unwind label %164

115:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 2, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #7
  store i8 0, ptr %21, align 1, !tbaa !17
  %116 = invoke noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %117 unwind label %168

117:                                              ; preds = %115
  %118 = icmp uge i32 %116, 2
  br i1 %118, label %119, label %176

119:                                              ; preds = %117
  %120 = invoke noundef ptr @_ZNK7UString8RightPtrEj(ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef 2)
          to label %121 unwind label %168

121:                                              ; preds = %119
  %122 = call noundef zeroext i1 @_Z21StringsAreEqual_AsciiPKwPKc(ptr noundef %120, ptr noundef @.str) #7
  br i1 %122, label %123, label %176

123:                                              ; preds = %121
  store i8 1, ptr %21, align 1, !tbaa !17
  br label %124

124:                                              ; preds = %172, %123
  %125 = load i32, ptr %20, align 4, !tbaa !11
  %126 = invoke noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %127 unwind label %168

127:                                              ; preds = %124
  %128 = icmp ult i32 %125, %126
  br i1 %128, label %129, label %175

129:                                              ; preds = %127
  %130 = invoke noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %131 unwind label %168

131:                                              ; preds = %129
  %132 = invoke noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %133 unwind label %168

133:                                              ; preds = %131
  %134 = load i32, ptr %20, align 4, !tbaa !11
  %135 = sub i32 %132, %134
  %136 = sub i32 %135, 1
  %137 = zext i32 %136 to i64
  %138 = getelementptr inbounds i32, ptr %130, i64 %137
  %139 = load i32, ptr %138, align 4, !tbaa !19
  %140 = icmp ne i32 %139, 97
  br i1 %140, label %141, label %172

141:                                              ; preds = %133
  br label %175

142:                                              ; preds = %96
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %9, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %10, align 4
  br label %146

146:                                              ; preds = %142, %83
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %147

147:                                              ; preds = %146, %79
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  br label %506

148:                                              ; preds = %103
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %9, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %10, align 4
  br label %504

152:                                              ; preds = %111, %107
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %9, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %10, align 4
  br label %503

156:                                              ; preds = %112
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %9, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %10, align 4
  br label %502

160:                                              ; preds = %113
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %9, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %10, align 4
  br label %501

164:                                              ; preds = %114
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %9, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %10, align 4
  br label %500

168:                                              ; preds = %261, %259, %256, %238, %230, %227, %224, %206, %192, %190, %185, %180, %176, %131, %129, %124, %119, %115
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %9, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %10, align 4
  br label %499

172:                                              ; preds = %133
  %173 = load i32, ptr %20, align 4, !tbaa !11
  %174 = add i32 %173, 1
  store i32 %174, ptr %20, align 4, !tbaa !11
  br label %124, !llvm.loop !21

175:                                              ; preds = %141, %127
  br label %215

176:                                              ; preds = %121, %117
  %177 = invoke noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %178 unwind label %168

178:                                              ; preds = %176
  %179 = icmp uge i32 %177, 2
  br i1 %179, label %180, label %213

180:                                              ; preds = %178
  %181 = invoke noundef ptr @_ZNK7UString8RightPtrEj(ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef 2)
          to label %182 unwind label %168

182:                                              ; preds = %180
  %183 = call noundef zeroext i1 @_Z21StringsAreEqual_AsciiPKwPKc(ptr noundef %181, ptr noundef @.str.1) #7
  br i1 %183, label %184, label %213

184:                                              ; preds = %182
  br label %185

185:                                              ; preds = %203, %184
  %186 = load i32, ptr %20, align 4, !tbaa !11
  %187 = invoke noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %188 unwind label %168

188:                                              ; preds = %185
  %189 = icmp ult i32 %186, %187
  br i1 %189, label %190, label %206

190:                                              ; preds = %188
  %191 = invoke noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %192 unwind label %168

192:                                              ; preds = %190
  %193 = invoke noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %194 unwind label %168

194:                                              ; preds = %192
  %195 = load i32, ptr %20, align 4, !tbaa !11
  %196 = sub i32 %193, %195
  %197 = sub i32 %196, 1
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds i32, ptr %191, i64 %198
  %200 = load i32, ptr %199, align 4, !tbaa !19
  %201 = icmp ne i32 %200, 48
  br i1 %201, label %202, label %203

202:                                              ; preds = %194
  br label %206

203:                                              ; preds = %194
  %204 = load i32, ptr %20, align 4, !tbaa !11
  %205 = add i32 %204, 1
  store i32 %205, ptr %20, align 4, !tbaa !11
  br label %185, !llvm.loop !23

206:                                              ; preds = %202, %188
  %207 = load i32, ptr %20, align 4, !tbaa !11
  %208 = invoke noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %209 unwind label %168

209:                                              ; preds = %206
  %210 = icmp ne i32 %207, %208
  br i1 %210, label %211, label %212

211:                                              ; preds = %209
  store i32 1, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %498

212:                                              ; preds = %209
  br label %214

213:                                              ; preds = %182, %178
  store i32 1, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %498

214:                                              ; preds = %212
  br label %215

215:                                              ; preds = %214, %175
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #7
  %216 = invoke noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %217 unwind label %242

217:                                              ; preds = %215
  %218 = load i32, ptr %20, align 4, !tbaa !11
  %219 = sub i32 %216, %218
  invoke void @_ZNK7UString4LeftEj(ptr dead_on_unwind writable sret(%class.UString) align 8 %23, ptr noundef nonnull align 8 dereferenceable(16) %17, i32 noundef %219)
          to label %220 unwind label %242

220:                                              ; preds = %217
  invoke void @_ZplRK7UStringS1_(ptr dead_on_unwind writable sret(%class.UString) align 8 %22, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %221 unwind label %246

221:                                              ; preds = %220
  %222 = getelementptr inbounds %"struct.NArchive::NSplit::CSeqName", ptr %19, i32 0, i32 0
  %223 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSERKS_(ptr noundef nonnull align 8 dereferenceable(16) %222, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %224 unwind label %250

224:                                              ; preds = %221
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  %225 = load i32, ptr %20, align 4, !tbaa !11
  %226 = invoke noundef ptr @_ZNK7UString8RightPtrEj(ptr noundef nonnull align 8 dereferenceable(16) %17, i32 noundef %225)
          to label %227 unwind label %168

227:                                              ; preds = %224
  %228 = getelementptr inbounds %"struct.NArchive::NSplit::CSeqName", ptr %19, i32 0, i32 1
  %229 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEPKw(ptr noundef nonnull align 8 dereferenceable(16) %228, ptr noundef %226)
          to label %230 unwind label %168

230:                                              ; preds = %227
  %231 = load i8, ptr %21, align 1, !tbaa !17, !range !24, !noundef !25
  %232 = trunc i8 %231 to i1
  %233 = getelementptr inbounds %"struct.NArchive::NSplit::CSeqName", ptr %19, i32 0, i32 2
  %234 = zext i1 %232 to i8
  store i8 %234, ptr %233, align 8, !tbaa !26
  %235 = invoke noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %236 unwind label %168

236:                                              ; preds = %230
  %237 = icmp ult i32 %235, 1
  br i1 %237, label %238, label %256

238:                                              ; preds = %236
  %239 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 5
  %240 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %239, ptr noundef @.str.2)
          to label %241 unwind label %168

241:                                              ; preds = %238
  br label %264

242:                                              ; preds = %217, %215
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %9, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %10, align 4
  br label %255

246:                                              ; preds = %220
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %9, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %10, align 4
  br label %254

250:                                              ; preds = %221
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %9, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %10, align 4
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #7
  br label %254

254:                                              ; preds = %250, %246
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  br label %255

255:                                              ; preds = %254, %242
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #7
  br label %499

256:                                              ; preds = %236
  %257 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 5
  %258 = invoke noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %259 unwind label %168

259:                                              ; preds = %256
  %260 = invoke noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %261 unwind label %168

261:                                              ; preds = %259
  %262 = sub i32 %260, 1
  invoke void @_ZN7UString7SetFromEPKwj(ptr noundef nonnull align 8 dereferenceable(16) %257, ptr noundef %258, i32 noundef %262)
          to label %263 unwind label %168

263:                                              ; preds = %261
  br label %264

264:                                              ; preds = %263, %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  %266 = load ptr, ptr %265, align 8, !tbaa !9
  %267 = getelementptr inbounds ptr, ptr %266, i64 6
  %268 = load ptr, ptr %267, align 8
  %269 = invoke noundef i32 %268(ptr noundef nonnull align 8 dereferenceable(8) %265, i64 noundef 0, i32 noundef 2, ptr noundef %24)
          to label %270 unwind label %275

270:                                              ; preds = %264
  store i32 %269, ptr %25, align 4, !tbaa !11
  %271 = load i32, ptr %25, align 4, !tbaa !11
  %272 = icmp ne i32 %271, 0
  br i1 %272, label %273, label %279

273:                                              ; preds = %270
  %274 = load i32, ptr %25, align 4, !tbaa !11
  store i32 %274, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %280

275:                                              ; preds = %264
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %9, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %497

279:                                              ; preds = %270
  store i32 0, ptr %11, align 4
  br label %280

280:                                              ; preds = %279, %273
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  %281 = load i32, ptr %11, align 4
  switch i32 %281, label %496 [
    i32 0, label %282
  ]

282:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %283 = load ptr, ptr %6, align 8, !tbaa !5
  %284 = load ptr, ptr %283, align 8, !tbaa !9
  %285 = getelementptr inbounds ptr, ptr %284, i64 6
  %286 = load ptr, ptr %285, align 8
  %287 = invoke noundef i32 %286(ptr noundef nonnull align 8 dereferenceable(8) %283, i64 noundef 0, i32 noundef 0, ptr noundef null)
          to label %288 unwind label %293

288:                                              ; preds = %282
  store i32 %287, ptr %26, align 4, !tbaa !11
  %289 = load i32, ptr %26, align 4, !tbaa !11
  %290 = icmp ne i32 %289, 0
  br i1 %290, label %291, label %297

291:                                              ; preds = %288
  %292 = load i32, ptr %26, align 4, !tbaa !11
  store i32 %292, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %298

293:                                              ; preds = %282
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %9, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %497

297:                                              ; preds = %288
  store i32 0, ptr %11, align 4
  br label %298

298:                                              ; preds = %297, %291
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  %299 = load i32, ptr %11, align 4
  switch i32 %299, label %496 [
    i32 0, label %300
  ]

300:                                              ; preds = %298
  %301 = load i64, ptr %24, align 8, !tbaa !29
  %302 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 6
  %303 = load i64, ptr %302, align 8, !tbaa !31
  %304 = add i64 %303, %301
  store i64 %304, ptr %302, align 8, !tbaa !31
  %305 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 4
  %306 = load i64, ptr %24, align 8, !tbaa !29
  %307 = invoke noundef i32 @_ZN13CRecordVectorIyE3AddEy(ptr noundef nonnull align 8 dereferenceable(16) %305, i64 noundef %306)
          to label %308 unwind label %327

308:                                              ; preds = %300
  %309 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %310 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN9CMyComPtrI9IInStreamEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef %310) #7
  %311 = invoke noundef i32 @_ZN13CObjectVectorI9CMyComPtrI9IInStreamEE3AddERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %309, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %312 unwind label %331

312:                                              ; preds = %308
  call void @_ZN9CMyComPtrI9IInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %313 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 3
  %314 = invoke noundef i32 @_ZNK13CObjectVectorI9CMyComPtrI9IInStreamEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %313)
          to label %315 unwind label %335

315:                                              ; preds = %312
  %316 = zext i32 %314 to i64
  store i64 %316, ptr %28, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  %317 = load ptr, ptr %7, align 8, !tbaa !5
  %318 = load ptr, ptr %317, align 8, !tbaa !9
  %319 = getelementptr inbounds ptr, ptr %318, i64 6
  %320 = load ptr, ptr %319, align 8
  %321 = invoke noundef i32 %320(ptr noundef nonnull align 8 dereferenceable(8) %317, ptr noundef %28, ptr noundef null)
          to label %322 unwind label %339

322:                                              ; preds = %315
  store i32 %321, ptr %29, align 4, !tbaa !11
  %323 = load i32, ptr %29, align 4, !tbaa !11
  %324 = icmp ne i32 %323, 0
  br i1 %324, label %325, label %343

325:                                              ; preds = %322
  %326 = load i32, ptr %29, align 4, !tbaa !11
  store i32 %326, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %344

327:                                              ; preds = %485, %300
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %9, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %10, align 4
  br label %497

331:                                              ; preds = %308
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %9, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %10, align 4
  call void @_ZN9CMyComPtrI9IInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %497

335:                                              ; preds = %312
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %9, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %10, align 4
  br label %355

339:                                              ; preds = %315
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %9, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %355

343:                                              ; preds = %322
  store i32 0, ptr %11, align 4
  br label %344

344:                                              ; preds = %343, %325
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  %345 = load i32, ptr %11, align 4
  switch i32 %345, label %347 [
    i32 0, label %346
  ]

346:                                              ; preds = %344
  store i32 0, ptr %11, align 4
  br label %347

347:                                              ; preds = %346, %344
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  %348 = load i32, ptr %11, align 4
  switch i32 %348, label %496 [
    i32 0, label %349
  ]

349:                                              ; preds = %347
  br label %350

350:                                              ; preds = %479, %349
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  invoke void @_ZN7UStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %351 unwind label %356

351:                                              ; preds = %350
  %352 = invoke noundef zeroext i1 @_ZN8NArchive6NSplit8CSeqName11GetNextNameER7UString(ptr noundef nonnull align 8 dereferenceable(33) %19, ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %353 unwind label %360

353:                                              ; preds = %351
  br i1 %352, label %364, label %354

354:                                              ; preds = %353
  store i32 6, ptr %11, align 4
  br label %477

355:                                              ; preds = %339, %335
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %497

356:                                              ; preds = %350
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %9, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %10, align 4
  br label %484

360:                                              ; preds = %351
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %9, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %10, align 4
  br label %483

364:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  invoke void @_ZN9CMyComPtrI9IInStreamEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %365 unwind label %380

365:                                              ; preds = %364
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  %366 = invoke noundef ptr @_ZNK9CMyComPtrI26IArchiveOpenVolumeCallbackEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %367 unwind label %384

367:                                              ; preds = %365
  %368 = invoke noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %369 unwind label %384

369:                                              ; preds = %367
  %370 = invoke noundef ptr @_ZN9CMyComPtrI9IInStreamEadEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %371 unwind label %384

371:                                              ; preds = %369
  %372 = load ptr, ptr %366, align 8, !tbaa !9
  %373 = getelementptr inbounds ptr, ptr %372, i64 6
  %374 = load ptr, ptr %373, align 8
  %375 = invoke noundef i32 %374(ptr noundef nonnull align 8 dereferenceable(8) %366, ptr noundef %368, ptr noundef %370)
          to label %376 unwind label %384

376:                                              ; preds = %371
  store i32 %375, ptr %32, align 4, !tbaa !11
  %377 = load i32, ptr %32, align 4, !tbaa !11
  %378 = icmp eq i32 %377, 1
  br i1 %378, label %379, label %388

379:                                              ; preds = %376
  store i32 6, ptr %11, align 4
  br label %476

380:                                              ; preds = %364
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %9, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %10, align 4
  br label %482

384:                                              ; preds = %443, %435, %393, %371, %369, %367, %365
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %9, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %10, align 4
  br label %481

388:                                              ; preds = %376
  %389 = load i32, ptr %32, align 4, !tbaa !11
  %390 = icmp ne i32 %389, 0
  br i1 %390, label %391, label %393

391:                                              ; preds = %388
  %392 = load i32, ptr %32, align 4, !tbaa !11
  store i32 %392, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %476

393:                                              ; preds = %388
  %394 = invoke noundef zeroext i1 @_ZNK9CMyComPtrI9IInStreamEntEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %395 unwind label %384

395:                                              ; preds = %393
  br i1 %394, label %396, label %397

396:                                              ; preds = %395
  store i32 6, ptr %11, align 4
  br label %476

397:                                              ; preds = %395
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  %398 = invoke noundef ptr @_ZNK9CMyComPtrI9IInStreamEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %399 unwind label %409

399:                                              ; preds = %397
  %400 = load ptr, ptr %398, align 8, !tbaa !9
  %401 = getelementptr inbounds ptr, ptr %400, i64 6
  %402 = load ptr, ptr %401, align 8
  %403 = invoke noundef i32 %402(ptr noundef nonnull align 8 dereferenceable(8) %398, i64 noundef 0, i32 noundef 2, ptr noundef %24)
          to label %404 unwind label %409

404:                                              ; preds = %399
  store i32 %403, ptr %33, align 4, !tbaa !11
  %405 = load i32, ptr %33, align 4, !tbaa !11
  %406 = icmp ne i32 %405, 0
  br i1 %406, label %407, label %413

407:                                              ; preds = %404
  %408 = load i32, ptr %33, align 4, !tbaa !11
  store i32 %408, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %414

409:                                              ; preds = %399, %397
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %9, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  br label %481

413:                                              ; preds = %404
  store i32 0, ptr %11, align 4
  br label %414

414:                                              ; preds = %413, %407
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  %415 = load i32, ptr %11, align 4
  switch i32 %415, label %476 [
    i32 0, label %416
  ]

416:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  %417 = invoke noundef ptr @_ZNK9CMyComPtrI9IInStreamEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %418 unwind label %428

418:                                              ; preds = %416
  %419 = load ptr, ptr %417, align 8, !tbaa !9
  %420 = getelementptr inbounds ptr, ptr %419, i64 6
  %421 = load ptr, ptr %420, align 8
  %422 = invoke noundef i32 %421(ptr noundef nonnull align 8 dereferenceable(8) %417, i64 noundef 0, i32 noundef 0, ptr noundef null)
          to label %423 unwind label %428

423:                                              ; preds = %418
  store i32 %422, ptr %34, align 4, !tbaa !11
  %424 = load i32, ptr %34, align 4, !tbaa !11
  %425 = icmp ne i32 %424, 0
  br i1 %425, label %426, label %432

426:                                              ; preds = %423
  %427 = load i32, ptr %34, align 4, !tbaa !11
  store i32 %427, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %433

428:                                              ; preds = %418, %416
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %9, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %481

432:                                              ; preds = %423
  store i32 0, ptr %11, align 4
  br label %433

433:                                              ; preds = %432, %426
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  %434 = load i32, ptr %11, align 4
  switch i32 %434, label %476 [
    i32 0, label %435
  ]

435:                                              ; preds = %433
  %436 = load i64, ptr %24, align 8, !tbaa !29
  %437 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 6
  %438 = load i64, ptr %437, align 8, !tbaa !31
  %439 = add i64 %438, %436
  store i64 %439, ptr %437, align 8, !tbaa !31
  %440 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 4
  %441 = load i64, ptr %24, align 8, !tbaa !29
  %442 = invoke noundef i32 @_ZN13CRecordVectorIyE3AddEy(ptr noundef nonnull align 8 dereferenceable(16) %440, i64 noundef %441)
          to label %443 unwind label %384

443:                                              ; preds = %435
  %444 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 3
  %445 = invoke noundef i32 @_ZN13CObjectVectorI9CMyComPtrI9IInStreamEE3AddERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %444, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %446 unwind label %384

446:                                              ; preds = %443
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %447 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 3
  %448 = invoke noundef i32 @_ZNK13CObjectVectorI9CMyComPtrI9IInStreamEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %447)
          to label %449 unwind label %461

449:                                              ; preds = %446
  %450 = zext i32 %448 to i64
  store i64 %450, ptr %35, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #7
  %451 = load ptr, ptr %7, align 8, !tbaa !5
  %452 = load ptr, ptr %451, align 8, !tbaa !9
  %453 = getelementptr inbounds ptr, ptr %452, i64 6
  %454 = load ptr, ptr %453, align 8
  %455 = invoke noundef i32 %454(ptr noundef nonnull align 8 dereferenceable(8) %451, ptr noundef %35, ptr noundef null)
          to label %456 unwind label %465

456:                                              ; preds = %449
  store i32 %455, ptr %36, align 4, !tbaa !11
  %457 = load i32, ptr %36, align 4, !tbaa !11
  %458 = icmp ne i32 %457, 0
  br i1 %458, label %459, label %469

459:                                              ; preds = %456
  %460 = load i32, ptr %36, align 4, !tbaa !11
  store i32 %460, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %470

461:                                              ; preds = %446
  %462 = landingpad { ptr, i32 }
          cleanup
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %9, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %10, align 4
  br label %480

465:                                              ; preds = %449
  %466 = landingpad { ptr, i32 }
          cleanup
  %467 = extractvalue { ptr, i32 } %466, 0
  store ptr %467, ptr %9, align 8
  %468 = extractvalue { ptr, i32 } %466, 1
  store i32 %468, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  br label %480

469:                                              ; preds = %456
  store i32 0, ptr %11, align 4
  br label %470

470:                                              ; preds = %469, %459
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #7
  %471 = load i32, ptr %11, align 4
  switch i32 %471, label %473 [
    i32 0, label %472
  ]

472:                                              ; preds = %470
  store i32 0, ptr %11, align 4
  br label %473

473:                                              ; preds = %472, %470
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  %474 = load i32, ptr %11, align 4
  switch i32 %474, label %476 [
    i32 0, label %475
  ]

475:                                              ; preds = %473
  store i32 0, ptr %11, align 4
  br label %476

476:                                              ; preds = %475, %473, %433, %414, %396, %391, %379
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @_ZN9CMyComPtrI9IInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %477

477:                                              ; preds = %476, %354
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  %478 = load i32, ptr %11, align 4
  switch i32 %478, label %496 [
    i32 0, label %479
    i32 6, label %485
  ]

479:                                              ; preds = %477
  br label %350, !llvm.loop !40

480:                                              ; preds = %465, %461
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %481

481:                                              ; preds = %480, %428, %409, %384
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @_ZN9CMyComPtrI9IInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  br label %482

482:                                              ; preds = %481, %380
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %483

483:                                              ; preds = %482, %360
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  br label %484

484:                                              ; preds = %483, %356
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  br label %497

485:                                              ; preds = %477
  %486 = getelementptr inbounds %"class.NArchive::NSplit::CHandler", ptr %37, i32 0, i32 3
  %487 = invoke noundef i32 @_ZNK13CObjectVectorI9CMyComPtrI9IInStreamEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %486)
          to label %488 unwind label %327

488:                                              ; preds = %485
  %489 = icmp eq i32 %487, 1
  br i1 %489, label %490, label %495

490:                                              ; preds = %488
  %491 = load i8, ptr %21, align 1, !tbaa !17, !range !24, !noundef !25
  %492 = trunc i8 %491 to i1
  br i1 %492, label %493, label %494

493:                                              ; preds = %490
  store i32 1, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %496

494:                                              ; preds = %490
  br label %495

495:                                              ; preds = %494, %488
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %496

496:                                              ; preds = %495, %493, %477, %347, %298, %280
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %498

497:                                              ; preds = %484, %355, %331, %327, %293, %275
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %499

498:                                              ; preds = %496, %213, %211
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @_ZN8NArchive6NSplit8CSeqNameD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %19) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %505

499:                                              ; preds = %497, %255, %168
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @_ZN8NArchive6NSplit8CSeqNameD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %19) #7
  br label %500

500:                                              ; preds = %499, %164
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #7
  br label %501

501:                                              ; preds = %500, %160
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br label %502

502:                                              ; preds = %501, %156
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  br label %503

503:                                              ; preds = %502, %152
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %504

504:                                              ; preds = %503, %148
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %506

505:                                              ; preds = %498, %101
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %508

506:                                              ; preds = %504, %147
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %507

507:                                              ; preds = %506, %75
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %509

508:                                              ; preds = %505, %56
  call void @_ZN9CMyComPtrI26IArchiveOpenVolumeCallbackED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %510

509:                                              ; preds = %507, %57
  call void @_ZN9CMyComPtrI26IArchiveOpenVolumeCallbackED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %512

510:                                              ; preds = %508, %44
  %511 = load i32, ptr %4, align 4
  ret i32 %511

512:                                              ; preds = %509
  %513 = load ptr, ptr %9, align 8
  %514 = load i32, ptr %10, align 4
  %515 = insertvalue { ptr, i32 } poison, ptr %513, 0
  %516 = insertvalue { ptr, i32 } %515, i32 %514, 1
  resume { ptr, i32 } %516
}

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

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

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

declare void @_ZN7UStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEPKw(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7UString4LeftEj(ptr dead_on_unwind noalias writable sret(%class.UString) align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #2 align 2

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

declare void @_ZN7UStringC1EPKw(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare void @_ZN7UStringC1ERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

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

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

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

; Function Attrs: nounwind
declare noundef zeroext i1 @_Z21StringsAreEqual_AsciiPKwPKc(ptr noundef, ptr noundef) #5

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

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

declare void @_ZplRK7UStringS1_(ptr dead_on_unwind writable sret(%class.UString) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #3

declare void @_ZN7UString7SetFromEPKwj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i32 noundef) #3

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN8NArchive6NSplit8CSeqName11GetNextNameER7UString(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9CMyComPtrI26IArchiveOpenVolumeCallbackED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 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 "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 = { 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 #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTS14tagPROPVARIANT", !15, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !7, i64 8}
!15 = !{!"short", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"wchar_t", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!27, !18, i64 32}
!27 = !{!"_ZTSN8NArchive6NSplit8CSeqNameE", !28, i64 0, !28, i64 16, !18, i64 32}
!28 = !{!"_ZTS7UString", !6, i64 0, !12, i64 8, !12, i64 12}
!29 = !{!30, !30, i64 0}
!30 = !{!"long long", !7, i64 0}
!31 = !{!32, !30, i64 72}
!32 = !{!"_ZTSN8NArchive6NSplit8CHandlerE", !33, i64 0, !35, i64 8, !36, i64 16, !37, i64 24, !39, i64 40, !28, i64 56, !30, i64 72}
!33 = !{!"_ZTS10IInArchive", !34, i64 0}
!34 = !{!"_ZTS8IUnknown"}
!35 = !{!"_ZTS19IInArchiveGetStream", !34, i64 0}
!36 = !{!"_ZTS13CMyUnknownImp", !12, i64 0}
!37 = !{!"_ZTS13CObjectVectorI9CMyComPtrI9IInStreamEE", !38, i64 0}
!38 = !{!"_ZTS13CRecordVectorIPvE", !6, i64 0, !12, i64 8, !12, i64 12}
!39 = !{!"_ZTS13CRecordVectorIyE", !6, i64 0, !12, i64 8, !12, i64 12}
!40 = distinct !{!40, !22}


; 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 = type { ptr }
%class.UString = type { ptr, i32, i32 }
%"class.NWindows::NCOM::CPropVariant" = type { %struct.tagPROPVARIANT }
%struct.tagPROPVARIANT = type { i16, i16, i16, i16, %union.anon }
%union.anon = type { %struct._LARGE_INTEGER }
%struct._LARGE_INTEGER = type { i64 }
%"struct.NArchive::NSplit::CSeqName" = type <{ %class.UString, %class.UString, i8, [7 x i8] }>
%class.CMyComPtr.1 = type { ptr }

@IID_IArchiveOpenVolumeCallback = external global %struct.GUID, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; 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 @_ZN8NArchive6NSplit8CHandler5Open2EP9IInStreamP20IArchiveOpenCallback(ptr noundef nonnull align 8 dereferenceable(80) %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.CMyComPtr, align 8
  %5 = alloca %class.UString, align 8
  %6 = alloca %"class.NWindows::NCOM::CPropVariant", align 8
  %7 = alloca %class.UString, align 8
  %8 = alloca %class.UString, align 8
  %9 = alloca %class.UString, align 8
  %10 = alloca %"struct.NArchive::NSplit::CSeqName", align 8
  %11 = alloca %class.UString, align 8
  %12 = alloca %class.UString, align 8
  %13 = alloca i64, align 8
  %14 = alloca %class.CMyComPtr.1, align 8
  %15 = alloca i64, align 8
  %16 = alloca %class.UString, align 8
  %17 = alloca %class.CMyComPtr.1, align 8
  %18 = alloca i64, align 8
  %19 = load ptr, ptr %0, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 48
  %21 = load ptr, ptr %20, align 8
  %22 = tail call noundef i32 %21(ptr noundef nonnull align 8 dereferenceable(80) %0)
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %253, label %23

23:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  call void @_ZN9CMyComPtrI26IArchiveOpenVolumeCallbackEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %24 = call noundef ptr @_ZN9CMyComPtrI26IArchiveOpenVolumeCallbackEadEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = load ptr, ptr %25, align 8
  %27 = invoke noundef i32 %26(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(16) @IID_IArchiveOpenVolumeCallback, ptr noundef %24)
          to label %28 unwind label %30

28:                                               ; preds = %23
  %29 = call noundef zeroext i1 @_ZNK9CMyComPtrI26IArchiveOpenVolumeCallbackEntEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  br i1 %29, label %251, label %32

30:                                               ; preds = %23
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %252

32:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  invoke void @_ZN7UStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %33 unwind label %40

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  call void @_ZN8NWindows4NCOM12CPropVariantC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %34 = call noundef ptr @_ZNK9CMyComPtrI26IArchiveOpenVolumeCallbackEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 40
  %37 = load ptr, ptr %36, align 8
  %38 = invoke noundef i32 %37(ptr noundef nonnull align 8 dereferenceable(8) %34, i32 noundef 4, ptr noundef nonnull %6)
          to label %39 unwind label %42

39:                                               ; preds = %33
  %.not113 = icmp eq i32 %38, 0
  br i1 %.not113, label %44, label %.thread

40:                                               ; preds = %32
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %250

42:                                               ; preds = %33
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %74

44:                                               ; preds = %39
  %45 = load i16, ptr %6, align 8, !tbaa !8
  %.not114 = icmp eq i16 %45, 8
  br i1 %.not114, label %46, label %.thread

46:                                               ; preds = %44
  %47 = getelementptr inbounds i8, ptr %6, i64 8
  %48 = load ptr, ptr %47, align 8, !tbaa !12
  %49 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEPKw(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef %48)
          to label %50 unwind label %72

.thread:                                          ; preds = %39, %44
  %.1.ph = phi i32 [ 1, %44 ], [ %38, %39 ]
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %248

50:                                               ; preds = %46
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  %51 = call noundef i32 @_ZNK7UString15ReverseFind_DotEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  %52 = add nsw i32 %51, 1
  invoke void @_ZNK7UString4LeftEj(ptr dead_on_unwind nonnull writable sret(%class.UString) align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %5, i32 noundef %52)
          to label %53 unwind label %75

53:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  %54 = call noundef ptr @_ZNK7UString3PtrEj(ptr noundef nonnull align 8 dereferenceable(16) %5, i32 noundef %52)
  invoke void @_ZN7UStringC1EPKw(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef %54)
          to label %55 unwind label %77

55:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  invoke void @_ZN7UStringC1ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %56 unwind label %79

56:                                               ; preds = %55
  call void @_ZN7UString15MakeLower_AsciiEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #7
  invoke void @_ZN8NArchive6NSplit8CSeqNameC2Ev(ptr noundef nonnull align 8 dereferenceable(33) %10)
          to label %57 unwind label %81

57:                                               ; preds = %56
  %58 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %59 = icmp ugt i32 %58, 1
  br i1 %59, label %60, label %89

60:                                               ; preds = %57
  %61 = call noundef ptr @_ZNK7UString8RightPtrEj(ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef 2)
  %62 = call noundef zeroext i1 @_Z21StringsAreEqual_AsciiPKwPKc(ptr noundef %61, ptr noundef nonnull @.str) #7
  br i1 %62, label %.preheader157, label %89

.preheader157:                                    ; preds = %60
  %63 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %64 = icmp ugt i32 %63, 2
  br i1 %64, label %.lr.ph163, label %.loopexit

.lr.ph163:                                        ; preds = %.preheader157, %85
  %.0102162 = phi i32 [ %86, %85 ], [ 2, %.preheader157 ]
  %65 = call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %66 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %67 = xor i32 %.0102162, -1
  %68 = add i32 %66, %67
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds i32, ptr %65, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !13
  %.not118 = icmp eq i32 %71, 97
  br i1 %.not118, label %85, label %.loopexit

72:                                               ; preds = %46
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %74

74:                                               ; preds = %72, %42
  %.pn = phi { ptr, i32 } [ %73, %72 ], [ %43, %42 ]
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %249

75:                                               ; preds = %50
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %247

77:                                               ; preds = %53
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %246

79:                                               ; preds = %55
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %245

81:                                               ; preds = %56
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %244

83:                                               ; preds = %134, %124, %114
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %243

85:                                               ; preds = %.lr.ph163
  %86 = add nuw i32 %.0102162, 1
  %87 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %88 = icmp ult i32 %86, %87
  br i1 %88, label %.lr.ph163, label %.loopexit, !llvm.loop !15

89:                                               ; preds = %60, %57
  %90 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %91 = icmp ugt i32 %90, 1
  br i1 %91, label %92, label %242

92:                                               ; preds = %89
  %93 = call noundef ptr @_ZNK7UString8RightPtrEj(ptr noundef nonnull align 8 dereferenceable(16) %9, i32 noundef 2)
  %94 = call noundef zeroext i1 @_Z21StringsAreEqual_AsciiPKwPKc(ptr noundef %93, ptr noundef nonnull @.str.1) #7
  br i1 %94, label %.preheader158, label %242

.preheader158:                                    ; preds = %92
  %95 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %96 = icmp ugt i32 %95, 2
  br i1 %96, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader158, %104
  %.1103159 = phi i32 [ %105, %104 ], [ 2, %.preheader158 ]
  %97 = call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %98 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %99 = xor i32 %.1103159, -1
  %100 = add i32 %98, %99
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds i32, ptr %97, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !13
  %.not116 = icmp eq i32 %103, 48
  br i1 %.not116, label %104, label %._crit_edge

104:                                              ; preds = %.lr.ph
  %105 = add nuw i32 %.1103159, 1
  %106 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %107 = icmp ult i32 %105, %106
  br i1 %107, label %.lr.ph, label %._crit_edge, !llvm.loop !17

._crit_edge:                                      ; preds = %104, %.lr.ph, %.preheader158
  %.1103.lcssa = phi i32 [ 2, %.preheader158 ], [ %.1103159, %.lr.ph ], [ %105, %104 ]
  %108 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %.not117 = icmp eq i32 %.1103.lcssa, %108
  br i1 %.not117, label %.loopexit, label %242

.loopexit:                                        ; preds = %.lr.ph163, %85, %.preheader157, %._crit_edge
  %.0105 = phi i1 [ false, %._crit_edge ], [ true, %.preheader157 ], [ true, %85 ], [ true, %.lr.ph163 ]
  %.2104 = phi i32 [ %.1103.lcssa, %._crit_edge ], [ 2, %.preheader157 ], [ %.0102162, %.lr.ph163 ], [ %86, %85 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  %109 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %110 = sub i32 %109, %.2104
  invoke void @_ZNK7UString4LeftEj(ptr dead_on_unwind nonnull writable sret(%class.UString) align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %110)
          to label %111 unwind label %126

111:                                              ; preds = %.loopexit
  invoke void @_ZplRK7UStringS1_(ptr dead_on_unwind nonnull writable sret(%class.UString) align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %112 unwind label %128

112:                                              ; preds = %111
  %113 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSERKS_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %114 unwind label %130

114:                                              ; preds = %112
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  %115 = call noundef ptr @_ZNK7UString8RightPtrEj(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %.2104)
  %116 = getelementptr inbounds i8, ptr %10, i64 16
  %117 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEPKw(ptr noundef nonnull align 8 dereferenceable(16) %116, ptr noundef %115)
          to label %118 unwind label %83

118:                                              ; preds = %114
  %119 = getelementptr inbounds i8, ptr %10, i64 32
  %120 = zext i1 %.0105 to i8
  store i8 %120, ptr %119, align 8, !tbaa !18
  %121 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %122 = icmp eq i32 %121, 0
  %123 = getelementptr inbounds i8, ptr %0, i64 56
  br i1 %122, label %124, label %134

124:                                              ; preds = %118
  %125 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %123, ptr noundef nonnull @.str.2)
          to label %138 unwind label %83

126:                                              ; preds = %.loopexit
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %133

128:                                              ; preds = %111
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %132

130:                                              ; preds = %112
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %132

132:                                              ; preds = %130, %128
  %.pn119 = phi { ptr, i32 } [ %131, %130 ], [ %129, %128 ]
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %133

133:                                              ; preds = %132, %126
  %.pn119.pn = phi { ptr, i32 } [ %.pn119, %132 ], [ %127, %126 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  br label %243

134:                                              ; preds = %118
  %135 = call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %136 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %137 = add i32 %136, -1
  invoke void @_ZN7UString7SetFromEPKwj(ptr noundef nonnull align 8 dereferenceable(16) %123, ptr noundef %135, i32 noundef %137)
          to label %138 unwind label %83

138:                                              ; preds = %134, %124
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %139 = load ptr, ptr %1, align 8, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %139, i64 48
  %141 = load ptr, ptr %140, align 8
  %142 = invoke noundef i32 %141(ptr noundef nonnull align 8 dereferenceable(8) %1, i64 noundef 0, i32 noundef 2, ptr noundef nonnull %13)
          to label %143 unwind label %144

143:                                              ; preds = %138
  %.not122 = icmp eq i32 %142, 0
  br i1 %.not122, label %146, label %240

144:                                              ; preds = %138
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %241

146:                                              ; preds = %143
  %147 = load ptr, ptr %1, align 8, !tbaa !5
  %148 = getelementptr inbounds i8, ptr %147, i64 48
  %149 = load ptr, ptr %148, align 8
  %150 = invoke noundef i32 %149(ptr noundef nonnull align 8 dereferenceable(8) %1, i64 noundef 0, i32 noundef 0, ptr noundef null)
          to label %151 unwind label %152

151:                                              ; preds = %146
  %.not123 = icmp eq i32 %150, 0
  br i1 %.not123, label %154, label %240

152:                                              ; preds = %146
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %241

154:                                              ; preds = %151
  %155 = load i64, ptr %13, align 8, !tbaa !24
  %156 = getelementptr inbounds i8, ptr %0, i64 72
  %157 = load i64, ptr %156, align 8, !tbaa !26
  %158 = add i64 %157, %155
  store i64 %158, ptr %156, align 8, !tbaa !26
  %159 = getelementptr inbounds i8, ptr %0, i64 40
  %160 = invoke noundef i32 @_ZN13CRecordVectorIyE3AddEy(ptr noundef nonnull align 8 dereferenceable(16) %159, i64 noundef %155)
          to label %161 unwind label %172

161:                                              ; preds = %154
  %162 = getelementptr inbounds i8, ptr %0, i64 24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  call void @_ZN9CMyComPtrI9IInStreamEC2EPS0_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull %1) #7
  %163 = invoke noundef i32 @_ZN13CObjectVectorI9CMyComPtrI9IInStreamEE3AddERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %162, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %164 unwind label %174

164:                                              ; preds = %161
  call void @_ZN9CMyComPtrI9IInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %165 = call noundef i32 @_ZNK13CObjectVectorI9CMyComPtrI9IInStreamEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %162)
  %166 = zext i32 %165 to i64
  store i64 %166, ptr %15, align 8, !tbaa !24
  %167 = load ptr, ptr %2, align 8, !tbaa !5
  %168 = getelementptr inbounds i8, ptr %167, i64 48
  %169 = load ptr, ptr %168, align 8
  %170 = invoke noundef i32 %169(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %15, ptr noundef null)
          to label %171 unwind label %176

171:                                              ; preds = %164
  %.not124 = icmp eq i32 %170, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br i1 %.not124, label %.preheader, label %240

172:                                              ; preds = %154
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %241

174:                                              ; preds = %161
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9CMyComPtrI9IInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %241

176:                                              ; preds = %164
  %177 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %241

.preheader:                                       ; preds = %171, %233
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  invoke void @_ZN7UStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %178 unwind label %181

178:                                              ; preds = %.preheader
  %179 = invoke noundef zeroext i1 @_ZN8NArchive6NSplit8CSeqName11GetNextNameER7UString(ptr noundef nonnull align 8 dereferenceable(33) %10, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %180 unwind label %183

180:                                              ; preds = %178
  br i1 %179, label %185, label %.thread145

.thread145:                                       ; preds = %180
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %237

181:                                              ; preds = %.preheader
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %236

183:                                              ; preds = %178
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %235

185:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  call void @_ZN9CMyComPtrI9IInStreamEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %186 = call noundef ptr @_ZNK9CMyComPtrI26IArchiveOpenVolumeCallbackEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %187 = call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  %188 = call noundef ptr @_ZN9CMyComPtrI9IInStreamEadEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %189 = load ptr, ptr %186, align 8, !tbaa !5
  %190 = getelementptr inbounds i8, ptr %189, i64 48
  %191 = load ptr, ptr %190, align 8
  %192 = invoke noundef i32 %191(ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef %187, ptr noundef %188)
          to label %193 unwind label %194

193:                                              ; preds = %185
  switch i32 %192, label %.thread149 [
    i32 1, label %.thread153
    i32 0, label %196
  ]

194:                                              ; preds = %221, %216, %185
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %234

196:                                              ; preds = %193
  %197 = call noundef zeroext i1 @_ZNK9CMyComPtrI9IInStreamEntEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
  br i1 %197, label %.thread153, label %198

198:                                              ; preds = %196
  %199 = call noundef ptr @_ZNK9CMyComPtrI9IInStreamEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  %201 = getelementptr inbounds i8, ptr %200, i64 48
  %202 = load ptr, ptr %201, align 8
  %203 = invoke noundef i32 %202(ptr noundef nonnull align 8 dereferenceable(8) %199, i64 noundef 0, i32 noundef 2, ptr noundef nonnull %13)
          to label %204 unwind label %205

204:                                              ; preds = %198
  %.not126 = icmp eq i32 %203, 0
  br i1 %.not126, label %207, label %.thread149

205:                                              ; preds = %198
  %206 = landingpad { ptr, i32 }
          cleanup
  br label %234

207:                                              ; preds = %204
  %208 = call noundef ptr @_ZNK9CMyComPtrI9IInStreamEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %209 = load ptr, ptr %208, align 8, !tbaa !5
  %210 = getelementptr inbounds i8, ptr %209, i64 48
  %211 = load ptr, ptr %210, align 8
  %212 = invoke noundef i32 %211(ptr noundef nonnull align 8 dereferenceable(8) %208, i64 noundef 0, i32 noundef 0, ptr noundef null)
          to label %213 unwind label %214

213:                                              ; preds = %207
  %.not127 = icmp eq i32 %212, 0
  br i1 %.not127, label %216, label %.thread149

214:                                              ; preds = %207
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %234

216:                                              ; preds = %213
  %217 = load i64, ptr %13, align 8, !tbaa !24
  %218 = load i64, ptr %156, align 8, !tbaa !26
  %219 = add i64 %218, %217
  store i64 %219, ptr %156, align 8, !tbaa !26
  %220 = invoke noundef i32 @_ZN13CRecordVectorIyE3AddEy(ptr noundef nonnull align 8 dereferenceable(16) %159, i64 noundef %217)
          to label %221 unwind label %194

221:                                              ; preds = %216
  %222 = invoke noundef i32 @_ZN13CObjectVectorI9CMyComPtrI9IInStreamEE3AddERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %162, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %223 unwind label %194

223:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %224 = call noundef i32 @_ZNK13CObjectVectorI9CMyComPtrI9IInStreamEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %162)
  %225 = zext i32 %224 to i64
  store i64 %225, ptr %18, align 8, !tbaa !24
  %226 = load ptr, ptr %2, align 8, !tbaa !5
  %227 = getelementptr inbounds i8, ptr %226, i64 48
  %228 = load ptr, ptr %227, align 8
  %229 = invoke noundef i32 %228(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull %18, ptr noundef null)
          to label %230 unwind label %231

230:                                              ; preds = %223
  %.not141 = icmp eq i32 %229, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br i1 %.not141, label %233, label %.thread149

231:                                              ; preds = %223
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br label %234

.thread149:                                       ; preds = %230, %213, %204, %193
  %.9.ph = phi i32 [ %203, %204 ], [ %212, %213 ], [ %229, %230 ], [ %192, %193 ]
  call void @_ZN9CMyComPtrI9IInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %240

.thread153:                                       ; preds = %193, %196
  call void @_ZN9CMyComPtrI9IInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %237

233:                                              ; preds = %230
  call void @_ZN9CMyComPtrI9IInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %.preheader

234:                                              ; preds = %231, %214, %205, %194
  %.pn128 = phi { ptr, i32 } [ %232, %231 ], [ %195, %194 ], [ %215, %214 ], [ %206, %205 ]
  call void @_ZN9CMyComPtrI9IInStreamED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %235

235:                                              ; preds = %234, %183
  %.pn128.pn = phi { ptr, i32 } [ %.pn128, %234 ], [ %184, %183 ]
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %236

236:                                              ; preds = %235, %181
  %.pn128.pn.pn = phi { ptr, i32 } [ %.pn128.pn, %235 ], [ %182, %181 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %241

237:                                              ; preds = %.thread153, %.thread145
  %238 = call noundef i32 @_ZNK13CObjectVectorI9CMyComPtrI9IInStreamEE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %162)
  %239 = icmp eq i32 %238, 1
  %brmerge.not = and i1 %.0105, %239
  %spec.select = zext i1 %brmerge.not to i32
  br label %240

240:                                              ; preds = %.thread149, %237, %171, %151, %143
  %.11 = phi i32 [ %170, %171 ], [ %150, %151 ], [ %142, %143 ], [ %spec.select, %237 ], [ %.9.ph, %.thread149 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %242

241:                                              ; preds = %236, %176, %174, %172, %152, %144
  %.pn128.pn.pn.pn = phi { ptr, i32 } [ %.pn128.pn.pn, %236 ], [ %177, %176 ], [ %175, %174 ], [ %173, %172 ], [ %153, %152 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %243

242:                                              ; preds = %89, %92, %._crit_edge, %240
  %.12 = phi i32 [ %.11, %240 ], [ 1, %._crit_edge ], [ 1, %92 ], [ 1, %89 ]
  call void @_ZN8NArchive6NSplit8CSeqNameD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %10) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %248

243:                                              ; preds = %241, %133, %83
  %.pn128.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn128.pn.pn.pn, %241 ], [ %84, %83 ], [ %.pn119.pn, %133 ]
  call void @_ZN8NArchive6NSplit8CSeqNameD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %10) #7
  br label %244

244:                                              ; preds = %243, %81
  %.pn128.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn128.pn.pn.pn.pn, %243 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  br label %245

245:                                              ; preds = %244, %79
  %.pn128.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn128.pn.pn.pn.pn.pn, %244 ], [ %80, %79 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  br label %246

246:                                              ; preds = %245, %77
  %.pn128.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn128.pn.pn.pn.pn.pn.pn, %245 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #7
  br label %247

247:                                              ; preds = %246, %75
  %.pn128.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn128.pn.pn.pn.pn.pn.pn.pn, %246 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %249

248:                                              ; preds = %.thread, %242
  %.13 = phi i32 [ %.12, %242 ], [ %.1.ph, %.thread ]
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %251

249:                                              ; preds = %247, %74
  %.pn128.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn128.pn.pn.pn.pn.pn.pn.pn.pn, %247 ], [ %.pn, %74 ]
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  br label %250

250:                                              ; preds = %249, %40
  %.pn128.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn128.pn.pn.pn.pn.pn.pn.pn.pn.pn, %249 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %252

251:                                              ; preds = %28, %248
  %.14 = phi i32 [ %.13, %248 ], [ 1, %28 ]
  call void @_ZN9CMyComPtrI26IArchiveOpenVolumeCallbackED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %253

252:                                              ; preds = %250, %30
  %.pn128.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn128.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %250 ], [ %31, %30 ]
  call void @_ZN9CMyComPtrI26IArchiveOpenVolumeCallbackED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn128.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn

253:                                              ; preds = %3, %251
  %.15 = phi i32 [ %.14, %251 ], [ 1, %3 ]
  ret i32 %.15
}

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

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

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

declare void @_ZN7UStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEPKw(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7UString4LeftEj(ptr dead_on_unwind noalias writable sret(%class.UString) align 8, ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

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

declare void @_ZN7UStringC1EPKw(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare void @_ZN7UStringC1ERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

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

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

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

; Function Attrs: nounwind
declare noundef zeroext i1 @_Z21StringsAreEqual_AsciiPKwPKc(ptr noundef, ptr noundef) local_unnamed_addr #5

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

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

declare void @_ZplRK7UStringS1_(ptr dead_on_unwind writable sret(%class.UString) align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #3

declare void @_ZN7UString7SetFromEPKwj(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i32 noundef) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN8NArchive6NSplit8CSeqName11GetNextNameER7UString(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 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 "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 = { 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 #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"_ZTS14tagPROPVARIANT", !10, i64 0, !10, i64 2, !10, i64 4, !10, i64 6, !11, i64 8}
!10 = !{!"short", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"wchar_t", !11, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !23, i64 32}
!19 = !{!"_ZTSN8NArchive6NSplit8CSeqNameE", !20, i64 0, !20, i64 16, !23, i64 32}
!20 = !{!"_ZTS7UString", !21, i64 0, !22, i64 8, !22, i64 12}
!21 = !{!"any pointer", !11, i64 0}
!22 = !{!"int", !11, i64 0}
!23 = !{!"bool", !11, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"long long", !11, i64 0}
!26 = !{!27, !25, i64 72}
!27 = !{!"_ZTSN8NArchive6NSplit8CHandlerE", !28, i64 0, !30, i64 8, !31, i64 16, !32, i64 24, !34, i64 40, !20, i64 56, !25, i64 72}
!28 = !{!"_ZTS10IInArchive", !29, i64 0}
!29 = !{!"_ZTS8IUnknown"}
!30 = !{!"_ZTS19IInArchiveGetStream", !29, i64 0}
!31 = !{!"_ZTS13CMyUnknownImp", !22, i64 0}
!32 = !{!"_ZTS13CObjectVectorI9CMyComPtrI9IInStreamEE", !33, i64 0}
!33 = !{!"_ZTS13CRecordVectorIPvE", !21, i64 0, !22, i64 8, !22, i64 12}
!34 = !{!"_ZTS13CRecordVectorIyE", !21, i64 0, !22, i64 8, !22, i64 12}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass