; LLVM IR from mncoppola/rpef :: utilities_src/squashfs4.2/lzma465/CPP/7zip/UI/Common (SetProperties)

; 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.CObjectVector.0 = type { %class.CRecordVector }
%class.CRecordVector = type { %class.CBaseRecordVector }
%class.CBaseRecordVector = type { ptr, i32, i32, ptr, i64 }
%"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 }
%class.CStringBase = type { ptr, i32, i32 }
%class.CRecordVector.1 = type { %class.CBaseRecordVector }
%struct.CProperty = type { %class.CStringBase, %class.CStringBase }

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z13SetPropertiesP8IUnknownRK13CObjectVectorI9CPropertyE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %class.CMyComPtr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %class.CObjectVector.0, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.NWindows::NCOM::CPropVariant", align 8
  %15 = alloca %class.CStringBase, align 8
  %16 = alloca i32, align 4
  %17 = alloca %class.CStringBase, align 8
  %18 = alloca %class.CRecordVector.1, align 8
  %19 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = call noundef zeroext i1 @_ZNK17CBaseRecordVector7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(32) %20)
  br i1 %21, label %22, label %23

22:                                               ; preds = %2
  store i32 0, ptr %3, align 4
  br label %295

23:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  call void @_ZN9CMyComPtrI14ISetPropertiesEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = invoke noundef ptr @_ZN9CMyComPtrI14ISetPropertiesEadEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %26 unwind label %35

26:                                               ; preds = %23
  %27 = load ptr, ptr %24, align 8, !tbaa !9
  %28 = getelementptr inbounds ptr, ptr %27, i64 0
  %29 = load ptr, ptr %28, align 8
  %30 = invoke noundef i32 %29(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(16) @IID_ISetProperties, ptr noundef %25)
          to label %31 unwind label %35

31:                                               ; preds = %26
  %32 = invoke noundef zeroext i1 @_ZNK9CMyComPtrI14ISetPropertiesEntEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %33 unwind label %35

33:                                               ; preds = %31
  br i1 %32, label %34, label %39

34:                                               ; preds = %33
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %293

35:                                               ; preds = %31, %26, %23
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %7, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %8, align 4
  br label %294

39:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #9
  invoke void @_ZN13CObjectVectorI11CStringBaseIwEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %40 unwind label %101

40:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = invoke noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %43 unwind label %105

43:                                               ; preds = %40
  %44 = sext i32 %42 to i64
  %45 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %44, i64 16)
  %46 = extractvalue { i64, i1 } %45, 1
  %47 = extractvalue { i64, i1 } %45, 0
  %48 = call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %47, i64 8)
  %49 = extractvalue { i64, i1 } %48, 1
  %50 = or i1 %46, %49
  %51 = extractvalue { i64, i1 } %48, 0
  %52 = select i1 %50, i64 -1, i64 %51
  %53 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %52) #10
          to label %54 unwind label %105

54:                                               ; preds = %43
  store i64 %44, ptr %53, align 16
  %55 = getelementptr inbounds i8, ptr %53, i64 8
  %56 = icmp eq i64 %44, 0
  br i1 %56, label %64, label %57

57:                                               ; preds = %54
  %58 = getelementptr inbounds %"class.NWindows::NCOM::CPropVariant", ptr %55, i64 %44
  br label %59

59:                                               ; preds = %61, %57
  %60 = phi ptr [ %55, %57 ], [ %62, %61 ]
  invoke void @_ZN8NWindows4NCOM12CPropVariantC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %60)
          to label %61 unwind label %109

61:                                               ; preds = %59
  %62 = getelementptr inbounds %"class.NWindows::NCOM::CPropVariant", ptr %60, i64 1
  %63 = icmp eq ptr %62, %58
  br i1 %63, label %64, label %59

64:                                               ; preds = %61, %54
  store ptr %55, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %65

65:                                               ; preds = %187, %64
  %66 = load i32, ptr %12, align 4, !tbaa !11
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = invoke noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %67)
          to label %69 unwind label %119

69:                                               ; preds = %65
  %70 = icmp slt i32 %66, %68
  br i1 %70, label %71, label %194

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = load i32, ptr %12, align 4, !tbaa !11
  %74 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK13CObjectVectorI9CPropertyEixEi(ptr noundef nonnull align 8 dereferenceable(32) %72, i32 noundef %73)
          to label %75 unwind label %123

75:                                               ; preds = %71
  store ptr %74, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #9
  invoke void @_ZN8NWindows4NCOM12CPropVariantC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %76 unwind label %127

76:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #9
  %77 = load ptr, ptr %13, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.CProperty, ptr %77, i32 0, i32 0
  invoke void @_ZN11CStringBaseIwEC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %78)
          to label %79 unwind label %131

79:                                               ; preds = %76
  %80 = load ptr, ptr %13, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.CProperty, ptr %80, i32 0, i32 1
  %82 = invoke noundef zeroext i1 @_ZNK11CStringBaseIwE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %81)
          to label %83 unwind label %135

83:                                               ; preds = %79
  br i1 %82, label %84, label %174

84:                                               ; preds = %83
  %85 = invoke noundef zeroext i1 @_ZNK11CStringBaseIwE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %86 unwind label %135

86:                                               ; preds = %84
  br i1 %85, label %173, label %87

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  %88 = invoke noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %89 unwind label %139

89:                                               ; preds = %87
  %90 = invoke noundef i32 @_ZNK11CStringBaseIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %91 unwind label %139

91:                                               ; preds = %89
  %92 = sub nsw i32 %90, 1
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds i32, ptr %88, i64 %93
  %95 = load i32, ptr %94, align 4, !tbaa !13
  store i32 %95, ptr %16, align 4, !tbaa !13
  %96 = load i32, ptr %16, align 4, !tbaa !13
  %97 = icmp eq i32 %96, 45
  br i1 %97, label %98, label %143

98:                                               ; preds = %91
  %99 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8NWindows4NCOM12CPropVariantaSEb(ptr noundef nonnull align 8 dereferenceable(16) %14, i1 noundef zeroext false)
          to label %100 unwind label %139

100:                                              ; preds = %98
  br label %150

101:                                              ; preds = %39
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %7, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %8, align 4
  br label %292

105:                                              ; preds = %43, %40
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %7, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %8, align 4
  br label %291

109:                                              ; preds = %59
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %7, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %8, align 4
  %113 = icmp eq ptr %55, %60
  br i1 %113, label %118, label %114

114:                                              ; preds = %114, %109
  %115 = phi ptr [ %60, %109 ], [ %116, %114 ]
  %116 = getelementptr inbounds %"class.NWindows::NCOM::CPropVariant", ptr %115, i64 -1
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %116) #9
  %117 = icmp eq ptr %116, %55
  br i1 %117, label %118, label %114

118:                                              ; preds = %114, %109
  call void @_ZdaPvm(ptr noundef %53, i64 noundef %52) #11
  br label %291

119:                                              ; preds = %65
  %120 = landingpad { ptr, i32 }
          catch ptr null
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %7, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %8, align 4
  br label %250

123:                                              ; preds = %71
  %124 = landingpad { ptr, i32 }
          catch ptr null
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %7, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %8, align 4
  br label %193

127:                                              ; preds = %75
  %128 = landingpad { ptr, i32 }
          catch ptr null
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %7, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %8, align 4
  br label %192

131:                                              ; preds = %76
  %132 = landingpad { ptr, i32 }
          catch ptr null
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %7, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %8, align 4
  br label %191

135:                                              ; preds = %180, %178, %174, %84, %79
  %136 = landingpad { ptr, i32 }
          catch ptr null
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %7, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %8, align 4
  br label %190

139:                                              ; preds = %146, %98, %89, %87
  %140 = landingpad { ptr, i32 }
          catch ptr null
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %7, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %8, align 4
  br label %172

143:                                              ; preds = %91
  %144 = load i32, ptr %16, align 4, !tbaa !13
  %145 = icmp eq i32 %144, 43
  br i1 %145, label %146, label %149

146:                                              ; preds = %143
  %147 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8NWindows4NCOM12CPropVariantaSEb(ptr noundef nonnull align 8 dereferenceable(16) %14, i1 noundef zeroext true)
          to label %148 unwind label %139

148:                                              ; preds = %146
  br label %149

149:                                              ; preds = %148, %143
  br label %150

150:                                              ; preds = %149, %100
  %151 = getelementptr inbounds %struct.tagPROPVARIANT, ptr %14, i32 0, i32 0
  %152 = load i16, ptr %151, align 8, !tbaa !15
  %153 = zext i16 %152 to i32
  %154 = icmp ne i32 %153, 0
  br i1 %154, label %155, label %171

155:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  %156 = invoke noundef i32 @_ZNK11CStringBaseIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %157 unwind label %162

157:                                              ; preds = %155
  %158 = sub nsw i32 %156, 1
  invoke void @_ZNK11CStringBaseIwE4LeftEi(ptr dead_on_unwind writable sret(%class.CStringBase) align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %15, i32 noundef %158)
          to label %159 unwind label %162

159:                                              ; preds = %157
  %160 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN11CStringBaseIwEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %161 unwind label %166

161:                                              ; preds = %159
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  br label %171

162:                                              ; preds = %157, %155
  %163 = landingpad { ptr, i32 }
          catch ptr null
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %7, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %8, align 4
  br label %170

166:                                              ; preds = %159
  %167 = landingpad { ptr, i32 }
          catch ptr null
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %7, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %8, align 4
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #9
  br label %170

170:                                              ; preds = %166, %162
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  br label %172

171:                                              ; preds = %161, %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %173

172:                                              ; preds = %170, %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %190

173:                                              ; preds = %171, %86
  br label %178

174:                                              ; preds = %83
  %175 = load ptr, ptr %13, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.CProperty, ptr %175, i32 0, i32 1
  invoke void @_ZL17ParseNumberStringRK11CStringBaseIwERN8NWindows4NCOM12CPropVariantE(ptr noundef nonnull align 8 dereferenceable(16) %176, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %177 unwind label %135

177:                                              ; preds = %174
  br label %178

178:                                              ; preds = %177, %173
  %179 = invoke noundef i32 @_ZN13CObjectVectorI11CStringBaseIwEE3AddERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %180 unwind label %135

180:                                              ; preds = %178
  %181 = load ptr, ptr %11, align 8, !tbaa !5
  %182 = load i32, ptr %12, align 4, !tbaa !11
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds %"class.NWindows::NCOM::CPropVariant", ptr %181, i64 %183
  %185 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8NWindows4NCOM12CPropVariantaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %184, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %186 unwind label %135

186:                                              ; preds = %180
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %187

187:                                              ; preds = %186
  %188 = load i32, ptr %12, align 4, !tbaa !11
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %12, align 4, !tbaa !11
  br label %65, !llvm.loop !18

190:                                              ; preds = %172, %135
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #9
  br label %191

191:                                              ; preds = %190, %131
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #9
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #9
  br label %192

192:                                              ; preds = %191, %127
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #9
  br label %193

193:                                              ; preds = %192, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %250

194:                                              ; preds = %69
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #9
  invoke void @_ZN13CRecordVectorIPKwEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %195 unwind label %212

195:                                              ; preds = %194
  store i32 0, ptr %12, align 4, !tbaa !11
  br label %196

196:                                              ; preds = %209, %195
  %197 = load i32, ptr %12, align 4, !tbaa !11
  %198 = invoke noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %199 unwind label %216

199:                                              ; preds = %196
  %200 = icmp slt i32 %197, %198
  br i1 %200, label %201, label %220

201:                                              ; preds = %199
  %202 = load i32, ptr %12, align 4, !tbaa !11
  %203 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI11CStringBaseIwEEixEi(ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef %202)
          to label %204 unwind label %216

204:                                              ; preds = %201
  %205 = invoke noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %203)
          to label %206 unwind label %216

206:                                              ; preds = %204
  %207 = invoke noundef i32 @_ZN13CRecordVectorIPKwE3AddES1_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %205)
          to label %208 unwind label %216

208:                                              ; preds = %206
  br label %209

209:                                              ; preds = %208
  %210 = load i32, ptr %12, align 4, !tbaa !11
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %12, align 4, !tbaa !11
  br label %196, !llvm.loop !20

212:                                              ; preds = %194
  %213 = landingpad { ptr, i32 }
          catch ptr null
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %7, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %8, align 4
  br label %249

216:                                              ; preds = %206, %204, %201, %196
  %217 = landingpad { ptr, i32 }
          catch ptr null
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %7, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %8, align 4
  br label %248

220:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %221 = invoke noundef ptr @_ZNK9CMyComPtrI14ISetPropertiesEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %222 unwind label %237

222:                                              ; preds = %220
  %223 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN13CRecordVectorIPKwE5FrontEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %224 unwind label %237

224:                                              ; preds = %222
  %225 = load ptr, ptr %11, align 8, !tbaa !5
  %226 = invoke noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %227 unwind label %237

227:                                              ; preds = %224
  %228 = load ptr, ptr %221, align 8, !tbaa !9
  %229 = getelementptr inbounds ptr, ptr %228, i64 5
  %230 = load ptr, ptr %229, align 8
  %231 = invoke noundef i32 %230(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef %223, ptr noundef %225, i32 noundef %226)
          to label %232 unwind label %237

232:                                              ; preds = %227
  store i32 %231, ptr %19, align 4, !tbaa !11
  %233 = load i32, ptr %19, align 4, !tbaa !11
  %234 = icmp ne i32 %233, 0
  br i1 %234, label %235, label %241

235:                                              ; preds = %232
  %236 = load i32, ptr %19, align 4, !tbaa !11
  store i32 %236, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %242

237:                                              ; preds = %227, %224, %222, %220
  %238 = landingpad { ptr, i32 }
          catch ptr null
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %7, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %248

241:                                              ; preds = %232
  store i32 0, ptr %9, align 4
  br label %242

242:                                              ; preds = %241, %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  %243 = load i32, ptr %9, align 4
  switch i32 %243, label %245 [
    i32 0, label %244
  ]

244:                                              ; preds = %242
  store i32 0, ptr %9, align 4
  br label %245

245:                                              ; preds = %244, %242
  call void @_ZN17CBaseRecordVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  %246 = load i32, ptr %9, align 4
  switch i32 %246, label %290 [
    i32 0, label %247
  ]

247:                                              ; preds = %245
  br label %274

248:                                              ; preds = %237, %216
  call void @_ZN17CBaseRecordVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  br label %249

249:                                              ; preds = %248, %212
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  br label %250

250:                                              ; preds = %249, %193, %119
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %251

251:                                              ; preds = %250
  %252 = load ptr, ptr %7, align 8
  %253 = call ptr @__cxa_begin_catch(ptr %252) #9
  %254 = load ptr, ptr %11, align 8, !tbaa !5
  %255 = icmp eq ptr %254, null
  br i1 %255, label %268, label %256

256:                                              ; preds = %251
  %257 = getelementptr inbounds i8, ptr %254, i64 -8
  %258 = load i64, ptr %257, align 8
  %259 = getelementptr inbounds %"class.NWindows::NCOM::CPropVariant", ptr %254, i64 %258
  %260 = icmp eq ptr %254, %259
  br i1 %260, label %265, label %261

261:                                              ; preds = %261, %256
  %262 = phi ptr [ %259, %256 ], [ %263, %261 ]
  %263 = getelementptr inbounds %"class.NWindows::NCOM::CPropVariant", ptr %262, i64 -1
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %263) #9
  %264 = icmp eq ptr %263, %254
  br i1 %264, label %265, label %261

265:                                              ; preds = %261, %256
  %266 = mul i64 16, %258
  %267 = add i64 %266, 8
  call void @_ZdaPvm(ptr noundef %257, i64 noundef %267) #11
  br label %268

268:                                              ; preds = %265, %251
  invoke void @__cxa_rethrow() #12
          to label %305 unwind label %269

269:                                              ; preds = %268
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %7, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %8, align 4
  invoke void @__cxa_end_catch()
          to label %273 unwind label %302

273:                                              ; preds = %269
  br label %291

274:                                              ; preds = %247
  %275 = load ptr, ptr %11, align 8, !tbaa !5
  %276 = icmp eq ptr %275, null
  br i1 %276, label %289, label %277

277:                                              ; preds = %274
  %278 = getelementptr inbounds i8, ptr %275, i64 -8
  %279 = load i64, ptr %278, align 8
  %280 = getelementptr inbounds %"class.NWindows::NCOM::CPropVariant", ptr %275, i64 %279
  %281 = icmp eq ptr %275, %280
  br i1 %281, label %286, label %282

282:                                              ; preds = %282, %277
  %283 = phi ptr [ %280, %277 ], [ %284, %282 ]
  %284 = getelementptr inbounds %"class.NWindows::NCOM::CPropVariant", ptr %283, i64 -1
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %284) #9
  %285 = icmp eq ptr %284, %275
  br i1 %285, label %286, label %282

286:                                              ; preds = %282, %277
  %287 = mul i64 16, %279
  %288 = add i64 %287, 8
  call void @_ZdaPvm(ptr noundef %278, i64 noundef %288) #11
  br label %289

289:                                              ; preds = %286, %274
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %290

290:                                              ; preds = %289, %245
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @_ZN13CObjectVectorI11CStringBaseIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  br label %293

291:                                              ; preds = %273, %118, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @_ZN13CObjectVectorI11CStringBaseIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  br label %292

292:                                              ; preds = %291, %101
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #9
  br label %294

293:                                              ; preds = %290, %34
  call void @_ZN9CMyComPtrI14ISetPropertiesED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %295

294:                                              ; preds = %292, %35
  call void @_ZN9CMyComPtrI14ISetPropertiesED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %297

295:                                              ; preds = %293, %22
  %296 = load i32, ptr %3, align 4
  ret i32 %296

297:                                              ; preds = %294
  %298 = load ptr, ptr %7, align 8
  %299 = load i32, ptr %8, align 4
  %300 = insertvalue { ptr, i32 } poison, ptr %298, 0
  %301 = insertvalue { ptr, i32 } %300, i32 %299, 1
  resume { ptr, i32 } %301

302:                                              ; preds = %269
  %303 = landingpad { ptr, i32 }
          catch ptr null
  %304 = extractvalue { ptr, i32 } %303, 0
  call void @__clang_call_terminate(ptr %304) #13
  unreachable

305:                                              ; preds = %268
  unreachable
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8NWindows4NCOM12CPropVariantC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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: nobuiltin nounwind
declare void @_ZdaPvm(ptr noundef, i64 noundef) #5

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN8NWindows4NCOM12CPropVariantaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11CStringBaseIwED2Ev(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) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17ParseNumberStringRK11CStringBaseIwERN8NWindows4NCOM12CPropVariantE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #0

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN8NWindows4NCOM12CPropVariantaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #6

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN13CRecordVectorIPKwE5FrontEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_rethrow()

declare void @__cxa_end_catch()

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

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

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

; Function Attrs: nounwind
declare void @_ZN17CBaseRecordVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #8

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin nounwind }
attributes #12 = { noreturn }
attributes #13 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"wchar_t", !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"_ZTS14tagPROPVARIANT", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !7, i64 8}
!17 = !{!"short", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; 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.CObjectVector.0 = type { %class.CRecordVector }
%class.CRecordVector = type { %class.CBaseRecordVector }
%class.CBaseRecordVector = type { ptr, i32, i32, ptr, i64 }
%"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 }
%class.CStringBase = type { ptr, i32, i32 }
%class.CRecordVector.1 = type { %class.CBaseRecordVector }

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z13SetPropertiesP8IUnknownRK13CObjectVectorI9CPropertyE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.CMyComPtr, align 8
  %4 = alloca %class.CObjectVector.0, align 8
  %5 = alloca %"class.NWindows::NCOM::CPropVariant", align 8
  %6 = alloca %class.CStringBase, align 8
  %7 = alloca %class.CStringBase, align 8
  %8 = alloca %class.CRecordVector.1, align 8
  %9 = tail call noundef zeroext i1 @_ZNK17CBaseRecordVector7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  br i1 %9, label %133, label %10

10:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  call void @_ZN9CMyComPtrI14ISetPropertiesEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %11 = call noundef ptr @_ZN9CMyComPtrI14ISetPropertiesEadEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %12 = load ptr, ptr %0, align 8, !tbaa !5
  %13 = load ptr, ptr %12, align 8
  %14 = invoke noundef i32 %13(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(16) @IID_ISetProperties, ptr noundef %11)
          to label %15 unwind label %17

15:                                               ; preds = %10
  %16 = call noundef zeroext i1 @_ZNK9CMyComPtrI14ISetPropertiesEntEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  br i1 %16, label %131, label %19

17:                                               ; preds = %10
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %132

19:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #8
  invoke void @_ZN13CObjectVectorI11CStringBaseIwEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %20 unwind label %54

20:                                               ; preds = %19
  %21 = call noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %22 = sext i32 %21 to i64
  %23 = icmp slt i32 %21, 0
  %24 = shl nsw i64 %22, 4
  %25 = or disjoint i64 %24, 8
  %26 = select i1 %23, i64 -1, i64 %25
  %27 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %26) #9
          to label %28 unwind label %56

28:                                               ; preds = %20
  store i64 %22, ptr %27, align 16
  %.ptr.ptr = getelementptr inbounds i8, ptr %27, i64 8
  %29 = icmp eq i32 %21, 0
  br i1 %29, label %.loopexit61, label %30

30:                                               ; preds = %28
  %31 = getelementptr inbounds %"class.NWindows::NCOM::CPropVariant", ptr %.ptr.ptr, i64 %22
  br label %32

32:                                               ; preds = %32, %30
  %33 = phi ptr [ %.ptr.ptr, %30 ], [ %34, %32 ]
  call void @_ZN8NWindows4NCOM12CPropVariantC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33)
  %34 = getelementptr inbounds i8, ptr %33, i64 16
  %35 = icmp eq ptr %34, %31
  br i1 %35, label %.loopexit61, label %32

.loopexit61:                                      ; preds = %32, %28
  %36 = call noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.loopexit61, %87
  %indvars.iv = phi i64 [ %indvars.iv.next, %87 ], [ 0, %.loopexit61 ]
  %38 = trunc nuw nsw i64 %indvars.iv to i32
  %39 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK13CObjectVectorI9CPropertyEixEi(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %38)
          to label %40 unwind label %58

40:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN8NWindows4NCOM12CPropVariantC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  invoke void @_ZN11CStringBaseIwEC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %39)
          to label %41 unwind label %60

41:                                               ; preds = %40
  %42 = getelementptr inbounds i8, ptr %39, i64 16
  %43 = call noundef zeroext i1 @_ZNK11CStringBaseIwE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %42)
  br i1 %43, label %44, label %81

44:                                               ; preds = %41
  %45 = call noundef zeroext i1 @_ZNK11CStringBaseIwE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  br i1 %45, label %82, label %46

46:                                               ; preds = %44
  %47 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %48 = call noundef i32 @_ZNK11CStringBaseIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %49 = sext i32 %48 to i64
  %50 = getelementptr i32, ptr %47, i64 %49
  %51 = getelementptr i8, ptr %50, i64 -4
  %52 = load i32, ptr %51, align 4, !tbaa !8
  switch i32 %52, label %68 [
    i32 45, label %53
    i32 43, label %.invoke
  ]

53:                                               ; preds = %46
  br label %.invoke

54:                                               ; preds = %19
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %130

56:                                               ; preds = %20
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %129

58:                                               ; preds = %.lr.ph
  %59 = landingpad { ptr, i32 }
          catch ptr null
  br label %117

60:                                               ; preds = %40
  %61 = landingpad { ptr, i32 }
          catch ptr null
  br label %92

62:                                               ; preds = %84, %82, %81
  %63 = landingpad { ptr, i32 }
          catch ptr null
  br label %91

64:                                               ; preds = %.invoke
  %65 = landingpad { ptr, i32 }
          catch ptr null
  br label %91

.invoke:                                          ; preds = %46, %53
  %66 = phi i1 [ false, %53 ], [ true, %46 ]
  %67 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8NWindows4NCOM12CPropVariantaSEb(ptr noundef nonnull align 8 dereferenceable(16) %5, i1 noundef zeroext %66)
          to label %68 unwind label %64

68:                                               ; preds = %.invoke, %46
  %69 = load i16, ptr %5, align 8, !tbaa !11
  %.not47 = icmp eq i16 %69, 0
  br i1 %.not47, label %82, label %70

70:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  %71 = call noundef i32 @_ZNK11CStringBaseIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %72 = add nsw i32 %71, -1
  invoke void @_ZNK11CStringBaseIwE4LeftEi(ptr dead_on_unwind nonnull writable sret(%class.CStringBase) align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %72)
          to label %73 unwind label %76

73:                                               ; preds = %70
  %74 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN11CStringBaseIwEaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %75 unwind label %78

75:                                               ; preds = %73
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  br label %82

76:                                               ; preds = %70
  %77 = landingpad { ptr, i32 }
          catch ptr null
  br label %80

78:                                               ; preds = %73
  %79 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  br label %80

80:                                               ; preds = %78, %76
  %.pn48 = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  br label %91

81:                                               ; preds = %41
  invoke void @_ZL17ParseNumberStringRK11CStringBaseIwERN8NWindows4NCOM12CPropVariantE(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %82 unwind label %62

82:                                               ; preds = %68, %75, %81, %44
  %83 = invoke noundef i32 @_ZN13CObjectVectorI11CStringBaseIwEE3AddERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %84 unwind label %62

84:                                               ; preds = %82
  %85 = getelementptr inbounds %"class.NWindows::NCOM::CPropVariant", ptr %.ptr.ptr, i64 %indvars.iv
  %86 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8NWindows4NCOM12CPropVariantaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %85, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %87 unwind label %62

87:                                               ; preds = %84
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %88 = call noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  %89 = sext i32 %88 to i64
  %90 = icmp slt i64 %indvars.iv.next, %89
  br i1 %90, label %.lr.ph, label %._crit_edge, !llvm.loop !14

91:                                               ; preds = %64, %80, %62
  %.pn49 = phi { ptr, i32 } [ %63, %62 ], [ %.pn48, %80 ], [ %65, %64 ]
  call void @_ZN11CStringBaseIwED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  br label %92

92:                                               ; preds = %91, %60
  %.pn49.pn = phi { ptr, i32 } [ %.pn49, %91 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  br label %117

._crit_edge:                                      ; preds = %87, %.loopexit61
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  call void @_ZN13CRecordVectorIPKwEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8)
  %93 = call noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %94 = icmp sgt i32 %93, 0
  br i1 %94, label %.lr.ph65, label %._crit_edge66

.lr.ph65:                                         ; preds = %._crit_edge, %99
  %.13763 = phi i32 [ %100, %99 ], [ 0, %._crit_edge ]
  %95 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI11CStringBaseIwEEixEi(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %.13763)
          to label %96 unwind label %103

96:                                               ; preds = %.lr.ph65
  %97 = call noundef ptr @_ZNK11CStringBaseIwEcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %95)
  %98 = invoke noundef i32 @_ZN13CRecordVectorIPKwE3AddES1_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %97)
          to label %99 unwind label %103

99:                                               ; preds = %96
  %100 = add nuw nsw i32 %.13763, 1
  %101 = call noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %102 = icmp slt i32 %100, %101
  br i1 %102, label %.lr.ph65, label %._crit_edge66, !llvm.loop !16

103:                                              ; preds = %96, %.lr.ph65
  %104 = landingpad { ptr, i32 }
          catch ptr null
  br label %116

._crit_edge66:                                    ; preds = %99, %._crit_edge
  %105 = call noundef ptr @_ZNK9CMyComPtrI14ISetPropertiesEptEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN13CRecordVectorIPKwE5FrontEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %107 unwind label %114

107:                                              ; preds = %._crit_edge66
  %108 = call noundef i32 @_ZNK17CBaseRecordVector4SizeEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
  %109 = load ptr, ptr %105, align 8, !tbaa !5
  %110 = getelementptr inbounds i8, ptr %109, i64 40
  %111 = load ptr, ptr %110, align 8
  %112 = invoke noundef i32 %111(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef nonnull %106, ptr noundef nonnull %.ptr.ptr, i32 noundef %108)
          to label %113 unwind label %114

113:                                              ; preds = %107
  %.not = icmp eq i32 %112, 0
  call void @_ZN17CBaseRecordVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br i1 %.not, label %124, label %128

114:                                              ; preds = %107, %._crit_edge66
  %115 = landingpad { ptr, i32 }
          catch ptr null
  br label %116

116:                                              ; preds = %114, %103
  %.pn = phi { ptr, i32 } [ %104, %103 ], [ %115, %114 ]
  call void @_ZN17CBaseRecordVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %117

117:                                              ; preds = %58, %92, %116
  %.pn49.pn.pn.pn = phi { ptr, i32 } [ %.pn, %116 ], [ %.pn49.pn, %92 ], [ %59, %58 ]
  %.6 = extractvalue { ptr, i32 } %.pn49.pn.pn.pn, 0
  %118 = call ptr @__cxa_begin_catch(ptr %.6) #8
  %119 = load i64, ptr %27, align 8
  %.idx50 = shl i64 %119, 4
  %.ptr.add = or disjoint i64 %.idx50, 8
  %120 = icmp eq i64 %119, 0
  br i1 %120, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %117, %.preheader
  %.idx52 = phi i64 [ %.add53, %.preheader ], [ %.ptr.add, %117 ]
  %.add53 = add nsw i64 %.idx52, -16
  %.ptr54 = getelementptr inbounds i8, ptr %27, i64 %.add53
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr54) #8
  %121 = icmp eq i64 %.add53, 8
  br i1 %121, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %117
  call void @_ZdaPvm(ptr noundef nonnull %27, i64 noundef %.ptr.add) #10
  invoke void @__cxa_rethrow() #11
          to label %137 unwind label %122

122:                                              ; preds = %.loopexit
  %123 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %129 unwind label %134

124:                                              ; preds = %113
  %125 = load i64, ptr %27, align 8
  %.idx = shl i64 %125, 4
  %.add = or disjoint i64 %.idx, 8
  %126 = icmp eq i64 %125, 0
  br i1 %126, label %.loopexit60, label %.preheader59

.preheader59:                                     ; preds = %124, %.preheader59
  %.idx43 = phi i64 [ %.add44, %.preheader59 ], [ %.add, %124 ]
  %.add44 = add nsw i64 %.idx43, -16
  %.ptr46 = getelementptr inbounds i8, ptr %27, i64 %.add44
  call void @_ZN8NWindows4NCOM12CPropVariantD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.ptr46) #8
  %127 = icmp eq i64 %.add44, 8
  br i1 %127, label %.loopexit60, label %.preheader59

.loopexit60:                                      ; preds = %.preheader59, %124
  call void @_ZdaPvm(ptr noundef nonnull %27, i64 noundef %.add) #10
  br label %128

128:                                              ; preds = %113, %.loopexit60
  %.1 = phi i32 [ 0, %.loopexit60 ], [ %112, %113 ]
  call void @_ZN13CObjectVectorI11CStringBaseIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  br label %131

129:                                              ; preds = %122, %56
  %.pn55 = phi { ptr, i32 } [ %123, %122 ], [ %57, %56 ]
  call void @_ZN13CObjectVectorI11CStringBaseIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  br label %130

130:                                              ; preds = %129, %54
  %.pn55.pn = phi { ptr, i32 } [ %.pn55, %129 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  br label %132

131:                                              ; preds = %15, %128
  %.2 = phi i32 [ %.1, %128 ], [ 0, %15 ]
  call void @_ZN9CMyComPtrI14ISetPropertiesED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  br label %133

132:                                              ; preds = %130, %17
  %.pn55.pn.pn = phi { ptr, i32 } [ %.pn55.pn, %130 ], [ %18, %17 ]
  call void @_ZN9CMyComPtrI14ISetPropertiesED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn55.pn.pn

133:                                              ; preds = %2, %131
  %.3 = phi i32 [ %.2, %131 ], [ 0, %2 ]
  ret i32 %.3

134:                                              ; preds = %122
  %135 = landingpad { ptr, i32 }
          catch ptr null
  %136 = extractvalue { ptr, i32 } %135, 0
  call void @__clang_call_terminate(ptr %136) #12
  unreachable

137:                                              ; preds = %.loopexit
  unreachable
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8NWindows4NCOM12CPropVariantC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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: nobuiltin nounwind
declare void @_ZdaPvm(ptr noundef, i64 noundef) local_unnamed_addr #4

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN8NWindows4NCOM12CPropVariantaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11CStringBaseIwED2Ev(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) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17ParseNumberStringRK11CStringBaseIwERN8NWindows4NCOM12CPropVariantE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN8NWindows4NCOM12CPropVariantaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_rethrow() local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

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

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

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

; Function Attrs: nounwind
declare void @_ZN17CBaseRecordVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7

attributes #0 = { 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 #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }
attributes #11 = { noreturn }
attributes #12 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"wchar_t", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS14tagPROPVARIANT", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !10, i64 8}
!13 = !{!"short", !10, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}


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