; LLVM IR from SSBMTonberry/pocketlzma :: ref_spec/lzma1900/CPP/Common (Wildcard)

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

%class.CObjectVector = type { %class.CRecordVector }
%class.CRecordVector = type { ptr, i32, i32 }
%class.UString = type { ptr, i32, i32 }
%"struct.NWildcard::CPair" = type { %class.UString, %"class.NWildcard::CCensorNode" }
%"class.NWildcard::CCensorNode" = type { ptr, %class.UString, %class.CObjectVector.0, %class.CObjectVector.1, %class.CObjectVector.1 }
%class.CObjectVector.0 = type { %class.CRecordVector }
%class.CObjectVector.1 = type { %class.CRecordVector }
%"struct.NWildcard::CItem" = type <{ %class.CObjectVector, i8, i8, i8, i8, [4 x i8] }>
%"class.NWildcard::CCensor" = type { %class.CObjectVector.2, %class.CObjectVector.3 }
%class.CObjectVector.2 = type { %class.CRecordVector }
%class.CObjectVector.3 = type { %class.CRecordVector }

@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@_ZTIPKc = external constant ptr
@.str.2 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.3 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.4 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.5 = external hidden unnamed_addr constant [2 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7UStringD2Ev(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
declare dso_local void @_Z16SplitPathToPartsRK7UStringR13CObjectVectorIS_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZeqRK7UStringPKw(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NWildcard11CCensorNode7AddItemEbRNS_5CItemEi(ptr noundef nonnull align 8 dereferenceable(72), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9NWildcard5CItemC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NWildcard7CCensor7AddItemENS_15ECensorPathModeEbRK7UStringbb(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef %1, i1 noundef zeroext %2, ptr noundef nonnull align 8 dereferenceable(16) %3, i1 noundef zeroext %4, i1 noundef zeroext %5) #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca %class.CObjectVector, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca %class.UString, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca %"struct.NWildcard::CPair", align 8
  %29 = alloca %class.UString, align 8
  %30 = alloca %"struct.NWildcard::CItem", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  %31 = zext i1 %2 to i8
  store i8 %31, ptr %9, align 1, !tbaa !11
  store ptr %3, ptr %10, align 8, !tbaa !5
  %32 = zext i1 %4 to i8
  store i8 %32, ptr %11, align 1, !tbaa !11
  %33 = zext i1 %5 to i8
  store i8 %33, ptr %12, align 1, !tbaa !11
  %34 = load ptr, ptr %7, align 8
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  br i1 %36, label %37, label %39

37:                                               ; preds = %6
  %38 = call ptr @__cxa_allocate_exception(i64 8) #6
  store ptr @.str.1, ptr %38, align 16, !tbaa !5
  call void @__cxa_throw(ptr %38, ptr @_ZTIPKc, ptr null) #7
  unreachable

39:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  call void @_ZN13CObjectVectorI7UStringEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_Z16SplitPathToPartsRK7UStringR13CObjectVectorIS_E(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %41 unwind label %48

41:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  store i8 1, ptr %16, align 1, !tbaa !11
  %42 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringE4BackEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %43 unwind label %52

43:                                               ; preds = %41
  %44 = invoke noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %42)
          to label %45 unwind label %52

45:                                               ; preds = %43
  br i1 %44, label %46, label %56

46:                                               ; preds = %45
  store i8 0, ptr %16, align 1, !tbaa !11
  invoke void @_ZN13CObjectVectorI7UStringE10DeleteBackEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %47 unwind label %52

47:                                               ; preds = %46
  br label %56

48:                                               ; preds = %39
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %14, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %15, align 4
  br label %310

52:                                               ; preds = %46, %43, %41
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %14, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %15, align 4
  br label %309

56:                                               ; preds = %47, %45
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  invoke void @_ZN7UStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %57 unwind label %77

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 -1, ptr %18, align 4, !tbaa !13
  %58 = invoke noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %59 unwind label %81

59:                                               ; preds = %57
  %60 = icmp uge i32 %58, 3
  br i1 %60, label %61, label %85

61:                                               ; preds = %59
  %62 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef 0)
          to label %63 unwind label %81

63:                                               ; preds = %61
  %64 = invoke noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %62)
          to label %65 unwind label %81

65:                                               ; preds = %63
  br i1 %64, label %66, label %85

66:                                               ; preds = %65
  %67 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef 1)
          to label %68 unwind label %81

68:                                               ; preds = %66
  %69 = invoke noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %67)
          to label %70 unwind label %81

70:                                               ; preds = %68
  br i1 %69, label %71, label %85

71:                                               ; preds = %70
  %72 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef 2)
          to label %73 unwind label %81

73:                                               ; preds = %71
  %74 = invoke noundef zeroext i1 @_ZeqRK7UStringPKw(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef @.str.2)
          to label %75 unwind label %81

75:                                               ; preds = %73
  br i1 %74, label %76, label %85

76:                                               ; preds = %75
  store i32 2, ptr %18, align 4, !tbaa !13
  br label %85

77:                                               ; preds = %56
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %14, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %15, align 4
  br label %308

81:                                               ; preds = %73, %71, %68, %66, %63, %61, %57
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %14, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %15, align 4
  br label %307

85:                                               ; preds = %76, %75, %70, %65, %59
  %86 = load i32, ptr %8, align 4, !tbaa !9
  %87 = icmp ne i32 %86, 2
  br i1 %87, label %88, label %217

88:                                               ; preds = %85
  store i32 -1, ptr %18, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %89 = invoke noundef i32 @_ZN9NWildcardL17GetNumPrefixPartsERK13CObjectVectorI7UStringE(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %90 unwind label %106

90:                                               ; preds = %88
  store i32 %89, ptr %19, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %91 = load i32, ptr %19, align 4, !tbaa !13
  store i32 %91, ptr %20, align 4, !tbaa !13
  %92 = load i32, ptr %8, align 4, !tbaa !9
  %93 = icmp ne i32 %92, 1
  br i1 %93, label %94, label %115

94:                                               ; preds = %90
  %95 = load i32, ptr %19, align 4, !tbaa !13
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %114

97:                                               ; preds = %94
  %98 = invoke noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %99 unwind label %110

99:                                               ; preds = %97
  %100 = load i32, ptr %19, align 4, !tbaa !13
  %101 = icmp ugt i32 %98, %100
  br i1 %101, label %102, label %114

102:                                              ; preds = %99
  %103 = invoke noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %104 unwind label %110

104:                                              ; preds = %102
  %105 = sub i32 %103, 1
  store i32 %105, ptr %20, align 4, !tbaa !13
  br label %114

106:                                              ; preds = %88
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %14, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %15, align 4
  br label %216

110:                                              ; preds = %102, %97
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %14, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %15, align 4
  br label %215

114:                                              ; preds = %104, %99, %94
  br label %115

115:                                              ; preds = %114, %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 -1, ptr %21, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %116 = load i32, ptr %19, align 4, !tbaa !13
  store i32 %116, ptr %22, align 4, !tbaa !13
  br label %117

117:                                              ; preds = %145, %115
  %118 = load i32, ptr %22, align 4, !tbaa !13
  %119 = invoke noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %120 unwind label %123

120:                                              ; preds = %117
  %121 = icmp ult i32 %118, %119
  br i1 %121, label %127, label %122

122:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %149

123:                                              ; preds = %117
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %14, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %15, align 4
  br label %148

127:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %128 = load i32, ptr %22, align 4, !tbaa !13
  %129 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef %128)
          to label %130 unwind label %140

130:                                              ; preds = %127
  store ptr %129, ptr %23, align 8, !tbaa !5
  %131 = load ptr, ptr %23, align 8, !tbaa !5
  %132 = invoke noundef zeroext i1 @_ZeqRK7UStringPKw(ptr noundef nonnull align 8 dereferenceable(16) %131, ptr noundef @.str.3)
          to label %133 unwind label %140

133:                                              ; preds = %130
  br i1 %132, label %138, label %134

134:                                              ; preds = %133
  %135 = load ptr, ptr %23, align 8, !tbaa !5
  %136 = invoke noundef zeroext i1 @_ZeqRK7UStringPKw(ptr noundef nonnull align 8 dereferenceable(16) %135, ptr noundef @.str.4)
          to label %137 unwind label %140

137:                                              ; preds = %134
  br i1 %136, label %138, label %144

138:                                              ; preds = %137, %133
  %139 = load i32, ptr %22, align 4, !tbaa !13
  store i32 %139, ptr %21, align 4, !tbaa !13
  br label %144

140:                                              ; preds = %134, %130, %127
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %14, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %148

144:                                              ; preds = %138, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %22, align 4, !tbaa !13
  %147 = add i32 %146, 1
  store i32 %147, ptr %22, align 4, !tbaa !13
  br label %117, !llvm.loop !15

148:                                              ; preds = %140, %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %176

149:                                              ; preds = %122
  %150 = load i32, ptr %21, align 4, !tbaa !13
  %151 = icmp sge i32 %150, 0
  br i1 %151, label %152, label %170

152:                                              ; preds = %149
  %153 = load i32, ptr %21, align 4, !tbaa !13
  %154 = invoke noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %155 unwind label %161

155:                                              ; preds = %152
  %156 = sub nsw i32 %154, 1
  %157 = icmp eq i32 %153, %156
  br i1 %157, label %158, label %165

158:                                              ; preds = %155
  %159 = invoke noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %160 unwind label %161

160:                                              ; preds = %158
  store i32 %159, ptr %20, align 4, !tbaa !13
  br label %169

161:                                              ; preds = %165, %158, %152
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %14, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %15, align 4
  br label %176

165:                                              ; preds = %155
  %166 = invoke noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %167 unwind label %161

167:                                              ; preds = %165
  %168 = sub i32 %166, 1
  store i32 %168, ptr %20, align 4, !tbaa !13
  br label %169

169:                                              ; preds = %167, %160
  br label %170

170:                                              ; preds = %169, %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 0, ptr %24, align 4, !tbaa !13
  br label %171

171:                                              ; preds = %205, %170
  %172 = load i32, ptr %24, align 4, !tbaa !13
  %173 = load i32, ptr %20, align 4, !tbaa !13
  %174 = icmp ult i32 %172, %173
  br i1 %174, label %177, label %175

175:                                              ; preds = %171
  store i32 5, ptr %25, align 4
  br label %212

176:                                              ; preds = %161, %148
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %215

177:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %178 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringE5FrontEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %179 unwind label %191

179:                                              ; preds = %177
  store ptr %178, ptr %26, align 8, !tbaa !5
  %180 = load i8, ptr %12, align 1, !tbaa !11, !range !17, !noundef !18
  %181 = trunc i8 %180 to i1
  br i1 %181, label %182, label %196

182:                                              ; preds = %179
  %183 = load i32, ptr %24, align 4, !tbaa !13
  %184 = load i32, ptr %19, align 4, !tbaa !13
  %185 = icmp uge i32 %183, %184
  br i1 %185, label %186, label %195

186:                                              ; preds = %182
  %187 = load ptr, ptr %26, align 8, !tbaa !5
  %188 = invoke noundef zeroext i1 @_Z23DoesNameContainWildcardRK7UString(ptr noundef nonnull align 8 dereferenceable(16) %187)
          to label %189 unwind label %191

189:                                              ; preds = %186
  br i1 %188, label %190, label %195

190:                                              ; preds = %189
  store i32 5, ptr %25, align 4
  br label %201

191:                                              ; preds = %199, %196, %186, %177
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %14, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %213

195:                                              ; preds = %189, %182
  br label %196

196:                                              ; preds = %195, %179
  %197 = load ptr, ptr %26, align 8, !tbaa !5
  %198 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringpLERKS_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %197)
          to label %199 unwind label %191

199:                                              ; preds = %196
  invoke void @_ZN7UString13Add_PathSeparEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %200 unwind label %191

200:                                              ; preds = %199
  store i32 0, ptr %25, align 4
  br label %201

201:                                              ; preds = %200, %190
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  %202 = load i32, ptr %25, align 4
  switch i32 %202, label %212 [
    i32 0, label %203
  ]

203:                                              ; preds = %201
  invoke void @_ZN13CObjectVectorI7UStringE6DeleteEj(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef 0)
          to label %204 unwind label %208

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204
  %206 = load i32, ptr %24, align 4, !tbaa !13
  %207 = add i32 %206, 1
  store i32 %207, ptr %24, align 4, !tbaa !13
  br label %171, !llvm.loop !19

208:                                              ; preds = %203
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %14, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %15, align 4
  br label %213

212:                                              ; preds = %201, %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %214

213:                                              ; preds = %208, %191
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %215

214:                                              ; preds = %212
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %217

215:                                              ; preds = %213, %176, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %216

216:                                              ; preds = %215, %106
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %307

217:                                              ; preds = %214, %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %218 = invoke noundef i32 @_ZNK9NWildcard7CCensor10FindPrefixERK7UString(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %219 unwind label %227

219:                                              ; preds = %217
  store i32 %218, ptr %27, align 4, !tbaa !13
  %220 = load i32, ptr %27, align 4, !tbaa !13
  %221 = icmp slt i32 %220, 0
  br i1 %221, label %222, label %240

222:                                              ; preds = %219
  %223 = getelementptr inbounds %"class.NWildcard::CCensor", ptr %34, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 88, ptr %28) #6
  invoke void @_ZN9NWildcard5CPairC2ERK7UString(ptr noundef nonnull align 8 dereferenceable(88) %28, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %224 unwind label %231

224:                                              ; preds = %222
  %225 = invoke noundef i32 @_ZN13CObjectVectorIN9NWildcard5CPairEE3AddERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %223, ptr noundef nonnull align 8 dereferenceable(88) %28)
          to label %226 unwind label %235

226:                                              ; preds = %224
  store i32 %225, ptr %27, align 4, !tbaa !13
  call void @_ZN9NWildcard5CPairD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %28) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr %28) #6
  br label %240

227:                                              ; preds = %255, %252, %250, %246, %243, %217
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %14, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %15, align 4
  br label %306

231:                                              ; preds = %222
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %14, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %15, align 4
  br label %239

235:                                              ; preds = %224
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %14, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %15, align 4
  call void @_ZN9NWildcard5CPairD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %28) #6
  br label %239

239:                                              ; preds = %235, %231
  call void @llvm.lifetime.end.p0(i64 88, ptr %28) #6
  br label %306

240:                                              ; preds = %226, %219
  %241 = load i32, ptr %8, align 4, !tbaa !9
  %242 = icmp ne i32 %241, 2
  br i1 %242, label %243, label %270

243:                                              ; preds = %240
  %244 = invoke noundef zeroext i1 @_ZNK13CObjectVectorI7UStringE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %245 unwind label %227

245:                                              ; preds = %243
  br i1 %244, label %255, label %246

246:                                              ; preds = %245
  %247 = invoke noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %248 unwind label %227

248:                                              ; preds = %246
  %249 = icmp eq i32 %247, 1
  br i1 %249, label %250, label %269

250:                                              ; preds = %248
  %251 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef 0)
          to label %252 unwind label %227

252:                                              ; preds = %250
  %253 = invoke noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %251)
          to label %254 unwind label %227

254:                                              ; preds = %252
  br i1 %253, label %255, label %269

255:                                              ; preds = %254, %245
  invoke void @_ZN13CObjectVectorI7UStringE5ClearEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %256 unwind label %227

256:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  invoke void @_ZN7UStringC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef @.str.5)
          to label %257 unwind label %260

257:                                              ; preds = %256
  %258 = invoke noundef i32 @_ZN13CObjectVectorI7UStringE3AddERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %259 unwind label %264

259:                                              ; preds = %257
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  store i8 1, ptr %16, align 1, !tbaa !11
  store i8 1, ptr %12, align 1, !tbaa !11
  store i8 0, ptr %11, align 1, !tbaa !11
  br label %269

260:                                              ; preds = %256
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %14, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %15, align 4
  br label %268

264:                                              ; preds = %257
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %14, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %15, align 4
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  br label %268

268:                                              ; preds = %264, %260
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  br label %306

269:                                              ; preds = %259, %254, %248
  br label %270

270:                                              ; preds = %269, %240
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #6
  invoke void @_ZN9NWildcard5CItemC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %30)
          to label %271 unwind label %297

271:                                              ; preds = %270
  %272 = getelementptr inbounds %"struct.NWildcard::CItem", ptr %30, i32 0, i32 0
  %273 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %272, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %274 unwind label %301

274:                                              ; preds = %271
  %275 = getelementptr inbounds %"struct.NWildcard::CItem", ptr %30, i32 0, i32 3
  store i8 1, ptr %275, align 2, !tbaa !20
  %276 = load i8, ptr %16, align 1, !tbaa !11, !range !17, !noundef !18
  %277 = trunc i8 %276 to i1
  %278 = getelementptr inbounds %"struct.NWildcard::CItem", ptr %30, i32 0, i32 2
  %279 = zext i1 %277 to i8
  store i8 %279, ptr %278, align 1, !tbaa !24
  %280 = load i8, ptr %11, align 1, !tbaa !11, !range !17, !noundef !18
  %281 = trunc i8 %280 to i1
  %282 = getelementptr inbounds %"struct.NWildcard::CItem", ptr %30, i32 0, i32 1
  %283 = zext i1 %281 to i8
  store i8 %283, ptr %282, align 8, !tbaa !25
  %284 = load i8, ptr %12, align 1, !tbaa !11, !range !17, !noundef !18
  %285 = trunc i8 %284 to i1
  %286 = getelementptr inbounds %"struct.NWildcard::CItem", ptr %30, i32 0, i32 4
  %287 = zext i1 %285 to i8
  store i8 %287, ptr %286, align 1, !tbaa !26
  %288 = getelementptr inbounds %"class.NWildcard::CCensor", ptr %34, i32 0, i32 0
  %289 = load i32, ptr %27, align 4, !tbaa !13
  %290 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN13CObjectVectorIN9NWildcard5CPairEEixEj(ptr noundef nonnull align 8 dereferenceable(16) %288, i32 noundef %289)
          to label %291 unwind label %301

291:                                              ; preds = %274
  %292 = getelementptr inbounds %"struct.NWildcard::CPair", ptr %290, i32 0, i32 1
  %293 = load i8, ptr %9, align 1, !tbaa !11, !range !17, !noundef !18
  %294 = trunc i8 %293 to i1
  %295 = load i32, ptr %18, align 4, !tbaa !13
  invoke void @_ZN9NWildcard11CCensorNode7AddItemEbRNS_5CItemEi(ptr noundef nonnull align 8 dereferenceable(72) %292, i1 noundef zeroext %294, ptr noundef nonnull align 8 dereferenceable(20) %30, i32 noundef %295)
          to label %296 unwind label %301

296:                                              ; preds = %291
  call void @_ZN9NWildcard5CItemD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %30) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @_ZN13CObjectVectorI7UStringED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  ret void

297:                                              ; preds = %270
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %14, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %15, align 4
  br label %305

301:                                              ; preds = %291, %274, %271
  %302 = landingpad { ptr, i32 }
          cleanup
  %303 = extractvalue { ptr, i32 } %302, 0
  store ptr %303, ptr %14, align 8
  %304 = extractvalue { ptr, i32 } %302, 1
  store i32 %304, ptr %15, align 4
  call void @_ZN9NWildcard5CItemD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %30) #6
  br label %305

305:                                              ; preds = %301, %297
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  br label %306

306:                                              ; preds = %305, %268, %239, %227
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %307

307:                                              ; preds = %306, %216, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  br label %308

308:                                              ; preds = %307, %77
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br label %309

309:                                              ; preds = %308, %52
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  br label %310

310:                                              ; preds = %309, %48
  call void @_ZN13CObjectVectorI7UStringED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  br label %311

311:                                              ; preds = %310
  %312 = load ptr, ptr %14, align 8
  %313 = load i32, ptr %15, align 4
  %314 = insertvalue { ptr, i32 } poison, ptr %312, 0
  %315 = insertvalue { ptr, i32 } %314, i32 %313, 1
  resume { ptr, i32 } %315
}

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!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 = !{!"_ZTSN9NWildcard15ECensorPathModeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !16}
!20 = !{!21, !12, i64 18}
!21 = !{!"_ZTSN9NWildcard5CItemE", !22, i64 0, !12, i64 16, !12, i64 17, !12, i64 18, !12, i64 19}
!22 = !{!"_ZTS13CObjectVectorI7UStringE", !23, i64 0}
!23 = !{!"_ZTS13CRecordVectorIPvE", !6, i64 0, !14, i64 8, !14, i64 12}
!24 = !{!21, !12, i64 17}
!25 = !{!21, !12, i64 16}
!26 = !{!21, !12, i64 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"

%class.CObjectVector = type { %class.CRecordVector }
%class.CRecordVector = type { ptr, i32, i32 }
%class.UString = type { ptr, i32, i32 }
%"struct.NWildcard::CPair" = type { %class.UString, %"class.NWildcard::CCensorNode" }
%"class.NWildcard::CCensorNode" = type { ptr, %class.UString, %class.CObjectVector.0, %class.CObjectVector.1, %class.CObjectVector.1 }
%class.CObjectVector.0 = type { %class.CRecordVector }
%class.CObjectVector.1 = type { %class.CRecordVector }
%"struct.NWildcard::CItem" = type <{ %class.CObjectVector, i8, i8, i8, i8, [4 x i8] }>

@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@_ZTIPKc = external constant ptr
@.str.2 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.3 = external hidden unnamed_addr constant [3 x i32], align 4
@.str.4 = external hidden unnamed_addr constant [2 x i32], align 4
@.str.5 = external hidden unnamed_addr constant [2 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7UStringD2Ev(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
declare dso_local void @_Z16SplitPathToPartsRK7UStringR13CObjectVectorIS_E(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZeqRK7UStringPKw(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NWildcard11CCensorNode7AddItemEbRNS_5CItemEi(ptr noundef nonnull align 8 dereferenceable(72), i1 noundef zeroext, ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9NWildcard5CItemC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NWildcard7CCensor7AddItemENS_15ECensorPathModeEbRK7UStringbb(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef %1, i1 noundef zeroext %2, ptr noundef nonnull align 8 dereferenceable(16) %3, i1 noundef zeroext %4, i1 noundef zeroext %5) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %class.CObjectVector, align 8
  %8 = alloca %class.UString, align 8
  %9 = alloca %"struct.NWildcard::CPair", align 8
  %10 = alloca %class.UString, align 8
  %11 = alloca %"struct.NWildcard::CItem", align 8
  %12 = tail call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  br i1 %12, label %13, label %15

13:                                               ; preds = %6
  %14 = tail call ptr @__cxa_allocate_exception(i64 8) #6
  store ptr @.str.1, ptr %14, align 16, !tbaa !5
  tail call void @__cxa_throw(ptr nonnull %14, ptr nonnull @_ZTIPKc, ptr null) #7
  unreachable

15:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @_ZN13CObjectVectorI7UStringEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7)
  invoke void @_Z16SplitPathToPartsRK7UStringR13CObjectVectorIS_E(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %16 unwind label %21

16:                                               ; preds = %15
  %17 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringE4BackEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %18 unwind label %23

18:                                               ; preds = %16
  %19 = call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
  br i1 %19, label %20, label %25

20:                                               ; preds = %18
  invoke void @_ZN13CObjectVectorI7UStringE10DeleteBackEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %25 unwind label %23

21:                                               ; preds = %15
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %149

23:                                               ; preds = %20, %16
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %149

25:                                               ; preds = %20, %18
  %.048 = phi i8 [ 0, %20 ], [ 1, %18 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  invoke void @_ZN7UStringC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %26 unwind label %38

26:                                               ; preds = %25
  %27 = call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %28 = icmp ugt i32 %27, 2
  br i1 %28, label %29, label %40

29:                                               ; preds = %26
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
  %31 = call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
  br i1 %31, label %32, label %40

32:                                               ; preds = %29
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 1)
  %34 = call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %33)
  br i1 %34, label %35, label %40

35:                                               ; preds = %32
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 2)
  %37 = call noundef zeroext i1 @_ZeqRK7UStringPKw(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull @.str.2)
  %spec.select = select i1 %37, i32 2, i32 -1
  br label %40

38:                                               ; preds = %25
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %148

40:                                               ; preds = %35, %32, %29, %26
  %.046 = phi i32 [ -1, %32 ], [ -1, %29 ], [ -1, %26 ], [ %spec.select, %35 ]
  %.not = icmp eq i32 %1, 2
  br i1 %.not, label %.critedge, label %41

41:                                               ; preds = %40
  %42 = invoke noundef i32 @_ZN9NWildcardL17GetNumPrefixPartsERK13CObjectVectorI7UStringE(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %43 unwind label %52

43:                                               ; preds = %41
  %44 = icmp ne i32 %1, 1
  %45 = icmp ne i32 %42, 0
  %or.cond = and i1 %44, %45
  br i1 %or.cond, label %46, label %54

46:                                               ; preds = %43
  %47 = call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %48 = icmp ugt i32 %47, %42
  br i1 %48, label %49, label %54

49:                                               ; preds = %46
  %50 = call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %51 = add i32 %50, -1
  br label %54

52:                                               ; preds = %41
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %147

54:                                               ; preds = %46, %49, %43
  %.042 = phi i32 [ %51, %49 ], [ %42, %46 ], [ %42, %43 ]
  %55 = call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %56 = icmp ult i32 %42, %55
  br i1 %56, label %.lr.ph, label %._crit_edge.thread

._crit_edge:                                      ; preds = %63
  %57 = icmp sgt i32 %.1, -1
  br i1 %57, label %67, label %._crit_edge.thread

.lr.ph:                                           ; preds = %54, %63
  %.04080 = phi i32 [ %64, %63 ], [ %42, %54 ]
  %.04179 = phi i32 [ %.1, %63 ], [ -1, %54 ]
  %58 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %.04080)
  %59 = call noundef zeroext i1 @_ZeqRK7UStringPKw(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull @.str.3)
  br i1 %59, label %62, label %60

60:                                               ; preds = %.lr.ph
  %61 = call noundef zeroext i1 @_ZeqRK7UStringPKw(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull @.str.4)
  br i1 %61, label %62, label %63

62:                                               ; preds = %60, %.lr.ph
  br label %63

63:                                               ; preds = %62, %60
  %.1 = phi i32 [ %.04080, %62 ], [ %.04179, %60 ]
  %64 = add nuw i32 %.04080, 1
  %65 = call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %66 = icmp ult i32 %64, %65
  br i1 %66, label %.lr.ph, label %._crit_edge, !llvm.loop !9

67:                                               ; preds = %._crit_edge
  %68 = call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %69 = add nsw i32 %68, -1
  %70 = icmp ne i32 %.1, %69
  %71 = call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %72 = sext i1 %70 to i32
  %spec.select93 = add i32 %71, %72
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %67, %54, %._crit_edge
  %.143 = phi i32 [ %.042, %._crit_edge ], [ %.042, %54 ], [ %spec.select93, %67 ]
  %.not88 = icmp eq i32 %.143, 0
  br i1 %.not88, label %.critedge, label %.lr.ph83

.lr.ph83:                                         ; preds = %._crit_edge.thread
  br i1 %5, label %.lr.ph83.split, label %.lr.ph83.split.us

.lr.ph83.split.us:                                ; preds = %.lr.ph83, %78
  %.03881.us = phi i32 [ %79, %78 ], [ 0, %.lr.ph83 ]
  %73 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringE5FrontEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %74 unwind label %.split.us

74:                                               ; preds = %.lr.ph83.split.us
  %75 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringpLERKS_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %73)
          to label %76 unwind label %.split.us

76:                                               ; preds = %74
  invoke void @_ZN7UString13Add_PathSeparEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %77 unwind label %.split.us

77:                                               ; preds = %76
  invoke void @_ZN13CObjectVectorI7UStringE6DeleteEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %78 unwind label %.split86.us

78:                                               ; preds = %77
  %79 = add nuw i32 %.03881.us, 1
  %exitcond.not = icmp eq i32 %79, %.143
  br i1 %exitcond.not, label %.critedge, label %.lr.ph83.split.us, !llvm.loop !11

.split.us:                                        ; preds = %76, %74, %.lr.ph83.split.us
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %147

.split86.us:                                      ; preds = %77
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %147

.lr.ph83.split:                                   ; preds = %.lr.ph83, %92
  %.03881 = phi i32 [ %93, %92 ], [ 0, %.lr.ph83 ]
  %82 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringE5FrontEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %83 unwind label %.split

83:                                               ; preds = %.lr.ph83.split
  %.not63.not = icmp ult i32 %.03881, %42
  br i1 %.not63.not, label %88, label %84

84:                                               ; preds = %83
  %85 = invoke noundef zeroext i1 @_Z23DoesNameContainWildcardRK7UString(ptr noundef nonnull align 8 dereferenceable(16) %82)
          to label %86 unwind label %.split

86:                                               ; preds = %84
  br i1 %85, label %.critedge, label %88

.split:                                           ; preds = %90, %88, %84, %.lr.ph83.split
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %147

88:                                               ; preds = %86, %83
  %89 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN7UStringpLERKS_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %82)
          to label %90 unwind label %.split

90:                                               ; preds = %88
  invoke void @_ZN7UString13Add_PathSeparEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %91 unwind label %.split

91:                                               ; preds = %90
  invoke void @_ZN13CObjectVectorI7UStringE6DeleteEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %92 unwind label %.split86

92:                                               ; preds = %91
  %93 = add nuw i32 %.03881, 1
  %exitcond90.not = icmp eq i32 %93, %.143
  br i1 %exitcond90.not, label %.critedge, label %.lr.ph83.split, !llvm.loop !11

.split86:                                         ; preds = %91
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %147

.critedge:                                        ; preds = %78, %86, %92, %._crit_edge.thread, %40
  %.147 = phi i32 [ %.046, %40 ], [ -1, %._crit_edge.thread ], [ -1, %92 ], [ -1, %86 ], [ -1, %78 ]
  %95 = invoke noundef i32 @_ZNK9NWildcard7CCensor10FindPrefixERK7UString(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %96 unwind label %102

96:                                               ; preds = %.critedge
  %97 = icmp slt i32 %95, 0
  br i1 %97, label %98, label %109

98:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %9) #6
  invoke void @_ZN9NWildcard5CPairC2ERK7UString(ptr noundef nonnull align 8 dereferenceable(88) %9, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %99 unwind label %104

99:                                               ; preds = %98
  %100 = invoke noundef i32 @_ZN13CObjectVectorIN9NWildcard5CPairEE3AddERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(88) %9)
          to label %101 unwind label %106

101:                                              ; preds = %99
  call void @_ZN9NWildcard5CPairD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #6
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %9) #6
  br label %109

102:                                              ; preds = %118, %.critedge
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %147

104:                                              ; preds = %98
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %108

106:                                              ; preds = %99
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NWildcard5CPairD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %9) #6
  br label %108

108:                                              ; preds = %106, %104
  %.pn = phi { ptr, i32 } [ %107, %106 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %9) #6
  br label %147

109:                                              ; preds = %101, %96
  %.0 = phi i32 [ %100, %101 ], [ %95, %96 ]
  br i1 %.not, label %128, label %110

110:                                              ; preds = %109
  %111 = call noundef zeroext i1 @_ZNK13CObjectVectorI7UStringE7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  br i1 %111, label %118, label %112

112:                                              ; preds = %110
  %113 = call noundef i32 @_ZNK13CObjectVectorI7UStringE4SizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %114 = icmp eq i32 %113, 1
  br i1 %114, label %115, label %128

115:                                              ; preds = %112
  %116 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEixEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
  %117 = call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %116)
  br i1 %117, label %118, label %128

118:                                              ; preds = %115, %110
  invoke void @_ZN13CObjectVectorI7UStringE5ClearEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %119 unwind label %102

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  invoke void @_ZN7UStringC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull @.str.5)
          to label %120 unwind label %123

120:                                              ; preds = %119
  %121 = invoke noundef i32 @_ZN13CObjectVectorI7UStringE3AddERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %122 unwind label %125

122:                                              ; preds = %120
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %128

123:                                              ; preds = %119
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %127

125:                                              ; preds = %120
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  br label %127

127:                                              ; preds = %125, %123
  %.pn65 = phi { ptr, i32 } [ %126, %125 ], [ %124, %123 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %147

128:                                              ; preds = %112, %115, %122, %109
  %.149 = phi i8 [ 1, %122 ], [ %.048, %115 ], [ %.048, %112 ], [ %.048, %109 ]
  %.039.shrunk = phi i1 [ true, %122 ], [ %5, %115 ], [ %5, %112 ], [ %5, %109 ]
  %.036.shrunk = phi i1 [ false, %122 ], [ %4, %115 ], [ %4, %112 ], [ %4, %109 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  invoke void @_ZN9NWildcard5CItemC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %11)
          to label %129 unwind label %142

129:                                              ; preds = %128
  %130 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN13CObjectVectorI7UStringEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %131 unwind label %144

131:                                              ; preds = %129
  %132 = getelementptr inbounds i8, ptr %11, i64 18
  store i8 1, ptr %132, align 2, !tbaa !12
  %133 = getelementptr inbounds i8, ptr %11, i64 17
  %134 = and i8 %.149, 1
  store i8 %134, ptr %133, align 1, !tbaa !18
  %135 = getelementptr inbounds i8, ptr %11, i64 16
  %136 = zext i1 %.036.shrunk to i8
  store i8 %136, ptr %135, align 8, !tbaa !19
  %137 = getelementptr inbounds i8, ptr %11, i64 19
  %138 = zext i1 %.039.shrunk to i8
  store i8 %138, ptr %137, align 1, !tbaa !20
  %139 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN13CObjectVectorIN9NWildcard5CPairEEixEj(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %.0)
  %140 = getelementptr inbounds i8, ptr %139, i64 16
  invoke void @_ZN9NWildcard11CCensorNode7AddItemEbRNS_5CItemEi(ptr noundef nonnull align 8 dereferenceable(72) %140, i1 noundef zeroext %2, ptr noundef nonnull align 8 dereferenceable(20) %11, i32 noundef %.147)
          to label %141 unwind label %144

141:                                              ; preds = %131
  call void @_ZN9NWildcard5CItemD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN13CObjectVectorI7UStringED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  ret void

142:                                              ; preds = %128
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %146

144:                                              ; preds = %131, %129
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NWildcard5CItemD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %11) #6
  br label %146

146:                                              ; preds = %144, %142
  %.pn67 = phi { ptr, i32 } [ %145, %144 ], [ %143, %142 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  br label %147

147:                                              ; preds = %.split86, %.split86.us, %.split, %.split.us, %102, %108, %127, %146, %52
  %.pn70.pn.pn = phi { ptr, i32 } [ %53, %52 ], [ %.pn67, %146 ], [ %.pn65, %127 ], [ %103, %102 ], [ %.pn, %108 ], [ %87, %.split ], [ %80, %.split.us ], [ %94, %.split86 ], [ %81, %.split86.us ]
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  br label %148

148:                                              ; preds = %147, %38
  %.pn70.pn.pn.pn = phi { ptr, i32 } [ %.pn70.pn.pn, %147 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %149

149:                                              ; preds = %23, %148, %21
  %.pn70.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %22, %21 ], [ %.pn70.pn.pn.pn, %148 ], [ %24, %23 ]
  call void @_ZN13CObjectVectorI7UStringED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  resume { ptr, i32 } %.pn70.pn.pn.pn.pn.pn
}

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !17, i64 18}
!13 = !{!"_ZTSN9NWildcard5CItemE", !14, i64 0, !17, i64 16, !17, i64 17, !17, i64 18, !17, i64 19}
!14 = !{!"_ZTS13CObjectVectorI7UStringE", !15, i64 0}
!15 = !{!"_ZTS13CRecordVectorIPvE", !6, i64 0, !16, i64 8, !16, i64 12}
!16 = !{!"int", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!13, !17, i64 17}
!19 = !{!13, !17, i64 16}
!20 = !{!13, !17, i64 19}


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