; LLVM IR from vczh/herodb :: Kernel/Source (Vlpp)

; 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.vl::regex_internal::RichResult" = type { i64, i64, %"class.vl::collections::List.983" }
%"class.vl::collections::List.983" = type { %"class.vl::collections::ListBase.base.989", %"class.vl::collections::IEnumerable.987" }
%"class.vl::collections::ListBase.base.989" = type <{ %"class.vl::collections::ArrayBase.base.988", i64, i8 }>
%"class.vl::collections::ArrayBase.base.988" = type { %"class.vl::collections::ListStore.986", ptr, i64 }
%"class.vl::collections::ListStore.986" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::collections::IEnumerable.987" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::Ptr.1000" = type { ptr, ptr, ptr, ptr }
%"class.vl::regex::RegexString" = type { %"class.vl::Object", %"class.vl::ObjectString", i64, i64 }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::regex_internal::PureResult" = type { i64, i64, i64, i64 }
%"class.vl::regex::Regex" = type { %"class.vl::Object", ptr, ptr }

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #0

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK2vl5regex5Regex7ProcessERKNS_12ObjectStringIwEEbbbRNS_11collections4ListINS_3PtrINS0_10RegexMatchEEEPS9_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2, i1 noundef zeroext %3, i1 noundef zeroext %4, ptr noundef nonnull align 8 dereferenceable(33) %5) #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.vl::regex_internal::RichResult", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca %"class.vl::Ptr.1000", align 8
  %20 = alloca %"class.vl::regex::RegexString", align 8
  %21 = alloca i1, align 1
  %22 = alloca %"class.vl::Ptr.1000", align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca %"class.vl::Ptr.1000", align 8
  %26 = alloca %"class.vl::regex::RegexString", align 8
  %27 = alloca i1, align 1
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.vl::regex_internal::PureResult", align 8
  %31 = alloca i64, align 8
  %32 = alloca %"class.vl::Ptr.1000", align 8
  %33 = alloca %"class.vl::regex::RegexString", align 8
  %34 = alloca i1, align 1
  %35 = alloca %"class.vl::Ptr.1000", align 8
  %36 = alloca i64, align 8
  %37 = alloca i64, align 8
  %38 = alloca %"class.vl::Ptr.1000", align 8
  %39 = alloca %"class.vl::regex::RegexString", align 8
  %40 = alloca i1, align 1
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  %41 = zext i1 %2 to i8
  store i8 %41, ptr %9, align 1, !tbaa !9
  %42 = zext i1 %3 to i8
  store i8 %42, ptr %10, align 1, !tbaa !9
  %43 = zext i1 %4 to i8
  store i8 %43, ptr %11, align 1, !tbaa !9
  store ptr %5, ptr %12, align 8, !tbaa !5
  %44 = load ptr, ptr %7, align 8
  %45 = getelementptr inbounds %"class.vl::regex::Regex", ptr %44, i32 0, i32 2
  %46 = load ptr, ptr %45, align 8, !tbaa !11
  %47 = icmp ne ptr %46, null
  br i1 %47, label %48, label %216

48:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = call noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %49)
  store ptr %50, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %51 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %51, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #7
  call void @_ZN2vl14regex_internal10RichResultC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %15)
  br label %52

52:                                               ; preds = %145, %48
  %53 = getelementptr inbounds %"class.vl::regex::Regex", ptr %44, i32 0, i32 2
  %54 = load ptr, ptr %53, align 8, !tbaa !11
  %55 = load ptr, ptr %14, align 8, !tbaa !5
  %56 = load ptr, ptr %13, align 8, !tbaa !5
  %57 = invoke noundef zeroext i1 @_ZN2vl14regex_internal15RichInterpretor5MatchEPKwS3_RNS0_10RichResultE(ptr noundef nonnull align 8 dereferenceable(48) %54, ptr noundef %55, ptr noundef %56, ptr noundef nonnull align 8 dereferenceable(64) %15)
          to label %58 unwind label %91

58:                                               ; preds = %52
  br i1 %57, label %59, label %154

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %60 = load ptr, ptr %14, align 8, !tbaa !5
  %61 = load ptr, ptr %13, align 8, !tbaa !5
  %62 = ptrtoint ptr %60 to i64
  %63 = ptrtoint ptr %61 to i64
  %64 = sub i64 %62, %63
  %65 = sdiv exact i64 %64, 4
  store i64 %65, ptr %18, align 8, !tbaa !14
  %66 = load i8, ptr %11, align 1, !tbaa !9, !range !16, !noundef !17
  %67 = trunc i8 %66 to i1
  br i1 %67, label %68, label %118

68:                                               ; preds = %59
  %69 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %15, i32 0, i32 0
  %70 = load i64, ptr %69, align 8, !tbaa !18
  %71 = load i64, ptr %18, align 8, !tbaa !14
  %72 = icmp sgt i64 %70, %71
  br i1 %72, label %76, label %73

73:                                               ; preds = %68
  %74 = load i8, ptr %9, align 1, !tbaa !9, !range !16, !noundef !17
  %75 = trunc i8 %74 to i1
  br i1 %75, label %76, label %117

76:                                               ; preds = %73, %68
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #7
  %78 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 248) #8
          to label %79 unwind label %95

79:                                               ; preds = %76
  store i1 true, ptr %21, align 1
  call void @llvm.lifetime.start.p0(i64 72, ptr %20) #7
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = load i64, ptr %18, align 8, !tbaa !14
  %82 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %15, i32 0, i32 0
  %83 = load i64, ptr %82, align 8, !tbaa !18
  %84 = load i64, ptr %18, align 8, !tbaa !14
  %85 = sub nsw i64 %83, %84
  invoke void @_ZN2vl5regex11RegexStringC1ERKNS_12ObjectStringIwEEll(ptr noundef nonnull align 8 dereferenceable(72) %20, ptr noundef nonnull align 8 dereferenceable(48) %80, i64 noundef %81, i64 noundef %85)
          to label %86 unwind label %99

86:                                               ; preds = %79
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS0_11RegexStringE(ptr noundef nonnull align 8 dereferenceable(248) %78, ptr noundef nonnull align 8 dereferenceable(72) %20)
          to label %87 unwind label %103

87:                                               ; preds = %86
  store i1 false, ptr %21, align 1
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef %78)
          to label %88 unwind label %103

88:                                               ; preds = %87
  %89 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %77, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %90 unwind label %107

90:                                               ; preds = %88
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %20) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  br label %117

91:                                               ; preds = %52
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %16, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %17, align 4
  br label %215

95:                                               ; preds = %76
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %16, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %17, align 4
  br label %116

99:                                               ; preds = %79
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %16, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %17, align 4
  br label %112

103:                                              ; preds = %87, %86
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %16, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %17, align 4
  br label %111

107:                                              ; preds = %88
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %16, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %17, align 4
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  br label %111

111:                                              ; preds = %107, %103
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %20) #7
  br label %112

112:                                              ; preds = %111, %99
  call void @llvm.lifetime.end.p0(i64 72, ptr %20) #7
  %113 = load i1, ptr %21, align 1
  br i1 %113, label %114, label %115

114:                                              ; preds = %112
  call void @_ZdlPvm(ptr noundef %78, i64 noundef 248) #9
  br label %115

115:                                              ; preds = %114, %112
  br label %116

116:                                              ; preds = %115, %95
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  br label %153

117:                                              ; preds = %90, %73
  br label %118

118:                                              ; preds = %117, %59
  %119 = load i8, ptr %10, align 1, !tbaa !9, !range !16, !noundef !17
  %120 = trunc i8 %119 to i1
  br i1 %120, label %121, label %145

121:                                              ; preds = %118
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #7
  %123 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 248) #8
          to label %124 unwind label %132

124:                                              ; preds = %121
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = getelementptr inbounds %"class.vl::regex::Regex", ptr %44, i32 0, i32 2
  %127 = load ptr, ptr %126, align 8, !tbaa !11
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS_12ObjectStringIwEEPNS_14regex_internal10RichResultEPNS6_15RichInterpretorE(ptr noundef nonnull align 8 dereferenceable(248) %123, ptr noundef nonnull align 8 dereferenceable(48) %125, ptr noundef %15, ptr noundef %127)
          to label %128 unwind label %136

128:                                              ; preds = %124
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef %123)
          to label %129 unwind label %132

129:                                              ; preds = %128
  %130 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %122, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %131 unwind label %140

131:                                              ; preds = %129
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #7
  br label %145

132:                                              ; preds = %128, %121
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %16, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %17, align 4
  br label %144

136:                                              ; preds = %124
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %16, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %17, align 4
  call void @_ZdlPvm(ptr noundef %123, i64 noundef 248) #9
  br label %144

140:                                              ; preds = %129
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %16, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %17, align 4
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  br label %144

144:                                              ; preds = %140, %136, %132
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #7
  br label %153

145:                                              ; preds = %131, %118
  %146 = load ptr, ptr %13, align 8, !tbaa !5
  %147 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %15, i32 0, i32 0
  %148 = load i64, ptr %147, align 8, !tbaa !18
  %149 = getelementptr inbounds i32, ptr %146, i64 %148
  %150 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %15, i32 0, i32 1
  %151 = load i64, ptr %150, align 8, !tbaa !24
  %152 = getelementptr inbounds i32, ptr %149, i64 %151
  store ptr %152, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %52, !llvm.loop !25

153:                                              ; preds = %144, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %215

154:                                              ; preds = %58
  %155 = load i8, ptr %11, align 1, !tbaa !9, !range !16, !noundef !17
  %156 = trunc i8 %155 to i1
  br i1 %156, label %157, label %214

157:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %158 = load ptr, ptr %14, align 8, !tbaa !5
  %159 = load ptr, ptr %13, align 8, !tbaa !5
  %160 = ptrtoint ptr %158 to i64
  %161 = ptrtoint ptr %159 to i64
  %162 = sub i64 %160, %161
  %163 = sdiv exact i64 %162, 4
  store i64 %163, ptr %23, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = invoke noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %164)
          to label %166 unwind label %186

166:                                              ; preds = %157
  %167 = load i64, ptr %23, align 8, !tbaa !14
  %168 = sub nsw i64 %165, %167
  store i64 %168, ptr %24, align 8, !tbaa !14
  %169 = load i64, ptr %24, align 8, !tbaa !14
  %170 = icmp ne i64 %169, 0
  br i1 %170, label %174, label %171

171:                                              ; preds = %166
  %172 = load i8, ptr %9, align 1, !tbaa !9, !range !16, !noundef !17
  %173 = trunc i8 %172 to i1
  br i1 %173, label %174, label %212

174:                                              ; preds = %171, %166
  %175 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #7
  %176 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 248) #8
          to label %177 unwind label %190

177:                                              ; preds = %174
  store i1 true, ptr %27, align 1
  call void @llvm.lifetime.start.p0(i64 72, ptr %26) #7
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = load i64, ptr %23, align 8, !tbaa !14
  %180 = load i64, ptr %24, align 8, !tbaa !14
  invoke void @_ZN2vl5regex11RegexStringC1ERKNS_12ObjectStringIwEEll(ptr noundef nonnull align 8 dereferenceable(72) %26, ptr noundef nonnull align 8 dereferenceable(48) %178, i64 noundef %179, i64 noundef %180)
          to label %181 unwind label %194

181:                                              ; preds = %177
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS0_11RegexStringE(ptr noundef nonnull align 8 dereferenceable(248) %176, ptr noundef nonnull align 8 dereferenceable(72) %26)
          to label %182 unwind label %198

182:                                              ; preds = %181
  store i1 false, ptr %27, align 1
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef %176)
          to label %183 unwind label %198

183:                                              ; preds = %182
  %184 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %175, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %185 unwind label %202

185:                                              ; preds = %183
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %26) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  br label %212

186:                                              ; preds = %157
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %16, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %17, align 4
  br label %213

190:                                              ; preds = %174
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %16, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %17, align 4
  br label %211

194:                                              ; preds = %177
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %16, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %17, align 4
  br label %207

198:                                              ; preds = %182, %181
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %16, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %17, align 4
  br label %206

202:                                              ; preds = %183
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %16, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %17, align 4
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br label %206

206:                                              ; preds = %202, %198
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %26) #7
  br label %207

207:                                              ; preds = %206, %194
  call void @llvm.lifetime.end.p0(i64 72, ptr %26) #7
  %208 = load i1, ptr %27, align 1
  br i1 %208, label %209, label %210

209:                                              ; preds = %207
  call void @_ZdlPvm(ptr noundef %176, i64 noundef 248) #9
  br label %210

210:                                              ; preds = %209, %207
  br label %211

211:                                              ; preds = %210, %190
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  br label %213

212:                                              ; preds = %185, %171
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %214

213:                                              ; preds = %211, %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %215

214:                                              ; preds = %212, %154
  call void @_ZN2vl14regex_internal10RichResultD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %15) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %353

215:                                              ; preds = %213, %153, %91
  call void @_ZN2vl14regex_internal10RichResultD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %15) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %354

216:                                              ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %217 = load ptr, ptr %8, align 8, !tbaa !5
  %218 = call noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %217)
  store ptr %218, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %219 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %219, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #7
  br label %220

220:                                              ; preds = %294, %216
  %221 = getelementptr inbounds %"class.vl::regex::Regex", ptr %44, i32 0, i32 1
  %222 = load ptr, ptr %221, align 8, !tbaa !27
  %223 = load ptr, ptr %29, align 8, !tbaa !5
  %224 = load ptr, ptr %28, align 8, !tbaa !5
  %225 = call noundef zeroext i1 @_ZN2vl14regex_internal15PureInterpretor5MatchEPKwS3_RNS0_10PureResultE(ptr noundef nonnull align 8 dereferenceable(8912952) %222, ptr noundef %223, ptr noundef %224, ptr noundef nonnull align 8 dereferenceable(32) %30)
  br i1 %225, label %226, label %303

226:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %227 = load ptr, ptr %29, align 8, !tbaa !5
  %228 = load ptr, ptr %28, align 8, !tbaa !5
  %229 = ptrtoint ptr %227 to i64
  %230 = ptrtoint ptr %228 to i64
  %231 = sub i64 %229, %230
  %232 = sdiv exact i64 %231, 4
  store i64 %232, ptr %31, align 8, !tbaa !14
  %233 = load i8, ptr %11, align 1, !tbaa !9, !range !16, !noundef !17
  %234 = trunc i8 %233 to i1
  br i1 %234, label %235, label %275

235:                                              ; preds = %226
  %236 = getelementptr inbounds %"class.vl::regex_internal::PureResult", ptr %30, i32 0, i32 0
  %237 = load i64, ptr %236, align 8, !tbaa !28
  %238 = load i64, ptr %31, align 8, !tbaa !14
  %239 = icmp sgt i64 %237, %238
  br i1 %239, label %243, label %240

240:                                              ; preds = %235
  %241 = load i8, ptr %9, align 1, !tbaa !9, !range !16, !noundef !17
  %242 = trunc i8 %241 to i1
  br i1 %242, label %243, label %274

243:                                              ; preds = %240, %235
  %244 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #7
  %245 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 248) #8
  store i1 true, ptr %34, align 1
  call void @llvm.lifetime.start.p0(i64 72, ptr %33) #7
  %246 = load ptr, ptr %8, align 8, !tbaa !5
  %247 = load i64, ptr %31, align 8, !tbaa !14
  %248 = getelementptr inbounds %"class.vl::regex_internal::PureResult", ptr %30, i32 0, i32 0
  %249 = load i64, ptr %248, align 8, !tbaa !28
  %250 = load i64, ptr %31, align 8, !tbaa !14
  %251 = sub nsw i64 %249, %250
  invoke void @_ZN2vl5regex11RegexStringC1ERKNS_12ObjectStringIwEEll(ptr noundef nonnull align 8 dereferenceable(72) %33, ptr noundef nonnull align 8 dereferenceable(48) %246, i64 noundef %247, i64 noundef %251)
          to label %252 unwind label %257

252:                                              ; preds = %243
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS0_11RegexStringE(ptr noundef nonnull align 8 dereferenceable(248) %245, ptr noundef nonnull align 8 dereferenceable(72) %33)
          to label %253 unwind label %261

253:                                              ; preds = %252
  store i1 false, ptr %34, align 1
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef %245)
          to label %254 unwind label %261

254:                                              ; preds = %253
  %255 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %244, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %256 unwind label %265

256:                                              ; preds = %254
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %33) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #7
  br label %274

257:                                              ; preds = %243
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %16, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %17, align 4
  br label %270

261:                                              ; preds = %253, %252
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %16, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %17, align 4
  br label %269

265:                                              ; preds = %254
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %16, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %17, align 4
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  br label %269

269:                                              ; preds = %265, %261
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %33) #7
  br label %270

270:                                              ; preds = %269, %257
  call void @llvm.lifetime.end.p0(i64 72, ptr %33) #7
  %271 = load i1, ptr %34, align 1
  br i1 %271, label %272, label %273

272:                                              ; preds = %270
  call void @_ZdlPvm(ptr noundef %245, i64 noundef 248) #9
  br label %273

273:                                              ; preds = %272, %270
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #7
  br label %302

274:                                              ; preds = %256, %240
  br label %275

275:                                              ; preds = %274, %226
  %276 = load i8, ptr %10, align 1, !tbaa !9, !range !16, !noundef !17
  %277 = trunc i8 %276 to i1
  br i1 %277, label %278, label %294

278:                                              ; preds = %275
  %279 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #7
  %280 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 248) #8
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS_12ObjectStringIwEEPNS_14regex_internal10PureResultE(ptr noundef nonnull align 8 dereferenceable(248) %280, ptr noundef nonnull align 8 dereferenceable(48) %281, ptr noundef %30)
          to label %282 unwind label %285

282:                                              ; preds = %278
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef %280)
  %283 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %279, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %284 unwind label %289

284:                                              ; preds = %282
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #7
  br label %294

285:                                              ; preds = %278
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %16, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %17, align 4
  call void @_ZdlPvm(ptr noundef %280, i64 noundef 248) #9
  br label %293

289:                                              ; preds = %282
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %16, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %17, align 4
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  br label %293

293:                                              ; preds = %289, %285
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #7
  br label %302

294:                                              ; preds = %284, %275
  %295 = load ptr, ptr %28, align 8, !tbaa !5
  %296 = getelementptr inbounds %"class.vl::regex_internal::PureResult", ptr %30, i32 0, i32 0
  %297 = load i64, ptr %296, align 8, !tbaa !28
  %298 = getelementptr inbounds i32, ptr %295, i64 %297
  %299 = getelementptr inbounds %"class.vl::regex_internal::PureResult", ptr %30, i32 0, i32 1
  %300 = load i64, ptr %299, align 8, !tbaa !30
  %301 = getelementptr inbounds i32, ptr %298, i64 %300
  store ptr %301, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %220, !llvm.loop !31

302:                                              ; preds = %293, %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %352

303:                                              ; preds = %220
  %304 = load i8, ptr %11, align 1, !tbaa !9, !range !16, !noundef !17
  %305 = trunc i8 %304 to i1
  br i1 %305, label %306, label %351

306:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %307 = load ptr, ptr %29, align 8, !tbaa !5
  %308 = load ptr, ptr %28, align 8, !tbaa !5
  %309 = ptrtoint ptr %307 to i64
  %310 = ptrtoint ptr %308 to i64
  %311 = sub i64 %309, %310
  %312 = sdiv exact i64 %311, 4
  store i64 %312, ptr %36, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %313 = load ptr, ptr %8, align 8, !tbaa !5
  %314 = call noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %313)
  %315 = load i64, ptr %36, align 8, !tbaa !14
  %316 = sub nsw i64 %314, %315
  store i64 %316, ptr %37, align 8, !tbaa !14
  %317 = load i64, ptr %37, align 8, !tbaa !14
  %318 = icmp ne i64 %317, 0
  br i1 %318, label %322, label %319

319:                                              ; preds = %306
  %320 = load i8, ptr %9, align 1, !tbaa !9, !range !16, !noundef !17
  %321 = trunc i8 %320 to i1
  br i1 %321, label %322, label %350

322:                                              ; preds = %319, %306
  %323 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #7
  %324 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 248) #8
  store i1 true, ptr %40, align 1
  call void @llvm.lifetime.start.p0(i64 72, ptr %39) #7
  %325 = load ptr, ptr %8, align 8, !tbaa !5
  %326 = load i64, ptr %36, align 8, !tbaa !14
  %327 = load i64, ptr %37, align 8, !tbaa !14
  invoke void @_ZN2vl5regex11RegexStringC1ERKNS_12ObjectStringIwEEll(ptr noundef nonnull align 8 dereferenceable(72) %39, ptr noundef nonnull align 8 dereferenceable(48) %325, i64 noundef %326, i64 noundef %327)
          to label %328 unwind label %333

328:                                              ; preds = %322
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS0_11RegexStringE(ptr noundef nonnull align 8 dereferenceable(248) %324, ptr noundef nonnull align 8 dereferenceable(72) %39)
          to label %329 unwind label %337

329:                                              ; preds = %328
  store i1 false, ptr %40, align 1
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef %324)
          to label %330 unwind label %337

330:                                              ; preds = %329
  %331 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %323, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %332 unwind label %341

332:                                              ; preds = %330
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %39) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #7
  br label %350

333:                                              ; preds = %322
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %16, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %17, align 4
  br label %346

337:                                              ; preds = %329, %328
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %16, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %17, align 4
  br label %345

341:                                              ; preds = %330
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %16, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %17, align 4
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  br label %345

345:                                              ; preds = %341, %337
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %39) #7
  br label %346

346:                                              ; preds = %345, %333
  call void @llvm.lifetime.end.p0(i64 72, ptr %39) #7
  %347 = load i1, ptr %40, align 1
  br i1 %347, label %348, label %349

348:                                              ; preds = %346
  call void @_ZdlPvm(ptr noundef %324, i64 noundef 248) #9
  br label %349

349:                                              ; preds = %348, %346
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %352

350:                                              ; preds = %332, %319
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %351

351:                                              ; preds = %350, %303
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %353

352:                                              ; preds = %349, %302
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %354

353:                                              ; preds = %351, %214
  ret void

354:                                              ; preds = %352, %215
  %355 = load ptr, ptr %16, align 8
  %356 = load i32, ptr %17, align 4
  %357 = insertvalue { ptr, i32 } poison, ptr %355, 0
  %358 = insertvalue { ptr, i32 } %357, i32 %356, 1
  resume { ptr, i32 } %358
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl14regex_internal15RichInterpretor5MatchEPKwS3_RNS0_10RichResultE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2vl14regex_internal15PureInterpretor5MatchEPKwS3_RNS0_10PureResultE(ptr noundef nonnull align 8 dereferenceable(8912952), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

declare void @_ZN2vl5regex11RegexStringC1ERKNS_12ObjectStringIwEEll(ptr, ptr, i64, i64)

declare void @_ZN2vl5regex10RegexMatchC1ERKNS_12ObjectStringIwEEPNS_14regex_internal10PureResultE(ptr, ptr, ptr)

declare void @_ZN2vl5regex10RegexMatchC1ERKNS_12ObjectStringIwEEPNS_14regex_internal10RichResultEPNS6_15RichInterpretorE(ptr, ptr, ptr, ptr)

declare void @_ZN2vl5regex10RegexMatchC1ERKNS0_11RegexStringE(ptr, ptr)

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !6, i64 16}
!12 = !{!"_ZTSN2vl5regex5RegexE", !13, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!"_ZTSN2vl6ObjectE"}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!19, !15, i64 0}
!19 = !{!"_ZTSN2vl14regex_internal10RichResultE", !15, i64 0, !15, i64 8, !20, i64 16}
!20 = !{!"_ZTSN2vl11collections4ListINS_14regex_internal13CaptureRecordES3_EE", !21, i64 0}
!21 = !{!"_ZTSN2vl11collections8ListBaseINS_14regex_internal13CaptureRecordES3_EE", !22, i64 0, !15, i64 24, !10, i64 32}
!22 = !{!"_ZTSN2vl11collections9ArrayBaseINS_14regex_internal13CaptureRecordEEE", !23, i64 0, !6, i64 8, !15, i64 16}
!23 = !{!"_ZTSN2vl11collections9ListStoreINS_14regex_internal13CaptureRecordELb1EEE", !13, i64 0}
!24 = !{!19, !15, i64 8}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!12, !6, i64 8}
!28 = !{!29, !15, i64 0}
!29 = !{!"_ZTSN2vl14regex_internal10PureResultE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!30 = !{!29, !15, i64 8}
!31 = distinct !{!31, !26}


; 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.vl::regex_internal::RichResult" = type { i64, i64, %"class.vl::collections::List.983" }
%"class.vl::collections::List.983" = type { %"class.vl::collections::ListBase.base.989", %"class.vl::collections::IEnumerable.987" }
%"class.vl::collections::ListBase.base.989" = type <{ %"class.vl::collections::ArrayBase.base.988", i64, i8 }>
%"class.vl::collections::ArrayBase.base.988" = type { %"class.vl::collections::ListStore.986", ptr, i64 }
%"class.vl::collections::ListStore.986" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::collections::IEnumerable.987" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::Ptr.1000" = type { ptr, ptr, ptr, ptr }
%"class.vl::regex::RegexString" = type { %"class.vl::Object", %"class.vl::ObjectString", i64, i64 }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::regex_internal::PureResult" = type { i64, i64, i64, i64 }

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK2vl5regex5Regex7ProcessERKNS_12ObjectStringIwEEbbbRNS_11collections4ListINS_3PtrINS0_10RegexMatchEEEPS9_EE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2, i1 noundef zeroext %3, i1 noundef zeroext %4, ptr noundef nonnull align 8 dereferenceable(33) %5) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.vl::regex_internal::RichResult", align 8
  %8 = alloca %"class.vl::Ptr.1000", align 8
  %9 = alloca %"class.vl::regex::RegexString", align 8
  %10 = alloca %"class.vl::Ptr.1000", align 8
  %11 = alloca %"class.vl::Ptr.1000", align 8
  %12 = alloca %"class.vl::regex::RegexString", align 8
  %13 = alloca %"class.vl::regex_internal::PureResult", align 8
  %14 = alloca %"class.vl::Ptr.1000", align 8
  %15 = alloca %"class.vl::regex::RegexString", align 8
  %16 = alloca %"class.vl::Ptr.1000", align 8
  %17 = alloca %"class.vl::Ptr.1000", align 8
  %18 = alloca %"class.vl::regex::RegexString", align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 16
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  %.not = icmp eq ptr %20, null
  %21 = tail call noundef ptr @_ZNK2vl12ObjectStringIwE6BufferEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  br i1 %.not, label %123, label %22

22:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #7
  call void @_ZN2vl14regex_internal10RichResultC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7)
  %23 = ptrtoint ptr %21 to i64
  %24 = getelementptr inbounds i8, ptr %7, i64 8
  br i1 %4, label %.split.us, label %.split

.split.us:                                        ; preds = %22, %52
  %.062.us = phi ptr [ %56, %52 ], [ %21, %22 ]
  %25 = load ptr, ptr %19, align 8, !tbaa !5
  %26 = invoke noundef zeroext i1 @_ZN2vl14regex_internal15RichInterpretor5MatchEPKwS3_RNS0_10RichResultE(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef %.062.us, ptr noundef %21, ptr noundef nonnull align 8 dereferenceable(64) %7)
          to label %27 unwind label %.split184.us

27:                                               ; preds = %.split.us
  br i1 %26, label %28, label %.split186.us

28:                                               ; preds = %27
  %29 = ptrtoint ptr %.062.us to i64
  %30 = sub i64 %29, %23
  %31 = ashr exact i64 %30, 2
  %32 = load i64, ptr %7, align 8, !tbaa !11
  %33 = icmp sgt i64 %32, %31
  %brmerge.us = or i1 %33, %2
  br i1 %brmerge.us, label %34, label %43

34:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #7
  %35 = invoke noalias noundef nonnull dereferenceable(248) ptr @_Znwm(i64 noundef 248) #8
          to label %36 unwind label %.split189.us

36:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %9) #7
  %37 = sub nsw i64 %32, %31
  invoke void @_ZN2vl5regex11RegexStringC1ERKNS_12ObjectStringIwEEll(ptr noundef nonnull align 8 dereferenceable(72) %9, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %31, i64 noundef %37)
          to label %38 unwind label %.thread.split.us

38:                                               ; preds = %36
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS0_11RegexStringE(ptr noundef nonnull align 8 dereferenceable(248) %35, ptr noundef nonnull align 8 dereferenceable(72) %9)
          to label %39 unwind label %.thread126.split.us

39:                                               ; preds = %38
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull %35)
          to label %40 unwind label %.split196.us

40:                                               ; preds = %39
  %41 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %42 unwind label %.thread123.split.us

42:                                               ; preds = %40
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %9) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %43

43:                                               ; preds = %42, %28
  br i1 %3, label %44, label %52

44:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  %45 = invoke noalias noundef nonnull dereferenceable(248) ptr @_Znwm(i64 noundef 248) #8
          to label %46 unwind label %.split200.us

46:                                               ; preds = %44
  %47 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS_12ObjectStringIwEEPNS_14regex_internal10RichResultEPNS6_15RichInterpretorE(ptr noundef nonnull align 8 dereferenceable(248) %45, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull %7, ptr noundef %47)
          to label %48 unwind label %.split203.us

48:                                               ; preds = %46
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull %45)
          to label %49 unwind label %.split200.us

49:                                               ; preds = %48
  %50 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %51 unwind label %.split207.us

51:                                               ; preds = %49
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %52

52:                                               ; preds = %51, %43
  %53 = load i64, ptr %7, align 8, !tbaa !11
  %54 = getelementptr inbounds i32, ptr %21, i64 %53
  %55 = load i64, ptr %24, align 8, !tbaa !19
  %56 = getelementptr inbounds i32, ptr %54, i64 %55
  br label %.split.us, !llvm.loop !20

.split184.us:                                     ; preds = %.split.us
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %.split184

.split189.us:                                     ; preds = %34
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %95

.thread.split.us:                                 ; preds = %36
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #7
  br label %94

.thread126.split.us:                              ; preds = %38
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %9) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #7
  br label %94

.split196.us:                                     ; preds = %39
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %9) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #7
  br label %95

.thread123.split.us:                              ; preds = %40
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %9) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %9) #7
  br label %95

.split200.us:                                     ; preds = %48, %44
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %98

.split203.us:                                     ; preds = %46
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %96

.split207.us:                                     ; preds = %49
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %97

.split:                                           ; preds = %22
  br i1 %3, label %.split.split.us, label %.split.split

.split.split.us:                                  ; preds = %.split, %76
  %.062.us209 = phi ptr [ %80, %76 ], [ %21, %.split ]
  %66 = load ptr, ptr %19, align 8, !tbaa !5
  %67 = invoke noundef zeroext i1 @_ZN2vl14regex_internal15RichInterpretor5MatchEPKwS3_RNS0_10RichResultE(ptr noundef nonnull align 8 dereferenceable(48) %66, ptr noundef %.062.us209, ptr noundef %21, ptr noundef nonnull align 8 dereferenceable(64) %7)
          to label %68 unwind label %.split184.split.us

68:                                               ; preds = %.split.split.us
  br i1 %67, label %69, label %.split186.us

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  %70 = invoke noalias noundef nonnull dereferenceable(248) ptr @_Znwm(i64 noundef 248) #8
          to label %71 unwind label %.split200.split.us

71:                                               ; preds = %69
  %72 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS_12ObjectStringIwEEPNS_14regex_internal10RichResultEPNS6_15RichInterpretorE(ptr noundef nonnull align 8 dereferenceable(248) %70, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull %7, ptr noundef %72)
          to label %73 unwind label %.split203.split.us

73:                                               ; preds = %71
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull %70)
          to label %74 unwind label %.split200.split.us

74:                                               ; preds = %73
  %75 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %76 unwind label %.split207.split.us

76:                                               ; preds = %74
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  %77 = load i64, ptr %7, align 8, !tbaa !11
  %78 = getelementptr inbounds i32, ptr %21, i64 %77
  %79 = load i64, ptr %24, align 8, !tbaa !19
  %80 = getelementptr inbounds i32, ptr %78, i64 %79
  br label %.split.split.us, !llvm.loop !20

.split184.split.us:                               ; preds = %.split.split.us
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %.split184

.split200.split.us:                               ; preds = %73, %69
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %98

.split203.split.us:                               ; preds = %71
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %96

.split207.split.us:                               ; preds = %74
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %97

.split.split:                                     ; preds = %.split, %88
  %.062 = phi ptr [ %92, %88 ], [ %21, %.split ]
  %85 = load ptr, ptr %19, align 8, !tbaa !5
  %86 = invoke noundef zeroext i1 @_ZN2vl14regex_internal15RichInterpretor5MatchEPKwS3_RNS0_10RichResultE(ptr noundef nonnull align 8 dereferenceable(48) %85, ptr noundef %.062, ptr noundef %21, ptr noundef nonnull align 8 dereferenceable(64) %7)
          to label %87 unwind label %.split184.split

87:                                               ; preds = %.split.split
  br i1 %86, label %88, label %.split186.us

88:                                               ; preds = %87
  %89 = load i64, ptr %7, align 8, !tbaa !11
  %90 = getelementptr inbounds i32, ptr %21, i64 %89
  %91 = load i64, ptr %24, align 8, !tbaa !19
  %92 = getelementptr inbounds i32, ptr %90, i64 %91
  br label %.split.split, !llvm.loop !20

.split184.split:                                  ; preds = %.split.split
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %.split184

94:                                               ; preds = %.thread126.split.us, %.thread.split.us
  %.pn108.pn122 = phi { ptr, i32 } [ %59, %.thread.split.us ], [ %60, %.thread126.split.us ]
  call void @_ZdlPvm(ptr noundef nonnull %35, i64 noundef 248) #9
  br label %95

95:                                               ; preds = %.split196.us, %.thread123.split.us, %94, %.split189.us
  %.pn108.pn.pn = phi { ptr, i32 } [ %.pn108.pn122, %94 ], [ %61, %.split196.us ], [ %58, %.split189.us ], [ %62, %.thread123.split.us ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %.split184

96:                                               ; preds = %.split203.us, %.split203.split.us
  %.us-phi204 = phi ptr [ %70, %.split203.split.us ], [ %45, %.split203.us ]
  %.us-phi205 = phi { ptr, i32 } [ %83, %.split203.split.us ], [ %64, %.split203.us ]
  call void @_ZdlPvm(ptr noundef nonnull %.us-phi204, i64 noundef 248) #9
  br label %98

97:                                               ; preds = %.split207.us, %.split207.split.us
  %.us-phi208 = phi { ptr, i32 } [ %84, %.split207.split.us ], [ %65, %.split207.us ]
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %98

98:                                               ; preds = %.split200.split.us, %.split200.us, %97, %96
  %.pn112 = phi { ptr, i32 } [ %.us-phi208, %97 ], [ %.us-phi205, %96 ], [ %82, %.split200.split.us ], [ %63, %.split200.us ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %.split184

.split186.us:                                     ; preds = %87, %68, %27
  %.us-phi187 = phi ptr [ %.062.us, %27 ], [ %.062.us209, %68 ], [ %.062, %87 ]
  br i1 %4, label %99, label %122

99:                                               ; preds = %.split186.us
  %100 = ptrtoint ptr %.us-phi187 to i64
  %101 = sub i64 %100, %23
  %102 = ashr exact i64 %101, 2
  %103 = call noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %104 = sub nsw i64 %103, %102
  %.not103 = icmp ne i64 %103, %102
  %brmerge117 = or i1 %.not103, %2
  br i1 %brmerge117, label %105, label %122

105:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #7
  %106 = invoke noalias noundef nonnull dereferenceable(248) ptr @_Znwm(i64 noundef 248) #8
          to label %107 unwind label %114

107:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %12) #7
  invoke void @_ZN2vl5regex11RegexStringC1ERKNS_12ObjectStringIwEEll(ptr noundef nonnull align 8 dereferenceable(72) %12, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %102, i64 noundef %104)
          to label %108 unwind label %.thread128

108:                                              ; preds = %107
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS0_11RegexStringE(ptr noundef nonnull align 8 dereferenceable(248) %106, ptr noundef nonnull align 8 dereferenceable(72) %12)
          to label %110 unwind label %.thread135

.thread135:                                       ; preds = %108
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %12) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %12) #7
  br label %120

110:                                              ; preds = %108
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull %106)
          to label %111 unwind label %118

111:                                              ; preds = %110
  %112 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %113 unwind label %.thread132

113:                                              ; preds = %111
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %12) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  br label %122

114:                                              ; preds = %105
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %121

.thread128:                                       ; preds = %107
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %12) #7
  br label %120

.thread132:                                       ; preds = %111
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %12) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %12) #7
  br label %121

118:                                              ; preds = %110
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %12) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %12) #7
  br label %121

120:                                              ; preds = %.thread135, %.thread128
  %.pn104.pn131 = phi { ptr, i32 } [ %116, %.thread128 ], [ %109, %.thread135 ]
  call void @_ZdlPvm(ptr noundef nonnull %106, i64 noundef 248) #9
  br label %121

121:                                              ; preds = %118, %.thread132, %120, %114
  %.pn104.pn.pn = phi { ptr, i32 } [ %.pn104.pn131, %120 ], [ %119, %118 ], [ %115, %114 ], [ %117, %.thread132 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #7
  br label %.split184

122:                                              ; preds = %113, %99, %.split186.us
  call void @_ZN2vl14regex_internal10RichResultD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #7
  br label %192

.split184:                                        ; preds = %.split184.us, %.split184.split.us, %.split184.split, %95, %98, %121
  %.pn112.pn.pn = phi { ptr, i32 } [ %.pn104.pn.pn, %121 ], [ %.pn112, %98 ], [ %.pn108.pn.pn, %95 ], [ %57, %.split184.us ], [ %93, %.split184.split ], [ %81, %.split184.split.us ]
  call void @_ZN2vl14regex_internal10RichResultD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #7
  br label %193

123:                                              ; preds = %6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #7
  %124 = getelementptr inbounds i8, ptr %0, i64 8
  %125 = load ptr, ptr %124, align 8, !tbaa !22
  %126 = call noundef zeroext i1 @_ZN2vl14regex_internal15PureInterpretor5MatchEPKwS3_RNS0_10PureResultE(ptr noundef nonnull align 8 dereferenceable(8912952) %125, ptr noundef %21, ptr noundef %21, ptr noundef nonnull align 8 dereferenceable(32) %13)
  br i1 %126, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %123
  %127 = ptrtoint ptr %21 to i64
  %128 = getelementptr inbounds i8, ptr %13, i64 8
  br label %129

129:                                              ; preds = %.lr.ph, %162
  %.086218 = phi ptr [ %21, %.lr.ph ], [ %166, %162 ]
  %130 = ptrtoint ptr %.086218 to i64
  %131 = sub i64 %130, %127
  %132 = ashr exact i64 %131, 2
  br i1 %4, label %133, label %151

133:                                              ; preds = %129
  %134 = load i64, ptr %13, align 8, !tbaa !23
  %135 = icmp sgt i64 %134, %132
  %brmerge118 = or i1 %135, %2
  br i1 %brmerge118, label %136, label %151

136:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #7
  %137 = call noalias noundef nonnull dereferenceable(248) ptr @_Znwm(i64 noundef 248) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %15) #7
  %138 = sub nsw i64 %134, %132
  invoke void @_ZN2vl5regex11RegexStringC1ERKNS_12ObjectStringIwEEll(ptr noundef nonnull align 8 dereferenceable(72) %15, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %132, i64 noundef %138)
          to label %139 unwind label %.thread137

139:                                              ; preds = %136
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS0_11RegexStringE(ptr noundef nonnull align 8 dereferenceable(248) %137, ptr noundef nonnull align 8 dereferenceable(72) %15)
          to label %141 unwind label %.thread145

.thread145:                                       ; preds = %139
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %15) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %15) #7
  br label %149

141:                                              ; preds = %139
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull %137)
          to label %142 unwind label %147

142:                                              ; preds = %141
  %143 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %144 unwind label %.thread142

144:                                              ; preds = %142
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %15) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  br label %151

.thread137:                                       ; preds = %136
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %15) #7
  br label %149

.thread142:                                       ; preds = %142
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %15) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %15) #7
  br label %150

147:                                              ; preds = %141
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %15) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %15) #7
  br label %150

149:                                              ; preds = %.thread145, %.thread137
  %.pn96.pn141 = phi { ptr, i32 } [ %145, %.thread137 ], [ %140, %.thread145 ]
  call void @_ZdlPvm(ptr noundef nonnull %137, i64 noundef 248) #9
  br label %150

150:                                              ; preds = %147, %.thread142, %149
  %.pn96.pn140 = phi { ptr, i32 } [ %.pn96.pn141, %149 ], [ %148, %147 ], [ %146, %.thread142 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #7
  br label %191

151:                                              ; preds = %133, %144, %129
  br i1 %3, label %152, label %162

152:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #7
  %153 = call noalias noundef nonnull dereferenceable(248) ptr @_Znwm(i64 noundef 248) #8
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS_12ObjectStringIwEEPNS_14regex_internal10PureResultE(ptr noundef nonnull align 8 dereferenceable(248) %153, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull %13)
          to label %154 unwind label %157

154:                                              ; preds = %152
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull %153)
  %155 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %156 unwind label %159

156:                                              ; preds = %154
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  br label %162

157:                                              ; preds = %152
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %153, i64 noundef 248) #9
  br label %161

159:                                              ; preds = %154
  %160 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %161

161:                                              ; preds = %159, %157
  %.pn99 = phi { ptr, i32 } [ %160, %159 ], [ %158, %157 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  br label %191

162:                                              ; preds = %156, %151
  %163 = load i64, ptr %13, align 8, !tbaa !23
  %164 = getelementptr inbounds i32, ptr %21, i64 %163
  %165 = load i64, ptr %128, align 8, !tbaa !25
  %166 = getelementptr inbounds i32, ptr %164, i64 %165
  %167 = load ptr, ptr %124, align 8, !tbaa !22
  %168 = call noundef zeroext i1 @_ZN2vl14regex_internal15PureInterpretor5MatchEPKwS3_RNS0_10PureResultE(ptr noundef nonnull align 8 dereferenceable(8912952) %167, ptr noundef %166, ptr noundef %21, ptr noundef nonnull align 8 dereferenceable(32) %13)
  br i1 %168, label %129, label %._crit_edge, !llvm.loop !26

._crit_edge:                                      ; preds = %162, %123
  %.086.lcssa = phi ptr [ %21, %123 ], [ %166, %162 ]
  br i1 %4, label %169, label %190

169:                                              ; preds = %._crit_edge
  %170 = ptrtoint ptr %.086.lcssa to i64
  %171 = ptrtoint ptr %21 to i64
  %172 = sub i64 %170, %171
  %173 = ashr exact i64 %172, 2
  %174 = call noundef i64 @_ZNK2vl12ObjectStringIwE6LengthEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %.not93 = icmp ne i64 %174, %173
  %brmerge119 = or i1 %.not93, %2
  br i1 %brmerge119, label %175, label %190

175:                                              ; preds = %169
  %176 = sub nsw i64 %174, %173
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #7
  %177 = call noalias noundef nonnull dereferenceable(248) ptr @_Znwm(i64 noundef 248) #8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %18) #7
  invoke void @_ZN2vl5regex11RegexStringC1ERKNS_12ObjectStringIwEEll(ptr noundef nonnull align 8 dereferenceable(72) %18, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 noundef %173, i64 noundef %176)
          to label %178 unwind label %.thread147

178:                                              ; preds = %175
  invoke void @_ZN2vl5regex10RegexMatchC1ERKNS0_11RegexStringE(ptr noundef nonnull align 8 dereferenceable(248) %177, ptr noundef nonnull align 8 dereferenceable(72) %18)
          to label %180 unwind label %.thread155

.thread155:                                       ; preds = %178
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %18) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %18) #7
  br label %188

180:                                              ; preds = %178
  invoke void @_ZN2vl3PtrINS_5regex10RegexMatchEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull %177)
          to label %181 unwind label %186

181:                                              ; preds = %180
  %182 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %183 unwind label %.thread152

183:                                              ; preds = %181
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %18) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  br label %190

.thread147:                                       ; preds = %175
  %184 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %18) #7
  br label %188

.thread152:                                       ; preds = %181
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_5regex10RegexMatchEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %18) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %18) #7
  br label %189

186:                                              ; preds = %180
  %187 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl5regex11RegexStringD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %18) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %18) #7
  br label %189

188:                                              ; preds = %.thread155, %.thread147
  %.pn.pn151 = phi { ptr, i32 } [ %184, %.thread147 ], [ %179, %.thread155 ]
  call void @_ZdlPvm(ptr noundef nonnull %177, i64 noundef 248) #9
  br label %189

189:                                              ; preds = %186, %.thread152, %188
  %.pn.pn150 = phi { ptr, i32 } [ %.pn.pn151, %188 ], [ %187, %186 ], [ %185, %.thread152 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  br label %191

190:                                              ; preds = %183, %169, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  br label %192

191:                                              ; preds = %150, %161, %189
  %.pn99.pn.pn = phi { ptr, i32 } [ %.pn.pn150, %189 ], [ %.pn99, %161 ], [ %.pn96.pn140, %150 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  br label %193

192:                                              ; preds = %190, %122
  ret void

193:                                              ; preds = %191, %.split184
  %.pn112.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn, %.split184 ], [ %.pn99.pn.pn, %191 ]
  resume { ptr, i32 } %.pn112.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl14regex_internal15RichInterpretor5MatchEPKwS3_RNS0_10RichResultE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_5regex10RegexMatchEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

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

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

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

declare void @_ZN2vl5regex11RegexStringC1ERKNS_12ObjectStringIwEEll(ptr, ptr, i64, i64) local_unnamed_addr

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

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

declare void @_ZN2vl5regex10RegexMatchC1ERKNS0_11RegexStringE(ptr, ptr) local_unnamed_addr

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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, !8, i64 16}
!6 = !{!"_ZTSN2vl5regex5RegexE", !7, i64 0, !8, i64 8, !8, i64 16}
!7 = !{!"_ZTSN2vl6ObjectE"}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN2vl14regex_internal10RichResultE", !13, i64 0, !13, i64 8, !14, i64 16}
!13 = !{!"long", !9, i64 0}
!14 = !{!"_ZTSN2vl11collections4ListINS_14regex_internal13CaptureRecordES3_EE", !15, i64 0}
!15 = !{!"_ZTSN2vl11collections8ListBaseINS_14regex_internal13CaptureRecordES3_EE", !16, i64 0, !13, i64 24, !18, i64 32}
!16 = !{!"_ZTSN2vl11collections9ArrayBaseINS_14regex_internal13CaptureRecordEEE", !17, i64 0, !8, i64 8, !13, i64 16}
!17 = !{!"_ZTSN2vl11collections9ListStoreINS_14regex_internal13CaptureRecordELb1EEE", !7, i64 0}
!18 = !{!"bool", !9, i64 0}
!19 = !{!12, !13, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!6, !8, i64 8}
!23 = !{!24, !13, i64 0}
!24 = !{!"_ZTSN2vl14regex_internal10PureResultE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!25 = !{!24, !13, i64 8}
!26 = distinct !{!26, !21}


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